/* Romagna Tourism v2: THE stylesheet (doc docs/turismo-v2.md "Design system" and "CSS map").
   Calm platform look: white, light grey, thin lines, near-black text, ONE accent (rust) for the main action only.
   Rules of the house: Figtree 400/500/600 only (the font face stops at 600, so nothing can be heavier, not even v1 bodies); headings
   small and balanced (text-wrap-style, never the text-wrap shorthand); one spacing scale; cards put their key value at the bottom so a
   row always lines up; no gradients on buttons, no sparkles, no shadows on resting cards.
   Order of the file: 1 tokens, 2 base, 3 layout, 4 components, 5 shell, 6 pages, 7 v1 bodies, 8 utilities. A rule lives in the section
   of the thing it styles; inside a component the order of the rules matters (later wins), between components it does not.
   Loaded AFTER v1's site.css, whose classes sections 4 (ask box) and 7 restyle. */



/* ==============================================================================================================
   1. TOKENS: the font, the colours, the type and spacing scales; v1's tokens re-pointed to them
   ============================================================================================================== */
/* Romagna Tourism v2: THE stylesheet (doc docs/turismo-v2.md, "Design system").
   Calm platform look: white, light grey, thin lines, near-black text, ONE accent (rust) for the main action only.
   Rules: Figtree 400/500/600 only (the font face stops at 600, so nothing can be heavier, not even v1 bodies), headings small and
   balanced (text-wrap), one spacing scale, cards put their key value at the bottom so a row always lines up, no gradients on
   buttons, no sparkles, no shadows on resting cards. Loaded AFTER v1's site.css: section 9 calms the v1 page bodies. */
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap;
  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: "Figtree"; src: url("../fonts/figtree-latin-ext.woff2") format("woff2"); font-weight: 400 600; font-display: swap;
  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; }
/* tokens */
:root {
  color-scheme: light;
  --ink: #1f1f1f; --ink-2: #555555; --ink-3: #6b6b6b; --line: #e8e8e8; --line-2: #d6d6d6; --fog: #f5f5f5; --fog-2: #ededed; --white: #fff;
  --accent: #c2491d; --accent-dark: #a23c17; --accent-soft: #fbefe9; --ok: #1f7a3a; --warn: #a15c00;
  --f: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* type scale (px at 16px root): 12 13 14 15 16 18 20 24 32 */
  --t-xs: .75rem; --t-sm: .8125rem; --t-ui: .875rem; --t-md: .9375rem; --t-base: 1rem; --t-lg: 1.125rem;
  --t-h3: 1.0625rem; --t-h2: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); --t-h1: clamp(1.625rem, 1.35rem + 1vw, 2.125rem);
  /* spacing scale: 4 8 12 16 24 32 48 64 */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem;
  --r-sm: 8px; --r: 12px; --r-lg: 16px; --wrap: 1200px; --gut: 1rem;
  --head-h: 64px; --tab-h: 0px;
  --sh-pop: 0 12px 32px rgba(0, 0, 0, .12), 0 2px 6px rgba(0, 0, 0, .06);
  /* v1 tokens re-pointed */
  --sea: var(--ink); --sea-dark: var(--ink); --sea-deep: var(--ink); --sea-soft: var(--fog);
  --sun: var(--accent); --sun-soft: var(--accent-soft); --coral: var(--accent); --coral-dark: var(--accent-dark);
  --muted: var(--ink-2); --sand: var(--white); --paper: var(--white); --late: var(--warn);
  --radius: var(--r); --shadow: none; --font: var(--f); --display: var(--f);
}
@media (min-width: 720px) { :root { --gut: 1.5rem; --head-h: 72px; } }
@media (max-width: 899px) { :root { --tab-h: calc(60px + env(safe-area-inset-bottom)); } }


/* ==============================================================================================================
   2. BASE: element defaults of every page. Generic rules use :where(.v2) (zero specificity) so a component or a v1 rule always wins
   ============================================================================================================== */
html { scroll-padding-top: calc(var(--head-h) + 16px); -webkit-text-size-adjust: 100%; }
body.v2 { margin: 0; background: var(--white); color: var(--ink); font: 400 var(--t-base)/1.55 var(--f); font-synthesis: none;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; -webkit-tap-highlight-color: transparent;
  padding-bottom: var(--tab-h); }
:where(.v2) :is(h1, h2, h3, h4) { font-family: var(--f); font-weight: 600; letter-spacing: -.01em; color: var(--ink); text-wrap-style: balance; margin: 0; }   /* :where = no specificity: v1's own colours (white on photos) win */
.v2 h1 { font-size: var(--t-h1); line-height: 1.2; }
.v2 h2 { font-size: var(--t-h2); line-height: 1.25; }
.v2 h3 { font-size: var(--t-h3); line-height: 1.35; }
.v2 h4 { font-size: var(--t-base); line-height: 1.4; }
:where(.v2) :is(p, li, dd) { text-wrap-style: pretty; }   /* -style only: the shorthand would cancel white-space: nowrap */
.v2 b, .v2 strong { font-weight: 600; }
:where(.v2) a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:where(.v2) a:hover { color: var(--ink); }
.v2 :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.v2 button, .v2 a, .v2 summary, .v2 input, .v2 select { touch-action: manipulation; }
:where(.v2) img { max-width: 100%; height: auto; }   /* zero specificity: a photo box of v1 that sets its own height keeps it */
.v2 .ic { flex: none; }
@media (prefers-reduced-motion: reduce) { .v2 *, .v2 *::before, .v2 *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.v2 input, .v2 select, .v2 textarea { font-family: var(--f); font-size: max(16px, 1em); }   /* 16px: iOS never zooms into a field */
.v2 table { font-size: var(--t-ui); }


/* ==============================================================================================================
   3. LAYOUT: the page frame: wrap, sections and their heads, grids, text blocks
   ============================================================================================================== */

/* --- containers and sections --- */
.v2-wrap, .v2 .container { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.v2-narrow { max-width: 760px; }
/* sections, heads, text */
.v2-sec { padding: var(--s6) 0; }
.v2-sec-tight { padding: var(--s5) 0; }
@media (min-width: 900px) { .v2-sec { padding: var(--s7) 0 var(--s6); } }
.v2-sh { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: var(--s5); margin-bottom: var(--s4); }
.v2-sh > div { min-width: 0; }
.v2-sh p { margin: var(--s1) 0 0; color: var(--ink-2); font-size: var(--t-md); text-wrap-style: balance; }
@media (max-width: 599px) {
  .v2-sh { align-items: start; }
  .v2-sh .v2-more { font-size: var(--t-ui); padding-top: .25rem; margin-top: 0; padding-bottom: 3px; margin-bottom: -3px; }
  .v2-sh p { font-size: var(--t-ui); }
}
.v2-pagehead { padding: var(--s5) 0 var(--s2); }
.v2-pagehead h1 { margin-bottom: var(--s2); }
/* cards: same height in a row, key value at the bottom, titles clamp to 2 lines and keep 2 lines of room */
.v2-grid { display: grid; gap: var(--s5) var(--s4); }
.v2-grid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.v2-grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (max-width: 599px) {
  .v2-grid-4:has(.v2-pcard) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
  .v2-grid-4 .v2-pcard { aspect-ratio: 1 / 1; }
}
/* faq: heading left, questions right on wide screens */
.v2-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--s6) var(--s7); align-items: start; }
@media (max-width: 899px) { .v2-split { grid-template-columns: 1fr; gap: var(--s4); } }
.v2-split-h p { color: var(--ink-2); font-size: var(--t-md); margin: var(--s2) 0 var(--s3); }
/* phones: "Vedi tutto" beside the title, the line under it gets the full width */
@media (max-width: 599px) {
  .v2-sh { display: block; position: relative; }
  .v2-sh h2 { padding-right: 7.5rem; }
  .v2-sh .v2-more { position: absolute; right: 0; top: .2rem; padding-top: 0; }
  .v2-sh:not(:has(.v2-more)) h2 { padding-right: 0; }   /* room for "Vedi tutto" only when there is one */
}
/* list head (events): title + one line on the left, the specials as cards on the right; ONE search bar (field, Cerca, Zona, Tipo);
   quick dates on one line with the count on the right. Owner 16 Nov 2026: "everything concentrated on the left, the description on two lines". */
.v2-listhead { padding: var(--s5) 0 var(--s4); }
.v2-listhead-in { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4) var(--s6); flex-wrap: wrap; }
.v2-listhead-t { min-width: 0; flex: 1 1 420px; }
.v2-listhead-t h1 { margin-bottom: var(--s2); }
.v2-listhead .v2-lead { max-width: none; }
@media (max-width: 899px) { .v2-listhead .v2-lead, .v2-pagehead .v2-lead { text-wrap-style: pretty; } }
/* special event pages (cribs, Christmas markets): the types as filter cards under the head, the guide text after the list */
.v2-listhead-in { align-items: center; }
.v2-listhead .v2-lead { max-width: 72ch; }

/* --- text blocks --- */
.v2-lead { font-size: var(--t-base); line-height: 1.6; color: var(--ink-2); max-width: 68ch; margin: 0; text-wrap-style: balance; }
@media (min-width: 900px) { .v2-lead { font-size: var(--t-lg); } }
.v2-meta { color: var(--ink-3); font-size: var(--t-ui); }
.v2-empty { color: var(--ink-2); padding: var(--s5); background: var(--fog); border-radius: var(--r); text-align: center; }
.v2-prose { max-width: 70ch; }
.v2-prose h2 { margin: var(--s6) 0 var(--s2); font-size: var(--t-lg); }
.v2-prose p { margin: 0 0 var(--s4); font-size: var(--t-base); line-height: 1.7; color: #333; }
.v2-prose ul { padding-left: 1.2rem; }
.v2-prose li { margin: var(--s1) 0; }
.v2-note { font-size: var(--t-sm); color: var(--ink-3); margin: var(--s4) 0 0; }
.v2-credit { font-size: var(--t-xs); color: var(--ink-3); margin: var(--s2) 0 0; }
.v2-credit a { color: var(--ink-3); }
@media (max-width: 599px) { .v2-sh p, .v2-lead { text-wrap-style: pretty; } }


/* ==============================================================================================================
   4. COMPONENTS: pieces used by more than one page, each in one place
   ============================================================================================================== */

/* --- buttons and text links --- */
/* buttons, links, chips */
.v2-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 44px; padding: 0 1.1rem; border-radius: 999px;
  font: 500 var(--t-md)/1 var(--f); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s; }
.v2 .v2-btn-dark { background: var(--ink); color: #fff; }
.v2 .v2-btn-dark:hover { background: #3a3a3a; color: #fff; }
.v2 .v2-btn-accent { background: var(--accent); color: #fff; }
.v2 .v2-btn-accent:hover { background: var(--accent-dark); color: #fff; }
.v2 .v2-btn-line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.v2 .v2-btn-line:hover { border-color: var(--ink); }
.v2 .v2-btn-sm { min-height: 36px; padding: 0 .9rem; font-size: var(--t-ui); }
.v2-more { display: inline-flex; align-items: center; gap: var(--s1); font-size: var(--t-md); font-weight: 500; text-decoration: none; white-space: nowrap; padding-block: 2px; margin-block: -2px; }
.v2-more:hover { text-decoration: underline; }
.v2-icon-btn { display: inline-flex; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 999px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.v2-icon-btn:hover { background: var(--fog); }
.v2-linkbtn { border: 0; background: none; padding: 2px 0; margin: -2px 0; font: 500 inherit/inherit var(--f); font-size: inherit; color: var(--ink); cursor: pointer; }
.v2-linkbtn:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --- chips and the one-line scroller --- */
.v2-chip { display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; padding: 0 .85rem; border: 1px solid var(--line-2); border-radius: 999px; background: #fff;
  font: 400 var(--t-ui)/1 var(--f); color: var(--ink); text-decoration: none; white-space: nowrap; cursor: pointer; }
.v2-chip:hover { border-color: var(--ink); }
.v2-chip small { color: var(--ink-3); font-size: var(--t-xs); }
.v2-chip.is-on, .v2-chip[aria-pressed="true"], .v2-chip[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.v2-chip.is-on small, .v2-chip[aria-current] small { color: #cfcfcf; }
.v2-chips { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0; padding: 0; }
/* one line that scrolls sideways (phones: never ten rows of chips) */
.v2-scroller { display: flex; gap: var(--s2); overflow-x: auto; scrollbar-width: none; list-style: none; margin: 0; padding: 2px 0; scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
.v2-scroller::-webkit-scrollbar { display: none; }
.v2-scroller > * { flex: none; scroll-snap-align: start; }
.v2-scroller > :last-child { margin-right: 32px; }
.v2-chip-x { background: var(--fog); border-color: var(--fog); min-height: 32px; padding: 0 .55rem 0 .75rem; }
.v2-chip-x .ic { color: var(--ink-3); }
.v2-chip-x:hover { border-color: var(--line-2); }
.v2-chip.is-on .v2-vn-st { color: #fff; }

/* --- event card, photo card, the sideways row of cards --- */
.v2-card { display: flex; flex-direction: column; min-width: 0; position: relative; }
.v2-card-ph { position: relative; display: block; aspect-ratio: 3 / 2; border-radius: var(--r); overflow: hidden; background: var(--fog); }
.v2-card-ph img, .v2-card-ph picture { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.v2-card:hover .v2-card-ph img { transform: scale(1.03); }
.v2-card-b { display: flex; flex-direction: column; gap: 2px; padding-top: var(--s3); flex: 1; }
.v2-card-when { font-size: var(--t-sm); font-weight: 500; color: var(--accent); }
.v2-card h3 { font-size: var(--t-base); font-weight: 600; line-height: 1.35; text-wrap-style: pretty; }
.v2-card h3 a { text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v2-card h3 a::after { content: ""; position: absolute; inset: 0; }   /* the whole card is the link */
.v2-card:hover h3 a { text-decoration: underline; }
.v2-card-where { margin: 0; font-size: var(--t-ui); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-card-tag { position: absolute; left: 10px; top: 10px; padding: .25rem .55rem; border-radius: 6px; background: rgba(255, 255, 255, .95); font-size: var(--t-xs); font-weight: 500; color: var(--ink); }
.v2-noph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ink-3); background: var(--fog); }
/* photo card with the name on it (zones, places) */
.v2-pcard { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; background: var(--fog); isolation: isolate; }
.v2-pcard picture, .v2-pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .35s ease; }
.v2-pcard:hover img { transform: scale(1.03); }
.v2-pcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.72)); }
.v2-pcard-t { position: absolute; left: var(--s4); right: var(--s4); bottom: var(--s3); display: grid; gap: 2px; }
.v2-pcard-t b { font-size: var(--t-base); font-weight: 600; line-height: 1.25; }
.v2-pcard-t span { font-size: var(--t-sm); opacity: .92; }
.v2 .v2-pcard, .v2 .v2-pcard:hover { color: #fff; }
@media (max-width: 599px) { .v2-pcard-t { left: var(--s3); right: var(--s3); bottom: var(--s2); } }
/* carousel row */
.v2-row { position: relative; }
.v2-row-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--s4)) / 4); gap: var(--s4); overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: var(--s1); }
.v2-row-track::-webkit-scrollbar { display: none; }
.v2-row-track > * { scroll-snap-align: start; }
.v2-row-btn { position: absolute; top: calc(33% - 20px); z-index: 2; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.v2-row-btn:hover { border-color: var(--ink); }
.v2-row-btn.is-prev { left: -20px; }
.v2-row-btn.is-next { right: -20px; }
.v2-row-btn[hidden] { display: none; }
@media (max-width: 1100px) { .v2-row-track { grid-auto-columns: calc((100% - 2 * var(--s4)) / 3); } }
@media (max-width: 899px) {
  .v2-row-btn { display: none; }
  .v2-row-track { grid-auto-columns: 62%; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
}
@media (max-width: 599px) { .v2-row-track { grid-auto-columns: 72%; gap: var(--s3); } }

/* --- tiles and plain list rows --- */
/* tiles: icon + name + one line (things to do, practical, hubs). Fixed rhythm: the icon box, two text lines. */
.v2-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--s3); }
.v2-tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v2-tiles-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 999px) {
  .v2-tiles-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-tiles-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) { .v2-tiles-3 { grid-template-columns: 1fr; } }
.v2-tile { display: flex; align-items: center; gap: var(--s3); height: 100%; box-sizing: border-box; padding: var(--s3) var(--s4) var(--s3) var(--s3); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; transition: border-color .15s; }
.v2-tile:hover { border-color: var(--ink); }
.v2-tile .v2-mm-ic { width: 44px; height: 44px; }
.v2-tile-t { display: grid; gap: 1px; min-width: 0; }
.v2-tile-t b { font-size: var(--t-md); font-weight: 500; line-height: 1.3; }
.v2-tile-t small { font-size: var(--t-sm); line-height: 1.4; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 599px) {
  .v2-tiles-4 .v2-tile { padding: var(--s3); gap: var(--s2); }
  .v2-tiles-4 .v2-mm-ic { width: 36px; height: 36px; }
  .v2-tiles-4 .v2-tile-t small { display: none; }
}
/* list rows (plain) */
.v2-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.v2-rows a { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); padding: var(--s3) var(--s1); border-bottom: 1px solid var(--line); text-decoration: none; }
.v2-rows a:hover { background: var(--fog); }
.v2-rows .ic { color: var(--ink-3); }
.v2-rows-t { display: grid; gap: 1px; min-width: 0; }
.v2-rows-t b { font-weight: 500; font-size: var(--t-md); }
.v2-rows-t small { color: var(--ink-3); font-size: var(--t-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 900px) {
  .v2-rows-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s6); border-top: 0; }
  .v2-rows-2 li:nth-child(-n+2) a { border-top: 1px solid var(--line); }
}
/* phones: tiles are one clean list (icon, name, line), never two columns of uneven labels */
@media (max-width: 599px) {
  .v2-tiles-4 { grid-template-columns: 1fr; gap: var(--s2); }
  .v2-tiles-4 .v2-tile { padding: var(--s3); gap: var(--s3); }
  .v2-tiles-4 .v2-mm-ic { width: 40px; height: 40px; }
  .v2-tiles-4 .v2-tile-t small { display: -webkit-box; }
}
.v2-tile-btn { width: 100%; background: #fff; font: inherit; color: inherit; text-align: left; cursor: pointer; }

/* --- the Romagna Transfer band --- */
/* the partner band (Romagna Transfer): one quiet line with a button */
.v2-ride { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3) var(--s5); margin-top: var(--s5); padding: var(--s4) var(--s5);
  border-radius: var(--r); background: var(--fog); }
