@font-face {
  font-family: "Oswald";
  src: url("assets/fonts/oswald/Oswald-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter/Inter-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #002b6f;
  --navy-deep: #001b4d;
  --blue: #003b8f;
  --gold: #ffd23f;
  --gold-deep: #f2b705;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --border: #d9e1ec;
  --text: #101828;
  --muted: #667085;
  --soft-blue: #eaf1fb;
  --display: "Oswald", "Arial Narrow", "Aptos Display", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-sm: 0 12px 30px rgba(0, 27, 77, 0.08);
  --shadow-md: 0 24px 70px rgba(0, 27, 77, 0.14);
  --shadow-gold: 0 16px 40px rgba(242, 183, 5, 0.24);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --header-height: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  overflow-x: hidden;
  color: var(--text);
  background: var(--off-white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.modal-open,
body.nav-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
summary,
select {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

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

[hidden] {
  display: none !important;
}

::selection {
  color: var(--navy-deep);
  background: var(--gold);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.section-home :focus-visible,
.section-about :focus-visible,
.section-discover :focus-visible,
.section-events :focus-visible,
.section-members :focus-visible,
.section-governance :focus-visible,
.section-sport :focus-visible,
.section-resources :focus-visible,
.section-news :focus-visible {
  outline-style: solid;
}

.site-header :focus-visible,
.hero :focus-visible,
.subhero :focus-visible,
.member-showcase :focus-visible,
.member-directory-band :focus-visible,
.submission-band :focus-visible,
.portal-band :focus-visible,
.section-cta :focus-visible,
.event-callout :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.page-shell {
  width: min(1240px, calc(100% - 56px));
  margin-inline: auto;
}

.scroll-progress {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  pointer-events: none;
}

.scroll-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

.skip-link {
  position: fixed;
  z-index: 500;
  top: 12px;
  left: 16px;
  padding: 12px 18px;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 6px;
  font-weight: 850;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy-deep);
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

p {
  margin-block: 0 1em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: currentColor;
}

.eyebrow.blue {
  color: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-gold {
  color: var(--navy-deep);
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}

.button-outline {
  color: var(--white);
  background: rgba(0, 27, 77, 0.25);
  border-color: rgba(255, 210, 63, 0.9);
}

.button-outline-dark {
  color: var(--navy-deep);
  background: transparent;
  border-color: var(--navy);
}

.button-ghost {
  color: var(--blue);
  background: var(--soft-blue);
  border-color: transparent;
}

.text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.text-arrow span {
  font-size: 19px;
  transition: transform 160ms ease;
}

.text-arrow:hover span {
  transform: translateX(4px);
}

.text-arrow.light {
  color: var(--white);
}

.text-link {
  color: var(--blue);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(0, 59, 143, 0.3);
  text-underline-offset: 3px;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  color: var(--white);
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-deep) 86%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  transition: height 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 14px 32px rgba(0, 20, 58, 0.24);
}

.header-inner {
  display: flex;
  align-items: center;
  width: min(1400px, calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: grid;
  flex: 0 0 238px;
  place-items: center;
  width: 238px;
  min-width: 238px;
  height: 100%;
  padding-right: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.brand img {
  flex: none;
  width: 214px;
  height: 82px;
  object-fit: contain;
  opacity: 1;
  visibility: visible;
}

.site-nav {
  display: flex;
  align-items: stretch;
  height: 100%;
  margin-left: 28px;
}

.nav-group {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-primary {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.nav-primary::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 0;
  left: 14px;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-group:hover .nav-primary::after,
.nav-group:focus-within .nav-primary::after,
.nav-group.is-active .nav-primary::after {
  transform: scaleX(1);
}

.nav-expand {
  display: grid;
  place-items: center;
  width: 24px;
  height: 32px;
  padding: 0;
  margin-left: -9px;
  color: rgba(255, 255, 255, 0.76);
  background: none;
  border: 0;
}

.nav-expand svg {
  width: 9px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
  transition: transform 160ms ease;
}

.nav-group.is-open .nav-expand svg {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  display: grid;
  width: 320px;
  padding: 18px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown,
.nav-group.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-dropdown a,
.nav-dropdown a:visited {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 8px;
  color: var(--navy-deep);
  visibility: visible;
  opacity: 1;
  border-bottom: 1px solid #edf1f6;
  font-size: 13px;
  font-weight: 750;
}

.nav-dropdown a:last-child {
  border-bottom: 0;
}

.nav-dropdown a:hover {
  color: var(--blue);
  background: var(--off-white);
}

.header-actions {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.language-picker {
  position: relative;
  flex: 0 0 auto;
}

.user-control {
  position: relative;
  flex: 0 0 auto;
}

.user-control-toggle {
  position: relative;
  color: var(--gold);
  border-color: rgba(255, 199, 0, 0.72);
  border-radius: 50%;
}

.user-control-toggle svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.user-control-toggle:hover,
.user-control-toggle:focus-visible,
.user-control.is-open .user-control-toggle {
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold);
}

.user-control-status {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.45);
  border: 2px solid var(--navy-deep);
  border-radius: 50%;
}

.user-control.is-authenticated .user-control-status {
  background: #48c879;
}

.user-control-menu {
  position: absolute;
  z-index: 185;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: 248px;
  padding: 8px;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 9px;
  box-shadow: var(--shadow-md);
}

.user-control-menu[hidden] {
  display: none;
}

.user-control-loading,
.user-control-heading,
.user-control-identity {
  padding: 11px 12px;
}

.user-control-heading,
.user-control-heading span,
.user-control-identity span {
  display: grid;
  gap: 2px;
}

.user-control-heading strong,
.user-control-identity strong {
  color: var(--navy-deep);
  font-size: 13px;
}

.user-control-heading span,
.user-control-identity small,
.user-control-loading {
  color: var(--muted);
  font-size: 11px;
}

.user-control-identity {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}

.user-control-identity img {
  width: 30px;
  height: 22px;
  object-fit: cover;
  border: 1px solid rgba(16, 24, 40, 0.16);
  border-radius: 2px;
}

.user-control-identity em {
  margin-top: 3px;
  color: var(--blue);
  font-size: 11px;
}

.user-control-menu > a,
.user-control-menu form button {
  display: flex;
  width: 100%;
  min-height: 40px;
  align-items: center;
  padding: 8px 11px;
  color: var(--navy-deep);
  background: transparent;
  border: 0;
  border-radius: 5px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

.user-control-menu > a:hover,
.user-control-menu > a:focus-visible,
.user-control-menu form button:hover,
.user-control-menu form button:focus-visible {
  color: var(--blue);
  background: var(--off-white);
}

.user-control-menu > .user-control-primary {
  color: var(--navy-deep);
  background: var(--gold);
}

.user-control-menu form {
  margin: 0;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 48px;
  min-width: 48px;
  min-height: 44px;
  padding: 6px 4px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 7px;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
}

/* The current flag and chevron are enough in the constrained top bar. The
   native language name remains available in the expanded menu and the
   button keeps its explicit accessible label. */
.language-toggle > span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.language-toggle > svg {
  flex: 0 0 8px;
  width: 8px;
}

.language-toggle img,
.language-menu img {
  width: 30px;
  height: 20px;
  object-fit: cover;
  border: 1px solid rgba(16, 24, 40, 0.18);
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.language-toggle img {
  width: 26px;
  height: 17px;
}

.language-toggle svg {
  width: 8px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
  transition: transform 160ms ease;
}

.language-picker.is-open .language-toggle svg {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  z-index: 180;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: 188px;
  max-height: min(72vh, 680px);
  padding: 7px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 9px;
  box-shadow: var(--shadow-md);
}

.language-menu button {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-height: 42px;
  padding: 7px 9px;
  color: var(--navy-deep);
  background: transparent;
  border: 0;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
}

.language-menu button:hover,
.language-menu button:focus-visible,
.language-menu button[aria-checked="true"] {
  color: var(--blue);
  background: var(--soft-blue);
}

.language-notice {
  max-width: 590px;
}

.language-notice > p:not(.eyebrow) {
  color: var(--muted);
}

.language-notice-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.icon-button svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.night-mode-toggle {
  position: relative;
  flex: 0 0 44px;
  overflow: hidden;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.night-mode-toggle[hidden],
html[data-eaf-night-mode-enabled="false"] .night-mode-toggle {
  display: none !important;
}

.night-mode-toggle:hover,
.night-mode-toggle:focus-visible,
.night-mode-toggle[aria-pressed="true"] {
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold);
}

.night-mode-toggle:active {
  transform: scale(0.94);
}

.night-mode-toggle .night-mode-sun,
html[data-eaf-night-mode="true"] .night-mode-toggle .night-mode-moon {
  display: none;
}

html[data-eaf-night-mode="true"] .night-mode-toggle .night-mode-sun {
  display: block;
}

.nav-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 19px;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: var(--shadow-gold);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - var(--header-height)));
  overflow: hidden;
  color: var(--white);
  background: var(--navy-deep);
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 34, 89, 1) 0%, rgba(0, 43, 111, 0.95) 35%, rgba(0, 43, 111, 0.34) 68%, rgba(0, 27, 77, 0.26) 100%),
    linear-gradient(180deg, rgba(0, 27, 77, 0.02), rgba(0, 27, 77, 0.84)),
    var(--home-hero-image, url("assets/eaf-hero.webp")) center / cover no-repeat;
  transform: scale(1.015);
}

.home-hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease, visibility 0s linear 900ms;
  will-change: opacity;
}

.home-hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.home-hero-slide-1 { --home-hero-image: url("assets/eaf-hero.webp"); }
.home-hero-slide-2 { --home-hero-image: url("assets/disciplines/skirm-placeholder.webp"); }
.home-hero-slide-3 { --home-hero-image: url("assets/disciplines/scenario-placeholder.webp"); }
.home-hero-slide-4 { --home-hero-image: url("assets/disciplines/arena-placeholder.webp"); }

.home-hero-slide.is-empty {
  background: linear-gradient(118deg, var(--navy-deep), var(--blue));
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(760px, calc(100svh - var(--header-height)));
  padding: 66px 0 90px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-kicker span {
  width: 44px;
  height: 3px;
  background: var(--gold);
}

.hero h1 {
  width: min(760px, 100%);
  color: var(--white);
  font-size: clamp(64px, 7.4vw, 108px);
  line-height: 1.02;
  letter-spacing: 0.005em;
  font-kerning: normal;
  font-variant-ligatures: none;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-inner > p:not(.hero-kicker),
.home-hero-narrative {
  width: min(570px, 100%);
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.91);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.52;
}

.home-hero-narrative > :last-child {
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-facts {
  display: flex;
  gap: 0;
  margin-top: 54px;
}

.hero-facts div {
  min-width: 155px;
  padding: 0 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-facts div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-facts b {
  display: block;
  color: var(--gold);
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  text-transform: uppercase;
}

.hero-facts span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 750;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: max(28px, calc((100vw - 1240px) / 2));
  bottom: 82px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-slide {
    transition: none;
  }
}

.scroll-cue b {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 50%;
}

.link-panel-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: -28px;
}

.link-panel {
  position: relative;
  min-height: 340px;
  padding: 30px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.link-panel.gold {
  color: var(--navy-deep);
  background: linear-gradient(145deg, var(--gold), var(--gold-deep));
  border-color: var(--gold-deep);
}

.panel-number {
  position: absolute;
  top: 20px;
  right: 25px;
  color: rgba(0, 43, 111, 0.1);
  font-family: var(--display);
  font-size: 76px;
  font-weight: 900;
  line-height: 1;
}

.link-panel h2 {
  position: relative;
  margin-bottom: 22px;
  font-size: 32px;
}

.link-panel a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 45px;
  color: var(--navy-deep);
  border-top: 1px solid rgba(0, 43, 111, 0.14);
  font-size: 13px;
  font-weight: 800;
}

.link-panel a b {
  font-size: 18px;
  transition: transform 160ms ease;
}

.link-panel a:hover b {
  transform: translateX(4px);
}

.home-highlights {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
  gap: 24px;
  padding: 84px 0;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2,
.overview-heading h2 {
  font-size: clamp(42px, 5.2vw, 66px);
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.home-news-list {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.home-news-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.home-news-card.lead {
  grid-row: span 3;
}

.home-news-image {
  display: block;
  margin: -24px -24px 24px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.home-news-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 400ms ease;
}

.home-news-card:hover .home-news-image img {
  transform: scale(1.03);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.news-meta span {
  padding: 5px 8px;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 5px;
}

.news-meta .news-tag,
.managed-article .article-kicker .news-tag,
.static-news-kicker .news-tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-transform: uppercase;
}

.news-tag.news-tag-governance {
  color: var(--white);
  background: #003f83;
  border-color: #1f65a8;
}

.news-tag.news-tag-platform {
  color: #002654;
  background: #bde5ff;
  border-color: #82c9f4;
}

.news-tag.news-tag-partnership {
  color: var(--navy);
  background: var(--white);
  border-color: var(--navy);
}

.news-tag.news-tag-federation,
.news-tag.news-tag-sport {
  color: var(--white);
  background: var(--navy);
  border-color: var(--gold);
}

.news-tag.news-tag-members,
.news-tag.news-tag-people,
.news-tag.news-tag-update {
  color: #111b2c;
  background: var(--gold);
  border-color: #d7a700;
}

.news-tag.news-tag-event {
  color: var(--navy-deep);
  background: #cdeaff;
  border-color: var(--navy-deep);
}

.news-tag.news-tag-safety {
  color: var(--white);
  background: #b5222d;
  border-color: #8f1721;
}

.news-tag.news-tag-gear {
  color: var(--white);
  background: #66743a;
  border-color: #66743a;
}

.news-tag.news-tag-industry {
  color: var(--white);
  background: #175c3d;
  border-color: #175c3d;
}

.news-tag.news-tag-legislation {
  color: #2d343b;
  background: #aeb7c0;
  border-color: #7b8792;
}

.news-tag.news-tag-submitted {
  background: #fff5cf;
  border-color: #f4bd00;
  color: #082b66;
  max-width: min(100%, 26rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-tag.news-tag-submitted-group {
  background: #edf1f6;
  border-color: #7c8799;
  color: #344054;
}

html[data-theme="night"] .news-tag.news-tag-submitted {
  background: #f4bd00;
  border-color: #ffd33d;
  color: #071b38;
}

.home-news-card h3 {
  margin-bottom: 13px;
  font-size: 26px;
  line-height: 1.04;
}

.home-news-card p:not(.news-meta) {
  color: #344d73;
  font-size: 14px;
}

.home-news-card.lead p:not(.news-meta) {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 18;
}

.event-callout {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 510px;
  padding: 38px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(150deg, rgba(0, 43, 111, 0.98), rgba(0, 27, 77, 0.99)),
    radial-gradient(circle at 100% 0%, rgba(255, 210, 63, 0.24), transparent 50%);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.event-callout h2 {
  max-width: 330px;
  color: var(--white);
  font-size: clamp(44px, 5vw, 65px);
}

.event-callout > p:not(.eyebrow),
.event-callout [data-home-event-list] > p {
  position: relative;
  z-index: 2;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.77);
}

.event-callout [data-home-event-list] {
  position: relative;
  z-index: 2;
  flex: 1 1 420px;
  min-height: 420px;
  max-height: 650px;
  margin: 18px -10px 0 0;
  padding-right: 10px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(155, 213, 255, 0.72) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.event-callout [data-home-event-list] > p {
  margin-top: 0;
}

.event-callout-actions {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  margin-top: auto;
  padding-top: 24px;
}

.event-callout-actions > a:last-child {
  color: var(--white);
  font-size: 13px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.member-showcase {
  padding: 44px 0 48px;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 0%, rgba(98, 170, 255, 0.2), transparent 34%),
    linear-gradient(110deg, #001b4d, #07509b);
}

.member-showcase h2 {
  color: var(--white);
  font-size: clamp(38px, 4.6vw, 58px);
}

.member-showcase .section-heading {
  margin-bottom: 24px;
}

.member-marquee {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}

.member-marquee a,
.member-marquee .member-tile {
  position: relative;
  display: grid;
  min-height: 94px;
  padding: 10px 12px;
  align-content: center;
  overflow: hidden;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(205, 229, 255, 0.36);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  isolation: isolate;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.member-marquee .member-tile > :not(.country-flag-art) {
  position: relative;
  z-index: 1;
}

.country-flag-icon {
  display: block;
  width: 42px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 16, 48, 0.2);
  forced-color-adjust: none;
}

.country-flag-art {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  filter: saturate(0.84) contrast(0.92);
  transform: scale(1.04);
  pointer-events: none;
  user-select: none;
}

.member-marquee .country-flag-art {
  opacity: 0.16;
}

.member-marquee .member-tile:is(:hover, :focus-visible) {
  color: var(--eaf-member-target-text, #001f54);
  background: var(--eaf-member-target-bg, #ffd23f);
  border-color: var(--eaf-member-target-border, #d29a00);
  box-shadow: 0 0 0 3px var(--eaf-member-target-ring, rgba(0, 59, 143, 0.72));
  transform: translateY(-3px);
  outline: none;
}

.member-marquee .member-tile:is(:hover, :focus-visible) :is(span, small) {
  color: var(--eaf-member-target-text, #001f54);
}

.member-marquee .member-tile:is(:hover, :focus-visible) .country-flag-art {
  opacity: 0.08;
}

.member-marquee .member-tile-static {
  cursor: default;
}

.member-marquee span {
  margin-top: 7px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.member-marquee small {
  margin-top: 3px;
  color: #d5e9ff;
  font-size: 12px;
  font-weight: 900;
}

.mission-band {
  padding: 72px 0;
  color: var(--navy-deep);
  background:
    radial-gradient(circle at 10% 50%, rgba(255, 255, 255, 0.44), transparent 25%),
    linear-gradient(110deg, var(--gold), var(--gold-deep));
}

.mission-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 70px;
  align-items: start;
}

.mission-grid .eyebrow {
  color: var(--navy-deep);
}

.mission-grid h2 {
  font-size: clamp(48px, 6vw, 74px);
}

.mission-grid > p {
  margin: 0;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.65;
}

.associate-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-block: 34px;
  padding: 40px 44px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

[data-associate-home-block][hidden] {
  display: none !important;
}

.associate-callout h2 {
  font-size: clamp(34px, 4vw, 52px);
}

.associate-callout p:not(.eyebrow) {
  max-width: 820px;
  margin: 14px 0 0;
  color: #344d73;
}

.subhero {
  position: relative;
  min-height: 365px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(118deg, rgba(0, 43, 111, 1), rgba(0, 27, 77, 0.98)),
    radial-gradient(circle at 90% 20%, rgba(255, 210, 63, 0.22), transparent 30%);
}

.subhero::after {
  content: "EAF";
  position: absolute;
  right: -20px;
  bottom: -42px;
  color: rgba(255, 255, 255, 0.04);
  font-family: var(--display);
  font-size: clamp(170px, 28vw, 420px);
  font-weight: 900;
  line-height: 0.72;
  letter-spacing: -0.08em;
}

.subhero-inner {
  position: relative;
  z-index: 2;
  padding: 48px 0 62px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 48px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--white);
}

.breadcrumb b {
  color: var(--gold);
  font-weight: 900;
}

.subhero h1 {
  max-width: 940px;
  color: var(--white);
  font-size: clamp(54px, 7.4vw, 92px);
}

.subhero-intro {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 17px;
  line-height: 1.58;
}

.section-overview {
  padding: 76px 0 92px;
}

.overview-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 48px;
}

.overview-heading .eyebrow {
  grid-column: 1;
}

.overview-heading > [data-page-override-root] {
  display: contents;
}

.overview-heading h2 {
  grid-column: 1;
}

.overview-heading > p:not(.eyebrow),
.overview-heading > [data-page-override-root] > p {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
  color: #344d73;
  font-size: 18px;
}

.section-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.section-card {
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr 25px;
  gap: 18px;
  min-height: 230px;
  padding: 27px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.section-card:hover {
  border-color: rgba(0, 59, 143, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.section-card > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 900;
}

.section-card h2 {
  margin-bottom: 15px;
  font-size: 29px;
}

.section-card p {
  margin: 0;
  color: #456080;
  font-size: 14px;
}

.section-card > b {
  color: var(--blue);
  font-size: 22px;
}

.section-card.featured-card {
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), var(--navy-deep));
  border-color: var(--navy);
}

.section-card.featured-card h2,
.section-card.featured-card > b {
  color: var(--white);
}

.section-card.featured-card p {
  color: rgba(255, 255, 255, 0.74);
}

.section-cta {
  padding: 60px 0;
  color: var(--white);
  background: linear-gradient(120deg, var(--navy), var(--navy-deep));
}

.section-cta .page-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.section-cta h2 {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(38px, 5vw, 62px);
}

.editorial-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 820px);
  gap: 72px;
  align-items: start;
  padding: 68px 0 88px;
}

.editorial-rail {
  position: sticky;
  top: calc(var(--header-height) + 30px);
  display: grid;
  gap: 22px;
}

.editorial-main {
  min-width: 0;
}

.news-back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 10px 15px;
  color: var(--navy-deep);
  background: var(--gold);
  border: 1px solid #d7a700;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(171, 129, 0, 0.16);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.025em;
  line-height: 1;
  text-decoration: none;
  transition: background-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.news-back-link:hover {
  background: #ffd43b;
  box-shadow: 0 10px 24px rgba(171, 129, 0, 0.24);
  transform: translateY(-1px);
}

.news-back-link:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.page-toc {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.page-toc > p {
  margin: 0 0 10px;
  color: var(--navy-deep);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-toc a {
  display: block;
  padding: 8px 0;
  color: #456080;
  border-top: 1px solid #edf1f6;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.page-toc a:hover {
  color: var(--blue);
}

.page-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-tools button {
  padding: 7px 10px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
}

.prose {
  min-width: 0;
}

.prose > h2 {
  position: relative;
  margin: 52px 0 20px;
  padding-top: 18px;
  font-size: clamp(35px, 4.5vw, 52px);
  line-height: 1.02;
}

.prose > h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 4px;
  background: var(--gold);
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose > p,
.prose > address {
  margin: 0 0 20px;
  color: #243f67;
  font-size: 17px;
  line-height: 1.78;
}

.prose address {
  padding: 22px;
  background: var(--white);
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: normal;
}

.content-kicker {
  margin-bottom: 8px !important;
  color: var(--blue) !important;
  font-size: 12px !important;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-date {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0 22px;
  color: var(--muted) !important;
  border-bottom: 1px solid var(--border);
  font-size: 14px !important;
  font-weight: 800;
}

.article-date span {
  padding: 5px 8px;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 4px;
  font-size: 10px;
  text-transform: uppercase;
}

.definition-card {
  margin: 22px 0;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.definition-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.05;
  text-transform: none;
}

.definition-card p {
  margin: 0;
  color: #344d73;
}

.content-list,
.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 28px;
  list-style: none;
}

ol.content-list {
  counter-reset: eaf-list;
}

ol.content-list > li {
  counter-increment: eaf-list;
}

.content-list li,
.check-list li {
  position: relative;
  padding: 13px 18px 13px 46px;
  color: #243f67;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.content-list li::before,
.check-list li::before {
  content: "✓";
  position: absolute;
  top: 12px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
}

ol.content-list > li::before {
  content: counter(eaf-list);
}

.table-scroll {
  max-width: 100%;
  margin: 30px 0;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  text-align: left;
}

thead th {
  color: var(--white);
  background: var(--navy);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

tbody th {
  width: 28%;
  color: var(--navy-deep);
  background: #f1f5fb;
  font-size: 14px;
}

tbody td {
  color: #344d73;
  font-size: 14px;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.page-sequence {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 68px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.page-sequence-wrap {
  padding-bottom: 88px;
}

.page-sequence-wrap .page-sequence {
  margin-top: 0;
}

.page-sequence a {
  display: grid;
  gap: 7px;
  min-height: 104px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.page-sequence a.next {
  text-align: right;
}

.page-sequence span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-sequence strong {
  color: var(--navy-deep);
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.1;
  text-transform: uppercase;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 70px;
  align-items: start;
  padding: 72px 0 90px;
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-height) + 35px);
}

.faq-intro h2 {
  margin-bottom: 28px;
  font-size: clamp(42px, 5vw, 64px);
}

.faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.faq-actions button {
  min-height: 38px;
  padding: 7px 12px;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 11px;
  font-weight: 850;
}

.faq-actions button:hover {
  color: var(--navy-deep);
  background: var(--soft-blue);
  border-color: #a9bfdc;
}

.inline-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.inline-search svg {
  width: 20px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
}

.inline-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--navy-deep);
  caret-color: var(--blue);
  background: transparent;
  border: 0;
  outline: 0;
}

.inline-search input::placeholder {
  color: #687a96;
  opacity: 1;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  color: var(--navy-deep);
  font-family: var(--display);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.12;
  list-style: none;
  text-transform: uppercase;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span {
  position: relative;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  background: var(--gold);
  border-radius: 50%;
}

.faq-item summary span::before,
.faq-item summary span::after {
  content: "";
  position: absolute;
  top: 16px;
  left: 10px;
  width: 14px;
  height: 2px;
  background: var(--navy-deep);
}

.faq-item summary span::after {
  transform: rotate(90deg);
  transition: transform 160ms ease;
}

.faq-item[open] summary span::after {
  transform: rotate(0);
}

.faq-item > div {
  padding: 0 24px 22px;
  color: #344d73;
}

.faq-item > div p {
  margin: 0;
}

.directory-intro,
.directory-outro,
.board-intro,
.discipline-intro,
.resource-intro {
  padding: 64px 0 54px;
}

.directory-intro,
.directory-outro,
.board-intro,
.discipline-intro,
.resource-intro {
  max-width: 880px;
}

.member-directory-band,
.board-band,
.resource-library,
.submission-band,
.portal-band {
  padding: 68px 0 82px;
  color: var(--white);
  background: linear-gradient(120deg, var(--navy), var(--navy-deep));
}

.member-directory-band {
  position: relative;
  padding-bottom: calc(82px + var(--country-information-extra-space, 0px));
}

.member-directory-band h2,
.board-band h2,
.submission-band h2,
.portal-band h2 {
  color: var(--white);
  font-size: clamp(44px, 5.5vw, 68px);
}

.member-directory-band .split-heading > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.member-directory-band .split-heading strong {
  display: block;
  color: var(--gold);
  font-family: var(--display);
  font-size: 38px;
}

.directory-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 34px 0 24px;
}

.directory-controls .inline-search {
  flex: 1;
  max-width: 440px;
}

.filter-badge {
  padding: 9px 13px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}

.member-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.member-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  color: var(--text);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 35px rgba(0, 15, 45, 0.2);
  isolation: isolate;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.member-card > .member-card-selector {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  padding: 0;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: inherit;
  cursor: pointer;
}

.member-card > .member-card-selector:focus {
  outline: none;
}

.member-card > :not(.member-card-selector, a, .country-flag-art) {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.member-flag {
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
}

.member-flag .country-flag-icon {
  width: 38px;
}

.member-status {
  color: #46705b;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-card h3 {
  margin: 4px 0 2px;
  font-size: 21px;
  line-height: 1.02;
}

.member-card p {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.member-card > a {
  z-index: 3;
  grid-column: 2;
  min-width: 0;
  padding-top: 5px;
  overflow: hidden;
  color: var(--blue);
  border-top: 0;
  font-size: 10px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: auto;
}

.member-card > .member-website-unavailable {
  grid-column: 2;
  padding-top: 5px;
  color: #687a96;
  border-top: 0;
  font-size: 10px;
  font-weight: 700;
}

.board-band {
  color: var(--text);
  background: linear-gradient(180deg, #edf3fb, var(--off-white));
}

.board-band h2 {
  color: var(--navy-deep);
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.board-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.board-portrait {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #e7edf6;
}

.board-portrait::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 34px;
  height: 4px;
  background: var(--gold);
}

.board-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.board-info {
  padding: 22px;
}

.board-info > p {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 8px;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.board-info h3 {
  font-size: 26px;
  line-height: 1.04;
}

.board-info > span {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.board-info > span .country-flag-icon,
.office-card span .country-flag-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 18px;
  border-radius: 2px;
}

.discipline-grid {
  display: grid;
  gap: 14px;
  padding-bottom: 88px;
}

.discipline-card {
  display: grid;
  grid-template-columns: 76px 1fr 30px;
  gap: 25px;
  align-items: center;
  min-height: 150px;
  padding: 25px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.discipline-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.discipline-card > span {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  color: var(--white);
  background: var(--gold);
  border-radius: 50%;
}

.discipline-icon svg {
  display: block;
  width: 42px;
  height: 42px;
  overflow: visible;
}

.discipline-card h3 {
  margin-bottom: 10px;
  font-size: 34px;
}

.discipline-card p {
  margin: 0;
  color: #456080;
}

.discipline-card > b {
  color: var(--blue);
  font-size: 24px;
}

.resource-library {
  color: var(--text);
  background: linear-gradient(180deg, #eaf1fb, var(--off-white));
}

.resource-toolbar,
.news-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip,
.view-switch button {
  padding: 9px 13px;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
}

.view-switch button {
  min-width: 64px;
  border-radius: 5px;
}

.filter-chip.is-active,
.view-switch button.is-active {
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold-deep);
}

.resource-toolbar .inline-search,
.news-toolbar .inline-search {
  width: 300px;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.resource-card {
  display: grid;
  grid-template-columns: 64px 1fr 42px;
  gap: 18px;
  align-items: center;
  min-height: 150px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.resource-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue), var(--navy-deep));
  border-radius: 50%;
}

.resource-icon svg {
  width: 31px;
  height: 31px;
}

.resource-card div > p:first-child {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.resource-card h3 {
  font-size: 26px;
}

.resource-card div > p:last-child {
  margin: 8px 0 0;
  color: #456080;
  font-size: 13px;
}

.resource-card > a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
}

.category-resource-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 30px;
  padding: 74px 0 94px;
}

.resource-feature,
.publication-note {
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.resource-icon.large {
  width: 80px;
  height: 80px;
  margin-bottom: 28px;
}

.resource-icon.large svg {
  width: 44px;
  height: 44px;
}

.resource-feature h2,
.publication-note h2 {
  font-size: clamp(38px, 4.5vw, 56px);
}

.resource-feature > p:not(.eyebrow),
.resource-feature-copy > p:not(.eyebrow),
.resource-feature-copy [data-page-override-root] > p,
.publication-note > p:not(.eyebrow) {
  margin-top: 18px;
  color: #456080;
  font-size: 17px;
}

.resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.publication-note {
  align-self: start;
  background: var(--soft-blue);
}

.calendar-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 28px;
  align-items: start;
  padding: 70px 0 90px;
}

.calendar-panel {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.calendar-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  border-bottom: 1px solid var(--border);
}

.calendar-panel h2 {
  font-size: 38px;
}

.view-switch {
  display: flex;
  gap: 7px;
}

.calendar-filters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 22px 26px;
  background: #f2f6fc;
  border-bottom: 1px solid var(--border);
}

.calendar-filters label,
.eaf-form label,
.portal-login label {
  display: grid;
  gap: 7px;
}

.calendar-filters label > span,
.eaf-form label > span,
.portal-login label > span {
  color: var(--navy-deep);
  font-size: 11px;
  font-weight: 850;
}

.calendar-filters select,
.eaf-form input,
.eaf-form select,
.eaf-form textarea,
.portal-login input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--text);
  background: var(--white);
  border: 1px solid #bdc9d9;
  border-radius: 7px;
}

.calendar-pagination {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: 12px;
  padding: 18px 26px;
  border-top: 1px solid var(--border);
  background: #f7faff;
}

.calendar-pagination[hidden] {
  display: none;
}

.calendar-pagination button {
  min-height: 40px;
  padding: 8px 13px;
  color: var(--navy-deep);
  border: 1px solid #aebed3;
  border-radius: 5px;
  background: var(--white);
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.calendar-pagination button:hover:not(:disabled),
.calendar-pagination button:focus-visible:not(:disabled) {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
}

.calendar-pagination button:disabled {
  color: #52647c;
  border-color: #c3cedc;
  background: #eef2f7;
  cursor: not-allowed;
}

.calendar-pagination span {
  color: #415674;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}

.eaf-form textarea {
  resize: vertical;
}

.calendar-empty {
  display: grid;
  place-items: center;
  min-height: 390px;
  padding: 40px;
  text-align: center;
}

.calendar-empty > span {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 50%;
  font-size: 28px;
}

.calendar-empty h3 {
  margin-top: 22px;
  font-size: 32px;
}

.calendar-empty p {
  max-width: 500px;
  margin: 12px auto 22px;
  color: #456080;
}

.calendar-panel.grid-view .calendar-empty {
  margin: 24px;
  background: var(--off-white);
  border: 1px dashed #aebcd0;
  border-radius: var(--radius-sm);
}

.calendar-copy {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.submission-band {
  padding-block: 78px;
}

.submission-grid,
.portal-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 72px;
  align-items: start;
}

.submission-grid > div > p:not(.eyebrow),
.portal-copy > p {
  color: rgba(255, 255, 255, 0.76);
}

.eaf-form,
.portal-login {
  padding: 30px;
  color: var(--text);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 25px 70px rgba(0, 15, 45, 0.28);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
  margin-bottom: 22px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.event-recurrence {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid #c5d1e0;
  border-radius: 9px;
  background: #f7f9fc;
}

.event-recurrence legend {
  padding: 0 6px;
  color: var(--navy-deep);
  font-size: 12px;
  font-weight: 900;
}

.event-recurrence .recurrence-toggle {
  display: flex;
  grid-template-columns: none;
  flex-direction: row;
  align-items: center;
  gap: 9px;
}

.event-recurrence .recurrence-toggle input {
  flex: 0 0 19px;
  width: 19px;
  min-height: 19px;
  accent-color: var(--blue);
}

.event-recurrence-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.event-recurrence > small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.consent {
  display: flex !important;
  grid-template-columns: 20px 1fr;
  flex-direction: row;
  align-items: start;
  gap: 10px !important;
}

.consent input {
  flex: 0 0 18px;
  width: 18px !important;
  min-height: 18px !important;
  margin-top: 3px;
}

.form-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.form-review {
  margin-top: 20px;
  padding: 18px;
  color: var(--text);
  background: #f0f8f2;
  border: 1px solid #acd0b5;
  border-radius: 8px;
}

.form-review strong {
  color: #235b34;
}

.form-review p {
  margin: 7px 0 14px;
  font-size: 13px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
  padding: 72px 0 92px;
}

.contact-form-card {
  position: sticky;
  top: calc(var(--header-height) + 30px);
}

.contact-form-card > h2 {
  margin-bottom: 24px;
  font-size: clamp(38px, 4.6vw, 58px);
}

.portal-band {
  min-height: 650px;
  padding-block: 80px;
}

.portal-copy h2 {
  margin-bottom: 24px;
}

.portal-copy .check-list li {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.portal-login {
  display: grid;
  gap: 18px;
}

.portal-login h2 {
  color: var(--navy-deep);
  font-size: 42px;
}

.portal-login > div > p:last-child {
  color: var(--muted);
}

.legal-placeholder {
  max-width: 780px;
  margin-block: 72px 92px;
  padding: 42px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.privacy-request-card {
  margin-block: 52px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(10, 49, 113, 0.18);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(236, 243, 252, 0.96), #fff);
  box-shadow: var(--shadow-sm);
}

.privacy-request-card .eaf-form {
  margin-top: 28px;
}

html[data-theme="night"] .privacy-request-card {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, rgba(20, 35, 58, 0.98), rgba(13, 26, 45, 0.98));
}

.status-label {
  display: inline-block;
  padding: 6px 10px;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-placeholder h2 {
  margin: 22px 0;
  font-size: 48px;
}

.legal-placeholder p:not(.status-label) {
  color: #456080;
  font-size: 17px;
}

.legal-policy {
  max-width: 940px;
  margin-block: 62px 92px;
  padding: clamp(28px, 5vw, 58px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.legal-policy > h2 {
  margin-top: 42px;
  padding-top: 8px;
  border-top: 1px solid #dce5f1;
  font-size: clamp(29px, 4vw, 42px);
}

.legal-policy > h3 {
  margin-top: 28px;
  color: var(--blue);
  font-size: 22px;
}

.legal-policy table {
  display: block;
  width: 100%;
  margin: 26px 0;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 13px;
}

.legal-policy th,
.legal-policy td {
  min-width: 150px;
  padding: 12px 13px;
  text-align: left;
  vertical-align: top;
  border: 1px solid #d7e1ee;
}

.legal-policy th {
  color: var(--white);
  background: var(--navy-deep);
}

.legal-policy tbody tr:nth-child(even) {
  background: #f5f8fc;
}

.legal-policy code {
  padding: 2px 5px;
  color: var(--navy-deep);
  background: #edf2f8;
  border-radius: 4px;
  font-size: 0.88em;
}

@media (max-width: 620px) {
  .legal-policy {
    margin-block: 32px 58px;
    border-radius: 12px;
  }
}

.news-index {
  padding: 68px 0 90px;
}

.managed-index-intro {
  padding-top: 56px;
}

.managed-index-intro + .news-index {
  padding-top: 38px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.news-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  min-height: 270px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.news-card.lead {
  grid-column: 1 / -1;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 400px;
}

.news-card-media {
  display: grid;
  place-items: center;
  min-height: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.2);
  background:
    radial-gradient(circle at 60% 30%, rgba(255, 210, 63, 0.4), transparent 25%),
    linear-gradient(145deg, var(--blue), var(--navy-deep));
  border-radius: 10px;
  font-family: var(--display);
  font-size: 72px;
  font-weight: 900;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card > div {
  align-self: center;
}

.news-card h2 {
  margin-bottom: 15px;
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.03;
}

.news-card > div > p:not(.news-meta) {
  color: #456080;
}

.news-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.news-pagination[hidden] {
  display: none;
}

.news-pagination a {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 13px;
  color: var(--navy-deep);
  background: var(--white);
  border: 1px solid #b8c8dc;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.news-pagination a:hover,
.news-pagination a:focus-visible {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.news-pagination a[aria-current="page"] {
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold-deep);
}

.news-pagination .news-pagination-step {
  min-width: 104px;
}

.news-pagination .news-pagination-ellipsis {
  min-width: 20px;
  color: var(--muted);
  text-align: center;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  color: var(--muted);
  background: var(--white);
  border: 1px dashed #aebcd0;
  border-radius: var(--radius-sm);
  text-align: center;
}

.site-footer {
  color: var(--white);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 210, 63, 0.08), transparent 28%),
    linear-gradient(120deg, var(--navy), var(--navy-deep));
}

.footer-main {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 0.75fr);
  gap: 40px;
  padding: 40px 0 32px;
}

.footer-identity {
  padding-right: 44px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-identity img {
  width: 218px;
  height: 84px;
  object-fit: contain;
}

.footer-identity p {
  margin: 10px 0 2px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-identity strong {
  color: var(--gold);
  font-size: 17px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-main h2 {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 21px;
}

.footer-main > div:not(.footer-identity) > a {
  display: block;
  margin: 6px 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.footer-main a:hover {
  color: var(--white);
}

.social-actions {
  display: flex;
  gap: 9px;
  margin-top: 14px;
}

.social-actions a,
.social-actions button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.social-actions a {
  margin: 0 !important;
  padding: 0;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.social-actions a:hover,
.social-actions a:focus-visible {
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.social-actions svg {
  width: 18px;
  height: 18px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-actions .social-icon-solid {
  fill: currentColor;
  stroke: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-bottom a,
.footer-bottom button {
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  background: none;
  border: 0;
  font-size: 11px;
}

.search-overlay,
.modal-layer {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: grid;
  place-items: start center;
  padding: 8vh 24px 24px;
  background: rgba(0, 18, 51, 0.82);
  backdrop-filter: blur(9px);
}

.search-dialog,
.preference-modal {
  width: min(780px, 100%);
  max-height: 84vh;
  padding: 30px;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 35px 100px rgba(0, 10, 35, 0.4);
}

.search-dialog-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.search-dialog h2,
.preference-modal h2 {
  font-size: clamp(36px, 5vw, 54px);
}

.search-dialog .icon-button,
.preference-modal .icon-button {
  flex: 0 0 42px;
  color: var(--navy-deep);
  border-color: var(--border);
  font-size: 28px;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 16px;
  margin-top: 26px;
  background: var(--off-white);
  border: 2px solid var(--blue);
  border-radius: 10px;
}

.search-field svg {
  width: 23px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
}

.search-field input {
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  outline: 0;
}

.search-clear {
  flex: 0 0 auto;
  padding: 6px 9px;
  color: var(--blue);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.search-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.search-filters label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-filters select {
  width: 100%;
  min-height: 42px;
  padding: 7px 32px 7px 10px;
  color: var(--navy-deep);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
}

.search-hint {
  margin: 12px 0 18px;
  color: var(--muted);
  font-size: 12px;
}

.search-results {
  display: grid;
  gap: 8px;
}

.search-result > a {
  position: relative;
  display: grid;
  padding: 15px 44px 15px 16px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.search-result-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 10px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.search-result-meta b,
.search-result-meta i,
.search-result-meta time {
  position: static;
  color: inherit;
  font: inherit;
  font-style: normal;
  transform: none;
}

.search-result-meta i,
.search-result-meta time {
  color: var(--muted);
}

.search-result-meta i::before,
.search-result-meta time::before {
  content: "·";
  margin-right: 10px;
  color: var(--border-strong);
}

.search-result > a > strong {
  color: var(--navy-deep);
  font-family: var(--display);
  font-size: 21px;
  text-transform: uppercase;
}

.search-result > a > p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.search-result > a > em {
  position: absolute;
  top: 50%;
  right: 17px;
  color: var(--blue);
  font-style: normal;
  transform: translateY(-50%);
}

.search-result mark {
  padding: 0 0.08em;
  color: inherit;
  background: color-mix(in srgb, var(--gold) 68%, transparent);
  border-radius: 2px;
}

.search-result > a:hover,
.search-result > a:focus-visible {
  background: color-mix(in srgb, var(--gold) 13%, var(--off-white));
  border-color: color-mix(in srgb, var(--gold) 60%, var(--border));
}

html[data-eaf-theme-context="public"][data-eaf-night-mode="true"] .search-result > a > strong {
  color: #f0f4f8;
}

html[data-eaf-theme-context="public"][data-eaf-night-mode="true"] .search-result > a > p,
html[data-eaf-theme-context="public"][data-eaf-night-mode="true"] .search-result-meta :is(i, time) {
  color: #b9c7d5;
}

html[data-eaf-theme-context="public"][data-eaf-night-mode="true"] .search-filters label {
  color: #b9c7d5;
}

.cookie-banner {
  position: fixed;
  z-index: 250;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  max-width: 1120px;
  padding: 20px 22px;
  margin-inline: auto;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 70px rgba(0, 18, 51, 0.25);
}

.cookie-banner strong {
  color: var(--navy-deep);
}

.cookie-banner p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.cookie-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.cookie-actions .button {
  min-height: 42px;
  padding: 0 15px;
  font-size: 11px;
  box-shadow: none;
}

.cookie-actions .cookie-choice {
  color: var(--navy-deep);
  background: #eef3f9;
  border: 1px solid #b8c7da;
}

.cookie-actions .cookie-choice:hover,
.cookie-actions .cookie-choice:focus-visible {
  color: var(--navy-deep);
  background: var(--gold-soft);
  border-color: var(--gold);
}

.preference-modal {
  position: relative;
  width: min(580px, 100%);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
}

.preference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.preference-row:first-of-type {
  margin-top: 24px;
}

.preference-row p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.preference-row > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.preference-row input {
  width: 22px;
  height: 22px;
}

.toast {
  position: fixed;
  z-index: 400;
  right: 24px;
  bottom: 24px;
  max-width: 390px;
  padding: 15px 18px;
  color: var(--white);
  background: var(--navy-deep);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 750;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--navy-deep);
  background: var(--gold);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.will-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.will-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  :root {
    --header-height: 78px;
  }

  .header-inner {
    width: min(100% - 32px, 1400px);
  }

  .brand {
    flex-basis: 190px;
    width: 190px;
    min-width: 190px;
    padding-right: 16px;
  }

  .brand img {
    width: 172px;
    height: 72px;
  }

  .site-nav {
    margin-left: 12px;
  }

  .nav-primary {
    padding-inline: 9px;
    font-size: 11px;
  }

  .nav-cta {
    padding-inline: 13px;
  }

  .link-panel-grid {
    width: min(100% - 36px, 1240px);
  }

  .member-marquee {
    grid-template-columns: repeat(4, 1fr);
  }

  .member-directory-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Longer translated navigation labels need the drawer before the compact
   content layout takes over at 1100px. */
@media (min-width: 1101px) and (max-width: 1500px) {
  .site-header {
    height: var(--header-height);
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .header-actions .search-trigger {
    margin-left: 10px;
  }

  .header-actions .nav-cta {
    display: inline-flex;
    min-height: 42px;
    padding-inline: 13px;
    font-size: 12px;
  }

  .header-actions .nav-cta span {
    display: none;
  }

  .site-nav {
    position: fixed;
    z-index: 120;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    display: block;
    width: min(430px, 100%);
    height: auto;
    padding: 20px;
    margin: 0;
    overflow-y: auto;
    color: var(--text);
    background: var(--white);
    box-shadow: -25px 0 60px rgba(0, 20, 58, 0.2);
    transform: translateX(105%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .nav-group {
    display: grid;
    grid-template-columns: 1fr 48px;
    border-bottom: 1px solid var(--border);
  }

  .nav-primary {
    min-height: 54px;
    padding: 0;
    color: var(--navy-deep);
    font-size: 15px;
  }

  .nav-primary::after {
    right: 0;
    left: 0;
    height: 3px;
  }

  .nav-expand {
    width: 48px;
    margin: 0;
    color: var(--blue);
  }

  .nav-dropdown {
    position: static;
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    padding: 8px 0 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .nav-group:hover .nav-dropdown,
  .nav-group:focus-within .nav-dropdown {
    display: none;
  }

  .nav-group.is-open .nav-dropdown {
    display: grid;
  }
}

@media (max-width: 1100px) {
  .site-header {
    height: var(--header-height);
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .header-actions .search-trigger {
    margin-left: 10px;
  }

  .header-actions .nav-cta {
    display: inline-flex;
    min-height: 42px;
    padding-inline: 13px;
    font-size: 12px;
  }

  .header-actions .nav-cta span {
    display: none;
  }

  .site-nav {
    position: fixed;
    z-index: 120;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    display: block;
    width: min(430px, 100%);
    height: auto;
    padding: 20px;
    margin: 0;
    overflow-y: auto;
    color: var(--text);
    background: var(--white);
    box-shadow: -25px 0 60px rgba(0, 20, 58, 0.2);
    transform: translateX(105%);
    transition: transform 220ms ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .nav-group {
    display: grid;
    grid-template-columns: 1fr 48px;
    border-bottom: 1px solid var(--border);
  }

  .nav-primary {
    min-height: 54px;
    padding: 0;
    color: var(--navy-deep);
    font-size: 15px;
  }

  .nav-primary::after {
    right: 0;
    left: 0;
    height: 3px;
  }

  .nav-expand {
    width: 48px;
    margin: 0;
    color: var(--blue);
  }

  .nav-dropdown {
    position: static;
    grid-column: 1 / -1;
    display: none;
    width: 100%;
    padding: 8px 0 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .nav-group:hover .nav-dropdown,
  .nav-group:focus-within .nav-dropdown {
    display: none;
  }

  .nav-group.is-open .nav-dropdown {
    display: grid;
  }

  .link-panel-grid,
  .section-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .link-panel:first-child {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .home-highlights,
  .calendar-shell,
  .contact-layout,
  .category-resource-layout {
    grid-template-columns: 1fr;
  }

  .event-callout {
    min-height: 430px;
  }

  .mission-grid,
  .overview-heading,
  .submission-grid,
  .portal-grid,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .overview-heading > p:not(.eyebrow),
  .overview-heading > [data-page-override-root] > p {
    grid-column: 1;
    grid-row: auto;
  }

  .editorial-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .editorial-rail,
  .faq-intro,
  .contact-form-card {
    position: static;
  }

  .editorial-rail {
    order: 2;
  }

  .page-toc {
    display: none;
  }

  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-identity {
    padding-right: 0;
    border-right: 0;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 30px, 1240px);
  }

  .header-inner {
    width: calc(100% - 24px);
  }

  .brand {
    flex-basis: 164px;
    width: 164px;
    min-width: 164px;
    padding-right: 10px;
  }

  .brand img {
    width: 150px;
    height: 68px;
  }

  .header-actions {
    margin-left: 8px;
  }

  .header-actions .nav-cta {
    display: none;
  }

  .header-actions .icon-button {
    width: 42px;
    height: 42px;
  }

  .language-toggle {
    min-height: 42px;
    padding-inline: 7px;
  }

  .language-toggle svg {
    display: none;
  }

  .language-menu {
    position: fixed;
    top: calc(var(--header-height) - 2px);
    right: 12px;
  }

  .language-notice-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .hero,
  .hero-inner {
    min-height: 690px;
  }

  .hero-image {
    background:
      linear-gradient(180deg, rgba(0, 43, 111, 0.82), rgba(0, 27, 77, 0.96)),
      var(--home-hero-image, url("assets/eaf-hero.webp")) 62% center / cover no-repeat;
  }

  .hero-inner {
    justify-content: end;
    padding: 70px 0 94px;
  }

  .hero h1 {
    font-size: clamp(52px, 17vw, 72px);
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    margin-top: 42px;
  }

  .hero-facts div {
    min-width: 0;
    padding: 0 10px;
  }

  .hero-facts b {
    font-size: 22px;
  }

  .hero-facts span {
    font-size: 9px;
  }

  .scroll-cue {
    display: none;
  }

  .link-panel-grid,
  .section-card-grid,
  .home-news-list,
  .resource-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .link-panel-grid {
    margin-top: -24px;
  }

  .link-panel {
    min-height: auto;
  }

  .link-panel:first-child {
    grid-column: auto;
  }

  .home-highlights,
  .section-overview {
    padding-block: 60px;
  }

  .home-news-card.lead {
    grid-row: auto;
  }

  .home-news-card.lead p:not(.news-meta) {
    -webkit-line-clamp: 10;
  }

  .split-heading,
  .associate-callout,
  .section-cta .page-shell,
  .resource-toolbar,
  .news-toolbar,
  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .split-heading {
    display: grid;
  }

  .associate-callout {
    display: grid;
    padding: 30px;
  }

  .member-marquee {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-grid {
    gap: 30px;
  }

  .subhero {
    min-height: 330px;
  }

  .subhero-inner {
    padding: 32px 0 48px;
  }

  .breadcrumb {
    margin-bottom: 36px;
  }

  .subhero h1 {
    font-size: clamp(46px, 14vw, 66px);
  }

  .editorial-layout {
    padding-block: 50px 68px;
  }

  .prose > h2 {
    margin-top: 42px;
    font-size: 35px;
  }

  .prose > p,
  .prose > address {
    font-size: 16px;
  }

  .section-card {
    grid-template-columns: 46px 1fr 20px;
    min-height: auto;
  }

  .section-cta .page-shell {
    display: grid;
  }

  .page-sequence {
    grid-template-columns: 1fr;
  }

  .faq-layout {
    padding-block: 52px 68px;
  }

  .member-directory-grid,
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .directory-controls {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .directory-controls .inline-search {
    flex-basis: 100%;
    max-width: none;
  }

  .discipline-card {
    grid-template-columns: 58px 1fr 20px;
    gap: 16px;
    padding: 20px;
  }

  .discipline-card > span {
    width: 54px;
    height: 54px;
  }

  .discipline-card h3 {
    font-size: 28px;
  }

  .resource-toolbar,
  .news-toolbar {
    display: grid;
  }

  .resource-toolbar .inline-search,
  .news-toolbar .inline-search {
    width: 100%;
  }

  .calendar-filters,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .full {
    grid-column: auto;
  }

  .event-recurrence-controls {
    grid-template-columns: 1fr;
  }

  .news-card,
  .news-card.lead {
    grid-column: auto;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .news-card-media {
    min-height: 190px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px 26px;
  }

  .footer-identity {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }

  .cookie-banner {
    display: grid;
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .cookie-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 490px) {
  .search-filters {
    grid-template-columns: 1fr;
  }

  .search-result > a {
    padding-right: 34px;
  }

  .hero-actions,
  .resource-actions {
    display: grid;
  }

  .hero-actions .button,
  .resource-actions .button {
    width: 100%;
  }

  .hero-facts div:nth-child(3) {
    display: none;
  }

  .hero-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .member-directory-grid,
  .board-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .member-card {
    grid-template-columns: 42px 1fr;
  }

  .discipline-card {
    grid-template-columns: 50px 1fr;
  }

  .discipline-card > b {
    display: none;
  }

  .resource-card {
    grid-template-columns: 54px 1fr;
  }

  .resource-card > a {
    grid-column: 2;
  }

  .search-dialog,
  .preference-modal,
  .eaf-form,
  .portal-login {
    padding: 22px;
  }
}

/* Phase 2: visual media, interactive map and managed content */
.section-about { --section-hero: url("assets/heroes/about-hero-placeholder.webp"); }
.section-discover { --section-hero: url("assets/heroes/discover-hero-placeholder.webp"); }
.section-events { --section-hero: url("assets/heroes/events-hero-placeholder.webp"); }
.section-members { --section-hero: url("assets/heroes/members-hero-placeholder.webp"); }
.section-governance { --section-hero: url("assets/heroes/governance-hero-placeholder.webp"); }
.section-sport { --section-hero: url("assets/heroes/sport-hero-placeholder.webp"); }
.section-resources { --section-hero: url("assets/heroes/resources-hero-placeholder.webp"); }
.section-news { --section-hero: url("assets/heroes/news-hero-placeholder.webp"); }
.section-legal { --section-hero: url("assets/heroes/legal-hero-placeholder.webp"); }

/* Page Builder “remove hero image” state: retain the branded blue hero
   treatment while suppressing the default homepage photograph. */
.managed-hero-none .hero,
.managed-hero-none .hero-image {
  background: linear-gradient(118deg, var(--navy-deep), var(--blue));
}

body[data-page-href="discover/skirm.html"] { --section-hero: url("assets/disciplines/skirm-placeholder.webp?v=20260712f"); }
body[data-page-href="discover/scenario.html"] { --section-hero: url("assets/disciplines/scenario-placeholder.webp?v=20260712f"); }
body[data-page-href="discover/parcours.html"] { --section-hero: url("assets/disciplines/parcours-placeholder.webp?v=20260712f"); }
body[data-page-href="discover/target-shooting.html"] { --section-hero: url("assets/disciplines/target-placeholder.webp?v=20260712f"); }
body[data-page-href="discover/arena.html"] { --section-hero: url("assets/disciplines/arena-placeholder.webp?v=20260712f"); }

.subhero {
  isolation: isolate;
  background: var(--navy-deep);
}

.subhero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0, 27, 77, 0.98) 0%, rgba(0, 43, 111, 0.88) 43%, rgba(0, 27, 77, 0.42) 100%),
    var(--section-hero, url("assets/heroes/about-hero-placeholder.webp"));
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.subhero::after {
  z-index: -1;
}

.prose h2[tabindex="-1"]:focus,
.prose h2[tabindex="-1"]:focus-visible {
  outline: 0;
  box-shadow: none;
}

.prose h2[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

/* Fixed navigation must never cover direct links, skip links or scripted
   scroll targets. This also covers generated calendar and directory items. */
main [id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.discipline-card {
  grid-template-columns: minmax(220px, 0.7fr) 76px minmax(300px, 1fr) 30px;
  min-height: 164px;
  padding: 12px;
}

.discipline-card-image {
  width: 100%;
  height: 148px;
  object-fit: cover;
  border-radius: 10px;
}

.member-map-section {
  position: relative;
  overflow: hidden;
  padding: 28px 0 78px;
  background:
    radial-gradient(circle at 80% 40%, rgba(255, 210, 63, 0.11), transparent 32%),
    linear-gradient(180deg, var(--off-white), #eaf1fb);
}

body[data-page-href="members/directory.html"] .directory-intro {
  padding-top: 36px;
  padding-bottom: 10px;
}

body[data-page-href="members/directory.html"] .member-map-section {
  padding-top: 0;
}

.member-map-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.28fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.member-map-copy h2 {
  max-width: 390px;
  margin-bottom: 20px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.02;
}

.member-map-copy h2 span {
  white-space: nowrap;
}

.member-map-copy > p:not(.eyebrow) {
  color: #344d73;
  font-size: 17px;
}

.map-legend {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  color: var(--navy-deep);
  font-size: 13px;
  font-weight: 800;
}

.map-legend span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.map-legend i {
  width: 24px;
  height: 18px;
  background: var(--eaf-map-country, var(--border));
  border: 1px solid var(--eaf-map-border, var(--white));
  border-radius: 4px;
  box-shadow: var(--eaf-map-legend-shadow, 0 3px 8px rgba(0, 43, 111, 0.12));
}

.map-legend i.member {
  background: var(--eaf-map-member, var(--gold));
}

.map-instruction {
  margin-top: 20px;
  font-size: 12px !important;
  font-weight: 750;
}

.europe-map-card {
  position: relative;
  display: grid;
  min-height: 0;
  aspect-ratio: 884 / 714;
  overflow: hidden;
  padding: 3px;
  background: var(--eaf-map-card-bg, rgba(255, 255, 255, 0.78));
  border: 1px solid var(--eaf-map-card-border, rgba(0, 59, 143, 0.12));
  border-radius: 24px;
  box-shadow: var(--eaf-map-card-shadow, 0 28px 70px rgba(0, 43, 111, 0.16));
  backdrop-filter: blur(10px);
}

.europe-map-card svg {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
}

.europe-map-card .map-country {
  fill: var(--eaf-map-country, #d9e1ec);
  stroke: var(--eaf-map-border, #ffffff);
  stroke-width: 0.9;
  cursor: pointer;
  transition: fill 160ms ease, stroke 160ms ease, filter 160ms ease;
}

.europe-map-card .map-country.is-member {
  fill: var(--eaf-map-member, var(--gold));
  filter: var(--eaf-map-member-shadow, drop-shadow(0 3px 5px rgba(242, 183, 5, 0.16)));
}

.europe-map-card .map-country.is-member:hover,
.europe-map-card .map-country.is-member:focus-visible {
  fill: var(--eaf-map-hover, #4f87cc);
  stroke: var(--eaf-map-border, var(--white));
  stroke-width: 0.9;
  outline: none;
}

.europe-map-card .map-country.is-member.is-selected {
  fill: var(--eaf-map-selected, var(--blue));
  stroke: var(--eaf-map-border, var(--white));
  stroke-width: 0.9;
  filter: var(--eaf-map-selected-shadow, drop-shadow(0 3px 6px rgba(0, 59, 143, 0.32)));
}

.europe-map-card .map-country.is-nonmember:hover,
.europe-map-card .map-country.is-nonmember:focus-visible,
.europe-map-card .map-country.is-nonmember.is-selected {
  fill: var(--eaf-map-country, #d9e1ec);
  stroke: var(--eaf-map-border, #ffffff);
  stroke-width: 0.9;
  filter: none;
  outline: none;
}

.map-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}

.map-tooltip {
  position: absolute;
  z-index: 5;
  max-width: 250px;
  padding: 13px 16px;
  color: var(--white);
  background: var(--navy-deep);
  border: 1px solid rgba(255, 210, 63, 0.55);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  font-size: 12px;
  line-height: 1.45;
  pointer-events: none;
}

.map-tooltip strong,
.map-tooltip span {
  display: block;
}

.map-tooltip span {
  margin-top: 3px;
  color: var(--gold);
}

.member-card:hover,
.member-card:focus-within,
.member-card.is-map-preview,
.member-card.is-map-target,
.member-card.has-country-information-window,
.member-card.is-map-target:focus-visible {
  color: var(--eaf-member-target-text, #001f54);
  background: var(--eaf-member-target-bg, #ffd23f);
  border-color: var(--eaf-member-target-border, #d29a00);
  outline: none;
}

.member-card:hover,
.member-card:focus-within,
.member-card.is-map-preview {
  box-shadow:
    0 0 0 2px var(--eaf-member-target-ring, rgba(0, 59, 143, 0.72)),
    0 16px 36px var(--eaf-member-target-shadow, rgba(0, 31, 84, 0.24));
  transform: translateY(-2px);
}

.member-card.is-map-target,
.member-card.has-country-information-window,
.member-card.is-map-target:focus-visible {
  z-index: 30;
  box-shadow:
    0 0 0 3px var(--eaf-member-target-ring, rgba(0, 59, 143, 0.72)),
    0 18px 42px var(--eaf-member-target-shadow, rgba(0, 31, 84, 0.3));
  transform: none;
}

.member-card:is(:hover, :focus-within, .is-map-preview, .is-map-target, .has-country-information-window) :is(.member-status, h3, p),
.member-card:is(:hover, :focus-within, .is-map-preview, .is-map-target, .has-country-information-window) > a,
.member-card:is(:hover, :focus-within, .is-map-preview, .is-map-target, .has-country-information-window) > .member-website-unavailable {
  color: var(--eaf-member-target-text, #001f54);
}

.member-card:is(:hover, :focus-within, .is-map-preview, .is-map-target, .has-country-information-window) > a {
  border-top-color: rgba(0, 31, 84, 0.28);
  text-decoration-color: currentColor;
}

.member-card:is(:hover, :focus-within, .is-map-preview, .is-map-target, .has-country-information-window) .country-flag-art {
  opacity: 0.07;
}

.country-information-layer {
  position: fixed;
  z-index: 240;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
}

.country-information-layer[hidden] {
  display: none;
}

.country-information-windows {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.country-information-dialog {
  position: fixed;
  z-index: 40;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(620px, calc(100vw - 24px));
  max-height: min(760px, calc(100vh - 24px));
  overflow: hidden;
  color: var(--text);
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 12, 42, 0.52);
  pointer-events: auto;
}

.country-information-dialog:focus {
  outline: 3px solid rgba(255, 210, 63, 0.42);
  outline-offset: 3px;
}

.country-information-drag {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px 17px;
  color: var(--white);
  background: linear-gradient(120deg, var(--navy-deep), var(--blue));
  cursor: move;
  touch-action: none;
  user-select: none;
}

.country-information-dialog.is-dragging .country-information-drag {
  cursor: grabbing;
}

.country-information-drag .eyebrow {
  margin: 0 0 3px;
  color: var(--gold);
}

.country-information-drag h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
}

.country-information-drag button {
  flex: 0 0 auto;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 9px;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.country-information-drag button:hover,
.country-information-drag button:focus-visible {
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold);
  outline: none;
}

.country-information-body {
  overflow: auto;
  overscroll-behavior: contain;
  padding: 20px 22px 12px;
}

.country-information-updated {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 8px;
  margin: 0 0 13px;
  padding: 9px 12px;
  color: var(--navy-deep);
  background: #fff7dc;
  border: 1px solid #e6bd3e;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.4;
}

.country-information-updated strong {
  color: var(--blue);
  font-weight: 850;
}

.country-information-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.country-information-list > div,
.country-information-custom {
  min-width: 0;
  margin: 0;
  padding: 12px 14px;
  background: #f1f5fb;
  border: 1px solid #dce5f2;
  border-radius: 10px;
}

.country-information-list dt {
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.country-information-list dd {
  margin: 0;
  color: var(--navy-deep);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.45;
}

.country-information-custom {
  grid-column: 1 / -1;
  color: var(--navy-deep);
  font-size: 14px;
  line-height: 1.55;
}

.country-information-warning {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  margin: 10px 22px 20px;
  padding: 14px 16px;
  color: #4b2a00;
  background: #fff5d3;
  border: 1px solid #e8b424;
  border-radius: 11px;
}

.country-information-warning > span {
  color: #9b5a00;
  font-size: 26px;
  line-height: 1;
}

.country-information-warning strong {
  display: block;
  margin-bottom: 4px;
  color: #5a3300;
  font-size: 13px;
}

.country-information-warning p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.country-information-list dd,
.country-information-custom {
  overflow-wrap: anywhere;
  white-space: pre-line;
}

@media (max-width: 660px) {
  .country-information-list {
    grid-template-columns: 1fr;
  }

  .country-information-dialog {
    max-height: calc(100vh - 16px);
    border-radius: 14px;
  }

  .country-information-drag,
  .country-information-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .country-information-warning {
    margin-right: 16px;
    margin-left: 16px;
  }
}

@media (max-width: 520px) {
  .header-inner {
    width: calc(100% - 16px);
  }

  .brand {
    flex-basis: 136px;
    width: 136px;
    min-width: 136px;
    padding-right: 6px;
  }

  .brand img {
    width: 130px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .header-actions {
    gap: 6px;
    margin-left: 6px;
  }

  .header-actions .icon-button,
  .night-mode-toggle {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .language-toggle {
    width: 40px;
    min-width: 40px;
    min-height: 36px;
    padding-inline: 5px;
  }

  .language-toggle img {
    width: 25px;
    height: 17px;
  }
}

.associate-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  align-items: stretch;
}

.associate-copy {
  align-self: center;
}

.associate-copy .button {
  margin-top: 24px;
}

.associate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sponsor-area {
  padding: 24px;
  background: #eef3fb;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.sponsor-card,
.sponsor-placeholder {
  display: grid;
  grid-column: span 1;
  min-height: 112px;
  place-items: center;
  padding: 14px;
  text-align: center;
  background: var(--white);
  border: 1px dashed #aec0d7;
  border-radius: 10px;
}

.sponsor-card {
  border-style: solid;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.sponsor-card.sponsor-senior-partner {
  grid-column: 1 / -1;
  min-height: 132px;
  background: linear-gradient(145deg, #fffdf4, #ffffff);
  border-color: rgba(242, 183, 5, 0.72);
  box-shadow: 0 10px 28px rgba(242, 183, 5, 0.1);
}

.sponsor-card.sponsor-partner {
  grid-column: span 2;
  border-color: rgba(0, 59, 143, 0.34);
}

.sponsor-card.sponsor-associate-member {
  grid-column: span 2;
  background: linear-gradient(145deg, #eef6ff, #ffffff);
  border-color: rgba(79, 135, 204, 0.55);
}

.sponsor-card.sponsor-sponsor {
  grid-column: span 1;
  background: rgba(255, 255, 255, 0.82);
}

.sponsor-card.sponsor-benefactor {
  grid-column: span 1;
  background: linear-gradient(145deg, #f7f4ea, #ffffff);
  border-color: rgba(104, 85, 41, 0.34);
}

.sponsor-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.sponsor-card img {
  width: 100%;
  height: 60px;
  object-fit: contain;
}

.sponsor-card span,
.sponsor-placeholder {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.sponsor-card small {
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sponsor-card.sponsor-senior-partner small {
  color: #946d00;
}

.sponsor-card.sponsor-associate-member small {
  color: #245f9f;
}

.sponsor-card.sponsor-size-full {
  grid-column: 1 / -1;
  min-height: 144px;
}

.sponsor-card.sponsor-size-half {
  grid-column: span 2;
  min-height: 126px;
}

.sponsor-card.sponsor-size-quarter {
  grid-column: span 1;
}

.associate-directory-intro {
  max-width: 900px;
  padding-top: 66px;
  padding-bottom: 58px;
}

.associate-directory-intro h2 {
  margin: 0 0 14px;
  color: var(--navy-deep);
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  text-transform: uppercase;
}

.associate-directory-band,
.media-gallery-band {
  padding: 70px 0 90px;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.associate-directory-band .section-heading,
.media-gallery-band .section-heading {
  color: var(--navy-deep);
}

.associate-directory-band .section-heading > p,
.media-gallery-band .section-heading > p {
  max-width: 390px;
  color: var(--muted);
}

/* Keep both dynamic public directories light and highly legible. */

.associate-directory-grid {
  display: grid;
  grid-template-columns: repeat(16, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.associate-directory-card {
  display: grid;
  grid-column: span 4;
  min-width: 0;
  min-height: 180px;
  align-content: center;
  justify-items: center;
  gap: 8px;
  padding: 22px;
  overflow: hidden;
  color: var(--navy-deep);
  text-align: center;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0, 12, 40, 0.18);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.associate-directory-card:hover,
.associate-directory-card:focus-visible {
  border-color: var(--gold);
  box-shadow: 0 22px 48px rgba(0, 12, 40, 0.28);
  transform: translateY(-4px);
}

.associate-directory-card img {
  width: 100%;
  height: clamp(72px, 9vw, 125px);
  object-fit: contain;
}

.associate-directory-card small {
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.associate-directory-card strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
}

.associate-directory-card > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
}

.associate-size-full { grid-column: 1 / -1; min-height: 270px; }
.associate-size-half { grid-column: span 8; min-height: 235px; }
.associate-size-quarter { grid-column: span 4; }
.associate-size-eighth { grid-column: span 2; min-height: 150px; padding: 14px; }
.associate-size-sixteenth { grid-column: span 1; min-height: 112px; padding: 9px; }
.associate-size-eighth strong,
.associate-size-sixteenth strong { font-size: 11px; }
.associate-size-eighth > span,
.associate-size-sixteenth > span { display: none; }
.associate-size-sixteenth small,
.associate-size-sixteenth strong { display: none; }
.associate-size-sixteenth img { height: 72px; }

.associate-directory-empty,
.media-gallery-empty {
  display: grid;
  grid-column: 1 / -1;
  gap: 5px;
  justify-items: center;
  min-height: 190px;
  place-content: center;
  padding: 34px;
  color: var(--muted);
  text-align: center;
  background: var(--off-white);
  border: 1px dashed var(--border);
  border-radius: 14px;
}

.associate-directory-empty strong,
.media-gallery-empty strong {
  color: var(--navy-deep);
  font-size: 20px;
}

.associate-directory-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-top: 58px;
  padding-bottom: 58px;
}

.associate-directory-cta h2 {
  margin: 0;
  color: var(--navy-deep);
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  text-transform: uppercase;
}

.associate-directory-cta p {
  margin: 8px 0 0;
}

.media-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-height: min(72vh, 880px);
  padding: 10px 14px 10px 10px;
  margin-top: 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: var(--blue) var(--soft-blue);
  scrollbar-gutter: stable;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.media-gallery-grid:focus-visible {
  outline-offset: 5px;
}

.media-gallery-pagination {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.media-gallery-card {
  overflow: hidden;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0, 12, 40, 0.18);
}

.media-gallery-media,
.media-gallery-card iframe {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  background: #00173f;
  border: 0;
}

.media-gallery-card iframe {
  aspect-ratio: 16 / 10;
}

button.media-gallery-media {
  color: var(--white);
  text-align: left;
}

.media-gallery-image-button {
  cursor: zoom-in;
}

.media-gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease, opacity 220ms ease;
}

button.media-gallery-media:hover img,
button.media-gallery-media:focus-visible img {
  opacity: 0.78;
  transform: scale(1.025);
}

.media-gallery-enlarge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0, 12, 40, 0.28);
  font-size: 19px;
  font-weight: 900;
}

.media-video-placeholder {
  display: grid;
  height: 100%;
  place-items: center;
  font-size: 54px;
  background: radial-gradient(circle at 50% 44%, rgba(255, 210, 63, 0.24), transparent 24%), linear-gradient(145deg, var(--blue), var(--navy-deep));
}

.media-play {
  position: absolute;
  inset: auto 18px 18px;
  display: flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  padding: 9px 13px;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
}

.media-gallery-copy {
  padding: 20px 22px 24px;
}

.media-gallery-copy small {
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.media-gallery-copy h3 {
  margin: 5px 0 7px;
  color: var(--navy-deep);
  font-size: 19px;
  line-height: 1.2;
}

.media-gallery-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.media-lightbox {
  position: fixed;
  z-index: 380;
  inset: 0;
  display: grid;
  padding: clamp(10px, 2.5vw, 34px);
  place-items: center;
  background: rgba(0, 12, 36, 0.94);
  background: color-mix(in srgb, var(--navy-deep) 94%, transparent);
  backdrop-filter: blur(10px);
}

.media-lightbox-dialog {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  width: min(1240px, 100%);
  max-height: calc(100svh - clamp(20px, 5vw, 68px));
  min-height: 0;
  padding: 14px;
  color: var(--white);
  background: var(--navy-deep);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 18px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.55);
  animation: media-lightbox-enter 160ms ease-out both;
}

@keyframes media-lightbox-enter {
  from { opacity: 0; transform: translateY(8px) scale(0.992); }
  to { opacity: 1; transform: none; }
}

.media-lightbox-toolbar {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  padding-left: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-lightbox-close,
.media-lightbox-nav {
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.42);
  transition: color 140ms ease, background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.media-lightbox-close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.media-lightbox-nav {
  align-self: center;
  width: 52px;
  height: 64px;
  border-radius: 12px;
  font-size: 25px;
}

.media-lightbox-previous { grid-column: 1; grid-row: 2; }
.media-lightbox-next { grid-column: 3; grid-row: 2; }

.media-lightbox-close:hover,
.media-lightbox-close:focus-visible,
.media-lightbox-nav:hover,
.media-lightbox-nav:focus-visible {
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.media-lightbox-nav:disabled {
  cursor: not-allowed;
  opacity: 0.32;
  transform: none;
}

.media-lightbox-dialog > figure {
  display: grid;
  grid-column: 2;
  grid-row: 2;
  grid-template-rows: minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.media-lightbox-stage {
  display: grid;
  min-height: 0;
  overflow: hidden;
  place-items: center;
  background: #00091c;
  border-radius: 12px 12px 0 0;
}

.media-lightbox-stage img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 65svh;
  object-fit: contain;
}

.media-lightbox-dialog figcaption {
  max-height: 22svh;
  padding: 15px 18px 17px;
  overflow-y: auto;
  color: var(--white);
  background: rgba(255, 255, 255, 0.075);
  border-radius: 0 0 12px 12px;
}

.media-lightbox-dialog figcaption h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.15;
}

.media-lightbox-dialog figcaption p {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.5;
}

.media-lightbox-help {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  font-size: 12px;
}

@media (max-width: 980px) {
  .associate-directory-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .associate-size-full { grid-column: 1 / -1; }
  .associate-size-half { grid-column: span 8; }
  .associate-size-quarter { grid-column: span 4; }
  .associate-size-eighth { grid-column: span 2; }
  .associate-size-sixteenth { grid-column: span 1; }
  .media-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .associate-actions,
  .associate-directory-cta { align-items: stretch; flex-direction: column; }
  .associate-actions .button,
  .associate-directory-cta .button { width: 100%; }
  .associate-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .associate-directory-card,
  .associate-size-full,
  .associate-size-half,
  .associate-size-quarter { grid-column: 1 / -1; min-height: 170px; }
  .associate-size-eighth,
  .associate-size-sixteenth { grid-column: span 1; min-height: 125px; }
  .associate-size-eighth small,
  .associate-size-eighth strong,
  .associate-size-sixteenth small,
  .associate-size-sixteenth strong { display: block; }
  .media-gallery-grid {
    grid-template-columns: 1fr;
    max-height: 68svh;
    padding: 8px;
    scrollbar-gutter: auto;
  }

  .media-lightbox {
    padding: 8px;
  }

  .media-lightbox-dialog {
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    gap: 6px;
    max-height: calc(100svh - 16px);
    padding: 8px;
    border-radius: 12px;
  }

  .media-lightbox-toolbar {
    min-height: 38px;
    padding-left: 4px;
  }

  .media-lightbox-close {
    width: 38px;
    height: 38px;
  }

  .media-lightbox-nav {
    width: 42px;
    height: 54px;
  }

  .media-lightbox-stage img {
    max-height: 62svh;
  }

  .media-lightbox-dialog figcaption {
    padding: 12px 13px 14px;
  }

  .media-lightbox-help {
    display: none;
  }
}

.event-list {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.event-list:empty {
  display: none;
}

.event-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.event-card[open] {
  border-color: rgba(0, 59, 143, 0.38);
  box-shadow: var(--shadow-sm);
}

.event-card summary {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 38px;
  gap: 20px;
  align-items: center;
  padding: 20px;
  list-style: none;
}

.event-card summary::-webkit-details-marker {
  display: none;
}

.event-card summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--blue);
  background: var(--soft-blue);
  border-radius: 6px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.event-card[open] summary::after {
  content: "−";
}

.event-card-date {
  display: grid;
  place-items: center;
  min-height: 84px;
  color: var(--navy-deep);
  background: var(--gold);
  border: 1px solid var(--gold-deep);
  border-radius: 10px;
  font-family: var(--display);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.event-card.event-tone-eaf .event-card-date {
  color: var(--white);
  background: var(--navy);
  border-color: var(--gold);
}

.event-card.event-tone-international .event-card-date {
  color: var(--navy-deep);
  background: #d9efff;
  border-color: #9ecceb;
}

.event-card.event-tone-associate .event-card-date {
  color: var(--blue);
  background: var(--white);
  border-color: var(--blue);
}

.event-card.event-tone-other .event-card-date {
  color: var(--navy-deep);
  background: var(--gold);
  border-color: var(--gold-deep);
}

.event-card.event-tone-neutral .event-card-date {
  color: #111827;
  background: #edf0f3;
  border-color: #c7cdd4;
}

.event-card-date small {
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.event-card h3 {
  font-size: 27px;
}

.event-card-summary .eyebrow {
  margin: 0 0 12px;
}

.event-card-summary > p:last-child {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.event-card-details {
  display: grid !important;
  grid-template-rows: 0fr;
  padding: 0 20px 0 126px;
  overflow: hidden;
  color: #344d73;
  background: #f7f9fc;
  border-top: 1px solid transparent;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows 190ms cubic-bezier(0.22, 0.72, 0.28, 1),
    padding 190ms cubic-bezier(0.22, 0.72, 0.28, 1),
    border-color 150ms ease,
    opacity 130ms ease,
    visibility 0s linear 190ms;
}

.event-card[open] .event-card-details {
  grid-template-rows: 1fr;
  padding: 20px 20px 22px 126px;
  border-top-color: var(--border);
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.event-card-details-inner {
  min-height: 0;
  overflow: hidden;
}

@keyframes event-details-in {
  from {
    opacity: 0;
    transform: translateY(-5px) scaleY(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.event-card-details p {
  margin: 0;
  font-size: 14px;
}

.event-card-details .event-organiser {
  margin-top: 12px;
  color: var(--navy-deep);
  font-size: 12px;
}

.event-recurrence-label {
  display: inline-flex;
  margin-top: 12px;
  padding: 5px 8px;
  color: var(--navy-deep);
  background: #dbeafe;
  border: 1px solid #9bbcec;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 850;
  text-transform: capitalize;
}

.event-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.event-card-actions .button {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 11px;
}

.calendar-panel.grid-view .event-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.calendar-panel.grid-view .event-card summary {
  position: relative;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.calendar-panel.grid-view .event-card summary::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 30px;
  height: 30px;
  font-size: 20px;
}

.calendar-panel.grid-view .event-card-date {
  min-height: 72px;
  font-size: 29px;
}

.calendar-panel.grid-view .event-card h3 {
  padding-right: 8px;
  font-size: 23px;
}

.calendar-panel.grid-view .event-card-details {
  padding: 0 18px;
}

.calendar-panel.grid-view .event-card[open] .event-card-details {
  padding: 18px;
}

.calendar-filters .past-event-toggle {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  align-self: end;
  min-height: 32px;
  font-size: 13px;
  font-weight: 800;
}

.calendar-filters .past-event-toggle input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
}

.form-status {
  min-height: 1.5em;
  margin-top: 14px;
  font-weight: 750;
}

.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.managed-article {
  max-width: 900px;
  padding-block: 72px 96px;
}

.managed-article-frame {
  max-width: 900px;
  padding-block: 52px 96px;
}

.managed-article-frame .managed-article {
  padding-block: 4px 0;
}

.managed-news-subhero::before {
  background-position: center;
}

.managed-article .article-kicker {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.prose .static-news-kicker {
  display: flex;
  align-items: center;
  margin: 0 0 22px;
}

.managed-article .article-kicker span:not(.news-tag) {
  padding: 6px 10px;
  color: var(--navy-deep);
  background: var(--gold);
  border-radius: 999px;
}

.home-event-mini {
  --home-event-bg: #002b6f;
  --home-event-bg-hover: #07468f;
  --home-event-border: var(--gold);
  --home-event-text: var(--white);
  --home-event-meta: #b8c8dc;
  --home-event-accent: var(--gold);
  --home-event-action: #9bd5ff;
  --home-event-focus: #85caff;
  display: grid;
  gap: 3px;
  margin-top: 14px;
  padding: 13px 14px;
  color: var(--home-event-text);
  background: var(--home-event-bg);
  border: 1px solid var(--home-event-border);
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, outline-color 140ms ease;
}

.home-event-mini:first-child {
  margin-top: 0;
}

.home-event-mini.event-tone-eaf {
  --home-event-bg: #002b6f;
  --home-event-bg-hover: #07468f;
  --home-event-border: var(--gold);
  --home-event-text: var(--white);
  --home-event-meta: #b8c8dc;
  --home-event-accent: var(--gold);
  --home-event-action: #9bd5ff;
  --home-event-focus: #85caff;
}

.home-event-mini.event-tone-international {
  --home-event-bg: #d9efff;
  --home-event-bg-hover: #c4e6ff;
  --home-event-border: #9ecceb;
  --home-event-text: var(--navy-deep);
  --home-event-meta: #163f68;
  --home-event-accent: var(--navy-deep);
  --home-event-action: #163f68;
  --home-event-focus: #2678be;
}

.home-event-mini.event-tone-other {
  --home-event-bg: var(--gold);
  --home-event-bg-hover: #ffdc4f;
  --home-event-border: var(--gold-deep);
  --home-event-text: var(--navy-deep);
  --home-event-meta: var(--navy-deep);
  --home-event-accent: var(--navy-deep);
  --home-event-action: var(--navy-deep);
  --home-event-focus: var(--navy-deep);
}

.home-event-mini.event-tone-neutral {
  --home-event-bg: #edf0f3;
  --home-event-bg-hover: #e1e5e9;
  --home-event-border: #c7cdd4;
  --home-event-text: #111827;
  --home-event-meta: #374151;
  --home-event-accent: #111827;
  --home-event-action: #111827;
  --home-event-focus: #6b7280;
}

.home-event-mini.event-tone-associate {
  --home-event-bg: var(--white);
  --home-event-bg-hover: #edf7ff;
  --home-event-border: #2678be;
  --home-event-text: var(--blue);
  --home-event-meta: var(--blue);
  --home-event-accent: var(--blue);
  --home-event-action: var(--blue);
  --home-event-focus: #2678be;
}

.home-event-mini:hover,
.home-event-mini:focus-visible {
  color: var(--home-event-text);
  background: var(--home-event-bg-hover);
  border-color: var(--home-event-border);
  box-shadow: 0 8px 20px rgba(0, 18, 51, 0.18);
}

.home-event-mini:focus-visible {
  outline: 3px solid var(--home-event-focus);
  outline-offset: 2px;
  box-shadow: 0 8px 20px rgba(0, 18, 51, 0.18);
}

.home-event-mini time {
  color: var(--home-event-accent);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.home-event-mini strong {
  color: var(--home-event-text);
}

.home-event-mini span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--home-event-meta);
  font-size: 12px;
}

.home-event-mini span b {
  color: var(--home-event-action);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.home-emergency-alert {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: clamp(34px, 5vw, 82px);
  left: clamp(34px, 5vw, 82px);
  min-height: clamp(260px, 48%, 390px);
  max-height: calc(100% - clamp(76px, 12vh, 128px));
  padding: 0;
  color: var(--white);
  background: transparent;
  transform: translateY(-50%);
}

.home-emergency-alert > .page-shell {
  width: 100%;
  height: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
  padding: clamp(30px, 4.5vw, 62px);
  overflow: auto;
  color: var(--white);
  background: linear-gradient(120deg, rgba(196, 15, 28, 0.94), rgba(132, 8, 19, 0.96));
  border: 3px solid rgba(255, 111, 121, 0.86);
  border-radius: 20px;
  box-shadow: 0 28px 72px rgba(69, 0, 7, 0.38);
  text-align: left;
  backdrop-filter: blur(6px);
}

.home-emergency-alert > .page-shell > span {
  display: grid;
  place-items: center;
  width: clamp(52px, 6vw, 76px);
  height: clamp(52px, 6vw, 76px);
  color: var(--white);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
}

.home-emergency-alert > .page-shell > div {
  width: min(100%, 1020px);
}

.home-emergency-alert .eyebrow {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.86);
}

.home-emergency-alert h2 {
  color: var(--white);
  font-size: clamp(29px, 4vw, 52px);
  line-height: 1.08;
}

.home-emergency-alert [data-emergency-alert-body] {
  color: var(--white);
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.55;
}

.home-emergency-alert [data-emergency-alert-body] a {
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-emergency-alert [data-emergency-alert-body] > :last-child {
  margin-bottom: 0;
}

.has-emergency-alert .hero-inner {
  min-height: min(760px, calc(100svh - var(--header-height)));
  padding-top: 66px;
}

.has-emergency-alert .hero h1 {
  font-size: clamp(64px, 7.4vw, 108px);
}

.has-emergency-alert .scroll-cue {
  display: none;
}

.nav-alert-indicator {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 46px;
  min-height: 46px;
  padding: 0 13px;
  color: #fff;
  background: #a30f1c;
  border: 2px solid #ff8a93;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(80, 0, 8, 0.28);
}

.nav-alert-indicator[hidden] {
  display: none !important;
}

.nav-alert-indicator .alert-symbol {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.nav-alert-indicator .alert-symbol-yellow {
  display: none;
}

.nav-alert-indicator[data-alert-type="yellow"] {
  color: var(--navy-deep);
  background: #ffd23f;
  border-color: #ffe486;
  box-shadow: var(--shadow-gold);
}

.nav-alert-indicator[data-alert-type="yellow"] .alert-symbol-red {
  display: none;
}

.nav-alert-indicator[data-alert-type="yellow"] .alert-symbol-yellow {
  display: block;
}

.nav-alert-indicator[data-alert-type="green"] {
  color: #fff;
  background: #17643d;
  border-color: #7bd0a4;
  box-shadow: 0 8px 22px rgba(4, 55, 31, 0.28);
}

.nav-alert-indicator[data-alert-type="green"] .nav-alert-icon {
  display: none;
}

.nav-alert-indicator:hover,
.nav-alert-indicator:focus-visible,
.nav-alert-indicator[aria-expanded="true"] {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.global-emergency-alert {
  --alert-foreground: #fff;
  --alert-border: rgba(255, 132, 142, 0.92);
  --alert-background: linear-gradient(120deg, rgba(196, 15, 28, 0.98), rgba(126, 7, 18, 0.99));
  --alert-top-gap: 28px;
  position: fixed;
  z-index: 145;
  top: calc(var(--header-height) + var(--alert-top-gap));
  left: 50%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(18px, 3vw, 38px);
  align-items: center;
  width: min(1280px, calc(100% - 48px));
  max-height: calc(100dvh - var(--header-height) - var(--alert-top-gap) - 16px);
  padding: clamp(28px, 4vw, 54px);
  padding-right: clamp(72px, 7vw, 94px);
  overflow: auto;
  color: var(--alert-foreground);
  background: var(--alert-background);
  border: 3px solid var(--alert-border);
  border-radius: 20px;
  box-shadow: 0 28px 72px rgba(32, 0, 5, 0.42);
  transform: translateX(-50%);
  animation: public-alert-enter 180ms ease-out both;
}

body[data-page-href="index.html"] .global-emergency-alert {
  --alert-top-gap: clamp(78px, 10vh, 118px);
  top: calc(var(--header-height) + var(--alert-top-gap) - 2px);
}

body.has-public-alert-status .site-header {
  z-index: 160;
}

.global-emergency-alert[hidden] {
  display: none !important;
}

.global-emergency-alert[data-alert-type="yellow"] {
  --alert-foreground: var(--navy-deep);
  --alert-border: #ffe9a3;
  --alert-background: linear-gradient(120deg, #ffc400, #e8a900);
  box-shadow: 0 28px 72px rgba(94, 66, 0, 0.3);
}

.global-emergency-alert[data-alert-type="green"] {
  --alert-foreground: #fff;
  --alert-border: #82d8ac;
  --alert-background: linear-gradient(120deg, #1b7246, #0d4e2d);
  box-shadow: 0 28px 72px rgba(3, 48, 27, 0.34);
}

.global-emergency-alert-icon {
  display: grid;
  place-items: center;
  width: clamp(58px, 7vw, 86px);
  aspect-ratio: 1;
}

.global-emergency-alert-icon svg {
  width: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.global-emergency-alert-icon .alert-symbol-yellow {
  display: none;
}

.global-emergency-alert[data-alert-type="yellow"] .global-emergency-alert-icon .alert-symbol-red {
  display: none;
}

.global-emergency-alert[data-alert-type="yellow"] .global-emergency-alert-icon .alert-symbol-yellow {
  display: block;
}

.global-emergency-alert[data-alert-type="green"] .global-emergency-alert-icon {
  display: none;
}

.global-emergency-alert[data-alert-type="green"] {
  grid-template-columns: minmax(0, 1fr);
}

.global-emergency-alert-copy {
  min-width: 0;
}

.global-emergency-alert .eyebrow {
  margin-bottom: 5px;
  color: inherit;
  opacity: 0.84;
}

.global-emergency-alert h2 {
  margin: 0 0 12px;
  color: inherit;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.02;
}

.global-emergency-alert[data-alert-type="yellow"] h2,
.global-emergency-alert[data-alert-type="green"] h2 {
  font-size: clamp(29px, 3.8vw, 48px);
}

.global-emergency-alert [data-emergency-alert-body] {
  color: inherit;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
}

.global-emergency-alert [data-emergency-alert-body] a {
  color: inherit;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.global-emergency-alert [data-emergency-alert-body] > :last-child {
  margin-bottom: 0;
}

.global-emergency-alert-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  padding: 0;
  color: inherit;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid currentColor;
  border-radius: 8px;
  font-size: 28px;
  line-height: 1;
}

.global-emergency-alert[data-alert-type="yellow"] .global-emergency-alert-close {
  background: rgba(0, 43, 111, 0.08);
}

@keyframes public-alert-enter {
  from { opacity: 0; transform: translate(-50%, -12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 720px) {
  .nav-alert-indicator {
    min-width: 50px;
    height: 42px;
    min-height: 42px;
    padding-inline: 6px;
    font-size: 9px;
  }

  .nav-alert-indicator svg {
    display: none;
  }

  .global-emergency-alert {
    --alert-top-gap: 16px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    width: calc(100% - 20px);
    max-height: calc(100dvh - var(--header-height) - var(--alert-top-gap) - 8px);
    padding: 24px 56px 24px 20px;
    border-width: 2px;
    border-radius: 14px;
  }

  body[data-page-href="index.html"] .global-emergency-alert {
    --alert-top-gap: clamp(40px, 7vh, 64px);
  }

  .global-emergency-alert-icon {
    width: 44px;
  }

  .global-emergency-alert h2 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .global-emergency-alert[data-alert-type="yellow"] h2,
  .global-emergency-alert[data-alert-type="green"] h2 {
    font-size: clamp(26px, 8.5vw, 34px);
  }
}

@media (max-width: 1500px) {
  .header-actions .nav-alert-indicator {
    height: 42px;
    min-height: 42px;
  }
}

@media (max-width: 520px) {
  body.has-public-alert-status .header-actions .search-trigger,
  body.has-public-alert-status .header-actions .night-mode-toggle {
    display: none !important;
  }
}

.office-band {
  padding: 72px 0 86px;
  background: linear-gradient(180deg, var(--white), #edf3fb);
}

.office-heading {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
  gap: 56px;
  align-items: start;
  margin-bottom: 38px;
}

.office-heading h2 {
  font-size: clamp(48px, 6vw, 72px);
}

.office-heading .prose > :first-child {
  margin-top: 0;
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 1101px) {
  .office-grid[data-office-count="1"] {
    grid-template-columns: minmax(0, 250px);
    justify-content: center;
  }

  .office-grid[data-office-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 250px));
    justify-content: space-evenly;
  }

  .office-grid[data-office-count="3"] {
    grid-template-columns: repeat(3, minmax(0, 240px));
    justify-content: space-evenly;
  }

  .office-grid[data-office-count="4"] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: space-between;
  }
}

.office-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.office-portrait,
.office-portrait-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  color: #6b7f9b;
  background: linear-gradient(145deg, #edf3fb, #dce6f3);
  font-family: var(--display);
  font-size: 36px;
  font-weight: 900;
}

.office-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.person-portrait-placeholder {
  color: var(--blue);
  background: linear-gradient(145deg, #eef4fc, #dce7f5);
  font-family: var(--display);
  font-size: 42px;
  font-weight: 900;
}

.office-card > div:last-child {
  padding: 12px;
}

.office-card p {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.office-card h3 {
  font-size: 19px;
  line-height: 1.04;
}

.office-card span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.office-card.is-placeholder {
  box-shadow: none;
}

.organisation-empty {
  display: grid;
  grid-column: 1 / -1;
  gap: 5px;
  min-height: 150px;
  place-content: center;
  padding: 30px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed #aebcd0;
  border-radius: 12px;
  text-align: center;
}

.organisation-empty strong {
  color: var(--navy-deep);
  font-family: var(--display);
  font-size: 24px;
  text-transform: uppercase;
}

.managed-page-override {
  display: block !important;
}

.managed-page-override-shell {
  max-width: 940px;
  padding-block: 64px 82px;
}

.managed-page-override img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin-block: 24px;
  border-radius: 12px;
}

.managed-page-override img[width="320"] {
  width: 100%;
  max-width: 320px;
}

.managed-page-override img[width="640"] {
  width: 100%;
  max-width: 640px;
}

.managed-page-override img[width="960"] {
  width: 100%;
  max-width: 960px;
}

@media (max-height: 820px) and (min-width: 721px) {
  .scroll-cue {
    display: none;
  }
}

@media (max-width: 1100px) {
  .office-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .member-map-layout,
  .associate-callout {
    grid-template-columns: 1fr;
  }

  .europe-map-card {
    min-height: 0;
  }

  .discipline-card {
    grid-template-columns: 180px 62px 1fr;
  }

  .discipline-card > b {
    display: none;
  }

  .calendar-panel.grid-view .event-list {
    grid-template-columns: 1fr;
  }

  .office-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 860px) {
  .header-actions .nav-cta {
    display: none;
  }
}

@media (max-width: 1080px) {
  .home-emergency-alert {
    top: 50%;
    right: 20px;
    bottom: auto;
    left: 20px;
    min-height: min(430px, calc(100% - 56px));
    max-height: calc(100% - 42px);
  }

  .home-emergency-alert > .page-shell {
    width: 100%;
    height: 100%;
    padding: 26px 32px;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(84, 3, 10, 0.26);
  }

  .has-emergency-alert .hero-inner {
    min-height: min(760px, calc(100svh - var(--header-height)));
    padding-top: 66px;
    padding-right: 0;
    padding-bottom: 90px;
  }

  .has-emergency-alert .hero h1 {
    font-size: clamp(58px, 8.5vw, 94px);
  }

  .has-emergency-alert .scroll-cue {
    display: none;
  }
}

@media (max-width: 720px) {
  .home-emergency-alert {
    top: 50%;
    right: 14px;
    bottom: auto;
    left: 14px;
    min-height: min(480px, calc(100% - 36px));
    max-height: calc(100% - 28px);
  }

  .has-emergency-alert .hero-inner {
    min-height: 690px;
    padding-top: 70px;
    padding-bottom: 106px;
  }
}

@media (max-width: 620px) {
  .member-map-section {
    padding-bottom: 52px;
  }

  .europe-map-card {
    padding: 6px;
    border-radius: 14px;
  }

  .discipline-card {
    grid-template-columns: 56px 1fr;
    gap: 14px;
    padding: 12px;
  }

  .discipline-card-image {
    grid-column: 1 / -1;
    height: 190px;
  }

  .discipline-card > span {
    width: 54px;
    height: 54px;
  }

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

  .event-card summary {
    grid-template-columns: 70px 1fr;
    gap: 14px;
    padding: 14px;
  }

  .event-card summary::after {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 30px;
    height: 30px;
  }

  .event-card summary {
    position: relative;
  }

  .event-card-date {
    min-height: 70px;
    font-size: 29px;
  }

  .event-card h3 {
    padding-right: 20px;
    font-size: 23px;
  }

  .event-card-details {
    padding: 0 18px;
  }

  .event-card[open] .event-card-details {
    padding: 18px;
  }

  .calendar-pagination {
    grid-template-columns: 1fr 1fr;
    padding: 14px;
  }

  .calendar-pagination span {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .calendar-pagination button {
    width: 100%;
  }

  .home-emergency-alert > .page-shell {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 12px;
    padding: 22px 16px;
    text-align: center;
  }

  .home-emergency-alert > .page-shell > span {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .office-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sponsor-card.sponsor-size-full,
  .sponsor-card.sponsor-size-half {
    grid-column: 1 / -1;
  }

  .sponsor-card.sponsor-size-quarter,
  .sponsor-placeholder {
    grid-column: span 1;
  }
}

@media (max-width: 430px) {
  .office-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .media-lightbox-dialog {
    animation: none !important;
  }
}

@media (forced-colors: active) {
  .country-flag-art {
    display: none;
  }

  .country-flag-icon {
    border: 1px solid CanvasText;
    box-shadow: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .editorial-rail,
  .page-sequence,
  .scroll-progress,
  .back-to-top,
  .cookie-banner,
  .search-overlay,
  .modal-layer,
  .global-emergency-alert,
  .media-lightbox,
  .toast {
    display: none !important;
  }

  body {
    padding-top: 0;
    color: #000;
    background: #fff;
  }

  .subhero {
    min-height: auto;
    color: #000;
    background: #fff;
    border-bottom: 2px solid #000;
  }

  .subhero h1,
  .subhero .eyebrow,
  .subhero-intro,
  .breadcrumb,
  .breadcrumb a {
    color: #000;
  }

  .editorial-layout {
    display: block;
    width: 100%;
    padding: 30px 0;
  }

  .prose > p,
  .prose > address {
    color: #000;
  }

  a {
    text-decoration: none;
  }
}
.eaf-user-menu-wrap {
  position: relative;
}

.eaf-user-menu-toggle {
  border-color: rgba(255, 196, 0, .7);
  color: var(--eaf-gold, #ffc400);
}

.eaf-user-menu-toggle svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eaf-user-menu {
  background: #fff;
  border: 1px solid rgba(7, 50, 109, .18);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 23, 59, .22);
  min-width: 250px;
  padding: 10px;
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 120;
}

.eaf-user-menu::before {
  background: #fff;
  border-left: 1px solid rgba(7, 50, 109, .18);
  border-top: 1px solid rgba(7, 50, 109, .18);
  content: "";
  height: 12px;
  position: absolute;
  right: 18px;
  top: -7px;
  transform: rotate(45deg);
  width: 12px;
}

.eaf-user-menu a,
.eaf-user-menu button {
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: #062b65;
  display: block;
  font: inherit;
  font-weight: 850;
  padding: 10px;
  text-align: left;
  text-decoration: none;
  width: 100%;
}

.eaf-user-menu a:hover,
.eaf-user-menu button:hover {
  background: #edf4fc;
}

.eaf-user-menu small,
.eaf-user-menu em {
  color: #667692;
  display: block;
  font-size: .78rem;
  font-style: italic;
  font-weight: 650;
  margin-top: 2px;
}

.eaf-user-menu-identity {
  align-items: center;
  border-bottom: 1px solid #dfe8f2;
  display: grid;
  gap: 10px;
  grid-template-columns: 34px minmax(0, 1fr);
  margin-bottom: 8px;
  padding: 9px 10px 12px;
}

.eaf-user-menu-identity > span {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: 1.45rem;
}

.eaf-user-menu-identity strong {
  color: #062b65;
  display: block;
  overflow-wrap: anywhere;
}

.eaf-user-menu-loading {
  color: #667692;
  margin: 0;
  padding: 10px;
}

@media (max-width: 900px) {
  .eaf-user-menu {
    right: -72px;
  }
}
