.mb-1 {margin-bottom: 1px;}
.mb-2 {margin-bottom: 2px;}
.mb-3 {margin-bottom: 3px;}
.mb-4 {margin-bottom: 4px;}

.mt-1 {margin-top: 1px;}
.mt-2 {margin-top: 2px;}
.mt-3 {margin-top: 3px;}
.mt-4 {margin-top: 4px;}

.band-stats {
  
}

.mt-32 {
  margin-top: var(--space-8);
}

.auth-form { display: grid; gap: var(--space-4); }
.auth-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); }

/* .field (see theme.html.twig's form_row block) has no vertical margin of
   its own in app.css, so consecutive form rows stack with zero gap between
   them — add breathing room between stacked fields here. */
.field + .field { margin-top: var(--space-6); }
/* …except side by side in a filter row, where the row's own gap spaces
   them and a top margin on every 2nd+ field would knock it out of line. */
.filter-panel__row > .field + .field { margin-top: 0; }

/* .role-tabs as a single <label> wrapping one checkbox (see auth-roles in
   register.html.twig): the checkbox stays hidden, its checked state drives
   which of the two child .role-tab spans looks active. */
.auth-roles { cursor: pointer; }
.auth-roles input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.auth-roles:not(:has(input:checked)) .role-tab:first-child,
.auth-roles:has(input:checked) .role-tab:last-child {
  background: var(--color-accent); color: var(--color-bg); font-weight: 600;
}

/* .alert (see Alert.html.twig): flash messages for the verify-email error
   and the login form's success/error state. Colored off the accent (error)
   and accent-2 (success) tonal ramps, same -100/-600/-900 steps as .tag-*. */
.alert {
  display: flex; align-items: flex-start; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border-left: 3px solid transparent;
  box-shadow: var(--shadow-sm);
}
.alert-icon {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 12px;
  color: var(--color-bg);
}
.alert-title { font-size: 14px; font-weight: 600; line-height: 1.4; }
.alert-close {
  margin-left: auto; flex: none; padding: 0; border: 0; background: transparent;
  cursor: pointer; font-size: 18px; line-height: 1; color: inherit; opacity: 0.55;
}
.alert-close:hover { opacity: 1; }

.alert-error {
  background: var(--color-accent-100); color: var(--color-accent-900);
  border-left-color: var(--color-accent-600);
}
.alert-error .alert-icon { background: var(--color-accent-600); }

/* Package form: list of problems above the tabs (form_validation_controller.js);
   each entry is a button that jumps to its field. */
.form-errors[hidden] { display: none; } /* .alert sets display: flex */
.form-errors:focus { outline: none; }
.form-errors__list { margin: var(--space-2) 0 0; padding-left: 1.2em; display: grid; gap: 4px; font-size: 15px; }
.form-errors__link {
  padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left;
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.form-errors__link:hover { text-decoration-thickness: 2px; }
.input[aria-invalid="true"] { border-color: var(--color-accent-600); }

.alert-success {
  background: var(--color-accent-2-100); color: var(--color-accent-2-900);
  border-left-color: var(--color-accent-2-600);
}
.alert-success .alert-icon { background: var(--color-accent-2-600); }

/* .tabs (see the "Nieuw pakket" form's Info/Menu split, driven by
   tabs_controller.js): same bordered-capsule look as .seg, but built from
   real <button role="tab"> elements instead of radio-wrapped labels, since
   here JS toggles panel visibility rather than a checked input. */
.tabs {
  display: inline-flex;
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.tab {
  font: inherit; font-size: 13px; padding: 8px 16px; cursor: pointer;
  border: 0; background: transparent; color: var(--color-text);
}
.tab + .tab { border-left: 1px solid var(--color-divider); }
.tab[aria-selected="true"] { background: var(--color-accent); color: var(--color-bg); font-weight: 600; }
.tab:not([aria-selected="true"]):hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); }
.tab:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }

/* Checkbox-backed .chip (see tag_menu_choice_widget in theme.html.twig): the
   static mockup toggled .is-on via JS on a plain <button>; here a real
   <input type="checkbox"> drives the same look through :has(), same
   technique as .seg-opt/.auth-roles, so it works with no JS. */