.v2-ride-t { display: grid; gap: 2px; min-width: 0; flex: 1 1 280px; }
.v2-ride-t span { color: var(--ink-2); font-size: var(--t-ui); }
.v2 .v2-ride .v2-ride-t h2 { font-size: var(--t-base); line-height: inherit; letter-spacing: normal; text-wrap-style: auto; }   /* the band's title is a real heading, with the look the <b> had */

/* --- questions and answers --- */
.v2-faq { border-top: 1px solid var(--line); }
.v2-faq details { border-bottom: 1px solid var(--line); }
.v2-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 56px; padding: var(--s3) 0; font-size: var(--t-base); font-weight: 500; cursor: pointer; }
.v2-faq summary::-webkit-details-marker { display: none; }
.v2-faq summary .ic { color: var(--ink-3); transition: transform .15s; }
.v2-faq details[open] summary .ic { transform: rotate(180deg); }
.v2-faq-a { padding: 0 var(--s6) var(--s4) 0; color: var(--ink-2); line-height: 1.65; font-size: var(--t-md); }
.v2-faq-a a { color: var(--ink); }

/* --- filter bars: chips, dropdowns (bottom sheets on phones), applied filters, count, pager --- */
.v2-filters { padding: var(--s2) 0 0; }
.v2-fbar { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s3); }
.v2-fbar > .v2-scroller { flex: 1 1 auto; min-width: 0; }
.v2-fbar-pops { display: flex; gap: var(--s2); flex: none; }
@media (max-width: 899px) {
  .v2-fbar { flex-direction: column; align-items: stretch; }
  .v2-fbar > .v2-scroller, .v2-fbar-pops { margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
  .v2-fbar-pops { overflow-x: auto; scrollbar-width: none; }
  .v2-fbar-pops::-webkit-scrollbar { display: none; }
  .v2-fbar-pops > * { flex: none; }
}
.v2-pop { position: relative; }
.v2-pop > summary { list-style: none; }
.v2-pop > summary::-webkit-details-marker { display: none; }
.v2-pop > summary .ic { color: inherit; }
.v2-pop[open] > summary { border-color: var(--ink); }
.v2-pop-panel { position: absolute; z-index: 75; top: calc(100% + 8px); left: 0; min-width: 260px; max-height: 420px; overflow: auto; padding: var(--s3); background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-pop); }
.v2-fbar-pops .v2-pop:last-child .v2-pop-panel { left: auto; right: 0; }
.v2-pop-h { margin: 0 0 var(--s2); padding: 0 var(--s2); font-size: var(--t-xs); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.v2-pop-list { list-style: none; margin: 0; padding: 0; display: grid; }
.v2-pop-list a { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 40px; padding: 0 var(--s2); border-radius: var(--r-sm); font-size: var(--t-md); text-decoration: none; white-space: nowrap; }
.v2-pop-list a:hover { background: var(--fog); }
.v2-pop-list a span { color: var(--ink-3); font-size: var(--t-sm); }
.v2-pop-list a[aria-current] { font-weight: 600; }
.v2-pop-list a[aria-current]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-left: auto; }
.v2-pop-list a[aria-current] span { display: none; }
.v2-dates { display: grid; gap: var(--s3); padding: 0 var(--s2) var(--s1); }
.v2-dates label { display: grid; gap: var(--s1); font-size: var(--t-sm); color: var(--ink-2); }
.v2-dates input { height: 44px; padding: 0 var(--s3); border: 1px solid var(--line-2); border-radius: var(--r-sm); font: 400 16px var(--f); color: var(--ink); background: #fff; }
/* phones: the dropdown becomes a bottom sheet over a dimmed page */
@media (max-width: 899px) {
  .v2-pop[open]::before { content: ""; position: fixed; inset: 0; z-index: 84; background: rgba(20, 20, 20, .4); }
  .v2-pop-panel { position: fixed; z-index: 85; left: 0 !important; right: 0 !important; top: auto; bottom: 0; min-width: 0; max-height: 72vh; border-radius: var(--r-lg) var(--r-lg) 0 0;
      padding: var(--s4) var(--gut) calc(var(--s5) + env(safe-area-inset-bottom)); border: 0; }
  .v2-pop-list a { min-height: 48px; }
}
.v2-applied { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-top: var(--s4); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.v2-count { margin: 0 var(--s2) 0 0; font-size: var(--t-md); font-weight: 600; }
.v2-clear { font-size: var(--t-ui); color: var(--ink-2); margin-left: var(--s1); }
.v2-month { grid-column: 1 / -1; display: flex; align-items: baseline; gap: var(--s2); margin: var(--s4) 0 calc(-1 * var(--s2)); font-size: var(--t-lg) !important; }
.v2-month:first-child { margin-top: var(--s2); }
.v2-month span { font-size: var(--t-ui); font-weight: 400; color: var(--ink-3); }
@media (max-width: 599px) { .v2-month { margin: var(--s5) 0 var(--s1); } }
.v2-pager { display: flex; justify-content: center; margin-top: var(--s6); }
.v2-pager .v2-btn[aria-busy] { opacity: .6; pointer-events: none; }
.v2-zonebar { padding-bottom: var(--s2); }
@media (max-width: 899px) { .v2-zonebar { margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); } }
.v2-applied { border-bottom: 0; padding-bottom: 0; margin-top: var(--s3); }
.v2-fpops { flex: none; display: flex; align-items: center; gap: var(--s2); padding-left: var(--s3); border-left: 1px solid var(--line); }
.v2-fpops > .v2-pop > summary.v2-chip { gap: .35rem; }
.v2-fpops > .v2-pop > summary.v2-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.v2-fpops > .v2-pop > summary.v2-chip.is-on .ic { color: #fff; }
.v2-fpops .v2-pop:last-child .v2-pop-panel { left: auto; right: 0; }
@media (max-width: 899px) { .v2-fpops { padding-left: 0; border-left: 0; } }

/* --- the Google map with its bar --- */
/* Google map shown directly (lazy iframe) + one bar: address, Indicazioni, Apri in Google Maps */
.v2-gmap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--fog); }
.v2-gmap iframe { display: block; width: 100%; height: 360px; border: 0; }
@media (max-width: 599px) { .v2-gmap iframe { height: 280px; } }
.v2-gmap-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s3) var(--s4); background: #fff; border-top: 1px solid var(--line); }
.v2-gmap-bar > span { display: inline-flex; align-items: center; gap: var(--s2); min-width: 0; font-size: var(--t-ui); color: var(--ink-2); }
.v2-gmap-bar > span .ic { color: var(--ink-3); flex: none; }
.v2-gmap-bar > div { display: flex; gap: var(--s2); }
@media (max-width: 599px) {
  .v2-gmap-bar > div { width: 100%; }
  .v2-gmap-bar .v2-btn { flex: 1; }
}

/* --- the question box (v1's ask component, restyled) --- */
/* the question box (v1's ask component, restyled) */
.v2 .ask { background: transparent; border: 0; padding: 0; box-shadow: none; max-width: 100%; }
.v2 .ask-form { display: flex; align-items: center; gap: var(--s2); width: 100%; box-sizing: border-box; margin: 0; padding: 6px 6px 6px 1.25rem; border: 1px solid var(--line-2);
  border-radius: 999px; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); }
