/*
 * Content-site kit: components for affiliate/content sites.
 * Load a theme file first (kit/themes/<site>.css): it sets every --zs-* token used here.
 * Rules: one accent colour (CTA + links on hover), --zs-highlight only for real status,
 * no eyebrow labels, no mono fonts, no zero-padded numbering, no decorative gradients.
 */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--zs-bg);
  color: var(--zs-ink);
  font: var(--zs-body-size, 1.0625rem)/1.6 var(--zs-font-body);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--zs-brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--zs-accent); }
h1, h2, h3 {
  font-family: var(--zs-font-display);
  font-weight: var(--zs-display-weight, 400);
  line-height: 1.1;
  letter-spacing: var(--zs-display-tracking, 0);
  color: var(--zs-brand);
  margin: 0;
}
h1 { font-size: clamp(2.3rem, 3.2vw + 1.4rem, 4rem); }
h2 { font-size: clamp(1.6rem, 1.4vw + 1.1rem, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.zs-wrap { max-width: var(--zs-wrap, 76rem); margin: 0 auto; padding: 0 1rem; }
.zs-section { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.zs-section--tint { background: var(--zs-surface-alt); }
.zs-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Section head: heading left, one line of context right. No eyebrow label above it. */
.zs-head { display: grid; gap: .5rem 3rem; margin-bottom: 1.75rem; align-items: end; }
.zs-head p { margin: 0; color: var(--zs-muted); max-width: 34rem; }
@media (min-width: 56rem) { .zs-head { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); } }

/* ---------- Buttons ---------- */
.zs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 2.9rem; padding: .7rem 1.25rem;
  border-radius: var(--zs-radius-btn, var(--zs-radius));
  font: 600 1rem/1.2 var(--zs-font-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
}
.zs-btn--primary { background: var(--zs-accent); color: var(--zs-accent-ink); }
.zs-btn--primary:hover { background: var(--zs-accent-hover); color: var(--zs-accent-ink); }
.zs-btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.zs-btn--ghost:hover { color: inherit; background: rgb(255 255 255 / .12); }
.zs-btn--block { width: 100%; }

/* ---------- Header ---------- */
.zs-header { background: var(--zs-brand); color: var(--zs-on-brand); }
.zs-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; padding-block: .85rem; }
.zs-logo { color: inherit; text-decoration: none; font: 1.45rem/1 var(--zs-font-display); }
.zs-logo:hover { color: inherit; }
.zs-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.zs-nav a { color: inherit; opacity: .88; text-decoration: none; padding: .25rem 0; border-bottom: 2px solid transparent; }
.zs-nav a:hover, .zs-nav a[aria-current] { opacity: 1; color: inherit; border-bottom-color: var(--zs-accent); }
.zs-disclosure { font-size: .875rem; color: var(--zs-muted); padding-block: .5rem; margin: 0; }

/* ---------- Hero: real photo, text bottom-left, one concrete trust signal ---------- */
.zs-hero { position: relative; isolation: isolate; color: #fff; min-height: clamp(30rem, 72vh, 42rem); display: flex; align-items: flex-end; }
.zs-hero__media { position: absolute; inset: 0; z-index: -2; }
.zs-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--zs-hero-focus, center); }
/* Legibility scrim in the brand's own dark tone; not a decorative colour gradient. */
.zs-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, color-mix(in srgb, var(--zs-brand-deep) 88%, transparent) 0%, color-mix(in srgb, var(--zs-brand-deep) 35%, transparent) 55%, transparent 80%),
    linear-gradient(to right, color-mix(in srgb, var(--zs-brand-deep) 55%, transparent) 0%, transparent 65%);
}
.zs-hero__body { padding-block: 3rem 2.25rem; width: 100%; }
.zs-hero__text { max-width: 38rem; }
.zs-hero h1 { color: #fff; margin-bottom: .35em; }
.zs-hero__lead { font-size: clamp(1.05rem, .4vw + 1rem, 1.25rem); max-width: 34rem; opacity: .95; }
.zs-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
/* Trust signal: verifiable numbers from the site's own data. */
.zs-trust { display: flex; flex-wrap: wrap; gap: .75rem 2.25rem; margin: 2rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid rgb(255 255 255 / .35); }
.zs-trust div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.zs-trust dt { font-size: .9rem; opacity: .85; }
.zs-trust dd { margin: 0; font: 1.75rem/1.1 var(--zs-font-display); }
/* Status block: only for something that is true today (countdown, season, stock). */
.zs-status { display: inline-block; background: var(--zs-highlight); color: var(--zs-highlight-ink); font-weight: 700; padding: .35rem .7rem; border-radius: var(--zs-radius-sm); font-size: .95rem; margin-bottom: 1rem; }
.zs-hero__credit { position: absolute; right: .75rem; bottom: .5rem; font-size: .72rem; opacity: .7; color: #fff; }

/* Hero search (travel sites): framework-default form controls, no pills. */
.zs-search { display: grid; gap: .6rem; margin-top: 1.5rem; background: var(--zs-surface); color: var(--zs-ink); padding: .9rem; border-radius: var(--zs-radius); max-width: 46rem; }
.zs-search label { display: grid; gap: .2rem; font-size: .85rem; font-weight: 600; color: var(--zs-muted); }
.zs-search select { font: inherit; font-size: 1rem; color: var(--zs-ink); padding: .6rem .5rem; border: 1px solid var(--zs-line); border-radius: var(--zs-radius-sm); background: #fff; min-height: 2.9rem; }
@media (min-width: 44rem) { .zs-search { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; } }

/* ---------- Image tiles: entry points, each links to its own landing page ---------- */
.zs-tiles { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.zs-tile { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 13rem; border-radius: var(--zs-radius); overflow: hidden; color: #fff; text-decoration: none; background: var(--zs-brand); }
.zs-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s ease; }
.zs-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, color-mix(in srgb, var(--zs-brand-deep) 80%, transparent), transparent 60%); }
.zs-tile:hover { color: #fff; }
.zs-tile:hover img { transform: scale(1.04); }
.zs-tile:focus-visible { outline: 3px solid var(--zs-accent); outline-offset: 3px; }
.zs-tile__text { padding: 1rem 1.1rem; }
.zs-tile h3 { color: #fff; font-size: clamp(1.2rem, .6vw + 1rem, 1.6rem); }
.zs-tile p { margin: .2rem 0 0; font-size: .92rem; opacity: .92; }
/* Asymmetry: the first tile is the season's lead and takes two rows on wide screens. */
@media (min-width: 56rem) {
  .zs-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 13rem; }
  .zs-tiles--lead > .zs-tile:first-child { grid-column: span 2; grid-row: span 2; }
  .zs-tiles--lead > .zs-tile:first-child h3 { font-size: 2.2rem; }
}
/* Small screens: horizontal scroll with snap instead of a long stack. */
@media (max-width: 36rem) {
  .zs-tiles--scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; margin-inline: -1rem; padding-inline: 1rem; }
  .zs-tiles--scroll > .zs-tile { flex: 0 0 72%; scroll-snap-align: start; }
}

/* ---------- Offer cards: image, facts, price-from, CTA via /naar/<slug> ---------- */
.zs-offers { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); }
.zs-offer { display: flex; flex-direction: column; background: var(--zs-surface); border: 1px solid var(--zs-line); border-radius: var(--zs-radius); overflow: hidden; }
.zs-offer__media { position: relative; aspect-ratio: 4 / 3; background: var(--zs-surface-alt); }
.zs-offer__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zs-offer__body { display: flex; flex-direction: column; gap: .45rem; padding: 1rem 1rem 1.1rem; flex: 1; }
.zs-offer h3 { font-size: 1.3rem; }
.zs-offer h3 a { color: inherit; text-decoration: none; }
.zs-offer h3 a:hover { text-decoration: underline; }
.zs-offer__meta { display: flex; flex-wrap: wrap; gap: .15rem .9rem; margin: 0; padding: 0; list-style: none; font-size: .9rem; color: var(--zs-muted); }
.zs-offer__why { font-size: .95rem; margin: 0; }
.zs-offer__price { margin-top: auto; padding-top: .6rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .5rem; }
.zs-offer__price strong { font: 1.6rem/1 var(--zs-font-display); color: var(--zs-ink); }
.zs-offer__price span { font-size: .85rem; color: var(--zs-muted); }
.zs-offer .zs-status { position: absolute; left: .7rem; top: .7rem; margin: 0; font-size: .82rem; }
.zs-stars { color: var(--zs-star, var(--zs-highlight)); letter-spacing: .08em; font-size: .9rem; }

/* ---------- Method / about block ---------- */
.zs-method { display: grid; gap: 2rem; }
.zs-method h2 { margin-bottom: .6em; }
.zs-method__facts { display: grid; gap: 1.25rem; margin: 0; }
.zs-method__facts div { border-top: 2px solid var(--zs-brand); padding-top: .6rem; }
.zs-method__facts dt { font: 2.1rem/1 var(--zs-font-display); color: var(--zs-brand); }
.zs-method__facts dd { margin: .3rem 0 0; color: var(--zs-muted); }
@media (min-width: 56rem) {
  .zs-method { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 4rem; }
}

/* ---------- FAQ (pair with FAQPage JSON-LD of the same questions) ---------- */
.zs-faq { max-width: 50rem; }
.zs-faq details { border-bottom: 1px solid var(--zs-line); }
.zs-faq summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.zs-faq summary::-webkit-details-marker { display: none; }
.zs-faq summary::after { content: "+"; position: absolute; right: .25rem; top: .8rem; font-size: 1.4rem; color: var(--zs-accent); }
.zs-faq details[open] summary::after { content: "\2212"; }
.zs-faq details > div { padding: 0 0 1rem; color: var(--zs-ink); max-width: 44rem; }

/* ---------- Footer with organisation details ---------- */
.zs-footer { background: var(--zs-brand-deep); color: var(--zs-on-brand); padding: 3rem 0 1.5rem; font-size: .95rem; }
.zs-footer a { color: inherit; }
.zs-footer a:hover { color: var(--zs-on-brand); opacity: .8; }
.zs-footer__grid { display: grid; gap: 2rem; }
.zs-footer h2 { color: var(--zs-on-brand); font-size: 1.15rem; margin-bottom: .6rem; }
.zs-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.zs-footer address { font-style: normal; }
.zs-footer__legal { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid rgb(255 255 255 / .2); font-size: .82rem; opacity: .8; }
@media (min-width: 56rem) { .zs-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }

@media (prefers-reduced-motion: reduce) { .zs-tile img { transition: none; } }

/* Three equal tiles (secondary entry row, e.g. by travel type). */
@media (min-width: 56rem) { .zs-tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Honest caption when a card shows a place photo instead of the product itself. */
.zs-offer__caption { position: absolute; right: .5rem; bottom: .5rem; margin: 0; padding: .15rem .45rem; font-size: .75rem; color: #fff; background: rgb(0 0 0 / .55); border-radius: var(--zs-radius-sm); }

/* Small screens: text covers more of the photo, so the scrim covers more too. */
@media (max-width: 44rem) {
  .zs-hero::before { background: linear-gradient(to top, color-mix(in srgb, var(--zs-brand-deep) 92%, transparent) 0%, color-mix(in srgb, var(--zs-brand-deep) 70%, transparent) 60%, color-mix(in srgb, var(--zs-brand-deep) 45%, transparent) 100%); }
  .zs-hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .zs-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
  .zs-trust dd { font-size: 1.4rem; }
  .zs-trust dt { font-size: .8rem; line-height: 1.3; }
  .zs-offer__media { aspect-ratio: 16 / 9; }
}
@media (max-width: 36rem) { .zs-tiles--scroll { scroll-padding-inline: 1rem; } }
