/* d-lep Blog Experience 1.0.1 — uitsluitend binnen .dlep-blog / .dlep-article */
.dlep-blog,
.dlep-blog *,
.dlep-article,
.dlep-article * { box-sizing: border-box; }

.dlep-blog {
  --dlep-ink: #20372c;
  --dlep-deep: #153c2b;
  --dlep-muted: #67726c;
  --dlep-line: #e4e9e2;
  --dlep-cream: #fafaf7;
  --dlep-white: #fff;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  color: var(--dlep-ink);
  background: transparent;
  -webkit-font-smoothing: antialiased;
}
.dlep-blog a { color: inherit; text-decoration: none; box-shadow: none; }
.dlep-blog a:hover { text-decoration: none; }
.dlep-blog button,
.dlep-blog input,
.dlep-blog select { font: inherit; }
.dlep-blog button { cursor: pointer; }
.dlep-blog button:disabled { cursor: wait; opacity: .62; }
.dlep-blog :is(a, button, input, select):focus-visible {
  outline: 3px solid #89a996;
  outline-offset: 3px;
}
.dlep-blog :is(h1, h2, h3, p) { margin: 0; padding: 0; }
.dlep-blog .screen-reader-text {
  position: absolute!important;
  width: 1px!important;
  height: 1px!important;
  padding: 0!important;
  margin: -1px!important;
  overflow: hidden!important;
  clip: rect(0,0,0,0)!important;
  white-space: nowrap!important;
  border: 0!important;
}
.dlep-blog__icon { display: inline-block; width: 19px; height: 19px; flex: none; vertical-align: middle; }

/* Rustige beeldhero, geen menu of footer van de plugin */
.dlep-blog__hero {
  width: 100%;
  height: clamp(305px, 30vw, 430px);
  min-height: 305px;
  position: relative;
  overflow: visible;
  isolation: isolate;
  padding: 0;
  background: transparent;
}
/* Alleen de beeldlaag breekt uit de paginakolom. De tekstcontainer,
   filterbalk en blogkaarten behouden hun bestaande breedte en uitlijning. */
.dlep-blog__hero-media {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  z-index: 0;
  background: #d9dcd3;
  pointer-events: none;
}
/* Alleen door deze hero gemarkeerde, afsnijdende WPBakery-wrappers. */
.dlep-blog-hero-overflow {
  overflow: visible !important;
}
.dlep-blog__hero-img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
  object-position: center 49%;
}
.dlep-blog__hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(249,249,245,.92) 0%, rgba(249,249,245,.70) 24%, rgba(249,249,245,.18) 54%, rgba(249,249,245,0) 79%);
}
.dlep-blog__hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
  padding: 38px clamp(26px, 5.6vw, 78px);
}
.dlep-blog__eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .20em;
  color: var(--dlep-ink);
  text-transform: uppercase;
}
.dlep-blog__hero .dlep-blog__eyebrow:after {
  content: "";
  display: block;
  width: 27px;
  height: 1px;
  background: currentColor;
  margin-left: 13px;
  opacity: .48;
}
.dlep-blog .dlep-blog__hero-title {
  max-width: 490px;
  margin: 16px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(45px, 4.2vw, 66px);
  line-height: 1.02;
  letter-spacing: -.045em;
  color: var(--dlep-deep);
  text-wrap: balance;
}
.dlep-blog .dlep-blog__hero-subtitle {
  max-width: 440px;
  color: #34473c;
  font-size: clamp(13px, 1.25vw, 16px);
  line-height: 1.5;
  font-weight: 400;
}

