/* =====================================================================
   fritkotactie.be: shared structure for the redesign themes.
   Loaded after Bootstrap 4.3.1 and before exactly one theme file (theme-a.css or theme-c.css),
   which defines the --ui-* tokens on html[data-theme] and skins the components below.
   This file holds layout, component structure and behaviour only: no theme colours or fonts.

   Breakpoints follow Bootstrap 4: phone < 576, tablet 576-991, desktop >= 992.

   Components (shared vocabulary with bestfrit.be):
     layout   .site-header .site-nav .brand .lang-toggle .site-main .site-footer
              .test-marker .theme-review-pill .cookie-notice (#cookiesModal)
     blocks   .page-header .section .section--tint .card-ui .prose
     controls .btn + .btn-primary-ui | .btn-secondary-ui | .btn-ghost-ui | .btn-accent-ui
              .chip .badge-ui .form-field .alert-ui .accordion-ui
              .field-pair .check-field .form-actions .form-summary (with .form-field)
     frituren .frituur-card (as on bestfrit.be) .frituren-search .switch .frituur-detail
              .frituur-hours .frituur-gallery (see the Frituren section)
     account  .auth .form-card .inline-form .account .account-nav .modal-ui (see Account pages)
   ===================================================================== */

/* ---------- base ---------- */
html { -webkit-text-size-adjust: 100%; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: var(--ui-font);
  font-size: var(--ui-fs-body);
  line-height: var(--ui-lh-body);
  color: var(--ui-ink);
  background: var(--ui-canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.site-main { flex: 1 0 auto; padding-bottom: var(--ui-main-end); }

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { color: inherit; font-family: inherit; overflow-wrap: break-word; }

a { color: var(--ui-link); text-underline-offset: .18em; }
a:hover { color: var(--ui-link-hover); }

/* Bootstrap's grey helpers fall under 4.5:1 on the warm canvases */
.text-muted, .text-secondary { color: var(--ui-ink-2) !important; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--ui-focus);
  outline-offset: 3px;
}
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: 0; }

.form-control:focus {
  border-color: var(--ui-focus);
  box-shadow: 0 0 0 3px var(--ui-focus-ring);
}

