/*
Theme Name: RijnHoogweg
Theme URI: https://www.rijnhoogweg.nl
Description: Child theme van Divi voor RijnHoogweg Interim Management & Advies.
Author: Sjoerd van de Giessen
Template: Divi
Version: 1.2
Text Domain: rijnhoogweg
*/

/* =========================================================
   1. Ontwerptokens
   Alle kleuren, lettertypes en vormen op één plek. Wil je later
   iets aanpassen, doe het hier en het werkt overal door.
   ========================================================= */

:root {
  --rhw-navy: #00225B;        /* donkerblauw uit het logo */
  --rhw-navy-mid: #0A3F7E;    /* middenblauw uit de logo-gradient */
  --rhw-navy-deep: #001334;   /* footer */
  --rhw-blue: #0A57A4;        /* links */
  --rhw-steel: #8795A8;       /* labels en datums */
  --rhw-paper: #E9EFF6;       /* paginablauw */
  --rhw-surface: #FFFFFF;     /* kaarten */
  --rhw-ink: #16202E;         /* tekst */
  --rhw-ink-soft: #4C5A6C;    /* tekst, zachter */
  --rhw-line: #E6EBF2;        /* randjes */
  --rhw-tint: #DBE6F4;        /* quoteblok */
  --rhw-contact-bg: #D3E1F3;  /* contactblok */

  --rhw-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --rhw-body: 'IBM Plex Sans', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  --rhw-radius-sm: 12px;
  --rhw-radius: 18px;
  --rhw-radius-lg: 28px;
  --rhw-radius-pill: 999px;

  --rhw-shadow-soft: 0 1px 2px rgba(0, 34, 91, 0.04), 0 10px 28px rgba(0, 34, 91, 0.06);
  --rhw-shadow-lift: 0 2px 6px rgba(0, 34, 91, 0.06), 0 22px 48px rgba(0, 34, 91, 0.12);
}

/* =========================================================
   2. Basis voor de hele site
   ========================================================= */

body {
  background: var(--rhw-paper);
  color: var(--rhw-ink);
  font-family: var(--rhw-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--rhw-display);
  color: var(--rhw-navy);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

a { color: var(--rhw-blue); }

/* =========================================================
   3. Eigen blokken
   Alles hieronder werkt binnen een element met class="rhw".
   Wikkel de HTML die je in een Divi-codemodule plakt dus in:
   <div class="rhw"> ... </div>
   Zo kan Divi jouw opmaak niet in de war schoppen en andersom.
   ========================================================= */

.rhw { font-family: var(--rhw-body); color: var(--rhw-ink); }
.rhw * { box-sizing: border-box; }
.rhw p { margin: 0; max-width: 65ch; padding-bottom: 0; }
.rhw h1, .rhw h2, .rhw h3 { margin: 0; padding: 0; font-family: var(--rhw-display); color: var(--rhw-navy); }
.rhw ul { margin: 0; padding-left: 1.125rem; }
.rhw img { max-width: 100%; height: auto; }

/* Label boven een kop, bijvoorbeeld OVER MIJ */
.rhw .eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rhw-steel);
  margin: 0;
}

