/*
 * CDB's face (plan §4.6, C6): Outfit, the very TTF files cateringdebuurjongens.nl self-hosts today
 * (/wp-content/uploads/Outfit-{Regular,Bold}.ttf, Outfit 1.100), converted to woff2 unchanged (no subsetting; S8 serves
 * woff2 only) and served at /_pack/cdb/fonts/ to this tenant's host only (CSP font-src 'self'). Only 400 and 700 load
 * live: the Black face is declared there but unused. Sources, checksums and the licence (SIL OFL 1.1): the pack README,
 * "Fonts".
 */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_pack/cdb/fonts/outfit-400.woff2) format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/_pack/cdb/fonts/outfit-700.woff2) format("woff2");
}

/*
 * The page's own defaults, as cateringdebuurjongens.nl draws them (measured 2026-11-10): Outfit everywhere, the body
 * text at the fluid `text-m` size in #0f1724 on white, its line height 6 px plus two x-heights; the body a column whose
 * <main> grows, so a short page keeps the footer at the bottom. The headings' sizes are the sections' (30-sections.css,
 * slice C4). Every rule sits under [data-template='cdb'], although only this tenant's host is ever sent this file
 * (/_pack/, custom mode D12): a rule that reached another page would still match nothing there.
 */
/* live clips sideways overflow on html and body: a row wider than a phone (the occasion cards) or a photo bleeding
   off the edge (the concept rows) is cut, and the page never scrolls sideways. This sheet may not select the root,
   so <main> (as wide as the viewport) clips the sections; `clip` makes no scroll container, so `sticky` still works. */
[data-template='cdb'] body,
[data-template='cdb'] .cdb-main {
  overflow-x: clip;
}
[data-template='cdb'] body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background-color: var(--cdb-white);
  color: var(--cdb-ink);
  font-family: var(--cdb-font);
  font-size: var(--cdb-text-m);
  font-weight: 400;
  line-height: var(--cdb-lh-text);
  /* live's: grayscale smoothing on every element (it inherits); without it macOS draws the light-on-navy text heavier
     (seen in C5's side-by-side shots; css-reach reads neither property) */
  -webkit-font-smoothing: antialiased;
  /* live's: every element wraps "pretty" (it inherits): no one-word last line, so the copyright reads "… Youth /
     for Christ" on a phone (C5's side-by-side look) */
  text-wrap: pretty;
}
/* live's headings render with kerning and ligatures at every size */
[data-template='cdb'] :is(h1, h2, h3, h4, h5, h6) {
  text-rendering: optimizeLegibility;
}

/* live's links and buttons ease their colours over .3s (its framework's `a` rule; C5's state sweep) */
[data-template='cdb'] a {
  transition: background 0.3s, color 0.3s, border 0.3s, translate 0.3s;
}

/* C37 (the coordinator's call, K11): live's focus ring is solid 2px, offset 0.25em (its --focus-offset: 4px on the
   17.8px nav, 3px on the 15.8px legal links and the hero's pills; C5's state sweep), in its
   --focus-color, which is white on every ground, so it vanishes on the white ones (WCAG 2.4.7). Ours keeps the shape in a
   colour that shows: the ink on light grounds, white on the dark ones (the header, the footer, the heroes, the intro band,
   the navy option card), the ink again in the dropdown's light panel. The form's fields: 43-forms.css. */
[data-template='cdb'] :focus-visible {
  outline: 2px solid var(--cdb-ink);
  outline-offset: 0.25em;
}
[data-template='cdb'] :is(.cdb-header, .cdb-footer, .cdb-hero, .cdb-band, .cdb-mt--card) :focus-visible {
  outline-color: var(--cdb-white);
}
[data-template='cdb'] .cdb-dd__panel :focus-visible {
  outline-color: var(--cdb-ink);
}

[data-template='cdb'] .cdb-main {
  position: relative;
  flex: 1 0 0%;
}

/*
 * The chrome: the top bar, the bar with the logos and the nav, the phone menu, the footer (plan §4.4, C3, C4). Every
 * value is the live site's computed style (cateringdebuurjongens.nl, getComputedStyle at 390 / 768 / 980 / 1280 px,
 * 2026-11-10, Umami and Turnstile blocked; the numbers are in the session record, werks-platform ctx-222). Live's
 * breakpoints: the phone menu at 767 px and below, the phone header at 478 px and below, the footer's grid from 992 px.
 *
 * Deliberate differences from live (plan §2, and new in ctx-222):
 *   - the top bar's phone number is a `tel:` link (C3; live links it to `#`) and "Lelystad" is plain text (live wraps
 *     it in a link to `#`);
 *   - the dropdown opens on hover (as live) and on keyboard focus, with no script; the phone menu is a `<details>`
 *     panel under the burger (live's off-canvas panel is pushed out of place by its parent's transform and leaves its
 *     page overlay 20 x 16 px);
 *   - a page with no hero photo under the header (the 404) gets the bar on the navy ground, so its white text reads
 *     (live has no such page);
 *   - the icons are inline SVG (C5): live's own Remix Icon glyphs in the top bar and the footer, Font Awesome's square
 *     Instagram;
 *   - the footer's anchors are lower case (C20) and its links slashless (K1).
 */

/* ---- skip links ---- */
[data-template='cdb'] .cdb-skip {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 0.75em 1.5em;
  border: 2px solid var(--cdb-ink);
  background-color: var(--cdb-white);
  color: var(--cdb-ink);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  transform: translateY(calc(-100% - 46px));
}
[data-template='cdb'] .cdb-skip:focus {
  transform: none;
}

/* ---- header: the top bar ---- */
[data-template='cdb'] .cdb-header {
  position: relative;
}
[data-template='cdb'] .cdb-topbar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  min-height: 3em;
  padding: var(--cdb-space-xs) var(--cdb-gutter);
  background-color: var(--cdb-topbar);
}
[data-template='cdb'] .cdb-topbar__inner {
  display: flex;
  width: 100%;
  max-width: var(--cdb-content-width);
  color: var(--cdb-white);
}
[data-template='cdb'] .cdb-topbar__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em 2em;
  margin-left: auto;
}
[data-template='cdb'] .cdb-topbar__link {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: var(--cdb-grey-ultra-light);
  text-decoration: none;
}
/* Live nests the number's tel: link inside a link to "#", so the browser splits them: the icon and the number are two
   items of the row, 2em apart. */
[data-template='cdb'] .cdb-topbar__link--phone {
  gap: 2em;
}
[data-template='cdb'] .cdb-topbar__icon {
  flex: none;
  width: 1.25em;
  height: 1.25em;
  color: var(--cdb-white);
}
[data-template='cdb'] .cdb-topbar__text {
  color: var(--cdb-grey-ultra-light);
  font-style: normal;
}

/* ---- header: the bar, laid over the first section (overlay) or in the flow on navy (bar) ---- */
[data-template='cdb'] .cdb-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  height: 100px;
  padding: var(--cdb-space-xs) var(--cdb-gutter) 0;
  background-color: var(--cdb-bar);
}
[data-template='cdb'] .cdb-header--overlay .cdb-bar {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 1;
}
[data-template='cdb'] .cdb-header--bar .cdb-bar {
  position: relative;
  z-index: 1;
  background-color: var(--cdb-navy);
}
[data-template='cdb'] .cdb-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--cdb-space-m);
  width: 100%;
  max-width: var(--cdb-content-width);
}
[data-template='cdb'] .cdb-logos {
  display: flex;
  align-items: flex-start;
  transform: translateY(-60px);
}
[data-template='cdb'] .cdb-logos__link {
  display: flex;
  max-width: 7em;
  color: var(--cdb-white);
  text-decoration: none;
}
/* Live draws WordPress's 150 x 150 centre crop of each logo: the same crop, from the full image. */
[data-template='cdb'] .cdb-logos__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ---- the desktop nav ---- */
/* Live tops the nav (and the burger) against the logos, 10 px up. */
[data-template='cdb'] .cdb-nav {
  align-self: flex-start;
  color: var(--cdb-white);
  transform: translateY(-10px);
}
[data-template='cdb'] .cdb-nav__list {
  display: flex;
  align-items: center;
  gap: var(--cdb-space-m);
  margin: 0;
  padding: 0;
  list-style: none;
}
[data-template='cdb'] .cdb-nav__item {
  position: relative;
}
[data-template='cdb'] .cdb-nav__link {
  display: flex;
  padding: 0.75em 0;
  border: 0;
  background: none;
  color: var(--cdb-white);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
[data-template='cdb'] .cdb-nav__item--cta,
[data-template='cdb'] .cdb-nav__item--secondary {
  padding: 0.1em 1em;
  border: 2px solid var(--cdb-white);
  line-height: 1;
}
[data-template='cdb'] .cdb-nav__item--cta {
  background-color: var(--cdb-white);
  color: var(--cdb-ink-ultra-dark);
}
[data-template='cdb'] .cdb-nav__item--cta .cdb-nav__link {
  color: var(--cdb-ink-ultra-dark);
  font-weight: 600;
}

/* the "Catering Concepten" dropdown: shown on hover (a pointer) and while focus is inside it (the keyboard, a tap) */
[data-template='cdb'] .cdb-dd__toggle {
  align-items: center;
  gap: 0.5em;
  text-align: start; /* live's toggle is a div; a <button> centres its text by default (C5) */
}
[data-template='cdb'] .cdb-dd__icon {
  flex: none;
  width: 1em;
  height: 1em;
  font-size: var(--cdb-text-s);
  transition: transform 0.1s;
}
[data-template='cdb'] .cdb-dd__panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 998;
  min-width: 10em;
  margin: 0;
  padding: 0;
  background-color: var(--cdb-grey-ultra-light);
  color: var(--cdb-white);
  line-height: 60px;
  list-style: none;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
}
[data-template='cdb'] .cdb-dd__panel > li {
  padding: 0 1em;
}
[data-template='cdb'] .cdb-dd:hover .cdb-dd__panel,
[data-template='cdb'] .cdb-dd:focus-within .cdb-dd__panel {
  visibility: visible;
  opacity: 1;
}
/* the chevron points up while the panel is open, as live */
[data-template='cdb'] .cdb-dd:hover .cdb-dd__icon,
[data-template='cdb'] .cdb-dd:focus-within .cdb-dd__icon,
[data-template='cdb'] .cdb-mnav__sub[open] .cdb-dd__icon {
  transform: rotate(180deg);
}
[data-template='cdb'] .cdb-dd__link {
  display: flex;
  color: var(--cdb-black);
  line-height: var(--cdb-lh-text);
  text-decoration: none;
}

