/*
Theme Name: AASI – Aida Port
Theme URI: https://aasisport.dk/
Author: AASI
Description: WordPress-port af AASI-hjemmesiden oprettet i one.com Aida, med dansk/engelsk indhold og lokalt gemte billeder.
Version: 2.0.0
Text Domain: aasi-aida
*/
/* ==== SITE TOKENS ==== */
:root {
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --cream: #EFF5FB;
  --cream-deep: #DCE9F7;
  --ink: #10233F;
  --ink-soft: #3A5170;
  --plum: #0F2A4A;
  --coral: #1D6FE0;
  --coral-deep: #14509F;
  --gold: #4FB8E8;
  --sage: #2E7DA8;
  --white: #FFFFFF;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;

  --shadow-soft: 0 20px 45px -20px rgba(36, 27, 46, 0.35);
  --shadow-card: 0 12px 30px -12px rgba(36, 27, 46, 0.18);

  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0;
  line-height: 1.08;
  font-weight: 600;
}

p { margin: 0; }

button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-deep);
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--coral-deep); }

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

.btn-light {
  background: var(--cream);
  color: var(--ink);
}
.btn-light:hover { transform: translateY(-2px); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

:focus-visible {
  outline: 3px solid var(--coral-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* lace / stitch divider - signature motif referencing sports lacing */
.lace-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 28px;
  margin: 0 auto;
  color: var(--coral);
  opacity: 0.75;
}

/* ==== HEADER ==== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 245, 233, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(36, 27, 46, 0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.brand__mark {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--coral-deep);
}
.brand__mark--light { color: var(--gold); }
.brand__full {
  font-size: 12px;
  color: var(--ink-soft);
  max-width: 150px;
  line-height: 1.25;
  display: none;
}
@media (min-width: 860px) { .brand__full { display: block; } }

.nav-desktop { display: none; align-items: center; gap: 28px; }
@media (min-width: 1020px) { .nav-desktop { display: flex; } }

.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
  padding: 8px 2px;
  background: none;
  border: none;
}
.nav-link:hover, .nav-link.active { color: var(--coral-deep); }
.nav-link--btn { display: inline-flex; align-items: center; gap: 6px; }
.nav-cta { padding: 10px 22px; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.lang-toggle__btn {
  background: none;
  border: none;
  padding: 4px 3px;
  color: var(--ink-soft);
  font-weight: 600;
  cursor: pointer;
}
.lang-toggle__btn--active { color: var(--coral-deep); text-decoration: underline; text-underline-offset: 3px; }
.lang-toggle__divider { color: var(--ink-soft); opacity: 0.5; }
.mobile-lang-toggle { margin-bottom: 18px; font-size: 13px; }

.nav-dropdown { position: relative; }
.nav-dropdown__panel {
  position: absolute;
  top: 100%;
  left: -16px;
  margin-top: 0;
  padding-top: 14px;
  background: transparent;
  min-width: 180px;
  display: flex;
  flex-direction: column;
}
.nav-dropdown__panel-inner {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 10px;
  display: flex;
  flex-direction: column;
}
.nav-dropdown__item {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
}
.nav-dropdown__item:hover { background: var(--cream-deep); color: var(--coral-deep); }

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--ink);
  padding: 6px;
}
@media (min-width: 1020px) { .nav-toggle { display: none; } }

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 27, 46, 0.45);
  z-index: 50;
}
.mobile-drawer {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(320px, 86vw);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.mobile-drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.mobile-drawer__close { background: none; border: none; color: var(--ink); padding: 6px; }
.mobile-drawer__nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer__link {
  font-weight: 700;
  font-size: 17px;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(36,27,46,0.08);
}
.mobile-drawer__link--sub {
  font-size: 15px;
  font-weight: 600;
  padding: 10px 12px 10px 18px;
  margin-left: 4px;
  color: var(--ink-soft);
  background: rgba(36, 27, 46, 0.05);
  border-bottom: none;
  border-radius: 8px;
  border-left: 3px solid transparent;
}
.mobile-drawer__link--sub + .mobile-drawer__link--sub { margin-top: 2px; }
.mobile-drawer__link--sub.active,
.mobile-drawer__link--sub[aria-current="page"] {
  color: var(--coral-deep);
  background: rgba(216, 94, 63, 0.12);
  border-left-color: var(--coral-deep);
}
.mobile-drawer__label {
  margin-top: 14px;
  padding-left: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

/* ==== HERO ==== */
.hero { padding: 56px 0 0; overflow: hidden; }
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 64px;
}
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.1fr 0.9fr; gap: 40px; } }

