/* PV De Luchtsport - Shadcn/Tailwind palette and Inter typography */

:root {
  --background: #f8fafc;
  --card: #ffffff;
  --foreground: #0f172a;
  --primary: #1e3a8a;
  --primary-foreground: #ffffff;
  --accent: #dc2626;
  --accent-foreground: #ffffff;
  --secondary: #e0f2fe;
  --secondary-foreground: #0369a1;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --border: #e2e8f0;

  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --heading-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --nav-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --background-color: var(--background);
  --default-color: var(--foreground);
  --heading-color: var(--primary);
  --accent-color: var(--primary);
  --surface-color: var(--card);
  --contrast-color: var(--primary-foreground);

  --nav-color: #ffffff;
  --nav-hover-color: #ffffff;
  --nav-mobile-background-color: var(--card);
  --nav-dropdown-background-color: var(--card);
  --nav-dropdown-color: var(--foreground);
  --nav-dropdown-hover-color: var(--primary);
}

body {
  font-family: var(--default-font);
  font-weight: 400;
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.navmenu a {
  font-family: var(--nav-font);
  font-weight: 600;
}

.dark-background h1,
.dark-background h2,
.dark-background h3,
.dark-background h4,
.dark-background h5,
.dark-background h6 {
  color: var(--heading-color);
}

p,
li,
td,
th,
label,
input,
textarea,
.file-row {
  font-family: var(--default-font);
}

code {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Consolas, monospace;
  font-size: 0.92em;
  background: var(--muted);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.12em 0.4em;
}

.light-background {
  --background-color: var(--secondary);
  --surface-color: var(--card);
  --default-color: var(--foreground);
  --heading-color: var(--primary);
}

.dark-background {
  --background-color: var(--primary);
  --default-color: var(--primary-foreground);
  --heading-color: var(--primary-foreground);
  --surface-color: #172554;
  --contrast-color: var(--primary-foreground);
  --accent-color: #93c5fd;
}

a {
  color: var(--primary);
}

a:hover {
  color: var(--secondary-foreground);
}

.index-page .header,
.index-page.scrolled .header,
.inner-page .header {
  --background-color: var(--primary);
  --heading-color: var(--primary-foreground);
  --nav-color: var(--primary-foreground);
  --nav-hover-color: var(--primary-foreground);
}

.header {
  --heading-color: var(--primary-foreground);
}

.header .logo {
  gap: 10px;
}

.header .logo img {
  max-height: 44px;
  width: auto;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  padding: 4px;
}

.header .logo .brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.header .logo .sitename {
  display: block;
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--primary-foreground);
}

.header .logo .brand-sub {
  color: #bfdbfe;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  background: var(--accent);
  color: var(--accent-foreground);
  white-space: nowrap;
  font-weight: 700;
}

.header .btn-getstarted:hover {
  background: #b91c1c;
  color: var(--accent-foreground);
}

@media (min-width: 1200px) {
  .navmenu a,
  .navmenu a:focus {
    font-weight: 600;
    color: var(--nav-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .active {
    box-shadow: inset 0 -2px 0 var(--accent);
  }
}

.hero.hero-photo {
  min-height: 62vh;
  padding: 112px 0 48px;
  background-color: #1e3a8a;
  background-image:
    linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.4) 100%),
    url("../img/club/Club_20.webp");
  background-position: 0 0, 68% 22%;
  background-size: auto, cover;
  background-repeat: no-repeat;
}

.hero-panel {
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 36px;
  max-width: 40rem;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.22);
}

.hero.hero-photo .hero-panel h1,
.hero.hero-photo h1 {
  font-size: 48px;
  line-height: 1.12;
  color: var(--primary);
  text-shadow: none;
}

.hero.hero-photo .hero-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--secondary-foreground);
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-size: 13px;
}

.hero.hero-photo .hero-panel p,
.hero.hero-photo p {
  max-width: none;
  color: var(--foreground);
  font-weight: 400;
}

.hero.hero-photo .btn-get-started {
  background: var(--accent);
  color: var(--accent-foreground);
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
}

.hero.hero-photo .btn-get-started:hover {
  background: #b91c1c;
  color: var(--accent-foreground);
}

