/* ==========================================================================
   IAOPA — shared stylesheet
   Design system: Gotham SSm (sans) + Zilla Slab italic (serif accent)
   Palette: cream #FAF6EE / tan #F1EBDB / ink #16242B / teal #24554c / gold #d0a762
   Single responsive breakpoint at 768px throughout.
   ========================================================================== */

:root {
  --cream: #FAF6EE;
  --tan: #F1EBDB;
  --ink: #16242B;
  --teal: #24554c;
  --gold: #d0a762;
  --body-copy: #3c4d4c;
  --body-copy-2: #44504f;
  --footer-copy: #504d45;
  --border-ink-08: rgba(22, 36, 43, .08);
  --border-ink-10: rgba(22, 36, 43, .1);
  --border-ink-12: rgba(22, 36, 43, .12);
  --border-ink-14: rgba(22, 36, 43, .14);
  --border-ink-18: rgba(22, 36, 43, .18);
  --border-ink-25: rgba(22, 36, 43, .25);
  --border-teal-30: rgba(47, 111, 99, .3);
  --inactive-badge-bg: #f6e3cf;
  --inactive-badge-text: #6d3d1d;
  --resolve-number: #6c4d1a;
  --radius: 6px;
  --content-width: 1320px;
  --ink-deep: #0d1a20;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: 'Gotham SSm', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

img { max-width: 100%; display: block; }

button { font-family: inherit; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  z-index: 100;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

.visually-hidden {
  position: absolute;
  left: -9999px;
}

/* ==========================================================================
   Containers
   ========================================================================== */
.container-1504 { max-width: 1504px; margin: 0 auto; }
.container-1200 { max-width: 1200px; margin: 0 auto; }
.container-1320 { max-width: var(--content-width); margin: 0 auto; }
.container-1000 { max-width: 1000px; margin: 0 auto; }
.container-900  { max-width: 900px;  margin: 0 auto; }
.container-800  { max-width: 800px;  margin: 0 auto; }

/* ==========================================================================
   Typography helpers
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow--on-dark { color: var(--gold); }
.eyebrow--plain { color: var(--teal); }
.eyebrow--plain::before { display: none; }
.eyebrow a { color: inherit; }

.lede-italic {
  font-family: 'Zilla Slab', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--body-copy);
  line-height: 1.55;
}
.lede-italic--on-dark { color: rgba(255,255,255,.82); }

h1, h2, h3 { font-weight: 800; letter-spacing: -.02em; margin: 0; }

.h1 {
  font-weight: 900;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -.03em;
  line-height: 1.08;
}
.h1--home { font-size: clamp(32px, 4vw, 44px); line-height: 1.04; }

.h2 {
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
}
.h2--lg { font-size: clamp(26px, 2.6vw, 34px); }
.h2--sm { font-size: clamp(20px, 2vw, 24px); }
.h2--section { font-size: clamp(22px, 2.2vw, 26px); }

p { margin: 0; }
.body-text { font-size: 16.5px; line-height: 1.7; color: var(--body-copy); }

/* ==========================================================================
   Buttons / links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  min-height: 44px;
}
.btn--sm { font-size: 14.5px; padding: 12px 20px; font-weight: 800; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--outline { border: 1.5px solid var(--border-ink-25); color: var(--ink); background: none; }
.btn--dark { background: var(--ink); color: #fff; }

.link-arrow { color: var(--teal); font-weight: 700; font-size: 14.5px; }
.link-arrow--gold { color: var(--gold); font-weight: 700; font-size: 14.5px; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border-ink-10);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1504px;
  margin: 0 auto;
  padding: 18px 48px;
}
.site-header__logo { display: flex; align-items: center; gap: 12px; }
.site-header__logo img { height: 42px; width: auto; margin: -5px 0; }

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-link {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.nav-link.is-current { color: var(--teal); }
.nav-cta {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  padding: 11px 20px;
  border-radius: 3px;
  white-space: nowrap;
}

.hamburger {
  display: none;
  background: none;
  border: 1.5px solid var(--border-ink-25);
  border-radius: 4px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.hamburger__bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.hamburger__bars span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  display: block;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border-ink-12);
  box-shadow: 0 20px 40px -20px rgba(22, 36, 43, .3);
  flex-direction: column;
  padding: 8px 20px 20px;
  z-index: 20;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-ink-08);
}
.mobile-nav a.is-current { color: var(--teal); }
.mobile-nav a.nav-cta-mobile { border-bottom: none; color: var(--ink); }

/* Site-wide: sticky nav in the same dark navy as the footer, so it reads as a strong
   anchor rather than a thin white bar. Applied on every page via .site-header--dark.
   Also aligns the header to the shared --content-width column on every page (gutter on
   the outer, full-bleed header; the inner flex wrapper just sets max-width). */
.site-header--dark {
  background: var(--ink-deep);
  border-bottom-color: rgba(255, 255, 255, .12);
  padding-left: 40px;
  padding-right: 40px;
}
.site-header--dark .site-header__inner {
  max-width: var(--content-width);
  padding-left: 0;
  padding-right: 0;
}
.site-header--dark .nav-link { color: rgba(255, 255, 255, .8); }
.site-header--dark .nav-link:hover { color: #fff; }
.site-header--dark .nav-link.is-current { color: var(--gold); }
.site-header--dark .nav-cta { background: var(--gold); color: var(--ink); }
.site-header--dark .hamburger { border-color: rgba(255, 255, 255, .35); }
.site-header--dark .hamburger__bars span { background: #fff; }
.site-header--dark .mobile-nav {
  background: var(--ink-deep);
  border-bottom-color: rgba(255, 255, 255, .12);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
}
.site-header--dark .mobile-nav a { color: rgba(255, 255, 255, .8); border-bottom-color: rgba(255, 255, 255, .12); }
.site-header--dark .mobile-nav a.is-current { color: var(--gold); }
.site-header--dark .mobile-nav a.nav-cta-mobile { color: var(--gold); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--tan);
  border-top: 1px solid var(--border-ink-12);
  padding: 44px 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-grid img { height: 30px; width: auto; margin-bottom: 12px; }
.footer-col-title {
  font-weight: 800;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 10px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 13.5px;
  color: var(--body-copy-2);
  margin-bottom: 8px;
}
.footer-hq-email {
  background: none;
  border: none;
  padding: 0;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--teal);
  cursor: pointer;
  font-family: inherit;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--border-ink-10);
  padding-top: 20px;
}
.footer-bottom p { font-size: 12px; color: var(--footer-copy); margin: 0; }

/* Home page only: dark footer — one step deeper than the Featured Affiliate News band,
   so the page resolves on a base rather than fading out on the light tan band. */
.site-footer--dark {
  background: var(--ink-deep);
  border-top: none;
  padding: 56px 40px 32px;
}
.site-footer--dark .footer-grid { gap: 24px; }
.site-footer--dark .footer-col-title { color: #fff; }
.site-footer--dark .footer-col a, .site-footer--dark .footer-col p { color: rgba(255, 255, 255, .6); }
.site-footer--dark .footer-col a:hover { color: var(--gold); }
.site-footer--dark .footer-hq-email { color: var(--gold); }
.site-footer--dark .footer-hq-email:hover { color: #fff; }
.site-footer--dark .footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer--dark .footer-bottom p { color: rgba(255, 255, 255, .6); }

/* ==========================================================================
   Hero patterns
   ========================================================================== */
.hero-home {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  height: 680px;
  padding: 56px 40px;
  background: var(--ink);
}
.hero-home > .container-1320 { width: 100%; }

/* Hero slideshow: 28 stacked photos, 3s each, with a 1s crossfade. Driven by
   js/home-featured.js, which just moves .is-active from slide to slide; the fade is a
   plain opacity transition.

   Only slide 1 is in the HTML with a real src. Slides 2+ carry data-src/data-srcset and
   download nothing until the whole page has finished loading; the script then fetches
   them a few slides ahead of the one on screen, and never fades to a slide whose image
   hasn't arrived yet (it holds the current one instead). So the extra photos cost
   nothing on first load, and a visitor who leaves after ten seconds only ever
   downloads the few slides they actually saw.

   Slide 1 starts with .is-active in the markup and has no animation or transition
   running until the first swap, 3s+ after load. That's deliberate, for Largest
   Contentful Paint: Chrome won't finalize LCP for an element that's mid-animation, and
   slide 1 is our biggest on-screen element.

   The outgoing slide gets .is-leaving (fully opaque, underneath) while the incoming one
   fades in on top, so the crossfade never dips to the dark background in the middle. */
.hero-home__slideshow { position: absolute; inset: 0; z-index: 0; }
.hero-home__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% 40%;
  display: block;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-home__bg.is-active { opacity: 1; z-index: 2; }
.hero-home__bg.is-leaving { opacity: 1; z-index: 1; transition: none; }
.hero-home__bg--1 { object-position: 75% 54%; }
.hero-home__bg--13 { object-position: 75% 0%; }

/* No prefers-reduced-motion override needed here: the slideshow is only ever started
   by JS (js/home-featured.js), which checks the same media query first, so a
   reduced-motion visitor just gets the static opening frame (slide 1) and never
   downloads the rest. */
.hero-home__panel {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, .55);
  padding: 44px 48px;
  max-width: 600px;
  border-radius: var(--radius);
}
.hero-home__logo {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 0 22px;
}

.hero-dark {
  padding: 72px 48px;
  background: var(--ink);
  color: #fff;
}
.hero-dark--home-form { padding: 72px 48px; }

.hero-page {
  padding: 72px 48px 32px;
}


/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 72px 48px; }
.section--tan { background: var(--tan); }
.section--dark { background: var(--ink); color: #fff; }
.section--cream { background: var(--cream); }
.section-tight-top { padding-top: 8px; }
.section--directory { padding: 56px 48px 40px; }

.section-card {
  padding: 32px;
  background: var(--tan);
  border-radius: 6px;
}
.section-card--dark { background: var(--ink); color: #fff; }
.section-card--white { padding: 28px 32px; background: #fff; border-radius: 6px; border: 1px solid var(--border-ink-10); }

/* Homepage: dark advocacy block */
.advocacy-block {
  padding: 72px 48px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
  background: var(--ink);
  color: #fff;
}
.advocacy-block__photo { width: 100%; height: 320px; border-radius: 6px; overflow: hidden; }
.advocacy-block__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Homepage: feature card zone — ICAO / ASI / Registered Agent. The World Assembly
   card (--wide) and ad slot (--placeholder) are parked; see CLAUDE.md. */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.promo-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border-ink-10);
  border-radius: 6px;
  overflow: hidden;
}
.promo-card__banner { width: 100%; height: 200px; }
.promo-card__banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-card__banner--contain img { object-fit: contain; background: #001d35; padding: 18px; box-sizing: border-box; }
.promo-card__body { padding: 28px 32px 32px; flex: 1; display: flex; flex-direction: column; }
.promo-card__body > a:last-child { margin-top: auto; padding-top: 4px; }
/* Ad cell: the outer grid item stretches to match the row (no visible box of its own);
   the real 300x250 ad unit sits centred inside it, sized to the ad, not the row. */
.promo-card--placeholder {
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
}
.ad-slot {
  width: 300px;
  height: 250px;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1.5px dashed var(--border-ink-25);
  color: var(--body-copy-2);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 16px;
}

/* World Assembly card: spans two grid columns, panoramic photo over a two-up body
   (meta + link on the left, full copy on the right) */
.feature-grid > .promo-card--wide { grid-column: span 2; flex-direction: column; }
.promo-card--wide .promo-card__banner { width: 100%; height: 240px; }
.promo-card--wide .promo-card__body {
  flex: none;
  display: grid;
  grid-template-columns: minmax(220px, .85fr) 1.15fr;
  gap: 32px;
}
.promo-card__meta { font-size: 13px; color: var(--body-copy-2); margin: 0 0 18px; }

/* ==========================================================================
   Homepage: Featured Affiliate News (dark band)
   ========================================================================== */
.featured-news-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}
.featured-news-body {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 1.2fr);
  gap: 56px;
  align-items: start;
}
.featured-article { display: flex; flex-direction: column; gap: 14px; }
.featured-article__media {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
}
.featured-article__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.featured-article__kicker { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.featured-article__title { font-size: clamp(22px, 2.4vw, 27px); font-weight: 800; line-height: 1.15; color: #fff; letter-spacing: -.01em; margin: 0; }
.featured-article__standfirst { font-size: 18px; color: rgba(255, 255, 255, .78); margin: 0; }

.featured-index__label-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.featured-index__label { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); white-space: nowrap; }
.featured-index__rule { flex: 1; height: 1px; background: rgba(255, 255, 255, .16); }
.featured-index__list { display: flex; flex-direction: column; }
.featured-index__row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 15px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  transition: border-color .15s ease;
}
.featured-index__row:hover, .featured-index__row:focus-visible { border-bottom-color: var(--gold); }
.featured-index__name { display: block; font-size: 15.5px; font-weight: 600; color: #fff; line-height: 1.3; }
.featured-index__kind { display: block; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-top: 2px; }
.featured-index__arrow { font-size: 15px; color: var(--gold); }

/* ==========================================================================
   Homepage: Regional contacts
   ========================================================================== */
.regional-contacts-head { margin-bottom: 40px; }
.regional-contacts-head h2 { text-wrap: balance; }
.regional-contacts { display: flex; flex-wrap: wrap; gap: 44px; align-items: stretch; }
.regional-hq {
  flex: 1 1 320px;
  max-width: 360px;
  background: var(--ink);
  color: #fff;
  padding: 30px 32px 32px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.regional-hq__kicker { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.regional-hq__roles { display: flex; flex-direction: column; gap: 10px; }
.regional-hq__role { display: flex; flex-direction: column; gap: 2px; }
.regional-hq__role-label { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.regional-hq__role-name { font-size: 14.5px; font-weight: 700; color: #fff; }
.regional-hq__address { font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, .78); margin: 0; }
.regional-hq__email {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold);
  cursor: pointer;
  text-align: left;
}

.regional-vps { flex: 2 1 560px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; align-content: start; }
.regional-vp { padding: 16px 0 18px; border-bottom: 1px solid var(--border-ink-10); display: flex; flex-direction: column; gap: 5px; }
.regional-vp__region { font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--footer-copy); }
.regional-vp__name { font-size: 16px; font-weight: 700; color: var(--ink); }
.regional-vp__address { font-size: 13px; line-height: 1.55; color: var(--footer-copy); margin: 0; }

/* ==========================================================================
   Affiliate directory
   ========================================================================== */
.affiliate-directory-list {}


.region-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; margin-bottom: 24px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  font-size: 13px;
  padding: 0 18px;
  border-radius: 22px;
  cursor: pointer;
  white-space: nowrap;
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-ink-14);
}
.chip.is-active {
  background: var(--teal);
  color: #fff;
  border: none;
}

.affiliate-search {
  display: block;
  position: relative;
  margin-bottom: 16px;
}
.affiliate-search input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 4px;
  border: 1.5px solid var(--border-ink-18);
  font-family: inherit;
  font-size: 16px;
  background: #fff;
  color: var(--ink);
}

.affiliate-list {
  margin-top: 8px;
  max-height: 620px;
  overflow-y: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-ink-12);
  background: #fff;
}

