/* ============================================
   JONGFINANCIËEL - CSS STYLES
   Organized by UI component with clear sections
   ============================================ */

/* ============================================
   CSS VARIABLES
   Color palette for consistent theming
   ============================================ */
:root {
  --ink: #12233F;        /* Primary dark text */
  --ink-soft: #30465F;   /* Secondary text */
  --paper: #FCF8F1;      /* Background paper color */
  --panel: #F6EFE1;      /* Cards and panels */
  --gold: #B47C24;       /* Accent color */
  --teal: #2A6C5A;       /* Success/positive */
  --mint: #DDEDE4;       /* Light mint */
  --peach: #F8E2CF;      /* Light peach */
  --line: rgba(18,35,63,0.14);    /* Borders */
  --line-soft: rgba(18,35,63,0.08); /* Soft borders */
  --white: #FFFFFF;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #FFFDF8 0%, var(--paper) 100%);
  color: var(--ink);
  line-height: 1.7;
}


/* ============================================
   UTILITIES
   Grid wrapper for consistent page width
   ============================================ */
.wrap { 
  max-width: 1160px; 
  margin: 0 auto; 
  padding: 0 24px; 
}

/* ============================================
   UTILITY BAR
   Top bar with site info
   ============================================ */

/* ============================================
   HEADER SEARCH
   Inline search field in the header row
   ============================================ */
.header-search {
  flex: 1;
  max-width: 320px;
  margin: 0 auto 0 32px;
}

.header-search__inner {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  height: 38px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.header-search__inner:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(180, 124, 36, 0.10);
  background: var(--white);
}

.header-search__icon {
  color: rgba(18, 35, 63, 0.4);
  flex-shrink: 0;
  pointer-events: none;
}

.header-search__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  color: var(--ink);
  min-width: 0;
}

.header-search__input::placeholder {
  color: rgba(18, 35, 63, 0.38);
}

.header-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .header-search {
    display: none;
  }
}

/* ============================================
   MOBILE SEARCH TOGGLE BUTTON
   Shown next to the hamburger on ≤900px
   ============================================ */
.header-controls {
  display: none;        /* hidden on desktop — menu-toggle handles its own visibility */
  align-items: center;
  gap: 8px;
}

.mobile-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.mobile-search-toggle:hover,
.mobile-search-toggle[aria-expanded="true"] {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================
   MOBILE SEARCH BAR PANEL
   Slides down from the header on mobile
   ============================================ */
.mobile-search-bar {
  border-top: 1px solid var(--line-soft);
  padding: 0 0;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.22s ease, opacity 0.18s ease, padding 0.22s ease;
}

.mobile-search-bar.is-open {
  max-height: 80px;
  opacity: 1;
  padding: 10px 0;
}

.mobile-search-form__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 10px 0 14px;
  height: 40px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mobile-search-form__inner:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(180, 124, 36, 0.10);
  background: var(--white);
}

.mobile-search-form__inner svg:first-child {
  color: rgba(18, 35, 63, 0.38);
  flex-shrink: 0;
}

.mobile-search-form__inner input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  min-width: 0;
}

.mobile-search-form__inner input::placeholder {
  color: rgba(18, 35, 63, 0.38);
}

.mobile-search-form__inner input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.mobile-search-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 999px;
  transition: color 0.12s ease, background 0.12s ease;
}

.mobile-search-close:hover {
  color: var(--ink);
  background: var(--line-soft);
}

@media (max-width: 900px) {
  .header-controls {
    display: flex;
  }

  /* Move menu-toggle inside header-controls so its own display:none rule still fires */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: #000000;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
}


/* ============================================
   SITE HEADER
   Logo, navigation, and menu toggle
   ============================================ */
.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(252,248,241,0.95);
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  z-index: 29;   /* fixed above the menu backdrop */
}
.site-header .wrap { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 18px; 
}

/* Logo styles */
.logo { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  color: inherit; 
  text-decoration: none; 
}
.logo .mark {
  width: 40px; 
  height: 40px; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  border: 1.5px solid var(--ink); 
  border-radius: 14px; 
  background: linear-gradient(135deg, var(--peach), var(--mint));
  font-family: 'Source Serif 4', serif; 
  font-weight: 700; 
  transform: rotate(-6deg);
}
.logo .name { 
  font-family: 'Source Serif 4', serif; 
  font-size: 19px; 
  font-weight: 700; 
  display: block; 
}
.logo .sub { 
  display: block; 
  font-size: 11px; 
  letter-spacing: .05em; 
  text-transform: uppercase; 
  color: rgba(18,35,63,0.55); 
}

/* Menu toggle (mobile only) */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: #000000;
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.menu-toggle__icon {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
}
.menu-toggle__icon span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #000000;
  display: block;
}

/* Main navigation */
.site-nav { 
  display: flex; 
  gap: 20px; 
  flex-wrap: wrap; 
}
.site-nav a { 
  font-weight: 600; 
  color: #000000; 
  text-decoration: none; 
}
.site-nav a:hover { 
  color: var(--gold); 
}

/* ============================================
   MENU BACKDROP
   Overlay when mobile menu is open
   ============================================ */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 35, 63, 0.38);
  backdrop-filter: blur(2px);
  z-index: 28;
}

body.menu-open {
  overflow: hidden;
}

/* ============================================
   MAIN LAYOUT
   Page structure and grid
   ============================================ */
main { 
  padding: 56px 0 72px; 
}