.hero.hero-photo .btn-watch-video,
.hero.hero-photo .btn-watch-video span,
.hero.hero-photo .btn-watch-video i {
  color: var(--primary);
  font-weight: 600;
}

.hero.hero-photo .hero-meta {
  margin-top: 24px;
  color: var(--muted-foreground);
  font-size: 14px;
}

.hero.hero-photo .hero-meta a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero.hero-photo .hero-meta a:hover {
  color: var(--secondary-foreground);
}

.contact-person {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
}

.contact-person .kicker {
  display: block;
  color: var(--secondary-foreground);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-person h3 {
  margin: 6px 0 4px;
  color: var(--primary);
}

.contact-person p {
  margin: 0;
  color: var(--foreground);
  max-width: 40rem;
}

.form-intro {
  color: var(--muted-foreground);
  margin: 0 0 4px;
  font-size: 14px;
}

.footer-address,
.footer-inlichtingen {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 400;
  color: #e2e8f0;
}

.footer-inlichtingen {
  margin-top: 14px;
  color: #cbd5e1;
}

.footer-reach {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.footer .footer-about .footer-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 12px;
  border: 1px solid rgba(147, 197, 253, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #e0f2fe;
  font-family: var(--default-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

.footer .footer-about .footer-chip span {
  overflow-wrap: anywhere;
}

.footer .footer-about .footer-chip i {
  color: #93c5fd;
  font-size: 14px;
  line-height: 1;
}

.footer .footer-about .footer-chip:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: #93c5fd;
}

.footer .footer-about .footer-chip--vast,
.footer .footer-about .footer-chip--vast:hover {
  cursor: text;
  user-select: all;
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(147, 197, 253, 0.4);
}

button.footer-chip {
  font: inherit;
  cursor: pointer;
}

.club-tel {
  display: inline-block;
  cursor: text;
  user-select: all;
  -webkit-user-select: all;
  vertical-align: middle;
}

.club-mail {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.club-mail-zicht {
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Consolas, monospace;
  font-size: 13px;
  color: var(--foreground);
}

.club-at {
  color: var(--muted-foreground);
  font-weight: 600;
}

.club-mail-knop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-facts .club-mail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
}

.contact-facts .club-mail-knop {
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--primary);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.contact-facts .club-mail-knop:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.form-intro .club-tel,
.sos-bar .club-tel,
.hero-meta .club-tel {
  margin: 0 2px;
}

.section-title h2 {
  text-transform: none;
  font-size: 32px;
  color: var(--primary);
}

.section-title p {
  color: var(--secondary-foreground);
  font-weight: 600;
  font-size: 15px;
}

.about-photos {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  align-items: stretch;
}

.about-photo {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--border);
  background: var(--card);
}

.about-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  display: block;
}

.about-photo figcaption {
  padding: 10px 14px 14px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted-foreground);
}

.about-photo--clubhuis img {
  object-position: 78% 18%;
  min-height: 360px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.fact-card {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  color: var(--muted-foreground);
}

.fact-card strong {
  display: block;
  color: var(--primary);
  font-size: 20px;
  font-weight: 700;
}

.hours-card,
.download-card,
.link-card,
.sponsor-slot,
.contact .info-wrap,
.contact .php-email-form {
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.hours-card {
  padding: 28px;
  height: 100%;
  border-top: 3px solid var(--accent);
}

.hours-card i {
  font-size: 28px;
  color: var(--accent);
}

.hours-card h3 {
  font-size: 20px;
  margin: 12px 0 10px;
  color: var(--primary);
}

.hours-card p {
  color: var(--foreground);
  margin-bottom: 0;
}

.uitslag-teaser {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 280px;
  background-color: #1e3a8a;
  background-image:
    linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 58, 138, 0.55) 100%),
    url("../img/club/Club_20.webp");
  background-position: 0 0, 70% 40%;
  background-size: auto, cover;
  background-repeat: no-repeat;
  color: var(--primary-foreground);
  padding: 48px;
}

.uitslag-teaser h3,
.uitslag-teaser p {
  color: var(--primary-foreground);
}

.btn-red {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-foreground);
  border-radius: 50px;
  padding: 12px 26px;
  font-weight: 700;
}