.affiliate-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-ink-08);
}
.affiliate-row:last-child { border-bottom: none; }
.affiliate-row__main { min-width: 0; }
.affiliate-row__name-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.affiliate-row__country { font-weight: 800; font-size: 15px; color: var(--ink); }
.affiliate-row__contact { font-size: 13px; color: var(--body-copy-2); }
.affiliate-row__address { font-size: 12.5px; color: var(--footer-copy); margin-top: 2px; }

.affiliate-row__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 12.5px;
  white-space: nowrap;
  background: none;
  cursor: pointer;
  font-family: inherit;
}
.pill--phone { border: 1px solid var(--border-ink-14); color: #3c4d4c; }
.pill--link { border: 1px solid var(--border-teal-30); color: var(--teal); }

.affiliate-count { margin-top: 12px; font-size: 13.5px; color: var(--body-copy-2); }

/* ==========================================================================
   Affiliate map (find-an-affiliate.html)
   ========================================================================== */
.affiliate-map-section { padding: 40px 0 0; }

.affiliate-map-wrap { position: relative; }
.affiliate-map {
  display: block;
  width: 100%;
  height: 560px;
  border: 0;
}

.affiliate-map-overlay {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 28px;
  width: 340px;
  max-width: calc(100% - 56px);
  background: var(--cream);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(13, 26, 32, .22);
  padding: 26px 26px 22px;
}
.affiliate-map-overlay__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--body-copy);
  margin: 10px 0 0;
}
.affiliate-map-overlay__text a { color: var(--teal); text-decoration: underline; }