.container { padding-left: var(--ui-gutter); padding-right: var(--ui-gutter); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- test marker + A | C review pill (non-production only, first thing in the header) ----------
   One band in normal flow at every width: the hazard stripe, with the pill at its right end while
   UiTheme.All lists more than one theme (44px tall then; with only theme A left the layout drops the
   pill and the band is the stripe's 10px). It is never fixed, so it never covers page content.
   Same rules as bestfrit.be. */
.review-bar { display: flex; background: #1c1411; }
.test-marker {
  flex: 1 1 auto;
  min-height: 10px;
  background: repeating-linear-gradient(-45deg, #ffcc00 0 12px, #1c1411 12px 24px);
}
.theme-review-pill {
  display: flex;
  flex: none;
  gap: 2px;
  padding: 0 6px 0 8px;
  background: #1c1411;
  font: 800 15px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
}
.theme-review-pill a {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  text-decoration: none;
}
/* the visible key sits inside the 44px target */
.theme-review-pill a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 6px 4px;
  border-radius: 9px;
}
.theme-review-pill a:hover { color: #fff; }
.theme-review-pill a:hover::before { background: rgba(255, 255, 255, .14); }
.theme-review-pill a.is-active, .theme-review-pill a.is-active:hover { color: #1c1411; }
.theme-review-pill a.is-active::before { background: #ffcc00; }
.theme-review-pill a:focus-visible { outline: 3px solid #ffcc00; outline-offset: -3px; border-radius: 10px; }

/* ---------- header / navbar ---------- */
.site-header { position: relative; z-index: 20; }

.navbar.site-nav { padding: 0; }

/* reading-flow: where supported, focus follows the visual order below 992px too (brand, language
   toggle, burger, menu); elsewhere it is the DOM order (brand, burger, menu, toggle). From 992px both
   are the same. Same on bestfrit.be. */
.navbar.site-nav > .site-nav__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: var(--ui-nav-gap);
  min-height: var(--ui-nav-h);
  padding-left: var(--ui-gutter);
  padding-right: var(--ui-gutter);
  reading-flow: flex-visual;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--ui-brand-gap);
  min-width: 0;
  margin-right: auto;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { color: inherit; text-decoration: none; }
/* keeps the bar row at full height when the opened menu wraps below it */
.site-nav__bar > .brand { min-height: var(--ui-nav-h); }
.brand__cone { flex: none; width: var(--ui-brand-cone); height: var(--ui-brand-cone); object-fit: contain; }
.brand__word { font-size: var(--ui-brand-size); line-height: 1; }
.brand__word small { font-size: var(--ui-brand-tld); margin-left: 1px; }

.site-nav .navbar-nav { gap: 2px; }
.site-nav .navbar-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 var(--ui-nav-link-px);
  border-radius: var(--ui-r-pill);
  white-space: nowrap;
  text-decoration: none;
  transition: background-color .15s, color .15s;
}
.site-nav .navbar-nav .nav-link i { font-size: .9em; }

.site-nav__toggler {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}

/* tablet and phone: brand, language and burger on one row; the menu drops below. The markup has the
   burger before the menu and the language toggle last (the desktop order), so the toggle is moved
   in front of the burger here. */
@media (max-width: 991.98px) {
  .site-nav .lang-toggle { order: 1; margin-left: 0; }
  .site-nav__toggler { order: 2; }
  .site-nav__menu { order: 5; flex-basis: 100%; }
  .site-nav .navbar-nav { padding: 8px 0 16px; }
  .site-nav .navbar-nav .nav-link { min-height: 48px; padding: 0 16px; border-radius: var(--ui-r-ctl); }
}
@media (min-width: 992px) {
  /* min-width and wrap are a safety net: labels longer than the translations (a page that loads none
     shows "No translation found" five times) wrap the links onto more rows instead of pushing the
     page sideways */
  .site-nav__menu { justify-content: flex-end; min-width: 0; }
  .site-nav .site-nav__links { flex-wrap: wrap; justify-content: flex-end; }
}

/* ---------- language toggle (two forms, aria-pressed marks the current one) ---------- */
.lang-toggle {
  display: inline-flex;
  flex: none;
  align-items: center;
  border-radius: var(--ui-r-pill);
}
.lang-toggle form { display: flex; margin: 0; }
.lang-toggle__btn {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--ui-r-pill);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
/* the visible pill sits inside the 44px target */
.lang-toggle__btn::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4px;
  border-radius: var(--ui-r-pill);
  transition: background-color .15s;
}
.lang-toggle__btn:focus-visible { outline-offset: -2px; }

/* ---------- footer ---------- */
.site-footer { padding: var(--ui-foot-pad-top) 0 var(--ui-foot-pad-bottom); }
.site-footer__row { row-gap: 24px; }
.site-footer__links, .site-footer__contact { list-style: none; margin: 0; padding: 0; }
.site-footer__links { display: flex; flex-direction: column; gap: 4px; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 36px; }
/* baseline: the icon sits on the first text line, whether that is a 44px link or a two-line address */
.site-footer__contact li { display: flex; align-items: baseline; gap: 12px; padding: 6px 0; line-height: 1.55; }
.site-footer__contact i { flex: none; width: 18px; text-align: center; }
.site-footer__contact a { overflow-wrap: anywhere; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .brand { min-height: 44px; }
.site-footer .brand:hover { text-decoration: none; }

/* touch widths (phones and tablets): every footer link is a 44px target */
@media (max-width: 991.98px) {
  .site-footer__links { gap: 0; }
  .site-footer__links a { min-height: 44px; }
  .site-footer__contact li { padding: 2px 0; }
  .site-footer__contact a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ---------- cookie notice (#cookiesModal; site.js shows it with display:block) ---------- */
.cookie-notice {
  display: none;
  position: fixed;
  z-index: 1040;
  left: var(--ui-cookie-inset);
  right: var(--ui-cookie-inset);
  bottom: var(--ui-cookie-inset);
}
.cookie-notice__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "ico text btn";
  align-items: center;
  column-gap: 24px;
  max-width: 1232px;
  margin: 0 auto;
  padding: 20px 24px 20px 20px;
}
.cookie-notice__icon {
  grid-area: ico;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  font-size: 22px;
}
.cookie-notice__text { grid-area: text; }
.cookie-notice__title, .cookie-notice__body { margin: 0; }
.cookie-notice__title { line-height: 1.35; }
.cookie-notice__body { margin-top: 4px; line-height: 1.5; max-width: 86ch; }
.cookie-notice__btn { grid-area: btn; min-width: 180px; }

/* the open notice must never hide the end of the page */
body:has(> .cookie-notice[style*="block"]) .site-footer { padding-bottom: calc(var(--ui-foot-pad-bottom) + var(--ui-cookie-room)); }

/* phone and small tablet: a card; icon beside the title, text and button full width below */
@media (max-width: 767.98px) {
  .cookie-notice__inner {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas: "ico title" "body body" "btn btn";
    align-items: center;
    column-gap: 12px;
    padding: 16px 16px 14px;
  }
  .cookie-notice__text { display: contents; }
  .cookie-notice__title { grid-area: title; }
  .cookie-notice__body { grid-area: body; margin-top: 8px; }
  .cookie-notice__icon { width: 40px; height: 40px; font-size: 18px; }
  .cookie-notice__btn { width: 100%; min-width: 0; margin-top: 12px; }
}

/* ---------- page header (title + optional lead) ----------
   <header class="page-header"><div class="container"><div class="page-header__inner">
     <h1 class="page-header__title">…</h1> <p class="page-header__lead">…</p>
   </div></div></header>
   Both themes put it on a dark block (A burgundy band, C red block) and re-scope --ui-link and
   --ui-focus there, so links and focus rings in the title or lead stay readable. */
.page-header__title { margin: 0; overflow-wrap: break-word; }
.page-header__lead { margin: 16px 0 0; max-width: 62ch; text-wrap: pretty; }
/* a lead of several paragraphs (Temp/InitPassword) */
.page-header__lead > p { margin: 0; }
.page-header__lead > p + p { margin-top: .6em; }

/* ---------- sections ---------- */
.section { padding: var(--ui-section-y) 0; }
.section--tint { background: var(--ui-section-tint); }

/* ---------- buttons (on Bootstrap's .btn) ---------- */
.btn-primary-ui, .btn-secondary-ui, .btn-ghost-ui, .btn-accent-ui {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--ui-btn-h);
  padding: 8px var(--ui-btn-px);
  border: 0;
  border-radius: var(--ui-r-ctl);
  font-family: inherit;
  font-size: var(--ui-btn-fs);
  font-weight: var(--ui-btn-weight);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  white-space: normal;
  cursor: pointer;
  transition: background-color .15s, box-shadow .15s, color .15s;
}
.btn-primary-ui:hover, .btn-secondary-ui:hover, .btn-ghost-ui:hover, .btn-accent-ui:hover { text-decoration: none; }
.btn-primary-ui:focus-visible, .btn-secondary-ui:focus-visible, .btn-ghost-ui:focus-visible, .btn-accent-ui:focus-visible {
  outline: 3px solid var(--ui-focus);
  outline-offset: 3px;
}
.btn-primary-ui:disabled, .btn-secondary-ui:disabled, .btn-ghost-ui:disabled, .btn-accent-ui:disabled,
.btn-primary-ui.disabled, .btn-secondary-ui.disabled, .btn-ghost-ui.disabled, .btn-accent-ui.disabled { opacity: .55; cursor: not-allowed; }
.btn-primary-ui i, .btn-secondary-ui i, .btn-ghost-ui i, .btn-accent-ui i { font-size: .95em; }

.btn.btn-lg[class*="-ui"] { min-height: var(--ui-btn-h-lg); padding: 10px var(--ui-btn-px-lg); font-size: var(--ui-btn-fs-lg); }
.btn.btn-sm[class*="-ui"] { min-height: 44px; padding: 6px 16px; font-size: 15px; }
.btn.btn-block[class*="-ui"] { display: flex; width: 100%; }

/* ---------- card ---------- */
.card-ui { position: relative; padding: var(--ui-card-pad); background: var(--ui-surface); border-radius: var(--ui-r-card); }
.card-ui--flush { padding: 0; overflow: hidden; }

/* ---------- chip and badge ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: var(--ui-r-pill);
  white-space: nowrap;
}
.chip i { font-size: .85em; }

.badge-ui {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 4px 14px;
  border-radius: var(--ui-r-pill);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.1;
}
.badge-ui--live::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- form field: label, input, validation message ---------- */
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-field > label, .form-field__label { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.35; }
.form-field .form-control {
  height: auto;
  min-height: 52px;
  padding: 12px 16px;
  font-size: 17px;
  line-height: 1.4;
  border-radius: var(--ui-r-ctl);
}
.form-field textarea.form-control { min-height: 144px; }
/* messages and hints are read, not scanned: body-text floor (16px), as the check rows */
.form-field .text-danger, .form-field .field-validation-error, .form-field .invalid-feedback {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.form-field .field-validation-valid { display: none; }
/* an invalid field (.input-validation-error from the server or jQuery unobtrusive, or the browser's own
   check after a submit attempt): each theme turns its edge red; here the edge gets heavier and the label
   gets a warning mark, so the state doesn't rest on colour alone (Contact shows no message text). The
   same treatment as on bestfrit.be. Separate rules, not one list: an engine without :user-invalid drops
   every selector of the rule it sits in. A focused field keeps the theme's focus ring instead. */
.form-field .form-control.input-validation-error:not(:focus) { box-shadow: inset 0 0 0 1px var(--ui-danger-ink); }
.form-field .form-control:user-invalid:not(:focus) { box-shadow: inset 0 0 0 1px var(--ui-danger-ink); }
/* a mask, so the mark takes the theme's danger colour and adds nothing to the label's text */
.form-field:has(.form-control:is(.input-validation-error, :user-invalid)) > label::after {
  --invalid-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M10 0a10 10 0 1 0 0 20a10 10 0 1 0 0-20zM8.7 4.6h2.6l-.45 7.4h-1.7zM10 13.4a1.45 1.45 0 1 0 0 2.9a1.45 1.45 0 1 0 0-2.9z'/%3E%3C/svg%3E");
  content: "";
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  margin-left: .4em;
  vertical-align: -.17em;
  background-color: var(--ui-danger-ink);
  -webkit-mask: var(--invalid-mark) center / contain no-repeat;
  mask: var(--invalid-mark) center / contain no-repeat;
}
.form-field__hint { margin: 0; font-size: 16px; line-height: 1.45; }
/* one chevron for both themes: their fields are white */
.form-field select.form-control {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%234a3b33' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px 14px;
  cursor: pointer;
}
/* a status inside a field (Manage/Email: the check mark of a confirmed address) */
.form-field .input-group > .form-control { padding-right: 60px; border-radius: var(--ui-r-ctl); }
.form-field .input-group-append { position: absolute; z-index: 4; top: 50%; right: 10px; margin: 0; transform: translateY(-50%); }
.form-field .input-group-append > .form-field__ok { justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; font-size: 17px; font-weight: 800; }
/* a secondary action under a field (Manage/Email: send the verification mail) */
.form-field .form-field__action { align-self: flex-start; min-height: 44px; padding: 0; font-weight: 700; text-decoration: underline; }

/* two fields side by side from 576px; --wide-end gives the second the larger share (postcode | birthday) */
.field-pair { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 20px; }
@media (min-width: 576px) {
  .field-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-pair--wide-end { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
}
/* the birthday: day and month dropdowns */
.birthday-field { display: grid; grid-template-columns: minmax(88px, 1fr) minmax(0, 2fr); gap: 10px; }

/* a checkbox with its text: the box sits on the first line, the whole row is the target.
   Theme tokens: --check-edge (the empty box's border) and --check-on (the ticked box). */
.check-field { margin-bottom: 8px; }
.check-field > label { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; margin: 0; padding: 10px 0; font-size: 16px; line-height: 1.5; cursor: pointer; }
.check-field input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 2px solid var(--check-edge, var(--ui-field-line));
  border-radius: 7px;
  background: #fff center / 16px 16px no-repeat;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.check-field input[type="checkbox"]:checked {
  border-color: var(--check-on, var(--ui-primary));
  background-color: var(--check-on, var(--ui-primary));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M3.2 8.6l3.1 3 6.5-7.2'/%3E%3C/svg%3E");
}
.check-field input[type="checkbox"]:focus-visible { outline: 3px solid var(--ui-focus); outline-offset: 2px; }
.check-field input[type="checkbox"].input-validation-error { border-color: var(--ui-danger-ink); }
/* a link in the row's text (the privacy policy): its vertical padding grows the tap target to the
   row's 44px (45-47px with either theme's font) without moving the text, so a tap just above or
   below it opens the link, not the box */
.check-field a { padding-block: 13px; font-weight: 700; text-decoration: underline; }
.check-field .text-danger { display: block; font-size: 16px; font-weight: 600; }
.check-field .field-validation-valid { display: none; }
/* forced colours drop the drawn tick (a background image): fall back to the system checkbox */
@media (forced-colors: active) {
  .check-field input[type="checkbox"] { -webkit-appearance: auto; appearance: auto; }
}

/* the submit button, with a secondary link beside it (under it on phones) */
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 8px; }
.form-actions__link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; }
@media (max-width: 575.98px) {
  .form-actions .btn { width: 100%; }
}

/* a form's validation summary (asp-validation-summary): a danger panel once it has errors */
.form-summary.validation-summary-valid { display: none; }
/* the same messages as under the fields, so the same 16px */
.form-summary.validation-summary-errors { margin-bottom: 20px; padding: 14px 20px; border-radius: var(--ui-r-panel); font-size: 16px; font-weight: 600; line-height: 1.45; }
.form-summary ul { margin: 0; padding-left: 1.1em; }

/* ---------- alert (status messages) ---------- */
.alert.alert-ui {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  padding: 16px 20px;
  border: 0;
  border-radius: var(--ui-r-panel);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}
.alert.alert-ui::before {
  flex: none;
  margin-top: .1em;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f05a"; /* circle-info */
}
.alert.alert-ui--success::before { content: "\f058"; } /* circle-check */
.alert.alert-ui--danger::before { content: "\f06a"; }  /* circle-exclamation */
.alert.alert-ui.alert-dismissible { padding-right: 60px; }
.alert.alert-ui .close {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: inherit;
  opacity: .75;
  text-shadow: none;
}
.alert.alert-ui .close:hover { opacity: 1; }

/* ---------- accordion on Bootstrap 4 collapse markup (.accordion > .card > .card-header > button) ---------- */
.accordion-ui > .card.card {
  overflow: hidden;
  border: 0;
  border-radius: var(--ui-r-panel);
  background: var(--ui-surface);
}
/* Bootstrap squares the inner cards of an .accordion with (0,4,0) selectors; every card keeps its corners */
.accordion.accordion-ui > .card.card { border-radius: var(--ui-r-panel); }
.accordion-ui > .card.card + .card { margin-top: 12px; }
.accordion-ui > .card > .card-header { margin: 0; padding: 0; border: 0; background: transparent; }
.accordion-ui .card-header .btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 64px;
  padding: 16px 24px;
  border: 0;
  border-radius: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  text-decoration: none;
  white-space: normal;
  /* French puts a space before "?": keep the mark from ending up alone on the last line */
  text-wrap: pretty;
  box-shadow: none;
}
.accordion-ui .card-header .btn::after {
  flex: none;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 14px;
  content: "\f078"; /* chevron-down */
  transition: transform .2s;
}
.accordion-ui .card-header .btn[aria-expanded="true"]::after { transform: rotate(180deg); }
/* Bootstrap's .btn:focus { outline: 0 } outranks the generic focus ring */
.accordion-ui .card-header .btn:focus-visible { outline: 3px solid var(--ui-focus); outline-offset: -3px; }
.accordion-ui .card-body { padding: 0 24px 24px; }

/* ---------- prose: admin-written rich text ---------- */
.prose { overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p, .prose ul, .prose ol, .prose table, .prose blockquote { margin: 0 0 1em; }
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { margin: 1.2em 0 .45em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .3em; }
.prose a { text-decoration: underline; }
.prose img { max-width: 100%; height: auto; }
.prose table { width: 100%; }
/* pasted editor styles must not override the theme's type */
.prose [style], .prose font {
  font-family: inherit !important;
  line-height: inherit !important;
}
/* colours: the backend editor's text and background colour buttons write a span that sets colours only
   (style="color: rgb(…);", "background-color: …"), and older texts have <font color>; those colours show.
   Pasted text sets fonts as well, so a style with a font in it keeps the theme's colours (a paste from a
   dark-mode page would otherwise bring grey text on a black box). */
.prose [style*="font"], .prose font[face], .prose font[size] {
  color: inherit !important;
  background-color: transparent !important;
}
.prose span[style], .prose font, .prose p[style], .prose li[style], .prose div[style],
.prose b[style], .prose strong[style], .prose em[style], .prose i[style], .prose u[style] { font-size: inherit !important; }
/* a block that sizes its headings differently (the home action card) sets these two tokens, not an
   !important of its own */
.prose h1[style], .prose h2[style] { font-size: var(--ui-prose-h2) !important; }
.prose h3[style], .prose h4[style], .prose h5[style], .prose h6[style] { font-size: var(--ui-prose-h4) !important; }

/* =====================================================================
   Home page (Pages/Index + _Agenda, _DefaultActions, _Downloads). Structure only; each theme
   lays the sections out and skins them. _Agenda and _Downloads also render on Contact, so their
   rules are not scoped to the home page.
     .home-hero (__grid __text __title __lead __cta __art)
     .home-feature: the first block after the hero (A overlaps it onto the hero):
        #index-banner.home-banner (Vue root), then .action-card or .action-card--empty
     .action-card (__frame __ticket __media[--cone] __img __cone __body __title __when __text
        __cta __note __partners __partners-title __logos) + .partner-tile
     .home-slogan (__band __text __brand __line) .home-section .home-app (__card __media __body
        __title __benefits __ico __stores)
     .agenda (__title __list __art) + table.agenda-list (__when __tile __range __name __empty)
     .downloads (__intro __title __lead __list) + .download-item (__cover __text __name __type
        __btn) + .contact-band (__text; home page only, Contact shows the line as a second lead)
   ===================================================================== */
.home-hero__title, .home-hero__lead { margin: 0; }
.home-hero__title { text-wrap: balance; }
.home-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.home-hero__art img { display: block; max-width: 100%; height: auto; }

.home-feature { position: relative; z-index: 1; }
.home-banner { overflow: hidden; }
.home-banner a { display: block; }
.home-banner__img { display: block; width: 100%; height: auto; }

.action-card__ticket { display: grid; grid-template-columns: minmax(0, 1fr); }
.action-card__media { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; }
.action-card__img { display: block; max-width: 100%; height: auto; object-fit: contain; }
.action-card__cone { display: block; height: auto; }
.action-card__body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.action-card__title, .action-card__note { margin: 0; }
.action-card__when { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-variant-numeric: tabular-nums; }
.action-card__text { max-width: 100%; }
/* the action's list of advantages reads as a row of chips */
.action-card__text ul { display: flex; flex-wrap: wrap; list-style: none; padding: 0; }
.action-card__text li { display: inline-flex; align-items: center; }
.action-card__text li + li { margin-top: 0; }
.action-card__cta { max-width: 100%; }
.action-card__partners-title { margin: 0; }
.action-card__logos { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.partner-tile { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.partner-tile:hover { text-decoration: none; }
.partner-tile img { display: block; min-width: 0; max-width: 100%; max-height: 100%; object-fit: contain; }

.home-slogan__text { margin: 0; }
.home-slogan__brand, .home-slogan__line { display: block; }

.home-app__title { margin: 0; }
.home-app__benefits { margin: 0; padding: 0; list-style: none; }
.home-app__benefits li { display: flex; align-items: flex-start; }
.home-app__ico { display: grid; flex: none; place-items: center; }
.home-app__stores { display: flex; flex-wrap: wrap; }
.home-app__stores a { display: block; }
/* the badge artwork has transparent margins (about 10% top and bottom): the negative margin
   lines the visible badge up with its neighbours */
.home-app__stores img { display: block; width: auto; height: var(--home-badge-h, 66px); margin: calc(var(--home-badge-h, 66px) * -.09) 0; }

.agenda__title { margin: 0; }
.agenda-list { width: 100%; margin: 0; }
.agenda-list th { font-weight: 700; text-align: left; }
.agenda-list__tile { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.agenda-list__range { font-variant-numeric: tabular-nums; white-space: nowrap; }
.agenda-list__empty td { text-align: center; }
.agenda__art img { display: block; max-width: 100%; height: auto; }

.downloads__title, .downloads__lead { margin: 0; }
.downloads__list { margin: 0; padding: 0; list-style: none; }
.download-item { text-decoration: none; }
.download-item:hover { text-decoration: none; }
.download-item__text { display: flex; flex-direction: column; min-width: 0; }
.download-item__name { overflow-wrap: anywhere; }
.download-item__btn, .download-item__cover { display: grid; flex: none; place-items: center; }
.contact-band__text { margin: 0; }

/* =====================================================================
   Inner pages: a .page-header, then .page-body. Structure only; each theme spaces and skins them
   (tokens --page-gap, --legal-gap, --step-size, --step-gap).
     .page-header--lift + .page-body: theme A pulls the body's first block up onto the burgundy
        band, as the home voucher rides the hero.
     .page-header__title--sentence: a title that arrives in capitals, shown in sentence case
        (Uitschrijven, Uitgeschreven). It lowercases the whole title, so a proper noun an admin
        puts in Unsubscribe_Title or Unsubscribe_Succesful_Title would lose its capital. Once a
        theme is chosen, the translation migration should store those two values in sentence case
        and this modifier should go.
     .page-stack: the rhythm between a page's blocks
     .legal-sheet > .legal: Privacy and Voorwaarden. On desktop the section headings (h2) sit in
        a left column beside their text; subheadings (h3) stay with the text. The rules also take
        h4 / h5, the levels _PrivacyPolicyText uses inside the login page's modal, where
        .legal--stack keeps the text in one column.
     .message (--ok --warn; __icon __text): a short status page (Error, NotFound, Uitgeschreven)
     .how-intro (__media __text __title __lead) .how-ways .how-card (__ico __title __lead __end)
        + ol.steps: Watenhoe
     .faq (__group __title __list) + .accordion-ui__heading: FAQ
     .contact-card (__aside __art __hint __main) .contact-form (__row __actions) .contact-section
        .contact-details (__title __address): Contact
     .unsubscribe (__form __field __btn __alert): Contact/Uitschrijven
   The cards sit on .card-ui (.how-card, .legal-sheet, .message, .unsubscribe) or .card-ui--flush
   (.how-intro, .contact-card), which gives them the surface, radius and shadow; the themes only
   set each block's padding and, where it differs, its radius. Theme A's FAQ sheet is the one
   exception (see theme-a.css).
   ===================================================================== */
.page-body { position: relative; z-index: 1; }
.page-stack > * + * { margin-top: var(--page-gap); }

.page-header__title--sentence { text-transform: lowercase; }
.page-header__title--sentence::first-letter { text-transform: uppercase; }

/* status messages inside a page (contact, unsubscribe) */
.alert.alert-ui .validation-summary-errors ul, .alert.alert-ui .validation-summary-valid ul { margin: 0; padding: 0; list-style: none; }
.alert.alert-ui .text-danger { color: inherit !important; }

/* ---------- legal text ---------- */
.legal { overflow-wrap: break-word; }
.legal > * { margin: 0; }
.legal > * + * { margin-top: 1em; }
.legal > :is(h2, h4) { margin-top: var(--legal-gap); }
.legal > :is(h3, h5) { margin-top: 1.6em; }
.legal > :is(h2, h3, h4, h5) + * { margin-top: .5em; }
.legal > :first-child { margin-top: 0; }
/* the italic lead-ins of the privacy text ("Google Analytics", "Flexmail", …) label a paragraph */
.legal p > i:first-child { font-style: normal; font-weight: 700; }
/* some links stand on a line of their own (the Flexmail policy URL, the e-mail address under a
   postal address): the vertical padding grows the tap target to 44px without moving the text, as
   in .check-field */
.legal a { padding-block: 13px; text-decoration: underline; overflow-wrap: anywhere; }
@media (min-width: 992px) {
  /* Sparse auto-placement: a heading (column 1) always starts a new row, and the block after it
     shares that row in column 2; every later block of the section gets its own row there. The
     heading spans far more rows than a section has blocks, so a tall heading never stretches the
     row of the block beside it; the rows nothing lands in collapse to nothing, and the next
     heading starts below the last block of the section. */
  .legal:not(.legal--stack) { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 48px; align-items: start; }
  .legal:not(.legal--stack) > * { grid-column: 2; }
  .legal:not(.legal--stack) > :is(h2, h4) { grid-column: 1; grid-row: span 40; }
  .legal:not(.legal--stack) > :is(h2, h4), .legal:not(.legal--stack) > :is(h2, h4) + * { margin-top: var(--legal-gap); padding-top: var(--legal-gap); border-top: var(--legal-rule, 1px solid var(--ui-line)); }
  .legal:not(.legal--stack) > :first-child, .legal:not(.legal--stack) > :first-child + * { margin-top: 0; padding-top: 0; border-top: 0; }
}
/* .legal--stack keeps one column at every width (the privacy text in the login page's modal) */

/* ---------- message ---------- */
.message { display: flex; align-items: flex-start; max-width: 760px; }
.message__icon { display: grid; flex: none; place-items: center; }
.message__text { min-width: 0; align-self: center; text-wrap: pretty; }
.message__text p { margin: 0; }
.message__text p + p { margin-top: 1em; }
.message__text a { font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; }
@media (max-width: 575.98px) {
  .message { flex-direction: column; }
  .message__text { align-self: auto; }
}

/* ---------- how it works ---------- */
.how-intro { display: grid; grid-template-columns: minmax(0, 1fr); }
.how-intro__media { position: relative; min-width: 0; }
.how-intro__media img {
  position: absolute;
  top: var(--how-frame, 0px);
  left: var(--how-frame, 0px);
  width: calc(100% - 2 * var(--how-frame, 0px));
  height: calc(100% - 2 * var(--how-frame, 0px));
  object-fit: cover;
}
.how-intro__text { min-width: 0; }
.how-intro__title, .how-intro__lead { margin: 0; }

.how-ways { display: grid; grid-template-columns: minmax(0, 1fr); }
/* side by side, each card as tall as its own steps: the web route is much shorter than the app
   route, and a stretched card would end in an empty white block */
@media (min-width: 992px) { .how-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.how-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.how-card__ico { display: grid; flex: none; place-items: center; }
.how-card__title, .how-card__lead, .how-card__end { margin: 0; }
.how-card .steps { align-self: stretch; }

/* steps: the number on a disc, a line joining the discs; the baseline lines the number up with
   the step's first line */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps > li {
  position: relative;
  display: grid;
  grid-template-columns: var(--step-size) minmax(0, 1fr);
  align-items: baseline;
  column-gap: 16px;
  counter-increment: step;
}
.steps > li + li { margin-top: var(--step-gap); }
/* the step's text, rich text included, in one grid cell; text and tags loose in the li would each take a cell */
.steps__text { min-width: 0; }
.steps > li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: var(--step-size);
  height: var(--step-size);
  border-radius: 50%;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(var(--step-size) / 2 - 1px);
  top: calc(var(--step-size) + 6px);
  bottom: calc(var(--step-gap) * -1 + 6px);
  width: 2px;
}

/* ---------- FAQ ---------- */
.faq__title { margin: 0; }
.accordion-ui__heading { margin: 0; }
@media (min-width: 992px) {
  .faq__group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 48px; align-items: start; }
}

/* ---------- contact ---------- */
.contact-card { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .contact-card { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.contact-card__aside { display: flex; flex-direction: column; min-width: 0; }
.contact-card__art { display: block; flex: none; max-width: 100%; height: auto; }
.contact-card__hint { margin: 0; text-wrap: pretty; }
.contact-card__main { min-width: 0; }
.contact-form__row { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 20px; }
@media (min-width: 768px) { .contact-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-form__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.contact-details__title, .contact-details__address { margin: 0; }
.contact-details__address { display: flex; align-items: baseline; gap: 14px; }
.contact-details__address i { flex: none; width: 20px; text-align: center; }

/* ---------- unsubscribe ---------- */
.unsubscribe { max-width: 760px; }
.unsubscribe__form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; }
.unsubscribe__field { flex: 1 1 260px; min-width: 0; margin-bottom: 0; }
.unsubscribe__field .form-control { min-height: var(--ui-btn-h); }
.unsubscribe__btn { flex: none; }
.unsubscribe__alert.alert { margin: 24px 0 0; }
@media (max-width: 575.98px) { .unsubscribe__btn { flex: 1 1 100%; } }

/* =====================================================================
   Frituren (Areas/Frituren Index and Detail, _ImageCarousel). Structure only; each theme skins them.
     list   #frituren-index.frituren (Vue root): .frituren-search (__bar __field __input __clear __btn
              __filters) with a .frituren-filter (__label) round each .switch/.slider; then
              .frituren-loading, ul.frituur-grid (__item) of .frituur-card, .frituren-loading--more and
              .frituren-empty (a .message card). .frituren-sentinel follows the root: the next cards
              load as it nears the screen. Theme tokens: --frituren-gap (between those blocks),
              --frituur-gap (between cards), --switch-off/-on/-edge/-knob/-knob-on.
     card   .frituur-card (__media __placeholder __img __badge __body __name __addr __status __foot
              __sign __go): bestfrit.be's home card in this site's tokens. The photo link is stretched
              over the whole card. The API's default image (fka-logo.png) and a photo that fails to
              load show the cone on a --placeholder-bg tile. Theme tokens: --card-photo-ratio,
              --frituur-card-pad, --placeholder-bg.
     detail .frituur-detail__head (on .page-header: __head-inner __id __address __status __sign
              __label), then .page-body.frituur-detail: __main (.frituur-hours (__list __row,
              .is-today .is-quiet) beside .frituur-gallery (#slider over #carousel, or __empty)),
              __info, __visit (__links __link, __map round #mapid). __title heads the blocks.
   ===================================================================== */

/* ---------- list: search panel and switches ---------- */
.frituren { display: flex; flex-direction: column; gap: var(--frituren-gap, 40px); }
.frituren-search__bar { display: flex; flex-wrap: wrap; gap: 12px; }
/* field and button share a row down to a 200px field (the input keeps 50px for the icon and 54px for the clear
   button); below that the button takes a full row of its own */
.frituren-search__field { position: relative; display: flex; flex: 999 1 200px; align-items: center; min-width: 0; margin: 0; }
.frituren-search__field > i { position: absolute; left: 20px; font-size: 18px; pointer-events: none; }
.frituren-search__input {
  width: 100%;
  min-height: var(--ui-btn-h);
  padding: 8px 54px 8px 50px;
  border-radius: var(--ui-r-ctl);
  font: inherit;
  font-size: 17px;
  line-height: 1.3;
}
.frituren-search__input:focus-visible { outline: 0; }
/* the clear button: a 44px circle at the input's right end, over the padding the input keeps free for it */
.frituren-search__clear {
  position: absolute;
  top: 50%;
  right: 5px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 18px;
  cursor: pointer;
  transform: translateY(-50%);
}
.frituren-search__clear:focus-visible { outline: 3px solid var(--ui-focus); outline-offset: -3px; }
.frituren-search__btn { flex: 1 0 auto; }
.frituren-search__filters { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.frituren-filter { display: flex; align-items: center; gap: 14px; min-width: 0; min-height: 44px; }
.frituren-filter__label { margin: 0; cursor: pointer; font-size: 16px; line-height: 1.35; text-wrap: pretty; }

/* the on/off switch: the checkbox lies invisibly over the track (6px beyond it above and below, a
   44px target), so the track itself is the target */
.switch { position: relative; flex: none; width: 52px; height: 32px; margin: 0; }
.switch input { position: absolute; z-index: 1; top: -6px; left: 0; width: 100%; height: calc(100% + 12px); margin: 0; opacity: 0; cursor: pointer; }
.slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--switch-off);
  box-shadow: inset 0 0 0 var(--switch-edge-w, 0px) var(--switch-edge, transparent);
  transition: background-color .2s;
}
.slider::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--switch-knob, #fff);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  transition: transform .2s, background-color .2s;
}
.switch input:checked + .slider { background: var(--switch-on); }
.switch input:checked + .slider::before { transform: translateX(20px); background: var(--switch-knob-on, var(--switch-knob, #fff)); }
.switch input:focus-visible + .slider { outline: 3px solid var(--ui-focus); outline-offset: 3px; }

.frituren-loading { display: grid; place-items: center; padding: 48px 0; }

/* ---------- list: the card grid ---------- */
.frituur-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--frituur-gap, 16px); margin: 0; padding: 0; list-style: none; }
.frituur-grid:empty { display: none; }
@media (min-width: 576px) { .frituur-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .frituur-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.frituur-grid__item { display: flex; min-width: 0; }
.frituren-loading--more { padding: 0 0 8px; }
.frituren-empty { align-self: center; width: 100%; }
/* a 1px mark under the list (its -1px margin takes no room) for the IntersectionObserver */
.frituren-sentinel { height: 1px; margin-top: -1px; }
/* when cards are added while the footer is in view, they push the footer down instead of the browser's scroll
   anchoring keeping the footer (and the visitor) in place below them */
.site-footer { overflow-anchor: none; }

/* ---------- frituur card ---------- */
.frituur-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border-radius: var(--ui-r-card);
  background: var(--ui-surface);
  color: var(--ui-ink);
}
.frituur-card__media {
  display: block;
  flex: none;
  aspect-ratio: var(--card-photo-ratio, 16 / 10);
  overflow: hidden;
  background: var(--ui-chip);
}
.frituur-card__media::after { content: ""; position: absolute; z-index: 1; inset: 0; }
.frituur-card__media:focus-visible { outline: none; }
/* the card's own ring: one on the stretched link would be clipped by the rounded card */
.frituur-card:has(.frituur-card__media:focus-visible) { outline: 3px solid var(--ui-focus); outline-offset: 3px; }
@supports not selector(:has(*)) {
  .frituur-card__media:focus-visible::after { border-radius: inherit; box-shadow: inset 0 0 0 3px var(--ui-focus); }
}
.frituur-card__img { display: block; width: 100%; height: 100%; object-fit: cover; color: transparent; }
.frituur-card__placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--placeholder-bg, var(--ui-tint)); }
.frituur-card__placeholder img { display: block; width: auto; height: 66%; max-height: 112px; filter: drop-shadow(0 10px 12px rgba(90, 20, 0, .22)); }
/* the Best-Frit plate without its white tagline (invisible on a photo or a white card) */
.frituur-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: auto;
  height: 34px;
  aspect-ratio: 405 / 218;
  object-fit: cover;
  object-position: top;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .28));
  pointer-events: none;
}
.frituur-card__body { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; padding: var(--frituur-card-pad, 20px); }
html .frituur-card__name { margin: 0; overflow-wrap: anywhere; }
.frituur-card__addr { margin: 6px 0 0; font-size: 16px; line-height: 1.45; color: var(--ui-ink-2); }
.frituur-card__status.badge-ui { margin: 14px 0 0; }
/* the check icon says it; no live dot beside it */
.frituur-card__status.badge-ui--live::before { display: none; }
.frituur-card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%; margin-top: auto; padding-top: 16px; }
.frituur-card__sign { display: block; width: auto; height: 44px; pointer-events: none; }
.frituur-card__go { display: none; }

/* ---------- detail: header ----------
   Desktop: the name and address beside the sign and the label. Below 992px the sign and label move
   under the address, so a long name keeps the full width. */
.frituur-detail__head-inner { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; column-gap: 40px; }
.frituur-detail__id { min-width: 0; }
.frituur-detail__address { display: flex; align-items: baseline; gap: 12px; }
.frituur-detail__address i { flex: none; }
.frituur-detail__status { display: flex; align-items: center; gap: 20px; margin-top: 24px; }
.frituur-detail__sign, .frituur-detail__label { display: block; flex: none; width: auto; }
@media (min-width: 992px) {
  .frituur-detail__head-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .frituur-detail__status { margin-top: 0; }
}

/* ---------- detail: blocks ----------
   The hours sit beside the photos from 992px (half and half, 5 / 7 from 1200px); below that each
   takes the full width, as a narrower hours card would break a day with a pause over four lines. */
.frituur-detail__title { margin: 0; }
.frituur-detail__main { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--page-gap); align-items: start; }
@media (min-width: 992px) { .frituur-detail__main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .frituur-detail__main { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.frituur-hours__list { margin: 0; container-type: inline-size; }
/* the day and its hours share a row; the pause part (split off in the view) wraps as a whole onto a
   second line. In a narrow list (phones) the pause part would not fit beside the day, so a day with a
   pause floats instead: its first part stays on the day's line and the pause takes the full width
   under it (and when even the first part does not fit, both go under the day). */
.frituur-hours__row { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; column-gap: 16px; }
.frituur-hours__row dt, .frituur-hours__row dd { margin: 0; }
.frituur-hours__row dd { text-align: right; font-variant-numeric: tabular-nums; }
.frituur-hours__row dd > span { display: inline-block; }
@container (max-width: 359.98px) {
  .frituur-hours__row:has(> dd > span) { display: flow-root; }
  .frituur-hours__row:has(> dd > span) dt { float: left; margin-right: 16px; }
}
.frituur-detail__info .prose { max-width: 72ch; }
.frituur-detail__links { display: flex; flex-wrap: wrap; gap: 12px; }
.frituur-detail__links + .frituur-detail__map { margin-top: var(--visit-gap, 20px); }
.frituur-detail__map { position: relative; }
.frituur-detail__map #mapid { height: var(--map-h, 400px) !important; }
@media (max-width: 575.98px) {
  .frituur-detail__link { flex: 1 1 100%; }
}

/* ---------- detail: gallery (flexslider on #slider and #carousel) ---------- */
.frituur-gallery { min-width: 0; }
.frituur-gallery .flexslider { margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.frituur-gallery .flex-viewport { transition: none; }
.frituur-gallery .slides > li { position: relative; }
.frituur-gallery #slider .slides a { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--gallery-r, 16px); background: var(--ui-chip); }
/* only the photo on show can take focus: the others wait off-screen in the clipped viewport, and tabbing
   to one would scroll the viewport behind flexslider's back (the photo and the active thumbnail then
   disagree). Keyboard users move with previous / next. A photo hides once it has slid out (flexslider's
   600ms animationSpeed); the .flex-viewport flexslider adds scopes this to a running slider. */
.frituur-gallery #slider .flex-viewport .slides > li:not(.flex-active-slide) { visibility: hidden; transition: visibility 0s linear .6s; }
.frituur-gallery .flexslider .slides img { width: 100%; height: 100%; object-fit: cover; color: transparent; }
.frituur-gallery #carousel { margin-top: 10px; }
.frituur-gallery #carousel .slides > li { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--gallery-thumb-r, 12px); cursor: pointer; }
.frituur-gallery #carousel .slides > li::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 3px transparent; pointer-events: none; }
.frituur-gallery #carousel .slides > li.flex-active-slide::after { box-shadow: inset 0 0 0 3px var(--gallery-active, var(--ui-primary)); }
.frituur-gallery #carousel .slides > li:not(.flex-active-slide) img { opacity: .7; }
/* one photo: no strip of one thumbnail under it */
.frituur-gallery #carousel:has(.slides > li:only-child) { display: none; }
/* a photo that fails to load (a broken <img> draws its pseudo-elements in Chrome and Firefox) gets the cone tile */
.frituur-gallery .slides img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/images/logo/fritkotactie-cone-256.png") center / auto 42% no-repeat, var(--placeholder-bg, var(--ui-tint));
}
/* previous / next: round buttons, always visible (touch screens have no hover) */
.frituur-gallery .flex-direction-nav a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, .35);
  color: var(--ui-ink);
  font-size: 0;
  text-shadow: none;
  opacity: 1;
  transition: background-color .15s;
}
.frituur-gallery .flex-direction-nav a::before { font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 16px; color: inherit; text-shadow: none; content: "\f053"; }
.frituur-gallery .flex-direction-nav a.flex-next::before { content: "\f054"; }
.frituur-gallery .flex-direction-nav .flex-prev, .frituur-gallery .flexslider:hover .flex-direction-nav .flex-prev { left: 12px; opacity: 1; }
.frituur-gallery .flex-direction-nav .flex-next, .frituur-gallery .flexslider:hover .flex-direction-nav .flex-next { right: 12px; opacity: 1; }
.frituur-gallery .flex-direction-nav a:hover { background: #fff; }
.frituur-gallery .flex-direction-nav a:focus-visible { outline: 3px solid var(--ui-focus); outline-offset: 2px; }
.frituur-gallery .flex-direction-nav .flex-disabled { display: none; }
#carousel .flex-direction-nav { display: none; }
.frituur-gallery__empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; border-radius: var(--gallery-r, 16px); background: var(--placeholder-bg, var(--ui-tint)); }
.frituur-gallery__empty img { display: block; width: 40%; max-width: 200px; height: auto; filter: drop-shadow(0 18px 22px rgba(90, 20, 0, .25)); }