/* ---- the phone menu (767 px and below) ---- */
[data-template='cdb'] .cdb-mnav {
  display: none;
  position: relative;
  align-self: flex-start;
  color: var(--cdb-white);
}
[data-template='cdb'] .cdb-burger {
  display: block;
  position: relative;
  z-index: 1000;
  width: 20px;
  height: 16px;
  cursor: pointer;
  list-style: none;
}
[data-template='cdb'] .cdb-burger::-webkit-details-marker {
  display: none;
}
[data-template='cdb'] .cdb-burger__bar {
  display: block;
  position: absolute;
  right: 0;
  width: 20px;
  height: 2px;
  background-color: var(--cdb-white);
}
[data-template='cdb'] .cdb-burger__bar:nth-child(1) {
  top: 0;
}
[data-template='cdb'] .cdb-burger__bar:nth-child(2) {
  top: 7px;
}
[data-template='cdb'] .cdb-burger__bar:nth-child(3) {
  top: 14px;
}
[data-template='cdb'] .cdb-mnav[open] .cdb-burger__bar:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
}
[data-template='cdb'] .cdb-mnav[open] .cdb-burger__bar:nth-child(2) {
  opacity: 0;
}
[data-template='cdb'] .cdb-mnav[open] .cdb-burger__bar:nth-child(3) {
  top: 50%;
  transform: rotate(-45deg);
}
[data-template='cdb'] .cdb-mnav__panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 999;
  box-sizing: border-box;
  width: 300px;
  max-width: calc(100vw - 2 * var(--cdb-gutter));
  min-height: 100vh;
  background-color: var(--cdb-menu);
  color: var(--cdb-white);
}
[data-template='cdb'] .cdb-mnav__list,
[data-template='cdb'] .cdb-mnav__sublist {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  list-style: none;
}
[data-template='cdb'] .cdb-mnav__link,
[data-template='cdb'] .cdb-mnav__sublink {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0 30px;
  color: var(--cdb-grey-ultra-light);
  line-height: 60px;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
[data-template='cdb'] .cdb-mnav__sublink {
  padding: 0 45px 0 30px;
}
[data-template='cdb'] .cdb-mnav__link::-webkit-details-marker {
  display: none;
}

@media (max-width: 767px) {
  [data-template='cdb'] .cdb-nav {
    display: none;
  }
  [data-template='cdb'] .cdb-mnav {
    display: block;
    transform: translateY(-10px);
  }
}

@media (max-width: 478px) {
  [data-template='cdb'] .cdb-bar__inner {
    margin-top: var(--cdb-space-xs);
  }
  [data-template='cdb'] .cdb-logos {
    margin-top: var(--cdb-space-xl);
  }
}

/* ---- the footer ---- */
/* positioned as live's #brx-footer: it then paints over the page above it, so the home page's last tilted photo,
   which reaches 68 px into the footer at 1280 px on both sides, is hidden under it as on live (the main is positioned
   too, so a static footer's ground painted beneath that photo) */
[data-template='cdb'] .cdb-footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--cdb-space-xl);
  padding: var(--cdb-section-m) var(--cdb-gutter);
  background-color: var(--cdb-navy);
  color: var(--cdb-grey-ultra-light);
}
[data-template='cdb'] .cdb-footer__grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--cdb-space-xl);
  width: 100%;
  max-width: var(--cdb-content-width);
}
[data-template='cdb'] .cdb-footer__top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--cdb-space-m);
  width: 100%;
}
/* live's two hairlines: under the logo row and under the link grid, each in the middle of the gap below it, 0.1em
   tall (C5's side-by-side look; css-reach maps no pseudo-element) */
[data-template='cdb'] :is(.cdb-footer__grid, .cdb-footer__top) {
  position: relative;
}
[data-template='cdb'] :is(.cdb-footer__grid, .cdb-footer__top)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: calc(var(--cdb-space-xl) / -2);
  left: 0;
  height: 0.1em;
  background-color: var(--cdb-hairline);
}
[data-template='cdb'] .cdb-footer__logos {
  display: flex;
  align-items: flex-start;
}
[data-template='cdb'] .cdb-footer__logo {
  display: flex;
  width: 8em;
  color: inherit;
  text-decoration: none;
}
[data-template='cdb'] .cdb-footer__logo-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
[data-template='cdb'] .cdb-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1em;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Live's markup nests each icon's link in an empty one, so an empty flex item sits before every icon: one gap more
   per icon. The margin is that empty item. */
[data-template='cdb'] .cdb-social__item {
  margin-left: 1em;
}
/* the glyph in live's #1a1a1a, dimmed on hover (C5's state sweep: css-reach reads no SVG fill) */
[data-template='cdb'] .cdb-social__link {
  display: block;
  color: var(--cdb-ink-ultra-dark);
}
[data-template='cdb'] .cdb-social__link:hover {
  color: var(--cdb-icon-hover);
}
[data-template='cdb'] .cdb-social__icon {
  display: block;
  box-sizing: border-box;
  width: 60px;
  height: 60px;
  padding: 7.5px;
  background-color: var(--cdb-grey-ultra-light);
  font-size: 30px;
}
[data-template='cdb'] .cdb-footer__nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--cdb-space-m);
  width: 100%;
}
[data-template='cdb'] .cdb-footer__col,
[data-template='cdb'] .cdb-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--cdb-space-m);
}
[data-template='cdb'] .cdb-footer__contact {
  align-items: stretch;
}
[data-template='cdb'] .cdb-footer__heading {
  margin: 0;
  color: var(--cdb-grey-ultra-light);
  font-size: var(--cdb-h3);
  font-weight: 700;
  line-height: var(--cdb-lh-heading);
}
[data-template='cdb'] .cdb-footer__heading a {
  color: inherit;
  text-decoration: none;
}
[data-template='cdb'] .cdb-footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--cdb-space-s);
  margin: 0;
  padding: 0;
  list-style: none;
}
[data-template='cdb'] .cdb-footer__link,
[data-template='cdb'] .cdb-footer__meta-link,
[data-template='cdb'] .cdb-footer__legal-link {
  color: var(--cdb-grey-light);
  text-decoration: none;
}
[data-template='cdb'] .cdb-footer__link:hover,
[data-template='cdb'] .cdb-footer__meta-link:hover,
[data-template='cdb'] .cdb-footer__legal-link:hover {
  color: var(--cdb-grey-ultra-light);
}
[data-template='cdb'] .cdb-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
/* the four blocks (Bel ons, Email ons, Schrijf ons, Offerte; the owner, ctx-276): one column, 2 × 2 where two fit side
   by side (the mail address is the widest: from 479 px, and from 1240 px when the column is two fifths of the footer) */
[data-template='cdb'] .cdb-footer__details {
  display: grid;
  grid-template-columns: minmax(0, max-content);
  gap: calc(var(--cdb-space-m) / 2) var(--cdb-space-m);
  font-size: var(--cdb-text-s);
}
[data-template='cdb'] .cdb-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
[data-template='cdb'] .cdb-footer__meta-heading {
  margin: 0;
  color: var(--cdb-grey-ultra-light);
  font-size: var(--cdb-h4);
  font-weight: 700;
  line-height: var(--cdb-lh-h4);
}
[data-template='cdb'] .cdb-footer__meta-link {
  display: flex;
  align-items: center;
  gap: 5px;
}
[data-template='cdb'] .cdb-footer__meta-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1.5em;
  height: 1.5em;
  color: var(--cdb-grey-ultra-light);
}
[data-template='cdb'] .cdb-footer__meta-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
/* The Werks' mark before "The Werks" in the credit line (ctx-276): its three stripes at the cap height, on the baseline */
[data-template='cdb'] .cdb-credit-mark {
  display: inline-block;
  width: auto;
  height: 0.7em;
  margin-right: 0.3em;
  vertical-align: baseline;
}
[data-template='cdb'] .cdb-credit-mark__teal {
  fill: var(--cdb-werks-teal);
}
[data-template='cdb'] .cdb-credit-mark__pink {
  fill: var(--cdb-werks-pink);
}
[data-template='cdb'] .cdb-credit-mark__amber {
  fill: var(--cdb-werks-amber);
}
[data-template='cdb'] .cdb-footer__yfc {
  display: flex;
  align-items: flex-start;
  gap: var(--cdb-space-s);
}
[data-template='cdb'] .cdb-footer__yfc-img {
  display: block;
  width: 100px;
  height: auto;
  object-fit: cover;
}
[data-template='cdb'] .cdb-footer__yfc-text {
  margin: 0;
}
[data-template='cdb'] .cdb-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--cdb-space-m);
  width: 100%;
  max-width: var(--cdb-content-width);
  font-size: var(--cdb-text-s);
}
[data-template='cdb'] .cdb-footer__legal p,
[data-template='cdb'] .cdb-footer__legal-link {
  margin: 0;
  line-height: var(--cdb-lh-text);
}
[data-template='cdb'] .cdb-footer__legal-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--cdb-space-xs) var(--cdb-space-m);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 479px) and (max-width: 991px) {
  [data-template='cdb'] .cdb-footer__details {
    grid-template-columns: repeat(2, max-content);
  }
}
@media (min-width: 1240px) {
  [data-template='cdb'] .cdb-footer__details {
    grid-template-columns: repeat(2, max-content);
  }
}

@media (min-width: 768px) {
  [data-template='cdb'] .cdb-footer__top {
    flex-direction: row;
  }
  [data-template='cdb'] .cdb-footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  [data-template='cdb'] .cdb-footer__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  [data-template='cdb'] .cdb-footer__top {
    grid-column: 1 / span 6;
  }
  [data-template='cdb'] .cdb-footer__nav {
    grid-column: 1 / span 3;
  }
  /* Live spans the contact column into an implicit sixth track (a few hundredths of a pixel wide). */
  [data-template='cdb'] .cdb-footer__contact {
    grid-column: 4 / span 3;
  }
}

/*
 * What CDB's sections share (plan §4.3, K10; slice C4), measured on cateringdebuurjongens.nl at 390 / 768 / 980 / 1280
 * px (werks-platform ctx-222). Each section's own look is in its own file (31-hero.css, 32-band.css, …).
 */

