/* Migrated from WordPress Extra CSS on 2026-10-09. */
/* Instellingen */
:root {
  --lwd-heading-font: Georgia, "Times New Roman", serif;
  --lwd-body-font: Arial, Helvetica, sans-serif;
  --lwd-menu-font: "Arial Narrow", "Liberation Sans Narrow", "Roboto Condensed", Arial, sans-serif;
  --lwd-heading-weight: 500;
  --lwd-heading-tracking: -.035em;
  --lwd-menu-weight: 600;
  --lwd-menu-size: 20px;
  --lwd-menu-tracking: .045em;
  --lwd-red: var(--theme-palette-color-3, #ed1646);
  --lwd-ink: #242124;
  --lwd-muted: #666168;
  --lwd-line: #e3dfdf;
  --lwd-paper: #f7f2f3;
  --lwd-sidebar-bg: #f6f7f9;
  --lwd-body-size: 17px;
  --lwd-card-title-size: 22px;
  --lwd-post-title-size: 40px;
  --lwd-section-title-size: 29px;
  --lwd-subheading-size: 24px;
  --lwd-category-title-size: 52px;
  --lwd-meta-size: 12px;
  --lwd-small-size: 13px;
  --lwd-sidebar-size: 15px;
  --lwd-sidebar-title-size: 23px;
  --lwd-body-leading: 1.75;
  --lwd-headline-leading: 1.25;
  --lwd-post-gap: 26px;
  --lwd-site-width: 1140px;
  --lwd-category-width: 1140px;
  --lwd-sidebar-width: 300px;
  --lwd-column-gap: 32px;
  --lwd-logo-width: 70%;
  --lwd-card-radius: 10px;
  --lwd-home-start-gap: 20px;
  --lwd-sidebar-gap: 10px;
  --lwd-home-section-gap: 12px;
  --lwd-home-lead-gap: 8px;
  --lwd-home-post-gap: 8px;
  --lwd-list-date-color: rgba(0, 0, 0, .56);
}

/* Desktop: het logo is ongeveer 10-20% breder dan het volledige hoofdmenu. */
@media (min-width: 1000px) {
  :root {
    --lwd-logo-width: 63%;
  }

  /* Eén rustig desktopkader voor kop, inhoud en voettekst. */
  #header .ct-container,
  #main > .ct-container,
  #footer .ct-container {
    width: min(calc(100% - 48px), var(--lwd-site-width)) !important;
    max-width: var(--lwd-site-width) !important;
    margin-inline: auto !important;
  }

  #main > .ct-container:has(> #sidebar) {
    grid-template-columns: minmax(0, 1fr) var(--lwd-sidebar-width) !important;
    column-gap: var(--lwd-column-gap) !important;
  }

  .ct-logo-container {
    box-sizing: border-box;
    padding: 6px;
  }

  .ct-header [data-device="desktop"] [data-row="bottom"] .ct-container {
    min-height: 0 !important;
  }

  .ct-header [data-device="desktop"] #menu-lwdmenu > li > a {
    height: auto !important;
    min-height: 0 !important;
    padding-block: 6px !important;
    line-height: 1.2 !important;
  }

  /* Voorpagina: 12px van de onderste menulijn tot de eerste artikelrij. */
  body.home #header {
    margin-bottom: 0;
  }

  body.home #main > .ct-container {
    padding-top: var(--lwd-home-start-gap);
  }
}

/* Mobiele instellingen */
@media (max-width: 600px) {
  #header.ct-header {
    margin-bottom: 8px;
  }

  :root {
    --lwd-body-size: 16px;
    --lwd-card-title-size: 18px;
    --lwd-post-title-size: 29px;
    --lwd-section-title-size: 25px;
    --lwd-subheading-size: 22px;
    --lwd-category-title-size: 44px;
    --lwd-post-gap: 23px;
  }
}

/* Forum 2.0: subonderwerpen, gastschrijvers en invoerlimieten. */
.liw-forum-subtopics,
.liw-forum-direct-discussion {
    margin-top: 24px;
}

.liw-forum-subtopics > h2,
.liw-forum-direct-discussion > h2 {
    margin: 0 0 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.liw-forum-subtopic-list {
    display: grid;
    gap: 8px;
}

.liw-forum-subtopic-list article {
    padding: 11px 0;
    border-bottom: 1px solid #d1d5db;
}

.liw-forum-subtopic-list h3,
.liw-forum-subtopic-list p {
    margin: 0;
}

.liw-forum-subtopic-list h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
}

.liw-forum-subtopic-list p,
.liw-forum-session,
.liw-forum-invite-note {
    margin-top: 4px;
    color: #4b5563;
    font-size: 14px;
}

.liw-forum-subtopic-form {
    margin-top: 16px;
    padding: 12px;
    border: 1px solid #6b7280;
    background: #f3f4f6;
}

.liw-forum-subtopic-form > summary {
    cursor: pointer;
    font-weight: 700;
}

.liw-forum-subtopic-form[open] > summary {
    margin-bottom: 12px;
}

.liw-forum-subtopic-opening {
    margin: 18px 0;
    padding: 14px;
    border-left: 4px solid var(--paletteColor4, #1464a5);
    background: #f3f4f6;
}

.liw-forum-badge {
    margin-left: 5px;
    color: #4b5563;
    font-size: 12px;
    font-weight: 400;
}

.liw-forum-word-count {
    display: block;
    margin-top: 4px;
    color: #4b5563;
    font-size: 13px;
    text-align: right;
}

.liw-forum-word-count.is-over-limit {
    color: #b91c1c;
    font-weight: 700;
}

.liw-forum-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 20px 0;
}

.liw-forum-profile h2,
.liw-forum-profile p {
    margin: 0;
}

/* Regiolinks */
.lwd-regiolinks-banner {
    width: min(100%, 300px);
    margin: 20px auto;
    overflow: hidden;
    box-sizing: border-box;
    border: 3px solid #243b88;
    border-radius: 10px;
    background: #fff;
}

.lwd-regiolinks-banner .lwd-regiolinks-banner-head,
.lwd-regiolinks-banner .lwd-regiolinks-banner-head:is(:visited, :hover, :focus, :active) {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 12px 14px 11px;
    background: #243b88;
    color: #fff !important;
    text-decoration: none !important;
}

.lwd-regiolinks-banner-head strong {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    line-height: 1;
    text-transform: uppercase;
}

.lwd-regiolinks-banner-head span {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.lwd-regiolinks-banner-categories {
    display: grid;
    padding: 5px 13px 6px;
    background: #fff;
}

.lwd-regiolinks-banner .lwd-regiolinks-banner-category,
.lwd-regiolinks-banner .lwd-regiolinks-banner-category:is(:visited, :hover, :focus, :active) {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 4px 0;
    color: #243b88 !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
}

body.liw-regiolinks-page .ct-sidebar .lwd-regiolinks-banner {
    display: none !important;
}

.liw-regiolinks > header {
    margin-bottom: 24px;
}

.liw-regiolinks > header h1 {
    margin: 0 0 6px;
    color: #243b88;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
}

.liw-regiolinks > header p {
    margin: 0;
}

.liw-regiolinks-group {
    margin: 34px 0;
}

.liw-regiolinks-group > h2 {
    margin-bottom: 16px;
    border-bottom: 2px solid #243b88;
    padding-bottom: 7px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 27px;
    font-weight: 400;
}

.liw-regiolinks-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.liw-regiolinks-list li {
    min-width: 0;
}

.liw-regiolinks-list li > a,
.liw-regiolinks-list li > a:is(:visited, :hover, :focus, :active),
.liw-regiolinks-query a,
.liw-regiolinks-query a:is(:visited, :hover, :focus, :active) {
    color: var(--paletteColor4, #1464a5) !important;
    font-weight: 700;
}

.liw-regiolinks-list li > span {
    display: block;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.35;
}

.liw-regiolinks-list .liw-regiolinks-entry-inactive,
.liw-regiolinks-list .liw-regiolinks-entry-inactive > span {
    color: #777;
}

.liw-regiolinks-inactive-name {
    font-size: inherit !important;
    font-weight: 700;
    line-height: inherit;
}

.liw-regiolinks-inactive-name small {
    font: inherit;
    font-weight: 400;
}

@media (max-width: 600px) {
    .liw-regiolinks-list {
        grid-template-columns: 1fr;
    }

}

/* Typografie */
body {
  --theme-font-family: var(--lwd-body-font);
  font-family: var(--lwd-body-font);
}
:is(.home, .category, .single-post) #main {
  font-family: var(--lwd-body-font);
  font-size: var(--lwd-body-size);
  line-height: var(--lwd-body-leading);
}

a, a:hover, a:focus, a:active { text-decoration: none !important; }
a:focus-visible { outline: 3px solid var(--lwd-red); outline-offset: 4px; }
#header nav {
  font-family: var(--lwd-menu-font);
  font-size: var(--lwd-menu-size);
  font-stretch: condensed;
  font-weight: var(--lwd-menu-weight);
  letter-spacing: var(--lwd-menu-tracking);
}
#header nav a {
  font: inherit !important;
  letter-spacing: inherit;
}

body.home .wp-block-post-title,
body:is(.category,.tag,.search) .entry-card .entry-title,
body.category .lwd-category .lwd-post h2 {
  font-family: var(--lwd-heading-font) !important;
  font-size: var(--lwd-card-title-size) !important;
  font-weight: var(--lwd-heading-weight);
  line-height: var(--lwd-headline-leading);
  letter-spacing: var(--lwd-heading-tracking);
  overflow-wrap: anywhere;
}
body.home .wp-block-post-title a,
body:is(.category,.tag,.search) .entry-card .entry-title a,
body.category .lwd-category .lwd-post h2 a {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit;
  line-height: inherit;
}
:is(.home,.category,.tag,.search) .wp-block-query .wp-block-post-excerpt,
body:is(.category,.tag,.search) .entry-card .entry-excerpt {
  font-family: var(--lwd-body-font);
  font-size: var(--lwd-body-size);
  line-height: var(--lwd-body-leading);
}

