/* ============================================================
   InZicht Speltherapie — user.css
   Brand design system for the inzicht Cassiopeia child template.
   Loads after Cassiopeia base + colors_standard, before template
   params inline style. Brand-specific var names (--ink-*, --paper,
   etc.) are safe to set here; --bs-primary / --cassiopeia-* vars
   that come from template params are set correctly via Joomla admin.
   ============================================================ */

/* ── Brand palette tokens ─────────────────────────────────── */
:root {
  --ink-blue:          #1FA7DC;
  --ink-blue-700:      #1786B0;
  --ink-blue-100:      #CDEAF7;
  --ink-blue-50:       #EAF6FB;

  --ink-magenta:       #C72A7E;
  --ink-magenta-700:   #9E2065;
  --ink-magenta-100:   #F5D2E5;
  --ink-magenta-50:    #FBE9F2;

  --ink-green:         #8FC44A;
  --ink-green-700:     #6E9D33;
  --ink-green-100:     #E1F0CC;
  --ink-green-50:      #F0F7E2;

  --ink-orange:        #F26A3F;
  --ink-orange-700:    #C8501F;
  --ink-orange-100:    #FBD7C8;
  --ink-orange-50:     #FCEBE0;

  --ink-aubergine:     #3D2E4D;
  --ink-aubergine-80:  #5E4F6F;
  --ink-aubergine-60:  #807594;

  --paper:             #FFFFFF;
  --cream:             #FBF7F1;
  --sand:              #F1ECE3;
  --sand-deep:         #E4DCCC;

  /* Semantic aliases */
  --fg:                var(--ink-aubergine);
  --fg-muted:          var(--ink-aubergine-80);
  --fg-subtle:         var(--ink-aubergine-60);

  /* Font stacks — reference Cassiopeia vars set by template params,
     with direct fallbacks so they work on first render. */
  --font-display: var(--cassiopeia-font-family-headings, 'Quicksand', 'Trebuchet MS', system-ui, sans-serif);
  --font-body:    var(--cassiopeia-font-family-body, 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif);

  /* Radii */
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   36px;
  --r-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(61, 46, 77, 0.06),
               0 1px 1px rgba(61, 46, 77, 0.04);
  --shadow-md: 0 6px 18px rgba(61, 46, 77, 0.08),
               0 2px 4px rgba(61, 46, 77, 0.04);
  --shadow-lg: 0 18px 40px rgba(61, 46, 77, 0.14),
               0 4px 8px rgba(61, 46, 77, 0.06);

  /* Motion */
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --dur-micro: 120ms;
  --dur-base:  240ms;
}

/* ── Bootstrap variable overrides ─────────────────────────── */
:root {
  /* These don't come from template params so we can set them here. */
  --bs-border-color:       #F1ECE3;
  --bs-border-radius:      14px;
  --bs-border-radius-sm:   8px;
  --bs-border-radius-lg:   22px;
  --bs-border-radius-xl:   36px;
  --bs-border-radius-pill: 999px;
  --bs-link-decoration:    underline;
  --bs-body-line-height:   1.6;
  --bs-heading-color:      #3D2E4D;
  --bs-body-font-family:   var(--font-body);
}

/* Joomla / Cassiopeia radius aliases (flattened in old user.css) —
   restore the design system scale instead of equalizing them. */
:root {
  --border-radius:                14px;
  --border-radius-sm:             8px;
  --border-radius-lg:             22px;
  --border-radius-xl:             36px;
  --border-radius-xxl:            36px;
  --border-radius-2xl:            36px;
  --btn-border-radius:            999px;
  --btn-border-radius-sm:         999px;
  --btn-border-radius-lg:         999px;
  --card-border-radius:           22px;
  --card-inner-border-radius:     20px;
  --dropdown-border-radius:       14px;
  --dropdown-inner-border-radius: 12px;
  --accordion-border-radius:      14px;
  --accordion-inner-border-radius:12px;
  --pagination-border-radius:     8px;
  --pagination-border-radius-sm:  8px;
  --pagination-border-radius-lg:  8px;
  --badge-border-radius:          999px;
  --bs-badge-border-radius:       999px;
}

