
/* Local Persian ETF only: preserve production ETF sizing. */
html[lang="fa-IR"] .etf-main h1,
html[lang="fa-IR"] .etf-main h2,
html[lang="fa-IR"] .etf-main h3,
html[lang="fa-IR"] .etf-main p {
    font-size: revert-layer;
    line-height: normal;
}

/* Do not inherit global Persian heading dimensions. */
html[lang="fa-IR"] .etf-main h1,
html[lang="fa-IR"] .etf-main h2,
html[lang="fa-IR"] .etf-main h3 {
    letter-spacing: normal;
}

/* Keep Persian text RTL without changing ETF grid dimensions. */
html[lang="fa-IR"] .etf-main {
    direction: rtl;
}
html[lang="fa-IR"] .etf-main .etf-card {
    min-width: 0;
}
html[lang="fa-IR"] .etf-main [data-direction="ltr"],
html[lang="fa-IR"] .etf-main .crypto-symbol {
    direction: ltr;
    unicode-bidi: isolate;
}

/* Keep signed financial figures in standard left-to-right order. */
html[lang="fa-IR"] .etf-main .etf-card .etf-flow-value,
html[lang="fa-IR"] .etf-main .etf-card .etf-value,
html[lang="fa-IR"] .etf-main .etf-card .flow-value {
    direction: ltr;
    unicode-bidi: isolate;
}
