/* input(215,1): run-time error CSS1019: Unexpected token, found '@'
input(234,1): run-time error CSS1019: Unexpected token, found '@' */
.seo-article {
    color: #1e293b;
    background: #fff;
}

/* ---------- Header ---------- */
.seo-header {
    padding: 48px 0 40px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.seo-header-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto;
}

.seo-kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #1d4ed8;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

    .seo-kicker::after {
        content: "";
        display: inline-block;
        width: 36px;
        height: 2px;
        background: #f59e0b;
        vertical-align: middle;
        margin-right: 10px;
    }

.seo-title {
    font-size: clamp(1.35rem, 2.6vw, 2.1rem);
    font-weight: 800;
    line-height: 1.55;
    color: #0f172a;
    margin-bottom: 16px;
}

.seo-lead {
    font-size: 1rem;
    line-height: 2;
    color: #475569;
    margin-bottom: 20px;
}

.seo-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 10px;
    background: #0f172a;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

    .seo-cta:hover {
        background: #1d4ed8;
        color: #fff;
    }

/* ---------- اصلاح کامل نمایش تصویر کاور ---------- */
.seo-cover {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .seo-cover img {
        width: 100%;
        height: auto;
        max-height: 380px;
        object-fit: contain; /* تغییر از cover به contain جهت جلوگیری از برش گوشه‌ها */
        border-radius: 14px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    }

/* ---------- Body ---------- */
.seo-content {
    max-width: 840px; /* افزایش از 760 به 840 */
    margin: 0 auto;
    padding: 40px 16px 64px;
    font-size: 1.05rem; /* کمی افزایش سایز فونت برای عرض بیشتر */
    line-height: 2;
    text-align: right; /* تغییر از justify به right برای جلوگیری از پخش شدن کلمات */
}


    .seo-content h1,
    .seo-content h2,
    .seo-content h3,
    .seo-content h4 {
        font-weight: 800;
        line-height: 1.6;
        color: #0f172a;
        text-align: right;
    }

    .seo-content h1 {
        font-size: 1.55rem;
        margin: 2.2rem 0 1rem;
    }

    .seo-content h2 {
        font-size: 1.35rem;
        margin: 2.2rem 0 0.9rem;
        padding-right: 14px;
        border-right: 4px solid #f59e0b;
    }

    .seo-content h3 {
        font-size: 1.15rem;
        margin: 1.8rem 0 0.8rem;
        color: #1e3a8a;
    }

    .seo-content h4 {
        font-size: 1.02rem;
        margin: 1.5rem 0 0.7rem;
    }

    .seo-content p {
        margin-bottom: 1.2rem;
        color: #334155;
    }

    .seo-content a {
        color: #1d4ed8;
        font-weight: 600;
        text-decoration: underline;
        text-decoration-color: rgba(245, 158, 11, 0.5);
        text-underline-offset: 4px;
        transition: text-decoration-color 0.2s ease;
    }

        .seo-content a:hover {
            text-decoration-color: #f59e0b;
        }

    /* تصاویر درون متن اصلی مقاله (Body) */
    .seo-content img {
        display: block;
        max-width: 100%;
        height: auto;
        margin: 28px auto;
        border-radius: 12px;
        object-fit: contain;
    }

    .seo-content ul,
    .seo-content ol {
        margin: 0 0 1.3rem;
        padding-right: 1.4rem;
        color: #334155;
    }

    .seo-content li {
        margin-bottom: 0.6rem;
    }

        .seo-content li::marker {
            color: #f59e0b;
            font-weight: 700;
        }

    .seo-content blockquote {
        margin: 1.8rem 0;
        padding: 0.9rem 1.2rem;
        background: #f8fafc;
        border-right: 4px solid #1d4ed8;
        border-radius: 8px;
        color: #475569;
    }

    .seo-content table {
        width: 100%;
        border-collapse: collapse;
        margin: 1.6rem 0;
        font-size: 0.92rem;
    }

    .seo-content th, .seo-content td {
        padding: 0.7rem 0.9rem;
        border: 1px solid #e2e8f0;
        text-align: right;
    }

    .seo-content th {
        background: #f1f5f9;
        color: #0f172a;
        font-weight: 700;
    }

    .seo-content hr {
        border: 0;
        border-top: 1px solid #e2e8f0;
        margin: 2rem 0;
    }

/* ---------- Responsive ---------- */
@@media (max-width: 991.98px) {
    .seo-header {
        padding: 36px 0 30px;
    }

    .seo-header-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .seo-cover {
        order: -1;
    }

        .seo-cover img {
            max-height: 300px;
        }
}

@@media (max-width: 575.98px) {
    .seo-header {
        padding: 28px 0 24px;
    }

    .seo-title {
        font-size: 1.3rem;
    }

    .seo-cta {
        width: 100%;
        justify-content: center;
    }

    .seo-content {
        padding: 28px 4px 48px;
    }
}