/* =====================================================================
   Deelnemen (Areas/Deelnemen/Pages/Index): the participant's voucher. Structure only; each theme
   skins it.
     #deelnemen-index.deelnemen (Vue root): .page-header (title, then the status messages as
        .alert-ui on the header, see "status messages on a page header"), then .page-body >
        .page-stack: .deelnemen-banner (top and bottom, v-if), .deelnemen-desk (.deelnemen-actions
        (__item: download, mail, print; each button's __label holds its icon and text) above
        .deelnemen-voucher), so the actions and the voucher read as one group.
     .deelnemen-voucher frames _Voucher, the voucher PDF's own markup, which stays as it is. On
        screen its rows become one grid: the title, the stub (the action image), the details (code,
        dates, name, QR code, partners), the fine print, the app text and the two app codes. Bootstrap's
        utility classes in that markup (.w-30, .float-left, .pr-3, .mt-4, .border, ...) carry
        !important, so the rules undoing them do too. Grid areas: title stub details fine app codes;
        each theme places them (one column in that order on phones) and sets the paddings.
   Everything here is screen-only. The printout keeps the voucher's PDF look: the page links
   css/site.css with media="print", and the print block below only takes this page's frame (the
   body's offsets, the canvas) off the paper.
   ===================================================================== */
@media screen {
  .deelnemen-desk { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--desk-gap, 24px); }

  /* phones: one button per row (print is hidden there); tablets: as many as fit; desktop: three equal */
  .deelnemen-actions { display: flex; flex-wrap: wrap; gap: 12px; }
  .deelnemen-actions__item { flex: 1 1 100%; min-width: 0; margin: 0; }
  .deelnemen-actions .btn { height: 100%; }
  /* the label carries its icon inline, so a label that wraps (FR) keeps the icon beside its first
     word instead of at the button's far edge */
  .deelnemen-actions__label { min-width: 0; }
  .deelnemen-actions__label > i { margin-right: .6em; }
  @media (min-width: 768px) { .deelnemen-actions__item { flex: 1 1 15rem; } }
  @media (min-width: 992px) { .deelnemen-actions__item { flex: 1 1 0; } }

  .deelnemen-banner { overflow: hidden; }
  .deelnemen-banner a { display: block; }
  .deelnemen-banner img { display: block; width: 100%; height: auto; }

  /* ---------- the voucher's rows as one grid ---------- */
  .deelnemen-voucher > div {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "stub" "details" "fine" "app" "codes";
    padding: 0 !important;
    border: 0 !important;
    overflow-wrap: break-word;
  }
  /* the title row and the image/details row step aside; the other rows are grid items of their own */
  .deelnemen-voucher > div > .row:nth-child(-n+2) { display: contents; }
  .deelnemen-voucher > div > .row { margin: 0 !important; }
  .deelnemen-voucher > div > .row::after { display: none; }
  .deelnemen-voucher > div > .row:nth-child(1) > div { grid-area: title; min-width: 0; }
  .deelnemen-voucher > div > .row:nth-child(2) > div { width: auto !important; max-width: none !important; min-height: 0 !important; min-width: 0; margin: 0 !important; float: none !important; }
  .deelnemen-voucher > div > .row:nth-child(2) > div:first-child { grid-area: stub; display: flex; align-items: center; justify-content: center; padding: 0 !important; }
  .deelnemen-voucher > div > .row:nth-child(2) > div:last-child { grid-area: details; }
  .deelnemen-voucher > div > .row:nth-child(3) { grid-area: fine; }
  .deelnemen-voucher > div > .row:nth-child(4) { grid-area: app; }
  .deelnemen-voucher > div > .row:nth-child(5) { grid-area: codes; display: flex; flex-wrap: wrap; align-items: stretch; }
  .deelnemen-voucher > div > .row:nth-child(5) > div { display: flex; flex-direction: column; align-items: flex-start; width: auto !important; margin: 0 !important; float: none !important; }
  .deelnemen-voucher > div > .row:nth-child(5) br { display: none; }
  .deelnemen-voucher > div > .row:nth-child(5) img { display: block; height: auto; }

  .deelnemen-voucher h1, .deelnemen-voucher h2, .deelnemen-voucher p { margin: 0; }
  .deelnemen-voucher .row:nth-child(2) > div:first-child img { display: block; max-width: 100%; height: auto; object-fit: contain; }
  /* the API's default picture (fka-logo.png) shows the cone as the background instead, as on the frituren cards */
  .deelnemen-voucher .row:nth-child(2) > div:first-child img[src$="/images/logo/fka-logo.png"] {
    aspect-ratio: 1;
    object-position: -99999px 0;
    background: url("/images/logo/fritkotactie-cone-512.png") center / 82% auto no-repeat;
  }
  /* details: the code as a chip after its label; the QR code on a white tile; the partner logos as tiles */
  .deelnemen-voucher .text-fka { color: inherit; }
  .deelnemen-voucher .row:nth-child(2) > div:last-child > span { display: inline-block; font-variant-numeric: tabular-nums; white-space: nowrap; }
  .deelnemen-voucher .qr-code { display: block; max-width: 100%; height: auto; }
  .deelnemen-voucher .row:nth-child(2) > div:last-child > div[style] { gap: 10px !important; }
  .deelnemen-voucher .row:nth-child(2) > div:last-child > div[style] > div { display: flex !important; align-items: center; margin: 0 !important; }
  .deelnemen-voucher .row:nth-child(2) > div:last-child > div[style] img { width: auto; max-width: 160px; height: 40px; object-fit: contain; }
  .deelnemen-voucher .row:nth-child(2) > div:last-child > p:empty { display: none; }
  .deelnemen-voucher .row:nth-child(2) > div:last-child > p.border { border: 0 !important; padding: 0 !important; }
  .deelnemen-voucher .row:nth-child(3) .small { font-size: inherit; }
}