.v2 .ask-form:focus-within { border-color: var(--ink); box-shadow: 0 2px 16px rgba(0, 0, 0, .1); }
.v2 .ask-form textarea { flex: 1 1 auto; min-width: 0; width: auto; border: 0; outline: 0; resize: none; background: transparent; font: 400 var(--t-base)/1.4 var(--f);
  color: var(--ink); padding: .6rem 0; margin: 0; min-height: 0; height: auto; box-shadow: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2 .ask-form textarea:focus { white-space: normal; }
.v2 .ask-form textarea::placeholder { color: var(--ink-3); opacity: 1; }
.v2 .ask .ask-send { flex: none; display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 1.15rem; border-radius: 999px; background: var(--accent); border: 0; color: #fff;
  font: 500 var(--t-md)/1 var(--f); box-shadow: none; }
.v2 .ask .ask-send:hover { background: var(--accent-dark); color: #fff; transform: none; }
.v2 .ask-examples { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s2); margin-top: var(--s4); }
.v2 .ask-examples p { width: 100%; margin: 0; text-align: center; font-size: var(--t-sm); color: var(--ink-3); font-weight: 400; }
.v2 .ask-examples .chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 .8rem; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font: 400 var(--t-ui)/1.2 var(--f); color: var(--ink-2); }
.v2 .ask-examples .chip:hover { border-color: var(--ink); color: var(--ink); }
.v2 .ask-examples .chip:nth-of-type(n+4) { display: none; }
.v2 .ask-note { text-align: center; font-size: var(--t-xs); color: var(--ink-3); margin: var(--s3) auto 0; max-width: 64ch; line-height: 1.5; }
.v2 .ask-log:not(:empty) { margin-bottom: var(--s4); text-align: left; }
.v2 .ask-q, .v2 .ask-a { border-radius: var(--r); font-size: var(--t-md); }
.v2 .ask-a { background: var(--fog); border: 0; }
.v2 .ask-who { font-size: var(--t-xs); font-weight: 500; color: var(--ink-3); }
@media (max-width: 599px) {
  .v2 .ask-form { padding-left: 1rem; }
  .v2 .ask-send { width: 44px; min-width: 44px; padding: 0; justify-content: center; }
  .v2 .ask-send span { display: none; }
  .v2 .ask-examples { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .v2 .ask-examples::-webkit-scrollbar { display: none; }
  .v2 .ask-examples p { display: none; }
  .v2 .ask-examples .chip { flex: none; }
  .v2 .ask-examples .chip:nth-of-type(n+5) { display: inline-flex; }
}
.v2 .ask .ask-send svg { width: 18px; height: 18px; flex: none; }
.v2 .ask-form textarea:placeholder-shown { white-space: nowrap; }

/* --- side panels (Chiedi, Segnalaci): a dialog from the right edge, full screen on phones --- */
/* side panels (Chiedi, Segnalaci): a <dialog> sliding in from the right, full screen on phones. Owner 16 Nov 2026: "a right
   panel where all the AI stuff is", the same for the feedback form. The page behind stays where it was. */
.v2 .v2-sidepanel { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(460px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; padding: 0; border: 0;
  border-radius: 0; background: #fff; color: var(--ink); box-shadow: -12px 0 40px rgba(0, 0, 0, .12); overflow: hidden; }
.v2 .v2-sidepanel[open] { display: flex; flex-direction: column; animation: v2-slide .22s ease-out; }
.v2 .v2-sidepanel::backdrop { background: rgba(20, 20, 20, .32); }
@keyframes v2-slide { from { transform: translateX(24px); opacity: .4; } to { transform: none; opacity: 1; } }
.v2 .v2-sidepanel .ask-dialog-head { flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s3);
  padding: calc(var(--s4) + env(safe-area-inset-top)) var(--s5) var(--s4); border-bottom: 1px solid var(--line); background: #fff; }
.v2 .v2-sidepanel .ask-dialog-head h2 { font-size: var(--t-lg); font-weight: 600; margin: 0; }
.v2 .v2-sidepanel .ask-dialog-head p { margin: 2px 0 0; font-size: var(--t-sm); color: var(--ink-3); }
.v2 .v2-sidepanel .ask-close { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; border: 0;
  background: var(--fog); color: var(--ink); cursor: pointer; padding: 0; }
.v2 .v2-sidepanel .ask-close:hover { background: var(--fog-2); }
/* Chiedi inside the panel: the conversation scrolls, the suggestions sit above the field, the field stays at the bottom */
.v2 .v2-askpanel .ask { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0; }
.v2 .v2-askpanel .ask-log { order: 1; flex: 1; min-height: 0; overflow-y: auto; margin: 0; padding: var(--s5); display: flex; flex-direction: column; gap: var(--s4); }
.v2 .v2-askpanel .ask-log:empty::before { content: ""; flex: 1; }
.v2 .v2-askpanel .ask-examples { order: 2; display: grid; gap: var(--s2); justify-content: stretch; margin: 0; padding: 0 var(--s5) var(--s3); overflow: visible; }
.v2 .v2-askpanel .ask-examples p { display: block; text-align: left; font-size: var(--t-xs); color: var(--ink-3); margin: 0 0 var(--s1); }
.v2 .v2-askpanel .ask-examples .chip { display: flex !important; justify-content: flex-start; width: 100%; min-height: 40px; padding: 0 var(--s4); border-radius: var(--r);
  text-align: left; white-space: normal; background: var(--fog); border-color: var(--fog); color: var(--ink); }
.v2 .v2-askpanel .ask-examples .chip:hover { border-color: var(--line-2); background: #fff; }
.v2 .v2-askpanel .ask-form { order: 3; margin: 0 var(--s5); width: auto; box-shadow: none; }
.v2 .v2-askpanel .ask-note { order: 4; text-align: left; margin: var(--s2) var(--s5) calc(var(--s4) + env(safe-area-inset-bottom)); font-size: var(--t-xs); }
.v2 .v2-askpanel .ask-q { align-self: flex-end; max-width: 85%; padding: var(--s3) var(--s4); background: var(--ink); color: #fff; border: 0; border-radius: 16px 16px 4px 16px; }
.v2 .v2-askpanel .ask-q p { margin: 0; color: #fff; }
.v2 .v2-askpanel .ask-q .ask-who { display: none; }
.v2 .v2-askpanel .ask-a { align-self: stretch; padding: 0; background: none; border: 0; font-size: var(--t-md); line-height: 1.6; }
.v2 .v2-askpanel .ask-a .ask-who { display: inline-flex; margin-bottom: var(--s1); }
.v2 .v2-askpanel .ask-src { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); font-size: var(--t-sm); }
.v2 .v2-askpanel .ask-src b { width: 100%; font-weight: 500; color: var(--ink-3); font-size: var(--t-xs); }
.v2 .v2-askpanel .ask-src a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 .7rem; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; }
.v2 .v2-askpanel .ask-vote { display: flex; gap: var(--s2); margin-top: var(--s3); }
.v2 .v2-askpanel .ask-vote .chip { min-height: 32px; font-size: var(--t-sm); }
/* the feedback form inside its panel: no strip, no toggle, just the form */
.v2 .v2-sidepanel-b { flex: 1; min-height: 0; overflow-y: auto; padding: var(--s5) var(--s5) calc(var(--s6) + env(safe-area-inset-bottom)); }
.v2 .v2-fbpanel .sgn { margin: 0; padding: 0; border: 0; background: none; }
.v2 .v2-fbpanel .sgn .container { display: block; width: auto; }
.v2 .v2-fbpanel .sgn-lines, .v2 .v2-fbpanel .sgn-drop > summary { display: none; }
.v2 .v2-fbpanel .sgn-form { max-width: none; display: grid; gap: var(--s4); }
.v2 .v2-fbpanel .sgn-form label { display: grid; gap: var(--s1); font-size: var(--t-sm); color: var(--ink-2); }
.v2 .v2-fbpanel .sgn-form input:not([type=checkbox]):not([type=radio]), .v2 .v2-fbpanel .sgn-form select, .v2 .v2-fbpanel .sgn-form textarea {
  width: 100%; box-sizing: border-box; min-height: 44px; padding: .6rem .8rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: #fff; color: var(--ink); font: 400 16px/1.4 var(--f); }
.v2 .v2-fbpanel .sgn-form :is(input, select, textarea):focus { outline: none; border-color: var(--ink); }
.v2 .v2-fbpanel .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
@media (max-width: 420px) { .v2 .v2-fbpanel .row2 { grid-template-columns: 1fr; } }
.v2 .v2-fbpanel .sgn-kind { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.v2 .v2-fbpanel .sgn-kind legend { width: 100%; margin-bottom: var(--s2); font-size: var(--t-sm); color: var(--ink-2); }
.v2 .v2-fbpanel .sgn-kind label { display: inline-flex; flex-direction: row; align-items: center; gap: var(--s2); min-height: 40px; padding: 0 .9rem; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink); cursor: pointer; }
.v2 .v2-fbpanel .sgn-kind label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: #fff; }
.v2 .v2-fbpanel .sgn-kind input { position: absolute; opacity: 0; pointer-events: none; }
.v2 .v2-fbpanel .join-consent { display: flex !important; flex-direction: row; align-items: flex-start; gap: var(--s2); font-size: var(--t-xs) !important; color: var(--ink-3) !important; line-height: 1.5; }
.v2 .v2-fbpanel .join-consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--ink); flex: none; }
.v2 .v2-fbpanel .sgn-form small { color: var(--ink-3); font-size: var(--t-xs); }
.v2 .v2-fbpanel .sgn-hint { display: flex; justify-content: space-between; gap: var(--s3); }
.v2 .v2-fbpanel .sgn-form .btn { justify-self: start; min-height: 44px; padding: 0 1.4rem; }
html:has(.v2-sidepanel[open]) { overflow: hidden; }
.v2 .v2-askpanel .ask-examples[hidden] { display: none; }
.v2 .v2-fbpanel .form, .v2 .v2-fbpanel .sgn-form { border: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.v2 .v2-fbpanel .sgn-kind { display: grid; gap: var(--s2); }
.v2 .v2-fbpanel .sgn-kind label { width: 100%; box-sizing: border-box; border-radius: var(--r); padding: var(--s2) var(--s4); min-height: 48px; line-height: 1.35; }
.v2 .v2-fbpanel .sgn-kind label span { border: 0; padding: 0; margin: 0; background: none; border-radius: 0; color: inherit; box-shadow: none; font: inherit; }
/* side panels, second pass (owner 16 Nov 2026): a real slide from the right edge (no fade, no wobble), a fixed footer with the
   main action, a proper select, no empty space above the form, lighter labels */
.v2 .v2-sidepanel[open] { animation: v2-panel-in .26s cubic-bezier(.2, .8, .2, 1); }
.v2 .v2-sidepanel[open]::backdrop { animation: v2-fade .26s ease-out; }
@keyframes v2-panel-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes v2-fade { from { opacity: 0; } to { opacity: 1; } }
.v2-sidepanel-f { flex: none; display: flex; gap: var(--s2); padding: var(--s3) var(--s5) calc(var(--s3) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.v2-sidepanel-f .v2-btn { flex: 1; min-height: 48px; }
.v2 .v2-fbpanel .v2-sidepanel-b { padding-top: var(--s5); padding-bottom: var(--s5); }
.v2 .v2-fbpanel .sgn, .v2 .v2-fbpanel .sgn .container, .v2 .v2-fbpanel .sgn-drop { margin: 0 !important; padding: 0 !important; border: 0; background: none; }
.v2 .v2-fbpanel .sgn-form > button[type="submit"] { display: none; }   /* the footer button submits it (form="fb-form") */
.v2 .v2-fbpanel .sgn-form label, .v2 .v2-fbpanel .sgn-kind legend { font-weight: 500; color: var(--ink-2); }
.v2 .v2-fbpanel .sgn-kind label { font-weight: 400; color: var(--ink); }
.v2 .v2-fbpanel .sgn-form select { -webkit-appearance: none; appearance: none; padding-right: 2.6rem; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .9rem center; }
.v2 .v2-fbpanel .sgn-form textarea { min-height: 140px; resize: vertical; }
.v2 .v2-fbpanel .sgn-hint { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s3); }
.v2 .v2-fbpanel .sgn-count { flex: none; font-variant-numeric: tabular-nums; }
.v2 .v2-fbpanel .sgn-msg:not([hidden]) { margin: 0; padding: var(--s3) var(--s4); border-radius: var(--r); font-size: var(--t-ui); }
.v2 .v2-fbpanel .sgn-msg.is-ok { background: #eaf6ee; color: var(--ok); }
.v2 .v2-fbpanel .sgn-msg.is-err { background: #fff4e5; color: var(--warn); }
@media (prefers-reduced-motion: reduce) { .v2 .v2-sidepanel[open], .v2 .v2-sidepanel[open]::backdrop { animation: none; } }
.v2 .v2-fbpanel .sgn-form { margin: 0 !important; }

/* --- search pills (hero question, search bars, the ask form): the PILL shows the focus, never the bare field. After the ask box and the panel: its focus ring wins --- */
.v2-search { display: flex; align-items: center; gap: var(--s2); max-width: 640px; height: 52px; padding: 0 6px 0 var(--s4); border: 1px solid var(--line-2); border-radius: 999px; background: #fff; }
.v2-search .ic { color: var(--ink-3); }
.v2-search input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: 400 16px var(--f); color: var(--ink); padding: 0; }
.v2-search input::placeholder { color: var(--ink-3); }
.v2-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.v2-sbar { display: flex; align-items: center; height: 60px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .05); }
.v2-sbar:focus-within { border-color: var(--ink); }
.v2-sbar-q { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: var(--s2); height: 100%; padding: 0 6px 0 var(--s5); }
.v2-sbar-q .ic { color: var(--ink-3); }
.v2-sbar-q input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: 400 16px var(--f); color: var(--ink); padding: 0; }
.v2-sbar-q input::placeholder { color: var(--ink-3); }
.v2-sbar-q input::-webkit-search-cancel-button { -webkit-appearance: none; }
.v2-sbar-q .v2-btn { flex: none; min-height: 44px; padding: 0 1.2rem; }
.v2-sbar-sub { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s3); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.v2-sbar-sub > .v2-scroller { flex: 1 1 auto; min-width: 0; }
.v2-sbar-sub .v2-count { flex: none; margin: 0; font-weight: 500; color: var(--ink-2); }
/* phones: the field alone in the bar, Zona and Tipo as chips on the line below with the dates */
@media (max-width: 899px) {
  .v2-sbar { height: 52px; }
  .v2-sbar-q { padding-left: var(--s4); }
  .v2-sbar-q .v2-btn { width: 44px; padding: 0; font-size: 0; }
  .v2-sbar-q .v2-btn::before { content: "→"; font-size: 18px; }
  .v2-sbar-sub { flex-direction: column; align-items: stretch; gap: var(--s2); }
  .v2-sbar-sub > .v2-scroller { margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
  .v2-sbar { flex-wrap: wrap; height: auto; gap: var(--s2); border: 0; border-radius: 0; box-shadow: none; background: none; }
  .v2-sbar-q { flex: 1 1 100%; height: 52px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; }
  .v2-sbar-q:focus-within { border-color: var(--ink); }
  .v2-sbar:focus-within { border-color: transparent; }
}
/* fields inside a pill (hero question, search bars, Chiedi field, newsletter): the PILL shows the focus (darker border + soft ring),
   never a rectangle around the bare input. Owner 16 Nov 2026: "that no sense rectangle". */
.v2 :is(.v2-askhero, .v2-sbar-q, .v2-search, .ask-form, .v2-news-row) :is(input, textarea):focus-visible { outline: none; }
.v2-askhero:focus-within, .v2-sbar-q:focus-within, .v2-search:focus-within, .v2 .ask-form:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(31, 31, 31, .07); }
.v2-sbar:focus-within { box-shadow: 0 0 0 4px rgba(31, 31, 31, .07); }
@media (min-width: 900px) { .v2-sbar-q:focus-within { border-color: transparent; box-shadow: none; }   /* desktop: the whole bar is the pill */ }
@media (max-width: 899px) { .v2-sbar:focus-within { box-shadow: none; }   /* phones: the field is the pill */ }
/* events: the bar is ONLY the search (field + Cerca); every filter (dates, Zona, Tipo) on the line below, then the count and
   "Azzera filtri". Owner 16 Nov 2026: "filters after the search button make no sense", the grey hover pill inside the bar. */
.v2-sbar { height: 60px; }
.v2-sbar-q { padding-right: 6px; }
.v2-sbar-q .v2-btn { min-height: 48px; padding: 0 1.4rem; }
.v2-sbar-sub { flex-wrap: nowrap; }
.v2-sbar-sub .v2-count { margin-left: auto; padding-left: var(--s3); white-space: nowrap; }
.v2-sbar-sub .v2-clear { margin: 0; color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 899px) {
  .v2-sbar-sub { flex-wrap: wrap; flex-direction: row; align-items: center; }
  .v2-sbar-sub > .v2-scroller { flex: 1 1 100%; }
  .v2-sbar-sub .v2-count { font-size: var(--t-ui); }
}


/* ==============================================================================================================
   5. SHELL: what every page wears: header, mega menu, language menu, tab bar, menu sheet, breadcrumbs, feedback strip, footer
   ============================================================================================================== */

/* --- header --- */
/* header */
.v2-head { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.v2-head-row { display: flex; align-items: center; gap: var(--s4); height: var(--head-h); }
.v2-logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); flex: none; }
.v2-mark { display: block; border-radius: 9px; }
.v2-word { font: 400 1.25rem/1 var(--f); letter-spacing: -.02em; color: var(--ink-2); white-space: nowrap; }
.v2-word b { font-weight: 600; color: var(--ink); }
.v2-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; height: 100%; }
.v2-nav-list { display: flex; gap: var(--s1); list-style: none; margin: 0; padding: 0; height: 100%; }
.v2-nav-item { display: flex; align-items: center; }
.v2-nav-btn { position: relative; display: inline-flex; align-items: center; gap: .3rem; height: 40px; padding: 0 .75rem; border: 0; border-radius: 999px; background: transparent;
  font: 500 var(--t-md)/1 var(--f); color: var(--ink); cursor: pointer; white-space: nowrap; }
.v2-nav-btn .ic { color: var(--ink-3); transition: transform .15s; }
.v2-nav-btn:hover, .v2-nav-btn[aria-expanded="true"] { background: var(--fog); }
.v2-nav-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.v2-nav-btn.is-active::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: -12px; height: 2px; background: var(--ink); border-radius: 2px; }
.v2-tools { display: flex; align-items: center; gap: var(--s1); flex: none; margin-left: auto; }
.v2-ask-btn .ic { color: inherit; }
.v2-burger { display: none; }
/* phones and tablets: logo + language on top, tab bar at the bottom (thumb reach), the menu in a full-screen sheet */
@media (max-width: 1180px) {
  .v2-nav { display: none; }
  .v2-burger { display: inline-flex; }
}
@media (max-width: 899px) {
  .v2-burger, .v2-ask-btn { display: none; }
  .v2-word { font-size: 1.125rem; }
}
.v2-logo-sm .v2-word { font-size: 1rem; }

/* --- mega menu and the dimmed page --- */
/* mega menu: main pages big (icon, name, one line), the others small and quiet, a photo to rest the eye; the page behind dims */
.v2-mm { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 16px 32px rgba(0, 0, 0, .08); }
.v2-mm-in { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: var(--s6); padding: var(--s6) 0 var(--s5); }
.v2-mm-in.no-promo { grid-template-columns: minmax(0, 1fr); }
.v2-mm-main { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s6); align-content: start; }
.v2-mm-main.no-side { grid-template-columns: minmax(0, 1fr); }
.v2-mm-top { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s1) var(--s4); align-content: start; }
.v2-mm-main.no-side .v2-mm-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v2-mm-link { display: flex; align-items: center; gap: var(--s3); padding: var(--s2); margin: 0 calc(-1 * var(--s2)); border-radius: var(--r); text-decoration: none; }
.v2-mm-link:hover { background: var(--fog); }
.v2-mm-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--fog); color: var(--ink); flex: none; }
.v2-mm-link:hover .v2-mm-ic { background: #fff; }
.v2-mm-thumb { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; flex: none; background: var(--fog); }
.v2-mm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v2-mm-t { min-width: 0; display: grid; gap: 1px; }
.v2-mm-t b { font-size: var(--t-md); font-weight: 500; line-height: 1.3; }
.v2-mm-t small { font-size: var(--t-sm); color: var(--ink-3); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-mm-side { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s5) var(--s5); align-content: start; padding-left: var(--s6); border-left: 1px solid var(--line); }
.v2-mm-h { margin: 0 0 var(--s2); font-size: var(--t-xs); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.v2-mm-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.v2-mm-side a { display: block; padding: .2rem 0; font-size: var(--t-ui); color: var(--ink-2); text-decoration: none; }
.v2-mm-side a:hover { color: var(--ink); text-decoration: underline; }
.v2-mm-promo { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; padding: var(--s4); }
.v2-mm-promo img, .v2-mm-promo picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.v2-mm-promo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.65)); }
.v2 .v2-mm-promo, .v2 .v2-mm-promo:hover { color: #fff; }
.v2-mm-promo b { font-size: var(--t-base); font-weight: 600; line-height: 1.3; }
.v2-mm-promo span { font-size: var(--t-sm); opacity: .9; }
.v2-mm-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding-top: var(--s4); border-top: 1px solid var(--line); }
.v2-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(20, 20, 20, .32); }
.v2-scrim[hidden] { display: none; }
.v2-mm-promo { align-self: start; height: 280px; min-height: 0; }
.v2-mm-side { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.v2-mm-h { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2 .v2-mm-side .v2-mm-more { color: var(--ink); font-weight: 500; }
.v2-mm-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--s5); }
.v2-mm-side { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s5) var(--s5); padding-left: var(--s5); }
.v2-mm-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v2-mm-main { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }

/* --- language menu --- */
.v2-lang { position: relative; }
.v2-lang summary { list-style: none; display: inline-flex; align-items: center; gap: .35rem; height: 40px; padding: 0 .7rem; border-radius: 999px; cursor: pointer; font-size: var(--t-ui); font-weight: 500; }
.v2-lang summary::-webkit-details-marker { display: none; }
.v2-lang summary:hover, .v2-lang[open] summary { background: var(--fog); }
.v2-lang-list { position: absolute; right: 0; top: calc(100% + 8px); min-width: 200px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-pop);
  padding: var(--s2); display: grid; z-index: 70; }
.v2-lang-list a { padding: .55rem .75rem; border-radius: var(--r-sm); text-decoration: none; font-size: var(--t-md); }
.v2-lang-list a:hover { background: var(--fog); }
.v2-lang-list a[aria-current] { font-weight: 600; }
/* language menu: flag + code; the list with flags and each language in its own name */
.v2-flag-ic { display: block; flex: none; border-radius: 3px; }
.v2-lang summary { gap: var(--s2); padding: 0 .65rem 0 .55rem; border: 1px solid transparent; }
.v2-lang summary .ic { color: var(--ink-3); }
.v2-lang[open] summary { border-color: var(--line-2); background: #fff; }
.v2 .v2-lang .v2-lang-list { width: 300px; padding: var(--s3); display: block; }
.v2-lang-list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.v2 .v2-lang-list a { display: flex; align-items: center; gap: var(--s2); min-height: 40px; padding: 0 var(--s2); border-radius: var(--r-sm); font-size: var(--t-ui); text-decoration: none; }
.v2-lang-list a .ic { margin-left: auto; color: var(--accent); }
.v2-lang-list a[aria-current] { background: var(--fog); font-weight: 500; }
@media (max-width: 899px) {
  .v2 .v2-lang .v2-lang-list { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; border-radius: var(--r-lg) var(--r-lg) 0 0;
    padding: var(--s4) var(--gut) calc(var(--s5) + env(safe-area-inset-bottom)); z-index: 95; }
  .v2-lang[open]::before { content: ""; position: fixed; inset: 0; z-index: 94; background: rgba(20, 20, 20, .4); }
  .v2-lang-list a { min-height: 48px; }
}

/* --- tab bar and menu sheet (phones and tablets) --- */
.v2-tabbar { display: none; }
@media (max-width: 899px) {
  .v2-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; height: var(--tab-h);
      padding-bottom: env(safe-area-inset-bottom); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(10px); }
  .v2-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; padding: 0; color: var(--ink-3);
      font: 500 .6875rem/1 var(--f); text-decoration: none; cursor: pointer; min-width: 0; }
  .v2-tab .ic { color: inherit; }
  .v2-tab[aria-current], .v2-tab.is-on { color: var(--ink); }
  .v2-tab-ask .v2-tab-dot { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 30px; border-radius: 999px; background: var(--accent); color: #fff; }
  .v2-tab-ask { color: var(--ink); }
}
.v2-drawer { position: fixed; inset: 0; z-index: 90; background: #fff; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gut) calc(var(--s7) + env(safe-area-inset-bottom)); }
.v2-drawer-head { position: sticky; top: 0; z-index: 1; background: #fff; display: flex; align-items: center; justify-content: space-between; height: var(--head-h); border-bottom: 1px solid var(--line); }
.v2-acc { border-bottom: 1px solid var(--line); }
.v2-acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-size: var(--t-lg); font-weight: 500; cursor: pointer; }
.v2-acc summary::-webkit-details-marker { display: none; }
.v2-acc summary .ic { color: var(--ink-3); transition: transform .15s; }
.v2-acc[open] summary .ic { transform: rotate(180deg); }
.v2-acc[open] { padding-bottom: var(--s4); }
.v2-acc .v2-mm-top { grid-template-columns: 1fr; gap: 0; }
.v2-acc .v2-mm-link { margin: 0; padding: var(--s2) 0; }
.v2-acc .v2-mm-link:hover { background: none; }
.v2-acc-more { display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s3) 0 0; padding: 0; list-style: none; }
.v2-acc-more a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 .8rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: var(--t-ui); text-decoration: none; }
.v2-acc-all { display: inline-flex; align-items: center; gap: var(--s1); margin-top: var(--s3); font-size: var(--t-md); font-weight: 500; text-decoration: none; }
.v2-drawer-langs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.v2-drawer-langs a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 .8rem; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-size: var(--t-ui); }
.v2-drawer-langs a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
body.v2-noscroll { overflow: hidden; }
.v2-drawer-langs a { gap: var(--s2); }