.chip:has(input) { position: relative; }
.chip input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.chip:has(input:checked) { border-color: var(--color-accent); background: var(--color-accent); color: var(--color-bg); }
.chip:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* .field-error (see theme.html.twig's form_errors block): per-field
   validation messages under a .field's input. No <ul> wraps the <li>s, so
   `display: flex` also doubles as the bullet reset. */
.field-error {
  display: flex; align-items: center; gap: 6px;
  margin: 5px 0 0; padding: 0; list-style: none;
  font-size: 12px; line-height: 1.3; color: var(--color-accent-700);
}
.field-error + .field-error { margin-top: 3px; }
.field-error-icon {
  display: flex; align-items: center; justify-content: center; flex: none;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--color-accent-600); color: var(--color-bg);
  font-family: var(--font-heading); font-weight: var(--font-heading-weight); font-size: 9px;
}

/* .photo-row__slot (app.css) only sizes the slot itself — it never had a
   rule for the <img>/preview inside it, so the actual photo just rendered
   at native size. Also covers .image-field-preview (theme.html.twig's
   image_field macro), same gap, same fix. */
.photo-row__slot img,
.image-field-preview {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: var(--h-radius, var(--radius-md));
}

/* .photo-stack (see _form.html.twig's "Huidige foto's" list, under the
   mediaFiles upload field): small thumbnails stacked one below another,
   each with its own delete button — deliberately not .photo-row's larger
   side-by-side grid, which is used for the read-only show page instead. */
.photo-stack { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (min-width: 760px) {
  .photo-stack { grid-template-columns: repeat(4, 1fr); }
}
.photo-stack__item {
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2);
  padding: var(--space-2); border: 1px solid var(--color-divider); border-radius: var(--radius-md);
}
.photo-stack__item img {
  width: 100%; aspect-ratio: 1 / 1;
  object-fit: cover; border-radius: var(--h-radius, var(--radius-md));
}

/* .field > label (app.css) is 12px at 70% text opacity — bump both up so
   field labels actually stand out above their input. */
.field > label {
  font-size: 14px; font-weight: 500;
  color: var(--color-text);
}

/* .field__label-row: a field label with a trailing .info-tip, e.g. the
   estimated-price filter in PackageSearch. Same look as .field > label. */
.field__label-row {
  position: relative; display: flex; align-items: center; gap: 6px; margin-bottom: 5px;
}
.field__label-row > label {
  font-size: 14px; font-weight: 500; color: var(--color-text);
}

/* .info-tip: round "i" button (search price filters, .price-estimate)
   whose short explanation shows on hover only
   (not on click or focus); screen readers get it via aria-describedby. No JS. */
.info-tip { display: inline-flex; }
.info-tip__button {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 20px; height: 20px; padding: 0; border: 1px solid currentColor; border-radius: 50%;
  background: transparent; color: var(--color-text); cursor: help;
  margin-block: -2px; font: inherit; font-size: 13px; font-weight: 600; line-height: 1;
}
.info-tip__button:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.info-tip__text {
  position: absolute; z-index: 20; top: calc(100% + 8px); left: 0;
  width: min(260px, calc(100vw - 32px)); padding: var(--space-3);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
  background: var(--color-bg); color: var(--color-text);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--color-text) 15%, transparent);
  font-size: 14px; font-weight: 400; line-height: 1.45;
  visibility: hidden; opacity: 0; transition: opacity .15s;
}
.info-tip:hover .info-tip__text { visibility: visible; opacity: 1; }

/* .price-estimate: estimated price per person in the package page's
   sidebar (show.html.twig), with an .info-tip explaining it's indicative. */
.price-estimate { position: relative; }
.price-estimate__head { display: flex; align-items: center; gap: 6px; }
.price-estimate__head .kicker { margin: 0; }
.price-estimate__value {
  margin: 4px 0 0; font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 24px; line-height: 1.2; color: var(--color-text);
}
.price-estimate__unit { font-family: var(--font-body); font-size: 15px; font-weight: 500; }

/* .card-price: estimated price per person in a PackageCard's footer
   (/zoeken), above the city — "± € 45 p.p." plus an .info-tip whose
   text opens upwards, since the footer is the bottom of the card. */
.card-foot-info { display: grid; gap: 2px; min-width: 0; min-height: 48px; align-content: center; }
/* Fixed-height footer contents (above), centred, so the divider and the
   "Bekijken" button line up across cards with and without a price/city. */
