/* =====================================================================
   AASF Site Refresh 2026 — header, mega menu, page chrome, content skin
   Namespace: .aasfx-  (body class .aasfx-on)
   ===================================================================== */
:root {
	--ax-red: #bd3f45;
	--ax-red-d: #8f2a30;
	--ax-red-l: #fbeaea;
	--ax-ink: #26272a;
	--ax-char: #333436;
	--ax-dark: #1f2022;
	--ax-muted: #5d6066;
	--ax-line: #e7e2de;
	--ax-paper: #faf7f4;
	--ax-green: #2f7a57;
	--ax-gold: #e0a82e;
	--ax-head: Montserrat, "Segoe UI", sans-serif;
	--ax-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ax-shadow: 0 24px 60px rgba(38, 39, 42, .16);
}

/* ---------- retire the old theme chrome ---------- */
body.aasfx-on .header-mobile,
body.aasfx-on .wh-header,
body.aasfx-on .wh-footer,
body.aasfx-on .wh-page-title-bar,
body.aasfx-on .wh-breadcrumbs-bar,
body.aasfx-on #gtranslate_wrapper,
body.aasfx-on .wh-preloader,
/* homepage keeps only its body sections; the shared header/footer replace its own */
body.aasfx-on .aasf > .util,
body.aasfx-on .aasf > header.site,
body.aasfx-on .aasf > .partners,
body.aasfx-on .aasf > footer.site { display: none !important; }