/* Prevent horizontal scrollbar from full-width breakout sections */
html { overflow-x: clip; }

/* ── Typography ───────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  color: var(--ink-aubergine);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.site-title, .page-header h1, .item-page h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-aubergine);
}

a {
  text-underline-offset: 3px;
  transition: color var(--dur-micro) var(--ease);
}
a:hover { color: var(--ink-magenta); }
::selection { background: var(--ink-blue-100); color: var(--ink-aubergine); }

/* ── Buttons: pill shape ─────────────────────────────────── */
.btn {
  border-radius: var(--r-full);
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  line-height: 1.5;
  white-space: nowrap;
  transition:
    background var(--dur-micro) var(--ease),
    color var(--dur-micro) var(--ease),
    transform var(--dur-micro) var(--ease),
    box-shadow var(--dur-micro) var(--ease);
}
.btn-sm { padding: 0.45rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 0.9rem 1.8rem; font-size: 1.0625rem; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 167, 220, 0.30);
}

.btn-outline-secondary {
  color: var(--ink-aubergine);
  border-color: var(--ink-aubergine);
  border-width: 1.5px;
}
.btn-outline-secondary:hover {
  background: rgba(61, 46, 77, 0.06);
  color: var(--ink-aubergine);
  border-color: var(--ink-aubergine);
}

/* ── Badges ───────────────────────────────────────────────── */
.badge {
  border-radius: var(--r-full);
  padding: 0.42rem 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.badge.bg-spel      { background: var(--ink-green-50)   !important; color: var(--ink-green-700);   }
.badge.bg-gezin     { background: var(--ink-orange-50)  !important; color: var(--ink-orange-700);  }
.badge.bg-care      { background: var(--ink-magenta-50) !important; color: var(--ink-magenta-700); }
.badge.bg-info-soft { background: var(--ink-blue-50)    !important; color: var(--ink-blue-700);    }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  border: 1px solid var(--sand);
  border-radius: var(--r-lg);
  transition: box-shadow var(--dur-base) var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-body { padding: 1.25rem; }
.card-title {
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
}

/* Color-coded top border — one per service type */
.card-accent-spel,   .card-accent-green   { border-top: 3px solid var(--ink-green)   !important; }
.card-accent-gezin,  .card-accent-orange  { border-top: 3px solid var(--ink-orange)  !important; }
.card-accent-care,   .card-accent-magenta { border-top: 3px solid var(--ink-magenta) !important; }
.card-accent-info,   .card-accent-blue    { border-top: 3px solid var(--ink-blue)    !important; }

/* ── Forms ────────────────────────────────────────────────── */
.form-control,
.form-select {
  border-radius: var(--r-md);
  border-color: var(--sand-deep);
  padding: 0.7rem 0.85rem;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--ink-blue);
  box-shadow: 0 0 0 3px rgba(31, 167, 220, 0.30);
  outline: none;
}
.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(31, 167, 220, 0.30);
  outline: none;
}
.form-check-input:checked {
  background-color: var(--ink-blue);
  border-color: var(--ink-blue);
}
.form-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  text-transform: none;
  letter-spacing: normal;
}
.formContainer .row { align-items: center; }

/* ── Navbar / header ──────────────────────────────────────── */
.container-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1030 !important;
  background-color: rgba(255, 255, 255, 0.92) !important;
  background-image: none !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border-bottom: 1px solid var(--bs-border-color) !important;
}
.container-header .grid-child { padding: 0.65rem 1em; }

/* Logo in navbar — keep it compact */
.container-header .brand-logo img {
  height: 75px;
  width: auto;
  max-width: none !important;
  border-radius: 0;
}
@media (max-width: 991.98px) {
  .container-header .brand-logo img { height: 44px; }
}