.e-card__foot:has(> .card-foot-info) { align-items: center; }
.card-price {
  position: relative; display: flex; align-items: center; gap: 6px; margin: 0;
  font-size: 15px; font-weight: 700; color: var(--color-text);
}
.card-price abbr { text-decoration: none; }
.card-price .info-tip__button { width: 18px; height: 18px; font-size: 12px; font-weight: 600; opacity: .8; }
.card-price .info-tip__text { top: auto; bottom: calc(100% + 8px); }

/* .search-layout (PackageSearch, /zoeken): facet sidebar left, results
   right from 900px. Below that the panel is folded behind a "Filters"
   button (.facets-toggle, facets_controller.js toggles .is-open) so the
   results aren't pushed down a whole screen on a phone. */
.search-layout {
  display: grid; gap: var(--space-4); align-items: center;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "toggle bar" "facets facets" "results results";
}
.facets-toggle { grid-area: toggle; justify-self: start; gap: var(--space-2); min-height: 44px; }
.facets-toggle__count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px;
  padding: 0 6px; border-radius: 11px; background: var(--color-accent); color: var(--color-bg); font-size: 14px;
}
.results-bar { grid-area: bar; }
/* margin-top: 0 — .filter-panel (app.css) has one. */
.search-layout__facets { grid-area: facets; align-self: start; display: grid; gap: var(--space-6); margin-top: 0;
  position: relative; z-index: 2; /* its dropdowns hang over the results */ }
.search-layout__facets > .field + .field { margin-top: 0; }
.search-layout__results { grid-area: results; align-self: start; min-width: 0; }
.facets-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.facets-actions .btn { min-height: 44px; }
@media (max-width: 899px) {
  .search-layout__facets:not(.is-open) { display: none; }
  .facets-actions__show { flex: 1 1 100%; justify-content: center; }
}
@media (min-width: 900px) {
  .search-layout {
    grid-template-columns: 280px minmax(0, 1fr); gap: var(--space-6);
    grid-template-areas: "bar bar" "facets results";
  }
  .facets-toggle, .facets-actions__show { display: none; }
  .search-layout__facets { position: sticky; top: var(--space-6); }
}

/* .results-bar: "Sorteren", right-aligned above the /zoeken results
   (PackageSearch). The count is already in the page header. */
.results-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: var(--space-3);
}
/* "Sorteren" beside its select, not above it, to keep the bar one line. */
.results-bar__sort { display: flex; align-items: center; gap: var(--space-2); flex: 0 1 360px; }
.results-bar__sort > label { flex: none; margin: 0; }

/* .slider__slide (app.css) sizes and fades the slide itself, but the
   original mockup filled it with a custom <image-slot> placeholder
   element, not a real <img> — this project uses real uploaded photos, so
   the <img> needs its own sizing rule. */
.slider__slide img {
  width: 100%; height: 100%; object-fit: cover;
}

/* .menu-edit > summary (show.html.twig's collapsible menus): .menu-edit__head
   sets display:flex on the <summary>, which drops the browser's native
   disclosure triangle in most browsers — nothing was left to show it's
   expandable. Replaced with an explicit arrow that flips on [open]. */
.menu-edit > summary {
  cursor: pointer;
  list-style: none;
}
.menu-edit > summary::-webkit-details-marker {
  display: none;
}
.menu-edit__toggle {
  flex: none;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--h-mark, var(--color-accent));
  color: var(--h-mark-ink, var(--color-bg));
  font-size: 14px;
  line-height: 1;
  transition: transform 0.2s ease;
}
.menu-edit[open] > summary .menu-edit__toggle {
  transform: rotate(180deg);
}

/* .dish-group (theme.html.twig's dish_group_widget): indents a course's
   dishes (and its "+ toevoegen" button) under the course's own name/count
   row, so it's visually clear which dishes belong to Voorgerecht vs
   Hoofdgerecht vs Nagerecht instead of everything sitting flush left. */
.dish-group {
  margin-top: var(--space-3);
  padding-left: var(--space-4);
  border-left: 2px solid var(--color-divider);
}

