/* ============================================================================
   Rustmoment in de klas — Blog
   Overzichtspagina (/blog/) + artikeltemplate (single post)
   Volgt bouwopdracht-blogoverzicht.md en bouwspecificatie-artikeltemplate.md
   ========================================================================== */

:root {
  --ridk-chip-actief:   #3A6476;
  --ridk-chip-hover-bg: #F3F8FC;
  --ridk-kaartrand:     #E6EAEE;
  --ridk-kaartrand-hv:  #DCE3E9;
  --ridk-kaartschaduw:      0 6px 18px rgba(58,100,118,.07);
  --ridk-kaartschaduw-hover:0 10px 26px rgba(58,100,118,.15);
  --ridk-coralschaduw:      0 6px 18px rgba(252,96,72,.32);
  --ridk-motion: 180ms cubic-bezier(.4,0,.2,1);
}

/* Focus — overal gelijk */
.ridk-blog a:focus-visible,
.ridk-blog button:focus-visible,
.ridk-blog input:focus-visible,
.ridk-artikel a:focus-visible,
.ridk-artikel button:focus-visible,
.ridk-artikel input:focus-visible {
  outline: 3px solid var(--ridk-yellow);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==========================================================================
   1. Overzichtspagina — kop
   ========================================================================== */

/* Typografie van de kop staat in Elementor (sectie "blogkop"); hier alleen regellengte en marges. */
.ridk-blog .ridk-blog__kop h1 {
  max-width: 900px;
  margin: 0;
}

.ridk-blog .ridk-blog__kop .ridk-blog__sub {
  max-width: 660px;
  margin: 20px 0 0;
}

/* ==========================================================================
   2. Uitgelicht artikel
   ========================================================================== */

.ridk-uitgelicht {
  display: grid;
  grid-template-columns: 600px 1fr;
  gap: 44px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.ridk-uitgelicht__beeld img,
.ridk-uitgelicht__beeld .ridk-kaart__beeld-leeg {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 20px;
  background: #EEF2F5;
}

.ridk-uitgelicht__label {
  display: block;
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ridk-fg-3);
  margin-bottom: 12px;
}

.ridk-uitgelicht__kop {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 31px;
  line-height: 1.24;
  color: var(--ridk-teal-700);
  margin: 0 0 14px;
}

.ridk-uitgelicht__samenvatting {
  font-family: Quicksand, sans-serif; font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ridk-fg-2);
  margin: 0 0 14px;
}

.ridk-uitgelicht__meta {
  font-family: Quicksand, sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--ridk-fg-3);
  margin: 0;
}

.ridk-uitgelicht:hover .ridk-uitgelicht__kop { color: var(--ridk-blue-700); }

/* ==========================================================================
   3. Filterbalk — Elementor Taxonomy Filter + teller
   ========================================================================== */

.ridk-filterbalk {
  border-top: 1px solid var(--ridk-line);
  padding-top: 20px;
}

.ridk-filterbalk .e-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.ridk-filterbalk .e-filter-item {
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: Quicksand, sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--ridk-fg-2);
  cursor: pointer;
  transition: background var(--ridk-motion), color var(--ridk-motion);
}

.ridk-filterbalk .e-filter-item:hover {
  background: var(--ridk-chip-hover-bg);
  color: var(--ridk-blue-700);
}

.ridk-filterbalk .e-filter-item[aria-pressed="true"] {
  background: var(--ridk-chip-actief);
  color: #fff;
  font-weight: 700;
}

.ridk-teller {
  font-family: Quicksand, sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--ridk-fg-3);
  white-space: nowrap;
}

/* ==========================================================================
   4. Kaartengrid
   ========================================================================== */

.ridk-blog .elementor-loop-container.elementor-grid {
  gap: 28px;
}

.ridk-kaart {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--ridk-kaartrand);
  border-radius: 14px;
  box-shadow: var(--ridk-kaartschaduw);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--ridk-motion), box-shadow var(--ridk-motion), border-color var(--ridk-motion);
}

.ridk-kaart:hover {
  transform: translateY(-3px);
  box-shadow: var(--ridk-kaartschaduw-hover);
  border-color: var(--ridk-kaartrand-hv);
}

.ridk-kaart__beeld img,
.ridk-kaart__beeld-leeg {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #EEF2F5;
}