/* Metismenu nav links — desktop horizontal bar */
.container-header .metismenu.mod-menu .metismenu-item {
  align-items: center;
  padding: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.container-header .metismenu-item > a,
.container-header .metismenu-item > .mod-menu__heading {
  color: var(--ink-aubergine);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.5rem 0.85rem !important;
  text-decoration: none !important;
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  transition: color var(--dur-micro) var(--ease), background-size var(--dur-micro) var(--ease);
}
.container-header .metismenu-item > .mod-menu__heading {
  border: 0;
  background: transparent;
  line-height: inherit;
  cursor: default;
  text-decoration: none !important;
}
.container-header .metismenu-item > .mod-menu__heading.mm-toggler-nolink {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  min-width: 0;
  height: auto;
  justify-content: flex-start;
}
.container-header .metismenu-item > a:hover,
.container-header .metismenu-item > .mod-menu__heading:hover {
  color: var(--bs-primary);
}
.container-header .metismenu-item.active > a,
.container-header .metismenu-item.current > a,
.container-header .metismenu-item.active > .mod-menu__heading,
.container-header .metismenu-item.current > .mod-menu__heading {
  color: var(--bs-primary);
}
.container-header .metismenu > .metismenu-item.active > a,
.container-header .metismenu > .metismenu-item.current > a,
.container-header .metismenu > .metismenu-item.active > .mod-menu__heading,
.container-header .metismenu > .metismenu-item.current > .mod-menu__heading {
  background-image: none !important;
  border-radius: 2px;
}

/* Dropdown toggle button (the "v" chevron) */
.container-header .mm-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  background: transparent;
  border: 0;
  color: var(--ink-aubergine);
  min-width: 1.2rem;
  height: 2.5rem;
  padding: 0;
  cursor: pointer;
  line-height: 1;
  text-decoration: none !important;
}
.container-header .mm-toggler-link {
  margin-inline-start: -0.45rem;
  margin-inline-end: 0.55rem;
}
.container-header .mm-toggler-nolink {
  min-width: 0;
  height: auto;
}
.container-header .metismenu > li > a::after,
.container-header .metismenu > li > button.mm-toggler-nolink::before {
  content: "" !important;
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 2px;
  display: block !important;
  height: 3px;
  background: transparent;
  border-radius: 2px;
  opacity: 1;
  transition: background-color var(--dur-micro) var(--ease);
}
.container-header .metismenu > li > a:hover::after,
.container-header .metismenu > li.active > a::after,
.container-header .metismenu > li.current > a::after,
.container-header .metismenu > li > button.mm-toggler-nolink:hover::before,
.container-header .metismenu > li.active > button.mm-toggler-nolink::before,
.container-header .metismenu > li.current > button.mm-toggler-nolink::before {
  background: var(--bs-primary) !important;
}
.container-header .metismenu > li > button.mm-toggler-link::before,
.container-header .metismenu > li > button.mm-toggler-link:hover::before,
.container-header .metismenu > li.active > button.mm-toggler-link::before,
.container-header .metismenu > li.current > button.mm-toggler-link::before {
  content: none !important;
  display: none !important;
}
.container-header .mm-toggler::after {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  margin: 0;
  border: 0;
  background-color: currentColor;
  opacity: 0.78;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.25 4.75L6 7.25L8.75 4.75' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.25 4.75L6 7.25L8.75 4.75' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: none;
  transition: transform var(--dur-micro) var(--ease);
}
.container-header .mm-toggler[aria-expanded="true"]::after {
  transform: rotate(180deg);
}
.container-header .mm-toggler:hover {
  color: var(--bs-primary);
}

/* Submenu dropdown */
.container-header .mm-collapse {
  background: var(--paper);
  border: 1px solid var(--bs-border-color);
  border-radius: var(--bs-border-radius);
  box-shadow: 0 6px 18px rgba(61, 46, 77, 0.08);
  min-width: 220px;
  padding: 0.5rem 0;
}
.container-header .mm-collapse .metismenu-item > a,
.container-header .mm-collapse .metismenu-item > .mod-menu__heading {
  display: flex;
  width: 100%;
  min-height: 0;
  padding: 0.55rem 1.25rem !important;
  font-size: 0.9rem;
  color: var(--ink-aubergine);
  background-image: none !important;
  border-radius: 0;
}
.container-header .mm-collapse .metismenu-item > a:hover,
.container-header .mm-collapse .metismenu-item > .mod-menu__heading:hover {
  color: var(--bs-primary);
  background: var(--ink-blue-50);
}

