/* AJRFED 1.9.0 — focused overrides, shared by Arabic and English. */
body.ajrfed-v190 { --ajrfed-panel-deep:#35233f; --ajrfed-panel-end:#682888; --ajrfed-gold:#f1d487; --ajrfed-copy:#302638; }
body.ajrfed-v190.ajrfed-v190-managed-page .site-main > article > .entry-header,
body.ajrfed-v190.ajrfed-v190-managed-page .site-main > .ast-article-single > .entry-header { display:none; }
body.ajrfed-v190 .ajrfed-v190-header,
body.ajrfed-v190 .ajrfed-v190-advisory .ajrfed-section-hero {
 background:linear-gradient(115deg,var(--ajrfed-panel-deep),var(--ajrfed-panel-end)) !important;
 border:1px solid rgba(241,212,135,.16); border-radius:24px; padding:clamp(24px,4vw,46px);
 box-shadow:0 16px 38px rgba(40,24,52,.13); overflow:hidden; position:relative;
}
body.ajrfed-v190 .ajrfed-v190-header > :is(h1,h2,h3),
body.ajrfed-v190 .ajrfed-v190-advisory .ajrfed-section-hero > :is(h1,h2,h3) {
 color:#fff !important; margin:0 !important; font-size:clamp(23px,2.7vw,34px) !important;
 line-height:1.65 !important; text-align:start !important; text-shadow:none !important;
}
body.ajrfed-v190 .ajrfed-v190-header > p,
body.ajrfed-v190 .ajrfed-v190-advisory .ajrfed-section-hero > p {
 color:#f5eef9 !important; margin:16px 0 0 !important; line-height:2 !important; font-size:16px !important;
 text-align:justify !important; text-align-last:start !important; opacity:1 !important;
}
body.ajrfed-v190 .ajrfed-v180-panel__watermark { display:none; }
body.ajrfed-v190 .ajrfed-publication-card__number,
body.ajrfed-v190 .ajrfed-publication-stat,
body.ajrfed-v190 .ajrfed-home-publications__count,
body.ajrfed-v190 .ajrfed-training-page > .ajrfed-section-hero > .ajrfed-eyebrow,
body.ajrfed-v190 .ajrfed-publications-page > .ajrfed-section-hero > .ajrfed-eyebrow,
body.ajrfed-v190 .ajrfed-publication-directory-heading .ajrfed-eyebrow { display:none !important; }
body.ajrfed-v190 .ajrfed-publication-services article { grid-template-columns:1fr; }
body.ajrfed-v190 .ajrfed-publication-card__cover { height:360px; aspect-ratio:auto; padding:15px; background:#f3eef5; }
body.ajrfed-v190 .ajrfed-publication-card__cover > img { width:100% !important; height:100% !important; object-fit:contain !important; filter:none !important; opacity:1 !important; transform:none !important; }
/* About and advisory: one identity, readable prose, no new text hidden on phones. */
body.ajrfed-v190 .ajrfed-v190-prose { color:var(--ajrfed-copy); }
body.ajrfed-v190 .ajrfed-v190-prose :is(p,li) { font-size:16px !important; line-height:2 !important; color:var(--ajrfed-copy) !important; text-align:justify !important; text-align-last:start !important; }
body.ajrfed-v190 .ajrfed-v190-prose :is(h3,h4) { color:#572974 !important; padding-block:8px; padding-inline-start:14px; border-inline-start:3px solid #ba8d3c; margin:28px 0 14px !important; font-size:20px !important; line-height:1.7 !important; text-align:start !important; }
body.ajrfed-v190 .ajrfed-v190-prose > p { margin:0 0 18px !important; }
body.ajrfed-v190 .ajrfed-v190-institution-tag { margin:24px auto; padding:20px; border:1px solid #e1d4e8; border-radius:16px; text-align:center; font-weight:700; color:#42244f; background:#faf7fc; }
body.ajrfed-v190 .ajrfed-v190-institution-tag span { display:block; font-size:14px; color:#a02743; margin-top:6px; }
body.ajrfed-v190 .ajrfed-v190-advisory .ajrfed-advisory-layout { display:block; }
body.ajrfed-v190 .ajrfed-v190-advisory .ajrfed-institution-panel { background:#fff; padding:clamp(20px,3vw,34px); border:1px solid #e3d9e9; border-radius:22px; box-shadow:0 10px 28px rgba(44,27,56,.06); margin-top:24px; }
body.ajrfed-v190 .ajrfed-v190-advisory .ajrfed-elegant-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; padding:0; list-style:none; counter-reset:task; }
body.ajrfed-v190 .ajrfed-v190-advisory .ajrfed-elegant-list > li { padding:20px !important; margin:0 !important; background:#faf7fc; border:1px solid #e9e0ee; border-inline-start:3px solid #ba8d3c; border-radius:14px; color:#3a3041 !important; font-size:15px !important; line-height:1.95 !important; }
body.ajrfed-v190 .ajrfed-v190-advisory .ajrfed-elegant-list > li::before { display:none; }
body.ajrfed-v190 .ajrfed-advisor-card__photo > img { width:100% !important; height:100% !important; object-fit:contain !important; }
/* The board layout never crops the portrait. Role follows the name. */
body.ajrfed-v190 .ajrfed-chairman-card { grid-template-columns:minmax(230px,32%) minmax(0,1fr); align-items:start; }
body.ajrfed-v190 .ajrfed-chairman-card__photo { height:auto !important; min-height:0 !important; max-height:none !important; aspect-ratio:4/5; background:#f3eef6; padding:12px; }
body.ajrfed-v190 .ajrfed-chairman-card__photo > img { width:100% !important; height:100% !important; min-height:0 !important; object-fit:contain !important; object-position:center !important; filter:none !important; transform:none !important; }
body.ajrfed-v190 .ajrfed-v190-leader-name { font-size:clamp(24px,2.4vw,32px) !important; color:#3b2348 !important; margin:0 0 8px !important; line-height:1.65 !important; text-align:start !important; }
body.ajrfed-v190 .ajrfed-v190-leader-role { color:#a12642 !important; font-size:18px !important; font-weight:700 !important; margin:0 0 18px !important; text-align:start !important; }
body.ajrfed-v190 .ajrfed-v190-profile-links { display:flex; flex-wrap:wrap; gap:10px; margin-block:20px; }
body.ajrfed-v190 .ajrfed-v190-profile-links a { display:inline-flex; align-items:center; min-height:44px; padding:10px 15px; color:#52236d !important; border:1px solid #dfd0e6; border-radius:12px; background:#faf6fc; text-decoration:none; font-size:14px; overflow-wrap:anywhere; }
body.ajrfed-v190 .ajrfed-leader-facts h4 { color:#582671 !important; font-size:16px !important; margin:0 0 12px; }
body.ajrfed-v190 .ajrfed-chairman-card__bio p { font-size:16px !important; line-height:1.95 !important; }
/* Conference detail and partner document images remain complete. */
body.ajrfed-v190 .ajrfed-conference-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
body.ajrfed-v190 .ajrfed-conference-card .ajrfed-v180-card__image { height:340px; padding:12px; background:#f3eef6; }
body.ajrfed-v190 .ajrfed-conference-card .ajrfed-v180-card__image img { width:100% !important; height:100% !important; object-fit:contain !important; transform:none !important; }
body.ajrfed-v190 .ajrfed-conference-card .ajrfed-v180-card__body { padding:24px; }
body.ajrfed-v190 .ajrfed-conference-card :is(p,dd) { font-size:15px !important; line-height:1.95 !important; color:#493b51 !important; }
body.ajrfed-v190 .ajrfed-v190-event-meta { display:flex; flex-wrap:wrap; gap:12px; margin:18px 0; }
body.ajrfed-v190 .ajrfed-v190-event-meta > div { flex:1 1 160px; padding:12px 16px; border:1px solid #eadfee; border-radius:12px; background:#faf6fc; }
body.ajrfed-v190 .ajrfed-v190-event-meta dt { font-weight:700; font-size:13px; color:#69447c; }
body.ajrfed-v190 .ajrfed-v190-event-meta dd { margin:4px 0 0; }
body.ajrfed-v190 .ajrfed-v190-event-partners h4 { color:#623178; font-size:16px !important; margin-block:18px 8px; }
body.ajrfed-v190 .ajrfed-v190-event-details { margin-top:18px; padding:14px; border:1px solid #e2d6e9; border-radius:13px; background:#faf7fc; }
body.ajrfed-v190 .ajrfed-v190-event-details summary { cursor:pointer; min-height:32px; color:#5b2674; font-weight:700; }
body.ajrfed-v190 .ajrfed-partner-card__logo { height:300px !important; padding:16px !important; background:#fff !important; overflow:hidden; }
body.ajrfed-v190 .ajrfed-partner-card__logo img { width:100% !important; height:100% !important; max-height:100% !important; object-fit:contain !important; transform:none !important; object-position:center !important; }
/* News: intrinsic images, explicit fallback handling and restrained typography. */
body.ajrfed-v190 .ajrfed-news-card__media { height:300px; min-height:300px; aspect-ratio:auto; background:#f4eff7; }
body.ajrfed-v190 .ajrfed-news-card__media img { display:block !important; width:100% !important; height:100% !important; min-height:0 !important; object-fit:contain !important; opacity:1 !important; filter:none !important; transform:none !important; }
body.ajrfed-v190 .ajrfed-news-card__title, body.ajrfed-v190 .ajrfed-news-card__title a { font-size:18px !important; line-height:1.8 !important; text-align:justify !important; text-align-last:start !important; word-break:normal !important; overflow-wrap:break-word; letter-spacing:0 !important; }
body.ajrfed-v190 .ajrfed-news-card__excerpt { font-size:15px !important; line-height:1.95 !important; }
body.ajrfed-v190 .ajrfed-v190-article-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:16px; margin-block:22px; }
body.ajrfed-v190 .ajrfed-v190-article-gallery img { width:100% !important; height:auto !important; max-height:600px; object-fit:contain !important; margin:0 !important; filter:none !important; }
body.ajrfed-v190 img.ajrfed-image-unavailable { min-height:90px; object-fit:contain !important; font-size:13px; }
/* Vision/Mission tabs: remove nested white overlays, not tab visibility or interactions. */
body.ajrfed-v190 .elementor-widget-n-tabs .e-n-tabs-content > .e-con,
body.ajrfed-v190 .elementor-widget-n-tabs .e-n-tabs-content > [role="tabpanel"] {
 background:linear-gradient(115deg,#35233f,#682888) !important; border-radius:22px !important;
 color:#fff !important; padding:clamp(20px,3vw,36px) !important; filter:none !important; backdrop-filter:none !important; opacity:1 !important;
}
body.ajrfed-v190 .elementor-widget-n-tabs .e-n-tabs-content > .e-con .e-con,
body.ajrfed-v190 .elementor-widget-n-tabs .e-n-tabs-content :is(.e-con-inner,.elementor-widget-container,.elementor-widget-text-editor,.ajrfed-v190-local-copy,.ajrfed-v190-copy-text) {
 background:transparent !important; background-image:none !important; filter:none !important; backdrop-filter:none !important;
}
body.ajrfed-v190 .elementor-widget-n-tabs .e-n-tabs-content .elementor-background-overlay,
body.ajrfed-v190 .elementor-widget-n-tabs .e-n-tabs-content .e-con::before,
body.ajrfed-v190 .elementor-widget-n-tabs .e-n-tabs-content .elementor-widget-container::before { background:none !important; box-shadow:none !important; opacity:0 !important; pointer-events:none; }
body.ajrfed-v190 .elementor-widget-n-tabs .e-n-tabs-content :is(p,h1,h2,h3,h4,h5,h6,li,strong,b,span) {
 color:#fff !important; -webkit-text-fill-color:currentColor !important; text-shadow:none !important; filter:none !important; opacity:1 !important;
}
body.ajrfed-v190 .elementor-widget-n-tabs .e-n-tabs-content :is(p,h4,li) {
 font-size:16px !important; line-height:2 !important; text-align:justify !important; text-align-last:start !important; letter-spacing:0 !important;
}
body.ajrfed-v190 .elementor-widget-n-tabs .e-n-tabs-content a { color:#ffdf92 !important; -webkit-text-fill-color:currentColor !important; text-decoration:underline !important; background:transparent !important; overflow-wrap:anywhere; }
body.ajrfed-v190 .ajrfed-v190-copy-grid.has-image { display:grid; grid-template-columns:minmax(160px,27%) minmax(0,1fr); align-items:start; gap:24px; }
body.ajrfed-v190 .ajrfed-v190-copy-image img { display:block; float:none !important; width:100% !important; height:auto !important; margin:0 !important; border-radius:14px; }
body.ajrfed-v190 .ajrfed-v190-copy-text p { margin:0 0 18px !important; line-height:2 !important; }
body.ajrfed-v190 .ajrfed-v190-copy-text p:last-child { margin-bottom:0 !important; }
body.ajrfed-v190 .ajrfed-v190-copy-text ol { margin:0; padding-inline-start:24px; }
body.ajrfed-v190 .ajrfed-v190-copy-text li { margin-bottom:12px; }
/* Language chooser — same box and one name in either language. */
body.ajrfed-v190 :is(.trp-language-switcher,.trp-language-switcher-container,.trp-floater-ls) img {
 width:27px !important; height:18px !important; min-height:0 !important; object-fit:contain !important; opacity:1 !important; filter:none !important;
}
body.ajrfed-v190 a[data-ajrfed-language] { min-width:112px !important; width:auto; display:flex; align-items:center; justify-content:center; gap:8px; padding:10px 12px !important; }
body.ajrfed-v190 a[data-ajrfed-language] .ajrfed-language-label { font-size:13px !important; white-space:nowrap !important; max-width:none !important; text-overflow:clip !important; }
/* Existing mobile menu colours and shapes are preserved; expensive backdrop redraw is removed. */
@media(max-width:921px) {
 body.ajrfed-v190 :is(.ajrfed-mobile-menu-panel,.ast-mobile-popup-inner) { backdrop-filter:none !important; }
 body.ajrfed-v190 :is(.ajrfed-mobile-menu-link,.ast-builder-menu-mobile .menu-link) { transition:background-color .12s ease,color .12s ease !important; }
}
body.ajrfed-v190 .ajrfed-v190-socials { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:10px; max-width:1180px; margin:14px auto 20px; padding:0 12px; }
body.ajrfed-v190 .ajrfed-v190-socials a { width:44px; height:44px; min-width:44px; display:inline-flex; align-items:center; justify-content:center; border:1px solid #daccdf; border-radius:12px; background:#faf6fc; color:#5d2c76 !important; text-decoration:none !important; transition:background-color .15s ease; }
body.ajrfed-v190 .ajrfed-v190-socials a:hover { background:#eee3f4; }
body.ajrfed-v190 .ajrfed-v190-socials a > span[aria-hidden] { font:700 18px/1 Arial,sans-serif; }
body.ajrfed-v190 .ajrfed-v190-socials svg { width:21px; height:21px; fill:currentColor; }
body.ajrfed-v190 a:focus-visible,body.ajrfed-v190 button:focus-visible,body.ajrfed-v190 summary:focus-visible { outline:3px solid #ba8d3c; outline-offset:3px; }
body.ajrfed-v190.ajrfed-design-en :is(.ajrfed-v190-header,.ajrfed-v190-prose,.ajrfed-conference-card,.ajrfed-chairman-card,.ajrfed-v190-advisory,.ajrfed-v190-local-copy) { direction:ltr; }
body.ajrfed-v190.ajrfed-design-en :is(.ajrfed-v190-header,.ajrfed-v190-prose,.ajrfed-conference-card,.ajrfed-chairman-card,.ajrfed-v190-advisory,.ajrfed-v190-local-copy) :is(h1,h2,h3,h4,h5,p,li,dt,dd) { font-family:Arial,"Helvetica Neue",sans-serif !important; }
@media(max-width:767px) {
 body.ajrfed-v190 .ajrfed-v190-header { border-radius:18px; padding:24px 20px; }
 body.ajrfed-v190 .ajrfed-v190-header > :is(h1,h2,h3) { font-size:24px !important; }
 body.ajrfed-v190 .ajrfed-v190-header > p { font-size:15px !important; }
 body.ajrfed-v190 .ajrfed-v190-prose :is(p,li) { font-size:15px !important; line-height:1.95 !important; }
 body.ajrfed-v190 .ajrfed-v190-advisory .ajrfed-elegant-list,
 body.ajrfed-v190 .ajrfed-chairman-card,
 body.ajrfed-v190 .ajrfed-conference-grid,
 body.ajrfed-v190 .ajrfed-v190-copy-grid.has-image,
 body.ajrfed-v190 .ajrfed-v190-article-gallery { grid-template-columns:1fr; }
 body.ajrfed-v190 .ajrfed-chairman-card__photo { width:min(100%,360px); margin-inline:auto; }
 body.ajrfed-v190 .ajrfed-v190-leader-name,body.ajrfed-v190 .ajrfed-v190-leader-role { text-align:center !important; }
 body.ajrfed-v190 .ajrfed-v190-profile-links { justify-content:center; }
 body.ajrfed-v190 .ajrfed-conference-card .ajrfed-v180-card__image { height:300px; }
 body.ajrfed-v190 .ajrfed-conference-card .ajrfed-v180-card__body { padding:20px; }
 body.ajrfed-v190 .ajrfed-v190-copy-image { max-width:360px; width:100%; margin-inline:auto; }
 body.ajrfed-v190 .elementor-widget-n-tabs .e-n-tabs-content :is(p,h4,li) { font-size:15px !important; line-height:1.95 !important; }
 body.ajrfed-v190 .ajrfed-copyright-strip { padding:20px 16px; }
}
@media(prefers-reduced-motion:reduce){body.ajrfed-v190 :is(.ajrfed-mobile-menu-link,.ajrfed-v190-socials a){transition:none !important;}}

body.ajrfed-v190 .ajrfed-v190-local-copy,body.ajrfed-v190 .ajrfed-v190-copy-text{min-width:0;max-width:100%;}

/* Remove compounded side padding only on the prose/advisory pages being refined. */
@media(max-width:767px){
 body.ajrfed-v190.ajrfed-v190-readable-screen .site-main > article{width:100% !important;max-width:100% !important;padding:12px 0 !important;border:0;box-shadow:none;background:transparent;}
 body.ajrfed-v190.ajrfed-v190-readable-screen .ajrfed-v180-standard-page{width:100%;max-width:100%;}
 body.ajrfed-v190.ajrfed-v190-readable-screen .ajrfed-v180-standard-content{padding:18px;}
}
/* Both article languages share the same reading surface and spacing. */
body.ajrfed-v190 .ajrfed-english-article{background:transparent;border:0;box-shadow:none;padding:0;margin:0;}
