/*
 * GMV Independent Article — 1.1.0
 * RTL editorial layout; uses the site's installed IranSans font when available.
 */
.gmv-ia-body {
    margin: 0;
    background: #f8f4f1;
    color: #302a28;
    font-family: IRANSans, IRANSansWeb, "Iranian Sans", Tahoma, sans-serif;
    direction: rtl;
    text-align: right;
    line-height: 1.9;
}
.gmv-ia-body *,
.gmv-ia-body *::before,
.gmv-ia-body *::after {
    box-sizing: border-box;
}
.gmv-ia-page {
    width: min(100% - 36px, 1040px);
    margin: 0 auto;
    padding: 24px 0 30px;
}
.gmv-ia-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0 22px;
    border-bottom: 1px solid #e8dcd5;
}
.gmv-ia-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #55413c;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
}
.gmv-ia-brand-mark {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #c9a99b;
    border-radius: 50%;
    color: #a87562;
    font-size: 18px;
}
.gmv-ia-home-link,
.gmv-ia-footer-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 17px;
    border: 1px solid #c9a99b;
    border-radius: 30px;
    color: #765449;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.gmv-ia-home-link:hover,
.gmv-ia-footer-home:hover {
    background: #8b6558;
    border-color: #8b6558;
    color: #fff;
}
.gmv-ia-article {
    max-width: 850px;
    margin: 46px auto 0;
    padding: clamp(22px, 5vw, 54px);
    background: #fff;
    border: 1px solid #eee5df;
    border-radius: 18px;
    box-shadow: 0 14px 45px rgba(74, 48, 39, .055);
}
.gmv-ia-article-header {
    margin-bottom: 28px;
    text-align: center;
}
.gmv-ia-category {
    display: inline-block;
    margin-bottom: 13px;
    padding: 4px 14px;
    border-radius: 30px;
    background: #f5ece7;
    color: #986f60;
    font-size: 12px;
    font-weight: 700;
}
.gmv-ia-title {
    margin: 0 auto 15px;
    color: #382d2a;
    font-size: clamp(25px, 4vw, 39px);
    font-weight: 800;
    line-height: 1.65;
}
.gmv-ia-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px 22px;
    color: #93827b;
    font-size: 12px;
}
.gmv-ia-meta-icon {
    color: #b58b7a;
}
.gmv-ia-featured-image {
    overflow: hidden;
    margin: 0 0 34px;
    border-radius: 13px;
    background: #f4eeea;
}
.gmv-ia-featured-img {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}
.gmv-ia-content {
    color: #49413e;
    font-size: 16px;
    line-height: 2.25;
    overflow-wrap: anywhere;
}
.gmv-ia-content > *:first-child {
    margin-top: 0;
}
.gmv-ia-content p {
    margin: 0 0 1.45em;
}
.gmv-ia-content h2,
.gmv-ia-content h3,
.gmv-ia-content h4 {
    margin: 1.7em 0 .7em;
    color: #55413c;
    line-height: 1.8;
}
.gmv-ia-content img,
.gmv-ia-content video,
.gmv-ia-content iframe {
    max-width: 100%;
}
.gmv-ia-content img {
    height: auto;
    border-radius: 10px;
}
.gmv-ia-content a {
    color: #9a6c5b;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
.gmv-ia-content blockquote {
    margin: 1.8em 0;
    padding: 12px 20px;
    border-right: 3px solid #bd9583;
    border-left: 0;
    background: #faf5f2;
    color: #70564c;
}
.gmv-ia-content ul,
.gmv-ia-content ol {
    padding-right: 1.5em;
    padding-left: 0;
}
.gmv-ia-content table {
    width: 100%;
    border-collapse: collapse;
}
.gmv-ia-content th,
.gmv-ia-content td {
    padding: 9px;
    border: 1px solid #eadfd9;
}
.gmv-ia-page-links {
    margin-top: 28px;
}
.gmv-ia-related {
    margin: 62px 0 0;
}
.gmv-ia-section-heading {
    margin-bottom: 24px;
    text-align: center;
}
.gmv-ia-section-kicker {
    color: #a47a69;
    font-size: 12px;
    font-weight: 700;
}
.gmv-ia-section-heading h2 {
    margin: 3px 0 10px;
    color: #493832;
    font-size: clamp(21px, 3vw, 27px);
    font-weight: 800;
}
.gmv-ia-heading-line {
    display: block;
    width: 54px;
    height: 2px;
    margin: 0 auto;
    background: #bd9583;
}
.gmv-ia-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.gmv-ia-related-card {
    overflow: hidden;
    min-width: 0;
    border: 1px solid #eee3dd;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(74, 48, 39, .045);
    transition: transform .2s ease, box-shadow .2s ease;
}
.gmv-ia-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 13px 28px rgba(74, 48, 39, .09);
}
.gmv-ia-related-link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
.gmv-ia-related-thumb {
    display: grid;
    place-items: center;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #f0e7e1;
}
.gmv-ia-related-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.gmv-ia-related-card:hover .gmv-ia-related-thumb img {
    transform: scale(1.04);
}
.gmv-ia-no-image {
    color: #b18a79;
    font-size: 32px;
}
.gmv-ia-related-info {
    padding: 14px 16px 16px;
}
.gmv-ia-related-info time {
    color: #9b8980;
    font-size: 11px;
}
.gmv-ia-related-info h3 {
    display: -webkit-box;
    overflow: hidden;
    min-height: 3.2em;
    margin: 6px 0 11px;
    color: #493832;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.gmv-ia-read-more {
    color: #9a6c5b;
    font-size: 12px;
    font-weight: 700;
}
.gmv-ia-footer {
    padding: 42px 0 8px;
    text-align: center;
}
.gmv-ia-footer p {
    margin: 10px 0 0;
    color: #a08e85;
    font-size: 11px;
}
@media (max-width: 700px) {
    .gmv-ia-page {
        width: min(100% - 24px, 1040px);
        padding-top: 12px;
    }
    .gmv-ia-topbar {
        align-items: flex-start;
        padding-bottom: 15px;
    }
    .gmv-ia-brand {
        font-size: 12px;
    }
    .gmv-ia-home-link {
        min-height: 36px;
        padding: 6px 11px;
        font-size: 11px;
    }
    .gmv-ia-article {
        margin-top: 24px;
        padding: 22px 17px;
        border-radius: 13px;
    }
    .gmv-ia-title {
        font-size: 25px;
    }
    .gmv-ia-content {
        font-size: 14px;
        line-height: 2.15;
    }
    .gmv-ia-related {
        margin-top: 42px;
    }
    .gmv-ia-related-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }
    .gmv-ia-related-link {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        min-height: 112px;
    }
    .gmv-ia-related-thumb {
        height: 100%;
        min-height: 112px;
        aspect-ratio: auto;
    }
    .gmv-ia-related-info {
        align-self: center;
        padding: 10px 13px;
    }
    .gmv-ia-related-info h3 {
        min-height: 0;
        margin-bottom: 7px;
        font-size: 13px;
    }
}