/* Hamburger toggler (mobile) */
.container-header .navbar-toggler {
  border: none;
  box-shadow: none;
  padding: 0.375rem 0.6rem;
  border-radius: var(--r-md);
}
.container-header .navbar-toggler svg { fill: var(--ink-aubergine); }

/* "Plan een gesprek" CTA in the nav — target the menu item by its special class */
.container-header .metismenu-item.nav-cta > a,
.container-header .metismenu-item .btn-nav-cta {
  display: inline-block;
  background: var(--ink-blue);
  color: #fff !important;
  border-radius: var(--r-full);
  padding: 0.45rem 1.1rem !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  margin-inline-start: 0.75rem;
  transition: background var(--dur-micro) var(--ease);
}
.container-header .metismenu-item.nav-cta > a:hover,
.container-header .metismenu-item .btn-nav-cta:hover {
  background: var(--ink-blue-700);
  color: #fff !important;
}

/* ── Offcanvas / mobile menu ──────────────────────────────── */
.offcanvas { background-color: var(--bs-secondary); }
.custom-menu { background-color: var(--headerbg); }
@media (min-width: 992px) { .offcanvas-start { width: 100%; } }
.offcanvas-start { width: auto; }

@media (max-width: 991.98px) {
  #navbar1.offcanvas-start {
    top: 0;
    height: 100vh;
    height: 100dvh;
  }
  .offcanvas .metismenu.mod-menu .metismenu-item > ul {
    position: relative;
    width: 100%;
    margin-top: 1rem;
    border: 0;
    box-shadow: none;
    animation: none;
  }
  .offcanvas .metismenu.mod-menu .mm-collapse { background-color: transparent; }
  .offcanvas .metismenu.mod-menu .metismenu-item > .mm-collapse.mm-show {
    box-shadow: none;
    animation: none;
  }
  .offcanvas .metismenu.mod-menu .metismenu-item > a,
  .offcanvas .metismenu.mod-menu .metismenu-item > .mod-menu__heading { color: #fff; }
  .offcanvas .metismenu.mod-menu .metismenu-item > .mod-menu__heading,
  .offcanvas .metismenu.mod-menu .metismenu-item > .mod-menu__separator { color: #fff; }
  .offcanvas .metismenu.mod-menu .mm-toggler { color: #fff; }
}
.offcanvas-header > *:only-child { margin-left: auto; }

/* ── Dropdown menu ───────────────────────────────────────── */
.metismenu.mod-menu .metismenu-item > ul { padding: 0.5rem 0; }
.metismenu.mod-menu .metismenu-item > .mm-collapse.mm-show {
  animation: dropdown-shadow-fade-in 0.2s ease-out 0.05s both;
}
.metismenu.mod-menu .metismenu-item > .mm-collapsing { border: 0; box-shadow: none; }
.metismenu.mod-menu .metismenu-item > ul > .metismenu-item > a,
.metismenu.mod-menu .metismenu-item > ul > .metismenu-item > .mod-menu__heading { padding: 0.6rem 1.5rem; }

@keyframes dropdown-shadow-fade-in {
  from { box-shadow: none; }
  to   { box-shadow: 0 6px 18px rgba(61, 46, 77, 0.08); }
}

/* ── Footer ───────────────────────────────────────────────── */
.container-footer {
  background: var(--ink-aubergine) !important;
  color: #F4EFE6;
  margin-top: 5rem;
}
.footer.container-footer {
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.footer-top .mod-custom {
  min-width: 0;
}
.container-footer h6 {
  color: #A89AB5;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.container-footer a {
  color: #F4EFE6;
  text-decoration: none;
}
.container-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer {
  width: 100%;
}
.site-footer__logo {
  display: block;
  width: auto;
  height: 56px;
  margin-bottom: 0.875rem;
}
.site-footer__intro {
  max-width: 360px;
  margin-bottom: 1rem;
  color: #D9D1E0;
  font-size: 0.875rem;
}
.site-footer__eyebrow {
  margin-bottom: 0.75rem;
  color: #A89AB5;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-footer__orgs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.site-footer__org-logo {
  width: auto;
  max-width: 172px;
  max-height: 66px;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--bs-border-radius);
  object-fit: contain;
}
.site-footer__org {
  min-width: 96px;
  padding: 0.75rem 1.125rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: var(--bs-border-radius);
}
.site-footer__org strong {
  display: block;
  color: #F4EFE6;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.site-footer__org span {
  display: block;
  margin-top: 0.125rem;
  color: #A89AB5;
  font-size: 0.59375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #F4EFE6;
  font-size: 0.875rem;
  line-height: 2;
}
.site-footer__list-item--sublevel {
  padding-left: 1rem;
}
.site-footer__contact {
  line-height: 1.9;
}
.site-footer__contact-spaced {
  margin-top: 0.5rem;
}
.site-footer__heading-spaced {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem !important;
}
.site-footer__route {
  margin-top: 1rem;
  border-color: #fff !important;
  border-width: 1.5px;
  color: #fff !important;
}
.site-footer__route:hover {
  background: #fff;
  color: var(--ink-aubergine) !important;
  text-decoration: none;
}
.site-footer__copyright,
.site-footer__meta {
  color: #A89AB5;
  font-size: 0.75rem;
}
.site-footer__copyright a {
  color: #F4EFE6;
}
/* ── Brand utility classes ───────────────────────────────── */
.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }
.text-aubergine  { color: var(--ink-aubergine)    !important; }
.text-muted-brand{ color: var(--fg-muted)         !important; }

/* ── Full-width page sections (break out of container-component grid cell) ── */
.item-page > section,
.homepage-builder > section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* ── Page intro: cream section with ovals and constrained lead text ─────── */
.page-intro                  { padding: 64px 0 56px; }
.page-intro--hero            { padding: 88px 0 96px; }
.page-intro__title           { max-width: 760px; }
.page-intro__lead            { max-width: 640px; }
.page-intro__oval-tr {
  width: 280px; height: 200px;
  top: -60px; right: -60px;
  opacity: .10;
}
.page-intro__oval-bl {
  width: 200px; height: 140px;
  bottom: -40px; left: -40px;
  opacity: .09;
}
/* Homepage hero — 4 ovals + larger heading */
.page-intro--hero .page-intro__oval-tl { width: 460px; height: 300px; top: -80px; left: -120px; opacity: .10; }
.page-intro--hero .page-intro__oval-mr { width: 360px; height: 240px; top: 220px; right: -100px; opacity: .13; }
.page-intro--hero .page-intro__oval-bc { width: 200px; height: 140px; bottom: -40px; left: 40%; opacity: .09; }
.page-intro--hero .page-intro__oval-tc { width: 140px; height: 100px; top: 80px; right: 30%; opacity: .12; }
.page-intro--hero .page-intro__title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  max-width: none;
}
.page-intro--hero .page-intro__lead    { max-width: 560px; margin-bottom: 12px; }
.page-intro--hero .page-intro__tagline { max-width: 560px; margin-bottom: 28px; font-size: 1.25rem; }