/* Compactere regels binnen categorieresultaten */
body:is(.category,.tag,.search) .entry-card .entry-title {
  line-height: 1.25;
  font-size: calc(var(--lwd-card-title-size) - 3px) !important;
  margin-bottom: 3px !important;
}

body:is(.category,.tag,.search) .entry-card .entry-excerpt {
  margin-top: 0 !important;
  line-height: 1.6;
  font-size: calc(var(--lwd-body-size) - 2px) !important;
}

body.category .lwd-category .lwd-post h2 {
  font-size: calc(var(--lwd-card-title-size) - 3px) !important;
  line-height: 1.25;
  margin-bottom: 3px !important;
}

body.category .lwd-category .lwd-excerpt {
  margin-top: 0 !important;
  font-size: calc(var(--lwd-body-size) - 2px) !important;
}

body:is(.category,.tag,.search) .entry-card .entry-meta {
  display: none !important;
}

body:is(.category,.tag,.search) .lwd-category-excerpt-date {
  color: var(--theme-palette-color-6, #5c5c5c);
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: 400;
  text-transform: uppercase;
  white-space: nowrap;
}

body:is(.category,.tag,.search) .entry-card :is(.meta-date, .meta-date a, time) {
  color: var(--theme-palette-color-6, #5c5c5c) !important;
}

/* Promotie na iedere achtste categorie-, tag- of zoekresultaat */
body:is(.category,.tag,.search) .lwd-category-inline-ad {
  display: block;
  margin: calc(var(--lwd-post-gap) + 12px) 0 var(--lwd-post-gap);
}

body:is(.category,.tag,.search) .lwd-category-inline-ad .lwd-sidebar-promo {
  width: 100%;
  max-width: none;
}

body:is(.category,.tag,.search) .lwd-category-inline-ad .lwd-regiolinks-banner {
  width: 100%;
  max-width: none;
  margin-block: 0;
}

body:is(.category,.tag,.search) .lwd-category-inline-ad .lwd-regiolinks-banner-head {
  align-items: flex-start;
  min-height: 0;
    padding-block: 11px;
  text-align: left;
}

body:is(.category,.tag,.search) .lwd-category-inline-ad .lwd-regiolinks-banner-categories {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 18px;
}

@media (max-width: 689.98px) {
    body:is(.category,.tag,.search) .lwd-category-inline-ad .lwd-regiolinks-banner-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
:is(.home,.category,.tag,.search) .wp-block-post-date,
:is(.home,.category,.tag,.search) .wp-block-post-date a,
:is(.home,.category,.tag,.search,.single-post) .entry-meta,
:is(.home,.category,.tag,.search,.single-post) .entry-meta time {
  font-family: var(--lwd-body-font);
  font-size: var(--lwd-meta-size) !important;
}

/* Header en logo */
.ct-header [data-row="middle"],
.ct-header [data-row="top"],
.ct-header [data-row="bottom"] { overflow: visible !important; }
.ct-header [data-row="middle"] { background: #fff !important; }
.ct-logo-container {
  width: var(--lwd-logo-width) !important;
  display: block !important;
  text-align: center;
}
.ct-logo-container img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
}
.ct-header .ct-logo { width: 100% !important; }
.ct-header .ct-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.ct-header { margin-bottom: 15px; }

/* Voorpagina: één blokstructuur voor desktop, tablet en mobiel. */
body.home #main .entry-content > .wp-block-columns {
  column-gap: 18px !important;
  row-gap: var(--lwd-home-section-gap) !important;
  margin: 0 0 var(--lwd-home-section-gap) !important;
  padding-block: 0 !important;
}
body.home #main .entry-content > .wp-block-columns:last-child {
  margin-bottom: 0 !important;
}
body.home #main .entry-content > .wp-block-columns > .wp-block-column {
  min-width: 0;
  margin: 0 !important;
}
body.home #main .entry-content .wp-block-column > .wp-block-query,
body.home #main .entry-content .wp-block-column > .lwd-home-ad {
  margin-block: 0 !important;
}
body.home #main .entry-content .wp-block-column > .wp-block-query + .wp-block-query {
  margin-top: var(--lwd-home-lead-gap) !important;
}
@media (min-width: 1000px) {
  /* Laat het grijze zijbalkvlak gelijk beginnen met de eerste artikelrij. */
  body.home #sidebar .ct-sidebar {
    margin-top: 0;
  }

  body.home #sidebar .ct-sidebar > .ct-widget {
    margin: 0 0 var(--lwd-home-section-gap) !important;
  }

  body.home #sidebar .ct-sidebar > .ct-widget:last-child {
    margin-bottom: 0 !important;
  }

  /* Desktop: advertenties in de hoofdcontent smaller dan de artikelkolom. */
  body.home #main .lwd-home-ad {
    box-sizing: border-box;
    width: 80% !important;
    max-width: 80% !important;
    margin-inline: auto !important;
  }

  /* Logos in de beeldkoppen blijven alleen op mobiel/tablet zichtbaar. */
  body.home #main figure.liw-tile-logo-mobile-only {
    display: none !important;
  }
}
body.home #main .wp-block-query > .wp-block-post-template {
  margin: 0;
  padding: 0;
}
body.home #main .wp-block-query .wp-block-post-featured-image img {
  border-radius: var(--lwd-card-radius);
  transition: filter .2s ease;
}
body.home #main .wp-block-query .wp-block-post-featured-image img:hover { filter: brightness(.95); }
body.home #main .wp-block-query time,
body.home #main .wp-block-query .wp-block-post-date {
  opacity: .75;
  color: rgba(0,0,0,.75);
}
.wp-block-post-terms.taxonomy-category a, .rood-label {
  background: var(--lwd-red);
  color: #fff !important;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: var(--lwd-body-font);
  font-size: var(--lwd-meta-size);
  font-weight: 700;
  display: inline-block;
  line-height: 1;
}
.rood-label a, .rood-label a:visited, .rood-label a:hover,
.rood-label a:focus, .rood-label a:active { color: #fff !important; }
body.home #main .wp-block-query .wp-block-post-excerpt { opacity: .9; }
body.home #main .wp-block-cover {
  border-radius: var(--lwd-card-radius);
  overflow: hidden;
  transition: filter .2s ease;
}
body.home #main .wp-block-cover:hover { filter: brightness(.92); }
body.home #main .wp-block-cover .wp-block-cover__inner-container { padding: 14px; }
body.home #main .wp-block-cover .wp-block-cover__inner-container > * {
  margin-top: 4px !important;
  margin-bottom: 4px !important;
}
body.home #main .wp-block-cover .wp-block-post-title {
  margin: 0 !important;
}
body.home .wp-block-post-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.home #main .wp-block-cover .wp-block-post-title a { color: #fff !important; }
body.home #main .wp-block-cover .wp-block-post-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}
body.home #main .wp-block-cover .rood-label {
  pointer-events: none;
}
body.home #main .wp-block-cover time,
body.home #main .wp-block-cover .wp-block-post-date,
body.home #main .wp-block-cover .wp-block-post-date a {
  color: rgba(255,255,255,.82) !important;
  font-weight: 400 !important;
  opacity: 1 !important;
  font-size: var(--lwd-meta-size) !important;
}
@media (max-width: 767px) {
  body.home #main .entry-content > .wp-block-columns { gap: var(--lwd-home-section-gap) !important; }
}

