/* ===========================
   GLOBAL — responsive images
   =========================== */
img.responsive-img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
}

/* ===========================
   LISTS — UL .ul-points
   =========================== */
/* Container */
.ul-points {
  margin: 1em 0;
  background: #faf9f8;
  border: 1px solid #efefef;
  border-radius: 5px;
  list-style: none;
  padding-left: 0;
  padding: 0.5em 0;
}
/* Alleen top-level <li> (custom dot) */
.ul-points > li {
  position: relative;
  padding: 0.5em 1.5em 0.5em 2.25rem; /* ruimte links voor dot */
  line-height: 1.6;
}
.ul-points > li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: calc(0.5em + (1.6em - 0.45rem) / 2);
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #32211a;
}
/* Nested lists (normale bullets, zelfde kleur, geen extra padding) */
.ul-points ul {
  margin: 0.35em 0 0.5em 1.1em;
  list-style: disc outside;
  padding-left: 0;
}
.ul-points ul li {
  padding: 0;
  line-height: 1.6;
}
.ul-points ul li::before { content: none; }
.ul-points ul li::marker {
  color: #32211a;
  font-size: 0.9em;
}

/* ===========================
   LISTS — OL .ol-points
   =========================== */
/* Container */
.ol-points {
  margin: 1em 0;
  background: #faf9f8;
  border: 1px solid #efefef;
  border-radius: 5px;
  list-style: none;     /* eigen nummering */
  padding: 0.5em 0;
  padding-left: 0;
  counter-reset: olp;
}
/* Top-level items: custom nummer + punt (bold) */
.ol-points > li {
  position: relative;
  padding: 0.5em 1.5em 0.5em 2.5rem; /* ruimte links voor nummer */
  line-height: 1.6;
}
.ol-points > li::before {
  counter-increment: olp;
  content: counter(olp) ".";        /* cijfer + punt */
  position: absolute;
  left: 1rem;
  top: 0.5em;
  font-weight: 700;
  color: #32211a;
  font-variant-numeric: tabular-nums;
}
/* Nested OL: native nummers, zelfde kleur, geen extra padding */
.ol-points ol {
  margin: 0.35em 0 0.5em 1.1em;
  list-style: decimal outside;
  padding-left: 0;
}
.ol-points ol li {
  padding: 0;
  line-height: 1.6;
}
.ol-points ol li::before { content: none; }
.ol-points ol li::marker { color: #32211a; }
/* Nested UL binnen OL: normale bullets */
.ol-points ul {
  margin: 0.35em 0 0.5em 1.1em;
  list-style: disc outside;
  padding-left: 0;
}
.ol-points ul li {
  padding: 0;
  line-height: 1.6;
}
.ol-points ul li::before { content: none; }
.ol-points ul li::marker { color: #32211a; }

/* ===========================
   TABLE — .ucn-table (één class)
   =========================== */
table.ucn-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #faf9f8;
  border-radius: 5px;
  overflow: hidden;
  font-variant-numeric: tabular-nums;
  border: 1px solid #efefef;     /* buitenrand */
}
/* Header */
table.ucn-table thead th {
  background: #32211a;
  color: #fff;
  text-align: left;
  padding: 0.75em 0.9em;
  font-weight: 700;
}
/* Body */
table.ucn-table tbody td {
  padding: 0.75em 0.9em;
  vertical-align: top;
  color: #1f1f1f;
  background: #faf9f8;
}
/* Zebra-rijen */
table.ucn-table tbody tr:nth-child(even) td {
  background: #f3efed;
}
/* Alle cell borders weg (Astra override) */
table.ucn-table th,
table.ucn-table td {
  border: 0 !important;
}

/* ===========================
   CARDS — H3-cards grid
   =========================== */
.h3-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 1em 0;
}
@media (min-width: 800px) {
  .h3-cards--cols-2 { grid-template-columns: 1fr 1fr; }
}

/* ===========================
   CARDS — individuele H3-card
   =========================== */
