/* ═══════════════════════════════════════════════════════════════
   STICHTING DREAM BIG — brand palette, sampled from the logo flame
   Used by the "Wat bieden wij?" cards further down.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --db-flame:       #D93B1B;  /* hottest tip of the flame      */
  --db-flame-lite:  #EF5C24;
  --db-orange:      #FD772A;  /* existing brand orange         */
  --db-orange-lite: #FE9236;
  --db-amber:       #FCA92F;
  --db-amber-lite:  #FDBE3C;
  --db-gold:        #FDC93F;  /* the swoosh under "Dream Big"  */
  --db-gold-lite:   #FEDD73;
  --db-ember:       #3F1503;  /* burnt orange — card titles    */
  --db-ember-soft:  #55200A;  /* burnt orange — card body text */
}

body,
html {
  margin: 0;
  padding: 0;
/*  overflow-x: hidden;*/
  font-family: Arial, sans-serif;
}

header {
  position: relative;
  width: 100%;
  height: 40%;
}
video {
    width: 100%;
    clip-path: inset(0 0 5px 0); /* top right bottom left */
}
a {
    color: #FD772A;
}
table, caption, tbody, tfoot, thead, tr, th, td {
    margin: 0;
    border: 1px solid black !important;
    outline: 0!important;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
th, td {
    padding: 5px !important;
}
.text-content h1 {
    color: #FD772A;
    font-size: 3em;
}
.grid-card-desc b{
color: #FD772A;
}
.navbar {
  position: fixed;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  width: 100%;
  box-shadow: 0 12px 12px rgba(0, 0, 0, 0.08);
}
.navbar img {
  height: 75px;
  padding-right: 20px;
}
.navbar .logo {
  font-size: 1.5em;
}

.navbar .menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 20px;
  left: 9.5%;
  min-width: 150px;
  border-radius: 10px;
  padding: 10px 30px;
  background-color: #0C1147;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.navbar .proeflesbutton {
  border: 1px solid #fff;
  border-radius: 25px;
  margin-left: 25px;
  background-color: transparent;
}

.navbar .menu a {
  padding: 20px;
  text-decoration: none;
  color: #fff;
  display: block;
  font-size: 0.8vw;
  text-transform: uppercase;
  vertical-align: middle;
  line-height: 36px;
}

.navbar .menu a:hover {
  background-color: #AE020D;
  border-radius: 10px;
}
.navbar .menu .proeflesbutton a:hover {
  background-color: #E1EEBC;
  color: #90C67C;
  border-radius: 25px;
}

.navbar .hamburger {
  cursor: pointer;
  font-size: 3.5vw;
}

.navbar .menu-item {
  position: relative;
}

.navbar .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #AE020D;
  flex-direction: column;
  border-radius: 5px;
/*  padding: 20px;*/
}

.navbar .submenu a {
    padding: 20px 40px;
    color: #222;
}
.navbar .submenu a:hover {
  color: #fff;
}
.navbar .menu-item:hover .submenu {
  display: flex;

}
.menu-icon {
    cursor: pointer;
    width: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    /* No fixed height + padding here: under box-sizing:border-box that
       collapses the content box to 0 and the flex bars shrink to nothing. */
}

.menu-icon div {
    width: 100%;
    height: 4px;
    background-color: #fff;
    border-radius: 2px;
    flex-shrink: 0;      /* guarantees the bars never collapse, any box-sizing */
    transition: 0.4s;
}

.menu-icon.open .bar1 {
    transform: translateY(10px) rotate(45deg);
}

.menu-icon.open .bar2 {
    opacity: 0;
}

