/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Arial', 'Helvetica', sans-serif;
  background: #f5f3ee;
  color: #1a1a1a;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── CSS Variables ── */
:root {
  --accent: #2c86b8;
  --accent-hover: #3a94d8;
  --navy: #1e2d42;
  --navy-dark: #141c2b;
  --cream: #f5f3ee;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-mid: #4a4540;
  --text-muted: #777;
  --text-light: #b0aaa0;
  --text-faint: #555;
  --border-accent: rgba(44, 134, 184, 0.2);
  --font-ui: 'Arial', 'Helvetica', sans-serif;
  --font-narrow: 'Arial Narrow', Arial, Helvetica, sans-serif;
  --section-pad: clamp(48px, 8vw, 80px) clamp(16px, 5vw, 64px);
  --max-width: 1200px;
}

/* ── Typography Utilities ── */
.section-label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-title--light { color: #f5f0e8; }

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 30px;
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

.btn-secondary {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid #c8c2b8;
  background: #fff;
  color: var(--text-dark);
  cursor: pointer;
  border-radius: 3px;
}

.btn-secondary:hover { background: #f5f2ec; }

.text-link {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 1px;
  transition: color 0.2s;
}
.text-link:hover { color: #1a5f96; }

/* ── Layout Container ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ═══════════════════════════
   NAVBAR
═══════════════════════════ */
header { display: block; }

#navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #1e2d42;
  padding: 0 clamp(16px, 4vw, 48px);
  margin-bottom: 2px;
  border-bottom: 1px solid #ffffff;
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  gap: 24px;
}

.navbar-logo { display: flex; align-items: center; flex-shrink: 0; }
.navbar-logo img { height: 85px; width: auto; }

.navbar-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: #d8e4f0;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-link:hover { color: #ffffff; }

.navbar-login {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  background: #0d1420;
  padding: 10px 22px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}
.navbar-login:hover { background: #1a2535; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  background: #1e2d42;
  padding: 16px clamp(16px, 5vw, 48px) 24px;
  border-top: 1px solid rgba(44, 134, 184, 0.3);
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { font-size: 15px; }

/* ═══════════════════════════
   HERO
═══════════════════════════ */
.dmc-hero-premium {
  margin-top: 0;
  position: relative;
  min-height: 520px;
  background:
    linear-gradient(90deg, rgba(7,18,30,.92) 0%, rgba(7,18,30,.75) 38%, rgba(7,18,30,.18) 72%, rgba(7,18,30,.05) 100%),
    url('/images/F4Plane.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 60px 7%;
  box-sizing: border-box;
}

.dmc-hero-content {
  max-width: 620px;
  color: #ffffff;
}

.dmc-hero-content h1 {
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 64px;
  line-height: .9;
  margin: 0 0 18px;
  color: #ffffff;
}

.dmc-hero-content h2 {
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  font-size: 30px;
  line-height: 1.05;
  margin: 0 0 18px;
  color: #2c86b8;
}

.dmc-hero-content p {
  font-size: 18px;
  font-weight: bold;
  margin: 0 0 30px;
  color: #ffffff;
}

.dmc-hero-buttons a {
  display: inline-block;
  padding: 14px 26px;
  margin: 6px 10px 6px 0;
  background: #2c86b8;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  border: 2px solid #2c86b8;
  font-family: "Arial Narrow", Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.dmc-hero-buttons a.secondary {
  background: rgba(255,255,255,.08);
  border-color: #ffffff;
}

.dmc-hero-buttons a:hover { opacity: .9; }

/* ═══════════════════════════
   FEATURE CARDS
═══════════════════════════ */
#features {
  background: var(--cream);
  padding: var(--section-pad);
}

.feature-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-top: 3px solid var(--accent);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.10); }
.feature-card img { width: 64px; height: 64px; object-fit: contain; }
.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  font-family: var(--font-ui);
}
.feature-card p { font-size: 15px; line-height: 1.65; color: var(--text-mid); }
.feature-card .text-link { margin-top: auto; }

/* ═══════════════════════════
   NEWS + EVENTS
═══════════════════════════ */
#news-events {
  background: var(--white);
  padding: var(--section-pad);
}