/* Notitiekaart — crème vlak in plaats van beeld */
.ridk-kaart__notitievlak {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-height: 150px;
  padding: 24px;
  background: var(--ridk-paper);
  border-bottom: 1px solid var(--ridk-line-warm);
}

.ridk-kaart__notitiezin {
  font-family: Caveat, cursive;
  font-weight: 600;
  font-size: 25px;
  line-height: 1.38;
  color: var(--ridk-teal-700);
  margin: 0;
}

.ridk-kaart__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 auto;
  padding: 16px 18px 18px;
}

.ridk-kaart--artikel .ridk-kaart__body { flex: 1 1 auto; }

.ridk-kaart__rubriek {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ridk-fg-2);
}

.ridk-kaart__titel {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.35;
  color: var(--ridk-teal-700);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ridk-kaart__samenvatting {
  font-family: Quicksand, sans-serif; font-weight: 500;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ridk-fg-2);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ridk-kaart__meta {
  font-family: Quicksand, sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--ridk-fg-3);
  margin: auto 0 0;
  padding-top: 2px;
}

/* ==========================================================================
   5. Nieuwsbriefblok
   ========================================================================== */

.ridk-nieuwsbrief {
  background: var(--ridk-sage-100);
  border-radius: 28px;
  padding: 52px 56px;
  text-align: center;
}

.ridk-nieuwsbrief h2 {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 31px;
  line-height: 1.28;
  color: var(--ridk-teal-700);
  margin: 0 auto 12px;
  max-width: 640px;
}

.ridk-nieuwsbrief .ridk-nieuwsbrief__regel {
  font-family: Quicksand, sans-serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ridk-teal);
  max-width: 560px;
  margin: 0 auto 24px;
}

.ridk-nieuwsbrief .elementor-form {
  max-width: 520px;
  margin: 0 auto;
  gap: 10px;
}

.ridk-nieuwsbrief .elementor-field-textual {
  height: 56px;
  padding: 0 20px;
  background: #fff;
  border: 1px solid #C4D8D5;
  border-radius: 999px;
  font-family: Quicksand, sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: var(--ridk-fg);
  box-sizing: border-box;
}

.ridk-nieuwsbrief .elementor-field-textual::placeholder { color: var(--ridk-fg-3); }

.ridk-nieuwsbrief .elementor-button[type="submit"],
.ridk-artikel .ridk-cta .elementor-button[type="submit"] {
  height: 56px;
  padding: 0 28px;
  background: var(--ridk-coral);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 17px;
  white-space: nowrap;
  box-shadow: var(--ridk-coralschaduw);
  transition: background var(--ridk-motion);
}

.ridk-nieuwsbrief .elementor-button[type="submit"]:hover,
.ridk-artikel .ridk-cta .elementor-button[type="submit"]:hover {
  background: var(--ridk-coral-700);
}

.ridk-nieuwsbrief .ridk-bewijsregel,
.ridk-cta .ridk-bewijsregel {
  font-family: Quicksand, sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--ridk-sage-700);
  margin: 14px 0 0;
}

/* ==========================================================================
   6. Lege staat
   ========================================================================== */

.ridk-blog .elementor-widget-loop-grid .elementor-widget-container > .e-loop-nothing-found-message {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px dashed #C7DBEB;
  border-radius: 20px;
  background: #FBFCFD;
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 23px;
  color: var(--ridk-teal-700);
}

/* ==========================================================================
   7. Artikeltemplate — kop
   ========================================================================== */

.ridk-artikel .ridk-leeskolom { max-width: 700px; margin-inline: auto; }

.ridk-rubriekslabel {
  display: inline-block;
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ridk-coral-700);
  background: var(--ridk-coral-100);
  border-radius: 999px;
  padding: 7px 13px;
  text-decoration: none;
}

.ridk-rubriek-eerst-jij .ridk-rubriekslabel { color: var(--ridk-sage-700); background: var(--ridk-sage-100); }
.ridk-rubriek-waarom-rust-werkt .ridk-rubriekslabel { color: var(--ridk-blue-700); background: var(--ridk-blue-100); }
.ridk-rubriek-zelf-maken .ridk-rubriekslabel { color: var(--ridk-yellow-700); background: var(--ridk-yellow-100); }