/* .lede (app.css) is a muted, secondary-style tagline meant for short intro
   sentences on auth/home pages — too low-contrast and too narrow for a
   package's full description, which is the page's actual content and needs
   to be readable by everyone, dyslexia included: extra line/word/letter
   spacing, left-aligned (never justified), a line length capped around
   70ch — all standard dyslexia-friendly text recommendations. */
.package-description {
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  word-spacing: 0.08em;
  max-width: 68ch;
  color: var(--color-text);
  text-align: left;
  font-style: normal;
}

/* Rich-text (wysiwyg) description: the sanitized HTML brings its own
   <p>/<ul>/<h2>, so keep their spacing inside the readable column. */
.package-description > :first-child { margin-top: 0; }
.package-description > :last-child { margin-bottom: 0; }
.package-description :is(ul, ol) { padding-left: 1.4em; }
.package-description blockquote { margin: 1em 0; padding-left: var(--space-4); border-left: 3px solid var(--color-divider); }

/* Quill editor (wysiwyg_widget): taller writing area than Quill's
   one-line default; still grows with the content, resizable by hand. */
[data-controller="wysiwyg"] .ql-editor { min-height: 280px; resize: vertical; overflow-y: auto; }

/* Multi-select checkbox list (Regio on /zoeken), after the mockup's
   .check-many: a real <input type="checkbox"> per row, visually replaced
   by the design's .check-box square and toggled through :has(), so the
   live component's data-model binding works on plain checkboxes. */
.check-many { background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: var(--radius-md); overflow: hidden; }
.check-many:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.check-many:focus-within { border-color: var(--color-accent); }
.check-many__bar { padding: 6px 10px; border-bottom: 1px solid var(--color-divider); }
.check-many__count { font-size: 12px; color: color-mix(in srgb, var(--color-text) 70%, transparent); }
/* Collapsible variant (CheckMany collapsible, the /zoeken facets): the bar
   is a <summary> with the list's name, its count and a turning ▾. */
.check-many__summary {
  display: flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 8px 12px;
  cursor: pointer; list-style: none;
}
.check-many__summary::-webkit-details-marker { display: none; }
.check-many__summary:focus-visible { outline: 2px solid var(--color-accent); outline-offset: -2px; }
.check-many__title { font-weight: 500; color: var(--color-text); }
.check-many__summary .check-many__count { margin-left: auto; }
.check-many__chevron { flex: none; transition: transform .15s; }
.check-many--collapsible[open] .check-many__chevron { transform: rotate(180deg); }
.check-many--collapsible:not([open]) > .check-many__summary { border-bottom: 0; }
/* One city per row, ~5 rows tall, then it scrolls. */
.check-list { display: flex; flex-direction: column; gap: 2px; padding: 4px; max-height: 190px; overflow-y: auto;
  overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--color-divider) transparent; }
.check-item { position: relative; display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 6px 8px; cursor: pointer;
  border-radius: calc(var(--radius-md) - 4px); font-size: 14px; color: var(--color-text); }
/* surface == accent-100 == h-soft in several palettes, so tint one step deeper. */
.check-item:hover { background: color-mix(in srgb, var(--color-accent) 8%, var(--color-surface)); }
.check-item input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.check-item .check-box { margin-top: 0; width: 18px; height: 18px; font-size: 11px; border-width: 1.5px;
  border-radius: min(var(--radius-sm), 5px); background: var(--color-bg); }
.check-item:hover .check-box { border-color: var(--color-accent); }
.check-item:has(input:checked) { background: var(--color-accent-200); color: var(--color-accent-800); }
.check-item:has(input:checked) .check-box { border-color: var(--color-accent); background: var(--color-accent); color: var(--color-bg); }
.check-item:has(input:checked) .check-item__txt { font-weight: 600; }
.check-item:has(input:focus-visible) { outline: 2px solid var(--color-accent); outline-offset: -2px; }
/* An extra, non-entity option after the list (e.g. "Klant kiest zelf de
   locatie" under Regio on /zoeken), set apart by a thin line. */
.check-item--extra { margin-top: 4px; }
.check-item--extra::before {
  content: ""; position: absolute; top: -4px; left: 8px; right: 8px; border-top: 1px solid var(--color-divider);
}
/* A lone .check-item as a form field (e.g. "De klant kiest zelf de
   locatie" in the package form): .field > label (app.css) would make it a
   block, putting the text under the box — keep it a flex row, only as
   wide as its text. */