/* Tekstkolommen met onderlinge ruimte */
.rhw .prose { display: flex; flex-direction: column; gap: 1.125rem; min-width: 0; }
.rhw .section-head { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.rhw .section-head h2 { font-size: clamp(1.75rem, 3.6vw, 2.375rem); line-height: 1.15; font-weight: 600; }

/* Hero: tekst links, portret rechts */
.rhw .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.rhw .hero-copy { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.rhw .hero-copy h1 { font-size: clamp(2.25rem, 5.5vw, 3.5rem); line-height: 1.08; font-weight: 600; }
.rhw .lead {
  font-family: var(--rhw-display);
  font-size: clamp(1.25rem, 2.6vw, 1.625rem);
  color: var(--rhw-blue);
  line-height: 1.3;
}

/* Twee kolommen, klapt vanzelf naar één op smalle schermen */
.rhw .two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.75fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

/* =========================================================
   4. Knoppen
   ========================================================= */

.rhw .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.5rem;
  border-radius: var(--rhw-radius-pill);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  border: 1px solid var(--rhw-navy);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.rhw .btn-primary { background: var(--rhw-navy); color: #fff; box-shadow: var(--rhw-shadow-soft); }
.rhw .btn-primary:hover { background: var(--rhw-navy-deep); color: #fff; transform: translateY(-1px); }
.rhw .btn-ghost { background: transparent; color: var(--rhw-navy); }
.rhw .btn-ghost:hover { background: #fff; box-shadow: var(--rhw-shadow-soft); transform: translateY(-1px); }
.rhw .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }

/* =========================================================
   5. Kaarten
   ========================================================= */

.rhw .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.rhw .card {
  background: var(--rhw-surface);
  border: 1px solid var(--rhw-line);
  border-radius: var(--rhw-radius);
  box-shadow: var(--rhw-shadow-soft);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  min-width: 0;
}
.rhw .card h3 { font-size: 1.25rem; font-weight: 600; }
.rhw .card p { font-size: 0.9875rem; }
.rhw .card ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--rhw-ink-soft);
}

/* Blokje "In het kort" naast Even voorstellen */
.rhw .facts {
  background: var(--rhw-surface);
  border: 1px solid var(--rhw-line);
  border-radius: var(--rhw-radius);
  box-shadow: var(--rhw-shadow-soft);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  min-width: 0;
}
.rhw .facts h3 { font-size: 1.0625rem; font-weight: 600; font-family: var(--rhw-body); }
.rhw .facts dl { margin: 0; display: flex; flex-direction: column; gap: 0.875rem; }
.rhw .facts dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rhw-steel);
  font-weight: 600;
}
.rhw .facts dd { margin: 0; font-size: 0.9375rem; line-height: 1.45; }

/* Portret met zacht kader */
.rhw .portrait-frame { position: relative; min-width: 0; }
.rhw .portrait-frame::before {
  content: "";
  position: absolute;
  inset: 1.5rem -1.25rem -1.25rem 1.5rem;
  background: var(--rhw-navy);
  border-radius: var(--rhw-radius-lg);
  opacity: 0.12;
}
.rhw .portrait-frame img {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--rhw-radius-lg);
  box-shadow: var(--rhw-shadow-lift);
}

/* =========================================================
   6. Contactblok
   ========================================================= */

.rhw .contact {
  background: var(--rhw-contact-bg);
  border-radius: var(--rhw-radius-lg) var(--rhw-radius-lg) 0 0;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
}
.rhw .contact h2 { font-size: clamp(1.75rem, 3.6vw, 2.25rem); font-weight: 600; }
.rhw .contact p { color: var(--rhw-ink-soft); }
.rhw .contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.rhw .contact-grid > div {
  background: var(--rhw-surface);
  border: 1px solid #CBDAEC;
  border-radius: var(--rhw-radius);
  box-shadow: var(--rhw-shadow-soft);
  padding: 1.375rem 1.5rem;
  min-width: 0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.rhw .contact-grid > div:hover { box-shadow: var(--rhw-shadow-lift); transform: translateY(-2px); }
.rhw .contact-grid dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rhw-steel);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.rhw .contact-grid dd { margin: 0; font-size: 1.125rem; }
.rhw .contact-grid dd a {
  color: var(--rhw-navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 34, 91, 0.25);
}
.rhw .contact-grid dd a:hover { border-bottom-color: var(--rhw-navy); }

/* =========================================================
   7. Divi Blog-module voor het nieuws
   Geef de Blog-module in Divi de CSS-klasse: rhw-blog
   (Module-instellingen, tabblad Geavanceerd, veld CSS-klasse)
   ========================================================= */

.rhw-blog .et_pb_post {
  background: var(--rhw-surface);
  border: 1px solid var(--rhw-line);
  border-radius: var(--rhw-radius);
  box-shadow: var(--rhw-shadow-soft);
  padding: clamp(1.5rem, 3vw, 1.875rem);
  margin-bottom: 1.5rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.rhw-blog .et_pb_post:hover { box-shadow: var(--rhw-shadow-lift); transform: translateY(-2px); }
.rhw-blog .entry-title { font-size: 1.1875rem; line-height: 1.3; font-weight: 600; margin-bottom: 0.5rem; }
.rhw-blog .entry-title a { color: var(--rhw-navy); text-decoration: none; }
.rhw-blog .post-meta { font-size: 0.8125rem; color: var(--rhw-steel); font-family: var(--rhw-body); }
.rhw-blog .post-content p { font-size: 0.9375rem; color: var(--rhw-ink-soft); }
.rhw-blog .more-link, .rhw-blog .et_pb_post .more-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--rhw-blue);
}
.rhw-blog .et_pb_image_container, .rhw-blog .entry-featured-image-url {
  border-radius: var(--rhw-radius-sm);
  overflow: hidden;
}