.h3-card {
  background: #faf9f8;
  border: 1px solid #efefef;
  border-radius: 8px;
  overflow: hidden;
  padding: 1rem;
  display: flex;
  flex-direction: column;   /* voor CTA onderaan */
}
/* Media full-bleed + compacte gap naar H3 */
.h3-card__media {
  margin: -1rem -1rem 0.5rem;
}
.h3-card__media > p,
.h3-card__media > figure { margin: 0; }
.h3-card__media img {
  display: block;
  width: 100%;
  height: auto;
}
/* H3 onder image: thema-stijl, geen extra top-margin */
.h3-card > h3 { margin-top: 0; }
/* Body opvullen + nette marges */
.h3-card__body { flex: 1 1 auto; }
.h3-card__body > :first-child { margin-top: 0; }
.h3-card__body > :last-child  { margin-bottom: 0; }
/* CTA altijd onderaan + consistente button */
.h3-card__cta {
  margin-top: auto;             /* duwt CTA naar onderkant */
  padding-top: 0.75rem;
}
.h3-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: #f2eeec;
  border: 1px solid #e1dbd8;
  border-radius: 6px;
  font-weight: 700;
  color: #32211a;
  text-decoration: none;
}
.h3-card__button:hover { background: #ebe6e4; }
.h3-card__button:focus-visible {
  outline: 2px solid #32211a;
  outline-offset: 2px;
}

.classic-narrow-wrap.classic-white {
  max-width: 750px;
  margin: 1em auto 0;
  background: #fff;
  width: 90%;
}

/* ===========================
   Sitemap shortcode
   =========================== */

/* Sitemap grid */
.sitemap-grid {
  list-style: none;
  margin: 1em 0;
  padding: 0;
  display: grid;
  gap: 10px;

  /* mobiel: 1 kolom */
  grid-template-columns: 1fr;
}

/* vanaf 700px: gebruik aantal kolommen uit CSS variable --cols (default 3) */
@media (min-width: 700px) {
  .sitemap-grid {
    grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  }
}

.sitemap-grid li a {
  text-decoration: none;
}
.sitemap-grid li a:hover {
  text-decoration: underline;
}


/* ===========================
   CTA BOX (KUV)
=========================== */
.cta-box {
  margin: 1rem 0;
}

.cta-box__inner {
  display: grid;
  grid-template-columns: 1fr;
  height: 350px;
  background: #eaf6ff;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  align-items: stretch;
  padding: 25px 0 0 25px; /* geen padding rechts of onder, zodat image strak zit */
}

/* Tekstsectie */
.cta-box__text {
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center; /* tekst verticaal gecentreerd */
  height: 100%;
  max-width: calc(60% - 30px);
  padding-bottom: 65px; /* ruimte boven de knoppen */
}

.cta-box__text p {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  color: #000;
  margin: 0.5em 0;
  max-width: 90%;
}

/* Knoppenblok — strak onderaan links, zonder extra padding */
.cta-box__actions {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 0 0 25px 0; /* alleen onder wat ruimte */
}

.cta-box__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  border: 1px solid transparent;
  font-weight: 700;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.1;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

/* Verwijder Firefox focusrand */
.cta-box__btn::-moz-focus-inner {
  border: 0;
}

/* Forceer kleuren & consistent gedrag in alle states */
.cta-box__btn,
.cta-box__btn:link,
.cta-box__btn:visited,
.cta-box__btn:hover,
.cta-box__btn:focus,
.cta-box__btn:active {
  text-decoration: none !important;
  box-shadow: none !important;
  outline: none !important;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  border-radius: 5px;
}

/* Bel-knop (Primary) */
.cta-box__btn--primary,
.cta-box__btn--primary:visited,
.cta-box__btn--primary:active {
  background: #22699E !important;
  color: #FFFFFF !important;
  border-color: #22699E !important;
}
.cta-box__btn--primary:hover,
.cta-box__btn--primary:focus {
  background: #1f5c8b !important;
  color: #FFFFFF !important;
  border-color: #1f5c8b !important;
}
.cta-box__btn--primary:focus-visible {
  outline: 2px solid #1f5c8b !important;
  outline-offset: 2px;
}

/* Contact-knop (Ghost) */
.cta-box__btn--ghost,
.cta-box__btn--ghost:visited,
.cta-box__btn--ghost:active {
  background: #FFFFFF !important;
  color: #8D8D8D !important;
  border-color: #E5E5E5 !important;
}
.cta-box__btn--ghost:hover,
.cta-box__btn--ghost:focus {
  background: #f7f7f7 !important;
  color: #6e6e6e !important;
  border-color: #D8D8D8 !important;
}
.cta-box__btn--ghost:focus-visible {
  outline: 2px solid #8D8D8D !important;
  outline-offset: 2px;
}

/* Afbeelding rechts — strak tegen randen */
.cta-box__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.cta-box__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 5px 5px 0;
  display: block;
}

/* Desktop layout */
@media (min-width: 900px) {
  .cta-box__inner {
    grid-template-columns: 1fr 40%;
  }
  .cta-box__text {
    padding-right: 30px;
    max-width: none;
  }
}

/* Mobiel layout */
@media (max-width: 899.98px) {
  .cta-box {
    margin: 0;
  }

  .cta-box__inner {
    grid-template-columns: 1fr;
    height: auto;
    padding: 0;
  }

  .cta-box__text {
    max-width: 100%;
    height: auto;
    justify-content: flex-start;
    padding: 25px;
    padding-bottom: 0;
    margin: 0;
  }

  .cta-box__actions {
    position: relative;
    left: 0;
    bottom: 0;
    padding: 0 25px 25px 25px;
    margin-top: 20px;
  }

  .cta-box__media {
    position: relative;
    width: 100%;
    height: 250px;
    margin-top: 25px;
  }

  .cta-box__media img {
    border-radius: 5px;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }
}