body.aasfx-on { font-family: var(--ax-body); color: var(--ax-ink); background: #fff; -webkit-font-smoothing: antialiased; }
.aasfx-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
[class^="aasfx-"], [class^="aasfx-"] *, [class*=" aasfx-"], [class*=" aasfx-"] * { box-sizing: border-box; }
.aasfx-i { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: middle; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.aasfx-skip { position: absolute; left: 12px; top: -60px; z-index: 100000; background: var(--ax-red); color: #fff !important; padding: 10px 16px; border-radius: 8px; font: 700 14px var(--ax-head); transition: top .2s; }
.aasfx-skip:focus { top: 12px; }

/* ---------- utility bar ---------- */
.aasfx-util { background: var(--ax-char); color: #d9d9da; font: 400 14px var(--ax-body); }
.aasfx-util .aasfx-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.aasfx-util a { color: #fff !important; text-decoration: none !important; display: inline-flex; align-items: center; gap: 7px; }
.aasfx-util a:hover span { text-decoration: underline; }
.aasfx-util .aasfx-i { width: 15px; height: 15px; opacity: .7; }
.aasfx-util-r { display: flex; align-items: center; gap: 22px; }
.aasfx-lang { display: inline-flex; border: 1px solid #55575a; border-radius: 999px; overflow: hidden; }
.aasfx-lang a { padding: 3px 13px !important; font: 600 13px var(--ax-head) !important; color: #fff !important; gap: 0 !important; }
.aasfx-lang a.on { background: var(--ax-red); }

/* ---------- header bar ---------- */
.aasfx-header { position: sticky; top: 0; z-index: 9990; background: #fff; border-bottom: 1px solid var(--ax-line); font-family: var(--ax-head); transition: box-shadow .25s; }
.admin-bar .aasfx-header { top: 32px; }
.aasfx-header.is-scrolled { box-shadow: 0 8px 24px rgba(38, 39, 42, .08); }
.aasfx-bar { display: flex; align-items: center; gap: 20px; min-height: 84px; transition: min-height .25s; }
.aasfx-header.is-scrolled .aasfx-bar { min-height: 68px; }
.aasfx-logo { flex: none; display: block; line-height: 0; }
.aasfx-logo img { height: 56px; width: auto; transition: height .25s; }
.aasfx-header.is-scrolled .aasfx-logo img { height: 46px; }

.aasfx-nav { flex: 1; display: flex; justify-content: center; }
.aasfx-menu { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex; align-items: center; gap: 2px; }
.aasfx-item { position: static; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.aasfx-item::before { display: none !important; }
.aasfx-item.is-drop { position: relative; }
.aasfx-top {
	appearance: none; -webkit-appearance: none; background: none; border: 0; box-shadow: none; cursor: pointer;
	display: inline-flex; align-items: center; gap: 5px; position: relative;
	padding: 12px 14px; margin: 0; border-radius: 10px;
	font: 600 15.5px/1.2 var(--ax-head) !important; color: var(--ax-ink) !important; text-decoration: none !important; text-transform: none; letter-spacing: 0;
	transition: background .15s, color .15s;
}
.aasfx-top .aasfx-i { width: 16px; height: 16px; transition: transform .2s; opacity: .6; }
.aasfx-top:hover, .aasfx-item.is-open > .aasfx-top { background: var(--ax-paper); color: var(--ax-red) !important; }
.aasfx-item.is-open > .aasfx-top .aasfx-i { transform: rotate(180deg); opacity: 1; }
.aasfx-item.is-current > .aasfx-top::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--ax-red); }
.aasfx-top:focus-visible, .aasfx-panel a:focus-visible, .aasfx-icon-btn:focus-visible, .aasfx-cta:focus-visible, .aasfx-burger:focus-visible { outline: 3px solid var(--ax-gold); outline-offset: 2px; }

.aasfx-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.aasfx-icon-btn { appearance: none; border: 1px solid var(--ax-line); background: #fff; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; color: var(--ax-ink); padding: 0; transition: .15s; }
.aasfx-icon-btn:hover, .aasfx-icon-btn[aria-expanded="true"] { border-color: var(--ax-red); color: var(--ax-red); }
.aasfx-cta { display: inline-flex; align-items: center; padding: 12px 18px; border-radius: 10px; background: var(--ax-red); color: #fff !important; font: 700 15px var(--ax-head) !important; text-decoration: none !important; white-space: nowrap; transition: background .15s, transform .15s; }
.aasfx-cta:hover { background: var(--ax-red-d); transform: translateY(-1px); }
.aasfx-burger { display: none; appearance: none; border: 1px solid var(--ax-line); background: #fff; width: 46px; height: 46px; border-radius: 12px; cursor: pointer; padding: 0 12px; flex-direction: column; justify-content: center; gap: 5px; }
.aasfx-burger span { display: block; height: 2px; border-radius: 2px; background: var(--ax-ink); transition: transform .25s, opacity .2s; }

/* ---------- panels (desktop) ---------- */
.aasfx-panel {
	position: absolute; left: 0; right: 0; top: 100%;
	background: #fff; border-top: 1px solid var(--ax-line); box-shadow: var(--ax-shadow);
	opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
	font-family: var(--ax-body); color: var(--ax-ink);
}
.aasfx-item.is-open > .aasfx-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease; }
.aasfx-item.is-drop > .aasfx-panel { left: 0; right: auto; width: 380px; border: 1px solid var(--ax-line); border-radius: 16px; top: calc(100% + 8px); }
.aasfx-item.is-drop-right > .aasfx-panel { left: auto; right: 0; }
.aasfx-item.is-drop > .aasfx-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* hover bridge */

.aasfx-mega { display: grid; gap: 40px; padding-top: 34px; padding-bottom: 38px; }
.aasfx-mega-schools { grid-template-columns: 320px 1fr; }
.aasfx-mega-research { grid-template-columns: 360px 1fr; }
.aasfx-mega-meetings { grid-template-columns: 1fr 340px; }
.aasfx-drop { padding: 10px; }

.aasfx-kicker { display: block; font: 700 12px var(--ax-head); letter-spacing: .14em; text-transform: uppercase; color: var(--ax-red); margin-bottom: 12px; }
.aasfx-panel p { margin: 0 0 14px; font-size: 16px; line-height: 1.55; }

.aasfx-link { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; color: var(--ax-ink) !important; text-decoration: none !important; transition: background .15s; }
.aasfx-link:hover { background: var(--ax-paper); }
.aasfx-link-ic { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--ax-red-l); color: var(--ax-red); display: grid; place-items: center; transition: .15s; }
.aasfx-link:hover .aasfx-link-ic { background: var(--ax-red); color: #fff; }
.aasfx-link b { display: block; font: 700 15.5px/1.3 var(--ax-head); margin: 2px 0 2px; }
.aasfx-link small { display: block; font-size: 14.5px; color: var(--ax-muted); line-height: 1.4; }
.aasfx-link:hover b { color: var(--ax-red); }
.aasfx-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; align-content: start; }
.aasfx-2col .aasfx-kicker { grid-column: 1 / -1; }

.aasfx-feature { background: var(--ax-red); color: #fff; border-radius: 18px; padding: 28px; background-image: radial-gradient(circle at 100% 0, rgba(255, 255, 255, .16), transparent 55%); align-self: start; }
.aasfx-feature .aasfx-kicker { color: #ffd0d2; }
.aasfx-feature-dark { background-color: var(--ax-char); background-image: radial-gradient(circle at 100% 0, rgba(189, 63, 69, .45), transparent 60%); }
.aasfx-big { font: 800 54px/1 var(--ax-head) !important; margin: 0 0 12px !important; }
.aasfx-big span { display: block; font: 600 17px/1.3 var(--ax-head); margin-top: 6px; opacity: .92; }
.aasfx-mid { font: 800 22px/1.25 var(--ax-head) !important; }
.aasfx-feature p { color: rgba(255, 255, 255, .9); }
.aasfx-btn { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ax-red-d) !important; font: 700 15px var(--ax-head); padding: 12px 18px; border-radius: 10px; text-decoration: none !important; margin-top: 4px; transition: transform .15s, box-shadow .15s; }
.aasfx-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0, 0, 0, .2); }
.aasfx-feature-dark .aasfx-btn { color: var(--ax-char) !important; }
.aasfx-sub { display: block; margin-top: 16px; color: #fff !important; font: 600 14px var(--ax-head); opacity: .85; text-decoration: none !important; }
.aasfx-sub:hover { opacity: 1; text-decoration: underline !important; }

/* schools list */
.aasfx-schools-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.aasfx-schools-head .aasfx-kicker { margin: 0; }
.aasfx-filter { display: flex; align-items: center; gap: 8px; border: 1px solid var(--ax-line); border-radius: 10px; padding: 0 12px; background: var(--ax-paper); width: 300px; color: var(--ax-muted); margin: 0; }
.aasfx-filter:focus-within { border-color: var(--ax-red); background: #fff; }
.aasfx-filter input { border: 0 !important; background: transparent !important; box-shadow: none !important; outline: 0; padding: 10px 0 !important; margin: 0 !important; height: auto !important; font: 400 15px var(--ax-body) !important; width: 100%; color: var(--ax-ink); }
.aasfx-school-list { list-style: none !important; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 12px; max-height: 380px; overflow: auto; }
.aasfx-school-list li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.aasfx-school-list li::before { display: none !important; }
.aasfx-school-list a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--ax-ink) !important; text-decoration: none !important; font: 600 14.5px/1.3 var(--ax-body); transition: background .12s; }
.aasfx-school-list a:hover { background: var(--ax-paper); color: var(--ax-red) !important; }
.aasfx-badge { flex: none; width: 32px; height: 32px; border-radius: 8px; background: var(--ax-paper); border: 1px solid var(--ax-line); color: var(--ax-red); display: grid; place-items: center; font: 800 11.5px var(--ax-head); letter-spacing: .02em; }
.aasfx-school-list a:hover .aasfx-badge { background: var(--ax-red); border-color: var(--ax-red); color: #fff; }
.aasfx-nomatch { color: var(--ax-muted); padding: 10px; }
.aasfx-nomatch a { color: var(--ax-red) !important; }

/* research cards */
.aasfx-latest-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.aasfx-latest-head a { font: 700 14px var(--ax-head); color: var(--ax-red) !important; text-decoration: none !important; }
.aasfx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.aasfx-card { display: flex; flex-direction: column; border: 1px solid var(--ax-line); border-radius: 14px; overflow: hidden; color: var(--ax-ink) !important; text-decoration: none !important; transition: transform .15s, box-shadow .15s; background: #fff; }
.aasfx-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(38, 39, 42, .12); }
.aasfx-card img, .aasfx-card-ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; margin: 0; }
.aasfx-card-ph { display: grid; place-items: center; background: var(--ax-red-l); color: var(--ax-red); }
.aasfx-card-ph .aasfx-i { width: 32px; height: 32px; }
.aasfx-card-b { padding: 14px 16px 16px; }
.aasfx-card-b small { display: block; color: var(--ax-muted); font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.aasfx-card-b b { font: 700 15px/1.35 var(--ax-head); }
.aasfx-card:hover b { color: var(--ax-red); }

/* dim page behind open mega panel */
.aasfx-header::after { content: ""; position: fixed; left: 0; right: 0; top: 100%; height: 100vh; background: rgba(31, 32, 34, .28); opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s linear .2s; pointer-events: none; z-index: -1; }
.aasfx-header.has-open::after { opacity: 1; visibility: visible; transition: opacity .2s; }

/* ---------- search ---------- */
.aasfx-search { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--ax-line); box-shadow: var(--ax-shadow); padding: 26px 0 22px; }
.aasfx-search[hidden] { display: none; }
.aasfx-search form { display: flex; align-items: center; gap: 12px; border: 2px solid var(--ax-red); border-radius: 14px; padding: 0 8px 0 18px; margin: 0; }
.aasfx-search form .aasfx-i { color: var(--ax-red); width: 22px; height: 22px; }
.aasfx-search input { flex: 1; border: 0 !important; box-shadow: none !important; outline: 0; background: transparent !important; font: 400 20px var(--ax-body) !important; padding: 16px 0 !important; margin: 0 !important; height: auto !important; color: var(--ax-ink); }
.aasfx-search button { border: 0; background: var(--ax-red); color: #fff; font: 700 15px var(--ax-head); padding: 12px 20px; border-radius: 10px; cursor: pointer; }
.aasfx-quick { margin: 14px 0 0; font-size: 14.5px; color: var(--ax-muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.aasfx-quick a { color: var(--ax-ink) !important; text-decoration: none !important; background: var(--ax-paper); border: 1px solid var(--ax-line); padding: 4px 12px; border-radius: 999px; font-weight: 600; }
.aasfx-quick a:hover { border-color: var(--ax-red); color: var(--ax-red) !important; }

/* drawer-only blocks hidden on desktop */
.aasfx-drawer-top, .aasfx-drawer-foot { display: none; }
.aasfx-scrim { position: fixed; inset: 0; background: rgba(20, 12, 13, .5); z-index: 9985; } /* below the header's stacking context so the drawer sits above it */
.aasfx-scrim[hidden] { display: none; }

/* ---------- page hero (title + breadcrumbs) ---------- */
.aasfx-hero { position: relative; color: #fff; background: var(--ax-red-d); background-image: linear-gradient(110deg, rgba(38, 20, 22, .96) 0%, rgba(143, 42, 48, .9) 55%, rgba(189, 63, 69, .82) 100%), url("/wp-content/uploads/2021/03/EA18A992F8C605C6B7D0BFAB27226823.jpg"); background-size: cover; background-position: center 35%; overflow: hidden; }
.aasfx-hero::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; border: 48px solid rgba(255, 255, 255, .06); }
.aasfx-hero .aasfx-wrap { position: relative; z-index: 1; padding-top: 46px; padding-bottom: 50px; }
.aasfx-hero-title { color: #fff !important; font: 800 clamp(30px, 4vw, 48px)/1.12 var(--ax-head) !important; margin: 0 !important; letter-spacing: -.01em; text-transform: none !important; }
.aasfx-hero-sub { margin: 10px 0 0; font-size: 19px; opacity: .9; max-width: 720px; }
.aasfx-hero .breadcrumbs, .aasfx-hero .breadcrumb-trail { margin: 0 0 14px; padding: 0; background: none; }
.aasfx-hero .trail-items { list-style: none !important; margin: 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 4px; font: 600 14px var(--ax-head); }
.aasfx-hero .trail-items li { margin: 0 !important; padding: 0 !important; color: rgba(255, 255, 255, .7); display: inline-flex; align-items: center; gap: 4px; list-style: none !important; }
.aasfx-hero .trail-items li::before { display: none !important; }
.aasfx-hero .trail-items li:not(:last-child)::after { content: "›" !important; margin: 0 4px; color: rgba(255, 255, 255, .5); display: inline !important; position: static !important; }
.aasfx-hero .trail-items a { color: #fff !important; text-decoration: none !important; }
.aasfx-hero .trail-items a:hover { text-decoration: underline !important; }

/* ---------- content skin ---------- */
body.aasfx-on .wh-content { padding: 56px 0 80px; background: #fff; }
body.aasfx-on .wh-content p, body.aasfx-on .wh-content li { line-height: 1.65; }
/* old layouts pulled the first section up under the photo banner with a negative margin */
body.aasfx-on .wh-content .elementor-section-wrap > .elementor-top-section:first-child { margin-top: 0 !important; }
body.aasfx-on .wh-content h1, body.aasfx-on .wh-content h2, body.aasfx-on .wh-content h3,
body.aasfx-on .wh-content h4, body.aasfx-on .wh-content h5 { font-family: var(--ax-head); color: var(--ax-ink); letter-spacing: -.005em; }
body.aasfx-on .wh-content-inner p a, body.aasfx-on .wh-content-inner li a, body.aasfx-on .wh-content-inner td a { color: var(--ax-red); text-underline-offset: 3px; }
body.aasfx-on .wh-content-inner p a:hover, body.aasfx-on .wh-content-inner li a:hover { color: var(--ax-red-d); }
body.aasfx-on .wh-content img { border-radius: 10px; }
body.aasfx-on .wh-content table { border-collapse: collapse; width: 100%; }
body.aasfx-on .wh-content th, body.aasfx-on .wh-content td { border-bottom: 1px solid var(--ax-line); padding: 10px 12px; text-align: left; }
body.aasfx-on .wh-content th { font-family: var(--ax-head); background: var(--ax-paper); }

/* buttons & forms */
body.aasfx-on .wh-content .wh-button, body.aasfx-on .wh-content input[type="submit"], body.aasfx-on .wh-content button[type="submit"],
body.aasfx-on .wh-content .wpcf7-submit, body.aasfx-on .wh-content .elementor-button { border-radius: 10px !important; font-family: var(--ax-head) !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important; }
body.aasfx-on .wh-content input[type="text"], body.aasfx-on .wh-content input[type="email"], body.aasfx-on .wh-content input[type="tel"],
body.aasfx-on .wh-content input[type="search"], body.aasfx-on .wh-content select, body.aasfx-on .wh-content textarea { border: 1px solid var(--ax-line) !important; border-radius: 10px !important; background: #fff !important; font-family: var(--ax-body) !important; font-size: 16px !important; padding: 10px 14px !important; box-shadow: none !important; }
body.aasfx-on .wh-content input:focus, body.aasfx-on .wh-content select:focus, body.aasfx-on .wh-content textarea:focus { border-color: var(--ax-red) !important; outline: 2px solid rgba(189, 63, 69, .2); }

/* sidebar widgets as cards */
body.aasfx-on .wh-sidebar .widget { background: var(--ax-paper); border: 1px solid var(--ax-line); border-radius: 16px; padding: 22px 24px; margin: 0 0 22px; }
body.aasfx-on .wh-sidebar .widget-title, body.aasfx-on .wh-sidebar .widgettitle { font: 700 12.5px var(--ax-head) !important; letter-spacing: .14em !important; text-transform: uppercase !important; color: var(--ax-red) !important; margin: 0 0 14px !important; padding: 0 !important; border: 0 !important; background: none !important; }
body.aasfx-on .wh-sidebar .widget-title::after, body.aasfx-on .wh-sidebar .widget-title::before { display: none !important; }
body.aasfx-on .wh-sidebar ul { margin: 0; padding: 0; }
body.aasfx-on .wh-sidebar li { list-style: none; padding: 7px 0; border-bottom: 1px solid var(--ax-line); }
body.aasfx-on .wh-sidebar li:last-child { border-bottom: 0; }
body.aasfx-on .wh-sidebar a { color: var(--ax-ink); text-decoration: none; font-weight: 600; }
body.aasfx-on .wh-sidebar a:hover { color: var(--ax-red); }
body.aasfx-on .wh-sidebar .widget_search { background: none; border: 0; padding: 0; }
body.aasfx-on .wh-sidebar .widget-banner { padding: 0; overflow: hidden; border: 0; }
body.aasfx-on .wh-sidebar .widget-banner > * { border-radius: 16px; }

/* WP File Download blocks */
body.aasfx-on .wh-content [class*="wpfd"] .file { border-radius: 14px !important; border-color: var(--ax-line) !important; }
body.aasfx-on .wh-content .wpfd-categories a, body.aasfx-on .wh-content a.wpfdcategory { border-radius: 10px !important; }

/* ---------- partners + footer ---------- */
.aasfx-partners { background: var(--ax-char); padding: 44px 0; }
.aasfx-partners .aasfx-wrap { display: flex; align-items: center; justify-content: center; gap: 52px; flex-wrap: wrap; }
.aasfx-partners small { font: 700 12.5px var(--ax-head); letter-spacing: .14em; text-transform: uppercase; color: #b9babd; }
.aasfx-partners img { height: 60px; width: auto; opacity: .9; transition: opacity .15s; border-radius: 0 !important; }
.aasfx-partners a:hover img { opacity: 1; }

.aasfx-footer { background: var(--ax-dark); color: #b9babd; padding: 68px 0 26px; font: 400 16px/1.6 var(--ax-body); border-top: 1px solid #3d3f42; }
.aasfx-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 44px; }
.aasfx-footer h2 { color: #fff !important; font: 700 14px var(--ax-head) !important; letter-spacing: .08em !important; text-transform: uppercase !important; margin: 0 0 16px !important; }
.aasfx-footer ul { list-style: none !important; margin: 0 0 16px !important; padding: 0 !important; }
.aasfx-footer li { margin: 0 0 8px !important; padding: 0 !important; list-style: none !important; }
.aasfx-footer li::before { display: none !important; }
.aasfx-footer a { color: #e4e4e6 !important; text-decoration: none !important; }
.aasfx-footer a:hover { color: #fff !important; text-decoration: underline !important; }
.aasfx-footer p { font-size: 15px; margin: 16px 0 10px; color: #b9babd; }
.aasfx-flogo { height: 54px; width: auto; display: block; }
.aasfx-fmore { display: inline-block; font: 700 14px var(--ax-head); color: #fff !important; border-bottom: 2px solid var(--ax-red); padding-bottom: 2px; }
.aasfx-footer .aasfx-lang a { text-decoration: none !important; }
.aasfx-legal { border-top: 1px solid #36383b; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* ===================================================================
   Tablet / mobile: nav becomes an off-canvas drawer with accordions
   =================================================================== */
@media (max-width: 1240px) {
	.aasfx-top { padding: 12px 10px; font-size: 15px !important; }
	.aasfx-mega-research { grid-template-columns: 320px 1fr; }
}
@media (max-width: 1180px) {
	.aasfx-burger { display: inline-flex; }
	.aasfx-actions .aasfx-cta { display: none; }
	.aasfx-bar { justify-content: space-between; }
	.aasfx-actions { margin-left: auto; }

	.aasfx-nav {
		position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); z-index: 9999;
		background: #fff; flex-direction: column; justify-content: flex-start; overflow-y: auto; overscroll-behavior: contain;
		transform: translateX(105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); box-shadow: -20px 0 50px rgba(0, 0, 0, .2);
		visibility: hidden;
	}
	.aasfx-drawer-open .aasfx-nav { transform: none; visibility: visible; }
	.aasfx-drawer-open, .aasfx-drawer-open body { overflow: hidden; }
	.aasfx-drawer-open .aasfx-burger { position: fixed; right: 16px; top: 14px; z-index: 10000; background: #fff; }
	.aasfx-drawer-open .aasfx-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.aasfx-drawer-open .aasfx-burger span:nth-child(2) { opacity: 0; }
	.aasfx-drawer-open .aasfx-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

	.aasfx-drawer-top { display: block; padding: 18px 76px 14px 18px; border-bottom: 1px solid var(--ax-line); }
	.aasfx-drawer-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--ax-line); border-radius: 12px; padding: 0 12px; background: var(--ax-paper); margin: 0; color: var(--ax-muted); }
	.aasfx-drawer-search input { border: 0 !important; background: transparent !important; box-shadow: none !important; outline: 0; padding: 12px 0 !important; margin: 0 !important; font: 400 16px var(--ax-body) !important; width: 100%; height: auto !important; }

	.aasfx-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 10px !important; }
	.aasfx-item { border-bottom: 1px solid var(--ax-line); }
	.aasfx-item.is-drop { position: static; }
	.aasfx-top { width: 100%; justify-content: space-between; padding: 16px 10px; font-size: 17px !important; border-radius: 8px; }
	.aasfx-item.is-current > .aasfx-top::after { left: 0; right: auto; top: 14px; bottom: 14px; width: 3px; height: auto; }

	.aasfx-panel, .aasfx-item.is-drop > .aasfx-panel {
		position: static; width: auto; box-shadow: none; border: 0; border-radius: 0;
		opacity: 1; visibility: visible; transform: none; transition: none; display: none;
	}
	.aasfx-item.is-open > .aasfx-panel { display: block; }
	.aasfx-item.is-drop > .aasfx-panel::before { display: none; }
	.aasfx-mega, .aasfx-mega-schools, .aasfx-mega-research, .aasfx-mega-meetings { grid-template-columns: 1fr; gap: 18px; padding: 4px 0 18px; }
	.aasfx-mega .aasfx-wrap, .aasfx-panel .aasfx-wrap { padding: 0; }
	.aasfx-drop { padding: 0 0 12px; }
	.aasfx-2col { grid-template-columns: 1fr; }
	.aasfx-feature { padding: 20px; order: 2; }
	.aasfx-big { font-size: 40px !important; }
	.aasfx-schools-head { flex-direction: column; align-items: stretch; gap: 10px; }
	.aasfx-filter { width: 100%; }
	.aasfx-school-list { grid-template-columns: 1fr; max-height: none; }
	.aasfx-cards { grid-template-columns: 1fr; gap: 10px; }
	.aasfx-card { flex-direction: row; align-items: center; }
	.aasfx-card img, .aasfx-card-ph { width: 96px; aspect-ratio: 1; }
	.aasfx-card-b { padding: 10px 14px; }
	.aasfx-header::after { display: none; }

	.aasfx-drawer-foot { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: 20px; margin-top: auto; background: var(--ax-paper); border-top: 1px solid var(--ax-line); }
	.aasfx-drawer-foot .aasfx-cta { display: flex; width: 100%; justify-content: center; }
	.aasfx-drawer-foot .aasfx-lang { border-color: var(--ax-line); }
	.aasfx-drawer-foot .aasfx-lang a { color: var(--ax-ink) !important; }
	.aasfx-drawer-foot .aasfx-lang a.on { color: #fff !important; }
	.aasfx-drawer-contact { color: var(--ax-ink) !important; font: 600 15px var(--ax-head); text-decoration: none !important; }

	.aasfx-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) {
	.admin-bar .aasfx-header { top: 0; }
}
@media (max-width: 640px) {
	.aasfx-wrap { padding: 0 16px; }
	.aasfx-util-l, .aasfx-util a span { display: none; }
	.aasfx-util .aasfx-i { width: 17px; height: 17px; opacity: .85; }
	.aasfx-util .aasfx-wrap { justify-content: flex-end; }
	.aasfx-bar { min-height: 70px; gap: 10px; }
	.aasfx-logo img { height: 44px; }
	.aasfx-header.is-scrolled .aasfx-logo img { height: 40px; }
	.aasfx-search input { font-size: 17px !important; }
	.aasfx-search button { padding: 10px 14px; }
	.aasfx-quick { display: none; }
	.aasfx-hero .aasfx-wrap { padding-top: 32px; padding-bottom: 36px; }
	body.aasfx-on .wh-content { padding: 36px 0 56px; }
	.aasfx-partners .aasfx-wrap { gap: 22px; }
	.aasfx-partners img { height: 44px; }
	.aasfx-cols { grid-template-columns: 1fr; gap: 30px; }
}
@media (prefers-reduced-motion: reduce) {
	.aasfx-panel, .aasfx-nav, .aasfx-header, .aasfx-bar, .aasfx-logo img { transition: none !important; }
}

/* small fixes */
.aasfx-footer .aasfx-i { width: 13px; height: 13px; opacity: .6; margin-left: 2px; vertical-align: -1px; }
body.aasfx-on .aasf .hero .cy { margin: 0 0 24px; }
/* posts: title already shown in the hero band */
.aasfx-hero ~ .wh-content .wh-content-inner h1.page-title { display: none; }
/* sidebar notice banner keeps its red card */
body.aasfx-on .wh-sidebar .widget.widget-banner { background: var(--ax-red); background-image: radial-gradient(circle at 100% 0, rgba(255,255,255,.16), transparent 55%); border: 0; padding: 22px 24px; color: #fff; }
body.aasfx-on .wh-sidebar .widget-banner .title { font: 700 18px var(--ax-head); color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
body.aasfx-on .wh-sidebar .widget-banner .label { font: 700 10.5px var(--ax-head); letter-spacing: .12em; background: rgba(255,255,255,.2); border-radius: 999px; padding: 3px 9px; color: #fff; }
body.aasfx-on .wh-sidebar .widget-banner .text { color: rgba(255,255,255,.92); font-size: 15.5px; line-height: 1.5; margin-bottom: 14px; }
body.aasfx-on .wh-sidebar .widget-banner .link { display: inline-block; color: var(--ax-red-d) !important; background: #fff; border-radius: 8px; padding: 7px 14px; font: 700 13px var(--ax-head); }
.aasfx-faddr { font-size: 14px; line-height: 1.5; opacity: .8; max-width: 240px; }

/* Announcement banner (wp-admin → Forum website → Navigation) */
.aasfx-banner { background: var(--ax-red); color: #fff; font: 600 14.5px/1.45 var(--ax-head); text-align: center; padding: 9px 0; }
.aasfx-banner .aasfx-wrap { display: block; }
.aasfx-banner a { color: #fff !important; text-decoration: underline !important; font-weight: 800; white-space: nowrap; }