@media print {
  /* /deelnemen: the voucher starts at the top of the paper on white, as before the redesign */
  body:has(#deelnemen-index) { background: #fff; }
  #deelnemen-index .page-body { margin: 0; padding: 0; }
  #deelnemen-index .page-stack > * + * { margin-top: 0; }
  /* ... and in the PDF's type: Bootstrap's, with site.css's Damion titles. The theme's heading
     weights would make the browser fake a bold Damion. */
  #deelnemen-index .deelnemen-voucher {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-size: 1rem;
    font-stretch: normal;
    line-height: 1.5;
    color: #212529;
  }
  #deelnemen-index .deelnemen-voucher :is(h1, h2) { font-weight: 500; font-stretch: normal; line-height: 1.2; letter-spacing: normal; }
  #deelnemen-index .deelnemen-voucher .display-3 { font-weight: 300; }
  #deelnemen-index .deelnemen-voucher b { font-weight: bolder; }
}

/* ---------- status messages on a page header (Deelnemen) ----------
   An .alert-ui right on the dark block, as the header's second line: each theme gives it a quiet
   skin of the block's own colours. */
.page-header__inner > .alert.alert-ui { max-width: 760px; margin: 24px 0 0; }
.page-header__inner > .alert.alert-ui + .alert.alert-ui { margin-top: 12px; }