.news-events-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 64px;
}

.news-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.content-loading {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0;
}

.news-card {
  background: var(--white);
  border-left: 4px solid var(--accent);
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.news-card .date {
  font-family: var(--font-ui);
  font-size: 11.5px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.news-card h4 { font-size: 17px; font-weight: 700; color: var(--text-dark); line-height: 1.3; }
.news-card p { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); }
.news-card .text-link { margin-top: 4px; align-self: flex-start; }

.news-page {
  background: var(--white);
  padding: var(--section-pad);
  min-height: 50vh;
}

.news-page--detail {
  padding-top: clamp(48px, 8vw, 80px);
  padding-left: clamp(16px, 5vw, 64px);
  padding-right: clamp(16px, 5vw, 64px);
  padding-bottom: 80px;
}
.news-page .news-list { margin-top: 32px; }
.news-page-intro {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 52ch;
}
.news-empty {
  margin-top: 24px;
  font-size: 15px;
  color: var(--text-muted);
}

.news-article-back { display: inline-block; margin-bottom: 28px; }
.news-article-loading,
.news-article-error {
  font-size: 15px;
  color: var(--text-muted);
}
.news-article-error { color: var(--danger, #b91c1c); }
.news-article {
  margin-top: 8px;
  max-width: 720px;
  margin-bottom: 30px;
  padding-bottom: 30px;
}

/* Article detail: title block, then date directly under title, then gap before body */
.news-article-header {
  margin-bottom: 48px;
}

.news-article-header .news-article-title.section-title {
  margin-bottom: 6px;
}

.news-article-header .news-article-date {
  display: block;
  margin: 0;
}

.news-article-content {
  margin-top: 0;
}

.news-article-summary {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-mid);
  margin-bottom: 24px;
}
.news-article-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dark);
}
.news-article-body p { margin: 0 0 1em; }
.news-article-body h2,
.news-article-body h3 {
  margin: 1.5em 0 0.5em;
  color: var(--text-dark);
  line-height: 1.3;
}
.news-article-body ul,
.news-article-body ol {
  margin: 0 0 1em 1.25em;
  padding: 0;
}
.news-article-body a { color: var(--accent); text-decoration: underline; }
.news-article-body a:hover { color: #1a5f96; }
.news-article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.25em 0;
  border-radius: 4px;
}

/* About / CMS content pages (ClubExpress-style content layout) */
.content-page--about,
.content-page--cms {
  background: var(--cream);
  padding: 100px 16px 64px;
  min-height: 60vh;
}

.content-page-panel {
  max-width: 820px;
  margin: 0 auto;
  background: var(--white);
  padding: clamp(32px, 5vw, 48px) clamp(24px, 4vw, 40px);
  box-shadow: 0 2px 12px rgba(30, 45, 66, 0.08);
  border: 1px solid #e8e4dc;
}

.content-page-loading,
.content-page-error {
  font-size: 15px;
  color: var(--text-muted);
}

.content-page-error {
  color: #b91c1c;
}

.content-page-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--accent);
}

.content-page-title {
  font-family: var(--font-ui);
  font-size: clamp(28px, 4.5vw, 36px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin: 0;
}

.page-body {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid);
}

.page-body p {
  margin: 0 0 1.15em;
}

.page-body p:last-child {
  margin-bottom: 0;
}

.page-body h2,
.page-body h3 {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 2em 0 0.75em;
  padding-top: 1.25em;
  border-top: 1px solid #e0dcd4;
}

.page-body h2:first-child,
.page-body h3:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.page-body ul,
.page-body ol {
  margin: 0 0 1.15em 1.5em;
  padding: 0;
  color: var(--text-mid);
}

.page-body li {
  margin-bottom: 0.4em;
  line-height: 1.65;
}

.page-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.25em 0;
  border-radius: 4px;
}

.page-body ul {
  list-style-type: disc;
}

