html {
  scroll-behavior: smooth;
}
.site-picker{
    padding: 5px;
    border: none;
}
.section-dark{
    background-color: rgb(0, 35, 53);
}
.section-light{
    background-color: #fff;
}
.bottom-nav-links a{
    text-decoration: none;
    color: rgb(0, 35, 53);
}
a:hover{
    color: #005580 !important;
}
.q-btn:hover, .q-btn:hover h6{
    color: white !important;
}
.q-btn--round .q-btn__wrapper{
   background: #15425b;
}
.header{
    position: fixed;
    background-color: white; 
    padding: 15px 20px; 
    width: 100%;  
    height: 85px; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.header-items{
    display: flex;
    align-items: center;
    justify-content: flex-end!important;
}
#team, #services, #pratical{
  scroll-margin-top: 85px!important; /* Hoogte van je header + wat ruimte */
}
.header-items a{
    font-weight: 600;
    color: rgb(0, 35, 53);
    font-size: 20px;
}
/*body{
    font-family: "M PLUS Rounded 1c", sans-serif;
}*/
.sitepicker-parent{
    padding-left: 25px;
}
.breadcrumb {
  font-size: 14px;
  margin-bottom: 20px;
}

.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin: 0 10px;
  color: #999;
}

.breadcrumb a {
  text-decoration: none;
  color: #003545;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb li[aria-current="page"] {
  font-weight: 600;
  color: #003545;
}
.text-subtitle1{
    font-size: 19px;
}
.text-body1 a:link{
    color: #002335;
}
.bottom-nav-links li { list-style-type: none; width: auto; }

.row.window-height { overflow-x: hidden; }

@media (max-width: 599px) {
  .window-height { height: auto !important; min-height: 0 !important; }

  /* no skew on mobile, no clipping */
  .skew, .unskew { transform: none !important; outline: none !important; overflow: visible !important; }
  .skew:before, .skew:after { display: none; }

  /* make every wrapper span the full width */
  .skew > .row { width: 100%; }
  .skew .unskew {
    max-width: 100% !important;
    width: 100%;
    padding: 0 20px !important;     /* even gutters left and right */
  }
  .skew .text-body1 { padding-right: 0 !important; }

  /* space between the button and the image */
  .skew { padding-bottom: 32px; }
  .back_kine { height: 280px; min-height: 280px; }
}

h3.text-weight-bolder {
  font-size: clamp(1.6rem, 8vw, 3rem);   /* min 1.6rem, scales with width, max 3rem */
  line-height: 1.15;
  overflow-wrap: anywhere;               /* last resort: break the word if it still doesn't fit */
  hyphens: auto;
}

#team .container { max-width: 1200px; margin: 0 auto; width: 100%; }
#team .d-flex { display: flex; }
#team .justify-content-center { justify-content: center; }
#team .align-items-center { align-items: center; }
#team .mx-auto { margin-left: auto; margin-right: auto; }
#team .mb-5 { margin-bottom: 3rem; }
#team .mb-4 { margin-bottom: 2rem; }
#team .mb-3 { margin-bottom: 1rem; }
#team .mb-2 { margin-bottom: .5rem; }
#team .mb-1 { margin-bottom: .25rem; }
#team .mb-0 { margin-bottom: 0; }
#team .position-relative { position: relative; }

/* optically centre the letter-spaced title */
#team h3.text-uppercase { text-indent: 2px; }   /* same value as letter-spacing */

/* page width */
.bottom-nav-links li { width: auto !important; }
#practical h3 { min-width: 0 !important; }

/* team cards */
.team-member-item > .team-member-link:first-child { display: none !important; }  /* the empty ghost link */
.team-member-card .team-member-link { margin-left: auto; margin-right: auto; }    /* centre avatar in column */

.team-member-link { max-width: clamp(110px, 11vw, 160px) !important; }