.hero--photo {
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero__inner--photo {
  grid-template-columns: 1fr;
  padding: 140px 0 110px;
  min-height: 560px;
  align-items: flex-end;
}
.hero__copy--onphoto { max-width: 720px; }
.hero__title--light { color: var(--white); }
.hero__lede--light { color: rgba(255,255,255,0.88); }

.hero__title {
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  margin-top: 14px;
}
.hero__title--accent { color: var(--coral); font-style: italic; }
.hero__lede {
  margin-top: 22px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero__stats > div { display: flex; flex-direction: column; }
.hero__stat-num { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--ink); }
.hero__stat-label { font-size: 13px; color: var(--ink-soft); }

.hero__visual { position: relative; }
.hero__visual-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/5;
}
.hero__visual-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transform: rotate(-3deg);
}

.hero__slideshow {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4/5;
  background: var(--ink);
}
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero__slideshow-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.hero__slideshow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero__slideshow-dot.is-active {
  background: var(--white);
  transform: scale(1.25);
}

/* ==== WHY US ==== */
.why { padding: 80px 0; background: var(--cream-deep); }
.why__intro { max-width: 640px; margin-bottom: 48px; }
.why__heading { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 12px; }
.why__lede { margin-top: 18px; color: var(--ink-soft); font-size: 17px; }
.why__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 780px) { .why__grid { grid-template-columns: repeat(3, 1fr); } }
.why__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}
.why__card-num {
  font-family: var(--font-mono);
  color: var(--coral);
  font-size: 14px;
  font-weight: 500;
}
.why__card h3 { margin-top: 14px; font-size: 21px; }
.why__card p { margin-top: 12px; color: var(--ink-soft); font-size: 15px; }

/* ==== DEPARTMENTS ==== */
.departments { padding: 84px 0; }
.departments__intro { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.departments__heading { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 12px; }
.departments__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) { .departments__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .departments__grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .departments__grid > a:nth-child(1) { grid-column: 1 / 3; }
  .departments__grid > a:nth-child(2) { grid-column: 3 / 5; }
  .departments__grid > a:nth-child(3) { grid-column: 5 / 7; }
  .departments__grid > a:nth-child(4) { grid-column: 2 / 4; }
  .departments__grid > a:nth-child(5) { grid-column: 4 / 6; }
}

.department-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.department-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.department-card__img { aspect-ratio: 5/4; overflow: hidden; }
.department-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.4s ease; }
.department-card__img img.is-bottom-framed { object-position: center bottom; }
.department-card:hover .department-card__img img { transform: scale(1.05); }
.department-card__body { padding: 22px 24px 26px; }
.department-card__body h3 { font-size: 21px; }
.department-card__body p { margin-top: 10px; color: var(--ink-soft); font-size: 14.5px; min-height: 44px; }
.department-card__link { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--coral-deep); font-size: 14px; }

/* ==== INSTAGRAM ==== */
.instagram { padding: 80px 0; background: var(--cream-deep); }
.instagram__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media (min-width: 860px) { .instagram__inner { grid-template-columns: auto 1fr; text-align: left; } }
.instagram__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background: var(--cream);
  box-shadow: var(--shadow-card);
  color: var(--coral);
}
@media (min-width: 860px) { .instagram__icon { margin: 0; } }
.instagram__icon svg { width: 48px; height: 48px; }
.instagram__copy h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 10px; }
.instagram__copy p { margin-top: 16px; color: var(--ink-soft); font-size: 16px; max-width: 50ch; }
.instagram__copy .btn { margin-top: 24px; }