/* Categorieën */
body.category .lwd-category-layout {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0,1fr) var(--lwd-sidebar-width);
  align-items: start;
  gap: var(--lwd-column-gap);
  max-width: var(--lwd-category-width);
  margin: 0 auto;
  padding: 36px 24px 64px;
}
.lwd-category-sidebar { min-width: 0; }
.lwd-category-sidebar > aside, .lwd-category-sidebar > #secondary,
.lwd-category-sidebar > .sidebar {
  width: 100%; max-width: none; margin: 0; float: none;
}
body.category .lwd-category {
  box-sizing: border-box;
  min-width: 0; width: 100%; margin: 0; padding: 0;
  color: var(--lwd-ink);
  font: var(--lwd-body-size)/var(--lwd-body-leading) var(--lwd-body-font);
  text-align: left;
}
.lwd-category * { box-sizing: border-box; }
.lwd-category h1, .lwd-category h2, .lwd-category p { margin: 0; padding: 0; }
.lwd-category a { color: inherit; }
.lwd-category .lwd-category-heading {
  padding: 22px 0 28px;
  border-top: 4px solid var(--lwd-red);
  border-bottom: 1px solid var(--lwd-line);
}
.lwd-category .lwd-label {
  font-size: var(--lwd-meta-size); font-weight: 700; letter-spacing: .13em;
  line-height: 1.5; text-transform: uppercase;
  color: var(--lwd-red); margin-bottom: 8px;
}
.lwd-category h1 {
  font: var(--lwd-heading-weight) var(--lwd-category-title-size)/1.06 var(--lwd-heading-font);
  letter-spacing: -.045em; overflow-wrap: anywhere; color: var(--lwd-ink);
}
.lwd-category .lwd-description {
  font-size: var(--lwd-body-size); color: var(--lwd-muted);
  max-width: 600px; margin-top: 14px;
}
.lwd-category .lwd-post { padding: var(--lwd-post-gap) 0; border: 0; }
.lwd-category .lwd-post-image { margin: 0 0 18px; }
.lwd-category .lwd-post-image img {
  display: block; max-width: 100%; width: 100%; height: auto; border-radius: 3px;
}
.lwd-category time {
  display: block; font-size: var(--lwd-meta-size); letter-spacing: .04em;
  color: var(--lwd-muted); margin-bottom: 8px;
}
.lwd-category .lwd-post h2 a:hover { color: var(--lwd-red); }
.lwd-category .lwd-excerpt {
  font-size: var(--lwd-body-size); line-height: var(--lwd-body-leading);
  color: var(--lwd-muted); margin-top: 10px; max-width: 740px;
}
.lwd-category .lwd-promotion {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px; padding: 24px; margin: 24px 0 0;
  background: var(--lwd-paper); border-left: 3px solid var(--lwd-red);
}
.lwd-category .lwd-promotion-alt { background: #f3f2ef; border-left-color: var(--lwd-ink); }
.lwd-category .lwd-promotion h2 {
  font: 700 var(--lwd-subheading-size)/1.25 var(--lwd-heading-font); color: var(--lwd-ink);
}
.lwd-category .lwd-promotion-copy {
  font-size: var(--lwd-small-size); color: var(--lwd-muted); margin-top: 6px;
}
.lwd-category .lwd-promotion a {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 12px; flex-shrink: 0; min-height: 44px;
  background: var(--lwd-red); color: #fff;
  font-size: var(--lwd-meta-size); font-weight: 700; line-height: 1.4;
  padding: 12px 16px; text-align: center;
}
.lwd-category .lwd-promotion a:hover { filter: brightness(.85); }
.lwd-category .lwd-promotion-alt a { background: var(--lwd-ink); }
.lwd-category .lwd-empty { padding: 28px 0; color: var(--lwd-muted); }
:is(.category,.tag,.search) .entry-card { align-items: flex-start !important; }
:is(.category,.tag,.search) .entry-card .card-content { align-self: flex-start !important; }
@media (min-width: 601px) {
  .lwd-category .lwd-category-heading { border-top: 0; padding-top: 0; }
  .lwd-category #lwd-category-title {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%);
    white-space: nowrap; border: 0;
  }
  .lwd-category .lwd-description { margin-top: 0; }
}
@media (max-width: 900px) {
  body.category .lwd-category-layout { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .lwd-category-sidebar { width: 100%; }
}
@media (max-width: 600px) {
  body.category .lwd-category-layout { padding: 20px 18px 40px; }
  .lwd-category .lwd-category-heading { padding: 18px 0 22px; }
  .lwd-category .lwd-promotion { display: block; padding: 20px; margin-top: 22px; }
  .lwd-category .lwd-promotion a { margin-top: 16px; }
}

/* Artikelen */
body.single-post h1.page-title, body.single-post h1.entry-title {
  font-family: var(--lwd-heading-font) !important;
  font-size: var(--lwd-post-title-size) !important;
  font-weight: var(--lwd-heading-weight); line-height: 1.12; letter-spacing: var(--lwd-heading-tracking); overflow-wrap: anywhere;
}
body.single-post article.type-post > .entry-content,
body.single-post .lwd-native-prose {
  font: 400 var(--lwd-body-size)/var(--lwd-body-leading) var(--lwd-body-font);
  overflow-wrap: anywhere;
}

body.single-post .lwd-native-prose :where(p,div,span,font,b,strong,li) {
  font-family: inherit !important; font-size: inherit !important;
  line-height: inherit !important; font-weight: 400 !important;
}
body.single-post .lwd-native-prose p { margin: 0 0 1.35em; }
body.single-post .lwd-native-prose :is(h1,h2,h3,h4,h5,h6) {
  font-family: var(--lwd-heading-font) !important; font-weight: 700 !important;
  line-height: 1.25 !important; letter-spacing: -.02em; margin: 1.5em 0 .65em;
}
body.single-post .lwd-native-prose :is(h1,h2,h3,h4,h5,h6) * { font-weight: inherit !important; }
body.single-post .lwd-native-prose h2 { font-size: var(--lwd-section-title-size) !important; }
body.single-post .lwd-native-prose h3 { font-size: var(--lwd-subheading-size) !important; }
body.single-post .entry-content img, body.single-post .entry-content figure {
  max-width: 100% !important; height: auto !important;
}
body.single-post .entry-content iframe { max-width: 100% !important; }
body.single-post .entry-content iframe[src*="open.spotify.com/embed/episode/"] {
  display: block;
  width: 100% !important;
  height: 152px !important;
  border: 0;
  border-radius: 12px;
}
body.single-post .entry-content .alignwide, body.single-post .entry-content .alignfull {
  max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important;
}
body.single-post .entry-content figure { margin-left: 0; margin-right: 0; }
body.single-post .lwd-native-prose figcaption, body.single-post .lwd-native-prose .wp-caption-text {
  font-size: var(--lwd-meta-size) !important; line-height: 1.6 !important; color: var(--lwd-muted);
}
body.single-post .lwd-native-prose pre { max-width: 100%; overflow: auto; }
body.single-post :is(.hero-section,.entry-header) :is(.meta-author,.meta-categories,.ct-post-categories) { display: none !important; }

body.single-post .lwd-post-categories {
  display: inline;
  margin: 0;
  font: inherit;
  color: inherit;
}

body.single-post .lwd-post-attribution,
body.single-post .lwd-post-photo-attribution {
  display: inline;
  margin: 0;
  color: inherit;
  font: inherit;
  text-transform: uppercase;
}

body.single-post .lwd-post-attribution strong,
body.single-post .lwd-post-photo-attribution strong {
  color: inherit;
  font: inherit;
}

body.single-post :is(.liw-attribution, .lwd-post-attribution) a.liw-source-link:is(:link, :visited, :hover, :focus, :active) {
  color: var(--lwd-link-blue) !important;
}

body.single-post .lwd-meta-separator {
  display: inline-block;
  margin: 0 .42em;
  color: currentColor;
}

body.single-post .lwd-post-categories a:is(:link, :visited, :hover, :focus, :active) {
  color: var(--lwd-link-blue) !important;
  font: inherit;
}

/* Flex items trim the literal space after a category comma. */
body.single-post .lwd-category-separator {
  margin-inline-end: .28em;
}

body.single-post .ct-related-posts {
  padding-bottom: 40px;
}

@media (min-width: 601px) {
  body.single-post .ct-share-box + .ct-related-posts {
    margin-top: 30px !important;
    padding-top: 20px !important;
  }
}

@media (min-width: 601px) {
  body.single-post :is(.hero-section,.entry-header) .meta-date::before { display: none !important; }
}

/* Zijbalk */
.ct-sidebar { background: var(--lwd-sidebar-bg); padding: 5px; border-radius: 12px; }
.ct-sidebar, .ct-sidebar .entry-content, .ct-sidebar p, .ct-sidebar li {
  font-family: var(--lwd-body-font); font-size: var(--lwd-sidebar-size); line-height: 1.65;
}
.ct-sidebar :is(.widget-title,.widgettitle,.wp-block-heading) {
  font-family: var(--lwd-heading-font); font-size: var(--lwd-sidebar-title-size); line-height: 1.25;
}
@media (prefers-reduced-motion: reduce) {
  .wp-block-cover, .wp-block-query .wp-block-post-featured-image img { transition: none; }
}

/* Archief */
.al-archive {
  --al-accent: var(--lwd-red, #ed1646);
  --al-hover: var(--lwd-link-blue, var(--theme-palette-color-4, #4099ff));
  --al-title-size: 14px;
  --al-row-space: 12px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.55;
}
.al-archive .al-topic-group { margin-bottom: 16px; }
.al-archive .al-topic-group > strong { display: block; margin-bottom: 5px; }
.al-archive .al-topic-links { display: flex; flex-wrap: wrap; gap: 5px 8px; }
.al-archive .al-topic-links a { padding: 3px 8px; border-radius: 3px; background: #f3f3f3; color: inherit; font-size: 14px; }
.al-archive .al-topic-links a[aria-current] { background: var(--al-accent) !important; color: #fff !important; }
.al-archive .al-topic-links a:not([aria-current]):is(:hover, :focus-visible) { background: var(--al-hover) !important; color: #fff !important; }
.al-archive .al-topic-more {
  display: inline-block; margin: 0; padding: 3px 8px; border: 0; border-radius: 3px;
  background: #f3f3f3; color: inherit; cursor: pointer; font: inherit; font-size: 14px; line-height: inherit;
}
.al-archive .al-topic-more:is(:hover, :focus-visible) { background: var(--al-hover); color: #fff; }
.al-archive .al-topic-more-links { display: contents; }
.al-archive .al-topic-more-links[hidden] { display: none !important; }
.al-archive .al-search { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 28px 0 20px; }
.al-archive .al-topic-group > strong,
.al-archive .al-search label { font-size: 16px; font-weight: 600; line-height: 1.55; }
.al-archive .al-search label { flex: 1 1 230px; margin: 0 !important; padding: 0; }
.al-archive .al-search input[type="search"] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 46px !important;
  min-height: 46px !important;
  margin: 6px 0 0 !important;
  padding: 10px 12px;
  border: 1px solid #999 !important;
  border-radius: 4px;
  outline: none !important;
  background: #f6f6f6 !important;
  box-shadow: none !important;
  color: var(--lwd-ink) !important;
  font: inherit;
}
.al-archive .al-search button,
.al-back a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 46px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 10px 18px;
  border: 0;
  border-radius: 3px;
  background: var(--lwd-red, #ed1646) !important;
  color: #fff !important;
  font: inherit;
}
.al-archive .al-search button:is(:hover, :focus, :focus-visible, :active),
.al-back a:is(:visited, :hover, :focus, :focus-visible, :active) {
  border-color: var(--lwd-red, #ed1646) !important;
  background: var(--lwd-red, #ed1646) !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}
.al-archive .al-summary { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.al-archive .al-summary span, .al-archive .al-summary a, .al-archive .al-limit { font-size: 14px; }
.al-archive .al-graph { margin: 24px 0 30px; }
.al-archive .al-graph figcaption, .al-archive .al-graph-range { color: #666; font-size: 12px; }
.al-archive .al-graph svg { display: block; width: 100%; height: auto; margin-top: 12px; }
.al-archive .al-graph rect { fill: var(--al-accent); }
.al-archive .liwwadders-graph-bar { background-color: var(--al-accent) !important; }
.al-archive .al-graph-range { display: flex; justify-content: space-between; }
.al-archive .al-year { margin: 28px 0 14px; font-size: 16px; font-weight: 600; line-height: 1.55; }
.al-archive .al-results { padding: 0; margin: 0; list-style: none; }
.al-archive .al-results li { display: grid; grid-template-columns: 95px minmax(0, 1fr); align-items: baseline; gap: 12px; margin: 0 0 var(--al-row-space); }
.al-archive .al-results time { padding-top: 0; color: #666; font-size: 14px; line-height: 1.4; }
.al-archive .al-results a { color: inherit; font-size: var(--al-title-size); font-weight: 400; line-height: 1.4; overflow-wrap: anywhere; }
.al-archive .al-results a:hover { color: var(--al-accent); text-decoration: none !important; }

/* A dossier shortcode lives inside an ordinary page and never widens its container. */
body.lwd-dossier-page :is(.hero-section, .entry-header) > h1:is(.page-title, .entry-title) {
  display: none !important;
}
body.lwd-dossier-page .lwd-dossier-page-heading {
  margin: 0 0 18px;
}
body.lwd-dossier-page .lwd-dossier-page-heading h1 {
  margin: 0;
  font-family: var(--lwd-heading-font) !important;
  font-size: var(--lwd-post-title-size) !important;
  font-weight: var(--lwd-heading-weight) !important;
  line-height: 1.12 !important;
  letter-spacing: var(--lwd-heading-tracking) !important;
  overflow-wrap: anywhere;
}
body.lwd-dossier-page .entry-content > :where(p, ul, ol) {
  font-size: calc(var(--lwd-body-size) - 2px);
  line-height: 1.6;
}
.lwd-dossier-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 26px;
  align-items: start;
  width: 100%;
  min-width: 0;
}
.lwd-dossier-intro {
  box-sizing: border-box;
  min-width: 0;
}
.lwd-dossier-intro-copy {
  font-family: var(--lwd-body-font);
  font-size: calc(var(--lwd-body-size) - 2px);
  line-height: 1.6;
}
.lwd-dossier-intro-copy > :first-child {
  margin-top: 0;
}
.lwd-dossier-intro-copy > :last-child {
  margin-bottom: 0;
}
.lwd-dossier-shortcode {
  display: contents;
}
.lwd-dossier-shortcode .lwd-dossier-entries {
  display: contents;
}
.lwd-dossier-year {
  min-width: 0;
}
.lwd-dossier-year-label {
  display: inline-flex;
  align-items: center;
  min-height: 0;
  margin: 0 0 8px !important;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--lwd-red, #ed1646);
  color: #fff !important;
  font-family: var(--lwd-body-font) !important;
  font-size: var(--lwd-meta-size) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}
.lwd-dossier-year-label-image {
  align-self: flex-start;
  margin: 0 !important;
  text-shadow: none;
}
.lwd-dossier-lead {
  margin: 0 0 var(--lwd-home-lead-gap) !important;
  padding: 0 !important;
}
.lwd-dossier-lead-link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--lwd-card-radius);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .16);
}
.lwd-dossier-lead-link::after {
  position: absolute;
  inset: 25% 0 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .82));
}
.lwd-dossier-lead-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lwd-dossier-lead-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 13px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
}
.lwd-dossier-lead-overlay time {
  color: #fff;
  font-family: var(--lwd-body-font);
  font-size: var(--lwd-meta-size);
  font-weight: 400;
  line-height: 1.2;
}
.lwd-dossier-lead-title {
  font-family: var(--lwd-heading-font);
  font-size: calc(var(--lwd-card-title-size) - 2px);
  font-weight: var(--lwd-heading-weight);
  line-height: 1.18;
  letter-spacing: var(--lwd-heading-tracking);
  overflow-wrap: anywhere;
}
.lwd-dossier-lead-link:is(:hover, :focus-visible) img {
  filter: brightness(.92);
}
.lwd-dossier-year-links {
  margin: 0 !important;
  padding: 0 13px !important;
  list-style: none !important;
}
.lwd-dossier-year-links li {
  margin: 0 0 var(--lwd-home-post-gap) !important;
  padding: 0 !important;
  border: 0 !important;
}
.lwd-dossier-year-links a {
  display: block;
  color: var(--lwd-link-blue, var(--theme-palette-color-4, #4099ff)) !important;
  font-family: var(--lwd-heading-font);
  font-size: calc(var(--lwd-card-title-size) - 4px);
  font-weight: var(--lwd-heading-weight);
  line-height: 1.25;
  letter-spacing: var(--lwd-heading-tracking);
  text-decoration: none !important;
  overflow-wrap: anywhere;
}
.lwd-dossier-year-links time {
  display: block;
  margin: 0 0 2px;
  color: var(--lwd-list-date-color);
  font-family: var(--lwd-body-font);
  font-size: var(--lwd-meta-size);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  opacity: 1;
}
.lwd-dossier-year-links time::after {
  content: none;
}
.lwd-dossier-year-links a > span {
  display: block;
}
.lwd-dossier-year-links a:is(:hover, :focus-visible) {
  color: var(--lwd-link-blue, var(--theme-palette-color-4, #4099ff)) !important;
  text-decoration: none !important;
}
.lwd-dossier-page a:is(:link, :visited, :hover, :focus, :focus-visible, :active) {
  text-decoration: none !important;
}
.lwd-dossier-banner {
  border-color: var(--theme-palette-color-4, #2474b5);
}

/* Homepage image cards use the complete dossier lead-card treatment. */
body.home #main .wp-block-cover {
  position: relative;
  width: 100%;
  min-height: 0 !important;
  aspect-ratio: 4 / 3 !important;
  border-radius: var(--lwd-card-radius);
  box-shadow: 0 5px 16px rgba(0, 0, 0, .16);
}
body.home #main .wp-block-cover > .wp-block-cover__background {
  background: linear-gradient(to bottom, transparent 25%, rgba(0, 0, 0, .82)) !important;
  opacity: 1 !important;
}
body.home #main .wp-block-cover .wp-block-cover__inner-container {
  position: absolute;
  inset: 0;
  z-index: 2;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  width: 100%;
  padding: 12px 13px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .8);
}
body.home #main .wp-block-cover .wp-block-post-terms.taxonomy-category,
body.home #main .wp-block-cover .rood-label {
  position: static;
  order: 10;
  align-self: flex-start;
  margin: 0 !important;
  text-shadow: none;
}
body.home #main .wp-block-cover .wp-block-post-title {
  order: 30;
  margin: 0 !important;
  font-family: var(--lwd-heading-font) !important;
  font-size: calc(var(--lwd-card-title-size) - 2px) !important;
  font-weight: var(--lwd-heading-weight) !important;
  line-height: 1.18 !important;
  letter-spacing: var(--lwd-heading-tracking) !important;
}
body.home #main .wp-block-cover .wp-block-post-date {
  order: 20;
  margin: 0 !important;
  color: #fff !important;
  line-height: 1.2 !important;
}
body.home #main .wp-block-cover .wp-block-post-date :is(a, time) {
  color: #fff !important;
}

/* Align ordinary homepage headlines with the text inset of image cards. */
body.home #main .wp-block-query:not(:has(.wp-block-cover)) > .wp-block-post-template {
  box-sizing: border-box;
  padding-right: 13px !important;
  padding-left: 13px !important;
}

@media (max-width: 689.98px) {
  .lwd-dossier-intro {
    padding-right: 13px;
    padding-left: 13px;
  }
  .lwd-dossier-page-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .lwd-dossier-page-grid .lwd-dossier-page-heading {
    margin-bottom: 14px;
  }
  .lwd-dossier-year-label {
    margin-bottom: 7px !important;
  }
  .lwd-dossier-lead-title {
    font-size: var(--lwd-card-title-size);
  }
  .lwd-dossier-year-links a {
    font-size: calc(var(--lwd-card-title-size) - 2px);
    line-height: 1.35;
  }
  body:is(.category,.tag,.search) .entry-card .entry-title,
  body.category .lwd-category .lwd-post h2 {
    font-size: calc(var(--lwd-card-title-size) - 1px) !important;
    line-height: 1.35;
  }
  body.home #main .wp-block-cover .wp-block-post-title {
    font-size: var(--lwd-card-title-size) !important;
  }
}
.al-archive a:focus-visible, .al-archive button:focus-visible, .al-back a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.al-back { margin-bottom: 24px; }
@media (max-width: 600px) {
  .al-archive { --al-title-size: 14px; --al-row-space: 16px; }
  .al-archive .al-results li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .al-archive .al-year { font-size: 16px; }
}

/* Footer */
#footer a,
#footer a:is(:link, :visited, :hover, :focus, :active) { color: #fff !important; text-decoration: none !important; }
#footer a:focus-visible { outline-color: #fff; }

/* Stadsblad */
.lwd-stadsblad-year {
  margin: 0 0 48px;
}

.lwd-stadsblad-year > h2 {
  margin: 0 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--lwd-red, #ed1646);
  color: #111;
  font-size: clamp(24px, 3vw, 34px);
}

.lwd-stadsblad-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 22px;
}