.page-body strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* Highlight callout — intro line only; following list uses normal body styles */
.page-body p.about-highlight {
  background: rgba(44, 134, 184, 0.12);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  margin: 1.15em 0;
  color: var(--text-dark);
}

.page-body p.about-highlight-intro,
.page-body p:has(+ ul),
.page-body blockquote:has(ul) > p:first-of-type,
.page-body .about-callout:has(ul) > p:first-of-type {
  background: rgba(44, 134, 184, 0.12);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  margin: 0 0 0.75em;
  color: var(--text-dark);
}

.page-body blockquote:has(ul),
.page-body .about-callout:has(ul) {
  background: none;
  border: none;
  padding: 0;
  margin: 1.25em 0 1.15em;
  font-style: normal;
}

/* Standalone blockquote (no list) — full callout box */
.page-body blockquote:not(:has(ul)),
.page-body .about-callout:not(:has(ul)) {
  background: rgba(44, 134, 184, 0.12);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  margin: 1.25em 0 1.15em;
  color: var(--text-dark);
  font-style: normal;
}

.page-body blockquote:not(:has(ul)) p,
.page-body .about-callout:not(:has(ul)) p {
  margin: 0 0 0.75em;
  color: var(--text-dark);
}

.page-body blockquote:not(:has(ul)) p:last-child,
.page-body .about-callout:not(:has(ul)) p:last-child {
  margin-bottom: 0;
}

.page-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-body a:hover {
  color: #1a5f96;
}

.about-leadership {
  margin-top: 0;
}

.about-leadership-title {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 2em 0 0.75em;
  padding-top: 1.25em;
  border-top: 1px solid #e0dcd4;
}

.about-leadership-list p {
  margin: 0 0 0.5em;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid);
}

.about-leadership-list p strong {
  color: var(--text-dark);
  font-weight: 700;
}

.about-page-actions,
.content-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #e0dcd4;
}

.about-page-actions .btn-primary,
.content-page-actions .btn-primary {
  text-decoration: none;
}

.meeting-schedule {
  margin: 0 0 1.15em;
  padding: 0;
}

.meeting-schedule > div {
  display: grid;
  grid-template-columns: minmax(5.5rem, auto) 1fr;
  gap: 0.35rem 1rem;
  margin-bottom: 0.65em;
}

.meeting-schedule dt {
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.meeting-schedule dd {
  margin: 0;
  color: var(--text-mid);
  line-height: 1.65;
}

/* Meetings page intentionally mirrors simpler ClubExpress content flow. */
.content-page--meetings .content-page-panel {
  max-width: 860px;
  padding: clamp(20px, 3vw, 28px) clamp(16px, 2.6vw, 24px);
  background: var(--white);
  border: 1px solid #e8e4dc;
  box-shadow: 0 2px 12px rgba(30, 45, 66, 0.08);
}

.content-page--meetings .content-page-header {
  margin-bottom: 18px;
  padding-bottom: 0;
  border-bottom: none;
}

.content-page--meetings .content-page-title {
  font-size: clamp(33px, 4.6vw, 40px);
  line-height: 1.18;
}

.content-page--meetings .page-body {
  font-size: 15px;
  line-height: 1.6;
}

.content-page--meetings .page-body h2 {
  font-size: 1.28rem;
  line-height: 1.3;
  margin: 1.45em 0 0.45em;
  padding-top: 0;
  border-top: none;
}

.content-page--meetings .page-body h2.meetings-section-heading {
  padding-bottom: 10px;
  margin-bottom: 0.75em;
  border-bottom: 3px solid var(--accent);
}

.content-page--meetings .page-body p {
  margin: 0 0 1em;
}

.content-page--meetings .page-body ul {
  margin: 0 0 1em 1.2em;
  line-height: 1.55;
}

.content-page--meetings .meeting-schedule > div {
  display: block;
  margin-bottom: 0.45em;
}

.content-page--meetings .meeting-schedule dt,
.content-page--meetings .meeting-schedule dd {
  display: inline;
}

.content-page--meetings .meeting-schedule dt::after {
  content: " ";
}

.content-page--meetings .page-body .meeting-schedule,
.content-page--meetings .page-body .meeting-schedule.meetings-info-highlight {
  background: rgba(44, 134, 184, 0.13);
  border-left: 4px solid var(--accent);
  padding: 14px 18px;
  margin: 0 0 1.2em;
  color: var(--text-dark);
}

.content-page--meetings .page-body .meetings-cta-block {
  margin-top: 1.7em;
  background: var(--navy);
  color: #fff;
  padding: 20px 22px;
}

.content-page--meetings .page-body .meetings-cta-block h2 {
  color: #fff;
  margin-top: 0;
  margin-bottom: 0.45em;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.32);
}