@media (max-width: 599px) {
  #practical .col-12.col-sm-6 > .shadow-3 {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 599px) {
  /* two cards per row */
  [data-anchor="diensten"] .col-12.col-sm-6.col-md-3 {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    padding: 8px;
  }
  /* less side padding so the cards get more room (was 40px) */
  [data-anchor="diensten"] .container-fluid { padding: 100px 12px !important; }
  /* smaller titles so they fit in a half-width card */
  [data-anchor="diensten"] .text-h6 {
    font-size: 15px !important;
    line-height: 1.25;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}

html, body {
  font-family: "M PLUS Rounded 1c", sans-serif;
}

/* formulierelementen en knoppen erven de font al (font: inherit), maar zo is het zeker */
button, input, select, textarea, .q-btn, .q-field {
  font-family: "M PLUS Rounded 1c", sans-serif;
}

@media (max-width: 599px) {
  .hero-image .window-height-100 {
    height: 40vh !important;    /* image height: raise or lower to taste */
    min-height: 260px;
  }
  /* text column below the image shouldn't be forced to a full screen either */
  [data-anchor="welkom"] .column.window-height-100 { height: auto !important; }
}

@media (max-width: 599px) {
  [data-anchor="welkom"] .column.window-height-100 {
    height: auto !important;
    padding: 28px 20px 40px;
  }
  [data-anchor="welkom"] .column > .col-4 { height: auto !important; flex: 0 0 auto; }

  [data-anchor="welkom"] .column h4 {
    padding-top: 0 !important;
    margin: 0 0 24px;
    font-size: clamp(1.4rem, 6.5vw, 2rem);
    line-height: 1.2;
  }

  [data-anchor="welkom"] .column .row { padding: 0 !important; }
  [data-anchor="welkom"] .column .row > .col-12 { margin-top: 0 !important; }
  [data-anchor="welkom"] .column .row > .col-12 + .col-12 { margin-top: 20px !important; }
}

/* ===== Footer ===== */
div[style*="width: 100vw"] { width: 100% !important; }

.bottom-nav-links { list-style: none; margin: 0; padding: 0; }
.bottom-nav-links li { width: auto; margin: 0 0 6px; }

/* top-aligned columns, no stray top/bottom margins */
.row:has(> div > .bottom-nav-links) { align-items: flex-start; padding: 40px 5% 8px; }
.row:has(> div > .bottom-nav-links) > div {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  text-align: left !important;
}
.row:has(> div > .bottom-nav-links) > div:last-child { text-align: right !important; }
.row:has(> div > .bottom-nav-links) > div:first-child .q-img { margin: 0; }

/* copyright in the flow, centred (was absolutely positioned over the content) */
div[style*="width: 100%"].row.justify-around[style*="position: absolute"] {
  position: static !important;
  justify-content: center;
  padding: 12px 0 20px;
}

@media (max-width: 599px) {
  .row:has(> div > .bottom-nav-links) { padding: 32px 20px 0; row-gap: 20px; }
  .row:has(> div > .bottom-nav-links) > div,
  .row:has(> div > .bottom-nav-links) > div:last-child { text-align: center !important; }
  .row:has(> div > .bottom-nav-links) > div:first-child .q-img { margin: 0 auto; }
  /* the two link lists side by side */
  .row:has(> div > .bottom-nav-links) > .col-sm-2 { flex: 0 0 50%; width: 50%; max-width: 50%; }
}

:root { --cm-green: #1fdc66; }   /* the green used on the Afspraak buttons */

.hamburger,
.mobile-menu .close-btn {
  color: #002336;
}
.hamburger:hover, .hamburger:focus-visible,
.mobile-menu .close-btn:hover, .mobile-menu .close-btn:focus-visible {
  color: #002336;   /* slightly different on hover/focus */
}

.nav-news { position: relative; display: inline-block; }
.news-badge {
  position: absolute;
  top: -10px;
  right: -12px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  box-sizing: border-box;
  border-radius: 9px;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
}

/* Afspraak-knop in de hero: enkel mobiel, gecentreerd over de afbeelding */
.hero-image { position: relative; }
.hero-image > a.calendar { display: none !important; }

@media (max-width: 599px) {
  .hero-image > a.calendar {
    display: inline-flex !important;
    position: absolute;
    left: 50%;
    bottom: 32px;                 /* meer ruimte onder de knop: verhoog voor nog meer */
    transform: translateX(-50%);
    z-index: 5;
    min-height: 0;
    padding: 6px 14px;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
  }
  .hero-image > a.calendar .q-btn__content { flex-wrap: nowrap; }
  .hero-image > a.calendar h6 { white-space: nowrap; }
}