.lwd-stadsblad-card {
  min-width: 0;
}

.lwd-stadsblad-card > a {
  display: block;
  color: #111;
  text-decoration: none;
}

.lwd-stadsblad-cover {
  display: grid;
  aspect-ratio: 1 / 1.414;
  overflow: hidden;
  place-items: center;
  background: #f2f2f2;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .14);
}

.lwd-stadsblad-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lwd-stadsblad-placeholder {
  color: var(--lwd-red, #ed1646);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .08em;
}

.lwd-stadsblad-title {
  display: block;
  margin-top: 13px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

.lwd-stadsblad-description {
  display: block;
  margin-top: 6px;
  color: #444;
  font-size: 15px;
  line-height: 1.4;
}

.lwd-stadsblad-open {
  display: block;
  margin-top: 5px;
  color: var(--lwd-red, #ed1646);
  font-size: 14px;
  font-weight: 700;
}

.lwd-stadsblad-card > a:hover .lwd-stadsblad-title,
.lwd-stadsblad-card > a:focus-visible .lwd-stadsblad-title {
  color: var(--lwd-red, #ed1646);
}

@media (max-width: 900px) {
  .lwd-stadsblad-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .lwd-stadsblad-year { margin-bottom: 36px; }
  .lwd-stadsblad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .lwd-stadsblad-title { font-size: 17px; }
}

/* Zijbalkpromoties */
.lwd-sidebar-promo {
  overflow: hidden;
  padding: 22px;
  border-radius: 10px;
}

.lwd-sidebar-promo .lwd-promo-title {
  margin: 5px 0 8px;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.08;
}

.lwd-sidebar-promo p {
  margin: 0 0 17px;
  font-size: 16px;
  line-height: 1.45;
}

.lwd-sidebar-latest,
.lwd-sidebar-subscription {
  border: 1px solid #dedede;
  background: #fff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
}

.lwd-sidebar-subscription {
  border-top: 5px solid var(--lwd-red, #ed1646);
}

.lwd-sidebar-cover {
  display: block;
  margin: -22px -22px 18px;
  overflow: hidden;
  background: #eee;
}

.lwd-sidebar-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.lwd-sidebar-image-only .lwd-sidebar-cover {
  margin-bottom: -22px;
}

.lwd-sidebar-kicker {
  display: block;
  color: var(--lwd-red, #ed1646);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .055em;
  line-height: 1.3;
  text-transform: uppercase;
}

.lwd-sidebar-button {
  display: block;
  padding: 12px 16px;
  border-radius: 4px;
  background: var(--lwd-red, #ed1646);
  color: #fff !important;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
}

.lwd-sidebar-button:hover,
.lwd-sidebar-button:focus,
.lwd-sidebar-button:visited {
  background: var(--lwd-red, #ed1646);
  color: #fff !important;
}

/* Eén geldige link maakt de volledige promotiebanner aanklikbaar. */
.lwd-promo-card-link,
.lwd-promo-card-link:is(:link, :visited, :hover, :focus, :active) {
  display: block;
  color: inherit !important;
  text-decoration: none !important;
}

.lwd-promo-card-link:focus-visible {
  outline: 3px solid var(--theme-palette-color-4, #2872b7);
  outline-offset: 3px;
}

.lwd-sidebar-textlink {
  display: block;
  margin-top: 13px;
  color: #222 !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}

.lwd-sidebar-newsletter {
  background: var(--lwd-red, #ed1646);
  color: #fff;
}

.lwd-sidebar-newsletter .lwd-sidebar-kicker,
.lwd-sidebar-newsletter .lwd-promo-title,
.lwd-sidebar-newsletter p {
  color: #fff;
}

.lwd-sidebar-newsletter .lwd-sidebar-button,
.lwd-sidebar-newsletter .lwd-sidebar-button:hover,
.lwd-sidebar-newsletter .lwd-sidebar-button:focus,
.lwd-sidebar-newsletter .lwd-sidebar-button:visited {
  background: #fff;
  color: #111 !important;
}

/* Beeldadvertentie tussen delen en gerelateerde artikelen. */
body.single-post .lwd-post-ad {
  width: 100%;
  max-width: 100%;
  margin: 4px auto 26px;
  text-align: center;
}

body.single-post .lwd-post-ad-link {
  display: block;
  width: 100%;
  color: inherit !important;
  text-decoration: none !important;
}

body.single-post .lwd-post-ad-link:focus-visible {
  outline: 3px solid var(--theme-palette-color-4, #2872b7);
  outline-offset: 3px;
}

body.single-post .lwd-post-ad-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

body.single-post .lwd-post-ad-caption {
  display: block;
  position: static;
  visibility: visible;
  opacity: 1;
  margin-top: 5px;
  color: var(--theme-palette-color-5, #a4a4a4);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
}

body.single-post .lwd-post-ad + .ct-related-posts {
  margin-top: 20px !important;
  padding-top: 20px !important;
}

/* Donatieblok onder de deelknoppen van een artikel. */
body.single-post .lwd-post-donation {
  width: 100%;
  margin: 4px 0 26px;
  padding: 18px 20px;
  border-radius: 8px;
  text-align: center;
}

body.single-post .lwd-post-donation .lwd-promo-title {
  max-width: none;
  margin: 0 0 7px;
  font-size: 22px;
}

body.single-post .lwd-post-donation p {
  max-width: 680px;
  margin: 0 auto 13px;
  font-size: 15px;
}

body.single-post .lwd-post-donation .lwd-sidebar-button {
  display: inline-block;
  width: fit-content;
  min-width: 124px;
  padding-block: 10px;
  margin-inline: auto;
}

/* Keep the related heading close to the optional donation block. */
body.single-post .lwd-post-donation + .ct-related-posts {
  margin-top: 20px !important;
  padding-top: 20px !important;
}

@media (max-width: 600px) {
  body.single-post .lwd-post-donation {
    padding: 16px;
  }

  body.single-post .lwd-post-donation .lwd-sidebar-button {
    width: 100%;
  }
}

/* Net binnen */
.lwd-sidebar-latest-posts ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.lwd-sidebar-latest-posts li {
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--lwd-line);
  font-size: 15px;
  line-height: 1.45;
}

.lwd-sidebar-latest-posts li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

@media (min-width: 601px) {
  .lwd-sidebar-latest-posts li {
    padding-block: 6px;
  }
}

.lwd-sidebar-latest-posts a {
  color: var(--lwd-ink) !important;
  font-family: var(--lwd-heading-font);
  font-size: 15px;
  font-weight: var(--lwd-heading-weight);
  letter-spacing: var(--lwd-heading-tracking);
  line-height: 1.35;
}

.lwd-sidebar-latest-posts a:hover,
.lwd-sidebar-latest-posts a:focus {
  color: var(--lwd-red) !important;
}

/* PEL */
.lwd-sidebar-pel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-inline: auto;
  min-height: 220px;
  padding: 18px;
  background: var(--theme-palette-color-7, #00c200);
  text-align: right;
}

.lwd-sidebar-pel .lwd-promo-card-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.lwd-sidebar-pel .lwd-pel-title {
  margin: 0;
  color: var(--theme-palette-color-5, #cecece) !important;
  font-family: var(--lwd-body-font);
  font-size: 18px;
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.lwd-sidebar-pel p {
  margin: 0;
  color: var(--theme-palette-color-2, #fff) !important;
  font-family: var(--lwd-body-font);
  font-size: 18px;
  font-weight: 600;
  line-height: .9;
  letter-spacing: -.04em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.lwd-sidebar-pel a,
.lwd-sidebar-pel a:is(:visited, :hover, :focus, :active) {
  color: var(--theme-palette-color-8, #ffff00) !important;
  font: inherit;
  text-decoration: none !important;
}

.lwd-sidebar-pel.lwd-pel-groen {
  background: var(--theme-palette-color-7, #00c200);
}

.lwd-sidebar-pel.lwd-pel-groen .lwd-pel-title {
  color: var(--theme-palette-color-6, #5c5c5c) !important;
}

.lwd-sidebar-pel.lwd-pel-groen a,
.lwd-sidebar-pel.lwd-pel-groen a:is(:visited, :hover, :focus, :active) {
  color: var(--theme-palette-color-8, #ffff00) !important;
}

.lwd-sidebar-pel.lwd-pel-groen .lwd-pel-link-text {
  color: var(--theme-palette-color-8, #ffff00) !important;
}

.lwd-sidebar-pel.lwd-pel-geel {
  background: var(--theme-palette-color-8, #ffff00);
}

.lwd-sidebar-pel.lwd-pel-geel p {
  color: var(--theme-palette-color-1, #000) !important;
}

.lwd-sidebar-pel.lwd-pel-geel .lwd-pel-title {
  color: var(--theme-palette-color-6, #5c5c5c) !important;
}

.lwd-sidebar-pel.lwd-pel-geel a,
.lwd-sidebar-pel.lwd-pel-geel a:is(:visited, :hover, :focus, :active) {
  color: var(--theme-palette-color-7, #00c200) !important;
}

.lwd-sidebar-pel.lwd-pel-geel .lwd-pel-link-text {
  color: var(--theme-palette-color-7, #00c200) !important;
}

.ct-sidebar figcaption,
.ct-sidebar .wp-caption-text,
.ct-sidebar .wp-element-caption,
.ct-sidebar .lwd-sidebar-ad-caption {
  margin-top: 6px;
  color: var(--theme-palette-color-5, #cecece) !important;
  font-family: var(--lwd-body-font);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
}

/* Wisselende beeldadvertentie */
.lwd-sidebar-switch-ad {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--lwd-card-radius);
  background: var(--lwd-red);
}

.lwd-sidebar-switch-ad .lwd-switch-variant {
  position: absolute;
  inset: 0;
  display: none;
  color: #fff !important;
}

.lwd-sidebar-switch-ad.lwd-show-1 .lwd-switch-1,
.lwd-sidebar-switch-ad.lwd-show-2 .lwd-switch-2 {
  display: grid;
  place-items: center;
}

.lwd-sidebar-switch-ad img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lwd-sidebar-switch-ad .lwd-switch-variant::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .2);
}

.lwd-sidebar-switch-ad span {
  position: relative;
  z-index: 1;
  padding: 18px;
  color: #fff;
  font-family: var(--lwd-heading-font);
  font-size: var(--lwd-sidebar-title-size);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 1px 5px rgba(0, 0, 0, .8);
}

.lwd-banner-combination-item[hidden] {
  display: none !important;
}
/* Links categoriepagina */
body:is(.category,.tag,.search) :is(.lwd-category .lwd-post h2, .entry-card .entry-title) a:link,
body:is(.category,.tag,.search) :is(.lwd-category .lwd-post h2, .entry-card .entry-title) a:visited {
  color: var(--lwd-ink) !important;
}
body:is(.category,.tag,.search) :is(.lwd-category .lwd-post h2, .entry-card .entry-title) a:is(:hover, :focus, :active) {
  color: var(--lwd-red) !important;
}

/* Bronregel artikelen */
body.single-post .lwd-native-prose .lwd-native-credit,
body.single-post .lwd-native-prose .lwd-native-credit * {
  font-style: italic !important;
  font-weight: 400 !important;
}

/* Fotocredit direct onder de bijbehorende artikelafbeelding */
body.single-post .lwd-native-prose .liw-photo-credit {
  display: block;
  margin: 5px 0 20px !important;
  color: var(--theme-palette-color-5, #cecece) !important;
  font-family: var(--lwd-body-font);
  font-size: 12px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
  text-align: center !important;
}

body.single-post .lwd-native-prose .liw-photo-credit strong {
  color: inherit !important;
  font: inherit !important;
}

body.single-post .lwd-native-prose figcaption .liw-photo-credit::before {
  content: " ";
}

/* Terug naar archief */
body.single-post .al-back-top { margin: 0 0 24px; }
body.single-post .al-back-bottom { margin: 24px 0 0; }

/* Vaste informatiepagina's */
:is(.page-id-124604, .page-id-124586, .page-id-124584, .page-id-124595, .page-id-124590, .page-id-124597) article.page .entry-content {
  color: var(--lwd-ink);
  font-family: var(--lwd-body-font);
  font-size: var(--lwd-body-size);
  line-height: var(--lwd-body-leading);
}

:is(.page-id-124604, .page-id-124586, .page-id-124584, .page-id-124595, .page-id-124590, .page-id-124597) article.page .entry-content :is(p, li, label, input, button) {
  font-family: inherit;
  font-size: inherit;
}

:is(.page-id-124604, .page-id-124586, .page-id-124584, .page-id-124595, .page-id-124590, .page-id-124597) article.page .entry-content :is(h1, h2, h3, h4, h5, h6),
:is(.page-id-124604, .page-id-124586, .page-id-124584, .page-id-124595, .page-id-124590, .page-id-124597) article.page .entry-content p > strong:first-child {
  color: var(--lwd-ink);
  font-family: var(--lwd-heading-font);
  font-weight: 700;
  letter-spacing: var(--lwd-heading-tracking);
  line-height: var(--lwd-headline-leading);
}

:is(.page-id-124604, .page-id-124586, .page-id-124584, .page-id-124595, .page-id-124590, .page-id-124597) article.page .entry-content p > strong:first-child {
  display: inline-block;
  margin-bottom: 5px;
  font-size: var(--lwd-subheading-size);
}

:is(.page-id-124604, .page-id-124586, .page-id-124584, .page-id-124595, .page-id-124590, .page-id-124597) article.page .entry-content a:link,
:is(.page-id-124604, .page-id-124586, .page-id-124584, .page-id-124595, .page-id-124590, .page-id-124597) article.page .entry-content a:visited {
  color: var(--lwd-ink);
}

:is(.page-id-124604, .page-id-124586, .page-id-124584, .page-id-124595, .page-id-124590, .page-id-124597) article.page .entry-content a:is(:hover, :focus, :active) {
  color: var(--lwd-red);
}

:is(.page-id-124604, .page-id-124586, .page-id-124584, .page-id-124595, .page-id-124590, .page-id-124597) article.page .entry-content :is(button, input[type="submit"], .wp-element-button, .wp-block-button__link) {
  min-height: 46px;
  padding: 11px 18px;
  border: 0;
  border-radius: 4px;
  background: var(--lwd-red) !important;
  color: #fff !important;
  font-weight: 700;
  line-height: 1.3;
}

:is(.page-id-124604, .page-id-124586, .page-id-124584, .page-id-124595, .page-id-124590, .page-id-124597) article.page .entry-content :is(button, input[type="submit"], .wp-element-button, .wp-block-button__link):is(:hover, :focus, :active, :visited) {
  background: var(--lwd-red) !important;
  color: #fff !important;
  filter: brightness(.88);
}

/* Nieuwsbriefformulier */
.page-id-124597 .lwd-newsletter-form {
  max-width: 620px;
}

.page-id-124597 .lwd-newsletter-form p {
  margin: 0 0 18px;
}

.page-id-124597 .lwd-newsletter-form label {
  display: block;
  margin-bottom: 6px;
  color: var(--lwd-ink);
  font-weight: 700;
}

.page-id-124597 .lwd-newsletter-form input:not(.lwd-newsletter-honeypot) {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--lwd-line);
  border-radius: 4px;
  outline: none;
  background: #fff;
  color: var(--lwd-ink);
  box-shadow: none;
}

.page-id-124597 .lwd-newsletter-form input:not(.lwd-newsletter-honeypot):focus {
  border-color: var(--lwd-red);
  box-shadow: 0 0 0 2px rgba(237, 22, 70, .15);
}

.page-id-124597 .lwd-newsletter-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
}

.page-id-124597 .lwd-newsletter-form .h-captcha {
  margin: 4px 0 18px;
}

/* Opbouw informatiepagina's */
:is(.page-id-124604, .page-id-124586, .page-id-124584, .page-id-124595, .page-id-124590, .page-id-124597) article.page .entry-content > h2 {
  margin: 0 0 24px;
  font-size: var(--lwd-section-title-size);
}

:is(.page-id-124604, .page-id-124586, .page-id-124584, .page-id-124595, .page-id-124590, .page-id-124597) article.page .entry-content > h3 {
  margin: 38px 0 10px;
  font-size: var(--lwd-subheading-size);
}

:is(.page-id-124604, .page-id-124586, .page-id-124584, .page-id-124595, .page-id-124590, .page-id-124597) article.page .entry-content > :is(p, ul, ol) {
  margin-top: 0;
  margin-bottom: 1.35em;
}

:is(.page-id-124604, .page-id-124586, .page-id-124584, .page-id-124595, .page-id-124590, .page-id-124597) article.page .entry-content > :is(ul, ol) {
  padding-left: 1.25em;
}

/* Voorpagina: compacte tekstlijsten onder de beeldkoppen. */
@media (max-width: 600px) {
  body.home #main .wp-block-query:not(:has(.wp-block-cover)) > .wp-block-post-template {
    box-sizing: border-box;
    padding-right: 14px !important;
    padding-left: 14px !important;
  }

  body.home #main .wp-block-query:not(:has(.wp-block-cover)) > .wp-block-post-template > .wp-block-post {
    margin: 0 0 var(--lwd-home-post-gap) !important;
    padding: 0 !important;
    border: 0 !important;
  }

  body.home #main .wp-block-query:not(:has(.wp-block-cover)) > .wp-block-post-template > .wp-block-post:last-child {
    margin-bottom: 0 !important;
  }

  body.home #main .wp-block-query:not(:has(.wp-block-cover)) .wp-block-post-title {
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  body.home #main .wp-block-query:not(:has(.wp-block-cover)) .wp-block-post-date {
    margin: 0 0 2px !important;
    line-height: 1.35;
  }

  body.home #main .wp-block-query:not(:has(.wp-block-cover)) .wp-block-post-date a:is(:link, :visited, :hover, :focus, :active) {
    color: rgba(0, 0, 0, .75) !important;
  }

}

/* Links en tags onder afzonderlijke artikelen */
body.single-post .lwd-native-prose a:not(.wp-element-button, .wp-block-button__link),
body.single-post .lwd-native-prose a:not(.wp-element-button, .wp-block-button__link):is(:link, :visited, :hover, :focus, :active) {
  color: var(--lwd-ink) !important;
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: .14em;
}

/* Een gekoppelde kop blijft zwart, net als gewone tekstlinks. */
body.single-post .lwd-native-prose :is(h1, h2, h3, h4, h5, h6) a:is(:link, :visited, :hover, :focus, :active),
body.single-post .page-title {
  color: var(--lwd-ink) !important;
}

/* Navigatieknop uit het archief: voorkom rode tekst op de rode knop. */
body.single-post .lwd-native-prose .al-back a:is(:link, :visited, :hover, :focus, :focus-visible, :active) {
  background: var(--lwd-red, #ed1646) !important;
  color: #fff !important;
  text-decoration: none !important;
}

body.single-post .entry-tags-items a:is(:link, :visited) {
  background: transparent !important;
  color: var(--lwd-ink) !important;
}

body.single-post .entry-tags-items a:is(:hover, :focus, :active) {
  background: transparent !important;
  color: var(--lwd-red) !important;
}

/* De twee carrouseladvertenties gebruiken in iedere zijbalk dezelfde verhouding. */
body #sidebar .lwd-home-ad[data-lwd-home-ad-group="sidebar"] {
  box-sizing: border-box;
  width: 90% !important;
  max-width: 90% !important;
  margin-inline: auto !important;
}

body #sidebar .lwd-home-ad[data-lwd-home-ad-group="sidebar"] :is(a, img) {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 600px) {
  body:is(.category, .tag, .search, .single-post) #main > .ct-container {
    row-gap: 24px !important;
  }

  body.home #main > .ct-container {
    row-gap: var(--lwd-home-section-gap) !important;
  }

  body #sidebar .lwd-home-ad[data-lwd-home-ad-group="sidebar"] {
    width: 90% !important;
    max-width: 90% !important;
    margin: 28px auto !important;
  }

  body.single-post .ct-related-posts > .ct-module-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.65 !important;
  }

  body.single-post .related-entry-title,
  body.single-post .related-entry-title a {
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.75 !important;
  }

  body.single-post .entry-tags,
  body.single-post .entry-tags-items {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  body.single-post .entry-tags-items a {
    text-align: left !important;
  }

  body:is(.category,.tag,.search) .lwd-mobile-category-heading {
    display: block;
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 24px;
    padding: 0 0 16px;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
    border-bottom: 1px solid var(--lwd-line);
    text-align: left;
  }

  body:is(.category,.tag,.search) .lwd-mobile-category-heading h1 {
    margin: 0;
    color: var(--lwd-ink);
    font-family: var(--lwd-heading-font);
    font-size: var(--lwd-section-title-size);
    font-weight: var(--lwd-heading-weight);
    line-height: 1.15;
    letter-spacing: var(--lwd-heading-tracking);
  }
}

.lwd-mobile-category-heading {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 690px) {
  body.tag .lwd-mobile-category-heading {
    display: block;
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 24px;
    padding: 0 0 16px;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
    border-bottom: 1px solid var(--lwd-line);
    text-align: left;
  }

  body.tag .lwd-mobile-category-heading h1 {
    margin: 0;
    color: var(--lwd-ink);
    font-family: var(--lwd-heading-font);
    font-size: var(--lwd-section-title-size);
    font-weight: var(--lwd-heading-weight);
    line-height: 1.15;
    letter-spacing: var(--lwd-heading-tracking);
  }
}

/* Structural page titles remain available to parsers and screen readers. */
.lwd-structural-title {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Liwwadders extra maintained overrides. */
:root {
    --lwd-link-blue: var(--theme-palette-color-4, #4099ff);
}

/* Text headlines on the homepage. Cover-image headlines remain white below. */
body.home.wp-singular #main.site-main .wp-block-query .wp-block-post-title a:link,
body.home.wp-singular #main.site-main .wp-block-query .wp-block-post-title a:visited,
body .lwd-sidebar-latest-posts a:link,
body .lwd-sidebar-latest-posts a:visited,
body:is(.category, .tag, .search, .date, .author, .post-type-archive) #main .entry-title a:link,
body:is(.category, .tag, .search, .date, .author, .post-type-archive) #main .entry-title a:visited,
.al-archive .al-results a:link,
.al-archive .al-results a:visited,
body.single-post .ct-related-posts .related-entry-title a:link,
body.single-post .ct-related-posts .related-entry-title a:visited {
    color: var(--lwd-link-blue) !important;
}

body.single-post .entry-tags-items a:is(:link, :visited, :hover, :focus, :active) {
    color: var(--lwd-link-blue) !important;
}

body.liw-standard-blue-page-links .entry-content a:not(.wp-element-button):not(.wp-block-button__link):not(.lwd-promo-card-link):is(:link, :visited, :hover, :focus, :focus-visible, :active) {
    color: var(--lwd-link-blue) !important;
}

body.home.wp-singular #main.site-main .wp-block-query .wp-block-cover .wp-block-post-title a:link,
body.home.wp-singular #main.site-main .wp-block-query .wp-block-cover .wp-block-post-title a:visited {
    color: #fff !important;
}

body.single-post .ct-related-posts .ct-module-title {
    color: #000;
}

/* Keep the related-article list compact on every screen size. */
body.single-post .ct-related-posts-items {
    gap: 8px !important;
    row-gap: 8px !important;
}

/* Homepage text cards copy the dossier list typography and rhythm. */
body.home #main .wp-block-query:not(:has(.wp-block-cover)) > .wp-block-post-template > .wp-block-post {
    margin: 0 0 var(--lwd-home-post-gap) !important;
    padding: 0 !important;
    border: 0 !important;
}

body.home #main .wp-block-query:not(:has(.wp-block-cover)) > .wp-block-post-template > .wp-block-post:last-child {
    margin-bottom: 0 !important;
}

body.home #main .wp-block-query:not(:has(.wp-block-cover)) .wp-block-post-title {
    margin: 0 !important;
    font-size: calc(var(--lwd-card-title-size) - 4px) !important;
    line-height: 1.25 !important;
}

body.home #main .wp-block-query:not(:has(.wp-block-cover)) .wp-block-post-date {
    margin: 0 0 2px !important;
    font-family: var(--lwd-body-font) !important;
    font-size: var(--lwd-meta-size) !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    color: var(--lwd-list-date-color) !important;
    opacity: 1;
}

body.home #main .wp-block-query:not(:has(.wp-block-cover)) .wp-block-post-date :is(a, time) {
    color: var(--lwd-list-date-color) !important;
    opacity: 1 !important;
}

@media (max-width: 689.98px) {
    body.home #main .wp-block-query:not(:has(.wp-block-cover)) .wp-block-post-title {
        font-size: calc(var(--lwd-card-title-size) - 2px) !important;
        line-height: 1.35 !important;
    }
}

body:is(.category, .tag, .search, .date, .author, .post-type-archive) #main .entry-card {
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body:is(.category, .tag, .search, .date, .author, .post-type-archive) #main .entry-card .card-content {
    padding: 0 !important;
}

.lwd-category-excerpt-date {
    color: #000 !important;
    font: inherit !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.lwd-category-excerpt-separator {
    display: inline-block;
    margin-inline: 0.38em;
    color: #000;
    font: inherit;
}

body.single-post .meta-date {
    display: block !important;
}

body.single-post .meta-date > .lwd-meta-separator {
    display: inline-block;
    margin-inline: 0.38em !important;
}

body.single-post .meta-date > .lwd-post-attribution,
body.single-post .meta-date > .lwd-post-photo-attribution,
body.single-post .meta-date > .lwd-post-categories {
    display: inline;
    margin: 0 !important;
    padding: 0 !important;
}

body.single-post .meta-date :is(.lwd-post-attribution, .lwd-post-photo-attribution) > .liw-attribution-value {
    margin-inline-start: 0;
}

body.single-post .ct-share-box[data-location="bottom"] {
    margin-top: 12px !important;
    margin-bottom: 24px !important;
}

@media (max-width: 600px) {
    body.single-post .lwd-post-ad-caption {
        display: block !important;
        position: static !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 5px auto 0 !important;
        color: var(--theme-palette-color-5, #a4a4a4) !important;
        font-size: 12px !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }
}

/* Preserve Spectra/UAG responsive visibility after the block plugin is disabled. */
@media (min-width: 1025px) {
    .uag-hide-desktop {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .uag-hide-tab {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .uag-hide-mob {
        display: none !important;
    }
}

@media (max-width: 689.98px) {
    .lwd-home-ad {
        width: calc(100% - 28px) !important;
        max-width: calc(100% - 28px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body #sidebar :is(
      .lwd-sidebar-ad-wrap,
      .lwd-regiolinks-banner,
      .lwd-sidebar-newsletter,
      .lwd-sidebar-subscription:not(.lwd-sidebar-latest-posts),
      .lwd-sidebar-switch-ad,
      .lwd-post-donation
    ) {
        width: calc(100% - 18px) !important;
        max-width: calc(100% - 18px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Match sidebar advertisements to the 14px-inset homepage headline width. */
    body #sidebar .lwd-home-ad[data-lwd-home-ad-group="sidebar"] {
        width: calc(100% - 18px) !important;
        max-width: calc(100% - 18px) !important;
    }
}

/* Eén vast paginaritme, onafhankelijk van oude thema- en blokmarges. */
body #header {
  margin-bottom: 0 !important;
}

body #main > .ct-container {
  padding-top: var(--lwd-home-start-gap) !important;
}

body.home #main > .ct-container,
body.lwd-dossier-page #main > .ct-container {
  row-gap: var(--lwd-home-section-gap) !important;
}

body #sidebar .ct-sidebar {
  margin-top: 0 !important;
}

body #sidebar .ct-sidebar > .ct-widget {
  margin: 0 0 var(--lwd-sidebar-gap) !important;
}

body #sidebar .ct-sidebar > .ct-widget:last-child {
  margin-bottom: 0 !important;
}

body #sidebar .ct-widget > :is(
  .lwd-sidebar-ad-wrap,
  .lwd-sidebar-promo,
  .lwd-home-ad,
  .lwd-banner-combination,
  .lwd-regiolinks-banner
) {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body #sidebar .ct-widget > p:empty {
  display: none !important;
}

/* Alle advertentie- en promotiebanners gebruiken dezelfde buitenbreedte in de zijbalk. */
body #sidebar :is(
  .lwd-sidebar-ad-wrap,
  .lwd-regiolinks-banner,
  .lwd-sidebar-newsletter,
  .lwd-sidebar-subscription:not(.lwd-sidebar-latest-posts),
  .lwd-sidebar-switch-ad
) {
    box-sizing: border-box;
    width: 90% !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Geneste inhoud vult eenmaal de 90%-container; voorkom een onbedoelde breedte van 81%. */
body #sidebar .lwd-sidebar-ad-wrap > .lwd-sidebar-pel {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

@media (max-width: 689.98px) {
  body #sidebar :is(
    .lwd-sidebar-ad-wrap,
    .lwd-regiolinks-banner,
    .lwd-sidebar-newsletter,
    .lwd-sidebar-subscription:not(.lwd-sidebar-latest-posts),
    .lwd-sidebar-switch-ad,
    .lwd-post-donation
  ) {
    width: calc(100% - 18px) !important;
    max-width: calc(100% - 18px) !important;
  }

  body #sidebar .lwd-home-ad[data-lwd-home-ad-group="sidebar"] {
    width: calc(100% - 18px) !important;
    max-width: calc(100% - 18px) !important;
  }
}

/* Liwwadders forum: deliberately plain and theme-independent. */
body.liw-forum-page #main .ct-container > article,
body.liw-forum-page #main article > .entry-content,
body.liw-forum-page #main .liw-forum {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
}

.liw-forum {
    --liw-forum-border: #d8d8d8;
    --liw-forum-muted: #666;
    width: 100%;
    max-width: none;
    margin-inline: auto;
    color: #000;
    font-family: var(--lwd-body-font, Arial, Helvetica, sans-serif);
    font-size: var(--lwd-body-size, 17px);
    line-height: var(--lwd-body-leading, 1.75);
}

.liw-forum :is(h2, h3, p) {
    letter-spacing: 0;
}

.liw-forum :is(h2, h3) {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: 700 !important;
}

.liw-forum :is(button, input, textarea, select, summary) {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.liw-forum-heading,
.liw-forum-topic-header {
    margin-block-end: 28px;
    border-bottom: 2px solid var(--paletteColor1, #e30613);
}

.liw-forum-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px 8px;
    margin: 0 0 20px;
    color: #000;
    font: inherit;
}

.liw-forum-breadcrumb a {
    font-weight: 600;
}

.liw-forum-breadcrumb-description {
    color: var(--liw-forum-muted);
}

.liw-forum-heading h2,
.liw-forum-topic-header h2 {
    margin: 0 0 10px;
}

.liw-forum-topic {
    padding: 18px 0;
}

.liw-forum-topic:first-child {
    padding-top: 0;
}

.liw-forum-topic h3 {
    margin: 0;
}

.liw-forum a,
.liw-forum button {
    color: var(--paletteColor4, #125ea8);
}

.liw-forum-topic-description > :last-child,
.liw-forum-topic-header > div > :last-child {
    margin-bottom: 0;
}

.liw-forum-count,
.liw-forum-admin-link,
.liw-forum-back,
.liw-forum-form-note {
    color: var(--liw-forum-muted);
}

.liw-forum-message {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 12px 0;
}

.liw-forum-message.liw-forum-reply {
    margin-left: 46px;
}

.liw-forum-avatar {
    --liw-forum-marker: #1f6fb2;
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.18);
    background-color: var(--liw-forum-marker);
}

.liw-forum-color-blue { --liw-forum-marker: #1f6fb2; }
.liw-forum-color-red { --liw-forum-marker: #d92d20; }
.liw-forum-color-green { --liw-forum-marker: #218739; }
.liw-forum-color-yellow { --liw-forum-marker: #f2c94c; }
.liw-forum-color-purple { --liw-forum-marker: #7656a8; }
.liw-forum-color-gray { --liw-forum-marker: #737373; }

.liw-forum-pattern-stripes {
    background-color: var(--liw-forum-marker);
    background-image: repeating-linear-gradient(135deg, transparent 0 6px, rgba(255,255,255,.5) 6px 10px);
}

.liw-forum-pattern-dots {
    background-color: var(--liw-forum-marker);
    background-image: radial-gradient(rgba(255,255,255,.72) 1.5px, transparent 1.5px);
    background-size: 8px 8px;
}

.liw-forum-pattern-grid {
    background-color: var(--liw-forum-marker);
    background-image: linear-gradient(rgba(255,255,255,.45) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.45) 1px, transparent 1px);
    background-size: 9px 9px;
}

.liw-forum-message-body header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px 12px;
    margin-bottom: 6px;
}

.liw-forum-message-body time {
    color: var(--liw-forum-muted);
}

.liw-forum-text {
    overflow-wrap: anywhere;
    line-height: inherit;
}

.liw-forum-message footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    margin-top: 8px;
}

.liw-forum-trash-form {
    display: inline;
    margin: 0;
}

.liw-forum-trash-form button {
    appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.liw-forum-form-wrap {
    margin-top: 34px;
    padding: 18px;
    border: 1px solid #666;
    background: #f2f2f2;
}

.liw-forum-form-wrap h3 {
    margin: 0 0 18px;
}

.liw-forum-identity-panel {
    margin: 0 0 14px;
}

.liw-forum-identity-panel summary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #000;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

.liw-forum-identity-panel summary::-webkit-details-marker {
    display: none;
}

.liw-forum-identity-panel summary:focus-visible {
    outline: 2px solid #000;
    outline-offset: 4px;
}

.liw-forum-avatar.liw-forum-form-avatar {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    flex: 0 0 30px;
    aspect-ratio: 1 / 1;
    border-radius: 50% !important;
}

.liw-forum-identity-panel[open] summary {
    margin-bottom: 14px;
}

.liw-forum-profile-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px 18px;
    margin-block: 0 20px;
}

.liw-forum-name-field {
    flex: 0 1 280px;
    width: min(100%, 280px);
    margin: 0 !important;
}

.liw-forum-identity-fields {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    margin: 0 0 11px;
}

.liw-forum-options {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.liw-forum-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.liw-forum-options > div {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
}

.liw-forum-form .liw-forum-options label {
    position: relative;
    display: inline-block;
    margin: 0;
    font-weight: 400;
    line-height: 0;
    cursor: pointer;
}

.liw-forum-choice-plus {
    flex: 0 0 auto;
    color: #000;
    font-weight: 900;
}

.liw-forum-choice-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.liw-forum-choice-input:focus-visible + .liw-forum-option-preview {
    outline: 3px solid var(--paletteColor4, #125ea8);
    outline-offset: 3px;
}

.liw-forum-choice-input:checked + .liw-forum-option-preview {
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px #000;
}

.liw-forum-option-preview {
    display: inline-block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border: 1px solid rgba(0, 0, 0, 0.22);
    border-radius: 50%;
    background-color: var(--liw-forum-marker);
}

.liw-forum-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.liw-forum-form label span {
    color: var(--liw-forum-muted);
    font-weight: 400;
}

.liw-forum-form :is(input[type="text"], input[type="url"], textarea) {
    width: 100%;
    border: 1px solid #666;
    border-radius: 2px;
    background: #fff;
    color: #000;
    font: inherit;
}

.liw-forum-form :is(input[type="text"], input[type="url"], textarea):focus {
    border-color: #000;
    outline: 1px solid #000;
    outline-offset: 0;
}

.liw-forum-form :is(input[type="text"], input[type="url"]) {
    min-height: 44px;
    padding: 8px 10px;
}

.liw-forum-form textarea {
    min-height: 150px;
    padding: 10px;
    resize: vertical;
}

.liw-forum-content-field {
    margin: 0 0 10px;
}

.liw-forum-form > button,
.liw-forum-form > button:hover,
.liw-forum-form > button:active,
.liw-forum-form > button:focus {
    min-height: 44px;
    padding: 9px 16px;
    border: 0;
    border-radius: 2px;
    background: var(--paletteColor1, #e30613) !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    cursor: pointer;
}

.liw-forum-edit-form {
    margin-top: 8px;
}

.liw-forum-edit-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.liw-forum-edit-actions button,
.liw-forum-edit-actions button:hover,
.liw-forum-edit-actions button:active,
.liw-forum-edit-actions button:focus {
    min-height: 40px;
    padding: 7px 13px;
    border: 0;
    border-radius: 2px;
    background: var(--paletteColor1, #e30613) !important;
    color: #fff !important;
    font-weight: 700;
    box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    cursor: pointer;
}

.liw-forum-hp {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.liw-forum-notice {
    margin-bottom: 20px;
    padding: 12px 14px;
    border-left: 4px solid #15803d;
    background: #f1f7f3;
}

.liw-forum-notice-error {
    border-left-color: #b91c1c;
    background: #fff3f3;
}

.liw-forum-pagination {
    margin-top: 24px;
}

/*
 * Static WordPress sidebar blocks used as an emergency fallback. The plugin
 * stylesheet disappears when Liwwadders Extra is disabled, revealing them.
 */
#sidebar .liw-slot-sidebar-hide {
    display: none !important;
}

@media (max-width: 600px) {
    .liw-forum-message {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 10px;
    }

    .liw-forum-avatar {
        width: 40px;
        height: 40px;
    }

    .liw-forum-message.liw-forum-reply {
        margin-left: 20px;
    }

    .liw-forum-identity-fields {
        gap: 7px;
    }
}

/* Externe media: standaard privacyvriendelijk en pas laden na een keuze. */
.lwd-external-media {
    box-sizing: border-box;
    width: 100%;
    min-height: 180px;
    margin: 1.25rem 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #b9b9b9;
    border-radius: 6px;
    background: #f3f3f3;
    color: #242124;
    text-align: center;
}

.lwd-external-media--donorbox { min-height: 240px; }
.lwd-external-media p { margin: 0; }
.lwd-external-media-title { font-size: 1.05em; }
.lwd-external-media-actions,
.lwd-privacy-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.lwd-external-media button,
.lwd-privacy-dialog button {
    min-height: 42px;
    padding: 9px 15px;
    border: 1px solid var(--theme-palette-color-4, #2474b5);
    border-radius: 4px;
    background: var(--theme-palette-color-4, #2474b5);
    color: #fff;
    font: 600 15px/1.2 var(--lwd-body-font);
    cursor: pointer;
}

.lwd-external-media button:hover,
.lwd-external-media button:focus-visible,
.lwd-privacy-dialog button:hover,
.lwd-privacy-dialog button:focus-visible {
    background: #fff;
    color: var(--theme-palette-color-4, #2474b5);
}

.lwd-external-media .lwd-external-media-remember,
.lwd-privacy-dialog .lwd-privacy-secondary {
    border-color: #555;
    background: #fff;
    color: #242124;
}

.lwd-external-media.is-loaded {
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
}

.lwd-external-media.is-loaded iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
}

.lwd-footer-privacy {
    width: 100%;
    padding: 6px 12px 14px;
    text-align: center;
}

.lwd-privacy-open {
    padding: 2px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

#footer .lwd-privacy-open,
#footer .lwd-privacy-open:hover,
#footer .lwd-privacy-open:focus,
#footer .lwd-privacy-open:active {
    color: #fff;
}

.lwd-privacy-dialog {
    width: min(520px, calc(100% - 32px));
    max-width: 520px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    color: #242124;
    font-family: var(--lwd-body-font);
    box-shadow: 0 14px 45px rgba(0, 0, 0, .28);
}

.lwd-privacy-dialog::backdrop { background: rgba(0, 0, 0, .62); }
.lwd-privacy-dialog form { position: relative; padding: 26px; }
.lwd-privacy-dialog h2 { margin: 0 42px 18px 0; font: 600 26px/1.2 var(--lwd-heading-font); }
.lwd-privacy-dialog h3 { margin: 0 0 8px; font: 700 18px/1.3 var(--lwd-body-font); }
.lwd-privacy-dialog p { margin: 0 0 14px; }
.lwd-privacy-dialog a { color: var(--theme-palette-color-4, #2474b5); }
.lwd-privacy-dialog .lwd-privacy-close {
    position: absolute;
    top: 12px;
    right: 12px;
    min-width: 40px;
    width: 40px;
    padding: 4px;
    font-size: 26px;
}
.lwd-privacy-status { font-weight: 700; }
.lwd-hcaptcha-loading { color: #555; font-size: 14px; }

@media (max-width: 600px) {
    .lwd-external-media { padding: 20px 14px; }
    .lwd-external-media-actions,
    .lwd-privacy-actions { flex-direction: column; width: 100%; }
    .lwd-external-media button,
    .lwd-privacy-dialog button:not(.lwd-privacy-close) { width: 100%; }
    .lwd-privacy-dialog form { padding: 22px 18px; }
}
