/* V46.576 — Persian pages now use Vazirmatn (Farsi-digit build, regular and bold, SIL Open Font License). B Nazanin had one weight only, so bold was a
   browser imitation, and Latin words inside Persian text came from Times at another size. Vazirmatn has real bold and carries Latin letters too.
   English pages keep Times New Roman. B Nazanin stays below only as a last fallback.
   V46.483 — site typefaces: B Nazanin (Persian) and Times New Roman (English).
   B Nazanin and Times are drawn small, so each face is enlarged with size-adjust for comfortable reading.
   Visitors who have Times New Roman use it; everyone else gets the metric-compatible Liberation Serif. */
@font-face{font-family:"IASCL Vazir";src:url("../assets/fonts/Vazirmatn-FD-Regular.woff2") format("woff2");font-weight:100 500;font-style:normal;font-display:swap;size-adjust:96%}
@font-face{font-family:"IASCL Vazir";src:url("../assets/fonts/Vazirmatn-FD-Bold.woff2") format("woff2");font-weight:600 900;font-style:normal;font-display:swap;size-adjust:96%}
/* V46.576 — English text too: the standard (Latin-digit) build of Vazirmatn. The Persian pages keep the Farsi-digit build above. */
@font-face{font-family:"IASCL Vazir Latin";src:url("../assets/fonts/Vazirmatn-Regular.woff2") format("woff2");font-weight:100 500;font-style:normal;font-display:swap}
@font-face{font-family:"IASCL Vazir Latin";src:url("../assets/fonts/Vazirmatn-Bold.woff2") format("woff2");font-weight:600 900;font-style:normal;font-display:swap}
@font-face{font-family:"IASCL Nazanin";src:url("../assets/fonts/BNazanin.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;size-adjust:126%}
@font-face{font-family:"IASCL Serif";src:local("Times New Roman"),local("TimesNewRoman"),url("../assets/fonts/LiberationSerif-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;size-adjust:110%}
@font-face{font-family:"IASCL Serif";src:local("Times New Roman Bold"),local("TimesNewRoman-Bold"),url("../assets/fonts/LiberationSerif-Bold.woff2") format("woff2");font-weight:600 900;font-style:normal;font-display:swap;size-adjust:110%}
html[lang="fa"] body,
html[lang="fa"] body *:not(code):not(pre):not(kbd):not(samp){font-family:"IASCL Vazir",Tahoma,sans-serif!important}
html[lang="en"] body,
html[lang="en"] body *:not(code):not(pre):not(kbd):not(samp){font-family:"IASCL Vazir Latin",Tahoma,sans-serif!important}
/* Vazirmatn has a real bold face. */
html[lang="fa"] h1,html[lang="fa"] h2,html[lang="fa"] h3,html[lang="fa"] h4,html[lang="fa"] strong,html[lang="fa"] b,html[lang="fa"] .btn,html[lang="fa"] .nav a{font-weight:700}

/* V46.483 — English readability: Times has thin strokes, so small and secondary text is larger and darker. */
html[lang="en"] .home-intro p{font-size:23px!important;line-height:1.75;color:#1b3043;max-width:none;margin-bottom:22px}
html[lang="en"] .home-number span{font-size:15.5px;color:#25394a}
html[lang="en"] .home-library-stat-card span,html[lang="en"] .home-library-stat-card small,html[lang="en"] .home-library-stat-card em{font-size:12.5px;color:#25394a}
html[lang="en"] #unifiedGrid .iascl-card-excerpt,html[lang="en"] .iascl-card-excerpt{font-size:15px;line-height:1.65;color:#25394a}
html[lang="en"] .iascl-chip{font-size:13.5px;color:#25394a}
html[lang="en"] small:not(.sponsor-tier){font-size:13.5px}
html[lang="en"] dt,html[lang="en"] dd{font-size:15.5px}
html[lang="en"] .source-note{font-size:14.5px;color:#25394a}
html[lang="en"] main p:not(.slide-text):not(.iascl-card-excerpt):not(.source-note):not(.hero p):not(.home-cta p):not(.page-hero p):not(.footer p){font-size:max(1em,17px)}
html[lang="en"] .home-eyebrow,html[lang="en"] .eyebrow{font-size:14px}

/* V46.483 — Persian readability: same idea — larger, darker secondary text. */
html[lang="fa"] .home-intro p{font-size:23px!important;line-height:1.9;color:#1b3043;max-width:none;margin-bottom:22px}
html[lang="fa"] .home-number span{font-size:15.5px;color:#25394a}
html[lang="fa"] .home-library-stat-card span,html[lang="fa"] .home-library-stat-card small,html[lang="fa"] .home-library-stat-card em{font-size:12.5px;color:#25394a}
html[lang="fa"] #unifiedGrid .iascl-card-excerpt,html[lang="fa"] .iascl-card-excerpt{font-size:15px;line-height:1.85;color:#25394a}
html[lang="fa"] .iascl-chip{font-size:13.5px;color:#25394a}
html[lang="fa"] small:not(.sponsor-tier){font-size:13.5px}
html[lang="fa"] dt,html[lang="fa"] dd{font-size:15.5px}
html[lang="fa"] .source-note{font-size:14.5px;color:#25394a}
html[lang="fa"] main p:not(.slide-text):not(.iascl-card-excerpt):not(.source-note):not(.hero p):not(.home-cta p):not(.page-hero p):not(.footer p){font-size:max(1em,17px)}
html[lang="fa"] .home-eyebrow,html[lang="fa"] .eyebrow{font-size:14px}

/* V46.483 — home page library card and feature-list dates (both languages) */
html[lang] .guidelines-home p{color:#1f3547}
html[lang] .guidelines-home-head p{color:#1f3547}
html[lang] .home-feature-copy small{color:#2d4456}
html[lang] .guidelines-kicker{font-size:12px}
html[lang] .guidelines-count{font-size:12px}

/* V46.483 — About, Professional and other content cards */
html[lang] .about-card p,html[lang] .about-board-note,html[lang] .content-card p,html[lang] .pro-record p{color:#1f3547}
html[lang] .about-card .source-note{color:#2d4456}
html[lang] .about-fact span,html[lang] dt{color:#2d4456}
html[lang] .pro-meta{color:#2d4456;font-size:13.5px}

/* V46.483 — catchline under the Association name in the homepage header */
html[lang] .main-header .brand-name-side{flex-direction:column;align-items:stretch}
html[lang="en"] .main-header .brand-name-side{align-items:center;text-align:center}
html[lang="en"] .main-header .brand-name-en,html[lang="en"] .main-header .brand-name-side .brand-name-en{text-align:center!important}
html[lang="fa"] .main-header .brand-name-side{align-items:center}
.main-header .brand-tagline{margin:8px 0 0;font-size:clamp(15px,1.45vw,19px);line-height:1.55;font-weight:400;color:#27465c;max-width:640px}
html[lang="fa"] .main-header .brand-tagline{text-align:center!important;max-width:none}
html[lang="en"] .main-header .brand-tagline{text-align:center!important;max-width:none;font-size:clamp(15px,1.3vw,18px)}
@media(max-width:760px){.main-header .brand-tagline{font-size:12.5px;margin-top:4px}}
.main-header .brand-tagline[hidden]{display:none}
@media(max-width:760px){html[lang] .main-header .brand-tagline{font-size:12.5px!important;line-height:1.5;margin-top:4px}}