.btn-red:hover {
  background: #b91c1c;
  color: var(--accent-foreground);
}

.download-card,
.link-card {
  padding: 24px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.link-card,
.link-card:hover {
  color: var(--foreground);
  text-decoration: none;
}

.link-card:hover,
.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
  border-color: #bfdbfe;
}

.link-card i,
.download-card i {
  font-size: 28px;
  color: var(--secondary-foreground);
}

.link-card h3,
.download-card h3 {
  font-size: 18px;
  margin: 12px 0 8px;
  color: var(--primary);
}

.link-card p,
.download-card p {
  color: var(--muted-foreground);
}

.file-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--foreground);
  font-variant-numeric: tabular-nums;
}

.file-row:last-child {
  border-bottom: 0;
}

.badge-soon {
  background: #fef3c7;
  color: #92400e;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 10px;
}

.badge-file {
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 10px;
}

a.badge-file:hover {
  color: var(--primary);
}

.sponsor-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.sponsor-banner--single {
  grid-template-columns: minmax(220px, 320px);
}

a.sponsor-slot {
  text-decoration: none;
}

a.sponsor-slot:hover {
  color: var(--primary);
  border-color: #bfdbfe;
}

.muted-line {
  display: block;
  margin-top: 8px;
  color: var(--muted-foreground);
  font-size: 0.92em;
}

.privacy-note {
  margin: 10px 0 0;
  color: var(--muted-foreground);
  font-size: 13px;
}

.notice-empty {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 16px;
  padding: 28px 32px;
}

.notice-empty h2 {
  margin-bottom: 8px;
}

.notice-empty p {
  color: var(--foreground);
  max-width: 40rem;
}

.btn-outline-navy {
  display: inline-block;
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 700;
}

button.btn-outline-navy {
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.btn-outline-navy:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.sponsor-slot {
  min-height: 110px;
  border: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: var(--primary);
  font-weight: 700;
}

.sponsor-slot.is-filled {
  border-style: solid;
}

.sponsor-slot small {
  display: block;
  font-weight: 500;
  color: var(--muted-foreground);
}

.inner-page .header {
  --nav-color: var(--primary-foreground);
  --nav-hover-color: var(--primary-foreground);
}

.page-hero {
  min-height: 240px;
  display: flex;
  align-items: end;
  padding: 48px 0 36px;
  background-color: #1e3a8a;
  background-image:
    linear-gradient(180deg, rgba(15, 23, 42, 0.22) 0%, rgba(15, 23, 42, 0.4) 100%),
    url("../img/club/Club_22.webp");
  background-position: 0 0, center 40%;
  background-size: auto, cover;
  background-repeat: no-repeat;
}

.page-hero-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px 28px;
  max-width: 44rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.page-hero h1,
.page-hero-panel h1 {
  color: var(--primary);
}

.page-hero p,
.page-hero-panel p {
  font-weight: 400;
  color: var(--foreground);
}

.contact.section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.contact .row > [class*="col-"] {
  display: flex;
}

.contact .info-wrap,
.contact .php-email-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  border-top: 3px solid var(--primary);
  border-bottom: 0;
  padding: 18px 20px 16px;
  height: auto;
  min-height: 100%;
}

.contact .info-item {
  margin-bottom: 0;
}

.contact .info-item h3 {
  color: var(--primary);
}

.contact .info-item p a,
.contact-facts a {
  color: var(--primary);
  font-weight: 600;
}

.contact .info-item p a:hover,
.contact-facts a:hover {
  color: var(--secondary-foreground);
}

.contact .info-item i {
  color: var(--primary);
  background: var(--secondary);
}

.contact .info-item:hover i {
  background: var(--primary);
  color: var(--primary-foreground);
}

.contact-facts {
  display: grid;
  gap: 10px;
  margin: 0 0 12px;
}

.contact-facts > div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 2px 12px;
  align-items: start;
}

