/* tsibato — mobile-first. One family (Commissioner, by Greek designer Kostas Bartsokas),
   the legacy orange as the brand band, and a single loud element: the bitten discount sticker. */

@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/commissioner-greek-wght.woff2") format("woff2-variations");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/commissioner-latin-wght.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Commissioner";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/commissioner-latin-ext-wght.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --orange: #ff652d;       /* legacy brand band */
  --sticker: #e8531f;      /* white bold text ≥ 18.66px passes AA-large */
  --ember: #c2410c;        /* CTA fill, 5.2:1 with white */
  --teal: #0e7490;         /* links, 5.4:1 on white */
  --teal-bright: #1595b0;  /* wordmark teal: focus rings, map accents */
  --ink: #1f2328;          /* dark fills: footer, buttons, active chips */
  --text: #5b6470;         /* body/heading text */
  --muted: #5b6470;
  --paper: #f3f5f7;
  --card: #ffffff;
  --line: #e1e5ea;
  --line-strong: #c9d0d8;
  --r-s: 6px;
  --r-m: 12px;
  --gutter: 16px;
  --font: "Commissioner", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h, 0px) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--paper);
  font-optical-sizing: auto;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 0.15em; }
a:hover { color: var(--text); }
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0 0 1em; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 2px; border-radius: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--r-s);
}
.skip:focus { top: 8px; color: #fff; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Masthead ---------- */
/* tsibato.gr's header: a lighter band at the top fading to the brand orange (.mast in the old main.css)… */
.masthead {
  background: linear-gradient(#ff763a, #ff763a 20%, var(--orange) 70%, var(--orange));
  color: #fff;
  position: sticky; top: 0; z-index: 40; /* below the drawer (50) and consent bar (60) */
  transition: box-shadow 0.2s ease;
}
.masthead.is-stuck { box-shadow: 0 2px 10px rgb(60 20 0 / 0.25); }
.masthead__bar {
  max-width: 1440px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 12px;
  padding: 8px var(--gutter) 12px;
}
.brand { position: relative; isolation: isolate; display: flex; flex-direction: column; text-decoration: none; color: inherit; justify-self: start; }
/* …plus the warm yellow glow behind the logo (baked into the old logo sprite). */
.brand::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -40% -35% -10%;
  background: radial-gradient(closest-side, rgb(255 190 105 / 0.9), rgb(255 160 80 / 0.45) 55%, rgb(255 118 58 / 0) 100%);
}
.brand img { width: 112px; height: auto; }
.brand__tagline { font-size: 0.75rem; font-weight: 600; margin-top: -2px; padding-left: 4px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 44px; min-height: 44px; padding: 0 10px;
  background: transparent; border: 0; border-radius: var(--r-s); color: var(--text);
  text-decoration: none; font-weight: 600; cursor: pointer;
}
.icon-btn:hover { background: rgb(0 0 0 / 0.08); color: var(--text); }
/* Header text and icons are white on the orange band. */
.masthead .icon-btn, .masthead .icon-btn:hover, .masthead .brand:hover { color: #fff; }
.masthead .icon-btn:hover { background: rgb(255 255 255 / 0.16); }
.masthead .search input { color: var(--text); }
.icon-btn .icon { width: 24px; height: 24px; }
.masthead__links { display: flex; justify-content: flex-end; grid-row: 1; grid-column: 3; }
.masthead__links .label { display: none; }
.search { grid-column: 1 / -1; display: flex; }
.search input {
  flex: 1; min-width: 0; height: 46px; padding: 0 14px;
  border: 0; border-radius: var(--r-s) 0 0 var(--r-s); background: #fff;
}
.search input::placeholder { color: var(--muted); }
.search button {
  height: 46px; width: 52px; border: 0; border-radius: 0 var(--r-s) var(--r-s) 0;
  background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.search button:hover { background: #000; }
.brag { display: none; }

/* Category rail — the phone's primary navigation */
.rail { background: var(--card); border-bottom: 1px solid var(--line); }
.rail ul {
  list-style: none; margin: 0 auto; max-width: 1440px;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding: 10px var(--gutter); scroll-padding-inline: var(--gutter);
}
.rail ul::-webkit-scrollbar { display: none; }
.rail a {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  min-height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--text); text-decoration: none; font-size: 0.9375rem;
}
.rail a:hover { border-color: var(--ink); }
.rail a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.rail .icon { width: 18px; height: 18px; }

/* ---------- Shell ---------- */
.shell { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
main { min-width: 0; padding: 20px 0 48px; }

/* Sidebar: off-canvas drawer on phones, static column on desktop */
.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 50;
  width: min(340px, 88vw); overflow-y: auto; overscroll-behavior: contain;
  background: var(--card); padding: 12px var(--gutter) 32px;
  transform: translateX(-102%); visibility: hidden;
  transition: transform 0.22s ease, visibility 0s linear 0.22s;
}
.nav-open .sidebar { transform: none; visibility: visible; transition: transform 0.22s ease; box-shadow: 0 0 0 100vmax rgb(15 20 25 / 0.45); }
.sidebar__close { display: flex; justify-content: flex-end; }
.nav-open { overflow: hidden; }

.side-section + .side-section { margin-top: 24px; }
.side-title { font-size: 0.8125rem; font-weight: 700; color: var(--muted); margin: 0 0 6px; }
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav a, .side-nav summary {
  display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 8px;
  border-radius: var(--r-s); color: var(--text); text-decoration: none; cursor: pointer;
}
.side-nav summary { list-style: none; }
.side-nav summary::-webkit-details-marker { display: none; }
.side-nav summary::after {
  content: ""; margin-left: 4px; width: 7px; height: 7px; flex: none;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px);
}
.side-nav details[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.side-nav a:hover, .side-nav summary:hover { background: var(--paper); }
.side-nav a[aria-current="page"] { background: #fff1ea; font-weight: 700; box-shadow: inset 3px 0 0 var(--orange); }
.side-nav .count { margin-left: auto; font-size: 0.8125rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.side-nav summary .count { margin-left: auto; }
.side-nav ul { list-style: none; margin: 0 0 4px; padding: 0 0 0 30px; }
.side-nav ul a { min-height: 36px; font-size: 0.9375rem; }
.badge-new {
  font-size: 0.6875rem; font-weight: 700; background: var(--ember); color: #fff; padding: 1px 6px; border-radius: 999px;
}

.tags { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.tags a { color: var(--muted); text-decoration: none; line-height: 1.6; }
.tags a:hover { color: var(--text); text-decoration: underline; }
.tags .size-2 { font-size: 1rem; color: var(--text); }
.tags .size-3 { font-size: 1.125rem; font-weight: 600; color: var(--text); }
.tags .size-1 { font-size: 0.875rem; }
.credits { margin-top: 28px; font-size: 0.8125rem; color: var(--muted); }

/* ---------- Listing ---------- */
.crumbs { font-size: 0.8125rem; color: var(--muted); margin-bottom: 8px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.listing-head h1 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); font-weight: 760; letter-spacing: -0.01em; }
.listing-head .intro { max-width: 68ch; color: var(--text); margin: 8px 0 0; }
.result-count { margin: 6px 0 0; font-size: 0.9375rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin: 16px 0; }
.field { display: flex; flex-direction: column; gap: 2px; font-size: 0.8125rem; color: var(--muted); }
.field select {
  width: 100%; min-width: 0; min-height: 44px; padding: 0 36px 0 12px; border: 1px solid var(--line-strong);
  border-radius: var(--r-s); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231f2328' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance: none; color: var(--text); font-size: 0.9375rem;
}
.toolbar .field, .filters .row .field { flex: 1 1 0; min-width: 0; max-width: 260px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: var(--r-s); border: 1px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer; font-size: 0.9375rem;
}
.btn--cta { background: var(--orange); color: #fff; }  /* white on the header orange is 2.9:1 (below WCAG AA 4.5:1) — brand choice */
.btn--cta:hover { background: #f04f14; color: #fff; }
.btn--quiet { background: var(--card); border-color: var(--line-strong); color: var(--text); }
.btn--quiet:hover { border-color: var(--ink); color: var(--text); }
.js .js-hide { display: none; }

.filters {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m);
  padding: 14px; margin: 16px 0 0; display: grid; gap: 12px;
}
.filters fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.filters legend { font-size: 0.8125rem; color: var(--muted); margin-bottom: 4px; padding: 0; }
.filters .row { display: flex; gap: 8px; align-items: end; }
.check {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; font-size: 0.9375rem; background: var(--card);
}
.check input { width: 18px; height: 18px; accent-color: var(--ember); margin: 0; }
.check:has(input:checked) { border-color: var(--ember); background: #fff1ea; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.chips a {
  display: inline-flex; min-height: 36px; align-items: center; padding: 0 12px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line-strong); color: var(--text); text-decoration: none; font-size: 0.9375rem;
}
.chips a[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.grid {
  display: grid; gap: 16px; list-style: none; margin: 0; padding: 0;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 248px), 1fr));
}

/* ---------- Deal card ---------- */
.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden;
  --text: #111418;   /* near-black on white cards for legibility */
  --muted: #374151;
  color: var(--text);
}
.card:hover { border-color: var(--line-strong); }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: #e9edf1; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media .placeholder { width: 100%; height: 100%; display: grid; place-items: end center; background: #fff1ea; }
.card__media .placeholder img { width: 60%; height: auto; object-fit: contain; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 0; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; font-size: 0.8125rem; color: var(--muted); }
.card__meta span { display: inline-flex; align-items: center; gap: 3px; }
.card__meta .icon { width: 14px; height: 14px; }
.card__meta .is-new { color: var(--ember); font-weight: 700; }
.card__title { font-size: 1rem; font-weight: 620; line-height: 1.35; }
.card__title a {
  color: var(--text); text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card__title a:hover { text-decoration: underline; }
/* Whole card clickable via the title link, CTA stays independently clickable. */
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.card__foot { position: relative; z-index: 1; padding: 10px 14px 14px; margin-top: auto; }
.card__foot .btn { width: 100%; }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.price strong { font-size: 1.5rem; font-weight: 820; letter-spacing: -0.02em; }
.price s { color: var(--muted); font-size: 0.9375rem; }
.facts { display: flex; gap: 16px; margin: 0; font-size: 0.8125rem; color: var(--muted); }
.facts div { display: flex; gap: 4px; }
.facts dt::after { content: ":"; }
.facts dd { margin: 0; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

/* The one loud thing: a discount sticker with a bite taken out ("τσιμπάω"). */
.sticker {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sticker); color: #fff;
  font-weight: 860; font-size: 1.1875rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
  transform: rotate(-10deg);
  -webkit-mask: radial-gradient(circle at 88% 14%, transparent 10px, #000 10.5px);
  mask: radial-gradient(circle at 88% 14%, transparent 10px, #000 10.5px);
}
.sticker--lg { width: 88px; height: 88px; font-size: 1.625rem; top: 14px; left: 14px;
  -webkit-mask: radial-gradient(circle at 88% 14%, transparent 14px, #000 14.5px);
  mask: radial-gradient(circle at 88% 14%, transparent 14px, #000 14.5px); }

.more { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 28px 0 0; }
.more p { margin: 0; font-size: 0.875rem; color: var(--muted); }
.pager { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
/* Infinite scroll on: the pager is only a fallback for crawlers and failed loads. */
.more.is-auto .js-more, .more.is-auto .more__count { display: none; }
.js-status:empty { display: none; }

.empty {
  display: grid; justify-items: center; text-align: center; gap: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: 32px 16px;
}
.empty img { width: 160px; }
.empty h2 { font-size: 1.25rem; }
.empty p { color: var(--text); max-width: 46ch; margin: 0; }

/* ---------- Deal page ---------- */
.deal { display: grid; gap: 20px; }
.deal__media { position: relative; border-radius: var(--r-m); overflow: hidden; background: #e9edf1; aspect-ratio: 4 / 3; }
.deal__media img { width: 100%; height: 100%; object-fit: cover; }
.deal__info { display: flex; flex-direction: column; gap: 12px; }
.deal__info h1 { font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem); font-weight: 740; letter-spacing: -0.01em; }
.deal__provider { margin: 0; font-weight: 600; color: var(--muted); }
.deal .price strong { font-size: 2.25rem; }
.deal .facts { flex-wrap: wrap; font-size: 0.9375rem; }
.deal__cta { display: grid; gap: 6px; }
.deal__cta .btn { min-height: 52px; font-size: 1.0625rem; }
.deal__cta small { color: var(--muted); }
.notice { padding: 12px 14px; border-radius: var(--r-s); background: #fff7d6; border: 1px solid #f0d77a; }
.features { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.features li { font-size: 0.875rem; padding: 4px 10px; border-radius: 999px; background: #e7f4f7; color: #0b5567; }
.deal__text { max-width: 72ch; }
.deal__text h2, .related h2 { font-size: 1.25rem; margin: 8px 0 10px; }
.deal__map { height: 260px; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); background: #e9edf1; }
.related { margin-top: 36px; }

/* ---------- Map page ---------- */
.map-page { display: flex; flex-direction: column; gap: 12px; }
.map-page h1 { font-size: 1.5rem; }
.map { height: calc(100svh - 260px); min-height: 420px; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); }
.map-popup { display: grid; gap: 4px; width: 210px; font-family: var(--font); }
.map-popup img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-s); }
.map-popup a { font-weight: 600; color: var(--text); }
.map-popup strong { font-size: 1.125rem; }
/* Leaflet layers use z-index 400–1000; isolate them so the map can't cover the sticky header (40),
   the menu drawer (50) or the consent bar (60). */
.leaflet-container { font-family: var(--font); isolation: isolate; z-index: 0; }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background-color: rgb(255 101 45 / 0.35); }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background-color: var(--sticker); color: #fff; font-weight: 700; }

/* ---------- Prose & errors ---------- */
.prose { max-width: 72ch; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-m); padding: 20px; }
.prose h1 { font-size: 1.75rem; margin-bottom: 16px; }
.prose h2 { font-size: 1.125rem; margin: 24px 0 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #d9dee4; margin-top: 24px; }
.footer__inner { max-width: 1440px; margin: 0 auto; padding: 28px var(--gutter) 40px; display: grid; gap: 24px; }
.footer a { color: #fff; }
.footer h2 { font-size: 1rem; color: #fff; margin-bottom: 8px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.newsletter form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter input[type="email"] { flex: 1 1 200px; min-height: 44px; padding: 0 12px; border-radius: var(--r-s); border: 0; color: var(--text); }
.newsletter p { color: #b9c1ca; font-size: 0.9375rem; }
.footer small { color: #9aa4af; }
.hp { position: absolute; left: -5000px; }

.consent {
  position: fixed; inset: auto 12px 12px 12px; z-index: 60; max-width: 560px;
  background: var(--card); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--r-m);
  padding: 14px; display: grid; gap: 10px; box-shadow: 0 6px 24px rgb(15 20 25 / 0.18);
}
.consent p { margin: 0; font-size: 0.9375rem; }
.consent div { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Larger screens ---------- */
/* Phones: the search box stays closed until the search icon is tapped
   (:target keeps it working without JS; an active search keeps it open). */
@media (max-width: 639.98px) {
  .search { display: none; }
  .search.is-open, .search:target, .search:focus-within { display: flex; }
  .search-toggle[aria-expanded="true"] { background: rgb(255 255 255 / 0.2); }
}

@media (min-width: 640px) {
  .search-toggle { display: none; }
  .masthead__bar { grid-template-columns: auto 1fr auto; padding-bottom: 8px; }
  .search { grid-column: 2; grid-row: 1; max-width: 560px; justify-self: center; width: 100%; }
  .masthead__links { grid-column: 3; }
  .brand img { width: 128px; }
  .masthead__links .label { display: inline; }
  .filters { grid-template-columns: auto 1fr; align-items: end; }
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__inner:not(:has(.newsletter)) { grid-template-columns: repeat(2, minmax(0, 300px)); gap: 24px 64px; }
}

@media (min-width: 900px) {
  .deal { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; gap: 32px; }
  .deal__text, .deal__map-wrap { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  :root { --gutter: 24px; }
  .masthead__bar { grid-template-columns: auto 1fr auto auto; }
  .brag { grid-column: 4; grid-row: 1; }
  .nav-toggle { display: none; }
  .brag { display: flex; align-items: flex-end; gap: 8px; align-self: end; margin-bottom: -8px; }
  .brag img { width: 96px; }
  .brag p { margin: 0 0 14px; line-height: 1.1; font-weight: 600; font-size: 0.8125rem; }
  .brag strong { display: block; font-size: 1.5rem; font-weight: 820; font-variant-numeric: tabular-nums; }
  .rail { display: none; }
  .shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 32px; }
  .sidebar {
    position: sticky; top: var(--head-h, 0px); align-self: start; max-height: calc(100vh - var(--head-h, 0px)); width: auto; z-index: auto;
    transform: none; visibility: visible; transition: none; background: transparent; padding: 20px 4px 32px 0;
    scrollbar-width: thin;
  }
  .sidebar__close { display: none; }
  .nav-open { overflow: auto; }
  .map { height: calc(100vh - 200px); }
}

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

@media print {
  .masthead, .rail, .sidebar, .footer, .toolbar, .filters, .more, .consent { display: none !important; }
  .shell { display: block; }
}