/* Paginering onder het archief */
.rhw-blog .wp-pagenavi a, .rhw-blog .wp-pagenavi span,
.pagination a, .pagination span {
  border: 1px solid var(--rhw-line);
  border-radius: var(--rhw-radius-pill);
  padding: 0.625rem 1.25rem;
  background: var(--rhw-surface);
  text-decoration: none;
  color: var(--rhw-navy);
}

/* =========================================================
   8. Losse berichtpagina
   Geef de sectie of rij met de berichtinhoud de klasse: rhw-artikel
   ========================================================= */

.rhw-artikel { max-width: 720px; margin-inline: auto; }
.rhw-artikel h1 { font-size: clamp(1.875rem, 4.2vw, 2.75rem); line-height: 1.15; font-weight: 600; }
.rhw-artikel h2 { font-size: clamp(1.25rem, 2.6vw, 1.5rem); font-weight: 600; margin-top: 1.5rem; }
.rhw-artikel .post-meta { font-size: 0.875rem; color: var(--rhw-steel); }
.rhw-artikel p { margin-bottom: 1.25rem; }

/* Quoteblok in een bericht */
.rhw-artikel blockquote, .rhw blockquote {
  background: var(--rhw-tint);
  border-radius: var(--rhw-radius-lg);
  border: 0;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  margin: 1.5rem 0;
  font-family: var(--rhw-display);
  font-size: clamp(1.125rem, 2.6vw, 1.5rem);
  line-height: 1.35;
  color: var(--rhw-navy);
}

/* Naam en foto onder een bericht */
.rhw-auteur {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--rhw-line);
  flex-wrap: wrap;
}
.rhw-auteur img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.rhw-auteur strong { color: var(--rhw-navy); font-weight: 600; }

/* =========================================================
   8b. Footer
   Zit in één codemodule in de globale footer van de Theme Builder.
   ========================================================= */