/* ── Intake CTA: aubergine card with two buttons on dark background ─────── */
.intake-cta {
  background: var(--ink-aubergine);
  color: #fff;
  border-radius: var(--r-xl);
  padding: 48px 40px;
}
.intake-cta__oval-tr { width: 320px; height: 240px; top: -80px; right: 100px; opacity: .20; }
.intake-cta__oval-br { width: 220px; height: 160px; bottom: -60px; right: -30px; opacity: .22; }
.intake-cta__lead    { color: #E0D8E8; max-width: 520px; }

/* Light-on-dark button utilities (use inside .intake-cta or any dark section) */
.btn-on-dark               { background: #fff; color: var(--ink-aubergine); }
.btn-on-dark:hover         { background: var(--cream); color: var(--ink-aubergine); }
.btn-on-dark-outline       { background: transparent; border: 1.5px solid #fff; color: #fff; }
.btn-on-dark-outline:hover { background: rgba(255, 255, 255, 0.10); color: #fff; }

/* ── Brand text & layout utilities ──────────────────────────────────────── */
.container-narrow   { max-width: 820px; }
.text-xs            { font-size: 0.75rem; }   /* 12px */
.text-xxs           { font-size: 0.6875rem; } /* 11px */
.heading-xs         { font-size: 18px; }      /* small sub-heading */
.heading-sm         { font-size: 22px; }      /* card / widget titles */
.heading-md         { font-size: 26px; }      /* section emphasis */
.intro-text         { font-size: 18px; line-height: 1.7; color: var(--ink-aubergine); }
.sticky-offset-lg   { top: 100px; }

/* ── Homepage hero photo card ───────────────────────────────────────────── */
.hero-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.hero-photo--placeholder {
  background: linear-gradient(135deg, var(--ink-blue-100), var(--ink-green-100) 60%, var(--ink-orange-100));
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-photo__logo { width: 70%; opacity: .92; }

/* ── Card "Meer lezen →" CTA link ───────────────────────────────────────── */
.card-cta-arrow { color: var(--ink-blue); font-weight: 700; font-size: 14px; }

/* ── Contact info card ──────────────────────────────────────────────────── */
.contact-card__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--fg-muted);
  margin-bottom: 6px;
}
.contact-card__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--fg);
  white-space: pre-line;
  line-height: 1.4;
  display: block;
}
a.contact-card__value { text-decoration: none; }
.contact-card__sub { font-size: 12px; margin-top: 8px; }

/* ── Contact map (Google Maps link, contact page) ───────────────────────── */
.contact-map {
  border: 1px solid var(--bs-border-color);
  transition: box-shadow var(--dur-base) var(--ease), transform var(--dur-base) var(--ease);
}
.contact-map:hover,
.contact-map:focus-visible { box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* ── Team member photo card (dynamic accent via CSS custom properties) ──── */
.team-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--accent-bg, var(--sand));
  border: 2px solid var(--accent-color, var(--ink-aubergine));
  aspect-ratio: 4/5;
}
.team-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% 30%;
}
.team-photo__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color, var(--ink-aubergine));
  font-size: 48px;
  opacity: .4;
}
.team-bio { font-size: 16px; line-height: 1.7; }