/* =====================================================
   نسخه 1.2.0 — تکمیل صفحه مقاله
===================================================== */
.gmv-ia-brand-logo {
    display: block;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    object-fit: contain;
    border-radius: 50%;
}
.gmv-ia-meta {
    align-items: center;
    gap: 7px 18px;
    margin-bottom: 13px;
}
.gmv-ia-meta > span,
.gmv-ia-meta > time {
    display: inline-flex;
    align-items: center;
}
.gmv-ia-category {
    margin: 0;
    padding: 0;
    background: transparent;
    color: #a07868;
}
.gmv-ia-category a {
    color: inherit;
    text-decoration: none;
}
.gmv-ia-category a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.gmv-ia-author,
.gmv-ia-meta time {
    color: #93827b;
}
.gmv-ia-title {
    margin-top: 0;
}
.gmv-ia-featured-image {
    width: 50%;
    margin: 0 auto 34px;
}
.gmv-ia-featured-img {
    width: 100%;
    max-height: 440px;
    object-fit: contain;
}
.gmv-ia-contact {
    margin: 46px auto 0;
    padding: clamp(28px, 5vw, 54px) clamp(18px, 4vw, 38px);
    border: 1px solid #eee5df;
    border-radius: 18px;
    background: #fffdfa;
    text-align: center;
}
.gmv-ia-contact-kicker {
    display: inline-block;
    color: #a07868;
    font-size: 12px;
    font-weight: 700;
}
.gmv-ia-contact h2 {
    margin: 8px 0 10px;
    color: #59443f;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.8;
}
.gmv-ia-contact-subtitle {
    max-width: 720px;
    margin: 0 auto 24px;
    color: #887971;
    font-size: 14px;
    line-height: 2.2;
}
.gmv-ia-contact-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 900px;
    margin: 25px auto 0;
}
.gmv-ia-contact-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    padding: 22px 15px;
    border: 1px solid #eee1da;
    border-radius: 14px;
    background: #f8f1ed;
}
.gmv-ia-contact-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 50%;
    background: #ead7d3;
    color: #95666d;
    font-size: 23px;
}
.gmv-ia-contact-item > strong {
    color: #70564f;
    font-size: 13px;
}
.gmv-ia-contact-value {
    display: block;
    color: #806c64;
    font-size: 12px;
    line-height: 2;
    text-align: center;
    overflow-wrap: anywhere;
}
a.gmv-ia-contact-value {
    color: #a36e75;
    text-decoration: none;
}
.gmv-ia-contact-value small {
    display: block;
    margin-top: 4px;
    color: #a36e75;
    font-size: 10px;
}
.gmv-ia-related-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 25px;
}
.gmv-ia-related-controls button {
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid #c9a99b;
    border-radius: 24px;
    background: #fff;
    color: #765449;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}
.gmv-ia-related-controls button:hover:not(:disabled) {
    background: #8b6558;
    color: #fff;
}
.gmv-ia-related-controls button:disabled {
    opacity: .45;
    cursor: not-allowed;
}
.gmv-ia-related-page,
.gmv-ia-related-status {
    color: #93827b;
    font-size: 12px;
}
.gmv-ia-related-status {
    min-height: 22px;
    margin: 12px 0 0;
    text-align: center;
}
.gmv-ia-related-empty {
    grid-column: 1 / -1;
    color: #93827b;
    text-align: center;
}
@media (max-width: 700px) {
    .gmv-ia-brand-logo {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
    .gmv-ia-meta {
        justify-content: center;
        gap: 5px 10px;
        font-size: 10px;
    }
    .gmv-ia-featured-image {
        width: 100%;
        max-width: 520px;
        margin-bottom: 25px;
    }
    .gmv-ia-contact {
        margin-top: 30px;
        padding: 28px 16px;
        border-radius: 13px;
    }
    .gmv-ia-contact-details {
        grid-template-columns: 1fr;
        gap: 11px;
        margin-top: 20px;
    }
    .gmv-ia-contact-item {
        padding: 17px 13px;
    }
    .gmv-ia-related-controls {
        display: none;
    }
    .gmv-ia-related-grid {
        grid-template-columns: 1fr;
    }
    .gmv-ia-related-link {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        min-height: 112px;
    }
    .gmv-ia-related-thumb {
        height: 100%;
        min-height: 112px;
        aspect-ratio: auto;
    }
    .gmv-ia-related-info {
        align-self: center;
        padding: 10px 13px;
    }
}


/* =====================================================
   نسخه 1.3.0 — چیدمان تصویر، کارت‌های مطالب و تماس شناور
===================================================== */
.gmv-ia-featured-image {
    width: 88%;
    max-width: 760px;
    aspect-ratio: 16 / 9;
    margin: 0 auto 34px;
}
.gmv-ia-featured-img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
}
.gmv-ia-related-info {
    padding: 12px 15px 15px;
}
.gmv-ia-related-info h3 {
    min-height: 0;
    margin: 0;
}
.gmv-ia-floating-call {
    position: fixed;
    z-index: 99999;
    right: max(22px, env(safe-area-inset-right));
    bottom: max(22px, env(safe-area-inset-bottom));
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;
    background: #244f40;
    color: #fff;
    box-shadow: 0 7px 22px rgba(30, 54, 43, .28);
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.gmv-ia-floating-call:hover {
    transform: translateY(-3px);
    background: #183d31;
    color: #fff;
    box-shadow: 0 10px 26px rgba(30, 54, 43, .34);
}
.gmv-ia-floating-call svg {
    display: block;
    width: 27px;
    height: 27px;
    fill: currentColor;
}
@media (max-width: 700px) {
    .gmv-ia-featured-image {
        width: 94%;
        max-width: 520px;
        aspect-ratio: 16 / 9;
        margin-bottom: 25px;
    }
    .gmv-ia-related-info {
        align-self: center;
        padding: 10px 13px;
    }
    .gmv-ia-related-info h3 {
        min-height: 0;
        margin: 0;
        font-size: 13px;
    }
    .gmv-ia-floating-call {
        right: max(16px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
        width: 56px;
        height: 56px;
    }
    .gmv-ia-floating-call svg {
        width: 24px;
        height: 24px;
    }
}


/* =====================================================
   نسخه 1.4.0 — تبلیغ، پیمایش مقاله و انتخاب شماره تماس
===================================================== */
.gmv-ia-featured-image {
    width: 50%;
    max-width: 620px;
    aspect-ratio: 16 / 9;
}
.gmv-ia-related {
    width: min(100%, 850px);
    margin: 38px auto 0;
    padding: clamp(18px, 3vw, 30px);
    border: 1px solid #eaded7;
    border-radius: 18px;
    background: rgba(255,255,255,.78);
    box-shadow: 0 10px 34px rgba(74, 48, 39, .045);
}
.gmv-ia-related .gmv-ia-section-heading {
    margin-bottom: 22px;
}
.gmv-ia-ad {
    display: flex;
    align-items: center;
    gap: 24px;
    width: min(100%, 850px);
    margin: 28px auto 0;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid #eaded7;
    border-radius: 16px;
    background: #fffaf7;
}
.gmv-ia-ad-image-link {
    display: block;
    flex: 0 0 34%;
}
.gmv-ia-ad-image {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px;
}
.gmv-ia-ad-copy {
    min-width: 0;
    flex: 1;
}
.gmv-ia-ad-copy h2 {
    margin: 0 0 8px;
    color: #59443f;
    font-size: 20px;
    font-weight: 800;
}
.gmv-ia-ad-copy p {
    margin: 0 0 15px;
    color: #806e66;
    font-size: 14px;
    line-height: 2;
}
.gmv-ia-ad-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 17px;
    border-radius: 24px;
    background: #8b6558;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 700;
}
.gmv-ia-post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: min(100%, 850px);
    margin: 22px auto 0;
}
.gmv-ia-post-nav-link {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
    padding: 14px 17px;
    border: 1px solid #eaded7;
    border-radius: 12px;
    background: #fff;
    color: #806258;
    text-decoration: none;
}
.gmv-ia-post-nav-link span {
    color: #a07868;
    font-size: 11px;
    font-weight: 700;
}
.gmv-ia-post-nav-link strong {
    overflow: hidden;
    color: #55413c;
    font-size: 13px;
    line-height: 1.8;
    text-overflow: ellipsis;
}
.gmv-ia-post-nav-newer {
    text-align: left;
}
.gmv-ia-call-widget {
    position: fixed;
    z-index: 99999;
    left: max(22px, env(safe-area-inset-left));
    bottom: max(22px, env(safe-area-inset-bottom));
    direction: rtl;
}
.gmv-ia-floating-call {
    position: relative;
    right: auto;
    bottom: auto;
    cursor: pointer;
}
.gmv-ia-call-options {
    position: absolute;
    left: 0;
    bottom: 76px;
    display: flex;
    width: min(290px, calc(100vw - 32px));
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    border: 1px solid #eaded7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(42, 31, 26, .18);
}
.gmv-ia-call-options[hidden] {
    display: none !important;
}
.gmv-ia-call-options-title {
    padding: 2px 4px 7px;
    color: #59443f;
    font-size: 12px;
    font-weight: 800;
}
.gmv-ia-call-options a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid #f0e5df;
    border-radius: 10px;
    background: #fcf8f5;
    color: #70564f;
    text-decoration: none;
}
.gmv-ia-call-options a strong {
    font-size: 12px;
}
.gmv-ia-call-options a span {
    color: #927c72;
    font-size: 12px;
}
@media (max-width: 700px) {
    .gmv-ia-featured-image {
        width: 90%;
        max-width: 520px;
        aspect-ratio: 16 / 9;
    }
    .gmv-ia-related {
        margin-top: 30px;
        padding: 17px 13px;
        border-radius: 13px;
    }
    .gmv-ia-ad {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        margin-top: 22px;
        padding: 16px;
    }
    .gmv-ia-ad-image-link {
        flex-basis: auto;
    }
    .gmv-ia-ad-image {
        max-height: 190px;
    }
    .gmv-ia-ad-copy h2 {
        font-size: 17px;
    }
    .gmv-ia-ad-copy p {
        font-size: 12px;
    }
    .gmv-ia-post-navigation {
        gap: 9px;
        margin-top: 16px;
    }
    .gmv-ia-post-nav-link {
        padding: 11px 10px;
    }
    .gmv-ia-post-nav-link strong {
        font-size: 11px;
    }
    .gmv-ia-call-widget {
        left: max(16px, env(safe-area-inset-left));
        bottom: max(16px, env(safe-area-inset-bottom));
        right: auto;
    }
    .gmv-ia-floating-call {
        width: 56px;
        height: 56px;
    }
    .gmv-ia-call-options {
        bottom: 68px;
    }
}
