/* =====================================================================
   ASOSH design system — public website
   Transatlantic look: British editorial serif (Caslon) + American
   civic sans (Public Sans), navy / red / ivory from the society seal.
   Loaded after the legacy theme CSS, so everything here wins.
   ===================================================================== */

:root {
  --a-navy-950: #071427;
  --a-navy-900: #0a1b33;
  --a-navy-800: #0f2747;
  --a-navy: #18416a;
  --a-navy-500: #2a5a8c;
  --a-red: #c8202a;
  --a-red-700: #a3161f;
  --a-red-100: #fbe9ea;
  --a-ivory: #f7f4ed;
  --a-paper: #fbfaf6;
  --a-brass: #b08d57;
  --a-ink: #0b1626;
  --a-text: #2b3443;
  --a-muted: #687286;
  --a-line: #e6e0d3;
  --a-line-cool: #e3e8ef;
  --a-white: #fff;
  --a-radius: 14px;
  --a-radius-lg: 22px;
  --a-shadow-sm: 0 1px 2px rgba(11, 22, 38, .06), 0 2px 8px rgba(11, 22, 38, .05);
  --a-shadow: 0 10px 30px -12px rgba(11, 22, 38, .22);
  --a-shadow-lg: 0 30px 60px -24px rgba(11, 22, 38, .35);
  --a-serif: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --a-serif-text: "Libre Caslon Text", Georgia, serif;
  --a-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --a-ease: cubic-bezier(.2, .8, .2, 1);
  --a-header-h: 84px;
  --a-util-h: 38px;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body.asosh {
  font-family: var(--a-sans);
  color: var(--a-text);
  background: var(--a-paper);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.asosh h1, body.asosh h2, body.asosh h3, body.asosh h4, body.asosh h5, body.asosh h6 {
  font-family: var(--a-serif);
  color: var(--a-ink);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.15;
}
body.asosh h4, body.asosh h5, body.asosh h6 { font-family: var(--a-serif-text); font-weight: 700; }
body.asosh a { color: var(--a-navy); transition: color .2s; }
body.asosh a:hover { color: var(--a-red); text-decoration: none; }
body.asosh p { color: var(--a-text); }
body.asosh ::selection { background: var(--a-red); color: #fff; }
body.asosh img { max-width: 100%; }
body.asosh :focus-visible { outline: 3px solid rgba(200, 32, 42, .45); outline-offset: 2px; border-radius: 4px; }
body.asosh .container { max-width: 1240px; }
body.asosh.has-overlay-header main#asosh-main { margin-top: 0; }

.a-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.a-section { padding: 110px 0; position: relative; }
.a-section--tight { padding: 72px 0; }
.a-section--ivory { background: var(--a-ivory); }
.a-section--navy { background: var(--a-navy-900); color: #cfd8e6; }
body.asosh .a-section--navy h2, body.asosh .a-section--navy h3 { color: #fff; }

.a-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12px/1 var(--a-sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--a-red); margin-bottom: 18px;
}
.a-eyebrow::before { content: "\2605"; font-size: 11px; letter-spacing: 0; }
.a-eyebrow--light { color: #f2c5c7; }
.a-eyebrow--plain::before { display: none; }

.a-title { font-size: clamp(34px, 4.4vw, 56px); margin: 0 0 18px; }
.a-title em, .a-hero h1 em { font-family: var(--a-serif-text); font-style: italic; color: var(--a-red); }
.a-lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--a-muted); max-width: 640px; }
.a-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.a-head--center { flex-direction: column; align-items: center; text-align: center; }
.a-head--center .a-lead { margin: 0 auto; }

/* star rule — a hairline with the seal's star in the middle */
.a-star-rule { display: flex; align-items: center; gap: 14px; color: var(--a-brass); margin: 26px 0; }
.a-star-rule::before, .a-star-rule::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .45; }
.a-star-rule span { font-size: 12px; letter-spacing: .4em; }

/* ---------- buttons ---------- */
.a-btn {
  --bg: var(--a-red); --fg: #fff; --bd: var(--a-red);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--bg) !important; color: var(--fg) !important; border: 1.5px solid var(--bd) !important;
  font: 700 14px/1 var(--a-sans); letter-spacing: .02em; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--a-ease), box-shadow .25s var(--a-ease), background .25s, color .25s;
  white-space: nowrap; text-decoration: none !important;
}
.a-btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--a-ease);
}
.a-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(200, 32, 42, .6); }
.a-btn:hover::after { transform: translateX(120%); }
.a-btn i { font-size: 13px; transition: transform .25s var(--a-ease); }
.a-btn:hover i.fa-arrow-right { transform: translateX(3px); }
.a-btn--navy { --bg: var(--a-navy); --bd: var(--a-navy); }
.a-btn--navy:hover { box-shadow: 0 12px 24px -10px rgba(24, 65, 106, .6); }
.a-btn--ghost { --bg: transparent; --fg: var(--a-navy); --bd: rgba(24, 65, 106, .28); }
.a-btn--ghost:hover { --bg: var(--a-navy); --fg: #fff; --bd: var(--a-navy); box-shadow: none; }
.a-btn--light { --bg: #fff; --fg: var(--a-navy-900); --bd: #fff; }
.a-btn--outline-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .45); }
.a-btn--outline-light:hover { --bg: #fff; --fg: var(--a-navy-900); box-shadow: none; }
.a-btn--sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.a-btn--block { width: 100%; }
.a-link { font-weight: 700; display: inline-flex; align-items: center; gap: 8px; color: var(--a-navy) !important; }
.a-link i { transition: transform .25s var(--a-ease); font-size: 12px; }
.a-link:hover { color: var(--a-red) !important; }
.a-link:hover i { transform: translateX(4px); }

/* ---------- reveal on scroll ---------- */
.a-reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--a-ease), transform .8s var(--a-ease); transition-delay: var(--d, 0s); }
.a-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .a-reveal { opacity: 1; transform: none; transition: none; } }

