/*
 * Vijfsterrenvakantie signature: climate strip + inspection report ("de kritische hotelkeurder").
 * Load after kit.css. Colours validated with the dataviz palette checker (air #c98236 / sea #0b7fa0 on white: CVD ΔE 16+, contrast >= 3:1).
 */
:root {
  --vs-air: #c98236;
  --vs-sea: #0b7fa0;
  --vs-pass: #1f6b45;
}

/* ---------- Climate strip: 12 months, bar = average max air temperature, dot = sea temperature ---------- */
.zs-climate { margin: 0; background: var(--zs-surface); border: 1px solid var(--zs-line); border-radius: var(--zs-radius); padding: 1rem 1rem .75rem; }
.zs-climate figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; align-items: baseline; margin-bottom: .75rem; }
.zs-climate figcaption strong { font: 1.2rem/1.2 var(--zs-font-display); color: var(--zs-brand); font-weight: 400; }
.zs-climate__legend { display: flex; gap: 1rem; font-size: .82rem; color: var(--zs-muted); margin: 0; padding: 0; list-style: none; }
.zs-climate__legend li { display: inline-flex; align-items: center; gap: .35rem; }
.zs-climate__legend .air { width: 10px; height: 14px; border-radius: 3px 3px 0 0; background: var(--vs-air); }
.zs-climate__legend .sea { width: 10px; height: 10px; border-radius: 50%; background: var(--vs-sea); box-shadow: 0 0 0 2px var(--zs-surface); }
.zs-climate__plot { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; height: 9rem; padding-left: 1.6rem; }
/* Recessive reference lines at 10/20/30 °C; three lines, not a background pattern. */
.zs-climate__ref { position: absolute; left: 0; right: 0; height: 0; border-top: 1px dashed var(--zs-line); font-size: .68rem; color: var(--zs-muted); line-height: 0; }
.zs-climate__ref span { position: absolute; left: 0; top: 0; transform: translateY(-50%); line-height: 1; }
.zs-climate__m { position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; outline: none; cursor: default; }
.zs-climate__bar { width: min(70%, 22px); height: calc(var(--t) / 40 * 100%); background: color-mix(in srgb, var(--vs-air) 55%, var(--zs-surface)); border-radius: 4px 4px 0 0; }
.zs-climate__m.is-now .zs-climate__bar { background: var(--vs-air); }
.zs-climate__sea { position: absolute; left: 50%; bottom: calc(var(--s) / 40 * 100%); width: 10px; height: 10px; margin: 0 0 -5px -5px; border-radius: 50%; background: var(--vs-sea); box-shadow: 0 0 0 2px var(--zs-surface); }
.zs-climate__months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2px; padding-left: 1.6rem; margin-top: .3rem; font-size: .75rem; color: var(--zs-muted); text-align: center; }
.zs-climate__months .is-now { color: var(--zs-ink); font-weight: 700; }
/* Hover/focus tooltip: exact values for one month. */
.zs-climate__tip { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); z-index: 2; white-space: nowrap; background: var(--zs-ink); color: #fff; font-size: .78rem; line-height: 1.35; padding: .35rem .55rem; border-radius: var(--zs-radius-sm); pointer-events: none; display: none; } /* display:none, not opacity:0: hidden tips must not add scroll width on mobile */
.zs-climate__m:hover .zs-climate__tip, .zs-climate__m:focus-visible .zs-climate__tip { display: block; }
.zs-climate__m:focus-visible .zs-climate__bar { outline: 2px solid var(--zs-ink); outline-offset: 2px; }
.zs-climate__m:first-child .zs-climate__tip { left: 0; transform: none; }
.zs-climate__m:last-child .zs-climate__tip { left: auto; right: 0; transform: none; }
.zs-climate__now { font-size: .92rem; margin: .7rem 0 0; }
.zs-climate__source { font-size: .75rem; color: var(--zs-muted); margin: .3rem 0 0; }
/* Compact: destination tiles and hotel cards (no axis, no legend). */
.zs-climate--compact { padding: 0; border: 0; background: none; }
.zs-climate--compact .zs-climate__plot { height: 3rem; padding-left: 0; }
.zs-climate--compact .zs-climate__months { padding-left: 0; font-size: .65rem; }
.zs-climate--compact .zs-climate__ref, .zs-climate--compact figcaption { display: none; }

/* ---------- Inspection report: the four entry requirements as stamps, minus points first ---------- */
.zs-inspection { background: var(--zs-surface); border: 1px solid var(--zs-line); border-top: 4px solid var(--zs-brand); border-radius: var(--zs-radius); padding: 1.25rem; }
.zs-inspection__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .3rem 1rem; border-bottom: 1px solid var(--zs-line); padding-bottom: .75rem; margin-bottom: 1rem; }
.zs-inspection__head h2 { font-size: 1.5rem; }
.zs-inspection__head p { margin: 0; font-size: .88rem; color: var(--zs-muted); }
.zs-checks { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .6rem 1.5rem; }
@media (min-width: 44rem) { .zs-checks { grid-template-columns: 1fr 1fr; } }
.zs-check { display: grid; grid-template-columns: 2.2rem 1fr; gap: .6rem; align-items: start; }
.zs-check__stamp { width: 2.2rem; height: 2.2rem; border: 2px solid var(--vs-pass); border-radius: 50%; display: grid; place-items: center; color: var(--vs-pass); transform: rotate(-8deg); }
.zs-check__stamp svg { width: 1.1rem; height: 1.1rem; }
.zs-check strong { display: block; }
.zs-check span { font-size: .88rem; color: var(--zs-muted); }
.zs-check.is-open .zs-check__stamp { border-color: var(--zs-muted); color: var(--zs-muted); border-style: dashed; }
.zs-verdict { display: grid; gap: 1rem 2rem; }
@media (min-width: 44rem) { .zs-verdict { grid-template-columns: 1fr 1fr; } }
.zs-verdict h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.zs-verdict ul { margin: 0; padding-left: 1.1rem; }
.zs-verdict li { margin-bottom: .3rem; }
.zs-verdict__minus li::marker { content: "−  "; color: var(--zs-accent); font-weight: 700; }
.zs-verdict__plus li::marker { content: "+  "; color: var(--vs-pass); font-weight: 700; }
.zs-inspection__sources { font-size: .8rem; color: var(--zs-muted); margin: 1rem 0 0; }

/* ---------- Pictogram tiles (own sprite: /icons/vijfsterrenvakantie/sprite.svg, ids vs-*) ----------
 * <span class="vs-picto"><svg aria-hidden="true"><use href="/icons/vijfsterrenvakantie/sprite.svg#vs-plane"/></svg></span>
 * Modifiers: --sm, --lg, --warm (terracotta tile), --pass (green tile). Default tile is deep sea; cut-outs follow --picto-bg.
 */
.vs-picto { --picto-bg: #0f4c5c; display: inline-grid; place-items: center; flex: none; width: 3rem; height: 3rem; background: var(--picto-bg); color: #fff; border-radius: 4px; }
.vs-picto svg { width: 80%; height: 80%; }
.vs-picto--sm { width: 2.1rem; height: 2.1rem; }
.vs-picto--lg { width: 4.25rem; height: 4.25rem; }
.vs-picto--warm { --picto-bg: var(--zs-accent, #b85a22); }
.vs-picto--pass { --picto-bg: var(--vs-pass, #1f6b45); }
@media print { .vs-picto { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