/* ==== JOIN CTA ==== */
.join { padding: 76px 0; background: var(--ink); color: var(--white); }
.eyebrow--light { color: var(--gold); }
.join__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: space-between;
}
@media (min-width: 860px) { .join__inner { flex-direction: row; align-items: center; } }
.join__heading { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-top: 10px; }
.join__lede { margin-top: 16px; color: rgba(255,253,248,0.75); font-size: 16px; max-width: 46ch; }
.join__actions { display: flex; flex-wrap: wrap; gap: 14px; flex-shrink: 0; }
.btn-outline--light { border-color: rgba(255,253,248,0.5); color: var(--white); }
.btn-outline--light:hover { background: var(--white); color: var(--ink); }

/* ==== FOOTER ==== */
.site-footer { background: var(--plum); color: rgba(255,253,248,0.85); padding: 64px 0 0; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer__brand p { margin-top: 14px; font-size: 14px; color: rgba(255,253,248,0.65); max-width: 34ch; }
.site-footer__heading {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.site-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__list a { font-size: 14.5px; }
.site-footer__list a:hover { color: var(--gold); }
.site-footer__social { display: flex; align-items: center; gap: 8px; font-size: 14.5px; margin-top: 10px; }
.site-footer__social:first-of-type { margin-top: 4px; }
.site-footer__social:hover { color: var(--gold); }
.site-footer__bottom {
  border-top: 1px solid rgba(255,253,248,0.12);
  padding: 20px 24px;
  font-size: 13px;
  color: rgba(255,253,248,0.55);
}

/* ==== DEPARTMENT PAGE ==== */
.dept-hero { padding: 48px 0 0; overflow: hidden; }
.dept-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 56px;
}
@media (min-width: 900px) { .dept-hero__inner { grid-template-columns: 0.85fr 1.15fr; } }
.dept-hero__title { font-size: clamp(2.2rem, 4.6vw, 3.2rem); margin-top: 12px; }
.dept-hero__lede { margin-top: 18px; color: var(--ink-soft); font-size: 17px; max-width: 48ch; }
.dept-hero__visual { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 16/9; }
.dept-hero__visual img { width: 100%; height: 100%; object-fit: cover; }

.dept-socials { padding: 36px 0 0; }
.dept-socials__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.dept-socials__label { font-weight: 600; color: var(--ink); font-size: 15px; margin: 0; }
.dept-socials__links { display: flex; flex-wrap: wrap; gap: 12px; }
.dept-socials__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.dept-socials__link:hover { background: var(--cream-deep); border-color: var(--accent); transform: translateY(-1px); }

.dept-notice { padding: 36px 0 0; }
.dept-notice__card {
  position: relative;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid rgba(29, 111, 224, 0.25);
  box-shadow: var(--shadow-card);
}
.dept-notice__badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dept-notice__title { margin-top: 14px; font-size: clamp(1.2rem, 2.4vw, 1.5rem); color: var(--ink); }
.dept-notice__text { margin-top: 10px; color: var(--ink-soft); font-size: 15.5px; max-width: 68ch; }
.dept-notice__link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--coral-deep);
  font-weight: 600;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dept-body { padding: 20px 0 76px; background: var(--cream-deep); }
.dept-body__grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-top: 56px; }
@media (min-width: 900px) { .dept-body__grid { grid-template-columns: 1.5fr 1fr; } }
.dept-body h2 { font-size: clamp(1.7rem, 3vw, 2.1rem); }
.dept-body__p { margin-top: 16px; color: var(--ink-soft); font-size: 16px; }

.dept-contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dept-contact-card h3 { margin-top: 10px; font-size: 20px; }
.dept-contact-card__role { color: var(--ink-soft); font-size: 14px; margin-bottom: 10px; }
.dept-contact-card a { display: block; margin-top: 6px; font-weight: 700; color: var(--coral-deep); font-size: 14.5px; }

.dept-section-heading { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-top: 10px; margin-bottom: 36px; }