.page-layout {
  width: min(1720px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.page-content {
  min-width: 0;
}
.page-content > .wrap {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* ============================================
   PAGE CONTENT FULL (Homepage)
   Full width content without sidebar
   ============================================ */
.page-content-full {
  width: 100%;
}
.page-content-full > .wrap {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  display: grid; 
  grid-template-columns: 1.2fr .8fr; 
  gap: 36px; 
  align-items: start; 
  margin-bottom: 28px;
}

/* ============================================
   PAGE CARDS
   Content cards with styling
   ============================================ */
.page-card {
  display: block;
  width: 100%;
  background: var(--white); 
  border: 1px solid var(--line); 
  border-radius: 24px; 
  box-shadow: 0 14px 40px rgba(18,35,63,0.08);
  padding: 32px;
}
.page-card--feature { 
  padding: 36px; 
}
.page-card--feature h1 { 
  font-size: 2.5rem; 
  margin-bottom: 16px; 
}
.page-card--feature p { 
  font-size: 1rem; 
  color: var(--ink-soft); 
}

/* ============================================
   EYEBROW TAGS
   Small uppercase labels
   ============================================ */
.eyebrow {
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  font-size: 12px; 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: .06em;
  color: var(--teal); 
  margin-bottom: 16px;
}


/* ============================================
   ARTICLE LAYOUT
   ============================================ */
.article-layout { 
  display: block; 
}

/* ============================================
   PAGE MENU (DESKTOP STICKY MENU)
   ============================================ */
.page-menu {
  background: var(--panel); 
  border: 1px solid var(--line); 
  border-radius: 16px; 
  padding: 16px 18px; 
  height: fit-content;
  position: sticky;
  top: 108px;
}

/* Menu header (title + close button) */
.page-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.page-menu h3 { 
  font-size: 0.98rem; 
  margin-bottom: 0; 
  color: #000000; 
}
.page-menu__close {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: #000000;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

/* Menu list and items */
.page-menu ul { 
  list-style: none; 
  padding-left: 0; 
  margin: 0; 
}
.page-menu li { 
  margin-bottom: 6px; 
  padding-left: 12px;
}
.page-menu a, 
.page-menu span { 
  color: #000000; 
  text-decoration: none; 
  display: inline-block;
  line-height: 1.5;
}
.page-menu a:hover { 
  color: var(--gold); 
}
.page-menu a.is-active { 
  color: var(--gold); 
  font-weight: 700; 
}

/* Spacing between top-level menu items */
.page-menu__list > li + li { 
  margin-top: 12px; 
}

/* Menu item styling */
.page-menu__item > span,
.page-menu__item > a {
  font-weight: 600;
}

/* Details/summary for expandable menu sections */
.page-menu__details {
  display: block;
}
.page-menu__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  color: #000000;
  font-weight: 600;
  line-height: 1.5;
}
.page-menu__summary::-webkit-details-marker {
  display: none;
}
.page-menu__chevron {
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid #000000;
  border-bottom: 2px solid #000000;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  flex: 0 0 auto;
}
.page-menu__details[open] > .page-menu__summary .page-menu__chevron {
  transform: rotate(225deg);
}

/* Children container (nested menu items) */
.page-menu__children {
  margin-top: 6px;
  padding-left: 12px;
  border-left: 2px solid rgba(0, 0, 0, 0.12);
}

/* Nested menu list */
.page-menu__list--nested {
  margin-top: 6px;
  padding-left: 12px;
  border-left: 2px solid rgba(0, 0, 0, 0.12);
}
.page-menu__list--nested .page-menu__item {
  margin-bottom: 5px;
  padding-left: 0;
}

/* Typography by nesting level */
.page-menu__item--level-0 > span,
.page-menu__item--level-0 > a,
.page-menu__summary {
  font-family: 'Source Serif 4', serif;
  font-size: 0.92rem;
}
.page-menu__item--level-1 > span,
.page-menu__item--level-1 > a,
.page-menu__item--level-2 > span,
.page-menu__item--level-2 > a,
.page-menu__item--level-3 > span,
.page-menu__item--level-3 > a {
  font-size: 0.88rem;
}

/* ============================================
   TYPOGRAPHY
   Headings and body text
   ============================================ */
h1, h2, h3 { 
  font-family: 'Source Serif 4', serif; 
  margin-bottom: 12px; 
}
h1 { 
  font-size: 2.2rem; 
  margin-bottom: 18px; 
}
h2 { 
  font-size: 1.5rem; 
  margin-top: 24px; 
}
h3 { 
  font-size: 1.2rem; 
  margin-top: 16px; 
}

p, li, blockquote, table { 
  color: var(--ink-soft); 
}

strong, b {
  font-weight: 700;
  color: var(--ink);
}

blockquote {
  border-left: 3px solid var(--gold); 
  padding-left: 16px; 
  margin: 20px 0; 
  font-style: italic;
  color: var(--ink);
}

/* ============================================
   MARKDOWN CONTENT
   Styles for generated article content
   ============================================ */
.markdown-content {
  overflow-x: auto;
}

.markdown-content table {
  min-width: 100%;
  width: max-content;
  border-collapse: collapse;
  margin: 18px 0;
}
.markdown-content th,
.markdown-content td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.markdown-content thead th {
  background: var(--panel);
  color: var(--ink);
}
.markdown-content tbody tr:nth-child(even) td {
  background: rgba(246, 239, 225, 0.35);
}

code { 
  background: var(--panel); 
  padding: 2px 5px; 
  border-radius: 4px; 
}

pre { 
  background: var(--panel); 
  padding: 16px; 
  border-radius: 12px; 
  overflow-x: auto; 
  margin: 16px 0; 
}

ul { 
  padding-left: 20px; 
  margin-bottom: 12px; 
}

ol { 
  padding-left: 20px; 
  margin-bottom: 12px; 
}

table { 
  width: 100%; 
  border-collapse: collapse; 
  margin: 18px 0; 
}
th, td { 
  border: 1px solid var(--line); 
  padding: 10px; 
  text-align: left; 
}

/* ============================================
   SITE FOOTER (herzien)
   ============================================ */
.site-footer {
  padding: 56px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--panel);
  margin-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 320px;
}

.footer-tagline {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.footer-col h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-note {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.footer-cta {
  align-self: flex-start;
  padding: 10px 18px;
  font-size: 0.92rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
}

.footer-bottom p {
  color: rgba(18,35,63,0.6);
  font-size: 0.88rem;
  margin-bottom: 0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-legal a {
  color: rgba(18,35,63,0.6);
  text-decoration: none;
  font-size: 0.88rem;
}

.footer-legal a:hover {
  color: var(--gold);
}

.footer-legal span {
  color: rgba(18,35,63,0.3);
}

/* Responsive */
@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
  }
    .mobile-search-bar .wrap {
    display: block;
    width: 100%;
  }

  .mobile-search-form {
    width: 100%;
  }
}


@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================
   RELATED ARTICLES
   Related articles section at bottom of pages
   ============================================ */
.related-articles {
  margin-top: 48px;
}

.related-articles h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-article-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.related-article-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(18,35,63,0.1);
}

.related-article-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
  color: var(--ink);
}

.related-article-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--ink-soft);
}

/* ============================================
   TABLE OF CONTENTS
   Auto-generated TOC on article pages
   ============================================ */
.table-of-contents-wrapper {
  margin-bottom: 28px;
}

.table-of-contents {
  background: linear-gradient(135deg, var(--mint) 0%, var(--peach) 100%);
  border: 2px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 3px 12px rgba(18, 35, 63, 0.05);
  position: relative;
  overflow: hidden;
}

.table-of-contents h3 {
  font-family: 'Source Serif 4', serif;
  font-size: 1.05rem;
  margin: 0;
  padding: 18px 22px;
  color: var(--ink);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease;
  border-bottom: 2px solid transparent;
}

.table-of-contents.is-collapsed h3 {
  border-bottom: none;
}

.table-of-contents h3:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.table-of-contents h3::before {
  content: '📑';
  font-size: 1.3rem;
  margin-right: 10px;
}

.table-of-contents h3::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid var(--ink);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.table-of-contents.is-collapsed h3::after {
  transform: rotate(-90deg);
}