.ridk-artikel h1.ridk-artikel__titel {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 46px;
  line-height: 1.14;
  letter-spacing: -.01em;
  color: var(--ridk-teal-700);
  margin: 18px 0 0;
}

body.ridk-soort-notitie .ridk-artikel h1.ridk-artikel__titel { font-size: 44px; }

.ridk-artikel .ridk-artikel__intro {
  font-family: Quicksand, sans-serif; font-weight: 500;
  font-size: 23px;
  line-height: 1.55;
  color: var(--ridk-fg-2);
  margin: 18px 0 0;
}

/* Metaregel */
.ridk-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: Quicksand, sans-serif;
  font-size: 15px;
  line-height: 1;
  margin-top: 24px;
}

.ridk-meta__foto { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ridk-meta__naam { font-weight: 700; color: var(--ridk-teal); }
.ridk-meta__datum,
.ridk-meta__leesduur { font-weight: 500; color: var(--ridk-fg-2); }
.ridk-meta__bijgewerkt { font-weight: 500; color: var(--ridk-fg-3); }
.ridk-meta__sep { color: #B9C3CA; }

.ridk-herkomst {
  font-family: Quicksand, sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--ridk-fg-3);
  border-top: 1px solid var(--ridk-line);
  padding-top: 12px;
  margin: 16px 0 0;
}

/* Heldebeeld */
.ridk-artikel .ridk-held img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 20px;
}

/* ==========================================================================
   8. "In het kort"
   ========================================================================== */

.ridk-inhetkort {
  background: var(--ridk-paper);
  border: 1px solid var(--ridk-line-warm);
  border-radius: 14px;
  padding: 28px 32px;
}

.ridk-inhetkort__kop {
  font-family: Quicksand, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ridk-teal);
  margin: 0 0 16px;
}

.ridk-inhetkort__lijst { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }

.ridk-inhetkort__lijst li {
  display: flex;
  gap: 12px;
  font-family: Quicksand, sans-serif; font-weight: 500;
  font-size: 19px;
  line-height: 1.6;
  color: var(--ridk-fg);
}

.ridk-inhetkort__vink { color: var(--ridk-yellow); font-weight: 700; flex: 0 0 auto; }

/* ==========================================================================
   9. Bodytekst
   ========================================================================== */

.ridk-artikel .ridk-body { font-family: Quicksand, sans-serif; font-weight: 500; font-size: 19px; line-height: 1.68; color: var(--ridk-fg); }
body.ridk-soort-notitie .ridk-artikel .ridk-body { font-size: 21px; line-height: 1.7; }