.content-page--meetings .page-body .meetings-cta-block p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0;
}

.content-page--meetings .page-body p.about-highlight-intro,
.content-page--meetings .page-body p:has(+ ul) {
  background: none;
  border-left: none;
  padding: 0;
  margin: 0 0 1em;
  color: var(--text-mid);
  box-shadow: none;
}

.content-page--meetings .page-body .meetings-cta-block .content-page-actions {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.content-page--meetings .page-body .meetings-cta-block .content-page-actions .btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.content-page--meetings .page-body .meetings-cta-block .content-page-actions .btn-primary:hover {
  background: #1f6d9a;
  color: #fff;
}

.content-page--meetings .content-page-actions {
  margin-top: 18px;
  padding-top: 6px;
  border-top: none;
}

.content-page-back {
  display: inline-block;
  margin-top: 28px;
}

@media (max-width: 600px) {
  .content-page--about,
  .content-page--cms {
    padding-top: 88px;
  }

  .about-page-actions,
  .content-page-actions {
    flex-direction: column;
  }

  .about-page-actions .btn-primary,
  .content-page-actions .btn-primary {
    text-align: center;
    width: 100%;
  }
}

/* 2026 Contest page (ClubExpress-style: title + full-width flyer) */
.content-page--contest {
  background: var(--cream);
  padding: 100px 16px 64px;
  min-height: 60vh;
}

.content-page--contest .content-page-panel {
  max-width: 900px;
}

.content-page--contest .content-page-header {
  margin-bottom: 24px;
}

.content-page--contest .page-body {
  line-height: 1.6;
}

.content-page--contest .page-body > p:only-child:has(> img:only-child),
.content-page--contest .page-body.contest-flyer-hero > img:only-child {
  margin: 0;
}

.content-page--contest .page-body img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto 20px;
  border-radius: 4px;
}

.content-page--contest .page-body iframe,
.content-page--contest .page-body .contest-flyer-embed {
  display: block;
  width: 100%;
  min-height: min(85vh, 1100px);
  border: 1px solid #e0dcd4;
  border-radius: 4px;
  background: #f8f6f1;
  margin-bottom: 20px;
}

.content-page--contest .page-body .contest-pdf-download,
.content-page--contest .page-body a.contest-pdf-download {
  display: inline-block;
  margin: 0 0 20px;
  padding: 12px 24px;
  background: var(--blue);
  color: #fff !important;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
}

.content-page--contest .page-body .contest-pdf-download:hover,
.content-page--contest .page-body a.contest-pdf-download:hover {
  background: var(--blue-dark, #236f94);
  color: #fff !important;
}

.content-page--contest .page-body .contest-pdf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin: 0 0 20px;
}

@media (max-width: 600px) {
  .content-page--contest {
    padding-top: 88px;
  }
}

/* Contact page (ClubExpress-style sections) */
.content-page--contact {
  background: var(--cream);
  padding: 100px 16px 64px;
  min-height: 60vh;
}

.contact-section {
  margin-top: 0;
}

.contact-section + .contact-section {
  margin-top: 0;
}

.contact-section-title {
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin: 2em 0 1em;
  padding-top: 1.25em;
  border-top: 1px solid #e0dcd4;
}

.contact-section:first-of-type .contact-section-title {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}

.contact-info-label {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.5em;
}

.contact-address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-mid);
}

.contact-address span {
  display: block;
}

.contact-maps-link {
  display: inline-block;
  margin-top: 0.75em;
}