.contact-facts dt {
  margin: 0;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.contact-facts dd {
  margin: 0;
  color: var(--foreground);
  font-size: 14px;
  line-height: 1.45;
}

.contact-facts .muted-line {
  margin-top: 4px;
}

.contact-map {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-height: 220px;
  height: 100%;
  border: 0;
  border-radius: 12px;
  background: var(--muted);
}

.contact .php-email-form label {
  display: block;
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form input[type=tel],
.contact .php-email-form textarea {
  color: var(--foreground);
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
}

.contact .php-email-form textarea {
  min-height: 108px;
  resize: vertical;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.contact .php-email-form button[type=submit] {
  background: var(--accent);
  color: var(--accent-foreground);
  font-weight: 700;
  padding: 9px 28px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #b91c1c;
}

.zegel-vak {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  text-align: left;
  padding: 10px 12px;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.zegel {
  flex-shrink: 0;
}

.zegel-svg {
  width: 88px;
  height: 88px;
  display: block;
  filter: drop-shadow(0 6px 12px rgba(15, 23, 42, 0.16));
}

.zegel-veld {
  flex: 1;
  min-width: 160px;
}

.zegel-veld label {
  display: block;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.zegel-hint {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted-foreground);
}

@media (max-width: 575px) {
  .contact-facts > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .contact-map {
    min-height: 200px;
  }
}

.footer.dark-background {
  --background-color: #172554;
  --default-color: var(--primary-foreground);
  --heading-color: var(--primary-foreground);
}

.footer .sitename,
.footer .footer-heading,
.footer .footer-about .footer-brand,
.footer .footer-about .footer-brand .sitename {
  color: var(--primary-foreground);
}

.footer .footer-heading {
  font-size: 16px;
  font-weight: 700;
  position: relative;
  padding-bottom: 12px;
  margin: 0 0 8px;
}

.footer .footer-about .footer-brand {
  margin-bottom: 12px;
}

.footer .footer-links ul a,
.footer .copyright p {
  color: #e2e8f0;
}

.footer .footer-links ul a:hover {
  color: #ffffff;
}

.footer .footer-links ul i {
  color: #93c5fd;
}

.scroll-top {
  background-color: var(--accent);
}

.scroll-top i {
  color: var(--accent-foreground);
}

.error-404 {
  min-height: 70vh;
  background: var(--background);
}

.error-404 h1,
.error-404 .error-code {
  color: var(--primary);
  font-weight: 700;
}

.error-404 h2,
.error-404 .error-title {
  color: var(--foreground);
}

.member-intro {
  max-width: 40rem;
  color: var(--foreground);
  margin-bottom: 28px;
}

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

.member-ticket {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 160px;
  padding: 18px 16px;
  background-color: var(--card);
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0 10px,
    rgba(15, 23, 42, 0.035) 10px 11px
  );
  border: 1px solid var(--border);
  border-radius: 16px;
  border-top: 3px solid var(--primary);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  color: var(--foreground);
  text-decoration: none;
}

.member-ticket--bestuur {
  border-top-color: #fbbf24;
}

.member-ticket:hover {
  color: var(--foreground);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}

.member-ticket-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 15px;
  line-height: 1.3;
}

.member-ticket-meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary-foreground);
}

.member-mono {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.member-ticket .member-mono {
  background: var(--primary);
  color: #ffffff;
  border: 2px solid #93c5fd;
}

.ring-band {
  display: inline-flex;
  align-items: center;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0f172a;
  background: linear-gradient(180deg, #f8fafc 0%, #cbd5e1 100%);
  border: 1px solid #64748b;
  border-radius: 4px;
  padding: 4px 10px;
  box-shadow: inset 0 1px 0 #ffffff;
}

.member-grid-title {
  font-size: 26px;
  margin: 0 0 22px;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.member-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
}

.member-plate {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--primary);
  color: var(--primary-foreground);
}

.member-card--ring .member-plate {
  background: #1e3a8a;
}

.member-card--portaal .member-plate {
  background: #172554;
}

.member-card--bestuur .member-plate {
  background: #1e3a8a;
  box-shadow: inset 0 3px 0 #fbbf24;
}

.member-rol {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-rol--voorzitter {
  background: #fde68a;
  color: #92400e;
}

.member-rol--inlichtingen {
  background: #dbeafe;
  color: #1e3a8a;
}

.member-plate .member-mono {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 2px solid #ffffff;
  font-size: 16px;
}

.member-plate-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.member-plate-mark {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #bfdbfe;
}

.member-plate-club {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
}

.member-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.member-card h3 {
  font-size: 22px;
  margin: 0 0 4px;
  color: var(--primary);
}

.member-sub,
.member-place,
.member-text,
.member-ring-label,
.member-note {
  color: var(--foreground);
}

.member-sub {
  margin: 0;
  font-weight: 600;
  color: var(--secondary-foreground);
  font-size: 14px;
}

.member-place {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted-foreground);
}

.member-ring-label {
  margin: 14px 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.member-text {
  margin: 14px 0 16px;
  flex: 1;
}

.member-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.member-links a {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--muted);
}

.member-links a:hover {
  color: var(--primary-foreground);
  background: var(--primary);
  border-color: var(--primary);
}

.member-note {
  max-width: 44rem;
  font-size: 14px;
  color: var(--muted-foreground);
}

.portal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portal-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 700;
  border: 1px solid var(--border);
}