/* =====================================================================
   HEADER
   ===================================================================== */
.ah { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
/* the header is fixed on every page; reserve its full (unscrolled) height so shrinking it never moves the page */
body.asosh:not(.has-overlay-header) { padding-top: calc(var(--a-util-h) + var(--a-header-h)); }
/* overflow-x:hidden (legacy theme) breaks position:sticky; clip hides overflow without creating a scroll container */
html, body.asosh { overflow-x: clip !important; }
.ah-util { background: var(--a-navy-950); color: #b9c6d8; font-size: 12.5px; height: var(--a-util-h); }
.ah-util .a-container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ah-util a { color: #dfe7f2 !important; }
.ah-util a:hover { color: #fff !important; }
.ah-util__left, .ah-util__right { display: flex; align-items: center; gap: 22px; }
.ah-util__tag { letter-spacing: .18em; text-transform: uppercase; font-weight: 600; font-size: 11px; color: #8fa2bd; }
.ah-util__tag b { color: var(--a-red); margin: 0 .5em; }
.ah-util i { margin-right: 6px; opacity: .8; }
.ah-util .ah-social a { margin-left: 12px; }
.ah-util .dropdown-menu { font-size: 13px; }

.ah-main { background: rgba(251, 250, 246, .92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(11, 22, 38, .06); transition: background .35s, box-shadow .35s, border-color .35s; }
.ah-main .a-container { display: flex; align-items: center; gap: 28px; height: var(--a-header-h); transition: height .35s var(--a-ease); }
.ah.is-scrolled .ah-main { box-shadow: 0 10px 30px -18px rgba(11, 22, 38, .35); }
.ah.is-scrolled .ah-main .a-container { height: 70px; }

.ah-logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; text-decoration: none !important; }
.ah-logo img { display: block; width: auto; max-width: none; }
.ah-logo__word img { height: 40px; transition: height .35s var(--a-ease); }
.ah-logo .is-white { display: none; }
.ah.is-scrolled .ah-logo__word img { height: 34px; }
.ah-logo__full { height: 64px; width: auto; }

.ah-nav { flex: 1; display: flex; justify-content: center; }
.ah-nav > ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.ah-nav > ul > li { position: relative; }
.ah-nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 999px;
  font: 600 14.5px/1 var(--a-sans); color: var(--a-ink) !important; position: relative;
}
.ah-nav > ul > li > a .fa-chevron-down { font-size: 9px; opacity: .55; transition: transform .3s var(--a-ease); }
.ah-nav > ul > li:hover > a, .ah-nav > ul > li.is-open > a { background: rgba(24, 65, 106, .07); color: var(--a-navy) !important; }
.ah-nav > ul > li:hover > a .fa-chevron-down, .ah-nav > ul > li.is-open > a .fa-chevron-down { transform: rotate(180deg); }
.ah-nav > ul > li.is-current > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--a-red); }

/* simple dropdown */
.ah-drop {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 250px; padding: 10px;
  background: #fff; border-radius: 16px; box-shadow: var(--a-shadow-lg); border: 1px solid var(--a-line-cool);
  list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .25s var(--a-ease), transform .25s var(--a-ease), visibility .25s;
}
.ah-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.ah-nav li:hover > .ah-drop, .ah-nav li.is-open > .ah-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.ah-drop a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--a-ink) !important; }
.ah-drop a::after { content: "\2192"; opacity: 0; transform: translateX(-6px); transition: .2s var(--a-ease); color: var(--a-red); }
.ah-drop a:hover { background: var(--a-ivory); }
.ah-drop a:hover::after { opacity: 1; transform: none; }
.ah-drop .ah-drop .ah-drop { display: none; }