.table-of-contents ul {
  list-style: none;
  padding: 0 22px 20px 22px;
  margin: 0;
  max-height: 2000px;
  overflow: hidden;
  transition: all 0.35s ease;
  opacity: 1;
}

.table-of-contents.is-collapsed ul {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

.table-of-contents li {
  margin-bottom: 7px;
  position: relative;
}

.table-of-contents li:last-child {
  margin-bottom: 0;
}

.table-of-contents a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.93rem;
  line-height: 1.5;
  display: inline-block;
  padding: 3px 0;
  transition: all 0.2s ease;
  font-weight: 500;
  position: relative;
}

.table-of-contents a::before {
  content: '→';
  margin-right: 7px;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.2s ease;
  display: inline-block;
  font-weight: 700;
}

.table-of-contents a:hover {
  color: var(--gold);
  transform: translateX(3px);
}

.table-of-contents a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Indentation for nested headings */
.table-of-contents .level-1 {
  padding-left: 0;
}

.table-of-contents .level-1 a {
  font-weight: 600;
  font-size: 0.95rem;
}

.table-of-contents .level-2 {
  padding-left: 20px;
}

.table-of-contents .level-2 a {
  font-size: 0.89rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.table-of-contents .level-3 {
  padding-left: 36px;
}

.table-of-contents .level-3 a {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 400;
}

/* Mobile responsive TOC */
@media (max-width: 600px) {
  .table-of-contents h3 {
    padding: 16px 18px;
    font-size: 1rem;
  }

  .table-of-contents ul {
    padding: 0 18px 16px 18px;
  }
  
  .table-of-contents .level-2 {
    padding-left: 16px;
  }
  
  .table-of-contents .level-3 {
    padding-left: 28px;
  }
}

/* ============================================
   EXPERIENCE CARD
   Personal experience/testimonial component
   ============================================ */
.experience-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(246, 239, 225, 0.6));
  border: 2px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 20px;
  padding: 28px;
  margin: 32px 0;
  box-shadow: 0 8px 24px rgba(18, 35, 63, 0.08);
  position: relative;
  overflow: hidden;
}

.experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(180, 124, 36, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(40%, -40%);
  pointer-events: none;
}

.experience-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.experience-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--mint);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 3px solid var(--white);
  box-shadow: 0 4px 12px rgba(18, 35, 63, 0.12);
}

.experience-card__avatar--default {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  background: linear-gradient(135deg, var(--mint), var(--teal));
}

.experience-card__meta {
  flex: 1;
  min-width: 0;
}

.experience-card__name {
  font-family: 'Source Serif 4', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.experience-card__details {
  font-size: 0.9rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.experience-card__separator {
  color: rgba(18, 35, 63, 0.3);
}

.experience-card__quote {
  position: relative;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: rgba(180, 124, 36, 0.06);
  border-radius: 12px;
  border-left: 3px solid var(--gold);
}

.experience-card__quote-icon {
  position: absolute;
  top: 12px;
  right: 16px;
  color: var(--gold);
  opacity: 0.2;
  width: 32px;
  height: 32px;
}

.experience-card__quote p {
  margin: 0;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.experience-card__content {
  color: var(--ink-soft);
  line-height: 1.7;
}

.experience-card__content p {
  margin-bottom: 14px;
}

.experience-card__content p:last-child {
  margin-bottom: 0;
}

.experience-card__content strong {
  color: var(--ink);
  font-weight: 600;
}

/* Mobile responsive */
@media (max-width: 600px) {
  .experience-card {
    padding: 20px;
    margin: 24px 0;
  }

  .experience-card__header {
    gap: 12px;
  }

  .experience-card__avatar {
    width: 48px;
    height: 48px;
  }

  .experience-card__name {
    font-size: 1.05rem;
  }

  .experience-card__quote {
    padding: 14px 16px;
  }

  .experience-card__quote p {
    font-size: 0.98rem;
  }
}

/* ============================================
   CONTENT COMPONENTS
   Interactive educational components for articles
   ============================================ */

/* Tip-box Component */
.tip-box {
  background: var(--mint);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
}

.tip-box__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.tip-box__icon {
  font-size: 24px;
  flex-shrink: 0;
}

.tip-box__title {
  font-weight: 600;
  color: var(--ink);
  margin: 0;
}

.tip-box__content {
  color: var(--ink-soft);
  line-height: 1.6;
}

.tip-box__content p {
  margin-bottom: 10px;
}

.tip-box__content p:last-child {
  margin-bottom: 0;
}

/* Warning-box Component */
.warning-box {
  background: #FFF4E6;
  border: 1px solid rgba(230, 126, 34, 0.2);
  border-left: 4px solid #E67E22;
  border-radius: 16px;
  padding: 20px;
  margin: 20px 0;
}

.warning-box__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.warning-box__icon {
  font-size: 24px;
  flex-shrink: 0;
}

.warning-box__title {
  font-weight: 700;
  color: #E67E22;
  margin: 0;
}

.warning-box__content {
  color: var(--ink);
  line-height: 1.6;
}

.warning-box__content p {
  margin-bottom: 10px;
}

.warning-box__content p:last-child {
  margin-bottom: 0;
}

/* Pros-Cons Comparison Component */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}

.pros-cons__column {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.pros-cons__column--pros {
  border-left: 4px solid var(--teal);
}

.pros-cons__column--cons {
  border-left: 4px solid #E67E22;
}

.pros-cons__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pros-cons__icon {
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.pros-cons__column--pros .pros-cons__icon {
  color: var(--teal);
}

.pros-cons__column--cons .pros-cons__icon {
  color: #E67E22;
}

.pros-cons__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.pros-cons__content {
  color: var(--ink-soft);
  line-height: 1.6;
}

.pros-cons__content ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.pros-cons__content li {
  margin-bottom: 8px;
  padding-left: 0;
}

.pros-cons__content li:last-child {
  margin-bottom: 0;
}

/* Timeline Component */
.timeline {
  margin: 20px 0;
}

.timeline__title {
  font-family: 'Source Serif 4', serif;
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--ink);
}

.timeline__steps {
  position: relative;
  padding-left: 0;
}

.timeline-step {
  display: flex;
  gap: 20px;
  padding-bottom: 24px;
  position: relative;
}

.timeline-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 40px;
  bottom: -24px;
  width: 2px;
  background: var(--line);
  z-index: 0;
}

.timeline-step__marker {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-step__number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.timeline-step__content {
  flex: 1;
  min-width: 0;
}

.timeline-step__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
  margin-top: 0;
}

.timeline-step__description {
  color: var(--ink-soft);
  line-height: 1.6;
}

.timeline-step__description p {
  margin-bottom: 8px;
}

.timeline-step__description p:last-child {
  margin-bottom: 0;
}

/* Glossary Term Component */
.glossary-term {
  display: inline;
  position: relative;
  cursor: help;
}

.glossary-term__word {
  border-bottom: 2px dotted #2E86AB;
  color: inherit;
  font-weight: inherit;
}

.glossary-term__icon {
  font-size: 14px;
  opacity: 0.6;
  margin-left: 2px;
  color: #2E86AB;
}

.glossary-term__tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 16px;
  max-width: 280px;
  width: max-content;
  box-shadow: 0 8px 24px rgba(18, 35, 63, 0.2);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink);
  text-align: left;
  z-index: 9999;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.glossary-term__tooltip::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--white);
  margin-top: -1px;
  z-index: 10000;
}