.menu-icon.open .bar3 {
    transform: translateY(-10px) rotate(-45deg);
}
.content {
  padding-left: 5%;
  padding-right: 5%;
  margin-top: -2vw !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  background-color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   SITE FOOTER  — .site-footer is namespaced so it fully overrides
   any older element-level footer{} styling. Markup lives in footer.php
   ═══════════════════════════════════════════════════════════════ */
.site-footer,
.site-footer * { box-sizing: border-box; }

.site-footer {
    margin-top: 60px;
    width: 100%;
    height: auto;
    padding: 0;
    text-align: left;
    color: #fff;
    background: linear-gradient(180deg, #AE020D 0%, #990109 100%); /* brand red */
    border-top: 4px solid #FD772A;                                 /* orange accent */
    font-family: Arial, sans-serif;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 5% 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1.1fr 1.6fr;
    gap: 48px;
}

/* Signature heading — reuses the site's eyebrow dash motif */
.footer-heading {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 20px;
}
.footer-heading::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: #FD772A;
    border-radius: 2px;
}

/* Brand column */
.footer-logo { height: 58px; width: auto; display: block; margin-bottom: 18px; }
.footer-tagline {
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 22px;
    max-width: 330px;
}
.footer-socials { display: flex; gap: 12px; }
.footer-social {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transition: background 0.25s ease, transform 0.25s ease;
}
.footer-social:hover { background: #FD772A; transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }

/* Contact column */
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
}
.footer-contact a { color: rgba(255, 255, 255, 0.85); text-decoration: none; transition: color 0.2s ease; }
.footer-contact a:hover { color: #fff; text-decoration: underline; }
.footer-ic {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
.footer-ic svg { width: 16px; height: 16px; }
.footer-lbl {
    display: block;
    font-weight: 700;
    color: #fff;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 3px;
}

/* Map column */
.footer-map {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.30);
    line-height: 0;
    min-height: 100%;
}
.footer-map iframe { width: 100%; height: 400px; min-height: 300px; border: 0; display: block; }

/* Bottom bar */
.footer-bar { margin-top: 50px; border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 22px 5%; }
.footer-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}
.footer-bar a { color: #fff; text-decoration: underline; }
.footer-bar a:hover { color: rgba(255, 255, 255, 0.85); }

/* Visible keyboard focus */
.footer-contact a:focus-visible,
.footer-social:focus-visible,
.footer-bar a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    border-radius: 4px;
}

/* ── Footer responsive ─────────────────────────────────────────── */
/* Tablet: 2 columns, map spans full width underneath */
@media (max-width: 980px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-map { grid-column: 1 / -1; }
    .footer-map iframe { min-height: 320px; }
}
/* Phone: single column, centered bottom bar */
@media (max-width: 600px) {
    .footer-inner { padding: 42px 22px 0; }
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    .footer-logo { margin-bottom: 16px; }
    .footer-map iframe { min-height: 280px; }
    .footer-bar { padding: 20px 22px; }
    .footer-bar-inner { justify-content: center; text-align: center; }
}
/* ── Frontend Grid Block ─────────────────────────────────────── */

.grid-block {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    gap: 24px;
    padding: 32px 0;
}

.grid-card {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13);
}

/* Image area */
.grid-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eee;
}

.grid-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.grid-card:hover .grid-card-image img {
    transform: scale(1.04);
}

.grid-card-image--empty {
    background: #ddd;
}

/* Text body */
.grid-card-body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.grid-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.grid-card-desc {
    font-size: 0.88rem;
    margin: 0;
    color: #555;
    line-height: 1.5;
}

/* ── Responsive breakpoints ──────────────────────────────────── */