.contact-address-empty,
.contact-phone-empty,
.contact-leadership-empty {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

.contact-phone-link {
  font-size: 15px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.contact-phone-link:hover {
  color: #1a5f96;
  text-decoration: underline;
}

.contact-leadership-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-leadership-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 12px 20px;
  align-items: start;
  font-size: 15px;
  line-height: 1.75;
}

.contact-leadership-role {
  font-weight: 700;
  color: var(--text-dark);
}

.contact-leadership-person {
  display: flex;
  flex-direction: column;
  gap: 0.15em;
  color: var(--text-mid);
}

.contact-leadership-email {
  color: var(--accent);
  text-decoration: none;
  word-break: break-word;
}

.contact-leadership-email:hover {
  color: #1a5f96;
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 560px;
}

.contact-form-field label {
  display: block;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.contact-required {
  color: #b91c1c;
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid #d4cfc4;
  border-radius: 4px;
  padding: 10px 12px;
  box-sizing: border-box;
}

.contact-form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
  outline: 2px solid rgba(44, 134, 184, 0.35);
  border-color: var(--accent);
}

.contact-message-count {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

.contact-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-submit {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 14px;
}

.contact-form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-form-status {
  font-size: 15px;
  margin: 0 0 4px;
  padding: 12px 16px;
  border-radius: 4px;
}

.contact-form-status--success {
  background: rgba(21, 128, 61, 0.1);
  color: #15803d;
  border: 1px solid rgba(21, 128, 61, 0.25);
}

.contact-form-status--error {
  background: rgba(185, 28, 28, 0.08);
  color: #b91c1c;
  border: 1px solid rgba(185, 28, 28, 0.2);
}

@media (max-width: 700px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-leadership-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 600px) {
  .content-page--contact {
    padding-top: 88px;
  }

  .contact-form-submit {
    width: 100%;
    text-align: center;
  }
}

.event-list { margin-top: 24px; }

.event-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #e0dcd4;
}

.event-date-box {
  background: var(--navy);
  color: var(--accent);
  font-family: var(--font-ui);
  text-align: center;
  padding: 10px 14px;
  min-width: 60px;
  flex-shrink: 0;
}
.event-date-box .month { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.event-date-box .day { font-size: 26px; font-weight: 700; line-height: 1; }

.event-info h4 { font-family: var(--font-ui); font-weight: 700; font-size: 16px; color: var(--text-dark); margin-bottom: 4px; }
.event-info p { font-size: 13.5px; color: var(--text-muted); }

a.event-row {
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
}
a.event-row:hover { background: #f5f2ec; }

/* ═══════════════════════════
   EVENTS CALENDAR PAGE
═══════════════════════════ */
.events-page {
  padding: calc(var(--nav-height) + 48px) 0 var(--section-pad);
  min-height: 60vh;
}

.events-page-intro {
  color: var(--text-mid);
  margin-bottom: 28px;
  max-width: 640px;
}

.events-calendar-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.events-cal-title {
  font-family: var(--font-ui);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 8px;
  flex: 1;
  min-width: 180px;
}

.events-cal-loading,
.events-cal-error,
.events-detail-loading,
.events-detail-error {
  color: var(--text-mid);
  margin: 16px 0;
}

.events-calendar-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin-bottom: 32px;
}

.events-calendar-grid {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid #e0dcd4;
  background: #fff;
  box-sizing: border-box;
}

.events-calendar-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.events-calendar-row--head {
  background: var(--navy);
  color: #fff;
}

.events-calendar-head {
  padding: 10px 4px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.events-calendar-head:last-child { border-right: none; }

.events-calendar-cell {
  min-height: 96px;
  padding: 6px 4px;
  border-right: 1px solid #e0dcd4;
  border-bottom: 1px solid #e0dcd4;
  vertical-align: top;
  min-width: 0;
  overflow: hidden;
}

.events-calendar-cell:nth-child(7n) { border-right: none; }

.events-calendar-cell--pad {
  background: #f8f6f2;
}

.events-calendar-day {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.events-cal-chip {
  display: block;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  padding: 4px 6px;
  margin-bottom: 4px;
  border-radius: 3px;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.events-cal-chip:hover { opacity: 0.9; }

@media (max-width: 640px) {
  .events-calendar-head {
    padding: 8px 2px;
    font-size: 10px;
  }

  .events-calendar-cell {
    min-height: 72px;
    padding: 4px 2px;
  }

  .events-calendar-day {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .events-cal-chip {
    font-size: 9px;
    padding: 3px 2px;
    line-height: 1.25;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: unset;
  }

  .events-cal-title {
    font-size: 18px;
    min-width: 0;
  }
}

.events-type-legend {
  margin-top: 8px;
}

.events-legend-title {
  font-family: var(--font-ui);
  font-size: 18px;
  margin-bottom: 12px;
}

.events-legend-table {
  width: 100%;
  max-width: 480px;
  border-collapse: collapse;
  font-size: 14px;
}

.events-legend-table th,
.events-legend-table td {
  padding: 8px 12px;
  border: 1px solid #e0dcd4;
  text-align: left;
}

.events-legend-swatch {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
}

.events-page--detail .events-detail-back {
  display: inline-block;
  margin-bottom: 24px;
}

.events-detail-header {
  margin-bottom: 32px;
}

.events-detail-type {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.events-detail-datetime {
  font-size: 17px;
  color: var(--text-mid);
  margin-top: 8px;
}

.events-detail-section {
  margin-bottom: 28px;
}

.events-detail-section h2 {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.events-detail-location {
  font-style: normal;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
}

.events-detail-location span {
  display: block;
}

.events-detail-description {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dark);
  white-space: pre-wrap;
}

/* ═══════════════════════════
   GALLERY
═══════════════════════════ */
#gallery {
  background: var(--navy);
  padding: var(--section-pad);
}

.gallery-header {
  max-width: var(--max-width);
  margin: 0 auto 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.gallery-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.gallery-item {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-dark);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-slideshow {
  max-width: var(--max-width);
  margin: 0 auto;
}

#gallery .gallery-slideshow-stage {
  max-width: min(100%, 800px);
  margin: 0 auto;
  display: block;
}

#gallery .gallery-slideshow-controls {
  max-width: min(100%, 800px);
  margin: 12px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.gallery-slideshow-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.gallery-slideshow-image {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-slideshow-image img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 8px;
}

#gallery .gallery-slideshow-image img {
  max-height: 400px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.25);
}

.gallery-slideshow-nav,
.gallery-slideshow-dot {
  border: 0;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
}

.gallery-slideshow-nav {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
}

.gallery-slideshow-meta {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.gallery-slideshow-caption {
  color: rgba(255,255,255,0.88);
  margin: 0;
}

.gallery-slideshow-dots {
  display: flex;
  gap: 8px;
}

.gallery-slideshow-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  padding: 0;
}

.gallery-slideshow-dot.is-active {
  background: var(--accent);
}

.gallery-page {
  padding: var(--section-pad);
}

.gallery-page-intro,
.gallery-empty {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.gallery-page-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.gallery-section {
  margin-bottom: 48px;
}

.gallery-section-title {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.gallery-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 130px));
  gap: 10px;
  justify-content: start;
}

.gallery-card {
  display: block;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 12px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.gallery-card--album {
  padding: 0;
  overflow: hidden;
  width: 100%;
  max-width: 130px;
}

.gallery-card--album img {
  width: 100%;
  max-width: 130px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.gallery-card--album div {
  padding: 8px 10px 10px;
}

.gallery-card--album h3 {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.3;
}

.gallery-card__placeholder {
  width: 100%;
  max-width: 130px;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #e8eef3 0%, #d4dee8 100%);
}

.gallery-masonry {
  column-count: 3;
  column-gap: 12px;
}

.gallery-masonry-item {
  break-inside: avoid;
  margin-bottom: 12px;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  display: block;
}

.gallery-masonry-item img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.gallery-pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.gallery-pagination-btn {
  min-width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  cursor: pointer;
}

.gallery-pagination-btn.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.gallery-search-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
  align-items: end;
}

.gallery-search-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.gallery-search-form input[type="search"],
.gallery-search-form input[type="number"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 8px;
}

.gallery-search-checkbox {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.gallery-lightbox {
  border: 0;
  padding: 0;
  width: min(100vw, 1100px);
  max-width: calc(100vw - 24px);
  background: transparent;
}

.gallery-lightbox::backdrop {
  background: rgba(0,0,0,0.82);
}

.gallery-lightbox-inner {
  position: relative;
  background: #0b1520;
  border-radius: 12px;
  padding: 16px;
}

.gallery-lightbox-image {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.gallery-lightbox-caption {
  color: #fff;
  margin-top: 12px;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
}

.gallery-lightbox-close {
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  font-size: 24px;
}

.gallery-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  font-size: 28px;
}

.gallery-lightbox-prev { left: 8px; }
.gallery-lightbox-next { right: 8px; }

/* ═══════════════════════════
   SPONSORS
═══════════════════════════ */
#sponsors {
  background: var(--cream);
  padding: clamp(40px, 6vw, 64px) clamp(16px, 5vw, 64px);
  text-align: center;
}

.sponsors-inner { max-width: var(--max-width); margin: 0 auto; }

.sponsor-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  flex-wrap: wrap;
  margin-top: 24px;
  margin-bottom: 24px;
}

.sponsor-logo {
  height: 95px;
  object-fit: contain;
  filter: grayscale(0.3);
  transition: filter 0.2s;
}
.sponsor-logo:hover { filter: grayscale(0); }

/* ═══════════════════════════
   FOOTER
═══════════════════════════ */
#footer {
  background: var(--navy-dark);
  padding: clamp(48px, 8vw, 72px) clamp(16px, 5vw, 64px) 32px;
  color: var(--text-light);
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #888;
  max-width: 260px;
  margin-top: 16px;
}
.footer-logo { height: 44px; }

.footer-badges { display: flex; gap: 12px; margin-top: 20px; }
.footer-badges a {
  display: inline-block;
  line-height: 0;
  cursor: pointer;
  transition: opacity 0.2s;
}
.footer-badges a:hover { opacity: 0.85; }
.footer-badges a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.footer-badges img { height: 36px; }

.footer-col-title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: var(--text-light);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid var(--border-accent);
  padding-top: 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px 24px;
}
.footer-bottom-copy {
  justify-self: start;
  font-size: 13px;
  color: var(--text-faint);
  margin: 0;
}

.footer-legal {
  justify-self: end;
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 13px;
  color: var(--text-faint);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--accent); }

