/* BEM Layout Fix: Zorg dat het grid uitsluitend 'cards' pakt als grid-items */
.vi-section-recent .views-view-unformatted,
.path-taxonomy .views-view-unformatted {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: stretch;
}

/* Verwijder contextual wrappers uit de grid-berekening via CSS Grid placement */
.contextual,
[data-contextual-id] {
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  pointer-events: auto;
}

:root {
  --vi-color-primary: #4a1525;
  --vi-color-primary-dark: #350e1a;
  --vi-color-gold: #e6a12c;
  --vi-color-gold-hover: #d49122;
  --vi-color-text: #1a1a1a;
  --vi-color-muted: #666666;
  --vi-color-border: #e5e0d8;
  --vi-color-bg: #faf9f6;
  --vi-font-serif: "Georgia", "Times New Roman", serif;
  --vi-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--vi-font-sans);
  color: var(--vi-color-text);
  background-color: var(--vi-color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.vi-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.vi-header {
  background-color: #ffffff;
  border-top: 3px solid var(--vi-color-primary);
  border-bottom: 1px solid var(--vi-color-border);
  padding: 1.35rem 0 1.25rem 0;
  width: 100%;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.vi-header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.vi-header__brand,
.vi-header .site-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  font-size: 0;
}

.vi-header__brand-link,
.vi-header .site-logo,
.vi-header__brand a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  margin: 0 auto;
  font-size: 0;
  line-height: 0;
  color: transparent;
}

.vi-header__brand-link > *:not(img):not(svg),
.vi-header .site-logo > *:not(img):not(svg),
.vi-header__brand a > *:not(img):not(svg),
.vi-header .vi-header__title,
.vi-header .site-branding__name,
.vi-header .site-name,
.vi-header__brand-text {
  display: none;
}

.vi-header img,
.vi-header svg,
.vi-header__logo-img {
  height: 95px;
  max-height: 95px;
  width: auto;
  display: block;
  flex-shrink: 0;
  margin: 0 auto;
  filter: drop-shadow(0 2px 6px rgba(74, 21, 37, 0.08));
}

.vi-header .vi-header__slogan,
.vi-header .site-branding__slogan,
.vi-header .site-slogan,
.vi-header [class*="slogan"] {
  display: block;
  font-family: var(--vi-font-serif);
  font-style: italic;
  color: var(--vi-color-muted);
  font-size: 0.96rem;
  line-height: 1.4;
  margin: 0.45rem 0 0 0;
  text-align: center;
  white-space: nowrap;
  width: 100%;
}

.vi-header__mobile-toggle {
  display: none;
}

/* ==========================================================================
   NAVIGATIE & DROPDOWN
   ========================================================================== */
.vi-header .vi-header__nav {
  display: flex;
  align-items: center;
}

.vi-header .vi-menu,
.vi-header .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.vi-header .vi-menu__item,
.vi-header .vi-menu > li,
.vi-header .menu-item {
  position: relative;
  display: flex;
  align-items: center;
}

.vi-header .vi-menu__link,
.vi-header .vi-menu > li > a,
.vi-header .menu-item > a {
  font-family: var(--vi-font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vi-color-text);
  padding: 0.75rem 0;
  position: relative;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
  display: inline-block;
}

.vi-header .vi-menu__link:hover,
.vi-header .vi-menu > li > a:hover,
.vi-header .menu-item > a:hover,
.vi-header .vi-menu__link.is-active {
  color: var(--vi-color-primary);
}

.vi-header .vi-menu__link::after,
.vi-header .vi-menu > li > a::after,
.vi-header .menu-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--vi-color-gold);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.vi-header .vi-menu__link:hover::after,
.vi-header .vi-menu > li > a:hover::after,
.vi-header .menu-item > a:hover::after,
.vi-header .vi-menu__link.is-active::after {
  width: 100%;
}

/* Dropdown submenu */
.vi-header .vi-menu ul,
.vi-header .vi-menu__submenu,
.vi-header .menu-item ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 320px;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  border: 1px solid var(--vi-color-border);
  border-top: 3px solid var(--vi-color-primary);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 12px 32px rgba(74, 21, 37, 0.15);
  z-index: 1000;
}

.vi-header .menu-item--expanded::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 15px;
  display: none;
}

.vi-header .menu-item--expanded:hover::after {
  display: block;
}

.vi-header .vi-menu li:hover > ul,
.vi-header .vi-menu__item:hover > .vi-menu__submenu,
.vi-header .menu-item:hover > ul {
  display: flex;
  flex-direction: column;
}

.vi-header .vi-menu ul li,
.vi-header .vi-menu__submenu li,
.vi-header .menu-item ul li {
  width: 100%;
  display: block;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #f6f3ee;
}

.vi-header .vi-menu ul li:last-child,
.vi-header .vi-menu__submenu li:last-child,
.vi-header .menu-item ul li:last-child {
  border-bottom: none;
}