/* Neutral chip-style badge (used for credentials etc.) */
.badge-cred {
  background: var(--sand);
  color: var(--fg);
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0;
}

/* ── Team member timeline (opleiding & werkervaring) ────────────────────── */
.timeline__heading {
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
}
.timeline__list {
  position: relative;
  padding-left: 1.25rem;
}
/* The vertical spine */
.timeline__list::before {
  content: "";
  position: absolute;
  top: .35rem;
  bottom: .35rem;
  left: 4px;
  width: 2px;
  background: color-mix(in srgb, var(--accent-color, var(--ink-aubergine)) 35%, transparent);
}
.timeline__item {
  position: relative;
  padding: 0 0 .9rem .5rem;
}
.timeline__item:last-child { padding-bottom: 0; }
/* The dot on the spine */
.timeline__item::before {
  content: "";
  position: absolute;
  left: calc(-1.25rem + 1px);
  top: .45rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-color, var(--ink-aubergine));
}
.timeline__year {
  display: inline-block;
  min-width: 6.5rem;
  font-weight: 700;
  color: var(--accent-color, var(--ink-aubergine));
}
.timeline__event {
  color: var(--fg-muted);
}
@media (max-width: 575.98px) {
  .timeline__year { display: block; min-width: 0; }
}

/* Tarieven row (kosten sidebar) — bottom border list pattern */
.tarief-row { border-bottom: 1px solid var(--sand-deep); }