.affiliate-typeahead { position: relative; max-width: 600px; margin: 0 auto; text-align: left; }
.affiliate-typeahead__icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--footer-copy);
  pointer-events: none;
}
.affiliate-typeahead__input {
  width: 100%;
  padding: 17px 20px 17px 52px;
  border-radius: 8px;
  border: 1.5px solid var(--border-ink-25);
  font-family: inherit;
  font-size: 17px;
  background: #fff;
  color: var(--ink);
}
.affiliate-typeahead__input:focus { outline: none; border-color: var(--ink); }
.affiliate-typeahead__results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(22, 36, 43, .18);
  max-height: 340px;
  overflow-y: auto;
  z-index: 2;
}
.affiliate-typeahead__result {
  display: block;
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-bottom: 1px solid var(--border-ink-08);
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.affiliate-typeahead__result:last-child { border-bottom: none; }
.affiliate-typeahead__result:hover,
.affiliate-typeahead__result.is-active { background: var(--tan); }
.affiliate-typeahead__result-name { display: block; font-weight: 800; font-size: 15px; color: var(--ink); }
.affiliate-typeahead__result-contact { display: block; font-size: 13px; color: var(--body-copy-2); margin-top: 2px; }

/* ==========================================================================
   Accordion (Presentations / Resolutions)
   ========================================================================== */
.accordion-item {
  border: 1px solid var(--border-ink-12);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}
.accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.accordion-toggle--resolution { padding: 16px 22px; align-items: baseline; }
.accordion-toggle-title { font-weight: 800; font-size: 15.5px; color: var(--ink); }
.accordion-toggle-date { font-weight: 600; color: var(--body-copy-2); font-size: 14px; }
.accordion-toggle-icon { font-size: 20px; color: var(--resolve-number); flex: none; }
.accordion-toggle-icon--resolution { font-size: 18px; color: var(--teal); }
.accordion-panel { border-top: 1px solid var(--border-ink-10); padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 18px; }
.resolution-list { border: 1px solid var(--border-ink-10); border-radius: 6px; background: var(--cream); overflow: hidden; }

.accordion-group + .accordion-group,
.accordion-list > * + * { margin-top: 12px; }
.accordion-list { display: flex; flex-direction: column; gap: 12px; }

.pres-subtitle {
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}
.pres-items { margin: 0; padding: 0 0 0 18px; display: flex; flex-direction: column; gap: 10px; }
.pres-items li { font-size: 14.5px; line-height: 1.6; color: var(--body-copy); }
.pres-items a { color: var(--teal); font-weight: 700; margin-right: 10px; }
.badge-migrate {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--inactive-badge-text);
  background: var(--inactive-badge-bg);
  padding: 3px 7px;
  border-radius: 3px;
  margin-right: 8px;
}