/* the white button (live's `btn--white`): the hero, the intro band, the concept cards */
[data-template='cdb'] .cdb-button {
  display: flex;
  align-self: flex-start;
  padding: 0.75em 1.5em;
  border: 2px solid var(--cdb-white);
  background-color: var(--cdb-white);
  color: var(--cdb-black);
  font-size: var(--cdb-text-m);
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

/* C36 (the coordinator's call, K11): live's white buttons turn their text white on hover while the ground stays white,
   so the label vanishes; ours turn black with white text and the black border live gives them (10-base.css: live's .3s) */
@media (hover: hover) and (pointer: fine) {
  [data-template='cdb'] .cdb-button:hover {
    border-color: var(--cdb-black);
    background-color: var(--cdb-black);
    color: var(--cdb-white);
  }
}

/* the 404's link home (base's `.wk-404__home`; live has no such page): the pack's outline button in the ink, as
   /about's card buttons, not the browser's blue underline */
[data-template='cdb'] .wk-404__home {
  padding: 0.75em 1.5em;
  border: 2px solid currentColor;
  color: var(--cdb-ink);
  font-size: var(--cdb-text-m);
  line-height: 1;
  text-decoration: none;
}

/* the small accent line above a heading (live's `fr-accent-heading`) */
[data-template='cdb'] .cdb-accent {
  margin: 0;
  font-size: var(--cdb-text-s);
  line-height: 1.1;
}

/*
 * hero@v1, CDB's two looks (sections/CdbHero.astro; plan §4.3). Measured on cateringdebuurjongens.nl at 390 / 768 / 980
 * / 1280 px (werks-platform ctx-222; the numbers are in the session record). The home look is Frames' "romeo" hero,
 * the inner look its "charlie" hero; neither's CSS is copied, the measured values are restated here.
 */

/* ---- the home look: the copy centred over a full-bleed photo ---- */
[data-template='cdb'] .cdb-hero {
  box-sizing: border-box;
}
[data-template='cdb'] .cdb-hero--home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  isolation: isolate;
  padding: var(--cdb-section-m) var(--cdb-gutter);
}
[data-template='cdb'] .cdb-hero--home .cdb-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--cdb-space-m);
  position: relative;
  z-index: 0;
  width: 100%;
  max-width: var(--cdb-content-width);
  margin-top: 150px;
  text-align: left;
}
[data-template='cdb'] .cdb-hero--home .cdb-hero__heading {
  margin: 0;
  color: var(--cdb-white);
  font-size: var(--cdb-h1);
  font-weight: 700;
  line-height: var(--cdb-lh-heading);
}
[data-template='cdb'] .cdb-hero--home .cdb-hero__lede {
  max-width: 39.35em;
  margin: 0 0 1.2em;
  color: var(--cdb-white);
  font-size: var(--cdb-text-l);
  line-height: var(--cdb-lh-text);
}
/* live's second line ("POP-UP PARTYS MET PURPOSE") is a fixed 40 px, bold */
[data-template='cdb'] .cdb-hero--home .cdb-hero__lede--second {
  max-width: none;
  margin-bottom: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.122;
}
[data-template='cdb'] .cdb-hero__eyebrow {
  margin: 0;
  font-size: var(--cdb-text-m);
}
[data-template='cdb'] .cdb-hero--home .cdb-hero__eyebrow {
  color: var(--cdb-white);
}
[data-template='cdb'] .cdb-hero__button {
  align-self: auto;
  margin-top: var(--cdb-space-s);
}
[data-template='cdb'] .cdb-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
}
[data-template='cdb'] .cdb-hero--home .cdb-hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
[data-template='cdb'] .cdb-hero__veil {
  position: absolute;
  inset: 0;
  background-color: var(--cdb-veil);
}
/* the diagonal edge into the navy band below (live: an 80 px triangle, mirrored) */
[data-template='cdb'] .cdb-hero__edge {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 80px;
  fill: var(--cdb-navy);
  transform: scaleX(-1);
}

/* on a phone live gives the copy a 30em floor (484 px at 390) */
@media (max-width: 767px) {
  [data-template='cdb'] .cdb-hero--home .cdb-hero__inner {
    min-height: 30em;
  }
}
/* live's floor is viewport-relative (C5, read in its CSS): 60vh from 768 px, 100vh − 10rem from 992 px, where its
   root is 10 px (Automatic.css), so 10rem = 100px */
@media (min-width: 768px) {
  [data-template='cdb'] .cdb-hero--home {
    min-height: 60vh;
  }
  [data-template='cdb'] .cdb-hero--home .cdb-hero__inner {
    align-items: center;
    text-align: center;
  }
}
@media (min-width: 992px) {
  [data-template='cdb'] .cdb-hero--home {
    min-height: calc(100vh - 100px);
  }
}

/* ---- the inner look: the copy beside the photo, on navy ---- */
[data-template='cdb'] .cdb-hero--split {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding: 0 var(--cdb-gutter);
  background-color: var(--cdb-navy);
}
[data-template='cdb'] .cdb-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: var(--cdb-space-xl);
  width: 100%;
  max-width: var(--cdb-content-width);
}
[data-template='cdb'] .cdb-hero--split .cdb-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--cdb-space-m);
  order: 2;
  padding: var(--cdb-section-m) 0;
  color: var(--cdb-grey-ultra-light);
}
[data-template='cdb'] .cdb-hero--split .cdb-hero__heading {
  margin: 0;
  color: var(--cdb-grey-ultra-light);
  font-size: var(--cdb-h1);
  font-weight: 700;
  line-height: var(--cdb-lh-heading);
}
[data-template='cdb'] .cdb-hero--split .cdb-hero__lede,
[data-template='cdb'] .cdb-hero__note {
  margin: 0;
  white-space: pre-line;
}
/* live's two notes ("Neem direct contact op:" on contact, "Of neem direct contact met ons op!" on offerte) are a bold
   run in a plain paragraph: a bold line (C5's look) */
[data-template='cdb'] .cdb-hero__note {
  font-weight: 700;
}
/* live's template pages (options, concepts, occasions, the town page: Bricks templates 172 / 767 / 801) set the lede
   at line-height 1.8; their hero is the one followed by a review slot or the occasion cards (C5) */
[data-template='cdb'] .cdb-hero--split:has(+ [data-section='reviews'], + .cdb-cards--occasion) .cdb-hero__lede {
  line-height: 1.8;
}
[data-template='cdb'] .cdb-hero__pills {
  display: flex;
  flex-direction: column;
  gap: 10px 1em;
}
/* a page link in the inner look: live's `btn--primary`, the light outline, shrink-wrapped and centred (the options
   page; a `tel:` or `mailto:` is a pill) */
[data-template='cdb'] .cdb-hero__outline {
  align-self: flex-start;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
[data-template='cdb'] .cdb-hero__pill {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0.5em 1em;
  border-radius: 100px;
  background-color: var(--cdb-white);
  color: var(--cdb-teal-ink);
  font-size: 0.8em;
  letter-spacing: 0.5px;
  text-align: center;
  text-decoration: none;
}
[data-template='cdb'] .cdb-hero__pill-icon {
  flex: none;
  width: 1.4em;
  height: 1.4em;
}
/* the photo first, full-bleed, on a phone and a tablet. Live's chain, every width: a block (the grid item, at most
   70vmin tall below 992 px) holding an inline-block 3:2 frame on its line's baseline, holding an INLINE photo at 100 %
   of it. The frame's 3:2 box plus that line's descent size the grid row (C5: 517 px at 768, 265.3 at 390); the
   stretched row then sizes the frame and the photo. From 992 px the copy sets the row and the photo fills it, so a
   portrait photo never stretches the hero to its own height (C5: 697.7 px on Ijs at 1280, not the photo's 853). */
[data-template='cdb'] .cdb-hero__photo {
  order: 1;
  width: 100vw;
  max-width: 100vw;
  max-height: 70vmin;
  margin: 0;
  transform: translateX(calc(-1 * var(--cdb-gutter)));
}
[data-template='cdb'] .cdb-hero__frame {
  display: inline-block;
  position: relative;
  width: 100%;
  height: 100%;
}
/* the template pages' frame is 3:2 and clips; as an overflow-hidden inline-block it sits on its line's baseline, the
   descent under it is the few px live's photo has there (C5). The hand-built pages' (about, options, offerte, contact)
   is neither: the photo keeps its own ratio and no descent (C5: 260 px at 390 on the options page, 685 at 1280). */
[data-template='cdb'] .cdb-hero--split:has(+ [data-section='reviews'], + .cdb-cards--occasion) .cdb-hero__frame {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
[data-template='cdb'] .cdb-hero--split .cdb-hero__img {
  display: inline;
  width: 100%;
  height: 100%;
  vertical-align: middle;
  object-fit: cover;
}

@media (min-width: 768px) {
  [data-template='cdb'] .cdb-hero__pills {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
@media (min-width: 992px) {
  [data-template='cdb'] .cdb-hero__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--cdb-space-xl);
  }
  [data-template='cdb'] .cdb-hero--split .cdb-hero__content {
    order: 0;
    padding: var(--cdb-section-xl) 0;
  }
  /* the photo runs from its column's start to past the viewport's edge, as live (the section clips it) */
  [data-template='cdb'] .cdb-hero__photo {
    order: 0;
    width: 50vw;
    max-width: 50vw;
    max-height: none;
    transform: none;
  }
  [data-template='cdb'] .cdb-hero--split[data-side='right'] .cdb-hero__content {
    order: 2;
  }
}

/* cta-band@v1 as the intro band (sections/CdbCtaBand.astro): navy, the copy in one column. Measured at four widths. */
[data-template='cdb'] .cdb-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: var(--cdb-section-m) var(--cdb-gutter) var(--cdb-section-l);
  background-color: var(--cdb-navy);
}
[data-template='cdb'] .cdb-band__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--cdb-space-s);
  width: 100%;
  max-width: var(--cdb-content-width);
  color: var(--cdb-grey-ultra-light);
}
[data-template='cdb'] .cdb-band__heading {
  margin: 0;
  font-size: var(--cdb-h3);
  font-weight: 700;
  line-height: var(--cdb-lh-heading);
}
[data-template='cdb'] .cdb-band__body {
  margin: 0;
}

/*
 * cdb-media-duo@v1 (sections/CdbMediaDuo.astro): live's Frames "foxtrot" content section, measured at 390 / 768 / 980 /
 * 1280 px (ctx-222). Frames' CSS is not copied; the measured values are restated.
 */