.footer-studio {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-studio-label {
  font-size: 13px;
  color: var(--text-faint);
  white-space: nowrap;
}
.footer-studio-logo {
  display: block;
  height: 46px;
  width: auto;
  opacity: 0.92;
  transition: opacity 0.2s;
}
.footer-studio-logo:hover {
  opacity: 1;
}

@media (max-width: 720px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-bottom-copy,
  .footer-legal,
  .footer-studio {
    justify-self: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
  }
}

/* ═══════════════════════════
   RESPONSIVE
═══════════════════════════ */
@media (max-width: 900px) {
  .navbar-nav, .navbar-login { display: none; }
  .hamburger { display: flex; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-masonry { column-count: 2; }
}

@media (max-width: 768px) {
  .dmc-hero-premium {
    min-height: 460px;
    padding: 40px 24px;
    background:
      linear-gradient(90deg, rgba(7,18,30,.94) 0%, rgba(7,18,30,.82) 55%, rgba(7,18,30,.4) 100%),
      url('//s3.amazonaws.com/ClubExpressClubFiles/926093/graphics/F4Plane_239565417.png') center center / cover no-repeat;
  }
  .dmc-hero-content h1 { font-size: 42px; }
  .dmc-hero-content h2 { font-size: 22px; }
  .dmc-hero-content p  { font-size: 15px; }
  .dmc-hero-buttons a  { display: block; text-align: center; margin: 10px 0; }
}

@media (max-width: 560px) {
  .news-events-grid { gap: 40px; }
}