.portal-pill:hover {
  color: var(--primary-foreground);
  background: var(--primary);
  border-color: var(--primary);
}

#preloader {
  display: none !important;
}

[data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

.sos-bar {
  background: #fef3c7;
  border-bottom: 1px solid #fde68a;
  padding: 16px 0;
}

.sos-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sos-bar strong {
  display: block;
  color: #92400e;
  font-size: 18px;
}

.sos-bar span {
  color: #78350f;
  font-size: 14px;
}

.sos-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.news-bar {
  background: #172554;
  color: #e2e8f0;
  padding: 14px 0;
  border-bottom: 1px solid #1e3a8a;
}

.news-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.news-bar-copy {
  margin: 0;
  max-width: 46rem;
  color: #e2e8f0;
  font-size: 15px;
  line-height: 1.5;
}

.news-date {
  display: block;
  margin-bottom: 4px;
  color: #93c5fd;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-bar-copy strong {
  color: #fff;
  font-weight: 700;
}

.news-bar .btn-outline-navy {
  flex-shrink: 0;
  border-color: #93c5fd;
  color: #fff;
}

.news-bar .btn-outline-navy:hover {
  background: #fff;
  border-color: #fff;
  color: #172554;
}

.vliegdag-board {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.vliegdag-board h2 {
  color: var(--primary);
  margin: 8px 0 12px;
}

.seizoen-lijst {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px;
}

.seizoen-lijst li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--foreground);
}

.seizoen-lijst li:last-child {
  border-bottom: 0;
}

.seizoen-weer {
  color: var(--muted-foreground);
  font-size: 14px;
  margin: 0 0 18px;
}

.lid-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  border-left: 6px solid var(--accent);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.lid-strip h2 {
  margin: 6px 0 10px;
}

.lid-strip p {
  margin: 0;
  max-width: 40rem;
  color: var(--foreground);
}

.lid-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.member-rail--home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.footer .footer-about .footer-partner {
  margin: 16px 0 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #94a3b8;
}

.footer .footer-about .footer-partner a {
  color: #bfdbfe;
  font-family: var(--default-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  border-bottom: 1px solid rgba(147, 197, 253, 0.45);
}

.footer .footer-about .footer-partner a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.vliegdag-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.vliegdag-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--muted);
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.vliegdag-btn i {
  font-size: 20px;
}

.vliegdag-btn:hover {
  color: var(--primary-foreground);
  background: var(--primary);
  border-color: var(--primary);
}

.vliegdag-btn--red {
  background: var(--accent);
  color: var(--accent-foreground);
  border-color: var(--accent);
}

.vliegdag-btn--red:hover {
  background: #b91c1c;
  color: #fff;
  border-color: #b91c1c;
}

.mfc-pot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 20%, rgba(253, 224, 71, 0.35), transparent 40%),
    linear-gradient(135deg, #1e3a8a 0%, #172554 100%);
  color: #fff;
}

.mfc-pot h2,
.mfc-pot p {
  color: #e2e8f0;
  max-width: 36rem;
}

.mfc-pot .hero-kicker {
  color: #fde68a;
}

.mfc-pot-bedrag {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fde68a !important;
  margin: 6px 0 8px;
  line-height: 1;
}

.route-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.route-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.route-card header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.route-code {
  flex-shrink: 0;
  min-width: 52px;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: var(--secondary);
  color: var(--primary);
}