/* the root by its data-pack attribute, as the tone gate reads it (light = white; tint = the light grey) */
[data-template='cdb'] [data-pack-cdb-media-duo] {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: var(--cdb-section-l) var(--cdb-gutter);
  background-color: var(--cdb-white);
  color: var(--cdb-ink);
}
[data-template='cdb'] [data-pack-cdb-media-duo][data-tone='tint'] {
  background-color: var(--cdb-grey-ultra-light);
}
[data-template='cdb'] .cdb-duo__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  /* 48.80 / 53.14 / 55.57 px at 390 / 768 / 980: one linear ramp below 993 px */
  gap: calc(1.1472vw + 44.329px);
  width: 100%;
  max-width: var(--cdb-content-width);
}
[data-template='cdb'] .cdb-duo__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--cdb-space-m);
}
/* live puts the accent line first (`order: -1` on its markup); ours is first in the markup already */
[data-template='cdb'] .cdb-duo__heading {
  margin: 0;
  font-size: var(--cdb-h2);
  font-weight: 700;
  line-height: var(--cdb-lh-heading);
}
[data-template='cdb'] .cdb-duo__text > * {
  margin: 0 0 1.2em;
}
[data-template='cdb'] .cdb-duo__text > :last-child {
  margin-bottom: 0;
}
[data-template='cdb'] .cdb-duo__text a {
  color: inherit;
}
/* the dark outline button (live's `btn--primary`) */
[data-template='cdb'] .cdb-button-outline {
  display: flex;
  padding: 0.75em 1.5em;
  border: 2px solid currentColor;
  color: inherit;
  font-size: var(--cdb-text-m);
  line-height: 1;
  text-align: center;
  text-decoration: none;
}
[data-template='cdb'] .cdb-duo__photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--cdb-space-m);
  position: relative;
}
[data-template='cdb'] .cdb-duo__photo {
  overflow: hidden;
  max-width: 24em;
  aspect-ratio: 3 / 4;
  margin: 0;
  border-radius: 4.444px;
  box-shadow: 2px 2px 40px -5px var(--cdb-shadow);
}
/* one photo (the editor creates a duo with what was picked; live's duos have two): the photo centred across both
   columns at its usual size, not left in the first */
[data-template='cdb'] .cdb-duo__photo:only-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - var(--cdb-space-m)) / 2);
}
[data-template='cdb'] .cdb-duo__img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4.444px;
  object-fit: cover;
}

@media (min-width: 992px) {
  /* whichever comes first takes the wider column: the photos on `side` left (live's first duo), the copy on right */
  [data-template='cdb'] .cdb-duo__grid {
    grid-template-columns: 3fr 2fr;
    gap: 88.52px;
  }
  [data-template='cdb'] .cdb-duo__content {
    order: 2;
  }
  [data-template='cdb'] .cdb-duo[data-side='right'] .cdb-duo__content {
    order: 0;
  }
  [data-template='cdb'] .cdb-duo__photos {
    display: flex;
    align-items: flex-start;
    order: 1;
  }
  /* 24em x 32em, tilted: live's 494 x 619 px at 1280 is the tilted photo's bounding box */
  [data-template='cdb'] .cdb-duo__photo {
    position: absolute;
    width: 24em;
  }
  [data-template='cdb'] .cdb-duo__photo:first-child {
    top: calc(-1 * (6.981vw + 57.645px));
    left: calc(50% + 5em);
    transform: rotate(7deg) translateX(-12em);
  }
  [data-template='cdb'] .cdb-duo__photo:last-child {
    bottom: calc(-1 * (6.981vw + 57.645px));
    left: calc(50% - 5em);
    transform: rotate(-7deg) translateX(-12em);
  }
  /* one photo: centred in the photos' column with the first photo's tilt, instead of standing in for the second */
  [data-template='cdb'] .cdb-duo__photo:only-child {
    top: 50%;
    bottom: auto;
    left: 50%;
    width: 24em;
    transform: translate(-50%, -50%) rotate(7deg);
  }
}

/*
 * collection-index@v1 as CDB's option cards (sections/CdbCollectionIndex.astro): live's Frames "india" feature
 * section, measured at 390 / 768 / 980 / 1280 px (ctx-222). The root by its data-pack attribute (the tone gate reads it):
 * light = white (home), tint = the light grey of live's `bg--accent` (the template pages).
 */
[data-template='cdb'] [data-pack-cdb-cards] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--cdb-space-xl);
  box-sizing: border-box;
  padding: var(--cdb-section-l) var(--cdb-gutter) var(--cdb-section-m);
  background-color: var(--cdb-white);
  color: var(--cdb-ink);
}
[data-template='cdb'] [data-pack-cdb-cards][data-tone='tint'] {
  background-color: var(--cdb-grey-light);
}
[data-template='cdb'] .cdb-cards__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--cdb-space-m);
  width: 100%;
  max-width: var(--cdb-content-width);
  text-align: left;
}
[data-template='cdb'] .cdb-cards__heading {
  margin: 0;
  font-size: var(--cdb-h2);
  font-weight: 700;
  line-height: var(--cdb-lh-heading);
}
[data-template='cdb'] .cdb-cards__lede {
  max-width: 39.35em;
  margin: 0;
}
[data-template='cdb'] .cdb-cards__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--cdb-space-m);
  width: 100%;
  max-width: var(--cdb-content-width);
  margin: 0;
  padding: 0;
  list-style: none;
}
[data-template='cdb'] .cdb-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  height: 20em;
  border-radius: 4.444px;
}
[data-template='cdb'] .cdb-card__bar {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  /* live's bar is one body line plus its padding; the larger title sits centred in it. It is as tall as the card, held
     to that one line by max-height, so on hover it can grow over the whole card (live's .3s; the owner's find, C5) */
  box-sizing: border-box;
  height: 100%;
  max-height: calc(2 * var(--cdb-space-s) + var(--cdb-lh-text));
  padding: var(--cdb-space-s) var(--cdb-space-m);
  background-color: var(--cdb-card-bar);
  color: var(--cdb-black);
  text-align: center;
  /* live's frosted glass over the photo */
  backdrop-filter: blur(5px);
  transition: all 0.3s;
}
[data-template='cdb'] .cdb-card__title {
  margin: 0;
  color: var(--cdb-grey-ultra-light);
  font-size: var(--cdb-h3);
  font-weight: 700;
  line-height: var(--cdb-lh-heading);
}
[data-template='cdb'] .cdb-card__link {
  color: inherit;
  text-decoration: none;
}
/* on hover (and on keyboard focus, so it is not mouse-only) the bar covers the card in light glass, the title black */
[data-template='cdb'] .cdb-card:is(:hover, :focus-within) .cdb-card__bar {
  max-height: 100%;
  background-color: var(--cdb-card-bar-hover);
}
[data-template='cdb'] .cdb-card:is(:hover, :focus-within) .cdb-card__title {
  color: var(--cdb-black);
}
/* the whole card is the link */
[data-template='cdb'] .cdb-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}
[data-template='cdb'] .cdb-card__photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
}
[data-template='cdb'] .cdb-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  [data-template='cdb'] .cdb-cards__intro {
    align-items: center;
    text-align: center;
  }
}
@media (min-width: 768px) {
  [data-template='cdb'] .cdb-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  [data-template='cdb'] .cdb-cards__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/*
 * quote-band@v1 as the testimonial card (sections/CdbQuoteBand.astro): live's Frames "lima" card, measured at 390 / 768
 * / 980 / 1280 px (ctx-222). Live declares the quote's weight as 100; only Outfit 400 and 700 load, so it renders at
 * 400 either way: we declare live's 100, so the computed styles match too.
 */
[data-template='cdb'] .cdb-quote {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: var(--cdb-section-m) var(--cdb-gutter);
}
[data-template='cdb'] .cdb-quote__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  /* live's card shrink-wraps to its text in the centred column (C5: 616.8 px for a short quote at 1280) */
  max-width: var(--cdb-content-width);
  margin: 0;
  padding: var(--cdb-space-s);
  border-radius: 4.444px;
  text-align: center;
}
[data-template='cdb'] .cdb-quote__body {
  margin: 0;
}
[data-template='cdb'] .cdb-quote__text {
  display: block;
  font-size: var(--cdb-text-l);
  font-weight: 100;
  /* a line break in the quote is live's <br> (the importer writes it as a newline) */
  white-space: pre-line;
}
/* the source line: live's plain body-size line under the quote, no gap */
[data-template='cdb'] .cdb-quote__source {
  margin: 0;
}
@media (max-width: 767px) {
  [data-template='cdb'] .cdb-quote__card {
    width: 100%;
  }
}

/*
 * cdb-process@v1 (sections/CdbProcess.astro): live's Frames "charlie" process section, measured at 390 / 768 / 980 /
 * 1280 px on /catering-concepten/zakelijk (ctx-222). The root by its data-pack attribute (the tone gate reads it):
 * light = white, tint = live's light grey.
 */
[data-template='cdb'] [data-pack-cdb-process] {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: var(--cdb-section-xl) var(--cdb-section-l) var(--cdb-section-l);
  background-color: var(--cdb-white);
  color: var(--cdb-ink);
}
[data-template='cdb'] [data-pack-cdb-process][data-tone='tint'] {
  background-color: var(--cdb-grey-light);
}
[data-template='cdb'] .cdb-process__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--cdb-space-xxl);
  width: 100%;
  max-width: var(--cdb-content-width);
}
[data-template='cdb'] .cdb-process__sticky {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--cdb-space-m);
  position: sticky;
  top: 0;
}
[data-template='cdb'] .cdb-process__heading {
  max-width: 100%;
  margin: 0;
  font-size: var(--cdb-h2);
  font-weight: 700;
  line-height: var(--cdb-lh-heading);
}
[data-template='cdb'] .cdb-process__text {
  margin: 0;
}
[data-template='cdb'] .cdb-process__button {
  justify-content: center;
  align-items: center;
  gap: 10px;
}
[data-template='cdb'] .cdb-process__steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--cdb-space-m);
  margin: 0;
  padding: 0;
  list-style: none;
}
[data-template='cdb'] .cdb-step,
[data-template='cdb'] .cdb-step__head {
  display: flex;
  flex-direction: column;
  gap: var(--cdb-space-s);
}
[data-template='cdb'] .cdb-step__head {
  align-items: flex-start;
}
[data-template='cdb'] .cdb-step__num {
  display: flex;
  font-size: var(--cdb-text-xl);
  font-weight: 700;
}
[data-template='cdb'] .cdb-step__title {
  margin: 0;
  font-size: var(--cdb-h3);
  font-weight: 700;
  line-height: var(--cdb-lh-heading);
}
[data-template='cdb'] .cdb-step__text {
  margin: 0;
}