/* --- breadcrumbs --- */
/* breadcrumbs */
.v2-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1); margin: 0; padding: var(--s4) 0 0; font-size: var(--t-sm); color: var(--ink-3); }
.v2-crumbs li { display: inline-flex; align-items: center; gap: var(--s1); min-width: 0; }
.v2-crumbs a { color: var(--ink-3); text-decoration: none; padding: 2px 0; margin: -2px 0; }
.v2-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.v2-crumbs [aria-current] { color: var(--ink-2); max-width: 36ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-crumbs .ic { color: var(--line-2); }

/* --- feedback strip (Segnalaci) --- */
.v2 .fb { border-color: var(--line); }
.v2 .sgn { background: #fff; border-top: 1px solid var(--line); margin-top: var(--s7); padding: var(--s5) 0; }
.v2 .sgn .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3) var(--s5); }
.v2 .sgn-lines { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin: 0; }
.v2 .sgn-line { display: flex; align-items: center; gap: var(--s2); margin: 0; font-size: var(--t-ui); color: var(--ink-2); }
.v2 .sgn-line svg { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.v2 .sgn-line b { font-weight: 400; color: var(--ink-2); }
.v2 .sgn-line a { color: var(--ink); font-weight: 500; }
.v2 .sgn-drop { flex: 1 1 100%; }
.v2 .sgn-drop > summary { display: inline-flex; align-items: center; min-height: 36px; padding: 0 .9rem; border: 1px solid var(--line-2); border-radius: 999px; background: #fff;
  color: var(--ink); font-size: var(--t-ui); font-weight: 500; cursor: pointer; list-style: none; }
.v2 .sgn-drop > summary::-webkit-details-marker { display: none; }
.v2 .sgn-drop > summary:hover { border-color: var(--ink); }
.v2 .sgn-drop[open] > summary { margin-bottom: var(--s4); }
.v2 .sgn-form { max-width: 720px; }
.v2 .sgn + .v2-foot, .v2-main:has(.sgn) + .v2-foot { margin-top: 0; }
.v2 .sgn-drop { flex: 0 0 auto; }
.v2 .sgn-drop[open] { flex: 1 1 100%; }
/* the strip that opens it */
.v2-fbstrip { margin-top: var(--s7); border-top: 1px solid var(--line); }
.v2-fbstrip .v2-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s6); padding: var(--s5) 0; }
.v2-fbstrip p { display: flex; align-items: center; gap: var(--s2); margin: 0; font-size: var(--t-ui); color: var(--ink-2); }
.v2-fbstrip p .ic { color: var(--ink-3); }
.v2-fbstrip .v2-btn { margin-left: auto; }
@media (max-width: 899px) { .v2-fbstrip .v2-btn { margin-left: 0; } }
.v2-main:has(.v2-fbstrip) + .v2-foot { margin-top: 0; }

/* --- footer and newsletter --- */
/* footer */
.v2-foot { margin-top: var(--s7); background: var(--fog); border-top: 1px solid var(--line); font-size: var(--t-ui); }
.v2-foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5) var(--s6); padding: var(--s7) 0 var(--s5); }
@media (max-width: 899px) { .v2-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-top: var(--s6); } }
.v2-foot h2 { font-size: var(--t-ui); font-weight: 600; margin: 0 0 var(--s3); }
.v2-foot-cols a { display: block; padding: .3rem 0; color: var(--ink-2); text-decoration: none; }
.v2-foot-cols a:hover { color: var(--ink); text-decoration: underline; }
.v2-news { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: var(--s4) var(--s6); padding: var(--s5) 0; border-top: 1px solid var(--line); }
@media (max-width: 899px) { .v2-news { grid-template-columns: 1fr; } }
.v2-news h2 { font-size: var(--t-base); margin: 0 0 var(--s1); }
.v2-news p { margin: 0; color: var(--ink-2); max-width: 46ch; }
.v2-news-row { display: flex; gap: var(--s2); }
.v2-news-row input { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 var(--s4); border: 1px solid var(--line-2); border-radius: 999px; font: 400 var(--t-base) var(--f); background: #fff; color: var(--ink); }
.v2-news-row input:focus { outline: none; border-color: var(--ink); }
.v2-news-consent { display: flex; gap: var(--s2); align-items: flex-start; margin-top: var(--s2); font-size: var(--t-xs); color: var(--ink-3); line-height: 1.5; }
.v2-news-consent input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--ink); }
.v2-news-consent a { color: var(--ink-3); }
.v2-foot-base { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); padding: var(--s4) 0 var(--s6); border-top: 1px solid var(--line); font-size: var(--t-sm); color: var(--ink-3); }
.v2-foot-base p { margin: 0; flex: 1 1 380px; }
.v2-foot-base a { color: var(--ink-3); }
.v2-foot-legal { display: flex; gap: var(--s4); flex: 0 0 auto !important; }
.v2-foot-legal a { padding: 2px 0; margin: -2px 0; }
/* footer brand column, hub rows in two columns, the feedback strip (v1's turFbBox, calmed) */
.v2-foot-cols { grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); }
@media (max-width: 1099px) {
  .v2-foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .v2-foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 599px) { .v2-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.v2-foot-brand p { margin: var(--s3) 0 0; color: var(--ink-2); line-height: 1.55; max-width: 36ch; }
/* fixes of the second pass */
.v2-foot-cols .v2-logo { display: inline-flex; padding: 0; }
/* footer: no underlines, only on hover */
.v2-foot a, .v2-foot-base a, .v2-news-consent a { text-decoration: none; }
.v2-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.v2 .v2-news-row input:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(31, 31, 31, .07); }


/* ==============================================================================================================
   6. PAGES: rules of one page type only
   ============================================================================================================== */

/* --- home: hero question, section tabs, calendar card --- */
/* home */
.v2-hero { padding: var(--s6) 0 var(--s4); }
@media (min-width: 900px) { .v2-hero { padding: var(--s8) 0 var(--s5); } }
.v2-hero-in { max-width: 820px; margin: 0 auto; }
.v2-hero h1 { text-align: center; margin-bottom: var(--s5); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.v2-tabs { display: flex; justify-content: center; gap: var(--s1); list-style: none; margin: 0 0 var(--s4); padding: 0; }
.v2-tabs a { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .8rem; border-radius: 999px; font-size: var(--t-md); font-weight: 500; text-decoration: none; color: var(--ink-2); white-space: nowrap; }
.v2-tabs a:hover { background: var(--fog); color: var(--ink); }
.v2-tabs .ic { color: var(--ink); }
@media (max-width: 899px) {
  .v2-tabs { justify-content: flex-start; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
  .v2-tabs a { border: 1px solid var(--line-2); font-size: var(--t-ui); padding: .5rem .8rem; }
}
.v2-season { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--s2) var(--s4); margin: var(--s5) 0 0; font-size: var(--t-ui); color: var(--ink-3); }
.v2-season a { display: inline-flex; align-items: center; gap: .3rem; color: var(--ink); font-weight: 500; text-decoration: none; padding: 2px 0; margin: -2px 0; }
.v2-season a:hover { text-decoration: underline; }
.v2-season .v2-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 599px) { .v2-season { flex-direction: column; gap: var(--s2); } }
/* home hero: one question field (it opens the Chiedi panel); the 7-day card */
.v2-askhero { display: flex; align-items: center; gap: var(--s2); max-width: 720px; margin: 0 auto; height: 60px; padding: 0 6px 0 var(--s5); border: 1px solid var(--line-2);
  border-radius: 999px; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .06); }
.v2-askhero .ic { color: var(--ink-3); }
.v2-askhero input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: 400 16px var(--f); color: var(--ink); padding: 0; text-overflow: ellipsis; }
.v2-askhero input::placeholder { color: var(--ink-3); }
.v2-askhero .v2-btn { min-height: 48px; }
@media (max-width: 599px) {
  .v2-askhero { height: 56px; padding-left: var(--s4); }
  .v2-askhero > .ic { display: none; }
  .v2-askhero .v2-btn { width: 44px; min-height: 44px; padding: 0; }
  .v2-askhero .v2-btn span { display: none; }
}
.v2-week { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); border-radius: var(--r-lg); overflow: hidden; background: var(--fog); }
.v2-week-eye { margin: 0; font-size: var(--t-sm); color: var(--ink-3); }
.v2-week h2 { margin-top: calc(-1 * var(--s3)); }
.v2-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--s2); }
.v2-day { display: grid; justify-items: center; gap: 2px; padding: var(--s3) var(--s1); border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; text-align: center; }
.v2-day:hover { border-color: var(--ink); }
.v2-day b { font-size: var(--t-h2); font-weight: 600; line-height: 1.1; }
.v2-day-w { font-size: var(--t-xs); color: var(--ink-3); text-transform: capitalize; white-space: nowrap; }
.v2-day-n { font-size: var(--t-xs); color: var(--accent); white-space: nowrap; }
.v2-day.is-today { background: var(--ink); border-color: var(--ink); color: #fff; }
.v2-day.is-today .v2-day-w { color: #cfcfcf; }
.v2-day.is-today .v2-day-n { color: #ffb48f; }
.v2-week-cta { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s3) var(--s5); margin-top: auto; }
@media (max-width: 999px) {
  .v2-week { grid-template-columns: 1fr; }
  .v2-days { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--s4)); padding-inline: var(--s4); scroll-padding-inline: var(--s4); }
  .v2-days::-webkit-scrollbar { display: none; }
  .v2-days li { flex: none; width: 76px; }
}
.v2-askhero > .ic { color: var(--ink-3); }
.v2-askhero .v2-btn .ic, .v2 .ask .ask-send svg { color: #fff; }
.v2-askhero .v2-btn { gap: var(--s2); padding: 0 1.3rem; font-weight: 500; }
@media (min-width: 600px) { .v2-askhero .v2-btn .ic { display: none; }   /* desktop: the word alone; phones: the arrow alone */ }
/* the calendar card, second version (owner 16 Nov 2026: "100% grey, more dates, the actions on the right, no image") */
.v2-week2 { display: block; padding: var(--s6); }
.v2-week-top { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4) var(--s6); flex-wrap: wrap; margin-bottom: var(--s5); }
.v2-week2 h2 { margin: var(--s1) 0 0; }
.v2-week2 .v2-week-cta { position: static; display: flex; gap: var(--s2); margin: 0; }
.v2-week2 .v2-days { grid-template-columns: repeat(14, minmax(0, 1fr)); }
.v2-week2 .v2-day { padding: var(--s3) 2px; }
.v2-week2 .v2-day b { font-size: 1.25rem; }
.v2-day.is-we:not(.is-today) { background: var(--accent-soft); border-color: #f3d9cc; }
.v2-day.is-we:not(.is-today) .v2-day-n { color: var(--accent-dark); }
@media (max-width: 1099px) {
  .v2-week2 { padding: var(--s5) var(--s4); }
  .v2-week2 .v2-days { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--s4)); padding-inline: var(--s4); scroll-padding-inline: var(--s4); gap: var(--s2); }
  .v2-week2 .v2-days li { flex: none; width: 76px; }
}
@media (max-width: 599px) {
  .v2-week-top { flex-direction: column; align-items: stretch; margin-bottom: var(--s4); }
  .v2-week2 .v2-week-cta .v2-btn { flex: 1; }
  .v2-week2 .v2-week-cta { flex-wrap: nowrap; }
  .v2-week2 .v2-week-cta .v2-btn { flex: 1 1 0; min-width: 0; padding: 0 .6rem; font-size: var(--t-ui); }
  .v2-week2 .v2-week-cta .ic { display: none; }
}
/* home hero shortcuts (owner 17 Nov 2026): hidden where the full header menu shows (> 1180px), kept on tablet and phone (burger menu) */
@media (min-width: 1181px) { .v2-hero .v2-tabs { display: none; } }

/* --- events list: specials, type cards, the list, the guide --- */
.v2-evlist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5) var(--s4); }
@media (max-width: 1099px) { .v2-evlist { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .v2-evlist { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* phones: the cards become rows (square photo, date, title, place) */
@media (max-width: 599px) {
  .v2-evlist { grid-template-columns: 1fr; gap: 0; }
  .v2-evlist .v2-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s3); align-items: start; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
  .v2-evlist .v2-card-ph { aspect-ratio: 1; border-radius: 10px; }
  .v2-evlist .v2-card-tag { display: none; }
  .v2-evlist .v2-card-b { padding-top: 0; }
  .v2-evlist .v2-card h3 { min-height: 0; font-size: var(--t-md); }
  .v2-evlist .v2-card-where { font-size: var(--t-sm); }
}
.v2-specials-cards { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s3); flex: 0 1 auto; }
.v2-specials-cards a { display: flex; align-items: center; gap: var(--s3); height: 56px; padding: 0 var(--s3) 0 var(--s2); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none;
  font-size: var(--t-ui); font-weight: 500; white-space: nowrap; background: #fff; }
.v2-specials-cards a:hover { border-color: var(--ink); }
.v2-specials-cards .v2-mm-ic { width: 38px; height: 38px; background: var(--accent-soft); color: var(--accent); }
.v2-specials-cards a > .ic { color: var(--ink-3); }
@media (max-width: 899px) {
  .v2-specials-cards { width: 100%; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .v2-specials-cards::-webkit-scrollbar { display: none; }
  .v2-specials-cards li { flex: none; }
}
.v2-typecards-sec { padding-bottom: var(--s4); }
.v2-typecards { list-style: none; margin: 0; padding: 2px 0 var(--s1); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: var(--s3);
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.v2-typecards::-webkit-scrollbar { display: none; }
.v2-typecards li { scroll-snap-align: start; }
.v2-typecard { display: grid; align-content: start; gap: var(--s1); height: 100%; box-sizing: border-box; padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; background: #fff; }
.v2-typecard:hover { border-color: var(--ink); }
.v2-typecard b { font-size: var(--t-md); font-weight: 500; white-space: nowrap; }
.v2-typecard b span { color: var(--ink-3); font-weight: 400; font-size: var(--t-sm); margin-left: 2px; }
.v2-typecard small { font-size: var(--t-sm); line-height: 1.45; color: var(--ink-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v2-typecard.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
@media (max-width: 899px) { .v2-typecards { grid-auto-columns: 72%; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); } }
.v2-guide { border-top: 1px solid var(--line); margin-top: var(--s6); }
.v2-guide-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s6) var(--s7); align-items: start; }
@media (max-width: 899px) { .v2-guide-in { grid-template-columns: 1fr; } }
.v2-guide .v2-prose h2, .v2-guide-tips h2 { margin: 0 0 var(--s3); font-size: var(--t-lg); }
.v2-guide .v2-prose p { font-size: var(--t-md); color: var(--ink-2); }
.v2-guide-tips { padding: var(--s5); border-radius: var(--r-lg); background: var(--fog); }
.v2-guide-tips ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.v2-guide-tips li { display: flex; gap: var(--s2); font-size: var(--t-ui); line-height: 1.5; color: var(--ink-2); }
.v2-guide-tips li .ic { color: var(--accent); margin-top: 2px; }
.v2-typecard b { white-space: normal; text-wrap-style: balance; }

/* --- detail pages (event, sight): head, main column, facts, side cards, boxes, gallery --- */
/* detail pages (event; later venue, place): head, main column + side card, facts list, boxes, gallery */
.v2-ev-head { padding: var(--s5) 0 var(--s4); }
.v2-ev-tags { margin: 0 0 var(--s2); font-size: var(--t-sm); color: var(--ink-3); }
.v2-flag { display: inline-block; margin-left: var(--s2); padding: .15rem .5rem; border-radius: 6px; background: #fff4e5; color: var(--warn); font-size: var(--t-xs); font-weight: 500; }
.v2-ev-head h1 { max-width: 30ch; }
.v2-ev-sub { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin: var(--s3) 0 0; color: var(--ink-2); font-size: var(--t-md); }
.v2-ev-sub span { display: inline-flex; align-items: center; gap: var(--s2); }
.v2-ev-sub .ic { color: var(--ink-3); }
.v2-ev-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s6) var(--s7); align-items: start; }
@media (max-width: 999px) { .v2-ev-grid { grid-template-columns: 1fr; gap: var(--s5); } }
.v2-ev-ph { margin: 0; }
.v2-ev-ph img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-lg); background: var(--fog); }
@media (max-width: 699px) {
  .v2-ev-ph { margin-inline: calc(-1 * var(--gut)); }
  .v2-ev-ph img { border-radius: 0; }
  .v2-ev-ph figcaption { padding-inline: var(--gut); }
}
.v2-ev-ph figcaption { margin-top: var(--s2); font-size: var(--t-xs); color: var(--ink-3); }
.v2-ev-ph figcaption a { color: var(--ink-3); }
.v2-ev-blurb { margin: var(--s5) 0 0; font-size: var(--t-lg); line-height: 1.6; color: #333; max-width: 64ch; }
.v2-ev-sec { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); }
.v2-ev-sec > h2 { font-size: var(--t-lg); margin-bottom: var(--s4); }
.v2-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) var(--s5); }
@media (max-width: 599px) { .v2-facts { grid-template-columns: 1fr; } }
/* one fact = <div><dt>icon + label</dt><dd>value</dd></div> (the only valid shape of a dl group): the icon spans both rows on the left */
.v2-fact { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: var(--s3); align-items: start; min-width: 0; }
.v2-fact dt { display: contents; font-size: var(--t-sm); color: var(--ink-3); }
.v2-fact .v2-mm-ic { grid-row: 1 / 3; }
.v2-fact-k { grid-column: 2; margin-bottom: 2px; }
.v2-fact dd { grid-column: 2; margin: 0; font-size: var(--t-md); line-height: 1.5; display: grid; gap: 2px; align-content: start; }
.v2-fact small { color: var(--ink-3); font-size: var(--t-sm); }
.v2-cap::first-letter { text-transform: uppercase; }
.v2-wx { font-size: var(--t-ui); }
.v2-small-link { font-size: var(--t-sm); }
.v2-ev-dates { margin-top: var(--s5); }
.v2-ev-dates p { margin: 0 0 var(--s3); }
.v2-ev-dates b { font-weight: 500; }
.v2-ev-side { position: sticky; top: calc(var(--head-h) + var(--s4)); display: grid; gap: var(--s4); }
@media (max-width: 999px) { .v2-ev-side { position: static; } }
.v2-side-card { padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.v2-side-when { margin: 0; font-size: var(--t-lg); font-weight: 600; }
.v2-side-when::first-letter { text-transform: uppercase; }
.v2-side-where { margin: var(--s1) 0 0; color: var(--ink-2); font-size: var(--t-ui); }
.v2-side-btns { display: grid; gap: var(--s2); margin-top: var(--s4); }
.v2-side-btns .v2-btn { width: 100%; }
.v2-side-card .v2-note { margin-top: var(--s3); }
.v2-side-ride { background: var(--fog); border-color: var(--fog); }
.v2-side-ride p { margin: 0 0 var(--s3); font-size: var(--t-ui); color: var(--ink-2); }
.v2-side-ride .v2-side-h { font-size: var(--t-base); font-weight: 600; color: var(--ink); margin-bottom: var(--s1); }
.v2-side-ride .v2-btn { width: 100%; }
.v2-boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
@media (max-width: 599px) { .v2-boxes { grid-template-columns: 1fr; } }
.v2-box { padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r); }
.v2-box h3 { font-size: var(--t-md); margin-bottom: var(--s2); }
.v2-box p { margin: 0 0 var(--s2); font-size: var(--t-ui); line-height: 1.55; }
.v2-box ul { margin: 0; padding-left: 1.1rem; font-size: var(--t-ui); }
.v2-box-big { font-size: var(--t-lg) !important; font-weight: 600; }
.v2-mini { margin: 0; display: grid; gap: var(--s2); font-size: var(--t-ui); }
.v2-mini dt { display: flex; align-items: center; gap: var(--s1); color: var(--ink-3); font-size: var(--t-sm); }
.v2-mini dd { margin: 0; }
.v2-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--s3); }
.v2-gallery figure { margin: 0; }
.v2-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); display: block; }
.v2-gallery figcaption { font-size: var(--t-xs); color: var(--ink-3); margin-top: var(--s1); }
.v2-gallery figcaption a { color: var(--ink-3); }
.v2-boxes { display: block; columns: 2; column-gap: var(--s3); }
.v2-boxes .v2-box { break-inside: avoid; margin-bottom: var(--s3); }
@media (max-width: 599px) { .v2-boxes { columns: 1; } }
/* phones and tablets: photo, then the action card, then the details */
@media (max-width: 999px) {
  .v2-ev-grid { display: flex; flex-direction: column; gap: 0; }
  .v2-ev-main { display: contents; }
  .v2-ev-ph { order: 1; }
  .v2-ev-side { order: 2; margin-top: var(--s5); }
  .v2-ev-main > :not(.v2-ev-ph) { order: 3; }
}
.v2-ev-text { margin-top: var(--s4); }
.v2-ev-text p { color: #333; }
@media (max-width: 999px) {
  .v2-ev-grid { align-items: stretch; }
  .v2-ev-main > *, .v2-ev-side { width: 100%; box-sizing: border-box; }
}

/* --- destinations and zones --- */
/* towns list */
.v2-townlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--s5) var(--s6); }
.v2-townlist h3 { margin: 0 0 var(--s2); }
.v2-townlist h3 a { text-decoration: none; }
.v2-townlist h3 a:hover { text-decoration: underline; }
.v2-townlist .v2-chips a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 .75rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--t-ui); text-decoration: none; }
.v2-townlist .v2-chips a:hover { border-color: var(--ink); }
/* zone / detail hero */
.v2-zonehero { padding-top: var(--s4); }
.v2-zonehero-ph { position: relative; aspect-ratio: 21 / 8; border-radius: var(--r-lg); overflow: hidden; background: var(--fog); margin-bottom: var(--s5); }
.v2-zonehero-ph picture, .v2-zonehero-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 699px) { .v2-zonehero-ph { aspect-ratio: 3 / 2; margin-inline: calc(-1 * var(--gut)); border-radius: 0; } }
.v2-zonehero h1 { margin-bottom: var(--s2); }