/* Filterbalk */
.dlep-blog__content {
  width: min(100% - 44px, 1260px);
  margin: 0 auto;
  padding: 33px 0 62px;
}
.dlep-blog__filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
  width: 100%;
  margin: 0 0 11px;
  padding: 0;
}
.dlep-blog__filters :is(.dlep-blog__search,.dlep-blog__select) {
  display: flex;
  align-items: center;
  position: relative;
  border: 1px solid #e2e7df;
  background: rgba(255,255,255,.99);
  min-width: 0;
  height: 49px;
  border-radius: 30px;
  box-shadow: 0 5px 18px rgba(25,50,32,.035);
  color: #344338;
  transition: border-color .17s ease, box-shadow .17s ease;
}
.dlep-blog__filters :is(.dlep-blog__search,.dlep-blog__select):focus-within {
  border-color: #80a08d;
  box-shadow: 0 0 0 3px rgba(81,126,100,.12);
}
.dlep-blog__search { flex: 2.05; padding: 0 17px; gap: 12px; }
.dlep-blog__search .dlep-blog__icon { color: #3e5148; width: 21px; height: 21px; }
.dlep-blog__search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: #28382f;
  background: transparent;
  font-size: 13px;
  padding: 0;
  height: 100%;
  box-shadow: none;
  -webkit-appearance: none;
}
.dlep-blog__search input:focus { border: 0; box-shadow: none; outline: 0; }
.dlep-blog__search input::placeholder { color: #909891; opacity: 1; }
.dlep-blog__select { flex: .96; }
.dlep-blog__select--sort { flex: .88; }
.dlep-blog__select select {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 36px 0 16px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: #39463d;
  font-size: 12.5px;
  line-height: 1.4;
  outline: 0;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.dlep-blog__select select:focus { outline: 0; border: 0; box-shadow: none; }
.dlep-blog__select > .dlep-blog__icon {
  pointer-events: none;
  position: absolute;
  right: 15px;
  top: calc(50% - 9px);
  width: 18px;
  height: 18px;
  opacity: .85;
}
.dlep-blog__submit {
  flex: none;
  height: 49px;
  padding: 0 23px;
  border-radius: 30px;
  border: 1px solid var(--dlep-deep);
  background: var(--dlep-deep);
  color: white;
  font-weight: 600;
  font-size: 13px;
}
.dlep-blog[data-dlep-ready] .dlep-blog__submit { display: none; }
.dlep-blog__result-status {
  color: var(--dlep-muted);
  font-size: 12px;
  margin: 1px 0 14px;
  min-height: 18px;
}

/* Kaarten */
.dlep-blog__grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
  position: relative;
}
.dlep-blog__grid > * { min-width: 0; }
.dlep-blog__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  background: var(--dlep-white);
  border: 1px solid var(--dlep-line);
  border-radius: 12px;
  box-shadow: 0 9px 20px rgba(36,61,46,.045);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.dlep-blog__card:hover {
  transform: translateY(-4px);
  border-color: #d2dfd4;
  box-shadow: 0 17px 33px rgba(27,57,37,.095);
}
.dlep-blog__card-image {
  flex: none;
  display: block;
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: 1.75;
  background: #dce5dc;
}
.dlep-blog__card-img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1.75;
  object-fit: cover;
  object-position: center center;
  transition: transform .5s ease;
}
.dlep-blog__card:hover .dlep-blog__card-img { transform: scale(1.055); }
.dlep-blog__card-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 205px;
  padding: 19px 20px 17px;
}
.dlep-blog__category {
  display: block;
  color: #6f8074;
  font-size: 10px;
  line-height: 1.3;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 9px;
}
.dlep-blog .dlep-blog__card-title {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(21px, 1.72vw, 26px);
  line-height: 1.18;
  letter-spacing: -.023em;
  color: #23392f;
}
.dlep-blog__card-title a { text-decoration: none; }
.dlep-blog__card-title a:hover { color: #366c4c; }
.dlep-blog .dlep-blog__card-excerpt {
  color: #7d8580;
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 17px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dlep-blog__card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dlep-blog__metadata { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.dlep-blog__metadata :is(time,span) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  line-height: 1.5;
  color: #697970;
  white-space: nowrap;
}
.dlep-blog__metadata .dlep-blog__icon { width: 14px; height: 14px; stroke-width: 1.7px; color: #405c4c; }
.dlep-blog__card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #6c8876;
  border-radius: 100%;
  flex: none;
  color: #1f4531;
  transition: color .2s ease, background .2s ease;
}
.dlep-blog__card-arrow .dlep-blog__icon { width: 19px; height: 19px; }
.dlep-blog__card-arrow:hover { color: #fff; background: #224b35; }

/* Pagina's, resultaten, laadstatus */
.dlep-blog__paging {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 16px;
  margin: 31px 0 0;
}
.dlep-blog__more,
.dlep-blog__page-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 43px;
  padding: 11px 22px;
  border: 1px solid #2d5640;
  border-radius: 28px;
  color: #264b37;
  font-weight: 600;
  font-size: 13px;
  background: #fff;
  transition: background .2s ease,color .2s ease;
}
.dlep-blog__more:hover,
.dlep-blog__page-back:hover { color: #fff; background: #1c4630; }
.dlep-blog__more .dlep-blog__icon { width: 17px; height: 17px; }
.dlep-blog__more[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.dlep-blog__empty {
  grid-column: 1 / -1;
  border: 1px dashed #cbd8cd;
  background: #f7faf5;
  padding: 62px 24px;
  border-radius: 12px;
  text-align: center;
}
.dlep-blog__empty > span .dlep-blog__icon { width: 31px; height: 31px; color: #4a6d55; }
.dlep-blog .dlep-blog__empty h2 { font: 400 27px/1.25 Georgia,serif; margin: 13px 0 7px; }
.dlep-blog__empty p { color: var(--dlep-muted); font-size: 14px; }
.dlep-blog__empty button {
  padding: 9px 18px;
  margin: 20px 0 0;
  border: 1px solid #245338;
  border-radius: 30px;
  background: #235037;
  color: #fff;
}
.dlep-blog--loading .dlep-blog__grid { opacity: .46; }
.dlep-blog__error {
  width: 100%;
  padding: 11px 15px;
  background: #fff6f0;
  border: 1px solid #edcfbb;
  color: #87411a;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 13px;
}

/* Optioneel (alleen werkend aangesloten) nieuwsbrief-/CTA-blok */
.dlep-blog__cta {
  display: flex;
  align-items: stretch;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 260px;
  margin-top: 32px;
  border-radius: 13px;
  background: #e9ede5;
  color: var(--dlep-deep);
}
.dlep-blog__cta-body { z-index: 2; width: min(60%,700px); padding: clamp(28px,4vw,55px); }
.dlep-blog .dlep-blog__cta h2 {
  font: 400 clamp(25px,3vw,37px)/1.15 Georgia,"Times New Roman",serif;
  letter-spacing: -.035em;
  color: var(--dlep-deep);
  margin: 13px 0 10px;
}
.dlep-blog .dlep-blog__cta p { max-width: 400px; font-size: 14px; color: #58695c; margin: 0 0 20px; }
.dlep-blog__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
  padding: 12px 24px;
  background: var(--dlep-deep);
  color: #fff!important;
  font-size: 13px;
  font-weight: 500;
  border-radius: 24px;
}
.dlep-blog__cta-button:hover { background: #2c6044; }
.dlep-blog__cta-art {
  width: 52%;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg,#e9ede5 0%,rgba(233,237,229,0) 48%),url('../images/blog-fallback-nature.webp') center 39% / cover no-repeat;
  opacity: .79;
}
.dlep-blog__cta-form :is(input,button) { max-width: 100%; }

/* Bijbehorend optioneel artikeltemplate */
.dlep-article {
  --dlep-deep: #153c2b;
  --dlep-muted: #64736a;
  max-width: 1180px;
  width: min(100% - 46px, 1180px);
  margin: 0 auto;
  padding: 44px 0 72px;
  color: #243b2f;
  font-family: "Avenir Next", "Segoe UI", Arial,sans-serif;
  -webkit-font-smoothing: antialiased;
}
.dlep-article a { color: #285e3d; }
.dlep-article a:focus-visible { outline: 3px solid #84a58d; outline-offset: 3px; }
.dlep-article__back { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 13px; color: #2d6443; font-weight: 600; margin: 0 0 44px; }
.dlep-article__back .dlep-blog__icon { width: 17px; height: 17px; }
.dlep-article__header { text-align: center; max-width: 910px; margin: 0 auto 35px; }
.dlep-article__header .dlep-blog__category { font-size: 11px; margin-bottom: 14px; }
.dlep-article .dlep-article__title { font: 400 clamp(38px,5.5vw,71px)/1.06 Georgia,"Times New Roman",serif; letter-spacing: -.045em; color: var(--dlep-deep); margin: 0 auto 19px; text-wrap: balance; }
.dlep-article .dlep-article__lead { font-size: 17px; line-height: 1.7; color: #66786b; max-width: 680px; margin: 0 auto 22px; }
.dlep-article__header .dlep-blog__metadata { justify-content: center; }
.dlep-article__featured { overflow: hidden; border-radius: 13px; aspect-ratio: 2.15; margin: 0 0 54px; background: #e0e9df; }
.dlep-article__featured img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dlep-article__body { width: min(100%, 760px); margin: 0 auto; font-size: 17px; line-height: 1.88; color: #34453b; }
.dlep-article__body > *:first-child { margin-top: 0; }
.dlep-article__body :is(h2,h3,h4) { font-family: Georgia,"Times New Roman",serif; font-weight: 400; color: #203c2b; line-height: 1.22; letter-spacing: -.02em; margin: 1.55em 0 .54em; }
.dlep-article__body h2 { font-size: 34px; }
.dlep-article__body h3 { font-size: 26px; }
.dlep-article__body p { margin: 0 0 1.25em; }
.dlep-article__body a { text-decoration: underline; text-underline-offset: 3px; }
.dlep-article__body :is(img,video,iframe) { max-width: 100%; height: auto; }
.dlep-article__body blockquote { padding: 9px 0 9px 27px; border-left: 3px solid #98b69d; font: 400 27px/1.4 Georgia,serif; color: #255237; margin: 1.2em 0; }
.dlep-article__body :is(ul,ol) { margin: 0 0 1.25em 1.4em; }
.dlep-article__share { border-top: 1px solid #e0e7df; border-bottom: 1px solid #e0e7df; margin: 55px auto 0; padding: 18px 0; width: min(100%,760px); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 13px; }
.dlep-article__share-links { display: inline-flex; gap: 14px; }
.dlep-article__share-links a { font-weight: 600; text-decoration: none; }
.dlep-article__related { padding: 55px 0 10px; }
.dlep-article__related > h2 { font: 400 clamp(28px,3vw,37px)/1.2 Georgia,serif; letter-spacing: -.02em; color: var(--dlep-deep); margin: 0 0 24px; }
.dlep-article__related .dlep-blog__grid { grid-template-columns: repeat(3,minmax(0,1fr)); }

@media (max-width:1100px) {
  .dlep-blog__content { width: min(100% - 38px,1000px); }
  .dlep-blog__filters { gap: 9px; }
  .dlep-blog__search { flex: 1.65; }
  .dlep-blog__select { flex: .96; }
  .dlep-blog__select select { font-size: 11px; padding-left: 12px; padding-right: 27px; }
  .dlep-blog__select>.dlep-blog__icon { right: 9px; width: 15px; }
  .dlep-blog__card-inner { padding: 16px; }
  .dlep-blog__grid { gap: 15px; }
  .dlep-blog__metadata { gap: 8px; }
}
@media (max-width:780px) {
  .dlep-blog__hero { height: 320px; }
  .dlep-blog__hero-shade { background: linear-gradient(90deg,rgba(249,249,245,.9),rgba(249,249,245,.51) 58%,rgba(249,249,245,.10)); }
  .dlep-blog .dlep-blog__hero-title { font-size: clamp(42px,6.3vw,55px); max-width: 390px; }
  .dlep-blog__content { width: min(100% - 32px,650px); padding-top: 22px; }
  .dlep-blog__filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .dlep-blog__search { grid-column: 1/-1; }
  .dlep-blog__select { min-width:0; }
  .dlep-blog__select--sort { grid-column: 1/-1; }
  .dlep-blog__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .dlep-blog .dlep-blog__card-title { font-size: 22px; }
  .dlep-blog__card-inner { min-height: 225px; }
  .dlep-blog__metadata { gap: 11px; }
  .dlep-blog__cta-body { width: 72%; }
  .dlep-article { width: min(100% - 32px,650px); }
  .dlep-article__featured { aspect-ratio: 1.55; margin-bottom: 32px; }
  .dlep-article__related .dlep-blog__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:520px) {
  .dlep-blog__hero { height: 300px; min-height: 300px; }
  .dlep-blog__hero-img { object-position: 61% center; }
  .dlep-blog__hero-shade { background: linear-gradient(90deg,rgba(249,249,245,.91),rgba(249,249,245,.64) 65%,rgba(249,249,245,.28)); }
  .dlep-blog__hero-inner { padding: 32px 22px; }
  .dlep-blog .dlep-blog__hero-title { font-size: clamp(39px,10.8vw,52px); max-width: 290px; margin: 14px 0 10px; }
  .dlep-blog .dlep-blog__hero-subtitle { font-size: 13px; max-width: 230px; }
  .dlep-blog__content { width: min(100% - 30px,430px); padding-top: 17px; padding-bottom: 36px; }
  .dlep-blog__filters :is(.dlep-blog__search,.dlep-blog__select) { height: 45px; }
  .dlep-blog__filters { gap: 7px; }
  .dlep-blog__search input, .dlep-blog__select select { font-size: 12px; }
  .dlep-blog__grid { grid-template-columns: minmax(0,1fr); gap: 19px; }
  .dlep-blog__card-image, .dlep-blog__card-img { aspect-ratio: 1.75; }
  .dlep-blog__card-inner { min-height: 194px; padding: 18px 19px; }
  .dlep-blog .dlep-blog__card-title { font-size: 24px; }
  .dlep-blog__metadata { gap: 17px; }
  .dlep-blog__result-status { margin-top: 8px; }
  .dlep-blog__paging { margin-top: 23px; flex-wrap: wrap; }
  .dlep-blog__cta { margin-top: 20px; min-height: 290px; }
  .dlep-blog__cta-body { width: 100%; padding: 27px; }
  .dlep-blog__cta-art { width: 100%; opacity: .12; }
  .dlep-article { padding-top: 25px; }
  .dlep-article__back { margin-bottom: 27px; }
  .dlep-article__header { margin-bottom: 28px; }
  .dlep-article .dlep-article__title { font-size: 40px; }
  .dlep-article .dlep-article__lead { font-size: 15px; }
  .dlep-article__featured { aspect-ratio: 1.35; }
  .dlep-article__body { font-size: 16px; }
  .dlep-article__body h2 { font-size: 28px; }
  .dlep-article__related .dlep-blog__grid { grid-template-columns: minmax(0,1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .dlep-blog *, .dlep-blog *::before, .dlep-blog *::after { transition-duration: .01ms!important; animation-duration: .01ms!important; scroll-behavior: auto!important; }
}