.dept-teams { padding: 76px 0; }
.dept-teams__grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 720px) { .dept-teams__grid { grid-template-columns: repeat(2, 1fr); } }
.dept-teams__grid--teams { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
@media (min-width: 720px) { .dept-teams__grid--teams { grid-template-columns: repeat(2, 1fr); } }
.dept-teams__colheading { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-deep); margin-bottom: 14px; }
.dept-teams__list { display: flex; flex-direction: column; gap: 12px; list-style: none; padding: 0; margin: 0; }
.dept-teams__item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dept-teams__item--team { padding: 24px 26px; gap: 6px; }
.dept-teams__name { font-weight: 700; font-size: 16px; }
.dept-teams__league { color: var(--ink-soft); font-size: 14px; }
.dept-teams__coaches { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 16px; }
.dept-teams__coach { display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid var(--cream-deep); }
.dept-teams__coach:first-child { padding-top: 0; border-top: none; }
.dept-teams__coach-name { font-weight: 700; font-size: 14px; }
.dept-teams__coach-role { color: var(--coral-deep); font-size: 12px; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.dept-teams__coach-detail { color: var(--ink-soft); font-size: 13px; }
.dept-teams__coach-detail a { color: var(--ink-soft); }

.dept-teams--crew .dept-section-heading { margin-bottom: 32px; }
.dept-teams__crew-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 560px) { .dept-teams__crew-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .dept-teams__crew-grid { grid-template-columns: repeat(4, 1fr); } }
.dept-teams__crew-member {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-card);
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}

.dept-training { padding: 76px 0; background: var(--cream-deep); }
.dept-training__note {
  font-size: 15px;
  color: var(--ink-soft);
  margin: -8px 0 24px;
  max-width: 60ch;
}
.dept-training__note a {
  color: var(--coral-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dept-training__grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .dept-training__grid { grid-template-columns: repeat(2, 1fr); } }
.dept-training__card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dept-training__group {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--coral-deep);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 2px;
}
.dept-training__day { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-deep); }
.dept-training__time { font-weight: 700; font-size: 18px; }
.dept-training__location { color: var(--ink-soft); font-size: 14.5px; }
.dept-training__signup {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  color: var(--coral-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.dept-training__signup:hover { color: var(--ink); }

.dept-venue { padding: 76px 0; }
.dept-venue__inner { max-width: 68ch; }
.dept-venue__p { margin-top: 16px; color: var(--ink-soft); font-size: 16px; }
.dept-venue__p:first-of-type { margin-top: 8px; }

.dept-pricing { padding: 76px 0; }
.dept-pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; }
@media (max-width: 720px) { .dept-pricing__grid { grid-template-columns: 1fr; } }
.dept-pricing__card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dept-pricing__plan { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-deep); }
.dept-pricing__price { font-weight: 700; font-size: 24px; }

.dept-cta { padding: 70px 0; background: var(--ink); color: var(--white); text-align: center; }
.dept-cta h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.3rem); }
.dept-cta p { margin-top: 14px; color: rgba(255,253,248,0.75); max-width: 44ch; margin-left: auto; margin-right: auto; }
.dept-cta .btn { margin-top: 26px; }

/* ==== SHARED PAGE HERO ==== */
.page-hero { padding: 56px 0 60px; }
.page-hero__inner { max-width: 720px; }
.page-hero__title { font-size: clamp(2.1rem, 4.4vw, 3.1rem); margin-top: 14px; }
.page-hero__lede { margin-top: 18px; color: var(--ink-soft); font-size: 17px; }

/* ==== ABOUT US ==== */
.about-hero-img { padding-bottom: 70px; }
.about-hero-img__frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); max-height: 480px; }
.about-hero-img__frame img { width: 100%; height: 100%; object-fit: cover; }

.about-mission { padding: 0 0 76px; }
.about-mission__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .about-mission__grid { grid-template-columns: 1.5fr 1fr; } }
.about-mission h2 { font-size: clamp(1.8rem, 3vw, 2.2rem); }
.about-mission__p { margin-top: 16px; color: var(--ink-soft); font-size: 16px; }
.about-mission__stats { display: flex; flex-direction: column; gap: 22px; background: var(--cream-deep); border-radius: var(--radius-lg); padding: 28px; align-self: start; }
.about-mission__stat { display: flex; flex-direction: column; }