/* =====================================================================
   Account pages (Areas/Identity: Login, ForgotPassword, ResendEmailConfirmation, ResetPassword, the
   confirmation and status pages, Logout, Manage; Areas/Temp/InitPassword). Structure only; each theme
   skins them. All use the inner-page pattern (.page-header, mostly --lift, then .page-body); the
   status pages are .message cards, and ConfirmEmailChange puts its status on the header.
     .auth (Login): the sign-in card (.auth__card--login) and the register card (--register), each
        a .card-ui with an .auth__title, then .auth__note (the newsletter link). Desktop: sign in
        beside register, the note under the sign-in card; below 992px one column in that order.
     .form-card: a single form on a card (ForgotPassword, ResendEmailConfirmation, ResetPassword,
        InitPassword; __account is the address InitPassword sets a password for). .inline-form puts
        one field and its button on a row, the button level with the input, and stacks them when
        the card is narrow.
     .account (Manage/_Layout): .account__nav (_ManageNav's ul.account-nav) beside .account__main,
        the page's card (.account__title, .account__form). Below 992px the menu is a block of pills,
        two by two, above the card. Theme token --account-gap.
     .modal-ui: the privacy modal (Bootstrap 4) on the login page.
   Form pieces shared with them (.form-field__hint, .field-pair, .birthday-field, .check-field,
   .form-actions, .form-summary) are with the form field component above.
   ===================================================================== */