.vi-header .vi-menu ul li a,
.vi-header .vi-menu__submenu li a,
.vi-header .menu-item ul li a {
  display: block;
  padding: 0.75rem 1.35rem;
  font-family: var(--vi-font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vi-color-text);
  text-decoration: none;
  white-space: normal;
  line-height: 1.35;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.vi-header .vi-menu ul li a:hover,
.vi-header .vi-menu__submenu li a:hover,
.vi-header .menu-item ul li a:hover {
  background-color: #faf6f4;
  color: var(--vi-color-primary);
}

.vi-header .vi-menu ul li a::after,
.vi-header .vi-menu__submenu li a::after,
.vi-header .menu-item ul li a::after {
  display: none;
}

/* LOGIN BUTTON */
.vi-header .vi-menu__btn,
.vi-header .vi-menu a[href*="login"],
.vi-header .vi-menu a[href*="user"],
.vi-header .menu a[href*="login"],
.vi-header .menu a[href*="user"],
.vi-header .vi-menu > .vi-menu__item:last-child > a,
.vi-header .vi-menu > li:last-child > a,
.vi-header .menu > li:last-child > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.7rem;
  margin-left: 0.75rem;
  border: 1.5px solid var(--vi-color-gold);
  border-radius: 4px;
  background-color: var(--vi-color-primary);
  color: #ffffff;
  font-family: var(--vi-font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(74, 21, 37, 0.25);
  transition: all 0.22s ease-in-out;
}

.vi-header .vi-menu__btn::after,
.vi-header a[href*="login"]::after,
.vi-header a[href*="user"]::after {
  display: none;
}

.vi-header .vi-menu__btn:hover,
.vi-header a[href*="login"]:hover,
.vi-header a[href*="user"]:hover {
  background-color: var(--vi-color-gold);
  border-color: var(--vi-color-gold);
  color: #ffffff;
  box-shadow: 0 5px 16px rgba(230, 161, 44, 0.38);
  transform: translateY(-1px);
}

@media (max-width: 860px) {
  .vi-header__container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .vi-header__brand,
  .vi-header .site-branding {
    align-items: center;
    text-align: center;
  }

  .vi-header img,
  .vi-header svg,
  .vi-header__logo-img {
    height: 75px;
    max-height: 75px;
  }

  .vi-header .vi-header__slogan,
  .vi-header .site-branding__slogan,
  .vi-header .site-slogan {
    white-space: normal;
    font-size: 0.88rem;
  }

  .vi-header__mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1.5px solid var(--vi-color-primary);
    color: var(--vi-color-primary);
    padding: 0.5rem 1.6rem;
    border-radius: 4px;
    font-family: var(--vi-font-sans);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    margin: 0 auto;
    box-shadow: 0 2px 6px rgba(74, 21, 37, 0.08);
  }

  .vi-header .vi-header__nav {
    display: none;
    width: 100%;
    max-width: 310px;
    margin: 0.5rem auto 0 auto;
    padding: 0;
  }

  .vi-header .vi-header__nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .vi-header .vi-menu,
  .vi-header .menu {
    flex-direction: column;
    width: 100%;
    gap: 0;
    background-color: #ffffff;
    border: 1px solid var(--vi-color-border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(74, 21, 37, 0.09);
    overflow: hidden;
    padding: 0.35rem 0;
    margin: 0;
  }

  .vi-header .vi-menu__item,
  .vi-header .vi-menu > li,
  .vi-header .menu-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid #f2eee8;
  }

  .vi-header .vi-menu__item:last-child,
  .vi-header .menu-item:last-child {
    border-bottom: none;
  }

  .vi-header .vi-menu__link,
  .vi-header .menu-item > a {
    width: 100%;
    padding: 0.8rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
  }

  .vi-header .vi-menu__link::after,
  .vi-header .menu-item > a::after {
    display: none;
  }

  .vi-header .vi-menu__link.is-active,
  .vi-header .menu-item > a.is-active {
    color: var(--vi-color-primary);
    background-color: #faf6f4;
    font-weight: 800;
  }

  .vi-header .vi-menu ul,
  .vi-header .vi-menu__submenu,
  .vi-header .menu-item ul {
    position: static;
    box-shadow: none;
    border: none;
    border-top: 1px solid #f2eee8;
    background-color: #fdfbf9;
    width: 100%;
    min-width: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .vi-header .vi-menu ul li a,
  .vi-header .menu-item ul li a {
    padding: 0.6rem 1rem;
    font-size: 0.78rem;
    text-align: center;
    color: var(--vi-color-muted);
  }

  .vi-header .vi-menu__btn,
  .vi-header a[href*="login"],
  .vi-header a[href*="user"] {
    margin: 0.65rem auto;
    width: 85%;
    padding: 0.65rem 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   GRID LAYOUTS
   ========================================================================== */
.vi-main {
  padding-top: 1.75rem;
  padding-bottom: 3.5rem;
}

.vi-section {
  margin-bottom: 2.75rem;
}

.vi-grid-70-30 {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .vi-grid-70-30 {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: stretch;
  }
}

/* ==========================================================================
   SECTIE 1: BLIKVANGER & AUTEURSKAART
   ========================================================================== */
@media (min-width: 900px) {
  .vi-section:not(.vi-section-stream):not(.vi-section-third):not(.vi-section-recent):not(.vi-section-themes) .vi-grid__main,
  .vi-section:not(.vi-section-stream):not(.vi-section-third):not(.vi-section-recent):not(.vi-section-themes) .vi-grid__sidebar,
  .vi-section:not(.vi-section-stream):not(.vi-section-third):not(.vi-section-recent):not(.vi-section-themes) .vi-grid__main > div,
  .vi-section:not(.vi-section-stream):not(.vi-section-third):not(.vi-section-recent):not(.vi-section-themes) .vi-grid__main .vi-region-inner,
  .vi-section:not(.vi-section-stream):not(.vi-section-third):not(.vi-section-recent):not(.vi-section-themes) .vi-grid__main .region-inner,
  .vi-section:not(.vi-section-stream):not(.vi-section-third):not(.vi-section-recent):not(.vi-section-themes) .vi-grid__main [class*="region"],
  .vi-section:not(.vi-section-stream):not(.vi-section-third):not(.vi-section-recent):not(.vi-section-themes) .vi-grid__main [class*="block"],
  .vi-section:not(.vi-section-stream):not(.vi-section-third):not(.vi-section-recent):not(.vi-section-themes) .vi-grid__main .vi-blikvanger-wrapper,
  .vi-section:not(.vi-section-stream):not(.vi-section-third):not(.vi-section-recent):not(.vi-section-themes) .vi-grid__main .views-row,
  .vi-section:not(.vi-section-stream):not(.vi-section-third):not(.vi-section-recent):not(.vi-section-themes) .vi-grid__sidebar > div,
  .vi-section:not(.vi-section-stream):not(.vi-section-third):not(.vi-section-recent):not(.vi-section-themes) .vi-grid__sidebar .vi-region-inner,
  .vi-section:not(.vi-section-stream):not(.vi-section-third):not(.vi-section-recent):not(.vi-section-themes) .vi-grid__sidebar .region-inner,
  .vi-section:not(.vi-section-stream):not(.vi-section-third):not(.vi-section-recent):not(.vi-section-themes) .vi-grid__sidebar [class*="region"],
  .vi-section:not(.vi-section-stream):not(.vi-section-third):not(.vi-section-recent):not(.vi-section-themes) .vi-grid__sidebar [class*="block"] {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
  }
}

.vi-blikvanger-card {
  background: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

@media (min-width: 900px) {
  .vi-blikvanger-card {
    height: 100%;
    flex: 1 1 auto;
  }
}

.vi-blikvanger-card__top {
  display: grid;
  grid-template-columns: 55% 45%;
  width: 100%;
  flex-shrink: 0;
}

@media (max-width: 680px) {
  .vi-blikvanger-card__top {
    grid-template-columns: 1fr;
  }
}

.vi-blikvanger-card__media {
  width: 100%;
  height: 100%;
  min-height: 230px;
  overflow: hidden;
  background-color: var(--vi-color-border);
}

.vi-blikvanger-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vi-blikvanger-card__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vi-blikvanger-card__badge {
  display: inline-block;
  background-color: #f4ecee;
  color: var(--vi-color-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  align-self: flex-start;
  letter-spacing: 0.5px;
}

.vi-blikvanger-card__title {
  font-family: var(--vi-font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0.6rem 0 0.3rem 0;
  line-height: 1.25;
}

.vi-blikvanger-card__title a:hover {
  color: var(--vi-color-primary);
}

.vi-blikvanger-card__meta {
  font-size: 0.85rem;
  color: var(--vi-color-muted);
}

.vi-blikvanger-card__bottom {
  padding: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #333333;
  border-top: 1px solid var(--vi-color-border);
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (min-width: 900px) {
  .vi-blikvanger-card__bottom {
    flex: 1 1 auto;
  }
}

.vi-blikvanger-card__bottom p {
  margin: 0 0 1.25rem 0;
}

.vi-blikvanger-card__bottom a {
  align-self: flex-start;
  font-weight: 600;
  color: var(--vi-color-primary);
}

.vi-profile-card,
[class*="block-content-profielblok-hans-bugel"] {
  background-color: var(--vi-color-primary);
  border: 1px solid var(--vi-color-primary);
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 16px rgba(74, 21, 37, 0.18);
}

@media (min-width: 900px) {
  .vi-profile-card,
  [class*="block-content-profielblok-hans-bugel"] {
    height: 100%;
    flex: 1 1 auto;
  }
}

.vi-profile-card__top,
.vi-grid__sidebar [class*="field--name-field-foto"],
.vi-grid__sidebar [class*="field--name-field-image"] {
  width: 100%;
  padding: 2.25rem 1.5rem 1rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  flex-shrink: 0;
}

.vi-profile-card__avatar-wrapper {
  width: 135px;
  height: 135px;
  border-radius: 50%;
  border: 3px solid var(--vi-color-gold);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  flex-shrink: 0;
  background-color: #ffffff;
}

.vi-profile-card__avatar-wrapper > div {
  width: 100%;
  height: 100%;
}

.vi-profile-card img,
.vi-grid__sidebar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}

.vi-profile-card__bottom {
  background: transparent;
  color: #ffffff;
  padding: 0 1.75rem 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

@media (min-width: 900px) {
  .vi-profile-card__bottom {
    flex: 1 1 auto;
  }
}

.vi-profile-card__name {
  font-family: var(--vi-font-serif);
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.01em;
}

.vi-profile-card__bio p {
  color: #f0e6e8;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0 0 1.25rem 0;
}

.vi-profile-card__btn {
  display: inline-block;
  background-color: var(--vi-color-gold);
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border-radius: 4px;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  margin-top: auto;
}

.vi-profile-card__btn:hover {
  background-color: var(--vi-color-gold-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   SECTIE 2: GELIJKE HOOGTE OP DESKTOP (>=900px)
   ========================================================================== */
@media (min-width: 900px) {
  .vi-section-stream .vi-grid__main,
  .vi-section-stream .vi-grid__sidebar {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
  }

  .vi-section-stream .vi-grid__main,
  .vi-section-stream .vi-grid__main > div,
  .vi-section-stream .vi-grid__main > div > div,
  .vi-section-stream .vi-grid__main > div > div > div,
  .vi-section-stream .vi-grid__main > div > div > div > div,
  .vi-section-stream .vi-grid__main > div > div > div > div > div,
  .vi-section-stream .vi-grid__main > div > div > div > div > div > div {
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1 1 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .vi-stream-card {
    height: 100%;
    min-height: 100%;
    flex: 1 1 100%;
    grid-template-columns: 280px 1fr;
    grid-template-rows: 1fr;
  }

  .vi-section-stream .vi-card-most-read {
    height: 100%;
    min-height: 100%;
    flex: 1 1 auto;
    justify-content: space-between;
  }
}

/* ==========================================================================
   SECTIE 2 LINKS: ARTIKELENSTROOM (.vi-stream-card)
   ========================================================================== */
.vi-stream-card {
  background-color: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: stretch;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  width: 100%;
  box-sizing: border-box;
}

.vi-stream-card:hover {
  transform: translateY(-2px);
  border-color: #d8d0c4;
  box-shadow: 0 6px 20px rgba(74, 21, 37, 0.08);
}

.vi-stream-card__media {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--vi-color-border);
}

.vi-stream-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.vi-stream-card:hover .vi-stream-card__media img {
  transform: scale(1.03);
}

.vi-stream-card__content {
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.vi-stream-card__badge {
  display: inline-flex;
  align-items: center;
  background-color: #f4ecee;
  color: var(--vi-color-primary);
  font-family: var(--vi-font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  margin: 0 0 0.8rem 0;
}

.vi-stream-card__badge a {
  color: inherit;
  text-decoration: none;
}

.vi-stream-card__title {
  font-family: var(--vi-font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--vi-color-text);
  margin: 0 0 0.65rem 0;
}

.vi-stream-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.vi-stream-card__title a:hover {
  color: var(--vi-color-primary);
}

.vi-stream-card__meta {
  font-size: 0.88rem;
  color: var(--vi-color-muted);
  line-height: 1.4;
  margin: 0;
}

.vi-stream-card__sep {
  margin: 0 0.45rem;
  color: #aaa;
}

.vi-stream-card__author a {
  color: inherit;
  text-decoration: none;
}

.vi-stream-card__author a:hover {
  color: var(--vi-color-primary);
}

.vi-stream-card__action a {
  align-self: flex-start;
  font-family: var(--vi-font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--vi-color-primary);
  text-decoration: none;
  margin-top: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   SECTIE 2 RECHTS: MEEST GELEZEN
   ========================================================================== */
.vi-section-stream .vi-grid__sidebar,
.vi-section-stream .vi-grid__sidebar > div {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.vi-section-stream .vi-card-most-read {
  background-color: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-radius: 8px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.vi-section-stream .vi-card-most-read .bender-hoofdtitel,
.vi-section-stream .vi-card-most-read h2 {
  font-family: var(--vi-font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vi-color-primary);
  margin: 0 0 0.85rem 0;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--vi-color-primary);
  position: relative;
  display: block;
}

.vi-section-stream .vi-card-most-read .bender-hoofdtitel::after,
.vi-section-stream .vi-card-most-read h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--vi-color-gold);
}

.vi-most-read-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  column-gap: 1.1rem;
  align-items: baseline;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--vi-color-border);
  width: 100%;
  box-sizing: border-box;
}

.vi-most-read-item:first-child {
  padding-top: 0.15rem;
}

.vi-most-read-item:last-child {
  border-bottom: none;
  padding-bottom: 0.15rem;
}

.vi-most-read-item__date {
  font-family: var(--vi-font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--vi-color-muted);
  line-height: 1.35;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.vi-most-read-item__date time {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.vi-most-read-item__title {
  margin: 0;
  line-height: 1.35;
  min-width: 0;
}

.vi-most-read-item__title a {
  font-family: var(--vi-font-serif);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--vi-color-text);
  text-decoration: none;
  display: block;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.vi-most-read-item__title a:hover {
  color: var(--vi-color-primary);
}

/* ==========================================================================
   SECTIE 3: 50/50 RASTER
   ========================================================================== */
.vi-section-third {
  margin-bottom: 2.75rem;
}

.vi-grid-50-50 {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
}

@media (min-width: 900px) {
  .vi-grid-50-50 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
  }

  .vi-grid__col-50,
  .vi-grid__col-50 > div,
  .vi-grid__col-50 .vi-region-inner,
  .vi-grid__col-50 .region-inner,
  .vi-grid__col-50 [id*="block-"],
  .vi-grid__col-50 [id*="block-"] > div,
  .vi-grid__col-50 [class*="block"],
  .vi-grid__col-50 [class*="block"] > div {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1 1 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
  }
}

/* 3A. INSCHRIJFBLOK NIEUWSBRIEF */
.vi-card-box--newsletter,
.vi-newsletter-card {
  background-color: var(--vi-color-gold);
  border: 1px solid #d49122;
  border-radius: 8px;
  padding: 1.35rem 1.65rem;
  box-shadow: 0 4px 16px rgba(230, 161, 44, 0.22);
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 900px) {
  .vi-card-box--newsletter,
  .vi-newsletter-card {
    height: 100%;
    min-height: 100%;
    flex: 1 1 100%;
  }
}

.vi-card-box--newsletter .vi-card-box__body,
.vi-card-box--newsletter fieldset,
.vi-card-box--newsletter .form-wrapper,
.vi-card-box--newsletter .field,
.vi-card-box--newsletter .field--type-email,
.vi-card-box--newsletter #edit-mail-wrapper {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

.vi-card-box--newsletter h2,
.vi-card-box--newsletter .bender-hoofdtitel,
.vi-card-box--newsletter .vi-card-box__title {
  font-family: var(--vi-font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--vi-color-primary-dark);
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
}

.vi-card-box--newsletter #edit-message,
.vi-card-box--newsletter .form-item-message {
  font-family: var(--vi-font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  color: #350e1a;
  line-height: 1.35;
  margin: 0 0 0.75rem 0;
  padding: 0;
  border: none;
  background: transparent;
}

.vi-card-box--newsletter form.simplenews-subscriber-form,
.vi-card-box--newsletter form {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 0.65rem;
  row-gap: 0;
  align-items: center;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.vi-card-box--newsletter form #edit-message {
  grid-column: 1 / -1;
  order: 1;
}

.vi-card-box--newsletter #edit-mail-wrapper label,
.vi-card-box--newsletter #edit-mail-wrapper .description,
.vi-card-box--newsletter #edit-subscriptions-wrapper {
  display: none;
}

.vi-card-box--newsletter #edit-mail-wrapper {
  grid-column: 1 / 2;
  order: 2;
  margin: 0;
  padding: 0;
  width: 100%;
}

.vi-card-box--newsletter input[type="email"],
.vi-card-box--newsletter input[type="text"] {
  width: 100%;
  height: 42px;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(53, 14, 26, 0.25);
  border-radius: 4px;
  background-color: #ffffff;
  font-family: var(--vi-font-sans);
  font-size: 0.88rem;
  color: var(--vi-color-text);
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vi-card-box--newsletter input[type="email"]:focus,
.vi-card-box--newsletter input[type="text"]:focus {
  outline: none;
  border-color: var(--vi-color-primary-dark);
  box-shadow: 0 0 0 2px rgba(53, 14, 26, 0.15);
}

.vi-card-box--newsletter #edit-actions,
.vi-card-box--newsletter .form-actions {
  grid-column: 2 / 3;
  order: 2;
  margin: 0;
  padding: 0;
}

.vi-card-box--newsletter input[type="submit"],
.vi-card-box--newsletter button {
  height: 42px;
  padding: 0 1.45rem;
  background-color: var(--vi-color-primary);
  border: 1px solid var(--vi-color-primary-dark);
  border-radius: 4px;
  color: #ffffff;
  font-family: var(--vi-font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vi-card-box--newsletter input[type="submit"]:hover,
.vi-card-box--newsletter button:hover {
  background-color: var(--vi-color-primary-dark);
  border-color: #20070f;
  transform: translateY(-1px);
}

/* 3B. GASTESSAY */
.vi-gastessay-box,
.vi-card-box--essay {
  background-color: var(--vi-color-primary);
  border: 1px solid var(--vi-color-primary-dark);
  border-radius: 8px;
  padding: 1.35rem 1.65rem;
  box-shadow: 0 4px 16px rgba(74, 21, 37, 0.18);
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (min-width: 900px) {
  .vi-gastessay-box,
  .vi-card-box--essay {
    height: 100%;
    min-height: 100%;
    flex: 1 1 100%;
  }
}

.vi-gastessay-box__badge,
.vi-gastessay-box [class*="badge"] {
  font-family: var(--vi-font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vi-color-gold);
  background-color: rgba(255, 255, 255, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  align-self: center;
  margin: 0 auto 0.35rem auto;
  display: inline-block;
}

.vi-gastessay-box__title,
.vi-gastessay-box h2,
.vi-gastessay-box h3 {
  font-family: var(--vi-font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 auto 0.35rem auto;
  line-height: 1.25;
  text-align: center;
}

.vi-gastessay-box__text,
.vi-gastessay-box p {
  font-family: var(--vi-font-sans);
  font-size: 0.86rem;
  color: #f0e6e8;
  line-height: 1.45;
  margin: 0 auto 0.75rem auto;
  text-align: center;
  max-width: 90%;
}

.vi-gastessay-box .vi-btn,
.vi-gastessay-box .vi-btn--secondary,
.vi-gastessay-box a {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--vi-color-gold);
  color: #ffffff;
  font-family: var(--vi-font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 0.6rem 1.45rem;
  border-radius: 4px;
  transition: background-color 0.2s ease, transform 0.15s ease;
  margin: 0 auto;
}

.vi-gastessay-box .vi-btn:hover,
.vi-gastessay-box .vi-btn--secondary:hover,
.vi-gastessay-box a:hover {
  background-color: var(--vi-color-gold-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   SECTIE 4: RECENTE BESCHOUWINGEN (VOLLEDIG EGALE LIJN)
   ========================================================================== */
.vi-section-recent {
  margin-bottom: 3.5rem;
  width: 100%;
}

.vi-section-recent .vi-section-header {
  display: block;
  border-bottom: 1px solid var(--vi-color-border);
  margin-top: 0.5rem;
  margin-bottom: 2.25rem;
  width: 100%;
  height: 1px;
  padding: 0;
  position: static;
}

.vi-section-recent .vi-section-header::after,
.vi-section-recent .vi-section-title,
.vi-section-recent h2,
.vi-section-recent [class*="block-title"],
.vi-section-recent .vi-section-divider {
  display: none;
  content: none;
}

@media (min-width: 900px) {
  .vi-section-recent [class*="js-view-dom-id"],
  .view-id-recente_beschouwingen [class*="js-view-dom-id"] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: stretch;
    width: 100%;
  }
}

.vi-section-recent [class*="js-view-dom-id"] > div,
.view-id-recente_beschouwingen [class*="js-view-dom-id"] > div {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.vi-recent-card {
  background-color: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  min-width: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.vi-recent-card:hover {
  transform: translateY(-3px);
  border-color: #d8d0c4;
  box-shadow: 0 8px 24px rgba(74, 21, 37, 0.08);
}

.vi-recent-card__media {
  width: 100%;
  height: 195px;
  overflow: hidden;
  background-color: var(--vi-color-border);
  flex-shrink: 0;
  position: relative;
}

.vi-recent-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.vi-recent-card:hover .vi-recent-card__media img {
  transform: scale(1.03);
}

.vi-recent-card__content {
  padding: 1.35rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.vi-recent-card__meta {
  font-family: var(--vi-font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vi-color-muted);
  margin-bottom: 0.45rem;
}

.vi-recent-card__sep {
  margin: 0 0.35rem;
  color: #bbb;
}

.vi-recent-card__author a {
  color: inherit;
  text-decoration: none;
}

.vi-recent-card__author a:hover {
  color: var(--vi-color-primary);
}

.vi-recent-card__title {
  font-family: var(--vi-font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--vi-color-text);
  margin: 0 0 0.65rem 0;
}

.vi-recent-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.vi-recent-card__title a:hover {
  color: var(--vi-color-primary);
}

.vi-recent-card__body {
  font-family: var(--vi-font-sans);
  font-size: 0.86rem;
  line-height: 1.5;
  color: #444444;
  margin-bottom: 1.25rem;
  flex: 1 1 auto;
}

.vi-recent-card__footer {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #f2eee8;
}

.vi-recent-card__link {
  font-family: var(--vi-font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vi-color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.vi-recent-card:hover .vi-recent-card__link {
  gap: 0.6rem;
  color: var(--vi-color-gold-hover);
}

/* ==========================================================================
   SECTIE 5: THEMABLOKKEN (FLEXBOX CENTRERING VOOR 5 KAARTEN)
   ========================================================================== */
.vi-section-themes {
  margin-bottom: 4.5rem;
  width: 100%;
}

.vi-section-themes .vi-section-header,
.vi-section-themes .vi-section-header--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 2.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--vi-color-border);
}

.vi-section-themes .vi-section-title {
  display: block;
  font-family: var(--vi-font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--vi-color-primary);
  margin: 0 auto;
  text-align: center;
  letter-spacing: -0.01em;
}

.vi-section-themes .vi-section-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 3px;
  background-color: var(--vi-color-gold);
  border-radius: 2px;
}

.vi-section-themes .contextual,
.vi-section-themes [data-contextual-id] {
  position: absolute;
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
}

@media (min-width: 900px) {
  .vi-section-themes [class*="js-view-dom-id"],
  .view-id-themablokken [class*="js-view-dom-id"] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.75rem;
    width: 100%;
  }

  .vi-section-themes .vi-theme-col,
  .vi-section-themes [class*="js-view-dom-id"] > div:has(.vi-theme-card),
  .view-id-themablokken [class*="js-view-dom-id"] > div:has(.vi-theme-card) {
    flex: 0 0 calc((100% - (2 * 1.75rem)) / 3);
    max-width: calc((100% - (2 * 1.75rem)) / 3);
    width: calc((100% - (2 * 1.75rem)) / 3);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }
}

@media (min-width: 640px) and (max-width: 899px) {
  .vi-section-themes [class*="js-view-dom-id"],
  .view-id-themablokken [class*="js-view-dom-id"] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
  }

  .vi-section-themes .vi-theme-col,
  .vi-section-themes [class*="js-view-dom-id"] > div:has(.vi-theme-card),
  .view-id-themablokken [class*="js-view-dom-id"] > div:has(.vi-theme-card) {
    flex: 0 0 calc((100% - 1.5rem) / 2);
    max-width: calc((100% - 1.5rem) / 2);
    width: calc((100% - 1.5rem) / 2);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }
}

@media (max-width: 639px) {
  .vi-section-themes [class*="js-view-dom-id"],
  .view-id-themablokken [class*="js-view-dom-id"] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
  }

  .vi-section-themes .vi-theme-col,
  .vi-section-themes [class*="js-view-dom-id"] > div:has(.vi-theme-card),
  .view-id-themablokken [class*="js-view-dom-id"] > div:has(.vi-theme-card) {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
}

.vi-theme-card {
  background-color: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-top: 3px solid var(--vi-color-gold);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  min-width: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  box-sizing: border-box;
}

.vi-theme-card:hover {
  transform: translateY(-3px);
  border-top-color: var(--vi-color-primary);
  border-color: #d8d0c4;
  box-shadow: 0 8px 24px rgba(74, 21, 37, 0.09);
}

.vi-theme-card__content {
  padding: 1.65rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  box-sizing: border-box;
}

.vi-theme-card__title {
  font-family: var(--vi-font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--vi-color-primary);
  margin: 0 0 0.75rem 0;
  word-break: normal;
  overflow-wrap: break-word;
}

.vi-theme-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.vi-theme-card__title a:hover {
  color: var(--vi-color-primary-dark);
}

.vi-theme-card__desc {
  font-family: var(--vi-font-sans);
  font-size: 0.88rem;
  line-height: 1.5;
  color: #555555;
  margin-bottom: 1.35rem;
  flex: 1 1 auto;
  word-break: normal;
}

.vi-theme-card__footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #f2eee8;
}

.vi-theme-card__footer a,
.vi-theme-card__link {
  font-family: var(--vi-font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vi-color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.vi-theme-card:hover .vi-theme-card__footer a,
.vi-theme-card:hover .vi-theme-card__link {
  gap: 0.6rem;
  color: var(--vi-color-gold-hover);
}

/* ==========================================================================
   SECTIE 6: FOOTER (3 DUIDELIJKE KOLOMMEN VIA .vi-footer-grid)
   ========================================================================== */
.vi-footer {
  background-color: var(--vi-color-primary-dark);
  color: #ffffff;
  padding: 4rem 0 3.5rem 0;
  border-top: 3px solid var(--vi-color-gold);
  width: 100%;
  margin-top: 3.5rem;
  position: relative;
  z-index: 10;
}

.vi-footer .vi-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.vi-footer .contextual,
.vi-footer [data-contextual-id] {
  position: absolute;
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
}

/* HET 3-KOLOMS RASTER OP DESKTOP */
@media (min-width: 900px) {
  .vi-footer .vi-footer-grid {
    display: grid;
    grid-template-columns: 1.15fr minmax(400px, 1fr) 1.15fr;
    gap: 3.5rem;
    align-items: start;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .vi-footer .vi-footer-grid > .block:nth-of-type(1),
  .vi-footer .vi-footer-grid > div:nth-of-type(1) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .vi-footer .vi-footer-grid > .block:nth-of-type(2),
  .vi-footer .vi-footer-grid > div:nth-of-type(2) {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .vi-footer .vi-footer-grid > .block:nth-of-type(3),
  .vi-footer .vi-footer-grid > div:nth-of-type(3) {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
  }
}

.vi-footer .block {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  color: #e0d5d8;
  width: 100%;
}

.vi-footer h2,
.vi-footer h3,
.vi-footer .vi-footer-title,
.vi-footer [class*="title"] {
  font-family: var(--vi-font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1rem 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.vi-footer p {
  font-family: var(--vi-font-sans);
  font-size: 0.88rem;
  line-height: 1.65;
  color: #dcd0d3;
  margin: 0 0 0.85rem 0;
}

.vi-footer a {
  color: var(--vi-color-gold);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.vi-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.vi-footer .vi-footer-grid > .block:nth-of-type(2) h2,
.vi-footer .vi-footer-grid > div:nth-of-type(2) h2 {
  display: none;
}

.vi-footer-logo-wrap {
  margin: 0 auto 1.25rem auto;
  display: flex;
  justify-content: center;
}

.vi-footer__logo,
.vi-footer img[src*="logoVI"],
.vi-footer-logo-wrap img {
  height: 62px;
  max-height: 62px;
  width: auto;
  display: block;
  margin: 0 auto 1.25rem auto;
  filter: grayscale(100%) brightness(170%);
  opacity: 0.94;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.vi-footer__logo:hover,
.vi-footer-logo-wrap img:hover {
  opacity: 1;
  filter: grayscale(100%) brightness(200%);
}

.vi-footer-copyright {
  font-family: var(--vi-font-sans);
  font-size: 0.82rem;
  line-height: 1.5;
  color: #c8bcc0;
  margin: 0;
  text-align: center;
  white-space: nowrap;
}

.vi-footer-legal {
  font-family: var(--vi-font-sans);
  font-size: 0.82rem;
  color: #c8bcc0;
  margin-top: 0.65rem;
  white-space: nowrap;
}

.vi-footer-legal a {
  color: var(--vi-color-gold);
  font-weight: 600;
}

.vi-footer-legal .vi-sep {
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0.45rem;
}

.vi-auth-card__form .form-actions {
  margin-top: 0.5rem;
  margin-bottom: 0;
  padding: 0;
}

.vi-auth-card__form .form-actions input[type="submit"] {
  width: 100%;
  height: 46px;
  background-color: var(--vi-color-primary);
  border: 1px solid var(--vi-color-primary-dark);
  border-radius: 4px;
  color: #ffffff;
  font-family: var(--vi-font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(74, 21, 37, 0.18);
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.vi-auth-card__form .form-actions input[type="submit"]:hover {
  background-color: var(--vi-color-gold);
  border-color: var(--vi-color-gold-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   THEMAPAGINA'S (TAXONOMY BEM STRUCTUUR)
   ========================================================================== */

.vi-taxonomy-page {
  width: 100%;
}

/* SECTIE 1: Header over volle breedte */
.vi-taxonomy-page__header {
  width: 100%;
  max-width: 820px;
  margin: 1rem auto 3.5rem auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vi-taxonomy-page__kicker {
  font-family: var(--vi-font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vi-color-gold);
  margin-bottom: 0.5rem;
}

.vi-taxonomy-page__title {
  font-family: var(--vi-font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--vi-color-primary);
  margin: 0 0 1rem 0;
  letter-spacing: -0.01em;
}

.vi-taxonomy-page__desc {
  font-family: var(--vi-font-serif);
  font-size: 1.12rem;
  font-style: italic;
  color: var(--vi-color-muted);
  line-height: 1.65;
  margin: 0 auto;
}

.vi-taxonomy-page__divider {
  width: 64px;
  height: 3px;
  background-color: var(--vi-color-gold);
  border-radius: 2px;
  margin: 1.75rem auto 0 auto;
}

/* SECTIE 2: 3-koloms artikelenraster */
.vi-taxonomy-page__grid .views-view-unformatted {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.75rem;
  width: 100%;
}

@media (min-width: 640px) {
  .vi-taxonomy-page__grid .views-view-unformatted {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .vi-taxonomy-page__grid .views-view-unformatted {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

/* ==========================================================================
   MOBIEL (<768px & <900px)
   ========================================================================== */
@media (max-width: 899px) {
  .vi-section-recent [class*="js-view-dom-id"],
  .view-id-recente_beschouwingen [class*="js-view-dom-id"] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .vi-footer .vi-footer-grid {
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
    align-items: center;
    text-align: center;
  }

  .vi-footer-copyright,
  .vi-footer-legal {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  .vi-auth-viewport {
    padding: 1.5rem 1rem;
  }

  .vi-auth-card {
    padding: 2rem 1.35rem 1.75rem 1.35rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  }

  .vi-auth-footer {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* ==========================================================================
   MOBIEL (<768px & <900px)
   ========================================================================== */
@media (max-width: 899px) {
  .vi-section-recent [class*="js-view-dom-id"],
  .view-id-recente_beschouwingen [class*="js-view-dom-id"] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .vi-footer .vi-footer-grid {
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
    align-items: center;
    text-align: center;
  }

  .vi-footer .vi-footer-grid > div {
    align-items: center;
    text-align: center;
  }

  .vi-footer-copyright,
  .vi-footer-legal {
    white-space: normal;
  }
}

/* ==========================================================================
 AUTHENTICATIEPORTAAL (WOLTERS KLUWER / INVIEW STIJL)
 ========================================================================== */
.vi-auth-viewport {
min-height: 100vh;
background-color: var(--vi-color-bg);
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
padding: 3rem 1.25rem 2rem 1.25rem;
box-sizing: border-box;
}

.vi-auth-card {
background-color: #ffffff;
border: 1px solid var(--vi-color-border);
border-radius: 8px;
box-shadow: 0 8px 32px rgba(74, 21, 37, 0.06);
width: 100%;
max-width: 480px;
padding: 2.75rem 2.5rem 2.25rem 2.5rem;
margin: auto 0;
box-sizing: border-box;
}

.vi-auth-card__header {
text-align: center;
margin-bottom: 2rem;
}

.vi-auth-card__brand {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.85rem;
text-decoration: none;
margin-bottom: 1.15rem;
}

.vi-auth-card__logo {
height: 85px;
max-height: 85px;
width: auto;
display: block;
margin: 0 auto;
filter: drop-shadow(0 2px 4px rgba(74, 21, 37, 0.1));
}

.vi-auth-card__form .page-title,
.vi-auth-card__form h1.title,
.vi-auth-card__form .tabs,
.vi-auth-card__form .description {
display: none;
}

.vi-auth-card__form .messages {
margin-bottom: 1.5rem;
padding: 0.85rem 1rem;
border-radius: 4px;
font-family: var(--vi-font-sans);
font-size: 0.86rem;
}

.vi-auth-card__form .messages--error {
background-color: #fdf2f2;
border: 1px solid #f8b4b4;
color: #9b1c1c;
}

.vi-auth-card__form .form-item {
margin-bottom: 1.25rem;
display: flex;
flex-direction: column;
}

.vi-auth-card__form label {
font-family: var(--vi-font-sans);
font-size: 0.88rem;
font-weight: 600;
color: #2a2a2a;
margin-bottom: 0.4rem;
}

.vi-auth-card__form input[type="text"],
.vi-auth-card__form input[type="password"],
.vi-auth-card__form input[type="email"] {
width: 100%;
height: 44px;
padding: 0.5rem 0.9rem;
border: 1px solid #c9d2db;
border-radius: 4px;
background-color: #f4f7f9;
font-family: var(--vi-font-sans);
font-size: 0.94rem;
color: var(--vi-color-text);
box-sizing: border-box;
transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.vi-auth-card__form input:focus {
outline: none;
border-color: var(--vi-color-primary);
background-color: #ffffff;
box-shadow: 0 0 0 3px rgba(74, 21, 37, 0.12);
}

/* Standaard opmaak voor alle knoppen (paars, volle breedte) */
.vi-auth-card__form input[type="submit"],
.vi-auth-card__form button {
background-color: var(--vi-color-primary);
border: 1px solid var(--vi-color-primary-dark);
border-radius: 4px;
color: #ffffff;
font-family: var(--vi-font-sans);
font-size: 0.92rem;
font-weight: 700;
letter-spacing: 0.02em;
cursor: pointer;
box-shadow: 0 2px 8px rgba(74, 21, 37, 0.18);
transition: background-color 0.2s ease, transform 0.15s ease, color 0.2s ease, border-color 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
padding: 0 1.25rem;
height: 46px;
width: 100%;
margin-top: 0.75rem;
box-sizing: border-box;
}

.vi-auth-card__form input[type="submit"]:hover,
.vi-auth-card__form button:hover {
background-color: var(--vi-color-gold);
border-color: var(--vi-color-gold-hover);
color: #ffffff;
transform: translateY(-1px);
}

/* Secundaire opmaak voor de 'Opnieuw verzenden' knop */
.vi-auth-card__form #edit-resend {
background-color: transparent;
border: 2px solid var(--vi-color-primary);
color: var(--vi-color-primary);
box-shadow: none;
}

.vi-auth-card__form #edit-resend:hover {
background-color: rgba(74, 21, 37, 0.04);
border-color: var(--vi-color-primary-dark);
color: var(--vi-color-primary-dark);
}

/* Flexbox regels als knoppen in een container zitten */
.vi-auth-card__form .form-actions {
margin-top: 0.85rem;
margin-bottom: 0;
padding: 0;
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
width: 100%;
}

.vi-auth-card__form .form-actions input[type="submit"],
.vi-auth-card__form .form-actions button {
flex: 1;
width: auto;
margin-top: 0;
}

/* Verberg overbodige TFA opties */
.vi-auth-card:has(form[id*="tfa"]) .vi-auth-divider,
.vi-auth-card:has(form[id*="tfa"]) .vi-auth-options {
display: none;
}

.vi-auth-divider {
display: flex;
align-items: center;
text-align: center;
margin: 1.85rem 0 1.35rem 0;
color: var(--vi-color-muted);
}

.vi-auth-divider::before,
.vi-auth-divider::after {
content: '';
flex: 1;
border-bottom: 1px solid var(--vi-color-border);
}

.vi-auth-divider span {
padding: 0 0.85rem;
font-family: var(--vi-font-sans);
font-size: 0.82rem;
color: #888888;
}

.vi-auth-options {
display: flex;
flex-direction: column;
gap: 0.65rem;
width: 100%;
}

.vi-auth-option {
display: flex;
align-items: center;
gap: 0.95rem;
padding: 0.85rem 1.1rem;
border: 1px solid var(--vi-color-border);
border-radius: 6px;
background-color: #ffffff;
text-decoration: none;
transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
box-sizing: border-box;
}

.vi-auth-option:hover {
border-color: var(--vi-color-primary);
background-color: #faf6f4;
transform: translateY(-1px);
box-shadow: 0 4px 14px rgba(74, 21, 37, 0.06);
}

.vi-auth-option__badge {
width: 34px;
height: 34px;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
font-family: var(--vi-font-sans);
font-size: 0.78rem;
font-weight: 800;
flex-shrink: 0;
}

.vi-auth-badge--vi {
background-color: var(--vi-color-primary);
color: #ffffff;
}

.vi-auth-badge--gold {
background-color: var(--vi-color-gold);
color: #ffffff;
}

.vi-auth-badge--bordeaux {
background-color: var(--vi-color-primary-dark);
color: var(--vi-color-gold);
}

.vi-auth-option__text {
display: flex;
flex-direction: column;
text-align: left;
}

.vi-auth-option__title {
font-family: var(--vi-font-sans);
font-size: 0.88rem;
font-weight: 700;
color: var(--vi-color-text);
line-height: 1.25;
}

.vi-auth-option__desc {
font-family: var(--vi-font-sans);
font-size: 0.78rem;
color: var(--vi-color-muted);
line-height: 1.35;
margin-top: 0.15rem;
}

.vi-auth-footer {
width: 100%;
max-width: 1100px;
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 2.5rem;
padding: 1rem 0.5rem;
font-family: var(--vi-font-sans);
font-size: 0.8rem;
color: var(--vi-color-muted);
box-sizing: border-box;
}

.vi-auth-footer a {
color: var(--vi-color-muted);
text-decoration: none;
transition: color 0.2s ease;
}

.vi-auth-footer a:hover {
color: var(--vi-color-primary);
text-decoration: underline;
}

.vi-auth-footer__sep {
margin: 0 0.45rem;
color: #ccc;
}

/* ==========================================================================
   THEMAPAGINA'S (TAXONOMY BEM STRUCTUUR)
   ========================================================================== */

.vi-taxonomy-page {
  width: 100%;
}

.vi-taxonomy-page__header {
  width: 100%;
  max-width: 820px;
  margin: 1rem auto 3.5rem auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vi-taxonomy-page__kicker {
  font-family: var(--vi-font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vi-color-gold);
  margin-bottom: 0.5rem;
}

.vi-taxonomy-page__title {
  font-family: var(--vi-font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--vi-color-primary);
  margin: 0 0 1rem 0;
  letter-spacing: -0.01em;
}

.vi-taxonomy-page__desc {
  font-family: var(--vi-font-serif);
  font-size: 1.12rem;
  font-style: italic;
  color: var(--vi-color-muted);
  line-height: 1.65;
  margin: 0 auto;
}

.vi-taxonomy-page__divider {
  width: 64px;
  height: 3px;
  background-color: var(--vi-color-gold);
  border-radius: 2px;
  margin: 1.75rem auto 0 auto;
}

/* 3-Koloms Raster via schone BEM class */
.vi-taxonomy-page__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.75rem;
  width: 100%;
}

@media (min-width: 640px) {
  .vi-taxonomy-page__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .vi-taxonomy-page__grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

/* Afbeeldingen binnen de kaarten */
.vi-taxonomy-card__media img {
  width: 100%;
  height: 195px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
 MOBIEL (<768px & <900px)
 ========================================================================== */
@media (max-width: 899px) {
.vi-section-recent [class*="js-view-dom-id"],
.view-id-recente_beschouwingen [class*="js-view-dom-id"] {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vi-footer .vi-footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
  align-items: center;
  text-align: center;
}

.vi-footer .vi-footer-grid > div {
  align-items: center;
  text-align: center;
}

.vi-footer-copyright,
.vi-footer-legal {
  white-space: normal;
}
}

@media (max-width: 600px) {
.vi-auth-viewport {
  padding: 1.5rem 1rem;
}

.vi-auth-card {
  padding: 2rem 1.35rem 1.75rem 1.35rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.vi-auth-footer {
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
}

.vi-auth-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}
}

/* Vervaag de artikelinhoud op desktop/mobiel als het een oud artikel betreft */
.is-restricted {
  max-height: 250px;
  overflow: hidden;
  position: relative;
  user-select: none;
  pointer-events: none;
  filter: blur(3px);
  opacity: 0.4;
}

/* ==========================================================================
   PREMIUM LANDINGSPAGINA (PAYWALL / ABONNEE)
   ========================================================================== */

.vi-premium-landing {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 0 3rem 0;
}

/* Navigatieknop terug */
.vi-premium-landing__top-bar {
  margin-bottom: 2rem;
}

.vi-premium-landing__top-bar a {
  font-family: var(--vi-font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--vi-color-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.vi-premium-landing__top-bar a:hover {
  color: var(--vi-color-primary);
}

/* Paginakop */
.vi-premium-landing__header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3.5rem auto;
}

.vi-premium-landing__kicker {
  font-family: var(--vi-font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vi-color-gold);
  margin-bottom: 0.5rem;
  display: block;
}

.vi-premium-landing__title {
  font-family: var(--vi-font-serif);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--vi-color-primary);
  margin: 0 0 1.15rem 0;
  letter-spacing: -0.01em;
}

.vi-premium-landing__lead {
  font-family: var(--vi-font-serif);
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--vi-color-muted);
  margin: 0 auto;
}

/* 2-Koloms Grid op Desktop */
.vi-premium-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  align-items: stretch;
  width: 100%;
}

@media (min-width: 768px) {
  .vi-premium-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Standaard Optie Kaart (Vrij Toegankelijk) */
.vi-premium-card {
  background-color: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-radius: 8px;
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  position: relative;
  box-sizing: border-box;
}

.vi-premium-card__badge {
  font-family: var(--vi-font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vi-color-muted);
  margin-bottom: 0.5rem;
  display: block;
}

.vi-premium-card__title {
  font-family: var(--vi-font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--vi-color-primary);
  margin: 0 0 1.25rem 0;
}

.vi-premium-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.vi-premium-card__list li {
  font-family: var(--vi-font-sans);
  font-size: 0.92rem;
  line-height: 1.55;
  color: #333333;
  margin-bottom: 0.85rem;
  padding-left: 1.5rem;
  position: relative;
}

.vi-premium-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--vi-color-gold);
  font-weight: 800;
}

/* Geaccentueerde Kaart (Premium Account) */
.vi-premium-card--highlight {
  border: 2px solid var(--vi-color-gold);
  background-color: #ffffff;
  box-shadow: 0 8px 32px rgba(74, 21, 37, 0.08);
}

.vi-premium-card--highlight .vi-premium-card__badge {
  color: var(--vi-color-primary);
  background-color: #f4ecee;
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

/* Knoppen onderaan de kaarten */
.vi-paywall-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  border-radius: 4px;
  font-family: var(--vi-font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.vi-paywall-btn--outline {
  border: 1.5px solid var(--vi-color-primary);
  color: var(--vi-color-primary);
  background-color: transparent;
}

.vi-paywall-btn--outline:hover {
  background-color: rgba(74, 21, 37, 0.05);
}

.vi-paywall-btn--primary,
.vi-premium-card--highlight .vi-paywall-btn {
  background-color: var(--vi-color-primary);
  border: 1px solid var(--vi-color-primary-dark);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(74, 21, 37, 0.2);
}

.vi-paywall-btn--primary:hover,
.vi-premium-card--highlight .vi-paywall-btn:hover {
  background-color: var(--vi-color-gold);
  border-color: var(--vi-color-gold-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ==========================================================================
   REDACTIONEEL ARTIKEL DETAIL (GROENE AMSTERDAMMER / NEW YORKER STIJL)
   ========================================================================== */

.vi-article-detail {
  width: 100%;
  max-width: 1000px;
  margin: 1rem auto 4rem auto;
}

/* Header & Typografie */
.vi-article-detail__header {
  max-width: 740px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

.vi-article-detail__kicker {
  font-family: var(--vi-font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vi-color-gold);
  margin-bottom: 0.75rem;
}

.vi-article-detail__title {
  font-family: var(--vi-font-serif);
  font-size: 2.85rem;
  font-weight: 700;
  line-height: 1.18;
  color: var(--vi-color-primary);
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.02em;
}

.vi-article-detail__meta {
  font-family: var(--vi-font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--vi-color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.vi-article-detail__sep {
  margin: 0 0.4rem;
  color: #ccc;
}

/* Social Media Share Bar */
.vi-article-detail__share {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  border-top: 1px solid var(--vi-color-border);
  border-bottom: 1px solid var(--vi-color-border);
  margin-top: 0.5rem;
}

.vi-article-detail__share-label {
  font-family: var(--vi-font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--vi-color-muted);
}

.vi-article-detail__share-btn {
  font-family: var(--vi-font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--vi-color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.vi-article-detail__share-btn:hover {
  color: var(--vi-color-gold);
  text-decoration: underline;
}

/* Hoofdafbeelding */
.vi-article-detail__featured-media {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  border-radius: 6px;
  margin: 0 0 3rem 0;
}

.vi-article-detail__featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Artikelinhoud (Smalle kolom voor uitstekende leesbaarheid) */
.vi-article-detail__body {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--vi-font-serif);
  font-size: 1.18rem;
  line-height: 1.75;
  color: #222222;
}

.vi-article-detail__body p {
  margin-bottom: 1.65rem;
}

/* Stijlvolle quotes (Blockquotes) */
.vi-article-detail__body blockquote {
  font-style: italic;
  font-size: 1.28rem;
  line-height: 1.6;
  color: var(--vi-color-primary);
  border-left: 3px solid var(--vi-color-gold);
  margin: 2rem 0;
  padding: 0.5rem 0 0.5rem 1.5rem;
}

/* Tussenkoppen binnen het artikel */
.vi-article-detail__body h2,
.vi-article-detail__body h3 {
  font-family: var(--vi-font-serif);
  color: var(--vi-color-primary);
  font-weight: 700;
  margin: 2.5rem 0 1rem 0;
  line-height: 1.25;
}

.vi-article-detail__body h2 {
  font-size: 1.75rem;
}

/* Inklapbare Reactiesectie */
.vi-article-detail__comments-section {
  max-width: 720px;
  margin: 3.5rem auto 0 auto;
  border-top: 2px solid var(--vi-color-primary);
  padding-top: 1.5rem;
}

.vi-article-detail__comments-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 0.75rem 0;
  list-style: none;
}

.vi-article-detail__comments-summary::-webkit-details-marker {
  display: none;
}

.vi-article-detail__comments-title {
  font-family: var(--vi-font-sans);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vi-color-primary);
}

.vi-article-detail__comments-icon {
  font-size: 1.2rem;
  color: var(--vi-color-gold);
  transition: transform 0.25s ease;
}

.vi-article-detail__comments-toggle[open] .vi-article-detail__comments-icon {
  transform: rotate(180deg);
}

.vi-article-detail__comments-content {
  padding-top: 1.5rem;
}

@media (max-width: 768px) {
  .vi-article-detail__title {
    font-size: 2.1rem;
  }
  
  .vi-article-detail__body {
    font-size: 1.08rem;
  }
}

/* ==========================================================================
   REACTIESECTIE & FORMULIER OPMAAK
   ========================================================================== */

/* Container & Lijst van geplaatste reacties */
.vi-article-detail__comments-content .comment {
  background-color: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}

.vi-article-detail__comments-content .comment__meta {
  font-family: var(--vi-font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--vi-color-muted);
  margin-bottom: 0.5rem;
}

.vi-article-detail__comments-content .comment__content {
  font-family: var(--vi-font-serif);
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
}

/* Formulier Wrapper */
.vi-article-detail__comments-content form.comment-form {
  background-color: #fcfbf9;
  border: 1px solid var(--vi-color-border);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 2rem;
  max-width: 100%;
}

.vi-article-detail__comments-content form.comment-form h2 {
  font-family: var(--vi-font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--vi-color-primary);
  margin: 0 0 1.5rem 0;
}

/* Invoervelden & Labels */
.vi-article-detail__comments-content form.comment-form .form-item {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.vi-article-detail__comments-content form.comment-form label {
  font-family: var(--vi-font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--vi-color-text);
  margin-bottom: 0.4rem;
}

.vi-article-detail__comments-content form.comment-form input[type="text"],
.vi-article-detail__comments-content form.comment-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #c9d2db;
  border-radius: 4px;
  background-color: #ffffff;
  font-family: var(--vi-font-sans);
  font-size: 0.95rem;
  color: var(--vi-color-text);
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vi-article-detail__comments-content form.comment-form input[type="text"]:focus,
.vi-article-detail__comments-content form.comment-form textarea:focus {
  outline: none;
  border-color: var(--vi-color-primary);
  box-shadow: 0 0 0 3px rgba(74, 21, 37, 0.12);
}

.vi-article-detail__comments-content form.comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Verberg overbodige Drupal opmaakinstructies en selectors */
.vi-article-detail__comments-content form.comment-form .filter-wrapper,
.vi-article-detail__comments-content form.comment-form .js-form-type-select,
.vi-article-detail__comments-content form.comment-form .fieldset-wrapper > p {
  display: none;
}

/* Actieknoppen */
.vi-article-detail__comments-content form.comment-form .form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.vi-article-detail__comments-content form.comment-form input[type="submit"] {
  background-color: var(--vi-color-primary);
  border: 1px solid var(--vi-color-primary-dark);
  color: #ffffff;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-family: var(--vi-font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.vi-article-detail__comments-content form.comment-form input[type="submit"]:hover {
  background-color: var(--vi-color-gold);
  border-color: var(--vi-color-gold-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.vi-article-detail__comments-content form.comment-form input[id*="edit-preview"] {
  background-color: transparent;
  border: 1.5px solid var(--vi-color-border);
  color: var(--vi-color-muted);
}

.vi-article-detail__comments-content form.comment-form input[id*="edit-preview"]:hover {
  background-color: #f0ece6;
  color: var(--vi-color-text);
}

/* ==========================================================================
   TAALSCHAKELAAR IN ARTIKEL HEADER
   ========================================================================== */

.vi-article-detail__language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background-color: #f6f3ee;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-family: var(--vi-font-sans);
  font-size: 0.75rem;
  font-weight: 700;
}

.vi-article-detail__lang-item {
  color: var(--vi-color-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.vi-article-detail__lang-item.is-active {
  color: var(--vi-color-primary);
  font-weight: 800;
}

a.vi-article-detail__lang-item:hover {
  color: var(--vi-color-gold);
}

.vi-article-detail__lang-sep {
  color: #ccc;
  font-size: 0.7rem;
}

/* ==========================================================================
   MEERTALIGHEID SWITCH (UITBREIDING DUITS / FRANS)
   ========================================================================== */

.vi-article-detail__language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #f6f3ee;
  border: 1px solid var(--vi-color-border);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-family: var(--vi-font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.vi-article-detail__lang-item {
  color: var(--vi-color-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 0 0.1rem;
}

.vi-article-detail__lang-item.is-active {
  color: var(--vi-color-primary);
  font-weight: 800;
  border-bottom: 2px solid var(--vi-color-gold);
}

a.vi-article-detail__lang-item:hover {
  color: var(--vi-color-gold);
}

.vi-article-detail__lang-sep {
  color: #d0c8be;
  font-size: 0.7rem;
}

/* ==========================================================================
   CONTACTPAGINA (KAART WEERGAVE)
   ========================================================================== */
form.contact-message-contact-form {
  background-color: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(74, 21, 37, 0.06);
  max-width: 680px;
  margin: 3rem auto 4rem auto;
  padding: 2.75rem 2.5rem;
  box-sizing: border-box;
}

.contact-message-contact-form .form-item {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.contact-message-contact-form label {
  font-family: var(--vi-font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: #2a2a2a;
  margin-bottom: 0.4rem;
}

.contact-message-contact-form input[type="text"],
.contact-message-contact-form input[type="email"],
.contact-message-contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #c9d2db;
  border-radius: 4px;
  background-color: #f4f7f9;
  font-family: var(--vi-font-sans);
  font-size: 0.94rem;
  color: var(--vi-color-text);
  box-sizing: border-box;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-message-contact-form input[type="text"]:focus,
.contact-message-contact-form input[type="email"]:focus,
.contact-message-contact-form textarea:focus {
  outline: none;
  border-color: var(--vi-color-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(74, 21, 37, 0.12);
}

.contact-message-contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

/* Stijl voor de verzendknop over de volle breedte */
.contact-message-contact-form .form-actions {
  margin-top: 1.5rem;
  margin-bottom: 0;
  padding: 0;
}

.contact-message-contact-form input[type="submit"] {
  background-color: var(--vi-color-primary);
  border: 1px solid var(--vi-color-primary-dark);
  border-radius: 4px;
  color: #ffffff;
  font-family: var(--vi-font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(74, 21, 37, 0.18);
  transition: background-color 0.2s ease, transform 0.15s ease;
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-message-contact-form input[type="submit"]:hover {
  background-color: var(--vi-color-gold);
  border-color: var(--vi-color-gold-hover);
  transform: translateY(-1px);
}

/* Herstel de uitlijning: dwing de checkbox in een horizontale rij */
.contact-message-contact-form .form-item.form-type-checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-message-contact-form .form-item.form-type-checkbox input[type="checkbox"] {
  margin-top: 0.25rem; 
  width: auto;
}

.contact-message-contact-form .form-item.form-type-checkbox label {
  margin-bottom: 0;
  font-weight: normal;
  line-height: 1.5;
}

/* Contactformulier: Checkbox uitlijning (Privacy akkoord) */
.contact-message-contact-form .form-type-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.contact-message-contact-form .form-type-checkbox input[type="checkbox"] {
  margin-top: 0.35rem; 
}

.contact-message-contact-form .form-type-checkbox label {
  display: block; 
  font-weight: normal; 
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   BLOCK: 70/30 Artikelenstroom & Meest Gelezen (Exact Gelijke Hoogte)
   ========================================================================== */

/* 1. Grid instellen op Stretch op Desktop */
@media (min-width: 900px) {
  .vi-section-stream.vi-grid-70-30 {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.25rem;
    align-items: stretch; /* Dwingt links en rechts tot exact gelijke hoogte */
  }

  .vi-section-stream .vi-grid__main,
  .vi-section-stream .vi-grid__sidebar {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  /* 2. Rechterkolom de volledige hoogte laten vullen */
  .vi-section-stream .vi-card-most-read,
  .vi-section-stream [id*="meest-gelezen"] {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Verdeelt de items over de volle hoogte */
    box-sizing: border-box;
  }

  .vi-section-stream .vi-card-most-read__list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 auto;
  }
}

/* 3. Vormgeving van de Meest Gelezen Kaart */
.vi-card-most-read,
[id*="meest-gelezen"] {
  background-color: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-radius: 8px;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.vi-card-most-read h2,
[id*="meest-gelezen"] h2 {
  font-family: var(--vi-font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vi-color-primary);
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--vi-color-primary);
  position: relative;
}

.vi-card-most-read h2::after,
[id*="meest-gelezen"] h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--vi-color-gold);
}

.vi-most-read-item {
  display: grid;
  grid-template-columns: 85px 1fr;
  column-gap: 1rem;
  align-items: baseline;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--vi-color-border);
}

.vi-most-read-item:last-child {
  border-bottom: none;
}

.vi-most-read-item__date {
  font-family: var(--vi-font-sans);
  font-size: 0.75rem;
  color: var(--vi-color-muted);
}

.vi-most-read-item__title a {
  font-family: var(--vi-font-serif);
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--vi-color-text);
  transition: color 0.2s ease;
}

.vi-most-read-item__title a:hover {
  color: var(--vi-color-primary);
}

/* ==========================================================================
   BLIKVANGER (COMPACT & PANORAMISCH)
   ========================================================================== */
.vi-section-hero .vi-blikvanger-card {
  width: 100%;
  display: grid;
  grid-template-columns: 55% 45%;
  margin-bottom: 2.75rem;
  border: 1px solid var(--vi-color-border);
  border-top: 4px solid var(--vi-color-primary);
  border-radius: 4px;
  background-color: #ffffff;
}

.vi-section-hero .vi-blikvanger-card__media {
  height: 100%;
  min-height: 240px; /* Veel slankere, redactionele hoogte */
}

.vi-section-hero .vi-blikvanger-card__content {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vi-section-hero .vi-blikvanger-card__bottom {
  grid-column: 1 / -1;
  width: 100%;
  padding: 1.25rem 2rem 1.5rem 2rem;
  border-top: 1px solid #f2eee8;
}

@media (max-width: 899px) {
  .vi-section-hero .vi-blikvanger-card { 
    grid-template-columns: 1fr; 
  }
}

/* 2. Topsectie: Elegante 55/45 verdeling met ademruimte */
.vi-section-hero .vi-blikvanger-card__top {
  display: grid;
  grid-template-columns: 55% 45%;
}

.vi-section-hero .vi-blikvanger-card__media {
  height: 100%;
  min-height: 340px; /* Herstelt de natuurlijke proporties van de foto */
}

.vi-section-hero .vi-blikvanger-card__content {
  padding: 3rem 2.5rem;
  justify-content: center;
}

/* 3. Onderkant: Volle breedte, rustige uitlijning */
.vi-section-hero .vi-blikvanger-card__bottom {
  width: 100%;
  padding: 1.5rem 2.5rem 2.25rem 2.5rem;
  border-top: 1px solid #f2eee8;
}

@media (max-width: 899px) {
  .vi-section-hero .vi-blikvanger-card__top { 
    grid-template-columns: 1fr; 
  }
}

/* 2. Dwing de 70/30 sectie tot gelijke hoogtes */
@media (min-width: 900px) {
  .vi-section-stream.vi-grid-70-30 {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: stretch; /* Zorgt dat links en rechts altijd exact even hoog zijn */
  }
}

/* 3. Linkerkolom: 2 artikelen flexibel gestapeld */
.vi-section-stream .vi-grid__main,
.vi-section-stream .vi-grid__main .views-view-unformatted {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  height: 100%;
}

.vi-section-stream .vi-grid__main .views-row {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.vi-section-stream .vi-stream-card {
  height: 100%;
}

/* 4. Rechterkolom: Profielblok + Meest Gelezen */
.vi-section-stream .vi-grid__sidebar,
.vi-section-stream .vi-grid__sidebar .region-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  height: 100%; /* Neemt de opgerekte hoogte van het grid over */
}

.vi-section-stream .vi-profile-card {
  flex: 0 0 auto; /* Profiel behoudt zijn eigen, vaste hoogte */
}

.vi-section-stream .vi-card-most-read {
  flex: 1 1 auto; /* Meest Gelezen rekt uit om het gat tot de bodem op te vullen */
  height: 100%;
}

/* ==========================================================================
   VERFIJNING: ADEMRUIMTE ARTIKELEN & COMPACTER PROFIELBLOK
   ========================================================================== */
   
/* 1. Forceer royale ademruimte tussen de gestapelde artikelen (links) */
.vi-section-stream .vi-grid__main .views-row:not(:last-child),
.vi-section-stream .vi-grid__main > div > div > div:not(:last-child) {
  margin-bottom: 2.25rem;
}

/* Zorg dat de tussenruimte in de rechterkolom exact synchroon loopt */
.vi-section-stream .vi-grid__sidebar {
  gap: 2.25rem;
}

/* 2. Maak het profielblok eleganter en compacter */
.vi-section-stream .vi-profile-card__top,
.vi-profile-card__top {
  padding: 1.5rem 1.5rem 0.5rem 1.5rem;
}

.vi-section-stream .vi-profile-card__avatar-wrapper,
.vi-profile-card__avatar-wrapper {
  width: 110px;
  height: 110px;
}

.vi-section-stream .vi-profile-card__name,
.vi-profile-card__name {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.vi-section-stream .vi-profile-card__bottom,
.vi-profile-card__bottom {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* ==========================================================================
   WITRUIMTE ARTIKELENSTROOM FIX (VIA .vi-stream-row-inner)
   ========================================================================== */
   
/* 1. Forceer royale ademruimte tussen de artikelen */
.vi-section-stream .vi-stream-row-inner:not(:last-child) {
  margin-bottom: 2.25rem;
}

/* 2. Zorg dat de wrapper het artikel toestaat om te groeien */
.vi-section-stream .vi-stream-row-inner {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* 3. Het artikel zelf pakt de volledige beschikbare hoogte van zijn wrapper */
.vi-section-stream .vi-stream-row-inner .vi-stream-card {
  height: 100%;
  width: 100%;
}

/* ==========================================================================
   PROFESSIONELE REDACTIONELE LAY-OUT (NJB / MR. ONLINE STIJL)
   ========================================================================== */

/* 1. Herstel natuurlijke grid verhoudingen (geen geforceerde hoogtes) */
@media (min-width: 900px) {
  .vi-section-stream.vi-grid-70-30 {
    display: grid;
    grid-template-columns: 1fr 320px; /* Iets slankere, elegantere zijbalk */
    gap: 2.5rem;
    align-items: start; /* Hoogtes bepalen hun eigen, natuurlijke ruimte */
  }
}

/* 2. Artikelenstroom: Compactere foto's in een klassieke zij-aan-zij weergave */
.vi-stream-card {
  display: grid;
  grid-template-columns: 240px 1fr; /* Minder massieve foto, ruimte voor intro */
  gap: 1.75rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--vi-color-border);
  padding-bottom: 2rem;
  box-shadow: none;
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.vi-stream-card:hover {
  transform: none;
  box-shadow: none;
  border-bottom-color: var(--vi-color-primary);
}

.vi-stream-card__media {
  height: 160px; /* Vaste, bescheiden hoogte */
  border-radius: 4px;
}

.vi-stream-card__content {
  padding: 0;
  justify-content: flex-start;
}

/* 3. Profielblok: Wit, rustig en gezaghebbend */
.vi-profile-card,
[class*="block-content-profielblok"] {
  background-color: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-top: 3px solid var(--vi-color-primary);
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
  color: var(--vi-color-text);
  border-radius: 4px;
}

.vi-profile-card__name {
  color: var(--vi-color-primary);
}

.vi-profile-card__bio p {
  color: var(--vi-color-muted);
}

.vi-profile-card__btn {
  background-color: transparent;
  border: 1px solid var(--vi-color-gold);
  color: var(--vi-color-primary);
}

.vi-profile-card__btn:hover {
  background-color: var(--vi-color-gold);
  color: #ffffff;
}

/* 4. Zijbalk sticky maken (Scrolt elegant mee met lange artikelenstroom) */
.vi-sticky-wrapper {
  position: sticky;
  top: 2rem;
  margin-top: 2.5rem;
}

/* ==========================================================================
   HEADER & ZOEKBALK (SCHONE STRUCTUUR)
   ========================================================================== */

/* Zorg dat de region-inner als flex-container fungeert en alles rechts uitlijnt */
.vi-header__nav .vi-region-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

/* Forceer het menu zelf op één horizontale lijn */
.vi-header__nav .vi-region-inner ul.menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

/* Zoekblok specifiek aanspreken via de door Drupal gegenereerde class */
.vi-header__nav .search-block-form {
  display: flex;
  align-items: center;
  margin: 0;
}

.vi-header__nav .search-block-form label {
  display: none;
}

/* Vormgeving Zoekveld (Standaard verborgen) */
.vi-header__nav .search-block-form input[type="search"],
.vi-header__nav .search-block-form input[type="text"] {
  height: 34px;
  width: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 4px 0 0 4px;
  background-color: transparent;
  font-size: 0.85rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Vormgeving Zoekveld (Geopend) */
.vi-header__nav .search-block-form.is-search-open input[type="search"],
.vi-header__nav .search-block-form.is-search-open input[type="text"] {
  width: 220px;
  padding: 0 0.75rem;
  border-color: var(--vi-color-border);
  border-right: none;
  background-color: #fdfbf9;
  opacity: 1;
  visibility: visible;
}

/* Zoekknop (Standaard: subtiel als een tekstlink) */
.vi-header__nav .search-block-form input[type="submit"] {
  height: 34px;
  background-color: transparent;
  color: var(--vi-color-text);
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vi-header__nav .search-block-form:not(.is-search-open) input[type="submit"]:hover {
  color: var(--vi-color-primary);
}

/* Zoekknop (Geopend: duidelijk en klikbaar) */
.vi-header__nav .search-block-form.is-search-open input[type="submit"] {
  background-color: var(--vi-color-primary);
  color: #ffffff;
  border: 1px solid var(--vi-color-primary);
  border-radius: 0 4px 4px 0;
  padding: 0 1rem;
  font-size: 0.75rem;
}

.vi-header__nav .search-block-form.is-search-open input[type="submit"]:hover {
  background-color: var(--vi-color-gold);
  border-color: var(--vi-color-gold);
}

/* ==========================================================================
   BLIKVANGER: SLANK & PANORAMISCH REDACTIONEEL FORMAT
   ========================================================================== */

/* Maximaal slanke hoogte voor het top-grid */
.vi-section-hero .vi-blikvanger-card__top {
  display: grid;
  grid-template-columns: 50% 50%; /* Strakke 50/50 verdeling */
  max-height: 260px; /* Snijdt de overbodige hoogte strak af */
  overflow: hidden;
}

/* De afbeelding strak panoramisch snijden */
.vi-section-hero .vi-blikvanger-card__media {
  height: 260px;
  min-height: 260px;
}

.vi-section-hero .vi-blikvanger-card__media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 30%; /* Houdt het gebouw mooi in beeld */
}

/* Witruimte rondom titel en meta flink terugdringen */
.vi-section-hero .vi-blikvanger-card__content {
  padding: 1.25rem 2rem;
  justify-content: center;
}

.vi-section-hero .vi-blikvanger-card__title {
  font-size: 1.35rem; /* Subtieler redactioneel lettertype */
  margin: 0.4rem 0 0.2rem 0;
}

/* Inleidende tekst eronder compact aansluiten */
.vi-section-hero .vi-blikvanger-card__bottom {
  padding: 1rem 2rem 1.25rem 2rem;
}

/* ==========================================================================
   BLIKVANGER OPTISCHE BALANS & ADEMRUIMTE
   ========================================================================== */

/* 1. Geef de hele kaart een subtiele marge aan de bovenkant */
.vi-section-hero .vi-blikvanger-card {
  margin-top: 1rem;
}

/* 2. Geef de foto en inhoud een gelijke padding aan de boven- en zijkanten */
.vi-section-hero .vi-blikvanger-card__top {
  padding: 1.25rem 1.25rem 0 1.25rem; /* Creëert de optische witruimte boven de foto */
  gap: 1.75rem;
}

/* 3. Rond de hoeken van de afbeelding subtiel af binnen de kaart */
.vi-section-hero .vi-blikvanger-card__media {
  border-radius: 4px;
}

/* 4. Lijn de tekst in het rechterblok perfect verticaal uit met de foto */
.vi-section-hero .vi-blikvanger-card__content {
  padding: 0.5rem 0.75rem 0.5rem 0;
}

/* ==========================================================================
   HERSTELDE BLIKVANGER (55/45 RASTER + PERFECT GECENTREERDE TEKST)
   ========================================================================== */
.vi-section-hero .vi-blikvanger-card {
  background: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-top: 4px solid var(--vi-color-primary);
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-top: 1rem;
}

/* 1. Foto pakt 55% breedte tot aan de rode lijn, tekstkolom 45% */
.vi-section-hero .vi-blikvanger-card__top {
  display: grid;
  grid-template-columns: 55% 45% !important;
  width: 100%;
  max-height: none !important;
  padding: 0 !important;
  gap: 0 !important;
  align-items: stretch;
}

.vi-section-hero .vi-blikvanger-card__media {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border-radius: 0 !important;
}

.vi-section-hero .vi-blikvanger-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* 2. Rechterkolom: alles exact in het midden uitgelijnd */
.vi-section-hero .vi-blikvanger-card__content {
  padding: 2rem 2.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;     /* Horizontaal op het midden */
  justify-content: center !important;  /* Verticaal op het midden */
  text-align: center !important;      /* Tekstregels centreren */
  height: 100%;
  box-sizing: border-box;
}

/* A. Taxonomieterm (Bovenin het midden) */
.vi-section-hero .vi-blikvanger-card__badge {
  display: inline-block;
  background-color: #f4ecee;
  color: var(--vi-color-primary);
  font-family: var(--vi-font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  align-self: center !important;
}

/* B. Titel (Midden) */
.vi-section-hero .vi-blikvanger-card__title {
  font-family: var(--vi-font-serif);
  font-size: 1.85rem !important;
  font-weight: 700;
  line-height: 1.2;
  color: var(--vi-color-text);
  margin: 0 0 0.75rem 0 !important;
  text-align: center !important;
}

.vi-section-hero .vi-blikvanger-card__title a:hover {
  color: var(--vi-color-primary);
}

/* C. Auteur en Datum (Onderin het midden) */
.vi-section-hero .vi-blikvanger-card__meta {
  font-family: var(--vi-font-sans);
  font-size: 0.88rem;
  color: var(--vi-color-muted);
  margin: 0 !important;
  text-align: center !important;
}

/* Inleidende tekst eronder over de volle breedte */
.vi-section-hero .vi-blikvanger-card__bottom {
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--vi-color-border);
  background-color: #ffffff;
  font-family: var(--vi-font-sans);
  font-size: 0.92rem;
  line-height: 1.6;
  color: #333333;
}

/* ==========================================================================
   BLOCK: Hero Blikvanger (Strict BEM Structure)
   ========================================================================== */
.vi-section-hero .vi-blikvanger-card {
  background: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-top: 4px solid var(--vi-color-primary);
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  margin-top: 1rem;
}

.vi-section-hero .vi-blikvanger-card__top {
  display: grid;
  grid-template-columns: 55% 45%;
  width: 100%;
  max-height: none;
  padding: 0;
  gap: 0;
  align-items: stretch;
}

.vi-section-hero .vi-blikvanger-card__media {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border-radius: 0;
}

.vi-section-hero .vi-blikvanger-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.vi-section-hero .vi-blikvanger-card__content {
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}

.vi-section-hero .vi-blikvanger-card__badge {
  display: inline-block;
  background-color: #f4ecee;
  color: var(--vi-color-primary);
  font-family: var(--vi-font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  align-self: center;
}

.vi-section-hero .vi-blikvanger-card__title {
  font-family: var(--vi-font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--vi-color-text);
  margin: 0 0 0.75rem 0;
  text-align: center;
}

.vi-section-hero .vi-blikvanger-card__title a:hover {
  color: var(--vi-color-primary);
}

.vi-section-hero .vi-blikvanger-card__meta {
  font-family: var(--vi-font-sans);
  font-size: 0.88rem;
  color: var(--vi-color-muted);
  margin: 0;
  text-align: center;
}

.vi-section-hero .vi-blikvanger-card__bottom {
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--vi-color-border);
  background-color: #ffffff;
  font-family: var(--vi-font-sans);
  font-size: 0.92rem;
  line-height: 1.6;
  color: #333333;
}

/* ==========================================================================
   BLOCK: Hero Blikvanger (Met Witmarge Rondom de Afbeelding)
   ========================================================================== */
.vi-section-hero .vi-blikvanger-card {
  background: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-top: 3px solid var(--vi-color-primary);
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  margin-top: 1.5rem;
}

/* 1. Geef de topsectie witmarge aan boven-, links- en onderzijde */
.vi-section-hero .vi-blikvanger-card__top {
  display: grid;
  grid-template-columns: 50% 50%;
  width: 100%;
  padding: 1.25rem 1.25rem 0 1.25rem; /* Creëert de witmarge rond de afbeelding */
  gap: 1.5rem;
  box-sizing: border-box;
}

/* 2. De afbeelding krijgt afgeronde hoeken en blijft binnen de marge */
.vi-section-hero .vi-blikvanger-card__media {
  width: 100%;
  height: 220px;
  border-radius: 4px;
  overflow: hidden;
}

.vi-section-hero .vi-blikvanger-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* 3. Rechterkolom: Uitgelijnd op de hoogte van de afbeelding */
.vi-section-hero .vi-blikvanger-card__content {
  padding: 0.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}

.vi-section-hero .vi-blikvanger-card__badge {
  display: inline-block;
  background-color: #f4ecee;
  color: var(--vi-color-primary);
  font-family: var(--vi-font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  align-self: center;
}

.vi-section-hero .vi-blikvanger-card__title {
  font-family: var(--vi-font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--vi-color-text);
  margin: 0 0 0.4rem 0;
  text-align: center;
}

.vi-section-hero .vi-blikvanger-card__title a {
  color: inherit;
  text-decoration: none;
}

.vi-section-hero .vi-blikvanger-card__title a:hover {
  color: var(--vi-color-primary);
}

.vi-section-hero .vi-blikvanger-card__meta {
  font-family: var(--vi-font-sans);
  font-size: 0.8rem;
  color: var(--vi-color-muted);
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* 4. Onderkant: Introductietekst over de volle breedte met schone scheidingslijn */
.vi-section-hero .vi-blikvanger-card__bottom {
  margin-top: 1.25rem;
  padding: 1.15rem 1.75rem;
  border-top: 1px solid var(--vi-color-border);
  background-color: #ffffff;
  font-family: var(--vi-font-sans);
  font-size: 0.88rem;
  line-height: 1.5;
  color: #444444;
}

.vi-section-hero .vi-blikvanger-card__bottom a {
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--vi-color-primary);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   BLOCK: 70/30 Layout & Meest Gelezen (Exacte Hoogte zonder Layout Conflicts)
   ========================================================================== */

/* 1. Grid uitlijning: Bovenin uitgelijnd (geen kunstmatige stretch) */
@media (min-width: 900px) {
  .vi-section-stream.vi-grid-70-30 {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.25rem;
    align-items: start;
  }

  .vi-section-stream .vi-grid__main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  /* Reset zijbalk-wrappers naar hun natuurlijke inhoudshoogte */
  .vi-section-stream .vi-grid__sidebar,
  .vi-section-stream .vi-grid__sidebar .vi-region-inner,
  .vi-section-stream .vi-sticky-wrapper {
    height: auto;
    min-height: 0;
  }
}

/* 2. Linkerkolom: Vaste artikelkaart-hoogte */
.vi-stream-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  height: 165px;
}

.vi-stream-card__media {
  width: 100%;
  height: 100%;
}

.vi-stream-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vi-stream-card__content {
  padding: 1.25rem 1.5rem;
}

/* 3. Meest Gelezen: Exacte opvulling tot de rode lijn */
.vi-card-most-read,
[id*="meest-gelezen"] {
  background-color: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-radius: 8px;
  padding: 1.5rem 1.6rem 3.8rem 1.6rem; /* 3.8rem overbrugt exact de rode streep */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  width: 100%;
}

.vi-card-most-read h2,
[id*="meest-gelezen"] h2 {
  font-family: var(--vi-font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vi-color-primary);
  margin: 0 0 1rem 0;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--vi-color-primary);
  position: relative;
}

.vi-card-most-read h2::after,
[id*="meest-gelezen"] h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--vi-color-gold);
}

.vi-most-read-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.88rem 0;
  border-bottom: 1px solid var(--vi-color-border);
}

.vi-most-read-item:last-child {
  border-bottom: none;
  padding-bottom: 0.25rem;
}

.vi-most-read-item__date {
  font-family: var(--vi-font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--vi-color-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.vi-most-read-item__title {
  margin: 0;
  flex: 1 1 auto;
}

.vi-most-read-item__title a {
  font-family: var(--vi-font-serif);
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--vi-color-text);
  text-decoration: none;
  word-break: normal;
  display: block;
  transition: color 0.2s ease;
}

.vi-most-read-item__title a:hover {
  color: var(--vi-color-primary);
}

/* 1. Definieer de grid-secties (deze maken hun directe kolommen 100% even hoog) */
.vi-grid-50-50 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.vi-grid-70-30 {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 2rem;
}

/* 2. Zorg dat de directe grid-kolommen (main, sidebar, of lege divs in de 50-50) meerekken */
.vi-grid-50-50 > div,
.vi-grid-70-30 > .vi-grid__main,
.vi-grid-70-30 > .vi-grid__sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* 3. Dwing de specifieke Drupal region-wrappers (zichtbaar in je HTML) om de ruimte op te vullen */
.vi-grid-50-50 .vi-region-inner,
.vi-grid-70-30 .vi-region-inner {
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Neemt alle resterende hoogte in */
}

/* 4. Dwing het uiteindelijke block zélf om uit te rekken */
/* Pas ".block" aan als jouw thema een andere class gebruikt voor de blokken, bijv. ".vi-block" */
.vi-grid-50-50 .block,
.vi-grid-70-30 .block {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  /* Vanaf hier werkt je background-color of border correct! */
}

/* ==========================================================================
   1. RECENTE BESCHOUWINGEN (GRID)
   ========================================================================== */
.vi-recent-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
}

@media (min-width: 900px) {
  .vi-recent-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vi-recent-grid__item {
  display: flex; /* Forceert gelijke hoogtes over de rij */
}

.vi-recent-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vi-recent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(74, 21, 37, 0.08);
}

.vi-recent-card__media {
  width: 100%;
  height: 200px;
}

/* Forceer de Drupal afbeeldingsstijl om de kaart netjes te vullen */
.vi-recent-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vi-recent-card__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.5rem;
}

/* ==========================================================================
   2. THEMABLOKKEN (SLICK CARROUSEL)
   ========================================================================== */
.vi-section-themes {
  width: 100%;
  padding: 4rem 0;
}

.vi-section-themes__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.vi-section-themes__title {
  font-family: var(--vi-font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--vi-color-primary);
  display: inline-block;
  position: relative;
  padding-bottom: 1rem;
  margin: 0;
}

.vi-section-themes__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--vi-color-gold);
}

/* Overschrijf Slick met BEM specificiteit */
.vi-section-themes__carousel {
  position: relative;
  padding: 0 3.5rem; 
}

.vi-section-themes__carousel .slick-list {
  overflow: hidden;
  padding: 1rem 0; 
}

.vi-section-themes__carousel .slick-slider,
.vi-section-themes__carousel .slick-track,
.vi-section-themes__carousel .slick-slide {
  background: transparent;
  border: none;
}

.vi-section-themes__carousel .slick-track {
  display: flex;
  align-items: stretch;
}

.vi-section-themes__carousel .slick-slide {
  height: auto;
  display: flex;
  margin: 0 1rem;
}

.vi-section-themes__carousel .slick-slide > div {
  display: flex;
  width: 100%;
}

.vi-theme-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-top: 3px solid var(--vi-color-gold);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.vi-theme-card__content {
  flex-grow: 1;
}

/* Navigatiepijlen */
.vi-section-themes__carousel button.slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: transparent; /* Verbergt drupal 'Vorige' text */
  cursor: pointer;
}

.vi-section-themes__carousel button.slick-prev { left: -1rem; }
.vi-section-themes__carousel button.slick-next { right: -1rem; }

.vi-section-themes__carousel button.slick-arrow::before {
  font-family: sans-serif;
  font-size: 3rem;
  color: var(--vi-color-gold);
  display: block;
}

.vi-section-themes__carousel button.slick-prev::before { content: "‹"; }
.vi-section-themes__carousel button.slick-next::before { content: "›"; }

/* ==========================================================================
   1. RECENTE BESCHOUWINGEN (3-KOLOMS GRID)
   ========================================================================== */
.vi-recent-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .vi-recent-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vi-recent-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-radius: 6px;
  padding: 2rem;
  box-sizing: border-box;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.vi-recent-card__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* ==========================================================================
   2. THEMABLOKKEN (SLICK CARROUSEL)
   ========================================================================== */
.vi-section-themes {
  width: 100%;
  max-width: 1240px;
  margin: 4rem auto;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

/* BEM wrapper isoleert de breedte zodat kaarten niet van het scherm vallen */
.vi-section-themes__carousel {
  width: 100%;
  overflow: hidden;
  padding: 0 3rem;
  box-sizing: border-box;
}

/* Reset standaard Slick styling via CSS specificiteit */
.vi-section-themes__carousel .slick-slider,
.vi-section-themes__carousel .slick-list,
.vi-section-themes__carousel .slick-track {
  background: transparent;
  border: none;
}

.vi-section-themes__carousel .slick-track {
  display: flex;
  align-items: stretch; /* Dwingt gelijke kaart-hoogtes af */
}

.vi-section-themes__carousel .slick-slide {
  height: auto;
  margin: 0 1rem;
  display: flex;
}

.vi-theme-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-top: 3px solid var(--vi-color-gold);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.vi-theme-card__content {
  flex-grow: 1;
}

.vi-recent-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  width: 100%;
}

@media (min-width: 900px) {
  .vi-recent-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vi-recent-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vi-recent-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(74, 21, 37, 0.08);
}

.vi-recent-card__media {
  height: 200px;
  width: 100%;
  background-color: var(--vi-color-border);
}

.vi-recent-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vi-recent-card__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.5rem;
}

/* ==========================================================================
   THEMABLOKKEN CARROUSEL - DEFINITIEVE SLICK FIX
   ========================================================================== */

/* 1. Volledige breedte container */
.vi-section-themes {
  width: 100%;
  max-width: 1240px;
  margin: 4rem auto;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

/* 2. Carrousel Wrapper (biedt fysieke zij-ruimte voor de pijlen) */
.vi-theme-carousel {
  position: relative;
  width: 100%;
  padding: 0 3rem;
  box-sizing: border-box;
}

/* 3. Voorkom uitsnijden: Gebruik negatieve marge op de lijst om slide-padding te compenseren */
.vi-theme-carousel .slick-list {
  margin: 0 -1rem;
  overflow: hidden;
  padding: 1rem 0; /* Ruimte voor box-shadows */
}

.vi-theme-carousel .slick-slider,
.vi-theme-carousel .slick-track {
  background: transparent;
  border: none;
}

/* 4. Forceer Gelijke Hoogtes ZONDER Slick-breedtes te breken */
.vi-theme-carousel .slick-track {
  display: flex !important;
  align-items: stretch;
}

.vi-theme-carousel .slick-slide {
  height: auto !important;
  display: flex !important;
  float: none !important;
  padding: 0 1rem; /* GEBRUIK PADDING, GEEN MARGIN! Dit voorkomt het afvallen. */
  box-sizing: border-box;
}

.vi-theme-carousel .slick-slide > div {
  display: flex;
  width: 100%;
}

/* 5. De Kaart */
.vi-theme-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-top: 3px solid var(--vi-color-gold);
  border-radius: 6px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vi-theme-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(74, 21, 37, 0.08);
}

.vi-theme-card__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Zorgt dat de footer altijd de bodem raakt */
}

/* 6. Fixeer de Drupal navigatie wrapper */
.vi-theme-carousel nav.slick__arrow,
.vi-theme-carousel nav.slick-arrow {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0;
  z-index: 10;
  transform: translateY(-50%);
}

/* 7. Positioneer de pijlen exact op de randen */
.vi-theme-carousel button.slick-arrow,
.vi-theme-carousel button.slick-prev,
.vi-theme-carousel button.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: transparent; /* Verbergt drupal 'Vorige' text */
  font-size: 0;
  cursor: pointer;
  padding: 0;
}

.vi-theme-carousel button.slick-prev { left: 0; }
.vi-theme-carousel button.slick-next { right: 0; }

.vi-theme-carousel button.slick-arrow::before {
  font-family: sans-serif;
  font-size: 3.5rem;
  color: var(--vi-color-gold);
  line-height: 1;
  display: block;
}

.vi-theme-carousel button.slick-prev::before { content: "‹"; }
.vi-theme-carousel button.slick-next::before { content: "›"; }

/* 1. Volle breedte & ruimte voor pijlen */
.vi-section-themes__carousel {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 4rem; 
  box-sizing: border-box;
}

/* 2. Negatieve marge voorkomt dat kaarten van het scherm vallen */
.vi-section-themes__carousel .slick-list {
  margin: 0 -1rem;
  overflow: hidden;
}

.vi-section-themes__carousel .slick-track {
  display: flex;
  align-items: stretch;
}

/* 3. Dwing de ongewenste Drupal-wrappers tot flex-containers */
.vi-section-themes__carousel .slick-slide {
  height: auto;
  display: flex;
  margin: 0 1rem;
}

.vi-section-themes__carousel .slide__content {
  display: flex;
  width: 100%;
}

/* 4. Compacte, gelijke BEM Kaarten */
.vi-theme-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #ffffff;
  border: 1px solid var(--vi-color-border);
  border-top: 3px solid var(--vi-color-gold);
  border-radius: 4px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.vi-theme-card__content {
  flex-grow: 1; /* Duwt footer naar de bodem */
}

/* 5. Gezaghebbende Gouden Pijlen (verbergt Drupal teksten) */
.vi-section-themes__carousel button.slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  font-size: 0; 
  color: transparent;
  cursor: pointer;
  padding: 0;
}

.vi-section-themes__carousel button.slick-prev { left: 0; }
.vi-section-themes__carousel button.slick-next { right: 0; }

.vi-section-themes__carousel button.slick-arrow::before {
  font-family: sans-serif;
  font-size: 3.5rem;
  color: var(--vi-color-gold);
  line-height: 1;
  display: block;
}

.vi-section-themes__carousel button.slick-prev::before { content: "‹"; }
.vi-section-themes__carousel button.slick-next::before { content: "›"; }

/* 1. Ruimte maken voor de pijlen aan de buitenkant */
.vi-section-themes__carousel {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 4rem; /* Creëert 4rem ruimte aan beide zijkanten voor de pijlen */
  box-sizing: border-box;
}

/* 2. Basisstyling voor de knoppen */
.vi-section-themes__carousel button.slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  font-size: 0; 
  color: transparent;
  cursor: pointer;
  padding: 0;
}

/* 3. Pijlen strak op de rand uitlijnen */
.vi-section-themes__carousel button.slick-prev {
  left: 0;
}

.vi-section-themes__carousel button.slick-next {
  right: 0;
}

/* 4. De gouden karakters (verbergt de standaard Drupal/Slick tekst) */
.vi-section-themes__carousel button.slick-arrow::before {
  font-family: sans-serif;
  font-size: 3.5rem;
  color: var(--vi-color-gold);
  line-height: 1;
  display: block;
}

.vi-section-themes__carousel button.slick-prev::before {
  content: "‹";
}

.vi-section-themes__carousel button.slick-next::before {
  content: "›";
}

/* ==========================================================================
   MOBIELE LAY-OUT REPARATIES (OVERSCHRIJFT DESKTOP GRIDS)
   ========================================================================== */

@media (max-width: 899px) {
  /* 1. Verbreek de vaste desktop grids (70/30 en 50/50) */
  .vi-grid-70-30,
  .vi-grid-50-50 {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
  }

  /* 2. Artikelenstroom: Foto boven de tekst in plaats van ernaast */
  .vi-stream-card {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
  }

  .vi-stream-card__media {
    height: 220px !important;
    width: 100% !important;
    border-radius: 4px 4px 0 0 !important;
  }

  .vi-stream-card__content {
    padding: 1.5rem !important;
  }

  /* 3. Themablokken: Verklein de zijkant-marges zodat de kaart breedte krijgt */
  .vi-section-themes__carousel {
    padding: 0 1.5rem !important;
  }

  /* Zet de pijlen iets dichter op de rand en verklein ze proportioneel */
  .vi-section-themes__carousel button.slick-arrow::before {
    font-size: 2.2rem !important;
  }

  .vi-section-themes__carousel button.slick-prev {
    left: -0.5rem !important;
  }

  .vi-section-themes__carousel button.slick-next {
    right: -0.5rem !important;
  }

  /* 4. Meest Gelezen: Voorkom dat de titels overlappen met de datum */
  .vi-most-read-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
  }
}

/* Zachte achtergrond voor de Meest Gelezen zijbalk */
.vi-section-stream .vi-card-most-read,
[id*="meest-gelezen"] {
  background-color: #f6f4f0; /* Warm en zacht lichtgrijs */
  border: 1px solid #e8e4dc; /* Subtiel donkerdere rand voor diepte */
}

/* 1. Strakke horizontale uitlijning zonder verticale rek */
.vi-most-read-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 0; /* Behoudt exact je oorspronkelijke hoogte */
  border-bottom: 1px solid #e2ddd3;
}

.vi-most-read-item:last-child {
  border-bottom: none;
  padding-bottom: 0; /* Voorkomt onnodige opvulling aan de onderkant */
}

/* 2. Vaste breedte voor de datum, geen krimp, geen rek */
.vi-most-read-item__date {
  flex: 0 0 95px;
  white-space: nowrap;
  text-align: left;
}

/* 3. Titel vult de rest, breekt natuurlijk af, en dwingt de container niet open */
.vi-most-read-item__title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

/* ==========================================================================
   SPECIFIEKE STYLING VOOR EENVOUDIGE PAGINA'S (.node--type-page)
   ========================================================================== */

/* Breedte & centering uitsluitend voor Eenvoudige Pagina's */
.node--type-page {
  max-width: 720px;
  margin: 0 auto;
}

/* Typografie uitsluitend binnen Eenvoudige Pagina's */
.node--type-page .field--name-body {
  font-family: var(--vi-font-serif);
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--vi-color-text);
}

/* Huisstijl-links uitsluitend binnen Eenvoudige Pagina's */
.node--type-page .field--name-body a {
  color: var(--vi-color-primary-dark);
  text-decoration: underline;
  text-decoration-color: var(--vi-color-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: all 0.3s ease;
}

.node--type-page .field--name-body a:hover {
  color: var(--vi-color-gold-hover);
  text-decoration-color: var(--vi-color-primary-dark);
}

/* Drop cap (grote beginletter) uitsluitend op Eenvoudige Pagina's */
.node--type-page .field--name-body > p:first-of-type::first-letter {
  float: left;
  font-size: 4.5rem;
  line-height: 0.8;
  padding-right: 0.75rem;
  padding-top: 0.2rem;
  color: var(--vi-color-primary-dark);
  font-family: var(--vi-font-serif);
}

/* Pasfoto uitsluitend op Eenvoudige Pagina's */
.node--type-page .field--name-body img {
  max-width: 220px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 8px 24px rgba(74, 21, 37, 0.08);
}

/* ==========================================================================
   MOBIEL-FINETUNING VOOR EENVOUDIGE PAGINA'S (Schermen kleiner dan 768px)
   ========================================================================== */

@media (max-width: 767px) {
  /* Pasfoto centreren en volle ruimte geven */
  .node--type-page .field--name-body img,
  .node--type-page .field--name-body .align-right,
  .node--type-page .field--name-body .align-left {
    float: none !important;
    display: block;
    margin: 1.5rem auto !important;
    max-width: 180px; /* Iets kleiner op mobiel voor betere verhoudingen */
  }

  /* Drop cap iets subtieler maken voor kleine schermen */
  .node--type-page .field--name-body > p:first-of-type::first-letter {
    font-size: 3.5rem;
    padding-right: 0.5rem;
  }
  
  /* Voldoende zijmarges op telefoons */
  .node--type-page {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* ==========================================================================
   HERSTEL: PASFOTO & TYPOGRAFIE VOOR OVER MIJZELF
   ========================================================================== */

/* Zorg dat de tekst op afstand blijft van uitgelijnde afbeeldingen */
.node--type-page .field--name-body .align-right,
.node--type-page .field--name-body img[data-align="right"],
.node--type-page .field--name-body figure.align-right {
  float: right !important;
  margin: 0.25rem 0 1.5rem 2.5rem !important; /* Dwingt 2.5rem ruime afstand af aan de linkerkant van de foto */
  max-width: 200px;
}

/* Herstel de slotalinea: verwijder velblauw en koppel de huisstijlkleur */
.node--type-page .field--name-body p:last-of-type,
.node--type-page .field--name-body em {
  color: var(--vi-color-text-muted, #555555);
}

.node--type-page .field--name-body a,
.node--type-page .field--name-body a * {
  color: var(--vi-color-primary-dark) !important;
  text-decoration: underline !important;
  text-decoration-color: var(--vi-color-gold) !important;
  text-underline-offset: 4px;
}

.node--type-page .field--name-body a:hover {
  color: var(--vi-color-gold-hover) !important;
}

/* Voorkomt dat de float buiten de container valt */
.node--type-page .field--name-body::after {
  content: "";
  display: table;
  clear: both;
}



/* ==========================================================================
   HOOGWAARDIGE AUTEURSPAGINA STYLING
   ========================================================================== */

.vi-author-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1rem 5rem;
}

/* Kicker (klein bovenkopje) & Titel */
.vi-author-page__kicker {
  font-family: var(--vi-font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--vi-color-gold, #c59b27);
  margin-bottom: 0.5rem;
}

.vi-author-page__title {
  font-family: var(--vi-font-serif);
  font-size: 2.75rem;
  color: var(--vi-color-primary-dark, #3b0a1e);
  line-height: 1.15;
  margin: 0 0 1.5rem 0;
}

.vi-author-page__divider {
  width: 60px;
  height: 3px;
  background-color: var(--vi-color-gold, #c59b27);
  margin-bottom: 2.5rem;
}

/* Introductie-paragraaf (Lead) */
.vi-author-page__lead {
  font-family: var(--vi-font-serif);
  font-size: 1.35rem !important;
  line-height: 1.6 !important;
  color: var(--vi-color-primary-dark, #3b0a1e) !important;
  font-style: italic;
  margin-bottom: 2rem;
}

.vi-author-page__content p {
  font-family: var(--vi-font-serif);
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2c2c2c;
  margin-bottom: 1.5rem;
}

/* Luxe Auteurs-Card onderaan */
.vi-author-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: #fdfbf7; /* Subtiele warme, papieren achtergrond */
  border: 1px solid #e8e2d5;
  border-left: 4px solid var(--vi-color-primary-dark, #3b0a1e);
  padding: 2rem;
  margin-top: 3.5rem;
}

.vi-author-card__image {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%; /* Classiek rond auteursportret */
  border: 2px solid var(--vi-color-gold, #c59b27);
}

.vi-author-card__name {
  font-family: var(--vi-font-serif);
  font-size: 1.3rem;
  margin: 0 0 0.25rem 0;
  color: var(--vi-color-primary-dark, #3b0a1e);
}

.vi-author-card__meta {
  font-family: var(--vi-font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--vi-color-gold, #c59b27);
  margin-bottom: 0.75rem;
}

@media (max-width: 640px) {
  .vi-author-card {
    flex-direction: column;
    text-align: center;
  }
}

/* Subtiele kantoorlink in auteurscard */
.vi-author-card__meta a.vi-author-card__link {
  color: var(--vi-color-gold, #c59b27) !important;
  text-decoration: underline !important;
  text-decoration-color: rgba(197, 155, 39, 0.4) !important;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.vi-author-card__meta a.vi-author-card__link:hover {
  color: var(--vi-color-primary-dark, #3b0a1e) !important;
  text-decoration-color: var(--vi-color-primary-dark, #3b0a1e) !important;
}

/* Opschalen auteursportret in auteurscard */
.vi-author-card__image {
  width: 170px !important;       /* Was 130px: geeft het gezicht meer aanwezigheid */
  height: 200px !important;      /* Vult de verticale ruimte van het blok mooi uit */
  object-fit: cover !important;  /* Zorgt dat de foto niet vervormt of uitrekt */
  border-radius: 4px !important; /* Strakke, subtiel afgeronde hoeken i.p.v. een cirkel */
  border: 2px solid var(--vi-color-gold, #c59b27) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1) !important;
}

/* Zorg dat de afbeelding-wrapper niet te smal blijft */
.vi-author-card__image-wrapper {
  flex-shrink: 0;
}

/* ==========================================================================
   BEM BLOCK: ARTICLE DETAIL (Blogartikelen)
   ========================================================================== */

.vi-article-detail__featured-media {
  margin: 0 0 2rem 0;
  width: 100%;
}

.vi-article-detail__image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Afbeeldingen binnen de lopende artikeltekst */
.vi-article-detail__body img.align-right {
  float: right;
  margin: 0.5rem 0 1.5rem 2rem;
  max-width: 300px;
  height: auto;
}

.vi-article-detail__body img.align-left {
  float: left;
  margin: 0.5rem 2rem 1.5rem 0;
  max-width: 300px;
  height: auto;
}


/* ==========================================================================
   BEM BLOCK: AUTHOR PAGE & CARD (Over Mijzelf & Auteur)
   ========================================================================== */

.vi-author-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1rem 5rem;
}

.vi-author-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  background-color: #fdfbf7;
  border: 1px solid #e8e2d5;
  border-left: 4px solid var(--vi-color-primary-dark, #3b0a1e);
  padding: 2rem;
  margin-top: 3.5rem;
}

.vi-author-card__image-wrapper {
  flex-shrink: 0;
}

.vi-author-card__image {
  display: block;
  width: 170px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid var(--vi-color-gold, #c59b27);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   BEM BLOCK: VI-ARTICLE-DETAIL (Blog Post Full View)
   ========================================================================== */

/* Wrapper voor het hoofd-medium boven het artikel */
.vi-article-detail__featured-media {
  display: block;
  width: 100%;
  margin: 0 0 2.5rem 0;
  padding: 0;
  overflow: hidden;
  border-radius: 6px;
}

/* De afbeelding binnen het blogartikel: BEM Element selector */
.vi-article-detail__image,
.vi-article-detail__featured-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 0;
  margin: 0;
  float: none;
}

/* ==========================================================================
   BEM BLOCK: VI-AUTHOR-CARD (Auteurskaart op Over Mijzelf)
   ========================================================================== */

.vi-author-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  background-color: #fdfbf7;
  border: 1px solid #e8e2d5;
  border-left: 4px solid var(--vi-color-primary-dark, #3b0a1e);
  padding: 2rem;
  margin-top: 3.5rem;
}

.vi-author-card__image-wrapper {
  flex-shrink: 0;
}

.vi-author-card__image {
  display: block;
  width: 170px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid var(--vi-color-gold, #c59b27);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  margin: 0;
  float: none;
}

/* ==========================================================================
   RESPONSIVE (Mobiel-proof voor schermen < 640px)
   ========================================================================== */

@media (max-width: 639px) {
  .vi-author-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .vi-author-card__image {
    width: 140px;
    height: 165px;
    margin: 0 auto;
  }

  .vi-article-detail__featured-media {
    margin-bottom: 1.5rem;
    border-radius: 4px;
  }
}

/* ==========================================================================
   BEM BLOCK: VI-ARTICLE-DETAIL (Featured Media Isolation)
   ========================================================================== */

.vi-article-detail__featured-media {
  width: 100%;
  margin: 0 0 2.5rem 0;
  display: block;
}

.vi-article-detail__media-container {
  width: 100%;
  display: block;
}

/* BEM Child Target: Overschrijft generieke theme-stijlen via BEM-specificiteit */
.vi-article-detail__media-container img,
.vi-article-detail__media-container .field img,
.vi-article-detail__media-container .field__item img {
  display: block;
  float: none;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* ==========================================================================
   BEM BLOCK: VI-AUTHOR-CARD (Auteurskaart Over Mijzelf)
   ========================================================================== */

.vi-author-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  background-color: #fdfbf7;
  border: 1px solid #e8e2d5;
  border-left: 4px solid var(--vi-color-primary-dark, #3b0a1e);
  padding: 2rem;
  margin-top: 3.5rem;
}

.vi-author-card__image-wrapper {
  flex-shrink: 0;
}

.vi-author-card__image {
  display: block;
  width: 170px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid var(--vi-color-gold, #c59b27);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   RESPONSIVE (Mobiel-proof < 640px)
   ========================================================================== */

@media (max-width: 639px) {
  .vi-author-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .vi-author-card__image {
    width: 140px;
    height: 165px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   BEM BLOCK: VI-ARTICLE-DETAIL (Featured Media)
   ========================================================================== */

.vi-article-detail__featured-media {
  display: block;
  width: 100%;
  margin: 0 0 2.5rem 0;
  padding: 0;
}

.vi-article-detail__media-container {
  display: block;
  width: 100%;
}

/* BEM Element selector voor de omslagafbeelding */
.vi-article-detail__media-container img {
  display: block;
  float: none;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 0;
}

/* ==========================================================================
   BEM BLOCK: VI-AUTHOR-CARD (Auteurskaart op Over Mijzelf)
   ========================================================================== */

.vi-author-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  background-color: #fdfbf7;
  border: 1px solid #e8e2d5;
  border-left: 4px solid var(--vi-color-primary-dark, #3b0a1e);
  padding: 2rem;
  margin-top: 3.5rem;
}

.vi-author-card__image-wrapper {
  flex-shrink: 0;
}

.vi-author-card__image {
  display: block;
  width: 170px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid var(--vi-color-gold, #c59b27);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  margin: 0;
  float: none;
}

/* ==========================================================================
   RESPONSIVE (Mobiel-proof voor schermen < 640px)
   ========================================================================== */

@media (max-width: 639px) {
  .vi-author-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .vi-author-card__image {
    width: 140px;
    height: 165px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   BEM BLOCK: VI-ARTICLE-DETAIL (Blogartikel Omslagfoto)
   ========================================================================== */

.vi-article-detail__featured-media {
  display: block;
  width: 100%;
  margin: 0 0 2.5rem 0;
  padding: 0;
}

.vi-article-detail__media-container {
  display: block;
  width: 100%;
}

/* De afbeelding binnen het artikel: pakt 100% breedte zonder !important */
.vi-article-detail__media-container img {
  display: block;
  float: none;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 0;
}

/* ==========================================================================
   BEM BLOCK: VI-AUTHOR-CARD (Auteurskaart Over Mijzelf)
   ========================================================================== */

.vi-author-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  background-color: #fdfbf7;
  border: 1px solid #e8e2d5;
  border-left: 4px solid var(--vi-color-primary-dark, #3b0a1e);
  padding: 2rem;
  margin-top: 3.5rem;
}

.vi-author-card__image-wrapper {
  flex-shrink: 0;
}

.vi-author-card__image {
  display: block;
  width: 170px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid var(--vi-color-gold, #c59b27);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  margin: 0;
  float: none;
}

/* ==========================================================================
   RESPONSIVE (Mobiel-proof schermen < 640px)
   ========================================================================== */

@media (max-width: 639px) {
  .vi-author-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .vi-author-card__image {
    width: 140px;
    height: 165px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   BEM BLOCK: VI-ARTICLE-DETAIL HEADER (Typografische Hiërarchie Herstel)
   ========================================================================== */

.vi-article-detail__header {
  max-width: 760px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 1. Kicker / Thema bovenkopje */
.vi-article-detail__kicker {
  font-family: var(--vi-font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--vi-color-gold);
  margin-bottom: 0.75rem;
}

/* 2. Artikel Hoofdtitel (Dominant & Redactioneel) */
.vi-article-detail__title {
  font-family: var(--vi-font-serif);
  font-size: 2.65rem;
  font-weight: 700;
  line-height: 1.18;
  color: var(--vi-color-primary);
  margin: 0 0 1rem 0;
  letter-spacing: -0.015em;
}

/* 3. Auteur & Datum Meta */
.vi-article-detail__meta {
  font-family: var(--vi-font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vi-color-muted);
  margin-bottom: 1.25rem;
}

.vi-article-detail__author {
  color: var(--vi-color-text);
}

.vi-article-detail__sep {
  margin: 0 0.45rem;
  color: var(--vi-color-border);
}

/* 4. Subtiele Taalschakelaar Container */
.vi-article-detail__language-row {
  margin-bottom: 1.25rem;
}

.vi-article-detail__language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #f6f3ee;
  border: 1px solid var(--vi-color-border);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-family: var(--vi-font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.vi-article-detail__lang-item {
  color: var(--vi-color-muted);
  text-decoration: none;
  padding: 0 0.15rem;
  transition: color 0.2s ease;
}

.vi-article-detail__lang-item.is-active {
  color: var(--vi-color-primary);
  font-weight: 800;
  border-bottom: 2px solid var(--vi-color-gold);
}

a.vi-article-detail__lang-item:hover {
  color: var(--vi-color-gold);
}

.vi-article-detail__lang-sep {
  color: #d0c8be;
  font-size: 0.68rem;
}

/* 5. Social Share & Reacties Balk */
.vi-article-detail__share {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  border-top: 1px solid var(--vi-color-border);
  border-bottom: 1px solid var(--vi-color-border);
  width: 100%;
  max-width: 520px;
  justify-content: center;
}

.vi-article-detail__share-label {
  font-family: var(--vi-font-sans);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vi-color-muted);
}

.vi-article-detail__share-btn {
  font-family: var(--vi-font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--vi-color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.vi-article-detail__share-btn:hover {
  color: var(--vi-color-gold);
}

.vi-article-detail__share-sep {
  color: var(--vi-color-border);
}

/* 6. Responsive Tuning voor Mobiel */
@media (max-width: 768px) {
  .vi-article-detail__title {
    font-size: 2rem;
  }
  
  .vi-article-detail__share {
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
  }
}

/* ==========================================================================
   BASISPAGINA'S (Privacyverklaring, Over Mijzelf, etc.)
   ========================================================================== */

/* 1. Leesbare breedte uitsluitend voor de daadwerkelijke pagina-inhoud */
#main-content article:not(.vi-blikvanger-card):not(.vi-taxonomy-card) {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* 2. Opmaak voor de tussenkopjes (H2, H3) */
#main-content article:not(.vi-blikvanger-card):not(.vi-taxonomy-card) h2 {
  font-family: var(--vi-font-serif);
  font-size: 1.75rem;
  color: var(--vi-color-primary-dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--vi-color-border);
  padding-bottom: 0.5rem;
}

#main-content article:not(.vi-blikvanger-card):not(.vi-taxonomy-card) h3 {
  font-family: var(--vi-font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

/* 3. Redactionele styling voor tabellen (zoals Artikel 2) */
#main-content article:not(.vi-blikvanger-card):not(.vi-taxonomy-card) table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 1rem;
}

#main-content article:not(.vi-blikvanger-card):not(.vi-taxonomy-card) th,
#main-content article:not(.vi-blikvanger-card):not(.vi-taxonomy-card) td {
  border: 1px solid var(--vi-color-border);
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
}

#main-content article:not(.vi-blikvanger-card):not(.vi-taxonomy-card) th {
  background-color: var(--vi-color-bg);
  font-weight: 700;
  color: var(--vi-color-text);
}

#main-content article:not(.vi-blikvanger-card):not(.vi-taxonomy-card) tr:nth-child(even) {
  background-color: #faf9f6; 
}

/* ==========================================================================
   BEM BLOCK: VI-COOKIE-BANNER
   ========================================================================== */

/* De module forceert zelf de positionering (bottom: 0) via JavaScript op de parent. 
   Wij stijlen uitsluitend onze eigen BEM-component. */

.vi-cookie-banner {
  background-color: var(--vi-color-primary-dark);
  border-top: 3px solid var(--vi-color-gold);
  padding: 1.25rem 0;
  width: 100%;
}

.vi-cookie-banner__inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 2rem;
}

.vi-cookie-banner__message {
  color: #ffffff;
  font-family: var(--vi-font-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: left;
}

.vi-cookie-banner__message a {
  color: var(--vi-color-gold);
  font-weight: 700;
  text-decoration: underline;
}

.vi-cookie-banner__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-shrink: 0;
}

.vi-cookie-banner__btn {
  font-family: var(--vi-font-sans);
  font-weight: 700;
  border-radius: 4px;
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 2px solid var(--vi-color-gold);
}

.vi-cookie-banner__btn--accept {
  background-color: var(--vi-color-gold);
  color: var(--vi-color-primary-dark);
}

.vi-cookie-banner__btn--decline {
  background-color: transparent;
  color: var(--vi-color-gold);
}

.vi-cookie-banner__btn:hover {
  background-color: #ffffff;
  color: var(--vi-color-primary-dark);
  border-color: #ffffff;
}

/* Responsieve weergave voor mobiel */
@media (max-width: 850px) {
  .vi-cookie-banner__inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .vi-cookie-banner__message {
    text-align: center;
  }
  
  .vi-cookie-banner__actions {
    flex-direction: column;
    width: 100%;
  }
  
  .vi-cookie-banner__btn {
    width: 100%;
  }
}

/* ==========================================================================
   REGISTRATIEFORMULIER (BEM + SPECIFIEKE ROL-SELECTION FIX)
   ========================================================================== */

/* 1. Reset de fieldset wrapper */
.vi-auth-card fieldset[id^="edit-select-roles"] {
  border: 1px solid var(--vi-color-border);
  border-radius: 6px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  background-color: #faf9f6;
  text-align: left !important;
}

/* 2. Zorg dat de titel links staat */
.vi-auth-card fieldset[id^="edit-select-roles"] legend {
  text-align: left !important;
  float: left;
  width: 100%;
  margin-bottom: 0.75rem;
}

.vi-auth-card fieldset[id^="edit-select-roles"] legend .js-form-required {
  font-family: var(--vi-font-serif);
  font-weight: 700;
  color: var(--vi-color-primary-dark);
  font-size: 1.05rem;
}

/* 3. Dwing elke optie (checkbox + label) strak op 1 horizontale rij */
.vi-auth-card fieldset[id^="edit-select-roles"] .form-type-checkbox,
.vi-auth-card fieldset[id^="edit-select-roles"] .js-form-type-checkbox {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 0.75rem !important;
  margin-bottom: 0.6rem !important;
  text-align: left !important;
  clear: both;
}

/* 4. Reset van het checkbox-element zelf */
.vi-auth-card fieldset[id^="edit-select-roles"] input[type="checkbox"] {
  margin: 0 !important;
  width: 1.15rem !important;
  height: 1.15rem !important;
  accent-color: var(--vi-color-primary) !important;
  cursor: pointer;
  flex-shrink: 0;
}

/* 5. Label strak naast het vinkje */
.vi-auth-card fieldset[id^="edit-select-roles"] label {
  margin: 0 !important;
  font-family: var(--vi-font-sans) !important;
  font-size: 0.95rem !important;
  color: var(--vi-color-text) !important;
  cursor: pointer;
  text-align: left !important;
}

/* ==========================================================================
   BEM: REGISTRATIEPAGINA OVERRIDES
   ========================================================================== */

/* Verberg de registratielink uitsluitend op de registratiepagina zelf */
body.path-user-register .vi-auth-option[href*="register"],
body.path-user-register .vi-auth-option[href*="inschrijven"] {
  display: none;
}