.glossary-term__tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--line);
  margin-top: 0;
  z-index: 9999;
}

.glossary-term:hover .glossary-term__tooltip {
  opacity: 1;
  visibility: visible;
}

/* Ensure parent containers allow tooltip overflow */
.markdown-content {
  overflow: visible !important;
}

.page-card {
  overflow: visible !important;
}

.article-layout {
  overflow: visible !important;
}

.page-layout {
  overflow: visible !important;
}

/* Mobile responsive tooltip positioning */
@media (max-width: 600px) {
  .glossary-term__tooltip {
    max-width: 220px;
    left: 0;
    transform: none;
    right: auto;
  }
  
  .glossary-term__tooltip::before,
  .glossary-term__tooltip::after {
    left: 20px;
  }
}

/* Comparison Table Component */
.comparison-table-wrapper {
  overflow-x: auto;
  max-width: 100%;
  margin: 20px 0;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.comparison-table {
  display: table;
  width: 100%;
  min-width: 600px;
  border-collapse: separate;
  border-spacing: 0;
}

.comparison-table__header {
  display: table-row;
  position: sticky;
  top: 0;
  z-index: 10;
}

.comparison-table__header-cell {
  display: table-cell;
  background: var(--panel);
  color: var(--ink);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 2px solid var(--gold);
  text-align: left;
  vertical-align: middle;
}

.comparison-table__body {
  display: table-row-group;
}

.comparison-table__row {
  display: table-row;
  transition: background 0.15s ease;
}

.comparison-table__row:hover {
  background: rgba(246, 239, 225, 0.5);
}

.comparison-table__row:nth-child(even) {
  background: rgba(246, 239, 225, 0.35);
}

.comparison-table__row:nth-child(even):hover {
  background: rgba(246, 239, 225, 0.6);
}

.comparison-table__cell {
  display: table-cell;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  color: var(--ink-soft);
}

.comparison-table__cell--feature {
  font-weight: 600;
  color: var(--ink);
  min-width: 140px;
}

/* Calculation Component */
.calculation {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  margin: 20px 0;
}

.calculation__title {
  font-family: 'Source Serif 4', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--ink);
  margin-top: 0;
}

.calculation__steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: var(--white);
  border-radius: 8px;
}

.calc-step__label {
  flex: 1;
  color: var(--ink);
  font-size: 0.95rem;
}

.calc-step__operator {
  color: rgba(18, 35, 63, 0.5);
  font-size: 1.2rem;
  font-weight: 600;
  flex-shrink: 0;
}

.calc-step__value {
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.calc-step--highlight {
  background: linear-gradient(135deg, rgba(180, 124, 36, 0.15), rgba(180, 124, 36, 0.08));
  border: 2px solid var(--gold);
  padding: 12px 16px;
}

.calc-step--highlight .calc-step__value {
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 700;
}

/* Quick Fact Component */
.quick-fact {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(221, 237, 228, 0.5), rgba(248, 226, 207, 0.5));
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
}

.quick-fact__icon {
  font-size: 24px;
  flex-shrink: 0;
  line-height: 1;
}

.quick-fact__content {
  flex: 1;
  min-width: 0;
}

.quick-fact__title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 6px;
}

.quick-fact__text {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.quick-fact__text p {
  margin-bottom: 8px;
}

.quick-fact__text p:last-child {
  margin-bottom: 0;
}

/* Responsive styles for content components */
@media (max-width: 600px) {
  /* Pros-cons: stack vertically on mobile */
  .pros-cons {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Glossary term: adjust tooltip positioning for mobile */
  .glossary-term__tooltip {
    max-width: 220px;
    left: 0;
    transform: none;
    right: auto;
  }

  /* Timeline: reduce spacing on mobile */
  .timeline-step {
    gap: 16px;
    padding-bottom: 20px;
  }

  .timeline-step:not(:last-child)::before {
    bottom: -20px;
  }

  .timeline-step__number {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  /* Comparison table: ensure horizontal scroll */
  .comparison-table-wrapper {
    margin: 16px -24px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  /* Calculation: reduce padding on mobile */
  .calculation {
    padding: 20px;
  }

  .calc-step {
    padding: 8px 12px;
    gap: 8px;
  }

  .calc-step__label {
    font-size: 0.9rem;
  }

  .calc-step__value {
    font-size: 0.95rem;
  }

  .calc-step--highlight .calc-step__value {
    font-size: 1.1rem;
  }

  /* Quick fact: reduce spacing on mobile */
  .quick-fact {
    gap: 12px;
    padding: 14px 16px;
  }

  .quick-fact__icon {
    font-size: 20px;
  }
}

/* ============================================
   BUTTONS
   Call-to-action buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn--primary {
  background: var(--ink);
  color: var(--white);
  border: 2px solid var(--ink);
}
.btn--primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line);
}
.btn--secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================
   HERO SECTION (HOMEPAGE)
   ============================================ */
.hero--home {
  gap: 24px;
}

.hero-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mint);
  border-radius: 12px;
  color: var(--teal);
}

.hero-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0;
}

.hero-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ============================================
   FEATURED SECTION
   Cards for popular topics
   ============================================ */
.featured-section {
  margin-top: 40px;
}

.featured-section h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.featured-intro {
  font-size: 1.05rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.featured-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.featured-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(18,35,63,0.12);
}

.featured-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0;
  color: var(--ink);
}

.featured-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.featured-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

.featured-card__icon--sparen {
  background: var(--mint);
  color: var(--teal);
}

.featured-card__icon--beleggen {
  background: var(--peach);
  color: var(--gold);
}

.featured-card__icon--about {
  background: rgba(42, 108, 90, 0.12);
  color: var(--teal);
}

/* ============================================
   CTA SECTION
   Call-to-action banner
   ============================================ */
.cta-section {
  margin-top: 40px;
}

.cta-card {
  text-align: center;
  padding: 48px 32px;
  background: linear-gradient(135deg, var(--panel), var(--mint));
}

.cta-card h2 {
  margin-bottom: 12px;
}

.cta-card p {
  font-size: 1.05rem;
  margin-bottom: 24px;
  color: var(--ink-soft);
}

/* ============================================
   HOMEPAGE V2 STYLES
   Improved, more engaging homepage design
   ============================================ */