.rhw-footer {
  background: var(--rhw-navy-deep);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem) 0;
}
.rhw-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}
.rhw-footer-brand { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.rhw-footer-brand img { height: 72px; width: auto; }
.rhw-footer-brand p { color: #9FB1C8; font-size: 0.9375rem; max-width: 42ch; margin: 0; }
.rhw-footer h3 {
  font-family: var(--rhw-body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #8EA2BC;
  margin: 0 0 0.875rem;
}
.rhw-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.625rem; }
.rhw-footer a { color: #D5DFEC; text-decoration: none; font-size: 0.9375rem; }
.rhw-footer a:hover { color: #fff; text-decoration: underline; }
.rhw-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-block: 1.375rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: #7E92AC;
}
@media (max-width: 720px) {
  .rhw-footer-top { grid-template-columns: 1fr 1fr; }
  .rhw-footer-brand { grid-column: 1 / -1; }
}

/* =========================================================
   9. Menu en logo
   Geef het menu-item met de contactknop in WordPress de CSS-klasse:
   rhw-menu-cta (Weergave, Menu's, Menustructuur, CSS-klassen aanzetten
   via Scherminstellingen rechtsboven)
   ========================================================= */

.rhw-menu-cta a {
  background: var(--rhw-navy);
  color: #fff !important;
  border-radius: var(--rhw-radius-pill);
  padding: 0.5rem 1.125rem !important;
  opacity: 1 !important;
}
.rhw-menu-cta a:hover { background: var(--rhw-navy-deep); }

/* Logo in de header groter houden */
.et_pb_menu .et_pb_menu__logo img,
#logo { max-height: 76px; width: auto; }

/* =========================================================
   10. Smalle schermen
   ========================================================= */

@media (max-width: 820px) {
  .rhw .hero-grid { grid-template-columns: 1fr; }
  .rhw .two-col { grid-template-columns: 1fr; }
  .rhw .portrait-frame { max-width: 380px; }
  .rhw .portrait-frame::before { inset: 1rem -1rem -1rem 1rem; }
}

@media (max-width: 760px) {
  .et_pb_menu .et_pb_menu__logo img, #logo { max-height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  .rhw *, .rhw-blog * { transition-duration: 0.01ms !important; }
}


/* =========================================================
   14. Divi-aanpassingen
   Stond eerder in Divi > Themaopties > Aangepaste CSS. Dat veld
   kapte de tekst af, dus staat het nu hier. Laat dat veld leeg.
   ========================================================= */

/* 14.1 standaard WordPress-onderdelen op de homepage uit */
body.home .entry-title { display: none; }
body.home .rhw-blog .entry-title { display: block !important; }
body.home #sidebar { display: none; }
body.home #left-area { width: 100%; padding-right: 0; }

/* 14.2 achtergrond van de hele site */
#main-content { background-color: var(--rhw-paper) !important; }
.et_pb_section { background-color: transparent !important; }
body #main-content .et_pb_section:has(.hero-grid) { background-color: var(--rhw-surface) !important; }

/* 14.3 secties die over de volle breedte moeten lopen */
.et_pb_section:has(.rhw-header),
.et_pb_section:has(.rhw-footer),
.et_pb_section:has(.rhw .contact),
.et_pb_section.rhw-vol { padding: 0 !important; }

.et_pb_section:has(.rhw-header) .et_pb_row,
.et_pb_section:has(.rhw-footer) .et_pb_row,
.et_pb_section:has(.rhw .contact) .et_pb_row,
.et_pb_section.rhw-vol .et_pb_row { width: 100% !important; max-width: 100% !important; padding: 0 !important; margin: 0 !important; }

.et_pb_section:has(.rhw-header) .et_pb_column,
.et_pb_section:has(.rhw-footer) .et_pb_column,
.et_pb_section:has(.rhw .contact) .et_pb_column,
.et_pb_section.rhw-vol .et_pb_column { width: 100% !important; padding: 0 !important; margin: 0 !important; }

.et_pb_section:has(.rhw-header) .et_pb_module,
.et_pb_section:has(.rhw-footer) .et_pb_module,
.et_pb_section:has(.rhw .contact) .et_pb_module,
.et_pb_section.rhw-vol .et_pb_module { margin: 0 !important; }

/* 14.4 binnenmarges van footer en contactblok */
.rhw-footer,
.rhw .contact { padding-inline: max(20px, calc((100% - 1080px) / 2)) !important; }
.rhw .contact { border-radius: 28px 28px 0 0 !important; }

/* 14.5 tekstgroottes */
.rhw, .rhw-footer { font-size: 17px; line-height: 1.65; }
.rhw .card p, .rhw .card ul, .rhw .facts dd { font-size: 16px; }
.rhw .eyebrow, .rhw .facts dt { font-size: 12px; }

/* 14.6 ruimte in het contactblok */
.rhw .contact .eyebrow { margin-bottom: 1rem !important; }
.rhw .contact h2 { margin-bottom: 1rem !important; }
.rhw .contact > p { margin-bottom: 0 !important; }
.rhw .contact .contact-grid { margin-top: 2.5rem !important; }

/* 14.7 lettertypes vastzetten, anders wint Divi */
.rhw, .rhw p, .rhw li, .rhw dd, .rhw dt, .rhw a,
.rhw-footer, .rhw-footer p, .rhw-footer li, .rhw-footer a, .rhw-footer h3 {
  font-family: var(--rhw-body) !important;
  font-weight: 400 !important;
}
.rhw .eyebrow, .rhw .facts dt, .rhw-footer h3 { font-weight: 600 !important; }
.rhw strong, .rhw b { font-weight: 600 !important; }
.rhw .btn, .rhw .contact-grid dd { font-weight: 500 !important; }
.rhw h1, .rhw h2, .rhw h3, .rhw .lead { font-family: var(--rhw-display) !important; font-weight: 600 !important; }
.rhw .facts h3 { font-family: var(--rhw-body) !important; font-weight: 600 !important; }
.rhw .lead { font-weight: 400 !important; }

/* 14.8 losse berichtpagina: smalle kolom, links uitgelijnd */
.rhw-artikel {
  width: 100% !important;
  max-width: 720px !important;
  margin-inline: auto !important;
  align-self: center !important;
}
.rhw-artikel,
.rhw-artikel .entry-title,
.rhw-artikel .et_pb_title_meta_container,
.rhw-artikel.et_pb_post_content,
.rhw-artikel.et_pb_post_content * { text-align: left !important; }

/* vangnet: als een bericht per ongeluk met de Divi-bouwer is gemaakt,
   zit de tekst in een extra laag. Die lagen hier platleggen. */
.rhw-artikel.et_pb_post_content .et-l--post .et_pb_section,
.rhw-artikel.et_pb_post_content .et-l--post .et_pb_row,
.rhw-artikel.et_pb_post_content .et-l--post .et_pb_column,
.rhw-artikel.et_pb_post_content .et-l--post .et_pb_module {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* 14.9 datum boven de titel */
.rhw-artikel .et_pb_title_container { display: flex; flex-direction: column; gap: 0.75rem; }
.rhw-artikel .et_pb_title_meta_container { order: -1; margin: 0 !important; padding: 0 !important; }
.rhw-artikel .entry-title {
  margin: 0 !important; padding: 0 !important;
  font-family: var(--rhw-display) !important;
  font-weight: 700 !important;
  font-size: clamp(30px, 4.2vw, 44px) !important;
  line-height: 1.15 !important;
  color: var(--rhw-navy) !important;
}
.rhw-artikel .et_pb_title_meta_container,
.rhw-artikel .et_pb_title_meta_container span {
  font-family: var(--rhw-body) !important;
  font-size: 14px !important; font-weight: 400 !important;
  color: var(--rhw-steel) !important;
}

/* 14.10 de tekst van het bericht */
.rhw-artikel.et_pb_post_content { padding-top: 1.5rem; }
.rhw-artikel.et_pb_post_content p,
.rhw-artikel.et_pb_post_content li {
  font-family: var(--rhw-body) !important;
  font-weight: 400 !important;
  font-size: 17px !important;
  line-height: 1.7 !important;
  color: var(--rhw-ink) !important;
}
.rhw-artikel.et_pb_post_content p { margin: 0 0 1.25rem !important; max-width: 68ch; }
.rhw-artikel.et_pb_post_content > *:last-child { margin-bottom: 0 !important; }

/* de eerste alinea wordt automatisch de inleiding */
body .rhw-artikel.et_pb_post_content > p:first-of-type {
  font-family: var(--rhw-display) !important;
  font-weight: 400 !important;
  font-size: clamp(18px, 2.2vw, 22px) !important;
  line-height: 1.45 !important;
  color: var(--rhw-ink-soft) !important;
  margin-bottom: 2rem !important;
  max-width: none;
}

/* koppen, lijsten en links in het bericht */
.rhw-artikel.et_pb_post_content h2 {
  font-family: var(--rhw-display) !important;
  font-weight: 600 !important;
  font-size: clamp(20px, 2.6vw, 24px) !important;
  color: var(--rhw-navy) !important;
  margin: 2.25rem 0 0.75rem !important;
  line-height: 1.25;
}
.rhw-artikel.et_pb_post_content ul { margin: 0 0 1.25rem !important; padding-left: 1.25rem; list-style: disc; max-width: 68ch; }
.rhw-artikel.et_pb_post_content li { margin-bottom: 0.5rem !important; }
.rhw-artikel.et_pb_post_content a { color: var(--rhw-blue) !important; text-decoration: underline; }

/* het citaatblok */
.rhw-artikel.et_pb_post_content blockquote,
.rhw-artikel.et_pb_post_content .wp-block-quote {
  position: relative;
  background: var(--rhw-tint);
  border: 0 !important;
  border-left: 0 !important;
  border-radius: 28px;
  padding: 1.75rem 2rem 1.75rem 4.25rem !important;
  margin: 1.75rem 0 !important;
}
.rhw-artikel.et_pb_post_content blockquote::before {
  content: '\201C';
  position: absolute; left: 1.75rem; top: 1.4rem;
  font-family: var(--rhw-display);
  font-size: 44px; line-height: 1;
  color: var(--rhw-steel);
}
.rhw-artikel.et_pb_post_content blockquote p {
  font-family: var(--rhw-display) !important;
  font-weight: 400 !important;
  font-size: clamp(18px, 2.6vw, 24px) !important;
  line-height: 1.35 !important;
  color: var(--rhw-navy) !important;
  margin: 0 !important;
  max-width: 34ch;
}
.rhw-artikel.et_pb_post_content blockquote > *:last-child { margin-bottom: 0 !important; }
.rhw-artikel.et_pb_post_content blockquote cite {
  display: block; margin-top: 0.75rem;
  font-family: var(--rhw-body) !important;
  font-size: 14px !important; color: var(--rhw-ink-soft) !important;
  font-style: normal;
}

/* 14.11 terug-link */
.rhw-terug {
  display: inline-block;
  font-size: 15px !important; font-weight: 500 !important;
  color: var(--rhw-blue) !important; text-decoration: none;
}
.rhw-terug:hover { text-decoration: underline; }

/* 14.12 auteursblok onder het bericht */
.rhw .rhw-auteur {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 2rem; padding-top: 1.75rem;
  border-top: 1px solid #C9D6E6;
  flex-wrap: wrap;
}
.rhw .rhw-auteur img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.rhw .rhw-auteur strong { color: var(--rhw-navy); font-weight: 600 !important; }
.rhw .rhw-auteur span { color: var(--rhw-ink-soft); font-size: 15px; }
.rhw .rhw-auteur a { color: var(--rhw-blue) !important; font-size: 15px; text-decoration: none; }
.rhw .rhw-auteur a:hover { text-decoration: underline; }

/* 14.13 nieuwsoverzicht: kaarten in een meebewegend raster */
.rhw-blog,
.rhw-blog .et_pb_ajax_pagination_container { width: 100% !important; max-width: 100% !important; }
.rhw-blog .et_pb_blog_posts {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)) !important;
  gap: 1.5rem !important;
}
body .rhw-blog article.et_pb_post {
  display: flex !important; flex-direction: column !important;
  align-items: flex-start !important; gap: 0.75rem !important;
  background: var(--rhw-surface) !important;
  border: 1px solid var(--rhw-line) !important;
  border-radius: 18px !important;
  box-shadow: 0 1px 2px rgba(0,34,91,.04), 0 8px 24px rgba(0,34,91,.05);
  padding: clamp(1.5rem, 3vw, 1.875rem) !important;
  margin: 0 !important; min-width: 0;
  transition: box-shadow .2s ease, transform .2s ease;
}
.rhw-blog article.et_pb_post:hover { box-shadow: 0 2px 4px rgba(0,34,91,.06), 0 16px 40px rgba(0,34,91,.09); transform: translateY(-2px); }
body .rhw-blog article.et_pb_post > * { width: 100%; }
body .rhw-blog article.et_pb_post .post-meta {
  order: 1 !important; margin: 0 !important; padding: 0 !important;
  font-family: var(--rhw-body) !important;
  font-size: 13px !important; font-weight: 400 !important;
  color: var(--rhw-steel) !important;
}
body .rhw-blog article.et_pb_post .post-meta a { color: var(--rhw-steel) !important; font-weight: 400 !important; text-decoration: none; }
body .rhw-blog article.et_pb_post .entry-title {
  order: 2 !important; display: block !important;
  margin: 0 !important; padding: 0 !important;
  font-family: var(--rhw-display) !important;
  font-weight: 600 !important; font-size: 19px !important; line-height: 1.3 !important;
}
body .rhw-blog article.et_pb_post .entry-title a { color: var(--rhw-navy) !important; text-decoration: none; }
body .rhw-blog article.et_pb_post .entry-title a:hover { color: var(--rhw-blue) !important; }
body .rhw-blog article.et_pb_post .post-content {
  order: 3 !important; margin: 0 !important;
  display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start;
}
body .rhw-blog article.et_pb_post .post-content p {
  font-family: var(--rhw-body) !important;
  font-weight: 400 !important; font-size: 15px !important;
  line-height: 1.6 !important; color: var(--rhw-ink-soft) !important;
  margin: 0 !important;
}
body .rhw-blog article.et_pb_post .more-link {
  font-family: var(--rhw-body) !important;
  font-size: 15px !important; font-weight: 500 !important;
  color: var(--rhw-blue) !important; text-decoration: none;
}
body .rhw-blog article.et_pb_post .more-link:hover { text-decoration: underline; }
.rhw-blog .pagination { grid-column: 1 / -1; margin-top: 1.5rem; }