/* Tablet: 3 columns */
@media (max-width: 1024px) {
    .grid-block {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Small tablet: 2 columns */
@media (max-width: 700px) {
    .grid-block {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Mobile: 1 column */
@media (max-width: 420px) {
    .grid-block {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}
.faq-block {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 32px 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-item:first-child {
    border-top: 1px solid #e2e8f0;
}

/* Question button */
.faq-question-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #1a202c;
    text-align: left;
    gap: 12px;
    transition: color .2s;
}

.faq-question-btn:hover {
    color: #0C4668;
}

.faq-question-btn span:first-child {
    flex: 1;
}

/* Chevron icon */
.faq-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #0C4668;
    transition: transform .3s ease;
}

.faq-question-btn[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

/* Answer panel – animated with max-height */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.faq-answer-inner {
    padding: 0 4px 18px;
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.7;
}

/* Mobile */
@media (max-width: 600px) {
    .faq-question-btn {
        font-size: 0.95rem;
        padding: 15px 2px;
    }
    .faq-answer-inner {
        font-size: 0.9rem;
    }
}
#notificationBar {
    position: fixed;
    bottom: 2%;
    left: 2%;
    width: 95%;
    background: #f8f9fa;
    max-height: 250px;
    overflow-y: auto;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: sans-serif;
}
.notificationBarBtn {
    background: #fff;
    color: #222;
    font-weight: bolder;
    border: none;
    padding: 6px 6px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    border-radius: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.notificationBarBtn:hover {
    background-color: #f8f9fa;
}


  /* CONTENT */
  .content { background: #fff; }

  .overhijh { background-color: #0C1147; padding: 4%; border-radius: 10px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);}
  .overhijh p { color: #fff; }
  .overhijh h2 { color: #FD772A !important;}
  .eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #FD772A; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
  .eyebrow::before { content: ''; display: inline-block; width: 20px; height: 2px; background: #FD772A; border-radius: 2px; }
  .video-overlay h1 { font-size: clamp(30px, 3.5vw, 42px); font-weight: 900; color: #222; line-height: 1.15; margin-bottom: 14px;  }
  .video-overlay h1 em { color: #FD772A; font-style: normal; }
  .video-overlay p { font-size: clamp(18px, 1.4vw, 15px); color: #222; line-height: 1.7; max-width: 45%; }

  /* OVER HIJH — full width, two-column layout */
  .section { padding: 52px 5%; width: 100%; }
  .section-label { font-size: 22px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #AE020D; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
  .section-label::before { content: ''; display: inline-block; width: 20px; height: 2px; background: #AE020D; border-radius: 2px; }
  .section h2 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 800; color: #0C1147; margin-bottom: 14px; }
  .revealblock {
    padding: 5% 0% 5% 0%!important;
  }
  .over-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; width: 100%; }
  .over-text p { font-size: 14px; color: #555; line-height: 1.78; margin-bottom: 10px; }
  .athlete-row { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
  .athlete-pill { background: #f4f4f6; border-radius: 10px; padding: 16px 20px; display: flex; align-items: center; gap: 14px; width: 90%; }
  .medal { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
  .gold { background: #fff3cd; } .bronze { background: #ffe0cc; }
  .athlete-name { font-size: 14px; font-weight: 700; color: #0C1147; }
  .athlete-sub { font-size: 12px; color: #888; margin-top: 2px; }

  /* ══════════════════════════════════════════════════════════════
     CARDS — "Wat bieden wij?"
     Recoloured to the logo flame: flame → orange → amber → gold.
     Only .c1 is dark enough for white text; .c2–.c4 use the burnt
     orange --db-ember so the text stays readable and on-brand.
     ══════════════════════════════════════════════════════════════ */
  .cards-section { padding: 0 0% 60px; width: 100%; }
  .cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; width: 100%; }
  .card { border-radius: 16px; padding: 26px 22px; position: relative; overflow: hidden; box-shadow: 0 2px 6px rgba(89, 32, 10, 0.14); }
  .card::after { content: ''; position: absolute; bottom: -28px; right: -28px; width: 90px; height: 90px; border-radius: 50%; opacity: 0.15; }

  .c1 { background: linear-gradient(135deg, var(--db-flame) 0%, var(--db-flame-lite) 100%); color: #fff; }
  .c1::after { background: var(--db-gold); }
  .c2 { background: linear-gradient(135deg, var(--db-orange) 0%, var(--db-orange-lite) 100%); color: var(--db-ember); }
  .c2::after { background: #fff; }
  .c3 { background: linear-gradient(135deg, var(--db-amber) 0%, var(--db-amber-lite) 100%); color: var(--db-ember); }
  .c3::after { background: var(--db-flame); }
  .c4 { background: linear-gradient(135deg, var(--db-gold) 0%, var(--db-gold-lite) 100%); color: var(--db-ember); }
  .c4::after { background: var(--db-flame); }

  .card-icon { font-size: 28px; margin-bottom: 14px; display: block; }
  .card-title { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
  .card-sub { font-size: 13px; opacity: 0.78; line-height: 1.6; }

  .c1 .card-title { color: #fff; }
  .c1 .card-sub   { color: #fff; opacity: 0.92; }
  .c2 .card-title { color: var(--db-ember); }
  .c2 .card-sub   { color: var(--db-ember-soft); opacity: 1; }
  .c3 .card-title { color: var(--db-ember); }
  .c3 .card-sub   { color: var(--db-ember-soft); opacity: 1; }
  .c4 .card-title { color: var(--db-ember); }
  .c4 .card-sub   { color: var(--db-ember-soft); opacity: 1; }

  /* Heading block above the cards — was brick red + navy.
     Scoped to .cards-section so the Over-ons section keeps its own colours.
     The <h2> also carries an inline style="...color:#0C1147" in the HTML,
     hence the !important. Remove that inline colour and you can drop it. */
  .cards-section .section-label         { color: var(--db-flame); }
  .cards-section .section-label::before { background: var(--db-flame); }
  .cards-section h2 { color: var(--db-ember) !important; }


.club-history {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap; /* allows stacking on small screens */
}

.club-history__text {
  flex: 1 1 55%;
  min-width: 280px;
}

.club-history__image {
  flex: 1 1 35%;
  min-width: 250px;
  max-width: 400px;
}

.club-history__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* optional, remove if not wanted */
}

/* On smaller screens, stack image below text */
@media (max-width: 700px) {
  .club-history {
    flex-direction: column;
  }

  .club-history__image {
    max-width: 100%;
    order: 2; /* keeps text first, image second on mobile */
  }

  .club-history__text {
    order: 1;
  }
}

  @media (max-width: 600px) {
    .video-overlay h1 { max-width: 85%; }
    .video-overlay p { max-width: 85%; }
    .over-grid { grid-template-columns: 1fr; gap: 24px; }
    .cards { grid-template-columns: 1fr; }
    .section { padding: 36px 20px; }
    .cards-section { padding: 0 20px 44px; }
  }
/**/
@media (min-width: 1060px) {
    .navbar .menu {
        display: flex;
        position: fixed;
        flex-direction: row;
        min-width: unset;
        border-radius: 10px;
    }
    .navbar .hamburger {
        display: none;
    }
}
@media (max-width: 1060px) {
    .navbar {
        display: block;
        padding: 0px !important;
    }
    .topMenuItems {
        display: flex;
        align-items: flex-start;
        justify-content:flex-start;
        padding: 20px 10px;
    }
    .navbar .hamburger {
        font-size: 3em;
        padding-top: 5px;
        right: 25px;
        position: absolute;
    }
    .navbar img {
        width: auto;
    }
    #menu {
        height: 500px;
    }
    .navbar .menu {
        flex-direction: column;
        position: fixed;
        top: 110px;
        left: 0px;
        width: 100%;
        border-radius: 10px;
        padding: 0;
        background-color: #90C67C;
        overflow: scroll;
    }
    .navbar .menu a {
        font-size: 1em;
        border-radius: 75px;
        margin: 5px;
    }
    .navbar .menu a:hover {
         background-color: #E1EEBC;
         color: #222;

    }
    .navbar .menu .submenu {
        position: relative;
        margin: 5px;
        padding: 10px;
        margin-top: 10px;
        top: 0%; 
    }
    .navbar .menu .submenu a:hover {
        color: #fff;
        background-image: none;
        background-color: #90C67C !important;
    }
    .navbar .menu .proeflesbutton {
        margin-top: 20px;
        margin-bottom: 20px;
        margin-left: 0px;
    }
    /* footer height is now controlled by .site-footer (fully responsive) */
}



/* ════════════════════════════════════════════════════════════
   PROEFLES BLOCK
   ════════════════════════════════════════════════════════════ */
.proefles-section { padding: 0 0% 60px; width: 100%; }

.proefles-inner {
  background: linear-gradient(135deg, #fff6f0 0%, #ffe9d6 100%);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.proefles-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.proefles-text h2 {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
  color: #0C1147;
  margin: 6px 0 14px;
}
.proefles-text p { font-size: 14px; color: #555; line-height: 1.78; margin: 0; }

.proefles-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.proefles-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.proefles-list .ic {
  font-size: 20px;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(12, 17, 71, 0.08);
}

.proefles-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FD772A;
  color: #fff !important;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 6px 16px rgba(253, 119, 42, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.proefles-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(253, 119, 42, 0.45);
}
.proefles-cta .arrow { transition: transform 0.2s ease; }
.proefles-cta:hover .arrow { transform: translateX(4px); }

.proefles-photos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.photo {
  position: relative;
  background: #fff;
  padding: 10px 10px 14px;
  border-radius: 4px;
  width: 165px;
  box-shadow: 0 10px 26px rgba(12, 17, 71, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  background: #eee;
}
.photo::before {                       /* washi tape */
  content: '';
  position: absolute;
  top: -11px;
  left: 50%;
  width: 64px;
  height: 22px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(253, 119, 42, 0.55);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}
.photo-tag {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #0C1147;
  padding-top: 8px;
}
.photo--1 { transform: rotate(-6deg); z-index: 1; }
.photo--2 { transform: rotate(3deg) translateY(-14px); margin: 0 -18px; z-index: 3; }
.photo--3 { transform: rotate(7deg); z-index: 2; }
.photo:hover {
  transform: rotate(0deg) scale(1.05);
  z-index: 5;
  box-shadow: 0 16px 34px rgba(12, 17, 71, 0.3);
}

@media (max-width: 800px) {
  .proefles-grid { grid-template-columns: 1fr; gap: 36px; }
  .proefles-inner { padding: 32px 22px; }
}
@media (max-width: 420px) {
  .photo { width: 135px; }
  .photo--2 { margin: 0 -12px; }
}


/* ════════════════════════════════════════════════════════════
   ANIMATIONS — scroll reveal, hover micro-interactions, ambient
   ════════════════════════════════════════════════════════════ */

/* Entrance reveal. The hidden state only kicks in once JS adds
   .anim-ready, so the page stays fully visible without JavaScript. */
.reveal { transition: opacity 0.7s ease; }
.anim-ready .reveal { opacity: 0; }
.anim-ready .reveal.is-visible {
  animation: revealUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes revealUp {
  from { opacity: 0; transform: translateY(28px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* Stagger the four cards as they enter */
.anim-ready .cards .card:nth-child(1).is-visible { animation-delay: 0s;   }
.anim-ready .cards .card:nth-child(2).is-visible { animation-delay: 0.1s; }
.anim-ready .cards .card:nth-child(3).is-visible { animation-delay: 0.2s; }
.anim-ready .cards .card:nth-child(4).is-visible { animation-delay: 0.3s; }

/* Proefles photos drift in just after the text */
.anim-ready .proefles-photos.reveal.is-visible { animation-delay: 0.15s; }

/* Cards: bloom the brand circle + deepen shadow on hover
   (no transform on .card itself, so it never fights the reveal) */
.card { transition: box-shadow 0.3s ease; }
.card:hover { box-shadow: 0 14px 30px rgba(217, 59, 27, 0.22); }
.card::after { transition: transform 0.45s ease, opacity 0.45s ease; }
.card:hover::after { transform: scale(1.6); opacity: 0.25; }

/* Ambient float on the card icons so the grid never feels frozen */
@keyframes floatIcon {
  0%, 100% { transform: translateY(0);    }
  50%      { transform: translateY(-5px); }
}
.card-icon { animation: floatIcon 3s ease-in-out infinite; }
.c2 .card-icon { animation-delay: 0.4s; }
.c3 .card-icon { animation-delay: 0.8s; }
.c4 .card-icon { animation-delay: 1.2s; }

/* Club-history image: gentle zoom on hover */
.club-history__image { overflow: hidden; border-radius: 8px; }
.club-history__image img { transition: transform 0.6s ease; }
.club-history__image:hover img { transform: scale(1.06); }

/* Athlete pills slide + medal tilts on hover */
.athlete-pill { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.athlete-pill:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}
.medal { transition: transform 0.3s ease; }
.athlete-pill:hover .medal { transform: scale(1.12) rotate(-8deg); }

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .anim-ready .reveal,
  .anim-ready .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .card-icon { animation: none !important; }
}


/* ── WAT BIEDEN WIJ — photo headers on the cards ──────────── */
.card { padding: 0; }                       /* media + body own the spacing now */

.card-media {
  height: 220px;
  overflow: hidden;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.card:hover .card-media img { transform: scale(1.06); }

.card-body {
  padding: 22px 22px 26px;
}

@media (max-width: 600px) {
  .card-media { height: 190px; }
}


/* ════════════════════════════════════════════════════════════
   NAVIGATION — dropdown caret + polished responsive menu
   ════════════════════════════════════════════════════════════ */

/* Brand logo only shows in the mobile top bar */
.navbar-brand { display: none; }

/* ── Dropdown caret on submenu parents (desktop + mobile) ── */
.navbar .menu .subMain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.navbar .menu .subMain::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -2px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
/* Flip the caret up while the desktop dropdown is open */
.navbar .menu-item:hover .subMain::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}

/* ── Desktop dropdown: readable + on-brand ── */
.navbar .submenu {
  background-color: #AE020D;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(12, 17, 71, 0.22);
  min-width: 200px;
}
.navbar .submenu a {
  color: #fff;
  padding: 14px 22px;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
}
.navbar .menu .submenu a:hover {
  background-color: #0C1147;
  color: #fff;
  border-radius: 0;
}

/* ════════════════════════════════════════════════════════════
   MOBILE MENU  (max-width: 1060px)
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1060px) {

  /* Solid brand bar holding the logo + hamburger */
  .navbar { 
    background-color: #0C1147; 
  }

  .topMenuItems {
    align-items: center;
    justify-content: flex-start;
    padding: 12px 18px;
    min-height: 64px;
  }
  .navbar-brand { display: flex; align-items: center; }
  .navbar-brand img { height: 40px; width: auto; padding: 0; }

  .navbar .hamburger {
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    padding-top: 0;
  }

  /* Dropdown panel — sized to content, brand navy (no more green) */
  .navbar .menu {
    top: 64px;
    left: 0;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 64px);
    overflow: hidden auto;
    padding: 8px 0 16px;
    border-radius: 0 0 18px 18px;
    background-color: #0C1147;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
  }
  #menu { height: auto; }

  /* Logo already lives in the bar on mobile */
  .navbar .menu .menuLogo { display: none; }

  /* Links — clean rows with subtle dividers */
  .navbar .menu a {
    font-size: 15px;
    line-height: 1.25;
    margin: 0;
    padding: 15px 22px;
    border-radius: 0;
    text-transform: none;
    letter-spacing: 0.01em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .navbar .menu a:hover {
    background-color: #AE020D;
    color: #fff;
  }

  /* Submenu — expanded + indented beneath its parent */
  .navbar .menu .submenu {
    display: flex;
    position: relative;
    top: 0;
    margin: 0;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    min-width: 0;
    background-color: rgba(0, 0, 0, 0.20);
  }
  .navbar .menu .submenu a {
    color: #f0c9a8;
    font-size: 14px;
    padding: 13px 22px 13px 42px;
    white-space: normal;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .navbar .menu .submenu a:hover {
    background-color: #AE020D !important;
    color: #fff;
  }
    header {
        position: relative;
        width: 101%;
        height: 23%;
        padding-top: 64px;
    }
    .content {
        padding-left: 0%;
        padding-right: 0%;
    }
    .video-overlay {
        padding-left: 10px;
    }
    .video-overlay p {
        max-width: 100%;
    }

}
.overhijh--orange {
  background: linear-gradient(135deg, var(--db-orange) 0%, var(--db-orange-lite) 100%);
}
.overhijh--orange .section-label { color: var(--db-ember); }
.overhijh--orange .section-label::before { background: var(--db-ember); }
.overhijh--orange h2 { color: var(--db-ember) !important; } /* basis-h2 gebruikt !important */
.overhijh--orange p  { color: var(--db-ember-soft); }