/* Hero section V2 - single centered card */
.hero--home-v2 {
  display: block;
  margin-bottom: 0;
  padding-bottom: 40px;
}

.hero-main-v2 {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 40px 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(18, 35, 63, 0.08);
  position: relative;
  overflow: hidden;
}



.hero-main-v2 h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--ink);
}

.hero-main-v2 .hero-subtitle {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* USPs - horizontal badges */
.hero-usps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-usp {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal);
}

.hero-usp svg {
  flex-shrink: 0;
  color: var(--teal);
}

/* Hero actions V2 - centered with social proof */
.hero-actions-v2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 0;
  margin-top: 16px;
  width: 100%;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.hero-social-proof svg {
  color: var(--gold);
  flex-shrink: 0;
}

/* CTA button - eye-catching */
.btn--cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
  font-size: 1rem;
  padding: 14px 28px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(180, 124, 36, 0.25);
  cursor: pointer;
}

.btn--cta svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn--cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(18, 35, 63, 0.35);
}

/* Primary button style */
.btn--primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--ink);
  border-color: var(--ink);
}

/* Secondary button style */
.btn--secondary {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 4px 16px rgba(18, 35, 63, 0.08);
}

.btn--secondary:hover {
  background: var(--panel);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 6px 20px rgba(18, 35, 63, 0.12);
}

/* Outline button style */
.btn--outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(180, 124, 36, 0.25);
}

.btn--cta-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
  font-size: 1.1rem;
  padding: 18px 40px;
  font-weight: 700;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 10px 30px rgba(180, 124, 36, 0.30);
  min-width: 220px;
  justify-content: center;
}

.btn--cta-large svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn--cta-large:hover {
  background: var(--ink);
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(180, 124, 36, 0.40);
}

/* CTA buttons container */
.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ============================================
   QUICK ACTIONS SECTION
   Popular topics quick access buttons
   ============================================ */
.quick-actions {
  margin-top: 56px;
  padding: 40px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(221, 237, 228, 0.3) 0%, rgba(248, 226, 207, 0.3) 100%);
  border-radius: 24px;
}

.quick-actions__title {
  font-family: 'Source Serif 4', serif;
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 28px;
  text-align: center;
}

.quick-actions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.quick-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 18px 24px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(18, 35, 63, 0.06);
  position: relative;
  overflow: hidden;
}



.quick-action-btn:hover {
  background: var(--white);
  border-color: var(--gold);
  color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(180, 124, 36, 0.15);
}

/* Featured section V2 - bigger, bolder cards */
.featured-section-v2 {
  margin-top: 72px;
  padding-top: 56px;
  position: relative;
}



.featured-header {
  text-align: center;
  margin-bottom: 48px;
}

.featured-header h2 {
  font-size: 2.4rem;
  margin-bottom: 14px;
  color: var(--ink);
}

.featured-header .featured-intro {
  font-size: 1.18rem;
  color: var(--ink-soft);
  margin-bottom: 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.featured-grid-v2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.featured-card-v2 {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 4px 16px rgba(18, 35, 63, 0.06);
  overflow: hidden;
}



.featured-card-v2:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(18, 35, 63, 0.12);
}

.featured-card-v2__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(18, 35, 63, 0.08);
}

.featured-card-v2__icon--sparen {
  background: linear-gradient(135deg, var(--mint), var(--teal));
  color: var(--white);
}

.featured-card-v2__icon--budgetteren {
  background: linear-gradient(135deg, #FFE5D3, var(--gold));
  color: var(--white);
}

.featured-card-v2__icon--beleggen {
  background: linear-gradient(135deg, var(--peach), var(--gold));
  color: var(--white);
}

.featured-card-v2__content {
  flex: 1;
  min-width: 0;
}

.featured-card-v2__content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--ink);
  margin-top: 0;
  margin-right: 14px;
}

.featured-card-v2__content p {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 0;
}

.featured-card-v2__arrow {
  position: absolute;
  top: 32px;
  right: 32px;
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
  transition: transform 0.3s ease;
}

.featured-card-v2:hover .featured-card-v2__arrow {
  transform: translateX(6px);
}

/* CTA section V2 - urgent and prominent */
.cta-section-v2 {
  margin-top: 80px;
  padding-top: 64px;
  position: relative;
}



.cta-card-v2 {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, rgba(221, 237, 228, 0.4) 0%, rgba(248, 226, 207, 0.4) 100%);
  border: 2px solid var(--line);
  border-radius: 24px;
  padding: 56px 48px;
  box-shadow: 0 8px 32px rgba(18, 35, 63, 0.08);
  position: relative;
  overflow: hidden;
}



.cta-card-v2 h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--ink);
}