@media (min-width: 768px) {
  [data-template='cdb'] .cdb-process__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }
  [data-template='cdb'] .cdb-process__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/*
 * cdb-collage@v1 (sections/CdbCollage.astro): live's Frames "hotel" content section on /about, measured at 390 / 768 /
 * 980 / 1280 px (ctx-222); from 992 px the collage's overflow is bounded and the quotes around it get room (ctx-276).
 * The root by its data-pack attribute (the tone gate reads it): light = white, tint = #f2f2f2.
 */
[data-template='cdb'] [data-pack-cdb-collage] {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-sizing: border-box;
  padding: var(--cdb-section-m) var(--cdb-gutter);
  background-color: var(--cdb-white);
  color: var(--cdb-ink);
}
[data-template='cdb'] [data-pack-cdb-collage][data-tone='tint'] {
  background-color: var(--cdb-grey-ultra-light);
}
[data-template='cdb'] .cdb-collage__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: var(--cdb-space-m);
  position: relative;
  width: 100%;
  max-width: var(--cdb-content-width);
}
[data-template='cdb'] .cdb-collage__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--cdb-space-m);
}
/* live gives this section's accent line a 1.2em bottom margin on top of the gap */
[data-template='cdb'] .cdb-collage__content > .cdb-accent {
  margin-bottom: 1.2em;
}
[data-template='cdb'] .cdb-collage__heading {
  max-width: 100%;
  margin: 0;
  font-size: var(--cdb-h2);
  font-weight: 700;
  line-height: var(--cdb-lh-heading);
}
[data-template='cdb'] .cdb-collage__intro,
[data-template='cdb'] .cdb-collage__body p {
  margin: 0;
}
[data-template='cdb'] .cdb-collage__media {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
[data-template='cdb'] .cdb-collage__items {
  width: 100%;
  column-count: 2;
  column-gap: var(--cdb-space-m);
}
[data-template='cdb'] .cdb-collage__photo {
  display: flex;
  flex-direction: column;
  margin: 0 0 var(--cdb-space-m);
  break-inside: avoid;
}
[data-template='cdb'] .cdb-collage__photo:first-child {
  margin-top: calc(2 * var(--cdb-space-m));
}
/* a phone and a tablet show the first four photos, as live */
[data-template='cdb'] .cdb-collage__photo:nth-child(n + 5) {
  display: none;
}
[data-template='cdb'] .cdb-collage__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 6;
  border-radius: 4.444px;
  object-fit: cover;
}

@media (min-width: 992px) {
  [data-template='cdb'] [data-pack-cdb-collage] {
    padding: 0 var(--cdb-gutter);
  }
  [data-template='cdb'] .cdb-collage__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 118.027px;
  }
  [data-template='cdb'] .cdb-collage__content {
    padding: var(--cdb-section-xl) 0;
  }
  /* The collage is centred on the row, tilted, and sticks out of the section above and below by at most space-xl plus
     its tilted corners (≈ 96 px from 1520 px; 32 px at 1280, as live). Live's collage had no height and grew with the
     column, so from ≈ 1390 px it covered the quotes around it (ctx-276, the owner: "the photos should stick out a bit");
     now a collage taller than the copy makes the section taller instead. */
  [data-template='cdb'] .cdb-collage__media {
    align-self: center;
    margin-block: calc(-1 * var(--cdb-space-xl));
  }
  [data-template='cdb'] .cdb-collage__items {
    transform: rotate(-6deg);
  }
  /* the quote bands beside the collage get the room the photos take, the same above and below so the quote sits in the
     middle between its two sections (the owner, ctx-276) */
  [data-template='cdb'] .cdb-quote:has(+ [data-pack-cdb-collage]),
  [data-template='cdb'] [data-pack-cdb-collage] + .cdb-quote {
    padding-block: calc(var(--cdb-section-m) + 2 * var(--cdb-space-xl));
  }
  [data-template='cdb'] .cdb-collage__photo:nth-child(n + 5) {
    display: flex;
  }
}

/*
 * media-text@v1 (sections/CdbMediaText.astro), its four looks measured against live at 390 / 768 / 980 / 1280 px
 * (ctx-222): the squeeze (/catering-concepten/zakelijk), the text block (/catering-opties/pizza, /catering-opties), the
 * team rows (/about) and the option cards (/catering-opties). The root by its data-pack attribute (the tone gate reads
 * it): light = white, tint = the light grey, dark = navy (in the beside look the root is the navy card itself).
 */
[data-template='cdb'] [data-pack-cdb-media-text] {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  padding: var(--cdb-section-m) var(--cdb-gutter);
  background-color: var(--cdb-white);
  color: var(--cdb-ink);
}
[data-template='cdb'] [data-pack-cdb-media-text][data-tone='tint'] {
  background-color: var(--cdb-grey-ultra-light);
}
[data-template='cdb'] [data-pack-cdb-media-text][data-tone='dark'] {
  background-color: var(--cdb-navy);
  color: var(--cdb-grey-ultra-light);
}
[data-template='cdb'] .cdb-mt__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: var(--cdb-content-width);
}
[data-template='cdb'] .cdb-mt__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--cdb-space-m);
  box-sizing: border-box;
}
[data-template='cdb'] .cdb-mt__heading {
  max-width: 100%;
  margin: 0;
  font-size: var(--cdb-h2);
  font-weight: 700;
  line-height: var(--cdb-lh-heading);
}
[data-template='cdb'] .cdb-mt__body > * {
  margin: 0;
}
[data-template='cdb'] .cdb-mt__body a {
  color: inherit;
}
[data-template='cdb'] .cdb-mt__button {
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* ---- the squeeze: a full-bleed photo under a dark veil, the copy on a white card ---- */
[data-template='cdb'] .cdb-mt--squeeze {
  min-height: 100vh;
}
[data-template='cdb'] .cdb-mt--squeeze .cdb-mt__card {
  width: 100%;
  padding: var(--cdb-space-l);
  border-radius: 10px;
  background-color: var(--cdb-white);
  color: var(--cdb-ink);
}
[data-template='cdb'] .cdb-mt__backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
}
[data-template='cdb'] .cdb-mt--squeeze .cdb-mt__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
[data-template='cdb'] .cdb-mt__veil {
  position: absolute;
  inset: 0;
  background-color: var(--cdb-card-bar);
}

/* ---- no photo: the copy alone (live's Frames "uniform" intro). The body is as wide as its longest line. ---- */
[data-template='cdb'] .cdb-mt--text .cdb-mt__card {
  width: 100%;
}
/* on light: the intro above the option cards (live's 60ch lede; its accent sits 1.2em above the heading) */
[data-template='cdb'] .cdb-mt--text .cdb-accent {
  margin-bottom: 1.2em;
}
[data-template='cdb'] .cdb-mt--text .cdb-mt__body {
  max-width: 60ch;
}
[data-template='cdb'] .cdb-mt--text .cdb-mt__body > * + * {
  margin-top: var(--cdb-lh-text);
}
/* on tint: the price block (option pages; live sets its lede to line-height 1.8, paragraphs 1.2em apart) */
[data-template='cdb'] .cdb-mt--text[data-tone='tint'] .cdb-accent {
  margin-bottom: 0;
}
[data-template='cdb'] .cdb-mt--text[data-tone='tint'] .cdb-mt__body {
  max-width: none;
  line-height: 1.8;
}
[data-template='cdb'] .cdb-mt--text[data-tone='tint'] .cdb-mt__body > * + * {
  margin-top: 1.2em;
}
/* live's price-block links (Lelystad's six): 600, underlined 2 px below; only 400/700 load, so they render at 700 */
[data-template='cdb'] .cdb-mt--text[data-tone='tint'] .cdb-mt__body a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* the intro's space to the option cards below it (live: one section, row gap 1.5 × the container gap) */
[data-template='cdb'] .cdb-mt--text:has(+ .cdb-mt--card) {
  padding-bottom: 0;
}

/* ---- the photo beside the copy: live's team rows on /about (Frames "echo" profile cards). Live runs them full-bleed;
   the owner wants them in the content width of the sections around them (ctx-276): the option card's margin. ---- */
[data-template='cdb'] .cdb-mt--beside {
  overflow: hidden;
  margin-inline: max(var(--cdb-gutter), calc((100% - var(--cdb-content-width)) / 2));
  padding: 0;
  border-radius: 4.444px;
  background-color: transparent;
}
[data-template='cdb'] .cdb-mt--beside + .cdb-mt--beside {
  margin-top: var(--cdb-space-xl);
}
[data-template='cdb'] .cdb-mt--beside .cdb-mt__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  max-width: none;
}
[data-template='cdb'] .cdb-mt--beside .cdb-mt__card {
  justify-content: center;
  gap: var(--cdb-space-s);
  padding: var(--cdb-space-l) var(--cdb-space-xl);
  background-color: var(--cdb-grey-ultra-light);
}
/* live: the name, then the role, then the bio */
[data-template='cdb'] .cdb-mt--beside .cdb-mt__card > * {
  order: 2;
}
[data-template='cdb'] .cdb-mt--beside .cdb-mt__heading {
  order: 0;
  font-size: var(--cdb-h3);
}
[data-template='cdb'] .cdb-mt--beside .cdb-accent {
  order: 1;
  margin-bottom: 1.2em;
  font-size: var(--cdb-text-m);
  line-height: inherit;
}
[data-template='cdb'] .cdb-mt__media {
  order: -1;
}
[data-template='cdb'] .cdb-mt__photo {
  height: 100%;
  margin: 0;
}
[data-template='cdb'] .cdb-mt--beside .cdb-mt__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
/* live writes a bio's blank line as <br><br>: a paragraph break here is one empty line */
[data-template='cdb'] .cdb-mt--beside .cdb-mt__body > * + * {
  margin-top: var(--cdb-lh-text);
}
/* live's icon sits 1em in (its markup nests a link in a link, which leaves an empty one in front) */
[data-template='cdb'] .cdb-mt__social {
  display: flex;
  padding-left: 1em;
}
[data-template='cdb'] .cdb-mt__social-link {
  display: flex;
  color: var(--cdb-black);
}
[data-template='cdb'] .cdb-mt__social-icon {
  display: block;
  font-size: 30px;
  line-height: 30px;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  padding: 7.5px;
  background-color: var(--cdb-grey-ultra-light);
}