.field > .check-item { display: flex; width: fit-content; margin-bottom: 0; }

/* Checkbox lists side by side in a filter row, equal width
   (flex 1 1 170px from .filter-panel__row > .field); wraps under each
   other on narrow screens. They're collapsible, so each keeps its own
   height (top-aligned) rather than stretching to match an open neighbour. */
.filter-panel__row--lists { align-items: start; }

/* HomeSearch: the checkbox lists take a full line of the hero's
   .search-panel (a wrapping flex row), under Soort event / prijs — three
   per row (Regio / Type menu / Entertainment, then Decoratie / Foto &
   video), one per row on phones. */
.search-panel__lists { flex: 1 1 100%; display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) {
  .search-panel__lists { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Collapsible lists (HomeSearch, the /zoeken facets) open as dropdowns
   over the page instead of pushing everything below them down (one at a
   time, closed on outside click / Escape: dropdowns_controller.js). */
.check-many--collapsible { position: relative; overflow: visible; }
.check-many--collapsible[open] > .check-many__summary { border-bottom: 0; }
.check-many--collapsible > .check-list {
  position: absolute; z-index: 20; top: calc(100% + 4px); left: -1px; right: -1px;
  max-height: 260px; background: var(--color-surface);
  border: 1px solid var(--color-divider); border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.18);
}

/* Home "Wat vier je?" tiles are links now: keep each tile's ink colour on
   hover instead of app.css's generic a:hover accent (unreadable on
   .tile--mark). */
a.tile--field:hover  { color: var(--h-field-ink); }
a.tile--band:hover   { color: var(--h-band-ink); }
a.tile--mark:hover   { color: var(--h-mark-ink); }
a.tile--softer:hover { color: var(--h-softer-ink); }

/* Tile titles are long Dutch compounds ("Verjaardagsfeest") in a tile that
   can be 170px wide: scale the heading down a little on tiles so it fits.
   No hyphenation (words split over two lines are hard to read with
   dyslexia, see the typography layer below); only as a last resort on a
   very narrow tile is the word wrapped instead of overflowing. */
.tile { min-width: 0; }
.tile .card-name { font-size: clamp(17px, 1.5vw, 21px); hyphens: manual; overflow-wrap: break-word; }

/* The brand in the Topbar is a home link now: keep the heading ink, not
   app.css's generic link colour. */
a.nav-brand, a.nav-brand:hover { color: var(--color-text); text-decoration: none; }
/* Topbar logo (image instead of the "FeestMatch" wordmark): fixed height,
   width follows the image's aspect ratio. */
.site-nav .nav-brand { display: inline-flex; align-items: center; line-height: 0; }
/* The PNG is transparent, so the radius needs a tile behind it to show. */
.nav-brand__logo { display: block; height: 44px; width: auto; box-sizing: content-box;
  padding: 4px 6px; background: #fff; border: 1px solid var(--color-divider);
  border-radius: var(--radius-md, 14px); box-shadow: var(--shadow-sm); }
@media (min-width: 1024px) { .nav-brand__logo { height: 52px; } }

/* Mobile hamburger (Topbar + hamburger_controller.js): below 760px the
   links fold away behind the button; the button only appears once the
   controller is connected, so without JS the links stay visible. */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 11px; flex: none;
  border: 1px solid var(--color-divider); border-radius: var(--radius-md, 14px);
  background: var(--color-bg); color: var(--color-text); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 759px) {
  .site-nav[data-hamburger-ready] .nav-toggle { display: flex; }
  .site-nav[data-hamburger-ready] .navgroup:not(.nav-open) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nav-toggle span { transition: none; } }

/* Inloggen / Account maken switch on the auth pages: two equal halves.
   app.css lets .role-tab hug its label from 760px up (flex: 0 0 auto),
   which left "Inloggen" narrow and "Account maken" taking the rest. */
.auth-split .role-tabs > .role-tab { flex: 1 1 0; }

/* Text only for screen readers / crawlers (e.g. a section heading the
   design doesn't show). */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* "Naar de inhoud": first focusable element, only visible on keyboard focus. */
.skip-link { position: absolute; left: var(--space-4); top: -100px; z-index: 30;
  padding: 8px 14px; background: var(--color-accent); color: var(--color-bg); border-radius: var(--radius-sm); }