.auth { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--auth-gap, 24px); align-items: start; }
@media (min-width: 992px) {
  .auth { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; grid-template-areas: "login register" "note register"; }
  .auth__card--login { grid-area: login; }
  .auth__card--register { grid-area: register; }
  .auth__note { grid-area: note; }
}
.auth__card { min-width: 0; }
.auth__title { margin: 0; }
.auth__note { display: flex; align-items: center; gap: 14px; margin: 0; }
.auth__note i { flex: none; width: 20px; text-align: center; }
.auth__note a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; }

.form-card { max-width: 760px; container-type: inline-size; }
.form-card__account { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; overflow-wrap: anywhere; }
.form-card__account i { flex: none; }

/* the field's label, input and message become grid items: the button lines up with the input */
.inline-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 6px; }
.inline-form > .form-field { display: contents; }
.inline-form > .form-field > * { grid-column: 1; }
.inline-form > .btn { grid-column: 2; grid-row: 2; align-self: start; }
.inline-form .form-control { min-height: var(--ui-btn-h); }
@container (max-width: 519.98px) {
  .inline-form { grid-template-columns: minmax(0, 1fr); }
  .inline-form > .btn { grid-column: 1; grid-row: auto; margin-top: 12px; }
}
/* the same on phones for browsers without container queries (Safari before 16); there the card is
   always narrower than 520px */