/* ---- the photo beside the copy on tone dark: live's option cards on /catering-opties (Frames "uniform" cards) ---- */
[data-template='cdb'] .cdb-mt--card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: flex-end;
  gap: var(--cdb-space-m);
  overflow: visible;
  margin: var(--cdb-section-m) max(var(--cdb-gutter), calc((100% - var(--cdb-content-width)) / 2));
  padding: 0 var(--cdb-space-m);
  border-radius: 4.444px;
  background-color: var(--cdb-navy);
}
[data-template='cdb'] .cdb-mt--card + .cdb-mt--card {
  margin-top: calc(2 * var(--cdb-space-xl));
}
[data-template='cdb'] .cdb-mt--text + .cdb-mt--card {
  margin-top: calc(1.5 * var(--cdb-space-xl));
}
[data-template='cdb'] .cdb-mt--card .cdb-mt__inner {
  display: contents;
}
[data-template='cdb'] .cdb-mt--card .cdb-mt__card {
  justify-content: flex-start;
  gap: var(--cdb-space-m);
  padding: 0 0 var(--cdb-space-l);
  background-color: transparent;
}
[data-template='cdb'] .cdb-mt--card .cdb-mt__heading {
  font-size: var(--cdb-h2);
}
[data-template='cdb'] .cdb-mt--card .cdb-accent {
  order: -1;
  margin-bottom: 0;
  font-size: var(--cdb-text-s);
  line-height: 1.1;
}
[data-template='cdb'] .cdb-mt--card .cdb-mt__body > * + * {
  margin-top: var(--cdb-space-m);
}
[data-template='cdb'] .cdb-mt--card .cdb-mt__body > p + p {
  margin-top: 1.2em;
}
[data-template='cdb'] .cdb-mt--card .cdb-mt__body :is(h2, h3, h4) {
  width: fit-content;
  max-width: 100%;
  font-size: var(--cdb-h2);
  font-weight: 700;
  line-height: var(--cdb-lh-heading);
}
/* live's photo: an inline-block figure in a block wrapper, so the wrapper is a line box taller than the figure; it
   sticks out of the card by space-m (live's "image overlap"), above and below from 768 px, above only on a phone */
[data-template='cdb'] .cdb-mt--card .cdb-mt__media {
  overflow: hidden;
  height: 100%;
  min-height: calc(100% + var(--cdb-space-m));
  border-radius: 4.444px;
}
[data-template='cdb'] .cdb-mt--card .cdb-mt__photo {
  display: inline-block;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-height: calc(100% + var(--cdb-space-m));
  border-radius: 4.444px;
}
[data-template='cdb'] .cdb-mt--card .cdb-mt__img {
  display: inline;
  width: 100%;
  max-width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 4.444px;
  vertical-align: middle;
  object-fit: cover;
}

@media (min-width: 768px) {
  [data-template='cdb'] .cdb-mt--text .cdb-mt__inner,
  [data-template='cdb'] .cdb-mt--text .cdb-mt__card {
    align-items: center;
    text-align: center;
  }
  [data-template='cdb'] .cdb-mt--squeeze .cdb-mt__card {
    padding: var(--cdb-space-xl);
  }
  [data-template='cdb'] .cdb-mt--beside .cdb-mt__inner {
    grid-template-columns: 2fr 3fr;
  }
  [data-template='cdb'] .cdb-mt--beside[data-side='right'] .cdb-mt__inner {
    grid-template-columns: 3fr 2fr;
  }
  [data-template='cdb'] .cdb-mt--beside[data-side='right'] .cdb-mt__media {
    order: 3;
  }
  [data-template='cdb'] .cdb-mt--beside .cdb-mt__img {
    height: 100%;
    aspect-ratio: auto;
  }
  [data-template='cdb'] .cdb-mt--card {
    align-items: center;
    padding: 0 calc(2 * var(--cdb-space-m));
  }
  [data-template='cdb'] .cdb-mt--card .cdb-mt__card {
    padding: var(--cdb-space-l) 0;
  }
  [data-template='cdb'] .cdb-mt--card .cdb-mt__media {
    min-height: calc(100% + 2 * var(--cdb-space-m));
  }
  [data-template='cdb'] .cdb-mt--card .cdb-mt__photo {
    min-height: auto;
  }
  /* one column up to 991 px: the photo first, whatever the side */
  [data-template='cdb'] .cdb-mt--card[data-side='right'] .cdb-mt__media {
    order: -1;
  }
}
@media (min-width: 992px) {
  [data-template='cdb'] .cdb-mt--squeeze .cdb-mt__card {
    max-width: 550px;
  }
  [data-template='cdb'] .cdb-mt--card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: calc(2 * var(--cdb-space-m));
  }
  [data-template='cdb'] .cdb-mt--card .cdb-mt__card {
    padding: var(--cdb-space-xxl) 0;
  }
  [data-template='cdb'] .cdb-mt--card[data-side='right'] .cdb-mt__media {
    order: 1;
  }
}

/*
 * cdb-photo-row@v1 (sections/CdbPhotoRow.astro): live's Frames "indigo" image group on the template pages, measured
 * at 390 / 768 / 980 / 1280 px on /catering-opties/pizza (3 photos), /catering-concepten/prive (5) and
 * /catering-opties/koffie (2) (ctx-222). Live's figure is an inline-block in each item, its photo inline: copied, so
 * the item's line box is live's.
 */
[data-template='cdb'] [data-pack-cdb-photo-row] {
  display: flex;
  flex-direction: column;
  width: 100%;
}
[data-template='cdb'] .cdb-pr__inner {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  gap: var(--cdb-space-m);
  overflow: hidden;
  width: 100%;
  padding-bottom: var(--cdb-space-xxl);
}
[data-template='cdb'] .cdb-pr__item {
  overflow: hidden;
  width: 100%;
  min-width: max(12vw, 7.5em);
  max-inline-size: 20em;
  border-radius: 4.444px;
  aspect-ratio: 2 / 3;
}
[data-template='cdb'] .cdb-pr__item:nth-child(2n) {
  aspect-ratio: 2 / 4;
}
[data-template='cdb'] .cdb-pr__photo {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  margin: 0;
}
[data-template='cdb'] .cdb-pr__img {
  display: inline;
  width: 100%;
  max-width: 100%;
  height: 100%;
  vertical-align: middle;
  object-fit: cover;
}

/*
 * prose@v1 (the base component, styled here) and image@v1 (sections/CdbImage.astro): live's text pages, /anbi and
 * /privacy-policy, measured at 390 / 768 / 980 / 1280 px (ctx-222).
 *
 * Live builds each text page as one section of Bricks containers, a heading plus its text each; its global rules give
 * every <p> a 1.2em bottom margin except the last <p> of its container, lists the browser's 1em margins and 40 px
 * indent, headings no margin, and each container after the first space-s above it. Here the text is ONE Markdown
 * body, so a heading starts a "container": the rules below give a <p> that ends one (before the next heading, before
 * a list that does, or at the end) no bottom margin, and a heading that is not first space-s above it. A live <br>
 * inside a text block is a Markdown hard break (a line holding only `\`), so live's <br><br> stays one empty line.
 */
[data-template='cdb'] [data-section='prose'] {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--cdb-section-m) var(--cdb-gutter);
}
[data-template='cdb'] [data-prose-body] {
  width: 100%;
  max-width: var(--cdb-content-width);
}
[data-template='cdb'] [data-prose-body] > * {
  margin: 0;
}
[data-template='cdb'] [data-prose-body] > p {
  margin-bottom: 1.2em;
}
[data-template='cdb'] [data-prose-body] > p:is(:last-child, :has(+ :is(h2, h3, h4)), :has(+ :is(ul, ol) + :is(h2, h3, h4)), :has(+ :is(ul, ol):last-child)) {
  margin-bottom: 0;
}
[data-template='cdb'] [data-prose-body] > :is(ul, ol) {
  margin: 1em 0;
  padding-left: 40px;
}
/* live's text pages hold each heading in a flex column that starts at the left, so a heading shrink-wraps its text
   (C5: privacy's first h3 606.8 px, not the column's 1167) */
[data-template='cdb'] [data-prose-body] > :is(h2, h3, h4) {
  width: fit-content;
  max-width: 100%;
  font-weight: 700;
  line-height: var(--cdb-lh-heading);
}
[data-template='cdb'] [data-prose-body] > h2 {
  font-size: var(--cdb-h2);
}
[data-template='cdb'] [data-prose-body] > h3 {
  font-size: var(--cdb-h3);
}
[data-template='cdb'] [data-prose-body] > h4 {
  font-size: var(--cdb-h4);
}
[data-template='cdb'] [data-prose-body] > :is(h2, h3, h4):not(:first-child) {
  padding-top: var(--cdb-space-s);
}
/* live's text-page links (ANBI's "klik hier"): black, not underlined */
[data-template='cdb'] [data-prose-body] a {
  color: var(--cdb-black);
  text-decoration: none;
}

/* the stand-alone image: at its own size, left in the text column; right under a prose section, as one block */
[data-template='cdb'] [data-pack-cdb-image] {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--cdb-section-m) var(--cdb-gutter);
}
[data-template='cdb'] [data-section='prose']:has(+ [data-pack-cdb-image]) {
  padding-bottom: 0;
}
[data-template='cdb'] [data-section='prose'] + [data-pack-cdb-image] {
  padding-top: 0;
}
[data-template='cdb'] .cdb-img__figure {
  width: 100%;
  max-width: var(--cdb-content-width);
  margin: 0;
}
[data-template='cdb'] .cdb-img__img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/*
 * reviews@v1 (the base component, styled here): live's Frames "lima" testimonial card in the three review slots of
 * every template page, measured at 390 / 768 / 980 / 1280 px on /catering-concepten/prive (ctx-222). The card is
 * quote-band's (35-quote.css): one centred quote, as wide as it needs up to the column. Live's card shows the quote
 * only, so the review's author, role, rating, date and avatar are not drawn here (they stay in the module).
 *
 * Live gives each slot its own padding, the same on every template page: the slot right before the squeeze section
 * live's section-space xs, the other two section-space l (read on eight pages, 2026-11-10). The quote is a <q> on live,
 * so its quote marks are drawn as open-quote / close-quote, the same glyphs.
 */