/* ── Numbered step circle (werkwijze, procedure steps) ──────────────────── */
.step-number {
  width: 44px;
  height: 44px;
  background: var(--ink-blue-50);
  color: var(--ink-blue);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
}

/* Spaced list (services list with airy line-height) */
.list-spaced { line-height: 1.9; }

/* ── Article body typography (used in default.php article override) ─────── */
.article-body { font-size: 1.0625rem; line-height: 1.7; }
.article-body > * + * { margin-top: 1em; }
.article-body h2,
.article-body h3,
.article-body h4 { margin-top: 1.6em; margin-bottom: .6em; }
.article-body > h2:first-child,
.article-body > h3:first-child,
.article-body > h4:first-child { margin-top: 0; }
.article-body img,
.article-body figure img {
  max-width: 100%;
  height: auto;
  border-radius: var(--r-md);
}
.article-body figure { margin: 1.5em 0; }
.article-body figcaption {
  font-size: .875rem;
  color: var(--fg-muted);
  margin-top: .5em;
  text-align: center;
}
.article-body blockquote {
  border-left: 3px solid var(--ink-magenta);
  padding: .25em 0 .25em 1.25em;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--fg-muted);
}
.article-body blockquote > :last-child { margin-bottom: 0; }
.article-body hr {
  border: 0;
  border-top: 1px solid var(--sand);
  margin: 2em 0;
  opacity: 1;
}
.article-body ul,
.article-body ol { padding-left: 1.25em; }
.article-body li + li { margin-top: .35em; }
.article-body code {
  background: var(--cream);
  padding: .15em .35em;
  border-radius: var(--r-sm);
  font-size: .9em;
}
.article-body pre {
  background: var(--cream);
  padding: 1em;
  border-radius: var(--r-md);
  overflow-x: auto;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}
.article-body th,
.article-body td {
  border-bottom: 1px solid var(--sand);
  padding: .6em .75em;
  text-align: left;
}
.article-body th { background: var(--cream); font-weight: 700; }

/* ── Decorative ovals (used in mod_custom hero modules) ───── */
.oval-bg { position: relative; overflow: hidden; }
.oval {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.oval-blue    { background: var(--ink-blue);    }
.oval-green   { background: var(--ink-green);   }
.oval-magenta { background: var(--ink-magenta); }
.oval-orange  { background: var(--ink-orange);  }

/* ── Floating CTA — mobile only ─────────────────────────── */
.floating-cta {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1040;
  box-shadow: var(--shadow-lg);
  display: none;
}
@media (max-width: 768px) { .floating-cta { display: inline-flex; } }

/* ── Bullet check markers (service lists) ────────────────── */
.bullet-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.bullet-check.spel  { background: var(--ink-green-100);  color: var(--ink-green-700);  }
.bullet-check.gezin { background: var(--ink-orange-100); color: var(--ink-orange-700); }

/* ── Team cards ───────────────────────────────────────────── */
.team-card {
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: none;
  transition:
    transform var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease);
}
.team-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.team-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 167, 220, 0.30);
  border-radius: var(--r-lg);
}
.team-card .card-img-top { display: block; }
.team-card .card-title { color: var(--ink-aubergine); }

.team-card__image {
  background: linear-gradient(135deg,
    rgba(214, 201, 184, 0.28) 0%,
    rgba(234, 225, 213, 0.60) 100%);
}
.team-card__subtitle {
  color: var(--ink-aubergine-80);
  font-size: 0.98rem;
}
.team-card__eyebrow {
  color: var(--ink-aubergine);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}
.team-card__text,
.team-card__focus { color: var(--ink-aubergine); line-height: 1.65; }
.team-card__text p:last-child,
.team-card__focus p:last-child { margin-bottom: 0; }
.team-card__footer {
  background: rgba(251, 247, 241, 0.9);
  border-top: 1px solid rgba(214, 201, 184, 0.65);
}