@media (max-width: 575.98px) {
  .inline-form { grid-template-columns: minmax(0, 1fr); }
  .inline-form > .btn { grid-column: 1; grid-row: auto; margin-top: 12px; }
}

.account { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--account-gap, 24px); align-items: start; }
@media (min-width: 992px) { .account { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); } }
.account__main { min-width: 0; }
.account__title { margin: 0; }
.account__form { max-width: 640px; }
.account-nav { flex-direction: column; flex-wrap: nowrap; gap: 4px; }
.account-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 16px;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .15s, color .15s;
}
.account-nav .nav-link i { flex: none; width: 20px; text-align: center; }
.account-nav .nav-link:focus-visible { outline-offset: -3px; }
.account-nav__end { margin-top: 8px; padding-top: 8px; }
@media (max-width: 991.98px) {
  .account-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-nav .nav-link { height: 100%; }
  .account-nav__end { margin: 0; padding: 0; }
}
@media (max-width: 575.98px) {
  .account-nav .nav-link { padding: 10px 12px; gap: 10px; }
}

.modal-ui .modal-content { border: 0; }
.modal-ui .modal-header { padding: 12px 12px 0; border: 0; }
.modal-ui .modal-header .close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 0 0 auto;
  padding: 0;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  opacity: 1;
  text-shadow: none;
}
.modal-ui .modal-header .close:hover { opacity: 1; }
.modal-ui .modal-header .close:focus-visible { outline: 3px solid var(--ui-focus); outline-offset: 2px; }
.modal-ui .modal-body { padding: 0 var(--modal-pad, 40px) 28px; }
.modal-ui .modal-footer { padding: 16px var(--modal-pad, 40px) 20px; }
.modal-ui .modal-footer > * { margin: 0; }
@media (max-width: 575.98px) {
  .modal-ui { --modal-pad: 20px; }
}
/* .page-body's z-index makes a stacking context: a modal inside it (the privacy modal is inside the
   register form) would stay under Bootstrap's backdrop, which is appended to body */
body.modal-open .page-body { z-index: auto; }

/* =====================================================================
   Carried over from site.css: behaviour other pages rely on.
   ===================================================================== */
@media print {
  body { margin: 0; box-shadow: none; }
  .no-print { display: none !important; }
}

.grecaptcha-badge { visibility: hidden !important; }