.ridk-artikel .ridk-body p { margin: 0 0 24px; }
.ridk-artikel .ridk-body h2 {
  font-family: Quicksand, sans-serif; font-weight: 700; font-size: 32px; line-height: 1.3;
  color: var(--ridk-teal-700); margin: 48px 0 18px;
}
.ridk-artikel .ridk-body h3 {
  font-family: Quicksand, sans-serif; font-weight: 700; font-size: 22px; line-height: 1.32;
  color: var(--ridk-teal-700); margin: 32px 0 12px;
}
.ridk-artikel .ridk-body strong { font-family: Quicksand, sans-serif; font-weight: 700; color: var(--ridk-teal-700); }
.ridk-artikel .ridk-body a { color: var(--ridk-blue); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.ridk-artikel .ridk-body a:hover { color: var(--ridk-blue-700); }
.ridk-artikel .ridk-body ul,
.ridk-artikel .ridk-body ol { margin: 0 0 24px; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; font-size: 19px; line-height: 1.6; }
.ridk-artikel .ridk-body img { max-width: 100%; height: auto; border-radius: 14px; }
.ridk-artikel .ridk-body figcaption { font-family: Quicksand, sans-serif; font-weight: 500; font-size: 14px; line-height: 1.5; color: var(--ridk-fg-3); margin-top: 10px; }

.ridk-artikel .ridk-body blockquote {
  font-family: Caveat, cursive; font-weight: 600; font-size: 27px; line-height: 1.4;
  color: var(--ridk-teal); border-left: 3px solid var(--ridk-sage);
  padding-left: 24px; margin: 36px 0; font-style: normal;
}
.ridk-artikel .ridk-body blockquote p { margin: 0; }

/* ==========================================================================
   10. De drie uitneembare blokken
   ========================================================================== */

.ridk-blok { margin: 36px 0; }
.ridk-blok__kop { font-family: Quicksand, sans-serif; font-weight: 700; color: var(--ridk-teal-700); }

.ridk-blok__label {
  display: block; font-family: Quicksand, sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 10px;
}

/* A — Rustmoment om direct te doen */
.ridk-blok--doen {
  background: var(--ridk-paper);
  border: 1.5px solid var(--ridk-yellow);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 22px rgba(48,117,177,.10);
}
.ridk-blok__pill {
  display: inline-block; background: var(--ridk-coral); color: #fff;
  font-family: Quicksand, sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; border-radius: 999px; padding: 8px 13px;
}
.ridk-blok--doen .ridk-blok__kop { font-size: 26px; line-height: 1.28; margin: 16px 0 0; }
.ridk-blok__intro { font-family: Quicksand, sans-serif; font-weight: 500; font-size: 18px; line-height: 1.6; color: var(--ridk-fg-2); margin: 10px 0 0; }
.ridk-blok__pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.ridk-blok__pills span {
  font-family: Quicksand, sans-serif; font-weight: 600; font-size: 14px;
  color: var(--ridk-teal); background: var(--ridk-yellow-100); border-radius: 999px; padding: 6px 14px;
}
.ridk-blok__stappen { list-style: none; counter-reset: ridkstap; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ridk-blok__stappen li {
  counter-increment: ridkstap; position: relative; padding-left: 48px;
  font-family: Quicksand, sans-serif; font-weight: 500; font-size: 18px; line-height: 1.6; color: var(--ridk-fg);
}
.ridk-blok__stappen li::before {
  content: counter(ridkstap); position: absolute; left: 0; top: -2px;
  width: 32px; height: 32px; border-radius: 50%; background: var(--ridk-coral); color: #fff;
  font-family: Quicksand, sans-serif; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}

/* B — Achtergrond */
.ridk-blok--achtergrond { background: var(--ridk-blue-100); border-radius: 14px; padding: 28px 30px; }
.ridk-blok--achtergrond .ridk-blok__label { color: var(--ridk-blue-700); }
.ridk-blok--achtergrond .ridk-blok__kop { font-size: 22px; line-height: 1.32; margin: 0 0 10px; }
.ridk-blok__tekst { font-family: Quicksand, sans-serif; font-weight: 500; font-size: 18px; line-height: 1.65; color: var(--ridk-fg); }
.ridk-blok__tekst p { margin: 0 0 14px; }
.ridk-blok__tekst p:last-child { margin-bottom: 0; }
.ridk-blok__bron {
  font-family: Quicksand, sans-serif; font-weight: 500; font-size: 14px; line-height: 1.5; color: var(--ridk-fg-2);
  border-top: 1px solid #C7DBEB; padding-top: 14px; margin: 14px 0 0;
}
.ridk-blok__bron em, .ridk-blok__bron i { font-style: italic; }

/* C — Tip van Wendy */
.ridk-blok--tip { background: var(--ridk-sage-100); border-radius: 14px; padding: 26px 28px; display: flex; gap: 18px; align-items: flex-start; }
.ridk-blok__foto { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.ridk-blok--tip .ridk-blok__label { color: var(--ridk-sage-700); }
.ridk-blok__tiptekst { font-family: Caveat, cursive; font-weight: 600; font-size: 24px; line-height: 1.4; color: var(--ridk-teal-700); margin: 0; }
.ridk-blok__naschrift { font-family: Quicksand, sans-serif; font-weight: 500; font-size: 16px; line-height: 1.6; color: var(--ridk-teal); margin: 10px 0 0; }

/* ==========================================================================
   11. Inhoudsopgave
   ========================================================================== */

.ridk-artikel .ridk-toc .elementor-toc__header { display: none; }
.ridk-artikel .ridk-toc { border: 0; }
.ridk-artikel .ridk-toc .elementor-toc__header-title {
  font-family: Quicksand, sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ridk-fg-3);
}
.ridk-artikel .ridk-toc .elementor-toc__list-wrapper { border-left: 2px solid var(--ridk-line); padding-left: 0; }
.ridk-artikel .ridk-toc .elementor-toc__list-item-text {
  font-family: Quicksand, sans-serif; font-weight: 500; font-size: 15px; line-height: 1.4;
  color: var(--ridk-fg-2); padding: 11px 0 11px 16px; display: block;
}
.ridk-artikel .ridk-toc .elementor-item-active .elementor-toc__list-item-text,
.ridk-artikel .ridk-toc .elementor-toc__list-item-text:hover {
  font-weight: 700; color: var(--ridk-blue); background: #F3F8FC;
  box-shadow: inset 3px 0 0 var(--ridk-blue);
}

/* ==========================================================================
   12. Lees ook + CTA
   ========================================================================== */

.ridk-leesook__kop {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 22px;
}
.ridk-leesook__kop h2 { font-family: Quicksand, sans-serif; font-weight: 700; font-size: 28px; color: var(--ridk-teal-700); margin: 0; }
.ridk-leesook__alle { font-family: Quicksand, sans-serif; font-weight: 700; font-size: 15px; color: var(--ridk-coral); text-decoration: none; white-space: nowrap; }
.ridk-leesook__alle:hover { color: var(--ridk-coral-700); }

.ridk-artikel .elementor-loop-container.elementor-grid { gap: 22px; }

.ridk-cta {
  background: var(--ridk-sage-100);
  border-radius: 28px;
  padding: 56px 48px;
  text-align: center;
}
.ridk-cta h2 { font-family: Quicksand, sans-serif; font-weight: 700; font-size: 32px; line-height: 1.28; color: var(--ridk-teal-700); margin: 0 0 12px; }
.ridk-cta .ridk-cta__regel { font-family: Quicksand, sans-serif; font-weight: 500; font-size: 19px; line-height: 1.6; color: var(--ridk-teal); margin: 0 auto 24px; max-width: 560px; }
.ridk-cta .elementor-form { max-width: 520px; margin: 0 auto; gap: 10px; }
.ridk-cta .elementor-field-textual {
  height: 56px; padding: 0 20px; background: #fff; border: 1px solid #C4D8D5;
  border-radius: 999px; font-family: Quicksand, sans-serif; font-weight: 500; font-size: 17px; box-sizing: border-box;
}

/* ==========================================================================
   13. Tablet
   ========================================================================== */

@media (max-width: 1024px) {
  .ridk-uitgelicht { grid-template-columns: 1fr; gap: 24px; }
  .ridk-artikel .ridk-toc-kolom { display: none; }
}

/* ==========================================================================
   14. Mobiel
   ========================================================================== */

@media (max-width: 767px) {
  .ridk-blog .ridk-blog__kop h1 { font-size: 27px; line-height: 1.2; }
  .ridk-blog .ridk-blog__kop .ridk-blog__sub { font-size: 17px; }

  .ridk-uitgelicht__label { font-size: 11px; }
  .ridk-uitgelicht__kop { font-size: 21px; line-height: 1.28; }
  .ridk-uitgelicht__samenvatting { font-size: 16px; line-height: 1.55; }

  .ridk-filterbalk { position: relative; }
  .ridk-filterbalk .e-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-right: 44px; }
  .ridk-filterbalk .e-filter::-webkit-scrollbar { display: none; }
  .ridk-filterbalk .e-filter-item { flex: 0 0 auto; }
  .ridk-filterbalk::after {
    content: ""; position: absolute; right: 0; bottom: 0; width: 44px; height: 44px;
    background: linear-gradient(to right, rgba(255,255,255,0), #fff); pointer-events: none;
  }
  .ridk-teller { font-size: 14px; }

  .ridk-blog .elementor-loop-container.elementor-grid { gap: 18px; }

  .ridk-nieuwsbrief { padding: 32px 24px; border-radius: 20px; }
  .ridk-nieuwsbrief h2 { font-size: 23px; }
  .ridk-nieuwsbrief .ridk-nieuwsbrief__regel { font-size: 16px; }
  .ridk-nieuwsbrief .elementor-field-textual,
  .ridk-nieuwsbrief .elementor-button[type="submit"],
  .ridk-cta .elementor-field-textual,
  .ridk-cta .elementor-button[type="submit"] { height: 52px; width: 100%; }
  .ridk-nieuwsbrief .ridk-bewijsregel,
  .ridk-cta .ridk-bewijsregel { font-size: 13px; }

  .ridk-artikel h1.ridk-artikel__titel,
  body.ridk-soort-notitie .ridk-artikel h1.ridk-artikel__titel { font-size: 30px; line-height: 1.2; }
  .ridk-artikel .ridk-artikel__intro { font-size: 19px; }
  .ridk-meta { font-size: 14px; gap: 10px; }
  .ridk-meta__foto { width: 36px; height: 36px; }
  .ridk-artikel .ridk-held img { border-radius: 14px; }

  .ridk-inhetkort { padding: 20px; }
  .ridk-inhetkort__lijst li { font-size: 17px; line-height: 1.55; }

  .ridk-artikel .ridk-body { font-size: 18px; line-height: 1.7; }
  body.ridk-soort-notitie .ridk-artikel .ridk-body { font-size: 19px; }
  .ridk-artikel .ridk-body p { margin-bottom: 20px; }
  .ridk-artikel .ridk-body h2 { font-size: 25px; margin: 36px 0 14px; }
  .ridk-artikel .ridk-body h3 { font-size: 20px; }
  .ridk-artikel .ridk-body ul,
  .ridk-artikel .ridk-body ol { font-size: 17px; line-height: 1.55; gap: 11px; }
  .ridk-artikel .ridk-body blockquote { font-size: 24px; line-height: 1.35; padding-left: 18px; }

  .ridk-blok--doen { padding: 22px 20px; }
  .ridk-blok--tip { flex-direction: column; }

  .ridk-cta { padding: 32px 24px; border-radius: 20px; }
  .ridk-cta h2 { font-size: 24px; }
  .ridk-cta .ridk-cta__regel { font-size: 17px; }
  .ridk-leesook__kop h2 { font-size: 24px; }
}

/* ==========================================================================
   15. Lees ook — kaarten
   ========================================================================== */

.ridk-leesook-kaart {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--ridk-kaartrand); border-radius: 14px;
  box-shadow: var(--ridk-kaartschaduw); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform var(--ridk-motion), box-shadow var(--ridk-motion), border-color var(--ridk-motion);
}
.ridk-leesook-kaart:hover { transform: translateY(-3px); box-shadow: var(--ridk-kaartschaduw-hover); border-color: var(--ridk-kaartrand-hv); }
.ridk-leesook-kaart__beeld img,
.ridk-leesook-kaart__beeld .ridk-kaart__beeld-leeg {
  display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #EEF2F5;
}
.ridk-leesook-kaart__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 20px; flex: 1 1 auto; }
.ridk-leesook-kaart__rubriek {
  font-family: Quicksand, sans-serif; font-weight: 700; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ridk-coral-700);
}
.ridk-leesook-kaart__titel {
  font-family: Quicksand, sans-serif; font-weight: 700; font-size: 18px; line-height: 1.35;
  color: var(--ridk-teal-700); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.ridk-leesook-kaart__meta { font-family: Quicksand, sans-serif; font-weight: 500; font-size: 13px; color: var(--ridk-fg-3); margin: auto 0 0; }

@media (max-width: 767px) {
  .ridk-leesook-kaart { flex-direction: row; align-items: center; gap: 14px; padding: 12px; }
  .ridk-leesook-kaart__beeld { flex: 0 0 96px; }
  .ridk-leesook-kaart__beeld img { width: 96px; height: 72px; aspect-ratio: auto; border-radius: 8px; }
  .ridk-leesook-kaart__body { padding: 0; gap: 6px; }
  .ridk-leesook-kaart__titel { font-size: 16px; }
}
/* ==========================================================================
   16. Conditionele onderdelen van het artikeltemplate
   ========================================================================== */

/* Heldebeeld alleen tonen als er een uitgelichte afbeelding is */
body.ridk-artikel:not(.ridk-heeft-beeld) .ridk-held-rij { display: none; }

/* "In het kort" alleen tonen als het veld gevuld is */
body.ridk-artikel:not(.ridk-heeft-inhetkort) .ridk-leeskolom:has(> .elementor-widget-shortcode:only-child) { display: none; }

/* Inhoudsopgave alleen bij langere artikelen, nooit bij een korte notitie */
body.ridk-artikel:not(.ridk-heeft-toc) .ridk-toc-kolom,
body.ridk-soort-notitie .ridk-toc-kolom { display: none; }

/* Meelopende inhoudsopgave */
@media (min-width: 1025px) {
  .ridk-toc-kolom { position: sticky; top: 32px; align-self: flex-start; }
}
/* ==========================================================================
   17. Elementor-omhulsels — zodat de kaarten de volle rijhoogte vullen
   ========================================================================== */

.ridk-blog .e-loop-item,
.ridk-artikel .e-loop-item { display: flex; }

.ridk-blog .e-loop-item > .e-con,
.ridk-artikel .e-loop-item > .e-con { width: 100%; }

.ridk-blog .e-loop-item .elementor-widget-shortcode,
.ridk-artikel .e-loop-item .elementor-widget-shortcode { display: flex; flex: 1 1 auto; }

.ridk-blog .e-loop-item .elementor-shortcode,
.ridk-artikel .e-loop-item .elementor-shortcode { display: flex; width: 100%; }

/* ==========================================================================
   18. Volgorde van de rubriekchips — Elementor sorteert alfabetisch,
       het ontwerp volgt de leesvolgorde van de informatiestructuur
   ========================================================================== */

.ridk-filterbalk .e-filter-item[data-filter="__all"]            { order: 0; }
.ridk-filterbalk .e-filter-item[data-filter="doen-met-kinderen"]{ order: 1; }
.ridk-filterbalk .e-filter-item[data-filter="in-de-klas"]       { order: 2; }
.ridk-filterbalk .e-filter-item[data-filter="waarom-rust-werkt"]{ order: 3; }
.ridk-filterbalk .e-filter-item[data-filter="zelf-maken"]       { order: 4; }
.ridk-filterbalk .e-filter-item[data-filter="eerst-jij"]        { order: 5; }
/* ==========================================================================
   17. Beeld en embeds in de artikeltekst (oude blogs, 04-09-2026)
   ========================================================================== */
/* Losse beelden: gecentreerd blok met lucht eromheen */
.ridk-body img.aligncenter,
.ridk-body img.size-large,
.ridk-body img.size-full {
  display: block;
  margin: 28px auto;
  max-width: 100%;
  height: auto;
}
/* Beelden uit oude posts die kleiner zijn dan de kolom: niet oprekken, wel centreren */
.ridk-body p > img:only-child { display: block; margin: 28px auto; }
/* Kleine inline-beelden (pictogrammen, knoppen) naast elkaar */
.ridk-body img.alignnone:not(.size-large):not(.size-full):not(:only-child) {
  display: inline-block;
  vertical-align: middle;
  margin: 6px 12px 6px 0;
  border-radius: 10px;
}
/* Zwevende beelden op desktop: ruimte voor de tekst */
.ridk-body img.alignright { float: right; margin: 6px 0 20px 28px; max-width: 45%; }
.ridk-body img.alignleft  { float: left;  margin: 6px 28px 20px 0; max-width: 45%; }
.ridk-body p::after, .ridk-body h2::before, .ridk-body h3::before { content: ""; display: table; clear: both; }
/* Video-embeds (oude fitvids-wrapper) responsief maken */
.ridk-body .fluid-width-video-wrapper { position: relative; width: 100%; height: 0; overflow: hidden; border-radius: 14px; }
.ridk-body .fluid-width-video-wrapper iframe,
.ridk-body .fluid-width-video-wrapper object,
.ridk-body .fluid-width-video-wrapper embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ridk-body iframe[src*="youtube"], .ridk-body iframe[src*="vimeo"] { max-width: 100%; border-radius: 14px; }
/* Tabellen en pre uit oude posts nooit buiten de kolom */
.ridk-body table, .ridk-body pre { max-width: 100%; overflow-x: auto; display: block; }
@media (max-width: 767px) {
  /* Op mobiel geen floats en geen inline-kolommen meer */
  .ridk-body img.alignright, .ridk-body img.alignleft { float: none; display: block; margin: 24px auto; max-width: 100%; }
  .ridk-body div[style*="inline-block"] { display: block !important; width: 100% !important; margin: 0 0 20px !important; }
}