@charset "UTF-8";

body {
  font-family: var(--font3); /* uit database */
  font-size: var(--fontsize3); /* uit database */
  color: var(--basiskleurveertien); /*uit database */
  background-color: var(--basiskleurdertien); /*uit database */
  font-optical-sizing: auto;
  font-variation-settings: "wdth" 100;
  font-weight: 400;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased; /* WebKit/Blink */
  -moz-osx-font-smoothing: grayscale; /* macOS Firefox */
  text-rendering: optimizeLegibility; /* betere kerning/liga's bij grotere tekst */
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  font-synthesis: none;
}

.table {
  --bs-table-color: var(--basiskleureen);
  --bs-table-striped-color: var(--basiskleureen);
  --bs-table-hover-color: var(--basiskleureen);
}

.table th,
.table td {
  color: inherit;
}

.table thead th {
  color: inherit;
}

.table a {
  color: var(--basiskleurveertien); /*uit database */
  text-decoration: underline;
}

.leader1 {
  font-family: var(--font11); /* uit database */
  color: var(--basiskleurachtenveertig) !important; /* uit database */
  font-size: var(--fontsize11); /* uit database */
  margin: 0;
  padding: 0;
  line-height: 1.1;
  font-weight: 600;
}

.leader2 {
  font-family: var(--font12); /* uit database */
  color: var(--basiskleurnegenenveertig) !important; /* uit database */
  font-size: var(--fontsize12); /* uit database */
  margin: 0;
  padding: 0;
  line-height: 1.1;
  font-weight: 600;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font4);
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

h1 {
  font-size: var(--fontsize4); /* uit database */
  color: var(--basiskleurvijftien) !important; /* uit database */
  font-weight: 600;
}

h2 {
  font-size: var(--fontsize5); /* uit database */
  color: var(--basiskleurzestien) !important; /* uit database */
  font-weight: 600;
  margin-bottom: 0.7rem;
}

h3 {
  font-size: var(--fontsize6); /* uit database */
  color: var(--basiskleurzeventien) !important; /* uit database */
  font-weight: 600;
  margin-bottom: 0.7rem;
}

h4 {
  font-size: var(--fontsize7); /* uit database */
  color: var(--basiskleurachtien) !important; /* uit database */
  font-weight: 600;
  margin-bottom: 0.7rem;
}

b,
strong {
  font-weight: bold;
}

i,
em {
  font-style: italic;
}

.bg-links {
  position: relative;
  z-index: 1;
  border-radius: var(--bs-border-radius-xl, 1rem);
}

.bg-links::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(-60px - 1rem);
  width: calc(60px + 3rem);
  background-color: inherit;
  border-top-left-radius: inherit;
  border-bottom-left-radius: inherit;
  z-index: -1;
}

.rotate-5 {
  transform: rotate(5deg);
}

.rotate-10 {
  transform: rotate(10deg);
}

.rotate-min-5 {
  transform: rotate(-5deg);
}

.rotate-min-10 {
  transform: rotate(-10deg);
}

/* achtergronden voor knoppen/banners */
.achtergrond1 {
  position: relative;
  overflow: hidden;
  background-image: url("/images/kleurschakering.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.achtergrond2 {
  position: relative;
  overflow: hidden;
  background-image: url("/images/kleurschakering2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.achtergrond3 {
  position: relative;
  overflow: hidden;
  background-image: url("/images/kleurschakering3.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.achtergrond4 {
  position: relative;
  overflow: hidden;
  background-image: url("/images/kleurschakering4.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.achtergrond5 {
  position: relative;
  overflow: hidden;
  background-image: url("/images/kleurschakering5.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.handgeschreven,
.handwritten {
  font-family: var(--font13); /* uit database */
  color: var(--basiskleurvijftig); /* uit database */
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  font-weight: 400;
  line-height: 1.7;
}

/* Maak alle images in contentblokken responsief zoals .img-fluid */
.content-section .content-body img,
.content-section picture > img {
  max-width: 100%;
  height: auto;
}

/* Optioneel: nette blok-opmaak + centreren */
.content-section .content-body img {
  display: block; /* voorkomt inline-gap */
  margin-inline: auto; /* centreer als kleiner dan container */
}

/* Wil je een plaatje juist NIET schalen? geef 'no-fluid' */
.content-section .content-body img.no-fluid {
  max-width: none;
  height: auto;
}

/* Extra robuustheid: overschrijf eventueel inline width/height uit de editor */
.content-section .content-body img[style*="width"] {
  width: auto !important; /* laat max-width het werk doen */
}

.content-section .content-body img[width] {
  width: auto; /* HTML-attribuut overschrijven */
}

/* 1) Tekstkleur laten erven voor headings + content */
.content-section .content-kolom,
.content-section .content-body {
  color: inherit;
}

.content-section .content-kolom h1,
.content-section .content-kolom h2,
.content-section .content-kolom h3,
.content-section .content-kolom h4,
.content-section .content-kolom h5,
.content-section .content-kolom h6 {
  color: inherit;
}

/* 2) Links kleuren mee met de tekst, MAAR géén 'button-achtige' links */
.content-section .content-body a:not([class*="btn"]) {
  color: currentColor;
  text-decoration-color: currentColor;
}

.content-section .content-body a:not([class*="btn"]):hover {
  opacity: 0.85;
}

/* 3) (optioneel) inline SVG/icons in content laten meekleuren */
.content-section .content-body svg {
  fill: currentColor;
  stroke: currentColor;
}

/* Masker 1 – basis: vullen zoals een background cover */
.masker1 {
  --mask-size: cover; /* of: contain */
  --mask-position: 50% 50%; /* center */
  mask: url("/images/masker1.svg") no-repeat var(--mask-position)/var(--mask-size);
  -webkit-mask: url("/images/masker1.svg") no-repeat var(--mask-position)/var(--mask-size);
}

/* Extra helpers masker 1 */
.masker1--contain {
  --mask-size: contain;
}

.masker1--cover {
  --mask-size: cover;
}

.masker1--top {
  --mask-position: 50% 0%;
}

.masker1--bottom {
  --mask-position: 50% 100%;
}

.masker1--left {
  --mask-position: 0% 50%;
}

.masker1--right {
  --mask-position: 100% 50%;
}

/* Fallback styling voor browsers zonder mask */
@supports not ((mask-image: url("/images/masker1.svg")) or (-webkit-mask-image: url("/images/masker1.svg"))) {
  .masker1 {
    border-radius: 1rem;
  }
}

/* Masker 2 – basis: vullen zoals een background cover */
.masker2 {
  --mask-size: cover; /* of: contain */
  --mask-position: 50% 50%; /* center */
  mask: url("/images/masker2.svg") no-repeat var(--mask-position)/var(--mask-size);
  -webkit-mask: url("/images/masker2.svg") no-repeat var(--mask-position)/var(--mask-size);
}

/* Extra helpers masker 2 */
.masker2--contain {
  --mask-size: contain;
}

.masker2--cover {
  --mask-size: cover;
}

.masker2--top {
  --mask-position: 50% 0%;
}

.masker2--bottom {
  --mask-position: 50% 100%;
}

.masker2--left {
  --mask-position: 0% 50%;
}

.masker2--right {
  --mask-position: 100% 50%;
}

/* Fallback styling voor browsers zonder mask */
@supports not ((mask-image: url("/images/masker2.svg")) or (-webkit-mask-image: url("/images/masker2.svg"))) {
  .masker2 {
    border-radius: 1rem;
  }
}