.resolution-row { border-bottom: 1px solid var(--border-ink-08); }
.resolution-row:last-child { border-bottom: none; }
.resolution-number { font-weight: 800; font-size: 13px; color: var(--resolve-number); letter-spacing: .03em; }
.resolution-title { display: block; font-weight: 700; font-size: 15.5px; color: var(--ink); margin-top: 2px; }
.resolution-submitter { display: block; font-style: italic; font-size: 13px; color: var(--body-copy-2); margin-top: 2px; }
.resolution-row.is-open { box-shadow: inset 3px 0 0 var(--teal); }
.resolution-row.is-open .accordion-toggle--resolution { border-bottom: 1px solid var(--border-ink-08); }
.resolution-body { background: #fff; padding: 18px 22px 22px; }
.resolution-whereas { font-size: 14.5px; line-height: 1.6; color: var(--body-copy); margin: 0 0 10px; }
.resolution-whereas em { color: var(--body-copy-2); }
.resolution-resolves {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 600;
  margin: 14px 0 0;
  background: var(--tan);
  padding: 14px 16px;
  border-radius: 4px;
}
.resolution-resolves-label {
  display: block;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.pres-migrate-note { font-size: 13px; color: var(--footer-copy); margin-top: 20px; }

/* ==========================================================================
   Table (ICAO panels)
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-ink-12);
  border-radius: 6px;
  background: #fff;
}
.data-table { border-collapse: collapse; width: 100%; min-width: 640px; }
.data-table thead tr { background: var(--tan); }
.data-table th {
  text-align: left;
  padding: 12px 18px;
  font-size: 12.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--body-copy-2);
}
.data-table td {
  padding: 14px 18px;
  font-size: 14.5px;
  color: var(--body-copy);
  vertical-align: top;
}
.data-table td:first-child { font-weight: 700; color: var(--ink); }
.data-table tr { border-top: 1px solid var(--border-ink-08); }

/* ==========================================================================
   Contact form
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
/* Reserves the form's real rendered height up front (~702px once the FormAssembly
   embed script populates it) so its async load doesn't shift the page (CLS). */
#fa-form { min-height: 702px; }
.fa-form-mobile-heading { display: none; font-size: 18px; font-weight: 800; color: var(--ink); margin: 0 0 8px; }
.contact-form {
  background: #fff;
  border: 1px solid var(--border-ink-12);
  border-radius: 6px;
  padding: 32px;
}
.form-field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 4px;
  border: 1.5px solid var(--border-ink-18);
  font-family: inherit;
  font-size: 15px;
  margin-bottom: 18px;
  resize: vertical;
}
.form-note { font-size: 12.5px; color: var(--footer-copy); line-height: 1.5; margin: 0 0 18px; }
.form-success { padding: 20px; background: #eaf3ef; border-radius: 4px; color: #215d4f; font-weight: 700; }

/* ==========================================================================
   Recap page
   ========================================================================== */
.recap-block { padding: 24px 48px 0; }
.recap-block--first { padding: 36px 48px 24px; }
.recap-block--last { padding: 48px 48px 72px; }
.recap-figure { border-radius: 6px; overflow: hidden; }
/* The img elements have width/height attributes (for layout-shift prevention — the
   browser reserves the right box before the image loads), but max-width:100% from the
   global img rule only constrains width; without an explicit height:auto here the
   literal height="600" attribute would hold while width shrinks to fit, squashing the
   image. */
.recap-figure img { width: 100%; height: auto; }
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--ink);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.recap-caption { font-size: 12.5px; color: var(--footer-copy); margin: 8px 0 0; }
.recap-quote {
  margin: 0;
  padding: 28px 32px;
  background: var(--ink);
  border-radius: 6px;
  color: #fff;
}
.recap-quote p {
  font-family: 'Zilla Slab', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.55;
  margin: 0 0 14px;
}
.recap-quote footer { font-size: 13.5px; color: rgba(255,255,255,.7); }

.session-card { padding: 18px 22px; background: #fff; border-radius: 6px; border: 1px solid var(--border-ink-10); }
.session-card__title { font-weight: 800; font-size: 13.5px; color: var(--teal); margin-bottom: 6px; }
.session-card__body { font-size: 14.5px; line-height: 1.6; color: var(--body-copy); margin: 0; }

.country-chip {
  background: var(--tan);
  color: var(--ink);
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 20px;
}
.country-chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* Assembly hero spotlight (31st World Assembly) */
.spotlight {
  margin-bottom: 64px;
  border-radius: 6px;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.spotlight__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.spotlight__gradient {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, #16242B 0%, #16242B 42%, rgba(22,36,43,.4) 68%, rgba(22,36,43,.1) 100%);
  z-index: 1;
}
.spotlight__content { padding: 36px; max-width: 520px; position: relative; z-index: 2; }
.spotlight__label { text-shadow: 0 1px 4px rgba(0,0,0,.85); }
.spotlight__title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin: 0 0 10px; letter-spacing: -.01em; }
.spotlight__host { font-size: 16.5px; line-height: 1.5; color: rgba(255,255,255,.88); margin: 0 0 6px; font-weight: 600; }
.spotlight__date { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.72); margin: 0 0 22px; }
.spotlight__cta { text-shadow: 0 1px 4px rgba(0,0,0,.85); }

/* ==========================================================================
   TOC (Attracting & Retaining Members)
   ========================================================================== */
.toc-label {
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
  row-gap: 2px;
  border-top: 1px solid var(--border-ink-12);
}
.toc-grid a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--border-ink-12);
}
.article-section {
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid var(--border-ink-12);
}
.article-section:first-child { margin-top: 0; }
.article-section p, .article-section li { font-size: 16px; line-height: 1.75; color: var(--body-copy); }
.article-section ul { margin: 0 0 16px; padding-left: 22px; }
.article-source { margin-bottom: 20px; }
.article-source__name { font-weight: 800; font-size: 15px; color: var(--ink); margin-bottom: 8px; }