.cta-card-v2 p {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

/* ============================================
   MOBILE RESPONSIVE (≤900px)
   Adjustments for tablets and smaller
   ============================================ */
@media (max-width: 900px) {
  .hero, .article-layout { 
    grid-template-columns: 1fr; 
  }
  
  .page-layout { 
    display: block; 
    width: min(1160px, calc(100% - 32px)); 
  }
  
  .page-content { 
    width: 100%; 
  }
  
  /* Slightly tighter vertical rhythm */
  main {
    padding: 36px 0 56px;
  }

  /* Homepage hero responsive */
  .hero--home {
    grid-template-columns: 1fr;
  }
  
  .hero-sidebar {
    flex-direction: row;
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .related-articles-grid {
    grid-template-columns: 1fr;
  }

  /* Homepage V2 responsive */
  .hero-main-v2 {
    padding: 36px 28px;
  }

  .hero-main-v2 h1 {
    font-size: 2.2rem;
  }

  .hero-main-v2 .hero-subtitle {
    font-size: 1.05rem;
  }
  
  .hero-actions-v2 {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions-v2 .btn--cta {
    width: 100%;
    justify-content: center;
  }

  .hero-usps {
    flex-direction: column;
    gap: 12px;
  }
  
  .quick-actions {
    margin-top: 36px;
    padding: 32px 16px;
  }
  
  .quick-actions__title {
    font-size: 1.4rem;
  }
  
  .quick-actions__grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 8px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .featured-section-v2 {
    margin-top: 56px;
    padding-top: 40px;
  }
  
  .featured-header h2 {
    font-size: 1.9rem;
  }

  .featured-grid-v2 {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .featured-card-v2 {
    flex-direction: column;
    gap: 16px;
  }

  .featured-card-v2__arrow {
    position: static;
    align-self: flex-end;
  }
  
  .cta-section-v2 {
    margin-top: 64px;
    padding-top: 48px;
  }

  .cta-card-v2 {
    padding: 40px 28px;
  }

  .cta-card-v2 h2 {
    font-size: 1.7rem;
  }
  
  .cta-card-v2 p {
    font-size: 1.05rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-buttons .btn--cta-large {
    width: 100%;
  }
  
  /* Mobile menu drawer (sidebar) */
  .page-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
    width: min(340px, calc(100vw - 32px));
    height: 100dvh;
    border-radius: 0 20px 20px 0;
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    box-shadow: 0 24px 70px rgba(18, 35, 63, 0.22);
  }
  .page-menu.is-open {
    transform: translateX(0);
  }
  
  .menu-toggle {
    display: inline-flex;
  }
  
  .site-nav {
    display: none;
  }
  
  .page-menu__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Scale down heading sizes */
  h1 {
    font-size: 1.85rem;
  }
  h2 {
    font-size: 1.35rem;
  }
  h3 {
    font-size: 1.1rem;
  }

  .page-card--feature h1 {
    font-size: 2rem;
  }

  .featured-section h2 {
    font-size: 1.5rem;
  }

  .related-articles h2 {
    font-size: 1.3rem;
  }
}

/* ============================================
   SMALL MOBILE (≤600px)
   Adjustments for phones
   ============================================ */
@media (max-width: 600px) {
  /* Tighter wrapper padding on narrow screens */
  .wrap {
    padding: 0 16px;
  }

  /* Header: reduce padding so it takes less vertical space */
  .site-header {
    padding: 14px 0;
  }

  /* Hide the logo subtitle on very small screens */
  .logo .sub {
    display: none;
  }

  /* Shrink the logo mark slightly */
  .logo .mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .logo .name {
    font-size: 16px;
  }

  /* Ensure touch targets are at least 44px */
  .menu-toggle,
  .mobile-search-toggle,
  .btn {
    min-height: 44px;
  }

  .mobile-search-toggle {
    width: 44px;
    height: 44px;
  }

  /* Main content: tighter vertical spacing */
  main {
    padding: 24px 0 48px;
  }

  /* Cards: smaller padding and radius on small screens */
  .page-card {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .page-card--feature {
    padding: 20px 16px;
    border-radius: 16px;
  }

  /* Headings scale for small phones */
  h1 {
    font-size: 1.6rem;
    margin-bottom: 14px;
    line-height: 1.25;
  }
  h2 {
    font-size: 1.2rem;
    margin-top: 20px;
  }
  h3 {
    font-size: 1.05rem;
  }

  .page-card--feature h1 {
    font-size: 1.6rem;
  }

  /* Body text: slightly tighter line height saves space */
  body {
    line-height: 1.65;
    font-size: 0.97rem;
  }

  /* Hero */
  .hero-actions {
    flex-direction: column;
  }
  .hero-sidebar {
    flex-direction: column;
  }
  .hero-subtitle {
    font-size: 1rem;
  }

  /* Homepage V2 mobile styles */
  .hero-main-v2 {
    padding: 28px 20px;
  }

  .hero-main-v2 h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }

  .hero-main-v2 .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }

  .hero-usps {
    gap: 10px;
  }

  .hero-usp {
    font-size: 0.88rem;
  }

  .btn--cta {
    width: 100%;
    padding: 14px 32px;
    font-size: 1rem;
  }

  .featured-header h2 {
    font-size: 1.6rem;
  }

  .featured-header .featured-intro {
    font-size: 0.98rem;
  }

  .featured-card-v2 {
    padding: 24px 20px;
  }

  .featured-card-v2__icon {
    width: 56px;
    height: 56px;
  }

  .featured-card-v2__icon svg {
    width: 28px;
    height: 28px;
  }

  .featured-card-v2__content h3 {
    font-size: 1.2rem;
  }

  .featured-card-v2__content p {
    font-size: 0.95rem;
  }

  .featured-grid-v2 {
    max-width: 95%;
  }

  .quick-actions__grid {
    max-width: 95%;
  }

  .cta-card-v2 {
    padding: 32px 20px;
    border-radius: 20px;
  }

  .cta-card-v2 h2 {
    font-size: 1.4rem;
  }

  .cta-card-v2 p {
    font-size: 0.98rem;
  }

  .btn--cta-large {
    width: 100%;
    padding: 16px 40px;
    font-size: 1.05rem;
    min-width: auto;
  }

  /* Buttons: full width on mobile */
  .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }

  /* CTA card */
  .cta-card {
    padding: 28px 16px;
    border-radius: 16px;
  }
  .cta-card h2 {
    font-size: 1.3rem;
  }

  /* Footer */
  .site-footer {
    padding: 40px 0 24px;
    margin-top: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Related articles: single column, tighter */
  .related-articles {
    margin-top: 32px;
  }
  .related-articles-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .related-article-card {
    border-radius: 14px;
    padding: 14px 16px;
  }

  /* Markdown content: prevent overflow issues */
  .markdown-content {
    font-size: 0.97rem;
  }
  .markdown-content th,
  .markdown-content td {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  /* Search results page */
  .search-page-form__inner {
    height: 44px;
  }
  .search-page-form__inner button {
    display: none;
  }
  .search-result-card {
    padding: 14px 16px;
    border-radius: 12px;
  }
  .search-result-card__arrow {
    display: none;
  }
  .search-result-card__title {
    font-size: 1rem;
  }

  /* Eyebrow tags */
  .eyebrow {
    font-size: 11px;
  }

  /* Blockquote */
  blockquote {
    padding-left: 12px;
    margin: 16px 0;
  }

  /* Code blocks */
  pre {
    padding: 12px;
    font-size: 0.85rem;
    border-radius: 10px;
  }
}

/* ============================================
   CARD LINK
   Clickable destination cards on the homepage
   Add this block to the end of your existing stylesheet.
   Uses only existing CSS variables — no new colors introduced.
   ============================================ */

.card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(18, 35, 63, 0.14);
  border-color: var(--gold);
}

.card-link:active {
  transform: translateY(-1px);
}

.card-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.card-link h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1.3rem;
  margin-top: 0;
}

.card-link p {
  margin-bottom: 0;
}

.card-link__arrow {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform 0.15s ease;
}

.card-link:hover .card-link__arrow {
  transform: translateX(4px);
}

/* Reduced motion: keep the visual feedback, drop the movement */
@media (prefers-reduced-motion: reduce) {
  .card-link,
  .card-link__arrow {
    transition: none;
  }
  .card-link:hover {
    transform: none;
  }
  .card-link:hover .card-link__arrow {
    transform: none;
  }
}

/* ============================================
   LIVE SEARCH DROPDOWN
   Positioned below the header search input
   ============================================ */
.header-search {
  position: relative;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  min-width: 320px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(18, 35, 63, 0.14);
  list-style: none;
  padding: 6px;
  margin: 0;
  z-index: 100;
  overflow: hidden;
}

.search-dropdown__item {
  border-radius: 10px;
  overflow: hidden;
}

.search-dropdown__item.is-active,
.search-dropdown__item:hover {
  background: var(--panel);
}

.search-dropdown__link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
}

.search-dropdown__title {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.3;
}

.search-dropdown__desc {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-dropdown__empty {
  padding: 12px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-align: center;
}

.search-dropdown__footer {
  border-top: 1px solid var(--line-soft);
  margin-top: 4px;
  padding-top: 4px;
}

.search-dropdown__footer a {
  display: block;
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.12s ease;
}

.search-dropdown__footer a:hover {
  background: var(--panel);
}

/* ============================================
   SEARCH RESULTS PAGE (/zoeken)
   ============================================ */
.search-page-form {
  margin: 24px 0 32px;
}

.search-page-form__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 8px 0 18px;
  height: 48px;
  max-width: 600px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-page-form__inner:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(180, 124, 36, 0.10);
  background: var(--white);
}

.search-page-form__inner svg {
  color: rgba(18, 35, 63, 0.38);
  flex-shrink: 0;
}

.search-page-form__inner input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  min-width: 0;
}