.skip-link:focus { top: var(--space-3); color: var(--color-bg); }

/* Site footer (Footer component), in the Topbar's colours. */
.site-footer { margin-top: var(--space-8); padding: var(--space-8) 0 var(--space-6);
  border-top: 2px solid var(--color-divider); background: var(--color-bg); }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-6); }
.site-footer__inner .nav-brand { margin: 0 0 var(--space-2); }
.site-footer__inner .muted { max-width: 44ch; margin: 0; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.site-footer__links a { color: var(--color-text); font-size: 14px; }
.site-footer__links a:hover { color: var(--color-accent); }
.site-footer__legal { margin-top: var(--space-6); font-size: 12px; }

/* Breadcrumb (package page): "Home › Pakketnaam". */
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px;
  font-size: 13px; color: color-mix(in srgb, var(--color-text) 70%, transparent); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb [aria-current="page"] { color: var(--color-text); font-weight: 600; }

/* <address> defaults to italic. */
address { font-style: normal; }


/* =====================================================================
   Dyslexia-friendly typography layer
   ---------------------------------------------------------------------
   Last in the cascade on purpose: overrides app.css's type rules site-wide.
   Based on the British Dyslexia Association "Dyslexia Style Guide" and
   WCAG 1.4.12 (text spacing):
   - larger body text (17px), nothing readable below 14px;
   - generous line height (1.6), a little extra letter/word spacing and
     clear paragraph spacing;
   - no ALL-CAPS text (it removes word shape) and no negative/tight
     letter-spacing on headings;
   - no italics (bold for emphasis), no justified text, no hyphenation;
   - lines capped at ~70 characters;
   - softer-but-sufficient contrast: muted text 82% instead of 65%, on the
     palette's off-white background (never pure black on pure white).
   ===================================================================== */
:root {
  --text-muted: color-mix(in srgb, var(--color-text) 82%, transparent);
}

body {
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.012em;
  word-spacing: 0.06em;
  text-align: left;
  hyphens: manual;
}

p, li, dd, dt, blockquote, figcaption, address, label, td, th { line-height: 1.6; }
p { margin-bottom: 0.9em; }
main p, main li { max-width: 70ch; }
/* …except where a line is laid out/centred by its container, not read as
   a paragraph: the pager's "1–6 van 10 pakketten" spans the full row so
   it can sit centred under the page numbers. */
.pager__count { max-width: none; }

/* Headings: normal tracking, lines not squeezed together. */
h1, h2, h3, h4, h5, h6,
.display, .title, .card-name, .stat-value, .nav-brand {
  letter-spacing: 0;
  line-height: 1.2;
}
.display { line-height: 1.12; }

/* No ALL-CAPS anywhere (kickers, labels, tabs, chips, table heads…). */
h6, .kicker, .card-kicker, .stat-label, .section-title, .role-tab, .save-chip,
.sg-bar__title, .sg-tile__count, .table th, .photo-figure figcaption,
.tt-uppercase, .auth-seg .role-tab {
  text-transform: none;
  letter-spacing: 0.01em;
}

/* Minimum readable sizes (were 10–13px). */
h6, .kicker, .card-kicker, .stat-label, .section-title, .chip, .pill, .tag,
.role-tab, .auth-seg .role-tab, .save-chip, .diet-pill,
.check-many__count, .breadcrumb ol, .site-footer__legal, .field-error,
.pager__count, .pager__num, .fs-11px, .fs-12px, .fs-13px { font-size: 14px; }
.card-body, .search-panel__hint, .auth-note, .dish-row__desc, .sg-dish__desc,
.check-item, .site-footer__links a, .field > label { font-size: 15px; }
.kicker { font-weight: 600; }

/* Form controls: 16px (also stops iOS from zooming into the field). */
.input, select.input, textarea.input, .ql-editor { font-size: 16px; line-height: 1.5; }
.input::placeholder { color: var(--text-muted); opacity: 1; }

/* Secondary text: readable contrast. */
.muted, .lede, .pager__count, .check-many__count, .breadcrumb ol { color: var(--text-muted); }

/* Emphasis in bold, never italic (also inside vendor rich text). */
em, i, cite, dfn, var { font-style: normal; font-weight: 600; }

/* Justified text creates uneven "rivers" of white space. */
[style*="justify"], .ql-align-justify { text-align: left !important; }

/* Home hero with the event photo (templates/home, --hero-image set inline).
   Readability first: the photo sits on its own layer (::before), slightly
   blurred and dimmed so the sharp string lights don't compete with the
   letters, under an even dark overlay (::after) — no light gradient edge
   where a long headline could run into the bright part of the picture.
   Light text on that gives a solid contrast (well over 4.5:1) everywhere,
   which matters most for readers with dyslexia. The white search panel
   keeps its own background. */
.band-field--photo {
  --hero-ink: #fffaf6;
  /* overflow-x only: the search panel's dropdowns may hang below the hero. */
  position: relative; isolation: isolate; overflow-x: clip;
  color: var(--hero-ink);
  background: #2a1a14;
  /* Full-bleed: break out of the 1240px .container to the viewport edges,
     while the padding keeps the text lined up with the rest of the page. */
  margin-inline: calc(50% - 50vw);
  padding-inline: calc(50vw - 50% + clamp(20px, 3.4vw, 48px));
  border-radius: 0;
}
.band-field--photo::before,
.band-field--photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.band-field--photo::before {
  z-index: -2;
  background: var(--hero-image) center 40% / cover no-repeat;
  filter: blur(3px) brightness(0.85);
  transform: scale(1.06); /* hides the blur's soft transparent edge */
  clip-path: inset(2.9%); /* …and clips the scaled-up overflow back to the hero's box (1 - 1/1.06) / 2 */
}
/* Darkest behind the text column (left), never lighter than 0.66 anywhere. */
.band-field--photo::after { z-index: -1;
  background: linear-gradient(90deg, rgb(26 14 10 / 0.84) 0%, rgb(26 14 10 / 0.76) 50%, rgb(26 14 10 / 0.66) 100%); }
@media (max-width: 760px) {
  .band-field--photo::before { background-image: var(--hero-image-sm, var(--hero-image)); }
  .band-field--photo::after { background: rgb(26 14 10 / 0.74); }
}

/* Text: light ink, a soft shadow as a safety net, and kept to a readable
   width instead of running across the whole photo. */
.band-field--photo > .kicker { color: #ffd9c9; font-weight: 600; }
.band-field--photo > .display,
.band-field--photo > .lede { color: var(--hero-ink); text-shadow: 0 1px 3px rgb(0 0 0 / 0.55); }
.band-field--photo > .display { max-width: 20ch; }
/* The intro paragraph is thin body text, so it needs more help than the
   heavy headline to stay crisp on the photo: bigger, medium weight, and a
   tighter + wider double shadow that outlines each letter. */
.band-field--photo > .lede {
  max-width: 60ch;
  font-size: 19px; font-weight: 500; line-height: 1.65;
  text-shadow: 0 1px 2px rgb(0 0 0 / 0.8), 0 0 14px rgb(0 0 0 / 0.5);
}

/* Package form, "Dranken" tab (drink_group_widget): one row per drink —
   name field filling the row, remove button beside it, error underneath. */
.drink-edit { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); align-items: center; }
.drink-edit > .input { flex: 1 1 220px; }
.drink-edit > .field-error { flex-basis: 100%; }

/* Package page, "Dranken": the drinks of each formula as a plain list. */
.drink-list { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.drink-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: var(--space-3); }
.drink-types .stat-label { margin: 0 0 var(--space-2); }

/* Package page, "Inbegrepen diensten": a ✓ in front of each service. */
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.service-list li { position: relative; padding-left: 1.6em; }
.service-list li::before { content: "✓"; position: absolute; left: 0; color: var(--color-accent-2); font-weight: 700; }
/* PackageCard: one column, capped at 3 items plus a "…" line. */
.service-list--card { grid-template-columns: 1fr; gap: 4px; font-size: 15px; }
.service-list--card .service-list__more { color: color-mix(in srgb, var(--color-text) 82%, transparent); }
.service-list--card .service-list__more::before { content: none; }

/* Package page: the vendor's phone / e-mail as buttons. min-height keeps a
   44px touch target; a long e-mail address wraps instead of overflowing. */
.contact-btn { min-height: 44px; gap: var(--space-2); }
.contact-btn svg { flex: none; }
.contact-btn span { min-width: 0; overflow-wrap: anywhere; }