/* ==========================================================================
   Responsive — tablet-ish intermediate range (769–1100px): the nav still
   shows as a full row here (hamburger doesn't kick in until 768px) but at
   full size it doesn't fit, so the links wrap and look messy. Tighten
   spacing/size instead, and let the 3-column card grid become 2 columns
   before it's forced down to 1.
   ========================================================================== */
@media (max-width: 1100px) and (min-width: 769px) {
  .site-header__inner { padding: 18px 24px; }
  .site-header__logo img { height: 34px; }
  .nav { gap: 16px; }
  .nav-link { font-size: 13px; }
  .nav-cta { font-size: 13px; padding: 9px 14px; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid > .promo-card--wide,
  .feature-grid > .promo-card--placeholder { grid-column: span 2; }
  /* Odd card out on the last row fills the width instead of leaving a hole. */
  .feature-grid > .promo-card:last-child:nth-child(odd) { grid-column: span 2; flex-direction: row; align-items: stretch; }
  .feature-grid > .promo-card:last-child:nth-child(odd) .promo-card__banner { width: 45%; height: auto; min-height: 240px; flex-shrink: 0; }
  .promo-card--wide .promo-card__body { grid-template-columns: 1fr; gap: 12px; }
}

/* ==========================================================================
   Responsive (single breakpoint, 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .site-header__inner { padding: 18px 20px; }
  .site-header--dark { padding-left: 20px; padding-right: 20px; }
  .nav { display: none; }
  .hamburger { display: flex; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .hero-home { height: 540px; padding: 24px; }
  .hero-home__panel { padding: 28px 24px; max-width: 100%; }
  .hero-home__logo { max-width: 220px; }

  .hero-dark { padding: 48px 20px; }
  .hero-page { padding: 48px 20px 24px; }

  .section { padding: 48px 20px; }
  .section--directory { padding: 40px 20px 32px; }

  .advocacy-block { padding: 48px 20px; grid-template-columns: 1fr; }
  .advocacy-block__photo { height: 220px; }

  .feature-grid { grid-template-columns: 1fr; gap: 20px; }
  .feature-grid > .promo-card--wide { grid-column: span 1; }
  .promo-card--wide .promo-card__banner { height: 180px; }
  .promo-card--wide .promo-card__body { grid-template-columns: 1fr; gap: 4px; }

  .featured-news-body { grid-template-columns: 1fr; gap: 40px; }
  .regional-hq { max-width: none; }

  .affiliate-list { max-height: 520px; }
  .affiliate-map { height: 420px; }
  .affiliate-map-overlay {
    position: static;
    width: auto;
    max-width: none;
    margin-bottom: 20px;
    box-shadow: none;
    border-radius: 0;
    padding: 20px 20px 0;
    background: none;
  }

  .affiliate-typeahead__input { font-size: 16px; padding: 15px 16px 15px 46px; }
  .affiliate-typeahead__icon { left: 16px; }

  .contact-grid { grid-template-columns: 1fr; }
  .fa-form-mobile-heading { display: block; }

  .toc-grid { grid-template-columns: 1fr; }

  .table-wrap { }

  .recap-block { padding: 24px 20px 0; }
  .recap-block--first { padding: 28px 20px 24px; }
  .recap-block--last { padding: 48px 20px 72px; }
}