/* courses mega menu — text only, no images */
.ah-nav > ul > li.ah-has-mega { position: static; }
.ah-mega {
  position: absolute; left: 0; right: 0; top: 100%; padding: 0 24px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--a-ease), transform .3s var(--a-ease), visibility .3s;
}
.ah-has-mega:hover .ah-mega, .ah-has-mega.is-open .ah-mega { opacity: 1; visibility: visible; transform: none; }
.ah-mega__panel {
  max-width: 1192px; margin: 8px auto 0; background: #fff; border-radius: 22px; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(7, 20, 39, .45); border: 1px solid var(--a-line-cool);
  display: grid; grid-template-columns: 300px 1fr; min-height: 440px;
}
.ah-mega__cats { background: var(--a-navy-900); padding: 22px 14px; display: flex; flex-direction: column; }
.ah-mega__cats h6 { font: 700 11px/1 var(--a-sans) !important; letter-spacing: .2em; text-transform: uppercase; color: #8fa2bd !important; padding: 0 12px 14px; margin: 0; }
.ah-mega__cats ul { list-style: none; margin: 0; padding: 0; overflow-y: auto; max-height: 360px; scrollbar-width: thin; }
.ah-mega__cat {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px;
  background: none; border: 0; text-align: left; color: #c9d4e4; font: 600 13.5px/1.3 var(--a-sans); cursor: pointer;
  transition: background .2s, color .2s;
}
.ah-mega__cat .num { margin-left: auto; font-size: 11px; color: #7f93b0; font-variant-numeric: tabular-nums; }
.ah-mega__cat .ic { width: 28px; height: 28px; flex-shrink: 0; display: grid; place-items: center; border-radius: 8px; background: rgba(255, 255, 255, .06); font-size: 12px; color: #9fb3cf; transition: .2s; }
.ah-mega__cat:hover, .ah-mega__cat.is-active { background: rgba(255, 255, 255, .08); color: #fff; }
.ah-mega__cat.is-active .ic { background: var(--a-red); color: #fff; }
.ah-mega__body { padding: 28px 32px 22px; display: flex; flex-direction: column; min-width: 0; }
.ah-mega__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.ah-mega__top h5 { font: 400 26px/1.1 var(--a-serif) !important; margin: 0; color: var(--a-ink); }
.ah-mega__top p { margin: 4px 0 0; font-size: 13px; color: var(--a-muted); }
.ah-mega__search { position: relative; width: 280px; flex-shrink: 0; }
.ah-mega__search input { width: 100%; height: 42px; border-radius: 999px; border: 1px solid var(--a-line-cool); background: var(--a-paper); padding: 0 16px 0 40px; font-size: 13.5px; outline: none; transition: border-color .2s, box-shadow .2s; }
.ah-mega__search input:focus { border-color: var(--a-navy-500); box-shadow: 0 0 0 4px rgba(42, 90, 140, .12); }
.ah-mega__search i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--a-muted); font-size: 13px; }
.ah-mega__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 26px; align-content: start; flex: 1; }
.ah-mega__list[hidden] { display: none; }
.ah-mega__list li a {
  display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0ece3;
  font-size: 14px; font-weight: 500; color: var(--a-ink) !important; line-height: 1.35;
}
.ah-mega__list li a .t { flex: 1; transition: transform .2s var(--a-ease); }
.ah-mega__list li a .d { font-size: 11.5px; color: var(--a-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ah-mega__list li a:hover { color: var(--a-red) !important; }
.ah-mega__list li a:hover .t { transform: translateX(4px); }
.ah-mega__list li a mark { background: #fff2c8; color: inherit; padding: 0 1px; border-radius: 2px; }
.ah-mega__empty { color: var(--a-muted); font-size: 14px; padding: 18px 0; }
.ah-mega__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--a-line); font-size: 13px; color: var(--a-muted); }
.ah-mega__foot .links { display: flex; gap: 22px; }

.ah-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ah-icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--a-navy) !important; border: 1px solid rgba(24, 65, 106, .2); transition: .25s var(--a-ease); background: transparent; }
.ah-icon-btn:hover { background: var(--a-navy); color: #fff !important; border-color: var(--a-navy); }
.ah-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(24, 65, 106, .2); background: transparent; position: relative; cursor: pointer; }
.ah-burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--a-navy-900); border-radius: 2px; transition: .35s var(--a-ease); }
.ah-burger span:nth-child(1) { top: 16px; } .ah-burger span:nth-child(2) { top: 22px; } .ah-burger span:nth-child(3) { top: 28px; right: 19px; }

