/* Font families confirmed in the CNSS page archive supplied on 16 October 2026.
   Open-source font files hosted locally; licenses included in assets/fonts. */
@font-face{font-family:"AOS Roboto";src:url("fonts/Roboto.woff2") format("woff2"),url("fonts/Roboto.ttf") format("truetype");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"AOS Cairo";src:url("fonts/Cairo.woff2") format("woff2"),url("fonts/Cairo.ttf") format("truetype");font-weight:200 1000;font-style:normal;font-display:swap}
/* One typographic scale for the AOS public site, portal and authentication. */
html body #as,html body .aosp-account{--aosp-font:"AOS Roboto","AOS Cairo",Arial,sans-serif;font-family:var(--aosp-font)!important;font-size:17px!important;line-height:1.75!important;letter-spacing:normal!important;text-rendering:optimizeLegibility}
html body #as :is(h1,h2,h3,h4,h5,h6,p,a,label,input,select,textarea,button,small,summary,li,dt,dd),html body .aosp-account :is(h1,h2,h3,h4,h5,h6,p,a,label,input,select,textarea,button,small,summary,li,dt,dd){font-family:var(--aosp-font,"AOS Roboto","AOS Cairo",Arial,sans-serif)!important;letter-spacing:normal!important}
html body #as :is(p,li,dt,dd),html body .aosp-account :is(p,li,dt,dd){font-size:17px!important;line-height:1.8!important;font-weight:400}
html body #as h1,html body .aosp-account h1{font-size:36px!important;line-height:1.4!important;font-weight:700!important}
html body #as h2,html body .aosp-account h2{font-size:28px!important;line-height:1.5!important;font-weight:700!important}
html body #as h3,html body .aosp-account h3{font-size:22px!important;line-height:1.55!important;font-weight:700!important}
html body #as h4,html body .aosp-account h4{font-size:19px!important;line-height:1.6!important;font-weight:700!important}
html body #as :is(label,input,select,textarea,button,.btn),html body .aosp-account :is(label,input,select,textarea,button){font-size:16px!important;line-height:1.6!important}
html body #as :is(button,.btn),html body .aosp-account button{font-weight:600!important}
html body #as :is(small,.utility,.utility p,.brand p,.news-date),html body .aosp-account :is(small,.aosp-eyebrow,.aosp-file-hint,.aosp-help,.aosp-send-status,.aosp-data-notice p,.aosp-event small){font-size:14px!important;line-height:1.75!important}
html body #as :is(.aos-nav-shell nav a,nav a),html body .aosp-account .aosp-tabs a{font-size:16px!important;line-height:1.6!important;font-weight:600!important}
html body #as :is(.brand h1,.brand h2){font-size:24px!important;line-height:1.6!important}
html body #as :is(.intro .lead,.hero-copy h1,.hero-copy h2){font-size:36px!important;line-height:1.5!important}
html body #as :is(.intro .sub,.hero-copy p){font-size:18px!important;line-height:1.8!important}
html body .aosp-account .aosp-welcome h2{font-size:28px!important}
html body .aosp-account :is(.aosp-card h3,.aosp-panel h3){font-size:22px!important}
html body .aosp-account :is(.aosp-card strong,.aosp-status,.aosp-logout){font-size:15px!important;line-height:1.65!important}
html body .aosp-account .aosp-brand{font-family:var(--aosp-font,"AOS Roboto","AOS Cairo",Arial,sans-serif)!important;font-size:24px!important;letter-spacing:normal!important}
html body .aosp-account :is(.aosp-notice p,.aosp-notice){font-size:16px!important;line-height:1.9!important}
html body.login #as #login .aosp-password-title{font-family:var(--aosp-font,"AOS Roboto","AOS Cairo",Arial,sans-serif)!important;font-size:28px!important;line-height:1.5!important}
html body.login #as #login :is(label,.button-primary){font-family:var(--aosp-font,"AOS Roboto","AOS Cairo",Arial,sans-serif)!important;font-size:16px!important;line-height:1.7!important}
html body.login #as #login input.input{font-family:var(--aosp-font,"AOS Roboto","AOS Cairo",Arial,sans-serif)!important;font-size:17px!important}
html body.login #as #login :is(.aosp-password-rules,.aosp-show-passwords,#nav,#backtoblog,.message,.notice,#login_error){font-family:var(--aosp-font,"AOS Roboto","AOS Cairo",Arial,sans-serif)!important;font-size:14px!important;line-height:1.8!important}
@media(max-width:640px){html body #as h1,html body .aosp-account h1{font-size:30px!important}html body #as h2,html body .aosp-account h2{font-size:25px!important}html body #as h3,html body .aosp-account h3{font-size:21px!important}html body #as :is(.intro .lead,.hero-copy h1,.hero-copy h2){font-size:30px!important}html body #as :is(.brand h1,.brand h2){font-size:20px!important}html body #as :is(.aos-nav-shell nav a,nav a){font-size:15px!important}html body .aosp-account .aosp-welcome h2{font-size:25px!important}html body.login #as #login .aosp-password-title{font-size:25px!important}}

/* Match the CNSS hierarchy for editorial pages; keep portal forms compact. */
html body #as[lang="ar"]{--aosp-font:"AOS Cairo","AOS Roboto",Tahoma,sans-serif;font-variation-settings:"slnt" 0}
html body #as[lang="fr"]{--aosp-font:"AOS Roboto","AOS Cairo",Arial,sans-serif}
html body #as [lang="fr"],html body .aosp-account [lang="fr"]{--aosp-font:"AOS Roboto","AOS Cairo",Arial,sans-serif}
html body #as [lang="ar"],html body .aosp-account [lang="ar"]{--aosp-font:"AOS Cairo","AOS Roboto",Tahoma,sans-serif}
html body #as :is(.heading h2,.service-heading h2,.hero-title,.hero-copy h1,.hero-copy h2){font-size:42px!important;line-height:1.45!important;font-weight:600!important}
html body #as :is(.hero-description,.hero-copy p,.health-intro p,.social-intro p,.association-copy p){font-size:18px!important;line-height:30px!important}
html body #as .aos-nav-shell nav a{font-size:16px!important;font-weight:500!important}
html body #as :is(h2,h3,h4),html body .aosp-account :is(h2,h3,h4){font-weight:600!important}
@media(max-width:640px){html body #as :is(.heading h2,.service-heading h2,.hero-title,.hero-copy h1,.hero-copy h2){font-size:25px!important;line-height:1.6!important}html body #as :is(.hero-description,.hero-copy p,.health-intro p,.social-intro p,.association-copy p){font-size:17px!important;line-height:1.9!important}}