[data-template='cdb'] [data-section='reviews'] {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: var(--cdb-section-l);
}
[data-template='cdb'] [data-section='reviews']:has(+ .cdb-mt--squeeze) {
  padding: var(--cdb-section-xs);
}
[data-template='cdb'] [data-review] {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  max-width: min(100%, var(--cdb-content-width));
  margin: 0;
  padding: var(--cdb-space-s);
  border-radius: 4.444px;
  text-align: center;
}
/* live declares 300; only Outfit 400 and 700 load, so it renders at 400 either way (the same glyphs) */
[data-template='cdb'] [data-review-quote] {
  margin: 0;
  font-size: var(--cdb-text-l);
  font-weight: 300;
}
[data-template='cdb'] [data-review-quote]::before {
  content: open-quote;
}
[data-template='cdb'] [data-review-quote]::after {
  content: close-quote;
}
[data-template='cdb'] :is([data-review-meta], [data-review-avatar]) {
  display: none;
}
@media (max-width: 767px) {
  [data-template='cdb'] [data-review] {
    width: 100%;
  }
}

/*
 * collection-index@v1's other three looks (sections/CdbCollectionIndex.astro; the option cards are 34-cards.css),
 * from live's own rules (read in the browser, 2026-11-10) and measured at 390 / 768 / 980 / 1280 px (ctx-222):
 * the occasion cards (/catering-concepten/prive), the concept rows (home) and the concept pairs (/about).
 */

/* ---- occasion cards (live `fr-process-card-bravo`): three columns at every width ---- */
[data-template='cdb'] .cdb-cards--occasion {
  padding: var(--cdb-section-m) var(--cdb-gutter);
}
[data-template='cdb'] .cdb-occ__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: var(--cdb-space-m);
  width: 100%;
  max-width: var(--cdb-content-width);
  margin: 0;
  padding: 0;
  list-style: none;
}
[data-template='cdb'] .cdb-occ {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  padding: var(--cdb-space-m);
  box-shadow: 0 20px 30px -10px var(--cdb-card-shadow);
}
[data-template='cdb'] .cdb-occ__media {
  display: flex;
  width: 100%;
}
[data-template='cdb'] .cdb-occ__photo {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  height: 16em;
  margin: 0;
}
[data-template='cdb'] .cdb-occ__img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  vertical-align: middle;
  object-fit: cover;
}
[data-template='cdb'] .cdb-occ__body {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--cdb-space-s);
  padding: var(--cdb-space-m);
  text-align: left;
}
[data-template='cdb'] .cdb-occ__title {
  margin: 0;
  font-size: var(--cdb-h3);
  font-weight: 700;
  line-height: var(--cdb-lh-heading);
}
[data-template='cdb'] :is(.cdb-occ__link, .cdb-row__title a) {
  color: inherit;
  text-decoration: none;
}
[data-template='cdb'] .cdb-occ__text {
  margin: 0;
}

/* ---- concept cards, tone tint: the home rows (live `fr-feature-card-sierra`, on #d9d9d9) ---- */
[data-template='cdb'] .cdb-cards--rows {
  gap: var(--cdb-space-l);
  padding: var(--cdb-section-m) var(--cdb-section-xl) var(--cdb-section-l);
}
[data-template='cdb'] :is(.cdb-cards--rows, .cdb-cards--pairs) .cdb-cards__intro {
  align-items: flex-start;
  gap: var(--cdb-space-m);
  text-align: left;
}
[data-template='cdb'] :is(.cdb-cards--rows, .cdb-cards--pairs) .cdb-cards__lede {
  max-width: 60ch;
}
[data-template='cdb'] .cdb-rows {
  display: flex;
  flex-direction: column;
  gap: var(--cdb-space-xl);
  width: 100%;
  max-width: var(--cdb-content-width);
}
[data-template='cdb'] .cdb-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: calc(2.5 * var(--cdb-space-xl));
}
[data-template='cdb'] .cdb-row__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--cdb-space-s);
}
[data-template='cdb'] .cdb-row__title {
  margin: 0;
  font-size: var(--cdb-h3);
  font-weight: 700;
  line-height: var(--cdb-lh-heading);
}
[data-template='cdb'] .cdb-row__accent {
  order: -1;
  margin-bottom: 1.2em;
}
[data-template='cdb'] .cdb-row__text {
  margin: 0;
}
[data-template='cdb'] .cdb-row__media {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  justify-content: flex-end;
  order: -1;
}
[data-template='cdb'] .cdb-row__photo {
  flex-grow: 1;
  height: 100%;
  margin: 0;
}
/* live: 6:4 while the row's height is open, else as tall as the row (when the copy is the taller) */
[data-template='cdb'] .cdb-row__img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 6 / 4;
  object-fit: cover;
}