/* overlay header on the home page (over the hero video) */
.ah.is-overlay:not(.is-scrolled) .ah-main { background: transparent; border-color: rgba(255, 255, 255, .12); backdrop-filter: none; -webkit-backdrop-filter: none; }
.ah.is-overlay:not(.is-scrolled) .ah-logo .is-color { display: none; }
.ah.is-overlay:not(.is-scrolled) .ah-logo .is-white { display: block; }
.ah.is-overlay:not(.is-scrolled) .ah-nav > ul > li > a { color: #fff !important; }
.ah.is-overlay:not(.is-scrolled) .ah-nav > ul > li:hover > a, .ah.is-overlay:not(.is-scrolled) .ah-nav > ul > li.is-open > a { background: rgba(255, 255, 255, .12); }
.ah.is-overlay:not(.is-scrolled) .ah-icon-btn, .ah.is-overlay:not(.is-scrolled) .ah-burger { border-color: rgba(255, 255, 255, .35); color: #fff !important; }
.ah.is-overlay:not(.is-scrolled) .ah-burger span { background: #fff; }
.ah.is-overlay:not(.is-scrolled) .a-btn--ghost { --fg: #fff; --bd: rgba(255, 255, 255, .45); }
.ah.is-scrolled .ah-util { margin-top: calc(var(--a-util-h) * -1); }
.ah-util { transition: margin-top .35s var(--a-ease); }

/* mobile drawer */
.ah-drawer { position: fixed; inset: 0; z-index: 1100; visibility: hidden; pointer-events: none; }
.ah-drawer__scrim { position: absolute; inset: 0; background: rgba(7, 20, 39, .55); opacity: 0; transition: opacity .35s; }
.ah-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--a-navy-900); color: #dfe7f2;
  transform: translateX(100%); transition: transform .45s var(--a-ease); display: flex; flex-direction: column; overflow: hidden;
}
.ah-drawer.is-open { visibility: visible; pointer-events: auto; }
.ah-drawer.is-open .ah-drawer__scrim { opacity: 1; }
.ah-drawer.is-open .ah-drawer__panel { transform: none; }
.ah-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ah-drawer__head .ah-logo__full { height: 52px; }
.ah-drawer__close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #fff; font-size: 18px; }
.ah-drawer__body { flex: 1; overflow-y: auto; padding: 10px 12px 24px; -webkit-overflow-scrolling: touch; }
.ah-drawer__body ul { list-style: none; margin: 0; padding: 0; }
.ah-m-item > a, .ah-m-item > button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 12px;
  background: none; border: 0; color: #fff !important; font: 600 17px/1.2 var(--a-sans); text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.ah-m-item > button i { transition: transform .3s var(--a-ease); font-size: 12px; opacity: .7; }
.ah-m-item.is-open > button i { transform: rotate(180deg); }
.ah-m-sub { display: none; padding: 6px 0 10px 12px !important; }
.ah-m-item.is-open > .ah-m-sub { display: block; }
.ah-m-sub a, .ah-m-sub button { display: flex; width: 100%; justify-content: space-between; padding: 10px 12px; color: #c9d4e4 !important; font-size: 15px; background: none; border: 0; text-align: left; border-radius: 8px; }
.ah-m-sub a:hover { background: rgba(255, 255, 255, .06); color: #fff !important; }
.ah-m-sub .ah-m-item > button { font-size: 15px; font-weight: 600; color: #e4ebf5 !important; padding: 11px 12px; border-bottom: 0; }
.ah-m-sub .ah-m-sub a { font-size: 14px; color: #a9b8cd !important; }
.ah-m-sub .num { font-size: 12px; color: #7f93b0; }
.ah-drawer__foot { padding: 18px 20px 26px; border-top: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 10px; }
.ah-drawer__foot .ah-m-meta { display: flex; justify-content: space-between; font-size: 13px; color: #8fa2bd; margin-top: 6px; }
.ah-drawer__foot .ah-m-meta a { color: #dfe7f2 !important; }
body.ah-lock { overflow: hidden; }

@media (max-width: 1199px) {
  .ah-nav > ul > li > a { padding: 0 10px; font-size: 14px; }
  .ah-logo { gap: 10px; }
  .ah-logo__word img { height: 36px; }
  .ah-actions .a-btn--ghost { display: none; }
}
@media (max-width: 991px) {
  :root { --a-header-h: 70px; --a-util-h: 0px; }
  .ah-util { display: none; }
  .ah-nav, .ah-actions .a-btn { display: none !important; }
  .ah-burger { display: block; }
  .ah-main .a-container { justify-content: space-between; }
  .ah-logo__word img, .ah.is-scrolled .ah-logo__word img { height: 32px; }
}
@media (max-width: 400px) {
  .ah-logo { gap: 8px; }
  .ah-logo__word img, .ah.is-scrolled .ah-logo__word img { height: 30px; }
}

/* =====================================================================
   PAGE HEAD (inner pages)
   ===================================================================== */
.a-pagehead { position: relative; background: var(--a-navy-900); color: #cfd8e6; overflow: hidden; padding: 84px 0 72px; isolation: isolate; }
.a-pagehead::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .9;
  background:
    radial-gradient(800px 380px at 85% 10%, rgba(200, 32, 42, .35), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(42, 90, 140, .55), transparent 60%);
}
.a-pagehead::after {
  content: ""; position: absolute; right: -120px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%); z-index: -1;
  background: url("../img/asosh/seal.svg") center / contain no-repeat; opacity: .07;
}
.a-pagehead .a-stripes { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--a-red) 0 60px, #fff 60px 66px, var(--a-navy-500) 66px 126px, #fff 126px 132px); opacity: .9; }
.a-pagehead h1 { color: #fff !important; font-size: clamp(34px, 5vw, 60px); margin: 0 0 14px; max-width: 900px; }
.a-pagehead p.a-lead { color: #b9c6d8; margin: 0; }
.a-crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 13px; }
.a-crumbs li { color: #8fa2bd; }
.a-crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.a-crumbs a { color: #dfe7f2 !important; }
@keyframes aSpin { to { transform: translateY(-50%) rotate(360deg); } }

/* =====================================================================
   FOOTER
   ===================================================================== */
.af { background: linear-gradient(180deg, transparent 0, transparent 110px, var(--a-navy-950) 110px); color: #9fb0c8; position: relative; overflow: hidden; }
body.asosh .af p { color: #9fb0c8; }
body.asosh .af-bottom p { color: #7f93b0; }
.af a { color: #c9d4e4 !important; }
.af a:hover { color: #fff !important; }
.af-cta { position: relative; z-index: 2; padding-top: 0; }
.af-cta__card {
  background: linear-gradient(120deg, var(--a-red) 0%, #b01b24 45%, var(--a-navy) 100%);
  border-radius: 26px; padding: 44px 48px; color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  box-shadow: 0 40px 70px -35px rgba(7, 20, 39, .7); overflow: hidden; position: relative;
}
.af-cta__card::after { content: ""; position: absolute; right: -60px; top: -80px; width: 300px; height: 300px; background: url("../img/asosh/seal.svg") center / contain no-repeat; opacity: .12; }
.af-cta__card h3 { color: #fff !important; font-size: clamp(26px, 3vw, 38px); margin: 0 0 8px; }
.af-cta__card p { color: rgba(255, 255, 255, .82); margin: 0; }
.af-cta__card .btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.af-main { padding: 70px 0 50px; }
.af-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.af-brand p { font-size: 14.5px; line-height: 1.7; color: #9fb0c8; margin: 18px 0 22px; max-width: 340px; }
.af-brand .ah-logo__full { height: 96px; }
.af h6 { font: 700 12px/1 var(--a-sans) !important; letter-spacing: .2em; text-transform: uppercase; color: #fff !important; margin: 6px 0 20px; }
.af ul { list-style: none; padding: 0; margin: 0; }
.af ul li { margin-bottom: 11px; font-size: 14.5px; }
.af ul li a { position: relative; }
.af ul li a::before { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0; background: var(--a-red); transition: width .3s var(--a-ease); }
.af ul li a:hover::before { width: 100%; }
.af-social { display: flex; gap: 10px; }
.af-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); transition: .25s var(--a-ease); }
.af-social a:hover { background: var(--a-red); border-color: var(--a-red); transform: translateY(-3px); }
.af-news { margin-top: 22px; }
.af-news form { display: flex; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; padding: 5px; }
.af-news input { flex: 1; background: transparent; border: 0; color: #fff; padding: 0 14px; font-size: 14px; outline: none; min-width: 0; }
.af-news input::placeholder { color: #7f93b0; }
.af-news button { border: 0; border-radius: 999px; background: var(--a-red); color: #fff; font-weight: 700; font-size: 13px; padding: 10px 18px; }
.af-news .err-email { font-size: 12px; margin-top: 6px; color: #ff9aa0 !important; }
.af-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: 13px; }
.af-bottom .a-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.af-bottom p { margin: 0; color: #7f93b0; }
.af-bottom .af-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.af-wordmark { position: absolute; left: 50%; bottom: -0.32em; transform: translateX(-50%); font: 400 clamp(90px, 18vw, 260px)/1 var(--a-serif); color: rgba(255, 255, 255, .025); letter-spacing: .08em; pointer-events: none; white-space: nowrap; }
@media (max-width: 1199px) { .af-grid { grid-template-columns: repeat(3, 1fr); } .af-brand { grid-column: 1 / -1; } }
@media (max-width: 767px) {
  .af-cta__card { grid-template-columns: 1fr; padding: 32px 26px; }
  .af-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
}

/* back to top */
.a-totop { position: fixed; left: 22px; right: auto; bottom: 22px; z-index: 900; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--a-navy-900); color: #fff; box-shadow: var(--a-shadow); opacity: 0; transform: translateY(16px); pointer-events: none; transition: .3s var(--a-ease); }
.a-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.a-totop svg { position: absolute; inset: -3px; transform: rotate(-90deg); }
.a-totop svg circle { fill: none; stroke: var(--a-red); stroke-width: 3; stroke-linecap: round; }

/* =====================================================================
   CARDS / FORMS / PROSE — shared building blocks
   ===================================================================== */
.a-card { background: #fff; border: 1px solid var(--a-line-cool); border-radius: var(--a-radius-lg); box-shadow: var(--a-shadow-sm); transition: transform .35s var(--a-ease), box-shadow .35s var(--a-ease), border-color .35s; }
.a-card:hover { transform: translateY(-6px); box-shadow: var(--a-shadow-lg); border-color: transparent; }
.a-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--a-ivory); color: var(--a-navy) !important; font: 700 11.5px/1 var(--a-sans); letter-spacing: .04em; }
.a-chip--red { background: var(--a-red-100); color: var(--a-red-700) !important; }
.a-chip--dark { background: rgba(7, 20, 39, .72); color: #fff !important; backdrop-filter: blur(6px); }

.a-form .row { margin-left: -10px; margin-right: -10px; }
.a-form .row > [class*="col"] { padding-left: 10px; padding-right: 10px; }
.a-field { margin-bottom: 20px; position: relative; }
.a-field label { display: block; font: 700 13px/1.3 var(--a-sans); color: var(--a-ink); margin-bottom: 8px; }
.a-field label .req { color: var(--a-red); }
.a-field .hint { font-size: 12.5px; color: var(--a-muted); margin-top: 6px; }
.a-input, .a-form select, .a-form textarea, .a-form input[type=text], .a-form input[type=email], .a-form input[type=date], .a-form input[type=number], .a-form input[type=url], .a-form input[type=tel] {
  width: 100%; min-height: 52px; border-radius: 12px; border: 1.5px solid var(--a-line-cool); background: #fff;
  padding: 12px 16px; font: 500 15px/1.4 var(--a-sans); color: var(--a-ink); outline: none; transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.a-form select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23687286' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
.a-form textarea { min-height: 130px; resize: vertical; }
.a-input:focus, .a-form select:focus, .a-form textarea:focus, .a-form input:focus { border-color: var(--a-navy-500); box-shadow: 0 0 0 4px rgba(42, 90, 140, .12); }
.a-form .is-invalid { border-color: var(--a-red) !important; }
.a-form .invalid-feedback { display: block; color: var(--a-red); font-size: 12.5px; margin-top: 6px; }
.a-choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.a-choice { position: relative; display: block; cursor: pointer; margin: 0; }
.a-choice input { position: absolute; opacity: 0; pointer-events: none; }
.a-choice span { display: block; height: 100%; padding: 16px; border-radius: 14px; border: 1.5px solid var(--a-line-cool); background: #fff; transition: .2s var(--a-ease); }
.a-choice span strong { display: block; font: 700 15px/1.2 var(--a-sans); color: var(--a-ink); margin-bottom: 4px; }
.a-choice span small { color: var(--a-muted); font-size: 12.5px; line-height: 1.4; display: block; }
.a-choice input:checked + span { border-color: var(--a-red); box-shadow: 0 0 0 4px rgba(200, 32, 42, .1); background: #fffafa; }
.a-choice input:focus-visible + span { outline: 3px solid rgba(200, 32, 42, .45); }
.a-file { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px dashed #c9d2df; border-radius: 14px; background: #fff; cursor: pointer; transition: .2s; }
.a-file:hover { border-color: var(--a-navy-500); background: #f7faff; }
.a-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.a-file i { width: 42px; height: 42px; border-radius: 10px; background: var(--a-ivory); display: grid; place-items: center; color: var(--a-navy); }
.a-file .fname { font-size: 13.5px; font-weight: 600; color: var(--a-ink); }
.a-file .fhint { font-size: 12px; color: var(--a-muted); }
.a-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.a-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--a-red); flex-shrink: 0; }
.a-alert { border-radius: 14px; padding: 16px 18px; font-size: 14.5px; margin-bottom: 22px; display: flex; gap: 12px; align-items: flex-start; }
.a-alert--ok { background: #ecf8f1; color: #11643a; border: 1px solid #c4ead5; }
.a-alert--err { background: var(--a-red-100); color: var(--a-red-700); border: 1px solid #f3c6c9; }

/* long-form documents (policies, about, terms) */
.a-prose { font-size: 17px; line-height: 1.8; color: var(--a-text); }
.a-prose > *:first-child { margin-top: 0; }
.a-prose h2 { font-size: 32px; margin: 56px 0 18px; scroll-margin-top: 120px; }
.a-prose h3 { font-size: 23px; margin: 36px 0 12px; font-family: var(--a-serif-text); font-weight: 700; scroll-margin-top: 120px; }
.a-prose p { margin: 0 0 18px; }
.a-prose ul, .a-prose ol { padding-left: 22px; margin: 0 0 22px; }
.a-prose li { margin-bottom: 8px; }
.a-prose ul li::marker { color: var(--a-red); }
.a-prose strong { color: var(--a-ink); }
.a-prose blockquote { margin: 30px 0; padding: 26px 30px; background: var(--a-ivory); border-left: 4px solid var(--a-red); border-radius: 0 16px 16px 0; font: 400 22px/1.5 var(--a-serif); color: var(--a-ink); }
.a-prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; }
.a-prose th, .a-prose td { border-bottom: 1px solid var(--a-line); padding: 12px 10px; text-align: left; vertical-align: top; }
.a-prose th { font-weight: 700; color: var(--a-ink); background: var(--a-ivory); }
.a-prose .lead { font-size: 21px; line-height: 1.6; color: var(--a-ink); font-family: var(--a-serif-text); }
.a-prose .a-callout { background: #fff; border: 1px solid var(--a-line-cool); border-radius: 18px; padding: 24px 26px; margin: 28px 0; box-shadow: var(--a-shadow-sm); }
.a-prose .a-callout h3 { margin-top: 0; }
.a-prose .a-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 26px 0; }
.a-prose .a-grid-2 > div { background: #fff; border: 1px solid var(--a-line-cool); border-radius: 18px; padding: 24px; }
.a-prose .a-grid-2 h3 { margin-top: 0; }
.a-prose .a-steps { counter-reset: st; list-style: none; padding: 0; }
.a-prose .a-steps > li { counter-increment: st; position: relative; padding: 0 0 22px 62px; margin: 0; }
.a-prose .a-steps > li::before { content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: -2px; width: 44px; height: 44px; border-radius: 50%; background: var(--a-navy-900); color: #fff; display: grid; place-items: center; font: 700 14px/1 var(--a-sans); }
.a-prose .a-steps > li::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: var(--a-line); }
.a-prose .a-steps > li:last-child::after { display: none; }
.a-prose .a-steps > li strong { display: block; font-size: 18px; margin-bottom: 4px; }
@media (max-width: 767px) { .a-prose { font-size: 16px; } .a-prose h2 { font-size: 26px; } .a-prose .a-grid-2 { grid-template-columns: 1fr; } }

.a-doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; align-items: start; }
.a-toc { position: sticky; top: 120px; }
.a-toc h6 { font: 700 11px/1 var(--a-sans) !important; letter-spacing: .2em; text-transform: uppercase; color: var(--a-muted) !important; margin: 0 0 14px; }
.a-toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--a-line); }
.a-toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; font-size: 14px; color: var(--a-muted) !important; line-height: 1.4; }
.a-toc a:hover { color: var(--a-ink) !important; }
.a-toc a.is-active { color: var(--a-red) !important; border-color: var(--a-red); font-weight: 600; }
.a-toc .a-related { margin-top: 30px; }
.a-toc .a-related a { padding-left: 0; border: 0; margin: 0; }
.a-doc__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13.5px; color: var(--a-muted); margin-bottom: 30px; padding-bottom: 22px; border-bottom: 1px solid var(--a-line); }
.a-doc__meta i { color: var(--a-red); margin-right: 6px; }
@media (max-width: 991px) { .a-doc { grid-template-columns: 1fr; gap: 24px; } .a-toc { position: static; display: none; } }

/* toastr + legacy overrides kept tidy */
body.asosh .breadcrumb-area { display: none; }
body.asosh #scroll_up { display: none !important; }
body.asosh .cookie-consent, body.asosh .js-cookie-consent { font-family: var(--a-sans); }

/* small screens — global spacing */
@media (max-width: 767px) {
  .a-container { padding: 0 16px; }
  .a-section { padding: 72px 0; }
  .a-head { margin-bottom: 32px; }
  .a-pagehead { padding: 56px 0 52px; }
  .a-btn { min-height: 48px; }
}

/* cookie consent — compact floating card */
body.asosh .js-cookie-consent.cookie-consent {
  position: fixed !important; left: 20px !important; right: auto !important; bottom: 20px !important; top: auto !important;
  width: min(420px, calc(100% - 40px)) !important; background: #fff !important; color: var(--a-text) !important;
  border-radius: 18px !important; box-shadow: var(--a-shadow-lg) !important; border: 1px solid var(--a-line-cool) !important;
  padding: 20px 22px !important; z-index: 1200 !important; animation: aCookieIn .6s var(--a-ease) 2.4s both;
}
body.asosh .js-cookie-consent .container { padding: 0 !important; max-width: none !important; }
body.asosh .js-cookie-consent .cookie-container { display: flex !important; flex-direction: column; align-items: flex-start !important; gap: 14px; }
body.asosh .js-cookie-consent .cookie-consent__message, body.asosh .js-cookie-consent .cookie-consent__message * { color: var(--a-text) !important; font: 500 14px/1.55 var(--a-sans) !important; margin: 0 !important; text-align: left !important; background: transparent !important; }
body.asosh .js-cookie-consent button, body.asosh .js-cookie-consent .cookie-consent__agree {
  background: var(--a-navy-900) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; padding: 11px 20px !important;
  font: 700 13px/1 var(--a-sans) !important; cursor: pointer; margin: 0 !important; box-shadow: none !important;
}
@keyframes aCookieIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* legacy theme resets lists and footer links — restore what the design needs */
.a-prose ul { list-style: disc; }
.a-prose ol:not(.a-steps) { list-style: decimal; }
.a-prose li { display: list-item; }
.af .a-btn--light, .af .a-btn--light:hover { color: var(--a-navy-900) !important; }
.af .a-btn--outline-light { color: #fff !important; }
.af .a-btn--outline-light:hover { color: var(--a-navy-900) !important; }
.hx-verify .a-btn--light { background: #fff !important; color: var(--a-navy-900) !important; }
.ah-drawer__close, .ah-burger, .ah-icon-btn { border-radius: 50% !important; }


/* shared pagination (front.partials.asosh-pagination) */
.a-pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 44px; flex-wrap: wrap; }
.a-pager__pages { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.a-pager__num, .a-pager__gap { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 6px; border-radius: 50%; font: 600 15px/1 var(--a-sans); font-variant-numeric: tabular-nums; }
a.a-pager__num { color: var(--a-ink) !important; background: #fff; border: 1px solid var(--a-line-cool); transition: .2s var(--a-ease); text-decoration: none !important; }
a.a-pager__num:hover { border-color: var(--a-navy); transform: translateY(-2px); box-shadow: var(--a-shadow-sm); }
.a-pager__num.is-current { background: var(--a-navy-900); color: #fff; box-shadow: 0 8px 18px -10px rgba(10, 27, 51, .8); }
.a-pager__gap { color: var(--a-muted); min-width: 24px; }
.a-pager__step { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 20px; border-radius: 999px; font: 600 14px/1 var(--a-sans); color: var(--a-navy-900) !important; border: 1px solid var(--a-line-cool); background: #fff; text-decoration: none !important; transition: .2s var(--a-ease); }
.a-pager__step em { font-style: normal; }
a.a-pager__step:hover { background: var(--a-navy-900); color: #fff !important; border-color: var(--a-navy-900); }
.a-pager__step.is-off { opacity: .4; }
.a-pager__of { display: none; font-size: 14px; color: var(--a-muted); }
@media (max-width: 575px) {
  .a-pager { gap: 8px; }
  .a-pager__pages { display: none; }
  .a-pager__of { display: block; flex: 1; text-align: center; }
  .a-pager__step { padding: 0 16px; }
}
