
/* LOCAL PERSIAN SCREENER ONLY - ENGLISH-SCALE PARITY */

html[lang="fa-IR"] body:has(.screener-hero-v2) {
    padding-top: 0;
}

html[lang="fa-IR"] .screener-hero-v2 {
    padding: 34px 38px !important;
    margin-block: 24px 20px;
    min-height: 0;
    align-items: center;
    gap: 24px;
}

html[lang="fa-IR"] .screener-hero-v2 .screener-hero-copy {
    min-width: 0;
}

html[lang="fa-IR"] .screener-hero-v2 h1 {
    font-size: clamp(30px, 3vw, 42px) !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    margin: 12px 0 !important;
    max-width: 650px;
}

html[lang="fa-IR"] .screener-hero-v2 h1 span {
    line-height: inherit;
}

html[lang="fa-IR"] .screener-hero-v2 .screener-hero-copy > p {
    font-size: 13px !important;
    line-height: 1.75 !important;
    margin: 12px 0 0 !important;
    max-width: 560px;
}

html[lang="fa-IR"] .screener-hero-v2 .screener-hero-stats {
    flex-shrink: 0;
}

html[lang="fa-IR"] .screener-hero-v2 .screener-stat span {
    font-size: 10px;
    letter-spacing: 0;
}

html[lang="fa-IR"] .screener-hero-v2 .screener-hero-eyebrow {
    letter-spacing: 0;
}

@media (max-width: 900px) {
    html[lang="fa-IR"] .screener-hero-v2 {
        padding: 26px 22px !important;
    }

    html[lang="fa-IR"] .screener-hero-v2 h1 {
        font-size: clamp(27px, 4vw, 36px) !important;
        line-height: 1.35 !important;
    }
}

@media (max-width: 600px) {
    html[lang="fa-IR"] .screener-hero-v2 {
        padding: 24px 18px !important;
        gap: 20px;
    }

    html[lang="fa-IR"] .screener-hero-v2 h1 {
        font-size: clamp(25px, 7vw, 32px) !important;
        line-height: 1.4 !important;
    }

    html[lang="fa-IR"] .screener-hero-v2 .screener-hero-stats {
        max-width: 100%;
    }
}

/* FA_SCREENER_HIDE_DECORATIVE_DOTS_V1 */
/* Hide decorative chart dots only on Persian Screener. */
html[lang="fa-IR"] .screener-hero-v2 .chart-dot,
html[lang="fa-IR"] .screener-hero-v2 .chart-dot-a,
html[lang="fa-IR"] .screener-hero-v2 .chart-dot-b,
html[lang="fa-IR"] .screener-hero-v2 .chart-dot-c {
    display: none !important;
}


/* STEP1799 PERSIAN SCREENER TEXT DIRECTION */
@layer persianScreenerTextDirection {
    html[lang="fa-IR"] .screener-stat span,
    html[lang="fa-IR"] .setup-label,
    html[lang="fa-IR"] .filter-category .category-title,
    html[lang="fa-IR"] .catalog-filter span,
    html[lang="fa-IR"] .screener-pagination-info,
    html[lang="fa-IR"] table thead th {
        direction: rtl !important;
        unicode-bidi: plaintext !important;
    }

    html[lang="fa-IR"] .filter-category .category-title,
    html[lang="fa-IR"] .catalog-filter span,
    html[lang="fa-IR"] .screener-pagination-info {
        text-align: right !important;
    }
}