/* ---- concept cards, tone light: /about's pairs (live `fr-feature-card-charlie`, on #f2f2f2: live's ground) ---- */
[data-template='cdb'] [data-pack-cdb-cards].cdb-cards--pairs {
  gap: var(--cdb-space-xl);
  padding: var(--cdb-section-m) var(--cdb-gutter);
  background-color: var(--cdb-grey-ultra-light);
}
[data-template='cdb'] .cdb-pairs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: stretch;
  gap: var(--cdb-space-m);
  width: 100%;
  max-width: var(--cdb-content-width);
  margin: 1em 0;
  padding: 0;
  list-style: none;
}
[data-template='cdb'] .cdb-pair {
  display: flex;
  flex-direction: column;
  gap: var(--cdb-space-s);
}
[data-template='cdb'] .cdb-pair__photo {
  order: -1;
  width: 100%;
  height: 20em;
  margin: 0;
}
[data-template='cdb'] .cdb-pair__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
[data-template='cdb'] .cdb-pair__body {
  display: flex;
  flex-direction: column;
  gap: var(--cdb-space-s);
  width: 100%;
}
[data-template='cdb'] .cdb-pair__title {
  margin: 0;
  font-size: var(--cdb-h3);
  font-weight: 700;
  line-height: var(--cdb-lh-heading);
}
[data-template='cdb'] .cdb-pair__text {
  margin: 0;
}
[data-template='cdb'] .cdb-pair__button {
  align-self: stretch;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

@media (min-width: 768px) {
  [data-template='cdb'] .cdb-occ__body {
    align-items: center;
    text-align: center;
  }
  [data-template='cdb'] :is(.cdb-cards--rows, .cdb-cards--pairs) .cdb-cards__intro {
    align-items: center;
    text-align: center;
  }
  [data-template='cdb'] .cdb-row {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(15px, 3vw, 30px);
  }
  [data-template='cdb'] .cdb-row__copy {
    grid-column: span 5;
  }
  [data-template='cdb'] .cdb-row__media {
    grid-column: span 7;
  }
  /* even rows: the photo after the copy, bleeding off the right edge */
  [data-template='cdb'] .cdb-row:nth-child(2n) .cdb-row__media {
    order: 0;
    justify-content: flex-start;
  }
  /* live: the photo as wide as half the screen plus a twelfth of the content width, less a quarter of the row gap */
  [data-template='cdb'] .cdb-row__photo {
    min-width: calc(50vw + var(--cdb-content-width) / 12 - 2.5 * var(--cdb-space-xl) / 4);
  }
  [data-template='cdb'] .cdb-pairs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/*
 * form@v1 (the base component, styled here on its hooks: label[data-form-field], fieldset[data-form-group] + legend +
 * label[data-form-option], h3[data-form-field-heading], the submit button): live's forms are WS Form's own skin,
 * fixed px rather than the fluid scale, read from /offerte and /contact at 390 / 768 / 980 / 1280 px (ctx-222): labels
 * 14 px in black 5 px above their field, fields 20 px apart, inputs 1 px black with radius 4 (38.6 px tall), the
 * radio and checkbox drawn 19.6 px square / round, the options 10 px apart, the submit black and full width.
 *
 * The section's form slug picks live's two blocks (as the collection slug picks the cards): `offerte` = the wide
 * block (section-space xxl around it, space-m on a phone; live's form also carries a stray button class, so it has
 * 0.75em × 1.5em padding and line-height 1 that its textarea inherits: copied, it renders), anything else = contact's
 * centred column (855.734 px, full width below it; space-m above, all round on a phone).
 */
[data-template='cdb'] [data-section='form'] {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: var(--cdb-space-m) 0 0;
}
[data-template='cdb'] [data-section='form'] > form {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 20px;
  box-sizing: border-box;
  width: 100%;
  max-width: 855.734px;
  margin: 0;
}
/* every field a full row, except live's address rows (6/3/3 and 4/8 at every width), picked by the inputs' names:
   the form must use exactly these names (README "Writing content for this pack") */
[data-template='cdb'] [data-section='form'] > form > * {
  grid-column: 1 / -1;
}
[data-template='cdb'] [data-section='form'] > form > [data-form-field]:has(> input[name='straat']) {
  grid-column: span 6;
}
[data-template='cdb'] [data-section='form'] > form > [data-form-field]:has(> input:is([name='huisnummer'], [name='toevoeging'])) {
  grid-column: span 3;
}
[data-template='cdb'] [data-section='form'] > form > [data-form-field]:has(> input[name='postcode']) {
  grid-column: span 4;
}
[data-template='cdb'] [data-section='form'] > form > [data-form-field]:has(> input[name='plaats']) {
  grid-column: span 8;
}
[data-template='cdb'] [data-section='form'][data-form-slug='offerte'] {
  align-items: stretch;
  padding: var(--cdb-space-xxl);
}
[data-template='cdb'] [data-section='form'][data-form-slug='offerte'] > form {
  max-width: none;
  padding: 0.75em 1.5em;
  line-height: 1;
}

/* fields: the label's text above its field */
[data-template='cdb'] [data-section='form'] [data-form-field] {
  display: block;
  margin: 0 0 20px;
  color: var(--cdb-black);
  font-size: 14px;
  line-height: 1.4;
}
[data-template='cdb'] [data-section='form'] [data-form-field] > span {
  display: block;
  margin-bottom: 5px;
}
[data-template='cdb'] [data-section='form'] [data-form-field] :is(input:not([type='checkbox'], [type='radio']), textarea, select) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 8.5px 10px;
  border: 1px solid var(--cdb-black);
  border-radius: 4px;
  background-color: var(--cdb-white);
  color: var(--cdb-black);
  font-family: var(--cdb-font);
  font-size: 14px;
  line-height: 1.4;
}
[data-template='cdb'] [data-section='form'] [data-form-field] textarea {
  line-height: 1.4;
}
/* a date field as tall as the others (Chrome draws its picker 2 px taller) */
[data-template='cdb'] [data-section='form'] [data-form-field] input[type='date'] {
  height: calc(14px * 1.4 + 19px);
}
[data-template='cdb'] [data-section='form'][data-form-slug='offerte'] [data-form-field] textarea {
  line-height: 1;
}

/* the required mark (Form.astro's `data-form-required-mark`, FT): live's bold red asterisk */
[data-template='cdb'] [data-section='form'] [data-form-required-mark] {
  color: var(--cdb-required);
  font-weight: 700;
}

/* groups: the label (legend) above its options, each option a box and its text */
[data-template='cdb'] [data-section='form'] [data-form-group] {
  min-width: 0;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  color: var(--cdb-black);
  font-size: 14px;
  line-height: 1.4;
}
/* live's legend spans its group (a full-width table box, C5), where a legend would shrink-wrap its text */
[data-template='cdb'] [data-section='form'] [data-form-group] > legend {
  display: table;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 5px;
  padding: 0;
}
/* live's first group on the offerte form is a section with its own legend (18 px, 10 px above the options); its
   other groups carry a plain field label: picked by the field's name, `klant` (README) */
[data-template='cdb'] [data-section='form'] [data-form-group]:has(input[name='klant']) > legend {
  margin-bottom: 10px;
  font-size: 18px;
}
/* live's two tick groups on the offerte form (`wensen`, `dagdeel`) show no label: the legend stays for screen
   readers, out of sight */
[data-template='cdb'] [data-section='form'] [data-form-group]:has(input:is([name='wensen'], [name='dagdeel'])) > legend {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  clip-path: inset(50%);
  white-space: nowrap;
}
[data-template='cdb'] [data-section='form'] [data-form-option] {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
[data-template='cdb'] [data-section='form'] :is(input[type='radio'], input[type='checkbox']) {
  flex: none;
  box-sizing: border-box;
  width: 19.6px;
  height: 19.6px;
  margin: 0;
  border: 1px solid var(--cdb-black);
  border-radius: 4px;
  background-color: var(--cdb-white);
  cursor: pointer;
  appearance: none;
}
[data-template='cdb'] [data-section='form'] input[type='radio'] {
  border-radius: 50%;
}
[data-template='cdb'] [data-section='form'] :is(input[type='radio'], input[type='checkbox']):checked {
  background-color: var(--cdb-black);
  box-shadow: inset 0 0 0 3px var(--cdb-white);
}
/* C37 / live's WS Form: a focused field, option or the submit shows a 4px black ring, eased over .2s. Its outline is
   transparent rather than none: Windows' forced-colours mode draws no box-shadow but does draw an outline, in its own
   colour, so the focus still shows there (cdb-forms' note on #354); everywhere else it looks the same as live's none */
[data-template='cdb'] [data-section='form'] :is(input, textarea, select, button) {
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
/* live's radio buttons and tick boxes ease everything over .1s */
[data-template='cdb'] [data-section='form'] :is(input[type='radio'], input[type='checkbox']) {
  transition: all 0.1s;
}
[data-template='cdb'] [data-section='form'] :is(input, textarea, select, button):focus {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 4px var(--cdb-black);
}
[data-template='cdb'] [data-section='form'] :is(input[type='radio'], input[type='checkbox']):checked:focus {
  box-shadow: inset 0 0 0 3px var(--cdb-white), 0 0 0 4px var(--cdb-black);
}
/* a single checkbox (consent): the box beside its text */
[data-template='cdb'] [data-section='form'] [data-form-field]:has(> input[type='checkbox']) {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
}
[data-template='cdb'] [data-section='form'] [data-form-field]:has(> input[type='checkbox']) > span {
  margin-bottom: 0;
}

/* a heading inside the form: live's section heading, the h2 size */
[data-template='cdb'] [data-section='form'] [data-form-field-heading] {
  margin: 0;
  color: var(--cdb-ink);
  font-size: var(--cdb-h2);
  font-weight: 700;
  line-height: var(--cdb-lh-heading);
}

/* P4's error states (form-ts.js builds them after a failed check, ctx-274; styled in release 6, ctx-275): a summary box
   on top of the form with a link per failed field, a message under each failed field (inside its label or fieldset, so
   it must beat the label-text rule `[data-form-field] > span`), and that field's border; in live's required-mark red
   (--cdb-required, 6.7:1 on white) and the form's own 14 px type */
[data-template='cdb'] [data-section='form'] [data-form-error-summary] {
  box-sizing: border-box;
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 2px solid var(--cdb-required);
  border-radius: 4px;
  background-color: color-mix(in srgb, var(--cdb-required) 6%, var(--cdb-white));
  color: var(--cdb-black);
  line-height: 1.4;
}
[data-template='cdb'] [data-section='form'] [data-form-error-summary]:focus-visible {
  outline: 2px solid transparent;
  box-shadow: 0 0 0 4px var(--cdb-black);
}
[data-template='cdb'] [data-section='form'] [data-form-error-summary-heading] {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}
[data-template='cdb'] [data-section='form'] [data-form-error-summary] ul {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}
[data-template='cdb'] [data-section='form'] [data-form-error-summary] li + li {
  margin-top: 4px;
}
[data-template='cdb'] [data-section='form'] [data-form-error-summary] a {
  color: var(--cdb-black);
  font-size: 14px;
  text-decoration: underline;
}
[data-template='cdb'] [data-section='form'] [data-form-field] > [data-form-field-error] {
  display: block;
  margin: 5px 0 0;
  color: var(--cdb-required);
  font-size: 13px;
  line-height: 1.4;
}
/* in a group the message sits between the legend and the options */
[data-template='cdb'] [data-section='form'] [data-form-group] > [data-form-field-error] {
  margin: 0 0 10px;
}
[data-template='cdb'] [data-section='form'] [data-form-field][data-form-invalid] :is(input, textarea, select) {
  border-color: var(--cdb-required);
}
/* the consent row is a reversed flex row (box, text); while its message shows it is a grid with the same two columns
   and the message under the text, rather than a third column on the far side */
[data-template='cdb'] [data-section='form'] [data-form-field][data-form-invalid]:has(> input[type='checkbox']) {
  display: grid;
  grid-template-columns: auto minmax(0, max-content);
  justify-content: start;
  align-items: center;
  column-gap: 6px;
}
[data-template='cdb'] [data-section='form'] [data-form-field][data-form-invalid]:has(> input[type='checkbox']) > input {
  grid-row: 1;
  grid-column: 1;
}
[data-template='cdb'] [data-section='form'] [data-form-field][data-form-invalid]:has(> input[type='checkbox']) > span:not([data-form-field-error]) {
  grid-row: 1;
  grid-column: 2;
}
[data-template='cdb'] [data-section='form'] [data-form-field][data-form-invalid]:has(> input[type='checkbox']) > [data-form-field-error] {
  grid-row: 2;
  grid-column: 2;
}

/* the submit: black, full width */
[data-template='cdb'] [data-section='form'] button[type='submit'] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 20px;
  padding: 8.5px 10px;
  border: 1px solid var(--cdb-black);
  border-radius: 4px;
  background-color: var(--cdb-black);
  color: var(--cdb-white);
  font-family: var(--cdb-font);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
}

@media (max-width: 478px) {
  [data-template='cdb'] [data-section='form'],
  [data-template='cdb'] [data-section='form'][data-form-slug='offerte'] {
    padding: var(--cdb-space-m);
  }
}

/*
 * documents-by-year@v1 ("Documenten per jaar", the base component, styled here; ANBI route A, ctx-237; lane A ctx-257):
 * the ANBI page's documents per year, which the treasurer keeps current himself.
 *
 * Live has no such block: its two PDF links sit in the text ("klik hier."). So the section takes the look of the text
 * page around it (40-prose-image.css, measured on live's /anbi at 390 / 768 / 980 / 1280 px, ctx-222): the same
 * column and padding, headings in the page's sizes (live's ANBI headings are h3), the body text, lists with the
 * browser's 1em margins and 40 px indent, and a block after the first spaced space-s above it, as live's containers are.
 *
 * One deliberate difference: the document links are underlined. Live's text links are black without an underline,
 * which works inside a sentence; a list of downloads in that look reads as plain text, and "a visitor will not notice
 * it is a link" is the treasurer's complaint of 2026-11-15. The (PDF) suffix comes from base.
 */
[data-template='cdb'] [data-section='documents-by-year'] {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--cdb-section-m) var(--cdb-gutter);
}
[data-template='cdb'] [data-section='documents-by-year'] > * {
  width: 100%;
  max-width: var(--cdb-content-width);
  margin: 0;
}

/* right under the page's text it continues that text, as one more "container" of live's text page */
[data-template='cdb'] [data-section='prose']:has(+ [data-section='documents-by-year']) {
  padding-bottom: 0;
}
[data-template='cdb'] [data-section='prose'] + [data-section='documents-by-year'] {
  padding-top: var(--cdb-space-s);
}

/* the section's heading looks like the page's headings (h3 size); a year is one step down */
[data-template='cdb'] [data-dy-heading] {
  font-size: var(--cdb-h3);
  font-weight: 700;
  line-height: var(--cdb-lh-heading);
}
/* as a <p> right under a heading of live's text page: no space between them (the next year brings its own space-s) */
[data-template='cdb'] [data-dy-intro] {
  margin: 0;
}
[data-template='cdb'] [data-dy-year] {
  padding-top: var(--cdb-space-s);
}
[data-template='cdb'] [data-dy-year]:first-child {
  padding-top: 0;
}
[data-template='cdb'] [data-dy-year-label] {
  margin: 0;
  font-size: var(--cdb-h4);
  font-weight: 700;
  line-height: var(--cdb-lh-heading);
}
/* without a section heading the years are the headings (base makes them h2): the page's heading size */
[data-template='cdb'] [data-section='documents-by-year']:not(:has([data-dy-heading])) [data-dy-year-label] {
  font-size: var(--cdb-h3);
}
[data-template='cdb'] [data-dy-docs] {
  margin: 1em 0 0;
  padding-left: 40px;
}
[data-template='cdb'] a[data-dy-doc] {
  color: var(--cdb-black);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}