/* ── News cards (Actualiteiten) ───────────────────────────── */
.news-card {
  background: var(--paper);
  border: 1px solid var(--sand);
  border-radius: var(--r-lg);
  box-shadow: none;
  transition:
    transform var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.news-card__img-link {
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.news-card__image { overflow: hidden; }
.news-card__image img { transition: transform 0.35s var(--ease); }
.news-card:hover .news-card__image img { transform: scale(1.04); }
.news-card__placeholder {
  background: linear-gradient(135deg, var(--ink-blue-50) 0%, var(--ink-green-50) 100%);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.news-card__date {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-blue);
}
.news-card__title a {
  color: var(--ink-aubergine);
  transition: color var(--dur-micro) var(--ease);
}
.news-card__title a:hover { color: var(--ink-blue); }
.news-card__intro {
  color: var(--ink-aubergine);
  font-size: 0.95rem;
  line-height: 1.65;
}
.news-card__intro p:last-child { margin-bottom: 0; }
.news-card__footer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background: rgba(251, 247, 241, 0.9);
  border-top: 1px solid rgba(241, 236, 227, 0.65) !important;
  padding-block: 1.25rem !important;
}

/* ── Actualiteiten article detail ─────────────────────────── */
.asd-blog-article__hero {
  margin-bottom: 2rem;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 21 / 9;
}
.asd-blog-article__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.asd-blog-article__body { max-width: 740px; }
.asd-blog-article__date {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-blue);
  margin-bottom: 0.6rem;
}
.asd-blog-article__title { color: var(--ink-aubergine); margin-bottom: 1.75rem; }
.asd-blog-article__text  { font-size: 1.05rem; line-height: 1.8; }
.asd-blog-article__text p { margin-bottom: 1.25rem; }
.asd-blog-article__text p:last-child { margin-bottom: 0; }

/* ── Miscellaneous ────────────────────────────────────────── */
.container-banner { margin: 0; }
.blog-items .item-image img { width: 100%; }
.menuheight { height: calc(calc(100vh - 120px) - 2rem); }

.fill-cassiopeia-primary   { fill: var(--cassiopeia-color-primary);   }
.fill-cassiopeia-secondary { fill: var(--cassiopeia-color-secondary); }

.breadcrumb-item.active,
.breadcrumb-item + .breadcrumb-item::before { color: var(--headercolor); }

.container-topbar {
  background-color: var(--cassiopeia-color-secondary);
  background-image: linear-gradient(135deg,
    var(--cassiopeia-color-secondary) 0,
    color-mix(in srgb, var(--cassiopeia-color-secondary), #000 20%) 100%);
}

.cardbody-nopadding .card-body   { padding: 0; }
.cardbody-nopadding .card-body p { margin: 0; }

@media (min-width: 576px) and (max-width: 991.98px) {
  .container-sidebar-right { display: grid; grid-template-columns: 1fr 1fr; }
}

.price-icon-height { height: 2rem; }

/* ── Homepage builder spacing ─────────────────────────────── */
.homepage-builder { --homepage-section-gap: 2rem; }
.homepage-builder > section + section,
.homepage-builder > .homepage-intro + section,
.homepage-builder > section + .homepage-intro {
  margin-top: var(--homepage-section-gap);
}
.homepage-builder > .homepage-usps + .homepage-cta {
  margin-top: calc(var(--homepage-section-gap) * 2);
}

/* ── Pagination ────────────────────────────────────────────── */
.pagination { --pagination-active-bg: var(--ink-blue); }

/* ── Page header ───────────────────────────────────────────── */
.page-header { margin-bottom: 1.5rem; }
.page-header h1, .page-header h2 { margin-bottom: 0.25rem; }

/* ── Sidebar grid (tablet) ─────────────────────────────────── */
@media (min-width: 576px) and (max-width: 991.98px) {
  .container-sidebar-right { display: grid; grid-template-columns: 1fr 1fr; }
}