.search-page-form__inner input::placeholder {
  color: rgba(18, 35, 63, 0.38);
}

.search-page-form__inner input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search-page-form__inner button {
  flex-shrink: 0;
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 8px 20px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.search-page-form__inner button:hover {
  background: var(--gold);
}

.search-result-count {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.search-empty-hint,
.search-no-results {
  color: var(--ink-soft);
  margin-top: 8px;
}

.search-no-results p + p {
  margin-top: 8px;
}

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

.search-result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.search-result-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(18, 35, 63, 0.09);
  transform: translateY(-2px);
}

.search-result-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.search-result-card__title {
  font-family: 'Source Serif 4', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.search-result-card__description {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

.search-result-card__arrow {
  flex-shrink: 0;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.search-result-card:hover .search-result-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .search-result-card,
  .search-result-card__arrow {
    transition: none;
  }
  .search-result-card:hover {
    transform: none;
  }
}

/* ============================================
   DIRECTORY LISTING PAGE
   Category/topic landing pages with article listings
   ============================================ */
.directory-articles {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.directory-articles h2 {
  font-family: 'Source Serif 4', serif;
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 16px;
}

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

.directory-article-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.directory-article-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(18, 35, 63, 0.09);
  transform: translateY(-2px);
}

.directory-article-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.directory-article-card__title {
  font-family: 'Source Serif 4', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.directory-article-card__description {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

.directory-article-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}

.meta-badge svg {
  flex-shrink: 0;
}

.meta-badge--time {
  color: var(--teal);
  background: rgba(42, 108, 90, 0.08);
  border-color: rgba(42, 108, 90, 0.15);
}

.meta-badge--category {
  color: var(--gold);
  background: rgba(180, 124, 36, 0.08);
  border-color: rgba(180, 124, 36, 0.15);
}

.directory-article-card__arrow {
  flex-shrink: 0;
  color: var(--gold);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.directory-article-card:hover .directory-article-card__arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 600px) {
  .directory-articles {
    margin-top: 28px;
    padding-top: 20px;
  }
  .directory-articles h2 {
    font-size: 1.25rem;
  }
  .directory-article-card {
    padding: 14px 16px;
    border-radius: 12px;
  }
  .directory-article-card__title {
    font-size: 1rem;
  }
  .directory-article-card__arrow {
    display: none;
  }
  .meta-badge {
    font-size: 0.7rem;
    padding: 3px 8px;
  }
}

/* ============================================
   LOGO STYLING IN HEADER AND FOOTER
   ============================================ */
.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--peach), var(--mint));
  padding: 6px;
}

.footer-logo {
  width: 36px;
  height: 36px;
  padding: 4px;
}

/* ============================================
   FOOTER SOCIAL LINKS
   ============================================ */
.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  transition: all 0.2s ease;
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--panel);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   SIDEBAR REVIEW CAROUSEL
   ============================================ */
.page-menu__reviews {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.page-menu__reviews h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.review-carousel {
  overflow: hidden;
}

.reviews-container {
  position: relative;
  min-height: 235px;
  height: auto;
  overflow: hidden;
}

.review-card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(18, 35, 63, 0.06);
}

.review-card.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.review-star {
  color: var(--gold);
  font-size: 0.8rem;
  margin-bottom: 8px;
}

.review-text {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 12px;
  font-style: italic;
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-meta strong {
  font-size: 0.88rem;
  color: var(--ink);
}

.review-role {
  font-size: 0.75rem;
  color: rgba(18, 35, 63, 0.5);
}

.review-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.review-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.review-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.review-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.review-dots {
  display: flex;
  gap: 6px;
}

.review-dot {
  width: 28px;
  height: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.review-dot:hover {
  border-color: var(--gold);
}

.review-dot.active {
  background: var(--gold);
  border-color: var(--gold);
}


/* ============================================
              Ontdekken page css
============================================ */

.discover-hero {
    max-width: 850px;
    margin: 0 auto 64px;
    text-align: center;
}

.discover-hero h1 {
    font-size: 3.4rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}

.discover-hero p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: var(--ink-soft);
}

.discover-section {
    max-width: 1100px;
    margin: 0 auto;
}

.discover-section__header {
    margin-bottom: 28px;
}

.discover-section__header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.discover-section__header p {
    margin: 0;
}

.discover-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.discover-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 18px rgba(18, 35, 63, 0.05);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.discover-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold);
    box-shadow: 0 14px 38px rgba(18, 35, 63, 0.11);
}

.discover-card__icon {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: var(--mint);
    color: var(--teal);
}

.discover-card--business .discover-card__icon,
.discover-card--trading .discover-card__icon {
    background: var(--peach);
    color: var(--gold);
}

.discover-card__content {
    min-width: 0;
    padding-right: 28px;
}

.discover-card__label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--teal);
}

.discover-card__content h3 {
    margin: 0 0 6px;
    font-size: 1.3rem;
}

.discover-card__content p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
}