/* --- eat and stay (hubs and town lists) --- */
/* venues (eat, stay): pages/eat.php + pages/stay.php = partials/venues.php (v2). Hub: the guide as an even grid, the biggest
   towns as tiles (count at the bottom), every town by zone (chips; one sideways line on phones). Town: the filter bar of section 12,
   road 1 rows ("In evidenza"), the list as compact rows (name, one meta line, Sito / Mappa at the right). v1's paid blocks calmed. */
.v2-vn-headgrid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--s4) var(--s7); align-items: start; }
@media (max-width: 899px) { .v2-vn-headgrid { grid-template-columns: minmax(0, 1fr); }   /* minmax: the sideways chip row must not widen the column */ }
.v2-vn-also { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s4) 0 0; padding: 0; }
.v2-vn-also .v2-chip .ic { color: var(--ink-3); }
@media (max-width: 599px) {
  .v2-vn-also { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .v2-vn-also::-webkit-scrollbar { display: none; }
  .v2-vn-also > li { flex: none; }
}
/* "Cerca il tuo hotel" (v1 turHotelFindBox + hotels.js) as a quiet card */
.v2-vn-find { padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.v2 .v2-vn-find h2 { font-size: var(--t-base); line-height: 1.3; margin: 0 0 var(--s3); }
.v2 .v2-vn-find .hf { display: grid; gap: var(--s2); }
.v2 .v2-vn-find .search { display: block; max-width: none; flex: none; }
.v2 .v2-vn-find .search input { box-sizing: border-box; width: 100%; height: 48px; padding: 0 var(--s4); border: 1px solid var(--line-2); border-radius: 999px; background: #fff;
  font: 400 16px var(--f); color: var(--ink); }
.v2 .v2-vn-find .search input:focus { outline: none; border-color: var(--ink); }
.v2 .v2-vn-find .search input::placeholder { color: var(--ink-3); }
.v2 .v2-vn-find .hf-list { gap: 0; max-height: 340px; overflow: auto; }
.v2 .v2-vn-find .hf-row { padding: var(--s2) var(--s3); border: 0; border-radius: var(--r-sm); background: none; }
.v2 .v2-vn-find .hf-row:hover, .v2 .v2-vn-find .hf-row:focus { background: var(--fog); }
.v2 .v2-vn-find .hf-row b, .v2 .v2-vn-find .hf-town b { font-weight: 500; color: var(--ink); }
.v2 .v2-vn-find .hf-row small { font-size: var(--t-sm); color: var(--ink-3); }
.v2 .v2-vn-find .hf-none { font-size: var(--t-ui); color: var(--ink-2); }
.v2 .v2-vn-find .hf-join { margin: 0; font-size: var(--t-ui); font-weight: 500; }
.v2-vn-find-own { margin: var(--s3) 0 0; font-size: var(--t-sm); }
.v2-vn-find-own a { color: var(--ink-2); }
.v2-vn-st { color: var(--warn); font-size: var(--t-xs); letter-spacing: .06em; white-space: nowrap; }
/* hub: the guide (no boxes: a line on top of each, so different lengths never look uneven) */
.v2-vn-guide { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5) var(--s6); }
.v2-vn-guide-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v2-vn-guide li { padding-top: var(--s4); border-top: 1px solid var(--line); }
.v2 .v2-vn-guide h3 { font-size: var(--t-md); margin: 0 0 var(--s1); }
.v2-vn-guide p { margin: 0; font-size: var(--t-ui); line-height: 1.65; color: var(--ink-2); }
@media (max-width: 899px) { .v2-vn-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .v2-vn-guide, .v2-vn-guide-4 { grid-template-columns: 1fr; gap: var(--s4); } }
/* hub: the biggest towns */
.v2-vn-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
@media (max-width: 999px) { .v2-vn-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .v2-vn-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); } }
.v2-vn-tile { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; transition: border-color .15s; }
.v2-vn-tile:hover { border-color: var(--ink); }
.v2-vn-tile b { font-size: var(--t-md); font-weight: 600; line-height: 1.3; }
.v2-vn-tile span { margin-top: 2px; font-size: var(--t-sm); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-vn-tile em { margin-top: auto; padding-top: var(--s3); font-style: normal; font-size: var(--t-ui); color: var(--ink-2); }
@media (max-width: 599px) { .v2-vn-tile { padding: var(--s3); } }
/* hub: every town by zone */
.v2-vn-all { margin-top: var(--s6); }
.v2 .v2-vn-all > h3 { font-size: var(--t-lg); margin: 0 0 var(--s3); }
.v2-vn-tsearch { max-width: 420px; height: 48px; padding-right: var(--s4); }
.v2-vn-all .v2-empty { margin: var(--s4) 0 0; }
.v2-vn-zones { margin-top: var(--s4); border-top: 1px solid var(--line); }
.v2-vn-zone { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--s2) var(--s5); align-items: start; padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.v2-vn-zone[hidden] { display: none; }
.v2 .v2-vn-zone h4 { padding-top: 7px; font-size: var(--t-md); font-weight: 600; line-height: 1.35; }
.v2-vn-tchips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s2); }
.v2-vn-tchips .v2-chip { min-height: 34px; }
@media (max-width: 699px) {
  .v2-vn-zone { grid-template-columns: 1fr; padding: var(--s3) 0; }
  .v2 .v2-vn-zone h4 { padding-top: 0; }
  .v2-vn-tchips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding: 2px var(--gut); scroll-padding-inline: var(--gut);
      -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
  .v2-vn-tchips::-webkit-scrollbar { display: none; }
  .v2-vn-tchips > li { flex: none; }
  .v2-vn-tchips .v2-chip { min-height: 40px; }
}
/* hub: for businesses */
.v2-vn-biz { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4) var(--s6); padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg); }
.v2-vn-biz-t { flex: 1 1 420px; min-width: 0; display: grid; gap: var(--s1); }
.v2-vn-biz-t small { font-size: var(--t-sm); color: var(--ink-3); }
.v2 .v2-vn-biz-t h2 { font-size: var(--t-lg); }
.v2-vn-biz-t p { margin: 0; max-width: 72ch; font-size: var(--t-md); color: var(--ink-2); }
/* the ride band keeps v1's <section class="section-tight cta-band"> (the anchor of turJoinPageBody): only the v2 band shows */
:is(.p-eat, .p-stay) section.cta-band { background: none; border: 0; border-radius: 0; padding: 0 0 var(--s5); }
:is(.p-eat, .p-stay) .cta-band .v2-ride { margin-top: 0; }
/* town: the list. Desktop: one line per place (name | zone, cuisine, street | links), columns of fixed width so every row lines up */
.v2-vn-sec { padding-top: var(--s4); }
.v2-vn-list > .v2-month, .v2-vn-top > .v2-month { margin: var(--s6) 0 var(--s2); }
.v2-vn-list > .v2-month:first-child, .v2-vn-top > .v2-month { margin-top: 0; }
.v2-vn-top + .v2-vn-list > .v2-month:first-child, .v2-vn-top + .v2-empty { margin-top: var(--s6); }
.v2-vn-rows, .v2-vn-toprows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.v2-vn-rows + .v2-vn-rows { border-top: 0; }
.v2-vn { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) 172px; grid-template-areas: "n m l"; align-items: center; column-gap: var(--s5);
  min-height: 52px; padding: 2px var(--s2); border-bottom: 1px solid var(--line); }
.is-stay .v2-vn { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr) max-content 96px; grid-template-areas: "n m o l"; }
.v2-vn:target { background: var(--accent-soft); }
.v2-vn-n { grid-area: n; display: flex; align-items: baseline; gap: var(--s2); min-width: 0; margin: 0; }
.v2-vn-n b { min-width: 0; font-size: var(--t-md); font-weight: 500; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-vn-n .v2-vn-st { flex: none; }
.v2-vn-m { grid-area: m; min-width: 0; margin: 0; font-size: var(--t-ui); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-vn-o { grid-area: o; display: inline-flex; align-items: center; min-height: 40px; font-size: var(--t-sm); color: var(--ink-3); white-space: nowrap; text-decoration-color: var(--line-2); }
.v2-vn-o:hover { color: var(--ink); }
.v2-vn-l { grid-area: l; display: flex; justify-content: flex-end; gap: var(--s1); margin: 0; }
.v2-vn-l a { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: 0 var(--s2); border-radius: var(--r-sm); font-size: var(--t-ui); color: var(--ink-2);
  text-decoration: none; white-space: nowrap; }
.v2-vn-l a:hover { background: var(--fog); color: var(--ink); }
.v2-vn-l .ic { color: var(--ink-3); }
/* road 1 (lib/ads.php turAdTopVenueRow: v1 markup .vn.vn-top), the same row with its tag and its short text, no gradient */
.v2 .v2-vn-toprows .vn { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s2) var(--s5); padding: var(--s3) var(--s2);
  background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.v2 .v2-vn-toprows .vn > div { min-width: 0; }
.v2 .v2-vn-toprows .ad-tag { display: inline-block; margin: 0 var(--s1) 0 0; padding: .1rem .5rem; border-radius: 6px; background: var(--accent-soft); color: var(--accent-dark);
  font-size: var(--t-xs); font-weight: 500; letter-spacing: 0; text-transform: none; vertical-align: 1px; }
.v2 .v2-vn-toprows .vn b { font-size: var(--t-md); font-weight: 600; }
.v2 .v2-vn-toprows .vn-stars { color: var(--warn); font-size: var(--t-xs); letter-spacing: .06em; }
.v2 .v2-vn-toprows .vn small { display: block; margin-top: 2px; font-size: var(--t-ui); color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.v2 .v2-vn-toprows .vn-top-p { margin: var(--s1) 0 0; font-size: var(--t-ui); line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v2 .v2-vn-toprows .vn-links { display: flex; gap: var(--s2); margin: 0; }
.v2 .v2-vn-toprows .vn-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s4); border: 1px solid var(--line-2); border-radius: 999px; background: #fff;
  font-size: var(--t-ui); font-weight: 500; color: var(--ink); }
.v2 .v2-vn-toprows .vn-links a:hover { border-color: var(--ink); }
.v2 .v2-vn-toprows .vn-links a:first-child { background: var(--ink); border-color: var(--ink); color: #fff; }
.v2 .v2-vn-toprows .vn:target { background: var(--accent-soft); box-shadow: none; }
/* phones: name (two lines at most) over the meta line, round Sito / Mappa buttons of 44px at the right, the owner's link under */
@media (max-width: 699px) {
  .v2-vn, .is-stay .v2-vn { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n l" "m l"; column-gap: var(--s3); min-height: 0; padding: var(--s2) 0; }
  .is-stay .v2-vn { grid-template-areas: "n l" "m l" "o o"; }
  .v2-vn-n { display: block; }
  .v2-vn-n b { white-space: normal; overflow: visible; }
  .v2-vn-n .v2-vn-st { margin-left: var(--s2); }
  .v2-vn-m { font-size: var(--t-sm); }
  .v2-vn-m:empty { display: none; }
  .v2-vn-o { min-height: 28px; justify-self: start; font-size: var(--t-xs); }
  .v2-vn-l { gap: var(--s2); align-self: center; }
  .v2-vn-l a { width: 44px; height: 44px; padding: 0; justify-content: center; border: 1px solid var(--line); border-radius: 999px; }
  .v2-vn-l a .ic { color: var(--ink-2); }
  .v2-vn-l a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .v2 .v2-vn-toprows .vn { grid-template-columns: 1fr; padding: var(--s3) 0; }
  .v2 .v2-vn-toprows .vn-links a { min-height: 44px; }
}
/* v1's paid blocks and the join boxes on these pages: thin lines, calm type, no orange frames */
:is(.p-eat, .p-stay) .ad-block, :is(.p-eat, .p-stay) .ad-banner-wrap { padding: var(--s3) 0; }
:is(.p-eat, .p-stay) .ad-head { margin: 0 0 var(--s2); font-size: var(--t-xs); font-weight: 500; letter-spacing: .04em; color: var(--ink-3); }
:is(.p-eat, .p-stay) .ad-list { gap: var(--s3); }
:is(.p-eat, .p-stay) .ad { border-color: var(--line); border-radius: var(--r); box-shadow: none; }
:is(.p-eat, .p-stay) .ad-body b { font-family: var(--f); font-size: var(--t-base); font-weight: 600; }
:is(.p-eat, .p-stay) .ad-body p { font-size: var(--t-ui); color: var(--ink-2); }
:is(.p-eat, .p-stay) .ad-tag { font-weight: 500; letter-spacing: .02em; color: var(--accent-dark); background: var(--accent-soft); }
:is(.p-eat, .p-stay) .ad-banner img { box-shadow: none; border-color: var(--line); }
:is(.p-eat, .p-stay) .join-box { margin-top: var(--s6); padding: var(--s5); background: var(--fog); border-radius: var(--r-lg); scroll-margin-top: calc(var(--head-h) + 16px); }
:is(.p-eat, .p-stay) .join-box h2 { margin: 0 0 var(--s3); font-size: var(--t-lg); }
:is(.p-eat, .p-stay) .join-box ol { max-width: 80ch; margin: 0; padding-left: 1.2rem; display: grid; gap: var(--s2); font-size: var(--t-md); line-height: 1.6; color: var(--ink-2); }
:is(.p-eat, .p-stay) .join-box ol b { font-weight: 600; color: var(--ink); }
:is(.p-eat, .p-stay) .join-box-note { max-width: 80ch; margin: var(--s3) 0 0; font-size: var(--t-sm); color: var(--ink-3); }
:is(.p-eat, .p-stay) .join-box .btn-row { margin: var(--s4) 0 0; }
:is(.p-eat, .p-stay) .join-listed { padding: var(--s5) 0; }
:is(.p-eat, .p-stay) .join-listed .guide-grid { gap: var(--s3); margin-top: var(--s3); }
:is(.p-eat, .p-stay) .join-listed .castle { gap: var(--s1); padding: var(--s4); border-color: var(--line); border-radius: var(--r); box-shadow: none; }
:is(.p-eat, .p-stay) .join-listed .castle h3 { font-size: var(--t-md); }
:is(.p-eat, .p-stay) .join-listed .castle p { margin: 0; font-size: var(--t-ui); color: var(--ink-2); }
:is(.p-eat, .p-stay) .join-listed .castle-where b { font-weight: 500; }
:is(.p-eat, .p-stay) .join-listed .link-arrow { font-weight: 500; font-size: var(--t-ui); }
/* the join box as two columns on wide screens (title, note, button | the three steps); the ride line never ends on one word */
@media (min-width: 900px) {
  :is(.p-eat, .p-stay) .join-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); grid-template-rows: auto auto 1fr; grid-template-areas: "h ol" "nt ol" "b ol"; column-gap: var(--s7); }
  :is(.p-eat, .p-stay) .join-box h2 { grid-area: h; }
  :is(.p-eat, .p-stay) .join-box ol { grid-area: ol; }
  :is(.p-eat, .p-stay) .join-box-note { grid-area: nt; margin-top: 0; }
  :is(.p-eat, .p-stay) .join-box .btn-row { grid-area: b; align-self: start; }
}
:is(.p-eat, .p-stay) .v2-ride-t span { text-wrap-style: pretty; }
@media (max-width: 599px) { :is(.p-eat, .p-stay) .v2-sh:not(:has(.v2-more)) h2 { padding-right: 0; }   /* section 13 keeps room for "Vedi tutto" even when there is none */ }
.v2-vn-note2 { margin-top: var(--s1); text-wrap-style: balance; }
@media (max-width: 599px) {
  :is(.p-eat, .p-stay) .join-box { padding: var(--s4); }
  :is(.p-eat, .p-stay) .join-box ol { padding-left: 1.1rem; }
}
.v2-vn-biz { margin-top: var(--s6); }
.v2 .v2-vn-find .search input::-webkit-search-cancel-button { -webkit-appearance: none; }
:is(.p-eat, .p-stay) .ad-list { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); align-items: start; }
:is(.p-eat, .p-stay) .ad-small { grid-column: 1 / -1; max-width: none; }
:is(.p-eat, .p-stay) .ad-tag { text-transform: none; }
:is(.p-eat, .p-stay) .join-listed .castle-grid { margin-bottom: var(--s3); }
:is(.p-eat, .p-stay) .join-listed .note { margin: 0; }
:is(.p-eat, .p-stay) .ad-tag, .v2 .v2-vn-toprows .ad-tag { letter-spacing: 0; }
:is(.p-eat, .p-stay) .v2-search input { text-overflow: ellipsis; }
/* Dormire / Mangiare hubs: head like the events page; on Dormire "Cerca il tuo hotel" is a full-width search bar under the title
   (results drop down under it), the join hint one quiet line. Owner 16 Nov 2026: "look at the top of this page". */
.v2-vn-findbar { position: relative; display: flex; align-items: center; gap: var(--s2); margin-top: var(--s5); height: 60px; padding: 0 var(--s5);
  border: 1px solid var(--line-2); border-radius: 999px; background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .05); }