.about-board { padding: 20px 0 76px; background: var(--cream-deep); }
.about-board__heading { font-size: clamp(1.8rem, 3vw, 2.2rem); margin-top: 12px; margin-bottom: 36px; }
.about-board__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 720px) { .about-board__grid { grid-template-columns: repeat(3, 1fr); } }
.board-card { background: var(--white); border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow-card); }
.board-card h3 { font-size: 19px; }
.board-card__role { margin-top: 6px; color: var(--coral-deep); font-weight: 600; font-size: 13px; margin-bottom: 12px; }
.board-card a { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-soft); font-weight: 600; }

.about-bylaws { padding: 20px 0 76px; }
.about-bylaws__inner { background: var(--cream-deep); border-radius: var(--radius-lg); padding: 44px; text-align: center; }
.about-bylaws__inner > div { max-width: 560px; margin: 0 auto; }
.about-bylaws h2 { margin-top: 8px; font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.about-bylaws__p { margin-top: 14px; color: var(--ink-soft); font-size: 16px; }
.about-bylaws .btn { margin-top: 22px; }

.about-sponsors-teaser { padding: 76px 0; }
.about-sponsors-teaser__inner { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 860px) { .about-sponsors-teaser__inner { grid-template-columns: 0.8fr 1.2fr; } }
.about-sponsors-teaser__logos { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-card); }
.about-sponsors-teaser__logos img { max-height: 60px; width: auto; object-fit: contain; }
.about-sponsors-teaser__p { margin-top: 14px; color: var(--ink-soft); font-size: 16px; }
.about-sponsors-teaser h2 { margin-top: 8px; font-size: clamp(1.6rem, 2.8vw, 2rem); }
.about-sponsors-teaser .btn { margin-top: 22px; }

.about-faq { padding: 20px 0 80px; background: var(--cream-deep); }
.about-faq__heading { font-size: clamp(1.8rem, 3vw, 2.2rem); margin-top: 12px; margin-bottom: 8px; }
.about-faq__group { margin-top: 40px; }
.about-faq__group-title { font-size: 15px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--coral-deep); font-weight: 700; margin-bottom: 18px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.faq-item__q { margin: 0; }
.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  padding: 20px 24px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.faq-item__trigger:focus-visible { outline: 2px solid var(--coral-deep); outline-offset: -2px; }
.faq-item__icon { flex-shrink: 0; font-size: 20px; line-height: 1; color: var(--coral-deep); font-weight: 700; }
.faq-item__panel { padding: 0 24px 20px; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.faq-item--open .faq-item__trigger { padding-bottom: 12px; }

/* ==== SPONSORS ==== */
.sponsors-main { padding-bottom: 76px; }
.sponsors-main__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 720px) { .sponsors-main__grid { grid-template-columns: repeat(2, 1fr); } }
.sponsor-main-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-card); }
.sponsor-main-card__logo { height: 70px; display: flex; align-items: center; margin-bottom: 18px; }
.sponsor-main-card__logo img { max-height: 70px; max-width: 220px; object-fit: contain; }
.sponsor-main-card h3 { font-size: 20px; }
.sponsor-main-card p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }

.sponsors-grid-section { padding: 20px 0 80px; background: var(--cream-deep); }
.sponsors-grid-section__heading { font-size: clamp(1.7rem, 2.8vw, 2.1rem); margin-top: 12px; margin-bottom: 36px; }
.sponsors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 640px) { .sponsors-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 940px) { .sponsors-grid { grid-template-columns: repeat(5, 1fr); } }
.sponsor-logo-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.sponsor-logo-card img { max-height: 48px; width: auto; object-fit: contain; }
.sponsor-logo-card span { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }

.sponsors-cta { padding: 70px 0; background: var(--ink); color: var(--white); text-align: center; }
.sponsors-cta h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.3rem); }
.sponsors-cta p { margin-top: 14px; color: rgba(255,253,248,0.75); }
.sponsors-cta .btn { margin-top: 26px; }