.discover-card__arrow {
    position: absolute;
    top: 28px;
    right: 24px;
    color: var(--gold);
    font-size: 1.3rem;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.discover-card:hover .discover-card__arrow {
    transform: translateX(5px);
}

.discover-question {
    max-width: 900px;
    margin: 80px auto 0;
}

.discover-question__inner {
    padding: 52px 44px;
    text-align: center;
    background: linear-gradient(
        135deg,
        var(--panel),
        var(--mint)
    );
    border: 1px solid var(--line);
    border-radius: 24px;
}

.discover-question h2 {
    font-size: 2.2rem;
    margin: 0 0 16px;
}

.discover-question p {
    max-width: 650px;
    margin: 0 auto 12px;
}

.discover-question .btn {
    margin-top: 20px;
}

@media (max-width: 700px) {

    .discover-hero {
        margin-bottom: 44px;
    }

    .discover-hero h1 {
        font-size: 2.2rem;
    }

    .discover-hero p {
        font-size: 1rem;
    }

    .discover-grid {
        grid-template-columns: 1fr;
    }

    .discover-card {
        padding: 22px 20px;
    }

    .discover-card__icon {
        width: 52px;
        height: 52px;
    }

    .discover-card__content h3 {
        font-size: 1.15rem;
    }

    .discover-question {
        margin-top: 56px;
    }

    .discover-question__inner {
        padding: 36px 20px;
        border-radius: 20px;
    }

    .discover-question h2 {
        font-size: 1.6rem;
    }
}

/* ============================================
   ONTDEKKEN PAGE — volledige CSS
   Plak dit in je bestaande stylesheet,
   vervangt het oude  Ontdekken page css  blok.
   ============================================ */

.discover-hero {
    max-width: 780px;
    margin: 0 auto 72px;
    text-align: center;
    padding: 0 16px;
}

.discover-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.discover-hero h1 {
    font-size: 3.4rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 18px;
}

.discover-hero h1 span {
    color: var(--gold);
}

.discover-hero p {
    max-width: 580px;
    margin: 0 auto 28px;
    font-size: 1.08rem;
    color: var(--ink-soft);
}

.discover-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.discover-hero__link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.discover-hero__link:hover {
    color: var(--gold);
    border-color: var(--gold);
}


/* ——— Intro sectie ——— */

.discover-intro {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 48px 52px;
    margin: 0 auto 64px;
    max-width: 820px;
    box-shadow: 0 4px 24px rgba(18, 35, 63, 0.06);
}

.discover-intro__inner {
    max-width: 620px;
}

.discover-intro h2 {
    font-size: 1.9rem;
    line-height: 1.25;
    margin-bottom: 16px;
}

.discover-intro p {
    margin-bottom: 12px;
}

.discover-intro p:last-child {
    margin-bottom: 0;
}


/* ——— Sectie header ——— */

.discover-section {
    max-width: 1100px;
    margin: 0 auto;
}

.discover-section__header {
    margin-bottom: 28px;
}

.discover-section__header h2 {
    font-size: 2rem;
    margin-bottom: 6px;
}

.discover-section__header p {
    margin: 0;
    color: var(--ink-soft);
}


/* ——— Kaarten grid ——— */

.discover-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.discover-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 3px 14px rgba(18, 35, 63, 0.05);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.discover-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    box-shadow: 0 12px 34px rgba(18, 35, 63, 0.11);
}

.discover-card__icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--mint);
    color: var(--teal);
}

.discover-card--business .discover-card__icon,
.discover-card--trading .discover-card__icon {
    background: var(--peach);
    color: var(--gold);
}

.discover-card--money .discover-card__icon {
    background: rgba(180, 124, 36, 0.10);
    color: var(--gold);
}

.discover-card__content {
    min-width: 0;
    padding-right: 24px;
}

.discover-card__label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--teal);
}

.discover-card--business .discover-card__label,
.discover-card--trading .discover-card__label,
.discover-card--money .discover-card__label {
    color: var(--gold);
}

.discover-card__content h3 {
    margin: 0 0 5px;
    font-size: 1.2rem;
    color: var(--ink);
}

.discover-card__content p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--ink-soft);
}

.discover-card__arrow {
    position: absolute;
    top: 26px;
    right: 22px;
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.discover-card:hover .discover-card__arrow {
    transform: translateX(4px);
}


/* ——— Begin klein sectie ——— */

.discover-start {
    margin-top: 72px;
}

.discover-start__inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 36px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 48px 48px 48px 52px;
    box-shadow: 0 4px 24px rgba(18, 35, 63, 0.06);
}

.discover-start__content h2 {
    font-size: 1.8rem;
    line-height: 1.25;
    margin-bottom: 14px;
}

.discover-start__content p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.discover-start__content p:last-of-type {
    margin-bottom: 20px;
}

.discover-growth-card {
    background: linear-gradient(145deg, var(--teal), #1e5647);
    border-radius: 20px;
    padding: 28px 24px;
    color: #fff;
    text-align: center;
}

.discover-growth-card > span {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 10px;
}

.discover-growth-card > strong {
    display: block;
    font-size: 3rem;
    font-family: 'Source Serif 4', serif;
    font-weight: 700;
    line-height: 1;
}

.discover-growth-card > small {
    display: block;
    font-size: 0.82rem;
    opacity: 0.7;
    margin-top: 2px;
    margin-bottom: 20px;
}

.discover-growth-card__line {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    height: 60px;
}

.discover-growth-card__line span {
    width: 18px;
    border-radius: 4px 4px 0 0;
    background: rgba(255, 255, 255, 0.35);
}

.discover-growth-card__line span:nth-child(1) { height: 25%; }
.discover-growth-card__line span:nth-child(2) { height: 40%; }
.discover-growth-card__line span:nth-child(3) { height: 58%; }
.discover-growth-card__line span:nth-child(4) { height: 78%; }
.discover-growth-card__line span:nth-child(5) {
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
}


/* ——— Afsluitende vraag sectie ——— */

.discover-question {
    max-width: 860px;
    margin: 72px auto 0;
}

.discover-question__inner {
    padding: 52px 44px;
    text-align: center;
    background: linear-gradient(135deg, var(--panel), var(--mint));
    border: 1px solid var(--line);
    border-radius: 24px;
}

.discover-question h2 {
    font-size: 2.2rem;
    margin: 0 0 14px;
}

.discover-question p {
    max-width: 580px;
    margin: 0 auto 10px;
    color: var(--ink-soft);
    font-size: 0.95rem;
}

.discover-question .btn {
    margin-top: 20px;
}


/* ——— Responsive ——— */

@media (max-width: 900px) {
    .discover-start__inner {
        grid-template-columns: 1fr;
        padding: 36px 32px;
    }
}

@media (max-width: 700px) {
    .discover-hero {
        margin-bottom: 44px;
    }

    .discover-hero h1 {
        font-size: 2.2rem;
    }

    .discover-hero p {
        font-size: 1rem;
    }

    .discover-intro {
        padding: 28px 22px;
        margin-bottom: 44px;
        border-radius: 20px;
    }

    .discover-grid {
        grid-template-columns: 1fr;
    }

    .discover-card {
        padding: 22px 20px;
    }

    .discover-card__icon {
        width: 48px;
        height: 48px;
    }

    .discover-card__content h3 {
        font-size: 1.1rem;
    }

    .discover-start {
        margin-top: 48px;
    }

    .discover-start__inner {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .discover-question {
        margin-top: 48px;
    }

    .discover-question__inner {
        padding: 36px 20px;
        border-radius: 20px;
    }

    .discover-question h2 {
        font-size: 1.6rem;
    }
}

/* ============================================
   Scroll offset for anchor links
   ============================================ */

h2[id],
h3[id] {
    scroll-margin-top: 100px;
}

/* 