.route-card--kort .route-code { background: #dbeafe; }
.route-card--lang .route-code { background: #fee2e2; color: #991b1b; }
.route-card--jong .route-code { background: #fef3c7; color: #92400e; }

.route-card h3 {
  margin: 0;
  font-size: 20px;
  color: var(--primary);
}

.route-when {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--secondary-foreground);
}

.route-stops {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.route-stops li {
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
}

.hub-kicker {
  font-size: 22px;
  margin: 0 0 16px;
  color: var(--primary);
}

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

.hub-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 140px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  color: var(--foreground);
  text-decoration: none;
}

.hub-tile:hover {
  color: var(--foreground);
  transform: translateY(-3px);
  border-color: #bfdbfe;
}

.hub-tile i {
  font-size: 26px;
  color: var(--accent);
}

.hub-tile-name {
  font-weight: 700;
  color: var(--primary);
}

.hub-tile-text {
  font-size: 13px;
  color: var(--muted-foreground);
}

.hub-tile--doc {
  min-height: 120px;
}

.lid-zoek-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-foreground);
  margin-bottom: 6px;
}

.lid-zoek {
  border-radius: 12px;
  padding: 12px 14px;
}

.member-count {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.foto-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(88px, 11vw);
  gap: 14px;
}

.club-shot {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #0f172a;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.club-shot--tall {
  grid-column: span 5;
  grid-row: span 5;
}

.club-shot--wide {
  grid-column: span 7;
  grid-row: span 2;
}

.club-shot--roof {
  grid-column: span 7;
  grid-row: span 3;
}

.club-shot--wide img {
  object-position: 48% 42%;
}

.club-shot--roof img {
  object-position: 50% 6%;
}

.club-shot--young,
.club-shot--loft {
  grid-column: span 6;
  grid-row: span 3;
}

.club-shot--young img {
  object-position: 50% 38%;
}

.club-shot--loft img {
  object-position: 45% 40%;
}

.club-shot a {
  display: block;
  width: 100%;
  height: 100%;
}

.club-shot picture {
  display: block;
  width: 100%;
  height: 100%;
}

.club-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.club-shot:hover img {
  transform: scale(1.05);
}

.club-shot figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 32px 14px 12px;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.78));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
}

.club-lightbox {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  background: rgba(15, 23, 42, 0.9);
}

.club-lightbox[hidden] {
  display: none;
}

.club-lightbox figure {
  margin: 0;
  max-width: min(92vw, 1100px);
  text-align: center;
}

.club-lightbox img {
  max-width: 92vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.club-lightbox figcaption {
  margin-top: 12px;
  color: #e2e8f0;
  font-size: 14px;
}

.club-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0f172a;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.club-lightbox-close:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 991px) {
  .hero.hero-photo h1,
  .hero.hero-photo .hero-panel h1 {
    font-size: 34px;
  }

  .hero-panel {
    padding: 24px 22px;
  }

  .about-photos {
    grid-template-columns: 1fr;
  }

  .foto-bento {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }

  .club-shot--tall,
  .club-shot--wide,
  .club-shot--roof,
  .club-shot--young,
  .club-shot--loft {
    grid-column: span 1;
    grid-row: span 1;
  }

  .club-shot--tall {
    grid-column: 1 / -1;
    grid-row: span 2;
  }

  .fact-grid,
  .sponsor-banner,
  .member-rail,
  .member-grid {
    grid-template-columns: 1fr 1fr;
  }

  .vliegdag-board,
  .route-stack,
  .hub-grid {
    grid-template-columns: 1fr;
  }

  .vliegdag-actions {
    grid-template-columns: 1fr 1fr;
  }

  .uitslag-teaser {
    padding: 32px 24px;
  }
}

@media (max-width: 575px) {
  .header .logo .sitename {
    font-size: 15px;
  }

  .header .logo .brand-sub {
    display: none;
  }

  .fact-grid,
  .sponsor-banner,
  .member-rail,
  .member-grid,
  .foto-bento,
  .hub-grid,
  .vliegdag-actions {
    grid-template-columns: 1fr;
  }

  .foto-bento {
    grid-auto-rows: 240px;
  }

  .club-shot--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}