/* ==== CONTACT ==== */
.contact-main { padding-bottom: 90px; }
.contact-main__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 940px) { .contact-main__grid { grid-template-columns: 1.3fr 1fr; } }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form h2 { font-size: clamp(1.6rem, 2.6vw, 1.9rem); margin-bottom: 4px; }
.contact-form__field { display: flex; flex-direction: column; gap: 6px; }
.contact-form__field label { font-weight: 700; font-size: 14px; color: var(--ink); }
.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(36,27,46,0.15);
  background: var(--cream);
  color: var(--ink);
  resize: vertical;
}
.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--coral);
}
.contact-form .btn { align-self: flex-start; margin-top: 6px; }
.contact-form .btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.contact-form__status { font-size: 14.5px; padding: 12px 14px; border-radius: var(--radius-sm); }
.contact-form__status--success { background: rgba(111,143,99,0.15); color: #3F5A38; }
.contact-form__status--error { background: rgba(232,93,59,0.12); color: var(--coral-deep); }

.contact-side { display: flex; flex-direction: column; gap: 24px; }
.contact-side__card { background: var(--cream-deep); border-radius: var(--radius-lg); padding: 26px 24px; }
.contact-side__person { padding: 14px 0; border-bottom: 1px solid rgba(36,27,46,0.08); display: flex; flex-direction: column; gap: 2px; }
.contact-side__person:last-child { border-bottom: none; padding-bottom: 0; }
.contact-side__person:first-of-type { padding-top: 14px; }
.contact-side__name { font-weight: 700; font-size: 15px; }
.contact-side__role { font-size: 13px; color: var(--ink-soft); margin-bottom: 4px; }
.contact-side__person a { font-size: 13.5px; color: var(--coral-deep); font-weight: 600; }

.sponsors-strip { padding: 48px 0; background: var(--cream-deep); }
.sponsors-strip__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.sponsors-strip__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px; }
.sponsors-strip__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sponsors-strip__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.sponsors-strip__card img { max-height: 64px; max-width: 220px; width: auto; height: auto; object-fit: contain; }
.sponsors-strip__link { font-weight: 700; font-size: 14.5px; color: var(--coral-deep); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .sponsors-strip__card { padding: 18px 28px; }
  .sponsors-strip__card img { max-height: 48px; max-width: 160px; }
}

.sponsor-main-card__logo { min-height: 110px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.sponsor-main-card__logo img { max-height: 90px; max-width: 100%; object-fit: contain; }
.sponsors-main__grid { gap: 32px; }
.sponsor-main-card { padding: 44px 36px; }


/* ==== WORDPRESS PORT FIXES ==== */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.nav-dropdown__panel[hidden] { display: none !important; }
.aasi-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-form__status { margin: 4px 0 2px; }
.contact-form__status--success { background: rgba(46,125,168,.12); color: #194E6B; }
.contact-form__status--error { background: rgba(180,55,55,.10); color: #8A2D2D; }
.aasi-theme-note { font-size: 13px; color: var(--ink-soft); }
@media (max-width: 1019px) { .nav-dropdown__panel { display: none !important; } }


/* ==== USER-ADDED CONTENT SECTIONS (v1.2) ==== */
.aasi-custom-section { padding: 64px 0; }
.aasi-custom-section + .aasi-custom-section { padding-top: 8px; }
.aasi-custom-card {
  max-width: 880px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--shadow-card);
}
.aasi-custom-title { font-size: clamp(1.7rem, 3vw, 2.25rem); }
.aasi-custom-copy { margin-top: 16px; color: var(--ink-soft); font-size: 16px; white-space: pre-line; }
.aasi-custom-image-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--cream-deep);
}
.aasi-custom-image-frame img { width: 100%; max-height: 680px; object-fit: cover; }
.aasi-custom-split {
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.aasi-custom-split__copy { padding: clamp(28px, 5vw, 52px); align-self: center; }
.aasi-custom-split__media { min-height: 280px; background: var(--cream-deep); }
.aasi-custom-split__media img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
@media (min-width: 860px) {
  .aasi-custom-split { grid-template-columns: 1fr 1fr; }
}


/* AASI Frontend Editor: custom button blocks */
.aasi-builder-block--button { padding: 24px 0 58px; }
.aasi-custom-button-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.aasi-custom-button-row.is-centered { justify-content: center; }
.aasi-custom-button-row.is-right { justify-content: flex-end; }