.v2-vn-findbar:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(31, 31, 31, .07); }
.v2-vn-findbar > .ic { color: var(--ink-3); flex: none; }
.v2 .v2-vn-findbar .hf { flex: 1; min-width: 0; height: 100%; position: static; }
.v2 .v2-vn-findbar .hf .search { display: block; height: 100%; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; max-width: none; }
.v2 .v2-vn-findbar .hf .search::before { display: none; }
.v2 .v2-vn-findbar .hf input { width: 100%; height: 100%; border: 0; outline: 0; background: transparent; padding: 0; font: 400 16px var(--f); color: var(--ink); box-shadow: none; }
.v2 .v2-vn-findbar .hf input::placeholder { color: var(--ink-3); }
.v2 .v2-vn-findbar .hf input::-webkit-search-cancel-button { -webkit-appearance: none; }
.v2 .v2-vn-findbar .hf-list:not([hidden]), .v2 .v2-vn-findbar .hf-none:not([hidden]), .v2 .v2-vn-findbar .hf-join:not([hidden]) { position: absolute; left: 0; right: 0; z-index: 40; }
.v2 .v2-vn-findbar .hf-list:not([hidden]) { top: calc(100% + 8px); display: grid; max-height: 360px; overflow: auto; margin: 0; padding: var(--s2); list-style: none; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-pop); }
.v2 .v2-vn-findbar .hf-row { display: grid; gap: 2px; padding: var(--s2) var(--s3); border: 0; border-radius: var(--r-sm); text-decoration: none; background: none; }
.v2 .v2-vn-findbar .hf-row:hover, .v2 .v2-vn-findbar .hf-row:focus { background: var(--fog); }
.v2 .v2-vn-findbar .hf-row b { font-weight: 500; }
.v2 .v2-vn-findbar .hf-row small { font-size: var(--t-sm); color: var(--ink-3); }
.v2 .v2-vn-findbar .hf-none:not([hidden]) { top: calc(100% + 8px); margin: 0; padding: var(--s3) var(--s4); background: #fff; border: 1px solid var(--line); border-radius: var(--r); font-size: var(--t-ui); color: var(--ink-2); }
.v2 .v2-vn-findbar .hf-join:not([hidden]) { top: calc(100% + 56px); margin: 0; padding: 0 var(--s4); font-size: var(--t-ui); }
.v2-vn-findbar-own { display: flex; align-items: center; gap: var(--s2); margin: var(--s3) 0 0 var(--s5); font-size: var(--t-sm); color: var(--ink-3); }
.v2-vn-findbar-own .ic { color: var(--ink-3); }
.v2-vn-findbar-own a { color: var(--ink-2); text-decoration: none; }
.v2-vn-findbar-own a:hover { color: var(--ink); text-decoration: underline; }
@media (max-width: 599px) {
  .v2-vn-findbar { height: 52px; padding: 0 var(--s4); margin-top: var(--s4); }
  .v2-vn-findbar-own { margin-left: 0; }
}
.v2 .v2-vn-findbar .hf-row { display: block; }
.v2 .v2-vn-findbar .hf-row .vn-stars { margin-left: var(--s1); font-size: var(--t-xs); letter-spacing: 1px; color: #c9962b; }
.v2 .v2-vn-findbar .hf-row small { display: block; margin-top: 2px; }

/* --- /chiedi --- */
/* /chiedi: the panel's chat as a page (one 720 px column: head, conversation, suggestions, field, note) */
.v2-askpage { padding: var(--s5) 0 var(--s6); }
.v2-askpage-in { width: min(720px, 100% - 2 * var(--gut)); margin: 0 auto; display: flex; flex-direction: column; min-height: min(70vh, 720px); }
.v2-askpage-head { display: flex; align-items: center; gap: var(--s3); padding-bottom: var(--s4); border-bottom: 1px solid var(--line); }
.v2-askpage-head .v2-mm-ic { width: 44px; height: 44px; background: var(--accent-soft); color: var(--accent); }
.v2-askpage-head h1 { font-size: var(--t-h2); }
.v2-askpage-head p { margin: 2px 0 0; font-size: var(--t-sm); color: var(--ink-3); }
.v2-askpage-hello { margin: var(--s6) 0 0; font-size: var(--t-lg); color: var(--ink-2); text-wrap-style: balance; }
.v2-askpage-err { margin: var(--s4) 0 0; padding: var(--s3) var(--s4); border-radius: var(--r); background: #fff4e5; color: var(--warn); font-size: var(--t-ui); }
.v2-askpage:has(.ask-log:not(:empty)) .v2-askpage-hello { display: none; }
.p-ask .v2-fbstrip { margin-top: 0; }
.v2-askpage-in { min-height: 0; }
.v2-askpage-hello { margin: var(--s5) 0 var(--s4); }

/* --- documents (privacy, note legali) --- */
/* documents (privacy, note legali): head with the date, a table of contents beside the text (folded on phones), a 68ch column */
.v2-doc-head { padding: var(--s5) 0 var(--s5); border-bottom: 1px solid var(--line); }
.v2-doc-head h1 { margin: var(--s2) 0 var(--s3); }
.v2-doc-head .v2-lead { max-width: 64ch; }
.v2-doc-eye { display: inline-flex; align-items: center; gap: var(--s2); margin: 0; padding: .3rem .7rem; border-radius: 999px; background: var(--fog); font-size: var(--t-sm); color: var(--ink-2); }
.v2-doc-eye .ic { color: var(--ink-3); }
.v2-doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: var(--s7); align-items: start; padding: var(--s6) 0 var(--s4); }
@media (max-width: 999px) { .v2-doc { grid-template-columns: 1fr; gap: var(--s4); padding-top: var(--s4); } }
.v2-doc-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.v2-doc-toc li { counter-increment: toc; }
.v2-doc-toc a { display: flex; gap: var(--s2); padding: .4rem var(--s2); border-radius: var(--r-sm); font-size: var(--t-ui); line-height: 1.4; color: var(--ink-2); text-decoration: none; }
.v2-doc-toc a::before { content: counter(toc); flex: none; width: 1.4em; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.v2-doc-toc a:hover { background: var(--fog); color: var(--ink); }
.v2-doc-toc-d { position: sticky; top: calc(var(--head-h) + var(--s4)); max-height: calc(100vh - var(--head-h) - var(--s6)); overflow-y: auto; }
.v2-doc-toc-m { display: none; }
@media (max-width: 999px) {
  .v2-doc-toc-d { display: none; }
  .v2-doc-toc-m { display: block; border: 1px solid var(--line); border-radius: var(--r); padding: 0 var(--s3); }
  .v2-doc-toc-m summary { list-style: none; display: flex; align-items: center; gap: var(--s2); min-height: 48px; font-weight: 500; cursor: pointer; }
  .v2-doc-toc-m summary::-webkit-details-marker { display: none; }
  .v2-doc-toc-m summary span { color: var(--ink-3); font-weight: 400; font-size: var(--t-sm); }
  .v2-doc-toc-m summary .ic { margin-left: auto; color: var(--ink-3); transition: transform .15s; }
  .v2-doc-toc-m[open] summary .ic { transform: rotate(180deg); }
  .v2-doc-toc-m ol { padding-bottom: var(--s3); }
}
.v2-doc-body { max-width: 68ch; min-width: 0; }
.v2-doc-body section { padding: var(--s5) 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--head-h) + var(--s4)); }
.v2-doc-body section:first-child { border-top: 0; padding-top: 0; }
.v2-doc-body h2 { display: flex; align-items: baseline; gap: var(--s3); font-size: var(--t-lg); margin: 0 0 var(--s3); }
.v2-doc-n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px; background: var(--fog); font-size: var(--t-xs); font-weight: 500; color: var(--ink-2); transform: translateY(-2px); }
.v2-doc-body p, .v2-doc-body li { font-size: var(--t-base); line-height: 1.7; color: #333; }
.v2-doc-body p { margin: 0 0 var(--s3); }
.v2-doc-body ul { margin: 0 0 var(--s3); padding-left: 1.2rem; }
.v2-doc-body li { margin: var(--s1) 0; }
.v2-doc-body a { text-decoration: underline; text-underline-offset: 3px; }
.v2-doc-end { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-top: var(--s5); padding-top: var(--s5); border-top: 1px solid var(--line); }
@media (max-width: 599px) { .v2-doc-end { grid-template-columns: 1fr; } }
.p-privacy .v2-fbstrip, .p-legal .v2-fbstrip { display: none; }
.p-privacy .v2-main + .v2-foot, .p-legal .v2-main + .v2-foot { margin-top: var(--s6); }
/* /chi-siamo (owner 16 Nov 2026): publisher card (sticky right on desktop, first on phones) + the ways we work as icon rows */
.v2-doc-eye .v2-mark { border-radius: 4px; }

/* --- /chi-siamo --- */
.v2-about { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s7); align-items: start; padding: var(--s6) 0 var(--s7); }
.v2-about-card { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--head-h) + var(--s4)); border: 1px solid var(--line); border-radius: var(--r); padding: var(--s5); background: #fff; }
.v2-about-card h2 { margin: 0 0 var(--s2); font-size: var(--t-lg); }
.v2-about-card > p { margin: 0; font-size: var(--t-md); line-height: 1.65; color: var(--ink-2); text-wrap-style: pretty; }
.v2-about-card > p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.v2-about-acts { display: grid; gap: var(--s2); margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); }
.v2-about-acts .v2-btn { width: 100%; justify-content: center; }
.v2-about-legal { display: flex; justify-content: center; gap: var(--s4); margin: var(--s3) 0 0; font-size: var(--t-sm); }
.v2-about-legal a { color: var(--ink-3); text-decoration: none; }
.v2-about-legal a:hover { color: var(--ink); }
.v2-about-main { grid-column: 1; grid-row: 1; min-width: 0; max-width: 68ch; }
.v2-about-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--s4); padding: var(--s5) 0; border-top: 1px solid var(--line); }
.v2-about-row:first-child { border-top: 0; padding-top: 0; }
.v2-about-row h2 { margin: 8px 0 var(--s2); font-size: var(--t-lg); }
.v2-about-row p { margin: 0 0 var(--s3); font-size: var(--t-base); line-height: 1.7; color: #333; text-wrap-style: pretty; }
.v2-about-row p:last-child { margin-bottom: 0; }
.v2-about-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.v2-about-flags a { display: inline-flex; padding: 6px; border: 1px solid var(--line); border-radius: 8px; line-height: 0; }
.v2-about-flags a:hover { border-color: #cfcfcf; background: var(--fog); }
.v2-about-flags a[aria-current] { border-color: var(--ink); }
.v2-about-flags svg { border-radius: 2px; box-shadow: 0 0 0 1px rgb(0 0 0 / .06); }
@media (max-width: 999px) {
  .v2-about { grid-template-columns: 1fr; gap: var(--s5); padding-top: var(--s5); }
  .v2-about-card { grid-column: 1; grid-row: 1; position: static; padding: var(--s4); }
  .v2-about-main { grid-row: 2; max-width: none; }
  .v2-about-acts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .v2-about-acts { grid-template-columns: 1fr; }
  .v2-about-row { grid-template-columns: 1fr; gap: var(--s3); }
  .v2-about-row h2 { margin-top: 0; }
  .v2-about-row { grid-template-columns: 32px minmax(0, 1fr); gap: var(--s2) var(--s3); align-items: center; }
  .v2-about-row > div { display: contents; }
  .v2-about-row .v2-mm-ic { width: 32px; height: 32px; border-radius: 8px; }
  .v2-about-row h2 { margin: 0; }
  .v2-about-row p, .v2-about-row .v2-more, .v2-about-flags { grid-column: 1 / -1; }
  .v2-about-row .v2-more { justify-self: start; }
  .v2-about-flags { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .v2-about-flags a { justify-content: center; }
}
@media (max-width: 999px) { .v2-about { padding-bottom: var(--s5); } }

/* --- /compravendite --- */
/* --- /inserisci-attivita, the join WIZARD (owner 18 Nov 2026: "a wizard, not a ton of text"): a short centred head, one card, a bar
   of 4 dots, one step at a time (v2.js [data-wizard]); step 1 = section tiles with an icon. Without JS every step shows (no bar, no
   Avanti/Indietro). Toggles by :has(): the Altro field, the link field + RT consent of stay (optional) and farms (required) --- */
.v2-jw-head { padding: var(--s6) 0 var(--s5); text-align: center; }
.v2-jw-head h1 { margin: 0 0 var(--s2); }
.v2-jw-head .v2-lead { max-width: 56ch; margin: 0 auto; }
.v2-jw-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s5); margin: var(--s4) 0 0; padding: 0; list-style: none; font-size: var(--t-ui); color: var(--ink-2); }
.v2-jw-facts li { display: inline-flex; align-items: center; gap: 6px; }
.v2-jw-facts .ic { color: var(--ink-3); }
.v2-jw { max-width: 880px; padding-bottom: var(--s7); }
.v2-jw-card { display: grid; gap: var(--s5); padding: var(--s6); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: 0 2px 16px rgba(0, 0, 0, .04); scroll-margin-top: calc(var(--head-h) + var(--s3)); }
.v2-jw-bar { display: none; margin: 0; padding: 0 0 var(--s5); list-style: none; border-bottom: 1px solid var(--line); }
.is-wz .v2-jw-bar { display: flex; }
.v2-jw-bar li { position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; font-size: var(--t-sm); color: var(--ink-3); }
.v2-jw-bar li + li::before { content: ""; position: absolute; top: 14px; right: calc(50% + 22px); left: calc(-50% + 22px); height: 1px; background: var(--line-2); }
.v2-jw-bar li.is-done + li::before, .v2-jw-bar li.is-done::before { background: var(--ink); }
.v2-jw-dot { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: var(--t-sm); font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.v2-jw-dot .ic { display: none; }
.v2-jw-bar li.is-cur { color: var(--ink); font-weight: 500; }
.v2-jw-bar li.is-cur .v2-jw-dot { border-color: var(--ink); background: var(--ink); color: #fff; }
.v2-jw-bar li.is-done { cursor: pointer; color: var(--ink-2); }
.v2-jw-bar li.is-done .v2-jw-dot { border-color: var(--ink); color: var(--ink); }
.v2-jw-bar li.is-done .v2-jw-dot > span { display: none; }
.v2-jw-bar li.is-done .v2-jw-dot .ic { display: block; }
.v2-jw-bar-l { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-jw-err { display: flex; gap: var(--s2); align-items: flex-start; margin: 0; padding: var(--s3) var(--s4); border: 1px solid #f0c9bd; border-radius: var(--r); background: #fdf3f0; font-size: var(--t-ui); color: #9a3412; }
.v2-jw-err .ic { flex: none; margin-top: 1px; }
.v2-jw-step { display: grid; gap: var(--s4); min-width: 0; margin: 0; padding: 0; border: 0; }
.v2-jw-step[hidden] { display: none; }
.v2-jw-form:not(.is-wz) .v2-jw-step + .v2-jw-step { padding-top: var(--s5); border-top: 1px solid var(--line); }
.v2-jw-h { float: left; width: 100%; margin: 0; padding: 0; font-size: 1.25rem; font-weight: 600; line-height: 1.3; color: var(--ink); text-wrap-style: balance; }
.v2-jw-h + * { clear: both; }
.v2-jw-n { display: block; margin-bottom: 4px; font-size: var(--t-sm); font-weight: 500; color: var(--ink-3); }
.v2-jw-p { margin: calc(-1 * var(--s2)) 0 0; font-size: var(--t-ui); line-height: 1.55; color: var(--ink-2); text-wrap-style: pretty; }
.v2-jw-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); }
.v2-jw-tile { position: relative; display: flex; align-items: center; gap: var(--s3); min-height: 56px; margin: 0; padding: 8px 12px 8px 8px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .12s, background-color .12s; }
.v2-jw-tile input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.v2-jw-tile .v2-mm-ic { width: 36px; height: 36px; border-radius: 9px; }
.v2-jw-tile-t { min-width: 0; font-size: var(--t-ui); line-height: 1.3; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v2-jw-tile:hover { border-color: #bdbdbd; }
.v2-jw-tile:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.v2-jw-tile:has(input:checked) .v2-mm-ic { background: var(--ink); color: #fff; }
.v2-jw-tile:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.v2-jw-tile.is-other { border-style: dashed; }
.v2-jw-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.v2-jf { display: grid; gap: 6px; min-width: 0; align-content: start; }
.v2-jf-l { font-size: var(--t-ui); font-weight: 500; line-height: 1.4; color: var(--ink); }
.v2-jf-req { color: var(--accent); }
.v2-jf-opt { margin-left: .4em; font-weight: 400; color: var(--ink-3); }
.v2-jf-hint { display: block; margin: 0; font-size: var(--t-sm); line-height: 1.5; color: var(--ink-3); text-wrap-style: pretty; }
.v2-jw-form :is(input[type=text], input[type=email], input[type=tel], textarea) { width: 100%; height: 48px; margin: 0; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font: 400 16px var(--f); color: var(--ink); box-shadow: none; }
.v2-jw-form textarea { height: auto; min-height: 150px; padding: 12px 14px; line-height: 1.55; resize: vertical; }
.v2-jw-form :is(input, textarea)::placeholder { color: var(--ink-3); }
.v2-jw-form :is(input[type=text], input[type=email], input[type=tel], textarea):hover { border-color: #bdbdbd; }
.v2-jw-form :is(input[type=text], input[type=email], input[type=tel], textarea):focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(31, 31, 31, .08); }
.v2-jw-other, .v2-jw-link, .v2-jw-rt { display: none; }
.v2-jw-other.is-on, .v2-jw-form:has(.v2-jw-tiles input[value="other"]:checked) .v2-jw-other { display: grid; gap: var(--s3); }
.v2-jw-form:has(.v2-jw-tiles input:checked:not([value="other"])) .v2-jw-other { display: none; }
.v2-jw-link.is-on, .v2-jw-form:has(.v2-jw-tiles input:is([value="stay"], [value="farms"]):checked) .v2-jw-link { display: grid; }
.v2-jw-rt.is-on, .v2-jw-form:has(.v2-jw-tiles input:is([value="stay"], [value="farms"]):checked) .v2-jw-rt { display: flex; }
.v2-jw-form:has(.v2-jw-tiles input:checked:not([value="stay"]):not([value="farms"])) :is(.v2-jw-link, .v2-jw-rt) { display: none; }
.v2-jw-link { gap: var(--s3); padding: var(--s4); border-radius: var(--r); background: var(--fog); }
.v2-jw-link .v2-jl-later { display: none; }
.v2-jw-link.is-later .v2-jl-req, .v2-jw-form:has(.v2-jw-tiles input[value="stay"]:checked) .v2-jw-link .v2-jl-req { display: none; }
.v2-jw-link.is-later span.v2-jl-later, .v2-jw-form:has(.v2-jw-tiles input[value="stay"]:checked) .v2-jw-link span.v2-jl-later { display: inline; }
.v2-jw-link.is-later small.v2-jl-later, .v2-jw-form:has(.v2-jw-tiles input[value="stay"]:checked) .v2-jw-link small.v2-jl-later { display: block; }
.v2-jw-form:has(.v2-jw-tiles input[value="farms"]:checked) .v2-jw-link span.v2-jl-req { display: inline; }
.v2-jw-form:has(.v2-jw-tiles input[value="farms"]:checked) .v2-jw-link small.v2-jl-req { display: block; }
.v2-jw-form:has(.v2-jw-tiles input[value="farms"]:checked) .v2-jw-link .v2-jl-later { display: none; }
.v2-jw-more summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; font-size: var(--t-sm); font-weight: 500; color: var(--ink-2); cursor: pointer; }
.v2-jw-more summary::-webkit-details-marker { display: none; }
.v2-jw-more summary:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.v2-jw-more p { margin: var(--s2) 0 0; font-size: var(--t-sm); line-height: 1.6; color: var(--ink-2); text-wrap-style: pretty; }
.v2-jw-check { display: flex; gap: var(--s3); align-items: flex-start; margin: 0; font-size: var(--t-ui); line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.v2-jw-check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.v2-jw-check a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.v2-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.v2-jw-nav { display: flex; align-items: center; gap: var(--s3); padding-top: var(--s5); border-top: 1px solid var(--line); }
.v2-jw-nav [hidden] { display: none; }
.v2-jw-nav [data-wz-next], .v2-jw-nav [data-wz-send] { margin-left: auto; min-width: 160px; justify-content: center; }
.v2-jw-form:not(.is-wz) :is([data-wz-back], [data-wz-next]) { display: none; }
.v2-jw-done { justify-items: center; gap: var(--s3); text-align: center; padding-block: var(--s7); }
.v2-jw-done-ic { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 999px; background: var(--ink); color: #fff; }
.v2-jw-done h2 { margin: var(--s2) 0 0; font-size: 1.25rem; }
.v2-jw-done p { max-width: 52ch; margin: 0 0 var(--s2); color: var(--ink-2); }
.v2-jw-foot { margin: var(--s4) 0 0; text-align: center; font-size: var(--t-sm); color: var(--ink-3); }
.v2-jw-foot a { color: var(--ink-2); font-weight: 500; }
@media (max-width: 899px) { .v2-jw-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  .v2-jw-head { padding: var(--s5) 0 var(--s4); }
  .v2-jw-card { padding: var(--s4); gap: var(--s4); border-radius: var(--r); }
  .v2-jw-bar { padding-bottom: var(--s4); }
  .v2-jw-bar-l { display: none; }
  .v2-jw-bar li.is-cur .v2-jw-bar-l { display: block; }
  .v2-jw-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v2-jw-tile { gap: var(--s2); min-height: 52px; padding: 6px 10px 6px 6px; }
  .v2-jw-tile .v2-mm-ic { width: 32px; height: 32px; border-radius: 8px; }
  .v2-jw-tile-t { font-size: var(--t-sm); }
  .v2-jw-pair { grid-template-columns: 1fr; }
  .v2-jw-nav [data-wz-next], .v2-jw-nav [data-wz-send] { flex: 1 1 auto; min-width: 0; }
}

/* market: /compravendite board (owner 16 Nov 2026): actions right of the head, filters as dropdowns, equal cards, steps */
.v2-mk-acts { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0; }
.v2-mk .v2-fpops { padding-left: 0; border-left: 0; flex-wrap: wrap; }
.v2-mk .v2-fpops .v2-pop:last-child .v2-pop-panel { left: 0; right: auto; }
.v2-mk-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 1099px) { .v2-mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 649px) { .v2-mk-grid { grid-template-columns: 1fr; } }
.v2-mk-card { position: relative; display: flex; flex-direction: column; gap: var(--s2); min-width: 0; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .15s, box-shadow .15s; }
.v2-mk-card:hover { border-color: var(--line-2); box-shadow: 0 4px 16px rgba(0, 0, 0, .06); }
.v2-mk-top { display: flex; align-items: center; gap: var(--s2); margin: 0; font-size: var(--t-sm); color: var(--ink-2); min-width: 0; }
.v2-mk-kind { flex: none; padding: .15rem .55rem; border-radius: 999px; background: var(--fog); font-size: var(--t-xs); font-weight: 500; color: var(--ink); }
.v2-mk-kind.is-cerco { background: var(--accent-soft); color: var(--accent-dark); }
.v2-mk-cat { display: inline-flex; align-items: center; gap: .3rem; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.v2-mk-cat svg { flex: none; color: var(--ink-3); }
.v2-mk-card h2 { margin: 0; font-size: var(--t-lg); font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-wrap-style: pretty; }
.v2-mk-card h2 a { color: var(--ink); text-decoration: none; }
.v2-mk-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.v2-mk-card h2 a:focus-visible { outline: none; }
.v2-mk-card:has(h2 a:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.v2-mk-where { display: flex; align-items: center; gap: .35rem; margin: 0; font-size: var(--t-ui); color: var(--ink-2); min-width: 0; }
.v2-mk-where .ic { flex: none; color: var(--ink-3); }
.v2-mk-where span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.v2-mk-facts { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); margin: 0; font-size: var(--t-ui); color: var(--ink-2); }
.v2-mk-facts b { font-weight: 500; color: var(--ink); }
.v2-mk-foot { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); margin-top: auto; padding-top: var(--s3); border-top: 1px solid var(--line); }
.v2-mk-foot b { font-size: var(--t-base); font-weight: 600; }
.v2-mk-foot small { flex: none; font-size: var(--t-xs); color: var(--ink-3); }
.v2-mk-empty { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--s4); padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r); max-width: 760px; }
.v2-mk-empty h2 { margin: 8px 0 var(--s2); font-size: var(--t-lg); }
.v2-mk-empty p { margin: 0 0 var(--s4); color: var(--ink-2); line-height: 1.6; }
.v2-mk-how { border-top: 1px solid var(--line); }
.v2-mk-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4) var(--s6); }
@media (max-width: 899px) { .v2-mk-steps { grid-template-columns: 1fr; } }
.v2-mk-steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: var(--s3); align-items: start; }
.v2-mk-steps .v2-doc-n { transform: none; margin-top: 1px; }
.v2-mk-steps h3 { margin: 0 0 var(--s1); font-size: var(--t-base); font-weight: 600; }
.v2-mk-steps p { margin: 0; font-size: var(--t-md); line-height: 1.6; color: var(--ink-2); text-wrap-style: pretty; }
.v2-mk-note { margin: var(--s5) 0 0; padding-top: var(--s4); border-top: 1px solid var(--line); font-size: var(--t-ui); line-height: 1.6; color: var(--ink-3); }
.v2-mk-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 699px) {
  .v2-mk-acts { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .v2-mk-acts .v2-btn { padding-inline: var(--s3); }
}
.v2-mk-card h2 { text-wrap-style: balance; }
@media (max-width: 699px) {
  .v2-mk .v2-sbar-sub { flex-wrap: wrap; }
  .v2-mk .v2-fpops { flex: 1 1 100%; flex-wrap: wrap; }
  .v2-mk .v2-fpops > .v2-pop > summary.v2-chip > svg:first-child:not(:last-child) { display: none; }
  .v2-mk .v2-sbar-sub .v2-count { margin-left: 0; padding-left: 0; }
}

/* --- /autobus --- */
/* buses: /autobus index (owner 16 Nov 2026): facts as one quiet line, the search card first, compact town cards */
.v2-facts { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s1) 0; margin: var(--s3) 0 0; padding: 0; font-size: var(--t-ui); color: var(--ink-3); }
.v2-facts li { white-space: nowrap; }
.v2-facts li + li::before { content: "·"; margin: 0 var(--s2); color: var(--line-2); }
.v2-facts b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.v2-bus-s { padding-top: 0; }
.v2-bus-search { display: grid; grid-template-columns: minmax(0, 1fr) 220px auto; align-items: end; gap: var(--s3); padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .04); }
.v2-bus-route { position: relative; display: flex; align-items: flex-end; gap: var(--s2); min-width: 0; }
.v2-bus-f { display: grid; gap: 6px; flex: 1 1 0; min-width: 0; margin: 0; }
.v2-bus-f > span { font-size: var(--t-sm); font-weight: 500; color: var(--ink-2); }
.v2-bus-f input, .v2-bus-f select { width: 100%; height: 48px; margin: 0; border: 1px solid var(--line-2); border-radius: 10px; background-color: #fff; font: 400 16px var(--f); color: var(--ink); box-shadow: none; }
.v2-bus-f input { padding: 0 14px; }
.v2-bus-f select { padding-left: 14px; }
.v2-bus-f input::placeholder { color: var(--ink-3); }
.v2-bus-f :is(input, select):hover { border-color: #bdbdbd; }
.v2-bus-f :is(input, select):focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(31, 31, 31, .08); }
.v2-bus-swap { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 4px; padding: 0; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; }
.v2-bus-swap:hover { background: var(--fog); }
.v2-bus-go { height: 48px; min-height: 48px; padding-inline: 1.4rem; }
.v2-bus-hint { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: var(--s2); margin: var(--s1) 0 0; padding-top: var(--s3); border-top: 1px solid var(--line); font-size: var(--t-sm); line-height: 1.5; color: var(--ink-3); }
.v2-bus-hint .ic { flex: none; margin-top: 1px; }
.v2-bus-s .bus-results { margin-top: var(--s5); }
.v2-bus-towns { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
@media (max-width: 1099px) { .v2-bus-towns { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 649px) { .v2-bus-towns { grid-template-columns: 1fr; } }
.v2-bus-town { display: flex; flex-direction: column; min-width: 0; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.v2-bus-town h3 { margin: 0; font-size: var(--t-lg); font-weight: 600; }
.v2-bus-town h3 a { color: var(--ink); text-decoration: none; }
.v2-bus-town h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.v2-bus-stops { display: flex; align-items: center; gap: .35rem; margin: 2px 0 var(--s3); font-size: var(--t-ui); color: var(--ink-2); min-width: 0; }
.v2-bus-stops .ic { flex: none; color: var(--ink-3); }
.v2-bus-stops span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.v2-bus-next { list-style: none; margin: 0 0 var(--s3); padding: 0; display: grid; }
.v2-bus-next li { display: flex; align-items: baseline; gap: var(--s3); min-width: 0; padding: 7px 0; border-top: 1px solid var(--line); font-size: var(--t-ui); }
.v2-bus-next time { flex: none; width: 3em; font-weight: 600; font-variant-numeric: tabular-nums; }
.v2-bus-next span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: var(--ink); }
.v2-bus-next small { font-size: inherit; color: var(--ink-3); }
.v2-bus-none { margin: 0 0 var(--s3); padding: var(--s3); border-radius: var(--r-sm); background: var(--fog); font-size: var(--t-ui); color: var(--ink-2); }
.v2-bus-town-f { display: flex; align-items: center; justify-content: space-between; gap: var(--s2) var(--s3); flex-wrap: wrap; margin-top: auto; padding-top: var(--s3); border-top: 1px solid var(--line); }
.v2-bus-town-f small { font-size: var(--t-sm); color: var(--ink-2); }
.v2-bus-town-f p { display: flex; gap: var(--s2); margin: 0; }
.v2-bus-note { margin: var(--s4) 0 0; font-size: var(--t-sm); line-height: 1.5; color: var(--ink-3); }
@media (max-width: 899px) {
  .v2-bus-search { grid-template-columns: minmax(0, 1fr) auto; padding: var(--s3); }
  .v2-bus-route { grid-column: 1 / -1; flex-direction: column; align-items: stretch; gap: var(--s3); }
  .v2-bus-route .v2-bus-f { flex: none; }
  .v2-bus-route .v2-bus-f input { padding-right: 56px; }
  .v2-bus-swap { position: absolute; right: 10px; top: 50%; margin: 0; transform: translateY(-2px) rotate(90deg); z-index: 1; }
  .v2-bus-town-f small { flex: 1 1 100%; }
}
.v2-bus-s + .v2-sec { padding-top: var(--s6); }
@media (max-width: 699px) {
  .v2-facts { flex-direction: column; gap: 2px; }
  .v2-facts li + li::before { content: none; }
}


/* ==============================================================================================================
   7. V1 BODIES: v1 page files rendered inside the v2 shell (main.is-v1): one calm scale, no heavy type, cards that line up. Loaded after v1's site.css
   ============================================================================================================== */
/* v1 page bodies inside v2: one calm scale, no heavy type, cards that line up */
.v2 .is-v1 h1 { font-size: var(--t-h1); line-height: 1.2; }
.v2 .is-v1 h2 { font-size: var(--t-h2); line-height: 1.25; }
.v2 .is-v1 h3 { font-size: var(--t-h3); line-height: 1.35; }
.v2 .is-v1 .page-head, .v2 .is-v1 .hero { background: #fff; color: var(--ink); padding-top: var(--s4); padding-bottom: var(--s4); }
.v2 .is-v1 .page-head h1, .v2 .is-v1 .hero h1 { color: var(--ink); }
.v2 .is-v1 .lead { color: var(--ink-2); font-size: var(--t-base); line-height: 1.6; max-width: 68ch; text-wrap-style: balance; }
@media (min-width: 900px) { .v2 .is-v1 .lead { font-size: var(--t-lg); } }
.v2 .is-v1 .section { padding: var(--s6) 0; }
.v2 .is-v1 .section-tight { padding: var(--s5) 0; }
.v2 .is-v1 .section-head { margin-bottom: var(--s4); }
.v2 .is-v1 .section-head p { font-size: var(--t-md); color: var(--ink-2); }
.v2 .eyebrow { color: var(--ink-3); letter-spacing: .04em; font-size: var(--t-xs); font-weight: 500; }
.v2 .band { background: var(--fog); border-color: var(--line); }
.v2 .cta-band { background: var(--fog); color: var(--ink); border-radius: var(--r); }
.v2 .cta-band h2 { font-size: var(--t-lg); color: var(--ink); }
.v2 .cta-band p { color: var(--ink-2); }
.v2 .btn { border-radius: 999px; font-weight: 500; font-size: var(--t-md); border-width: 1px; box-shadow: none; background-image: none; }
.v2 .btn:hover { transform: none; }
.v2 .btn-primary, .v2 .btn-cta { background: var(--ink); border-color: var(--ink); color: #fff; }
.v2 .btn-primary:hover, .v2 .btn-cta:hover { background: #3a3a3a; color: #fff; }
.v2 .btn-ghost { border-color: var(--line-2); color: var(--ink); background: #fff; }
.v2 .btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.v2 .btn-light { color: var(--ink); }
.v2 .chip { border-color: var(--line-2); font-weight: 400; font-size: var(--t-ui); background: #fff; }
.v2 .chip:hover { border-color: var(--ink); color: var(--ink); }
.v2 .chip.is-active, .v2 .chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.v2 .chip small { font-size: var(--t-xs); }
.v2 .pill { background: var(--fog); color: var(--ink); font-weight: 500; }
.v2 .filter-label { font-size: var(--t-xs); font-weight: 500; letter-spacing: .04em; color: var(--ink-3); }
.v2 .card, .v2 .ev-card, .v2 .guide-card, .v2 .road, .v2 .door { border-color: var(--line); box-shadow: none; }
.v2 .castle-ph::after, .v2 .door::after { background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.6)) !important; }
.v2 .skip { background: var(--ink); }
.v2 .note { font-size: var(--t-sm); color: var(--ink-3); }
/* v1 road cards (traffic): name, road, then the time at the bottom whatever the length of the name */
.v2 .road:not(.dish-link) { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: var(--s2); align-items: baseline; }
.v2 .road:not(.dish-link) > b { grid-column: 1 / -1; font-size: var(--t-md); font-weight: 500; line-height: 1.35; }
.v2 .road:not(.dish-link) > small { grid-column: 1 / -1; font-size: var(--t-sm); margin: 2px 0 var(--s3); }
.v2 .road .road-t { align-self: end; font-size: var(--t-h2); font-weight: 500; color: var(--ink); line-height: 1.1; }
.v2 .road .road-w { align-self: end; font-size: var(--t-sm); font-weight: 400; color: var(--warn); padding-bottom: 2px; }
/* v1 event cards */
.v2 .ev-card { display: flex; flex-direction: column; border-radius: var(--r); }
.v2 .ev-card-body { flex: 1; }
.v2 .ev-card-title { font-size: var(--t-base); font-weight: 600; }
.v2 .ev-card-when { color: var(--accent); font-weight: 500; font-size: var(--t-sm); }
.v2 .ev-card-where { font-size: var(--t-ui); color: var(--ink-2); }
.v2 .pill-kind { font-weight: 500; font-size: var(--t-xs); background: rgba(255,255,255,.95); color: var(--ink); }
.v2 .btn-xmas, .v2 .btn-cribs, .v2 .btn-hw { background: #fff; color: var(--ink); border: 1px solid var(--line-2); box-shadow: none; background-image: none; }
.v2 .btn-xmas:hover, .v2 .btn-cribs:hover, .v2 .btn-hw:hover { border-color: var(--ink); background: #fff; color: var(--ink); }
.v2 .is-v1 .map, .v2 .is-v1 .leaflet-container { border-radius: var(--r); border: 1px solid var(--line); }
/* v1 photo cards (place-card, used by several v1 pages): neutral overlay, calm type, credit as a quiet pill */
.v2 .place-link span { background: linear-gradient(transparent, rgba(0, 0, 0, .62)); font-size: var(--t-base); font-weight: 600; padding: 2.4rem var(--s4) var(--s3); }
.v2 .place-link small { font-weight: 400; font-size: var(--t-sm); }
.v2 .place-card { background: var(--fog); }
.v2 .place-card > .ph-credit, .v2 .mon-card > .ph-credit, .v2 .boat-home-ph > .ph-credit { background: rgba(0, 0, 0, .45); }
/* v1 text-card grids (.guide-grid, ~50 pages): cards of very different length left holes in a grid; columns flow them like masonry */
.v2 .is-v1 .guide-grid { display: block; columns: 3 300px; column-gap: var(--s4); }
.v2 .is-v1 .guide-grid > li { break-inside: avoid; margin: 0 0 var(--s4); box-shadow: none; border-color: var(--line); }
.v2 .is-v1 .guide-grid h3 { font-size: var(--t-base); }
.v2 .is-v1 .guide-grid p { font-size: var(--t-ui); line-height: 1.55; }
.v2 .is-v1 .crumbs { display: none; }   /* v2 prints the breadcrumbs once, under the header */
.v2 .v2-askpage .ask { flex: 1; display: flex; flex-direction: column; margin-top: var(--s4); }
.v2 .v2-askpage .ask-log { order: 1; flex: 1; display: flex; flex-direction: column; gap: var(--s4); margin: 0 0 var(--s4); }
.v2 .v2-askpage .ask-examples { order: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); justify-content: stretch; margin: 0 0 var(--s3); overflow: visible; }
.v2 .v2-askpage .ask-examples[hidden] { display: none; }
.v2 .v2-askpage .ask-examples p { grid-column: 1 / -1; display: block; text-align: left; font-size: var(--t-xs); color: var(--ink-3); margin: 0; }
.v2 .v2-askpage .ask-examples .chip { display: flex !important; justify-content: flex-start; width: 100%; min-height: 44px; padding: var(--s2) var(--s4); border-radius: var(--r);
  text-align: left; white-space: normal; background: var(--fog); border-color: var(--fog); color: var(--ink); }
.v2 .v2-askpage .ask-examples .chip:hover { background: #fff; border-color: var(--line-2); }
@media (max-width: 599px) { .v2 .v2-askpage .ask-examples { grid-template-columns: 1fr; margin-inline: 0; padding-inline: 0; } }
.v2 .v2-askpage .ask-form { order: 3; position: sticky; bottom: calc(var(--tab-h) + var(--s3)); }
.v2 .v2-askpage .ask-note { order: 4; text-align: left; margin: var(--s3) 0 0; }
.v2 .v2-askpage .ask-q { align-self: flex-end; max-width: 85%; padding: var(--s3) var(--s4); background: var(--ink); color: #fff; border: 0; border-radius: 16px 16px 4px 16px; }
.v2 .v2-askpage .ask-q p { margin: 0; color: #fff; }
.v2 .v2-askpage .ask-q .ask-who { display: none; }
.v2 .v2-askpage .ask-a { padding: 0; background: none; border: 0; font-size: var(--t-base); line-height: 1.65; }
.v2 .v2-askpage .ask-src { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); font-size: var(--t-sm); }
.v2 .v2-askpage .ask-src b { width: 100%; font-weight: 500; color: var(--ink-3); font-size: var(--t-xs); }
.v2 .v2-askpage .ask-src a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 .7rem; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; }
.v2 .v2-askpage .ask-log:empty { flex: 0; margin: 0; }
/* v1 boat lists (/barche, .boat-grid): a grid of EQUAL cards (3 / 2 / 1 per row): the name with its route colour, the port (2 lines
   max), the text (4 lines max, the full text stays in the page), the tags, the link pinned to the bottom so every link of a row is
   on one line. Rule of the house: lists of ITEMS = equal cards with clamped text; plain text notes = masonry columns.
   (The first try, one boat per row, was rejected by the owner on 16 Nov 2026: its rules are gone.) */
.v2 .is-v1 .guide-grid.boat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); columns: auto; border-top: 0; }
@media (max-width: 1099px) { .v2 .is-v1 .guide-grid.boat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 649px) { .v2 .is-v1 .guide-grid.boat-grid { grid-template-columns: 1fr; } }
.v2 .is-v1 .boat-grid > li.boat { display: flex; flex-direction: column; align-items: start; gap: 0; margin: 0; padding: var(--s5); border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #fff; box-shadow: none; break-inside: auto; }
.v2 .is-v1 .boat-grid > li.boat > h3 { display: flex; align-items: center; gap: var(--s2); margin: 0; font-size: var(--t-base); font-weight: 600; line-height: 1.35; }
.v2 .is-v1 .boat-grid > li.boat > .boat-where { margin: var(--s1) 0 0; font-size: var(--t-sm); line-height: 1.45; color: var(--ink-3);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v2 .is-v1 .boat-grid > li.boat > .boat-where b { font-weight: 500; color: var(--ink-2); }
.v2 .is-v1 .boat-grid > li.boat > p:not([class]) { margin: var(--s3) 0 0; font-size: var(--t-ui); line-height: 1.6; color: var(--ink-2);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.v2 .is-v1 .boat-grid > li.boat > .boat-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--s3) 0 var(--s4); }
.v2 .is-v1 .boat-grid > li.boat > .boat-tags .pill { margin: 0; padding: .2rem .55rem; font-size: var(--t-xs); font-weight: 400; border-radius: 999px; background: var(--fog); }
.v2 .is-v1 .boat-grid > li.boat > .boat-site { align-self: stretch; margin: var(--s4) 0 0; padding-top: var(--s3); border-top: 1px solid var(--line); font-size: var(--t-ui); text-align: left; }
.v2 .is-v1 .boat-grid > li.boat > .boat-site:first-of-type, .v2 .is-v1 .boat-grid > li.boat > .boat-tags + .boat-site { margin-top: auto; }
.v2 .is-v1 .boat-grid > li.boat > .boat-site + .boat-site { margin-top: 0; padding-top: var(--s1); border-top: 0; }
.v2 .is-v1 .boat-grid > li.boat > .boat-site a { font-weight: 500; }
.v2 .is-v1 .boat-grid .pill { letter-spacing: normal; text-transform: none; }
.v2 .is-v1 .boat-grid .gd-swatch { width: 18px; height: 4px; border-radius: 2px; flex: none; }
.v2 .is-v1 .link-arrow { font-weight: 500; }   /* every "more" link of a v1 body */
.v2 .cq-inline select:not([multiple]):not([size]) { padding-right: 1.9rem; background-position: right 8px center; background-size: 14px 14px; }
/* chi-siamo fixes: legal links never underlined; on phones the icon sits beside the title, text full width; flags in an even grid */
.v2 .v2-about-legal a { text-decoration: none; }
.v2 .v2-about-legal a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* /treni search (v1 .trn-search) dressed like the /autobus search card: normal-case labels, 48px fields, round swap, dark pill */
.v2 .is-v1 .trn-search { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) auto; gap: var(--s3); align-items: end; padding: var(--s4); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: 0 2px 12px rgba(0, 0, 0, .04); }
.v2 .is-v1 .trn-search label { gap: 6px; margin: 0; font-size: var(--t-sm); font-weight: 500; text-transform: none; letter-spacing: normal; color: var(--ink-2); }
.v2 .is-v1 .trn-search select { height: 48px; padding-left: 14px; border: 1px solid var(--line-2); border-radius: 10px; font: 400 16px var(--f); color: var(--ink); }
.v2 .is-v1 .trn-search select:hover { border-color: #bdbdbd; }
.v2 .is-v1 .trn-search select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(31, 31, 31, .08); }
.v2 .is-v1 .trn-swap { width: 40px; height: 40px; margin-bottom: 4px; padding: 0; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font-size: 1rem; line-height: 1; }
.v2 .is-v1 .trn-swap:hover { background: var(--fog); }
.v2 .is-v1 .trn-search .btn { height: 48px; min-height: 48px; padding: 0 1.4rem; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; box-shadow: none; }
.v2 .is-v1 .trn-search .btn:hover { background: #000; }
@media (max-width: 800px) {
  .v2 .is-v1 .trn-search { grid-template-columns: minmax(0, 1fr) 40px; padding: var(--s3); }
  .v2 .is-v1 .trn-swap { align-self: center; margin: 22px 0 0; transform: rotate(90deg); }
}
/* v1 number boxes (.stat-row, 25 pages): one quiet line of facts like /autobus ("760 autobus ... · 50 città ..."), not a band of
   big-number cards (owner 16 Nov 2026, the /autobus top). The weather summary (icons, .wx-stat) keeps its boxes. Phones: one fact per line. */
.v2 .is-v1 .stat-row:not(:has(.wx-stat)) { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; margin: var(--s2) 0 var(--s5); }
.v2 .is-v1 .stat-row:not(:has(.wx-stat)) > .stat { display: inline-flex; align-items: baseline; gap: .35em; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; min-width: 0; }
.v2 .is-v1 .stat-row:not(:has(.wx-stat)) > .stat + .stat::before { content: "·"; margin: 0 .75em; color: var(--ink-3); }
.v2 .is-v1 .stat-row:not(:has(.wx-stat)) > .stat b { display: inline; font: 600 var(--t-ui)/1.5 var(--f); color: var(--ink); letter-spacing: normal; text-transform: none; padding: 0; }
.v2 .is-v1 .stat-row:not(:has(.wx-stat)) > .stat span { font-size: var(--t-ui); line-height: 1.5; color: var(--ink-2); }
@media (max-width: 599px) {
  .v2 .is-v1 .stat-row:not(:has(.wx-stat)) { flex-direction: column; gap: 2px; }
  .v2 .is-v1 .stat-row:not(:has(.wx-stat)) > .stat + .stat::before { content: none; }
}
/* /treni: line labels in normal case (no spaced capitals), Cerca centred on phones */
.v2 .is-v1 .trn-tag { font-size: var(--t-sm); font-weight: 500; text-transform: none; letter-spacing: normal; color: var(--ink-3); }
.v2 .is-v1 .trn-pair { font-size: var(--t-md); font-weight: 600; text-transform: none; letter-spacing: normal; color: var(--ink); }
.v2 .is-v1 .trn-search .btn { justify-content: center; }
/* markup adapters (lib/v1body.php): the same look for the valid markup v2 prints in place of v1's */
.v2 .sight-card .sight-name, .v2 .is-v1 .mon-name { display: block; font-size: var(--t-h3); line-height: 1.35; letter-spacing: -.01em; text-wrap-style: balance; }   /* were an h3 inside a span */
.pr-tl .pr-tl-d { display: block; font-weight: 700; color: var(--sea-dark); font-size: .92rem; }   /* was <time> without a machine date */


/* ==============================================================================================================
   8. UTILITIES: helpers and the markup adapters of lib/v1body.php
   ============================================================================================================== */
.visually-hidden, .v2 .sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.v2 .hp { position: absolute; left: -9999px; }
/* every <select> on the site (owner 16 Nov 2026: "the caret has no gap on the right, on a lot of selects"): one drawn
   chevron 14px from the edge, room for it in the padding. Beats every v1 page rule (.form select, .bus-search select, ...) by
   specificity; background-color stays the page's. Multi-line selects keep the native look. */
.v2 select:not([multiple]):not([size]) { -webkit-appearance: none; -moz-appearance: none; appearance: none; padding-right: 2.6rem; cursor: pointer; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 16px 16px; }
.v2 select:not([multiple]):not([size])::-ms-expand { display: none; }
:where(img[data-v2wh]) { width: auto; }   /* width/height added from the file (no layout shift): the rendered size stays what the CSS says */
