/*
 * Area visitatori (page-templates/visitatori.php) — loaded only on that page, after ws.css.
 * Phone first: tiles → sticky chip bar → sections in the visitor's order of need.
 * The map is inline SVG (inc/visitatori.php); its streets carry their own colours (vm-*),
 * pins and walking ways are styled here. This page's text never below 15 px on phones (the
 * page header's kicker and chips are the theme's, as on every page).
 */

/* The tiles, the two ZTL cases and the map beside the car parks follow the width of their own
   column (container queries), not the window's: beside the docked sidebar (from 1101 px) the
   column is narrower than with the drawer closed at 901–1100 px. Without container queries
   every one of them keeps its one- or two-column form, which works at every width.
   Keep it so: nothing inside .wsv is position: fixed. Where a query container also contains
   layout, .wsv (and .wsv-car, .wsv-ztl__body) is the containing block of any fixed descendant
   and a stacking context; the chip bar and the map are sticky, which is unaffected. */
.wsv { container: wsv / inline-size; --wsv-red: #d0453a; --wsv-red-deep: #4a120e; --wsv-blue: #2f6fd6; --wsv-map: #1b140e; --wsv-top: 0px; --wsv-bar: 3.25rem; }
@media (max-width: 1100px) { .wsv { --wsv-top: 3.75rem; } }
@media (min-width: 1101px) { .wsv { --wsv-bar: 0px; } } /* the chip bar is hidden there */

.wsv small { font-size: .9375rem; }
.wsv a.wsv-tel { white-space: nowrap; font-weight: 700; }
.wsv .ws-btn { min-height: 2.75rem; }
.wsv-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 0; }

/* --------------------------------------------------------------------------
   Tiles (one per section) and the sticky chip bar
   -------------------------------------------------------------------------- */
.wsv-tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: 1fr;
	gap: .75rem;
	margin: 0 0 1rem;
}
.wsv-tile {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	column-gap: .75rem;
	align-items: center;
	padding: 1rem 1.125rem;
	border-radius: .875rem;
	background: rgba(33, 24, 16, .9);
	border: 1px solid rgba(255, 189, 120, .18);
	color: #f6e8d4;
	text-decoration: none;
	box-shadow: 0 1rem 2rem -1.5rem rgba(21, 16, 12, .8);
	transition: transform .2s, background .2s, border-color .2s;
}
.wsv-tile:hover, .wsv-tile:focus-visible { transform: translateY(-2px); background: rgba(45, 34, 21, .95); border-color: rgba(255, 189, 120, .5); color: #fff; }
.wsv-tile .wsv-ico { grid-row: 1 / 3; color: var(--ws-gold); }
.wsv-tile__t { font: 600 1.25rem/1.15 var(--ws-font-display); }
.wsv-tile__s { font-size: .9375rem; line-height: 1.35; color: rgba(246, 232, 212, .78); }
.wsv-tile--ztl { background: linear-gradient(135deg, rgba(92, 23, 19, .95), rgba(58, 15, 12, .95)); border-color: rgba(208, 69, 58, .55); }
.wsv-tile--ztl .wsv-ico { color: #ff8a7d; }
/* Four across only where each tile gets about 13.5 rem (a column of 56.25 rem: about 980–1100 px
   with the drawer closed, from about 1360 px beside the sidebar); two across otherwise. */
@container wsv (min-width: 56.25rem) { .wsv-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	/* Phones: icon beside the title, the line under both. */
	.wsv-tiles { gap: .5rem; grid-auto-rows: auto; }
	.wsv-tile { grid-template-rows: auto 1fr; align-items: start; row-gap: .25rem; column-gap: .5rem; padding: .75rem .875rem; }
	.wsv-tile .wsv-ico { grid-row: 1; width: 22px; height: 22px; margin-top: .125rem; }
	.wsv-tile__t { font-size: 1.1875rem; }
	.wsv-tile__s { grid-column: 1 / -1; }
}

.wsv-bar {
	position: sticky;
	top: calc(var(--wsv-top) + .5rem);
	z-index: 30;
	margin: 0 0 1.25rem;
	border-radius: 999px;
	background: rgba(33, 24, 16, .92);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 189, 120, .2);
	box-shadow: var(--ws-shadow);
	transition: opacity .25s, transform .25s;
}
.wsv-bar ul {
	list-style: none;
	display: flex;
	gap: .375rem;
	margin: 0;
	padding: .375rem;
	overflow-x: auto;
	scrollbar-width: none;
	scroll-behavior: smooth;
}
.wsv-bar ul::-webkit-scrollbar { display: none; }
.wsv-bar a {
	display: block;
	white-space: nowrap;
	padding: .5rem .875rem;
	border-radius: 999px;
	font: 600 .9375rem/1.2 var(--ws-font-text);
	color: #f6e8d4;
	text-decoration: none;
}
.wsv-bar a:hover { background: rgba(255, 255, 255, .1); }
.wsv-bar a[aria-current="true"] { background: var(--ws-gold); color: var(--ws-ink); }
.wsv-bar.is-away { opacity: 0; transform: translateY(-.5rem); pointer-events: none; }
@media (min-width: 1101px) { .wsv-bar { display: none; } }

.wsv-sec { scroll-margin-top: calc(var(--wsv-top) + var(--wsv-bar) + 1.25rem); }
@media (min-width: 1101px) { .wsv-sec { scroll-margin-top: 1.5rem; } }
.wsv-sec + .wsv-sec { margin-top: clamp(1.25rem, 3vw, 2rem); }
.wsv-bar + .wsv-sec { margin-top: 0; }
.wsv-lead { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.65; max-width: 62ch; margin: 0 0 1.25rem; }

/* --------------------------------------------------------------------------
   01 The place
   -------------------------------------------------------------------------- */
.wsv-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; margin: 0; }
.wsv-facts dt { font: 700 .75rem var(--ws-font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ws-copper); margin: 0 0 .375rem; }
.wsv-facts dd { margin: 0; font-weight: 600; color: var(--ws-ink); }
.wsv-facts .ws-chips { margin: 0; }
@media (max-width: 640px) { .wsv-facts { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   02 ZTL — said plainly, in red
   -------------------------------------------------------------------------- */
.wsv-ztl {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
	padding: clamp(1.375rem, 3.5vw, 2.75rem);
	border-radius: var(--ws-radius);
	background: linear-gradient(135deg, #5c1713 0%, #3a0f0c 60%, #2a0b08 100%);
	border: 1px solid rgba(208, 69, 58, .6);
	box-shadow: var(--ws-shadow);
	color: #f8e6e1;
	overflow: hidden;
}
.wsv-ztl h2, .wsv-ztl h3, .wsv-ztl h4 { color: #fff; }
.wsv-ztl a { color: #ffd2a8; }
.wsv-ztl__sign {
	width: clamp(5.5rem, 12vw, 8.5rem);
	aspect-ratio: 1;
	border-radius: 50%;
	background: #fff;
	border: clamp(.75rem, 1.6vw, 1.125rem) solid var(--wsv-red);
	display: grid;
	place-items: center;
	box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .12), 0 1rem 2rem -1rem rgba(0, 0, 0, .6);
}
.wsv-ztl__sign span { font: 800 clamp(1.25rem, 2.6vw, 1.875rem)/1 var(--ws-font-text); letter-spacing: .04em; color: #111; }
.wsv-ztl .ws-kicker--light { color: #ff9d90; }
.wsv-ztl__title { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 500; line-height: 1.05; margin: 0 0 .5em; }
.wsv-ztl__lead { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.6; margin: 0 0 1.25rem; max-width: 60ch; }
.wsv-ztl__lead strong { color: #fff; background: var(--wsv-red); padding: .05em .35em; border-radius: .3em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.wsv-ztl__points { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: .75rem; }
.wsv-ztl__points li { position: relative; padding-left: 1.75rem; line-height: 1.55; max-width: 66ch; }
.wsv-ztl__points li::before { content: ""; position: absolute; left: 0; top: .45em; width: .875rem; height: .875rem; border-radius: 50%; border: .2rem solid var(--wsv-red); background: #fff; }
.wsv-ztl__points strong { color: #fff; }
.wsv-ztl__cases { font: 700 .75rem var(--ws-font-text); letter-spacing: .16em; text-transform: uppercase; color: #ff9d90; margin: 0 0 .75rem; }
.wsv-ztl__body { container: wsv-ztl / inline-size; }
.wsv-ztl__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin: 0 0 1.5rem; }
/* The two cases side by side only where each gets 19 rem (about 900–1100 px, and from about
   1350 px beside the sidebar). */
@container wsv-ztl (min-width: 39rem) { .wsv-ztl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wsv-case { padding: 1.125rem 1.25rem; border-radius: .875rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.wsv-case h4 { font: 600 1.3rem/1.2 var(--ws-font-display); margin: 0 0 .5rem; }
.wsv-case p { margin: 0 0 .5rem; }
.wsv-case p:last-child { margin-bottom: 0; }
.wsv-ztl__links { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.wsv-ztl .ws-btn { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 210, 168, .35); }
.wsv-ztl .ws-btn:hover { background: rgba(255, 255, 255, .18); }
@media (max-width: 760px) {
	.wsv-ztl { grid-template-columns: 1fr; }
	.wsv-ztl__sign { width: 5rem; border-width: .7rem; }
}

/* --------------------------------------------------------------------------
   03 By car: the map beside the car parks (dark, full width of the column)
   -------------------------------------------------------------------------- */
.wsv-car {
	container: wsv-car / inline-size;
	--wsv-cap: 16rem; /* the map's caption beside the list; ws-visitatori.js measures it */
	padding: clamp(1.375rem, 3vw, 2.5rem);
	border-radius: var(--ws-radius);
	background: linear-gradient(160deg, rgba(33, 24, 16, .97), rgba(58, 34, 22, .95));
	border: 1px solid rgba(255, 189, 120, .18);
	box-shadow: var(--ws-shadow);
	color: #efe3d2;
}
.wsv-car .ws-kicker { color: var(--ws-gold); }
.wsv-car .ws-section__title, .wsv-car h3, .wsv-car h4 { color: #fff; }
.wsv-car .ws-section__sub { color: rgba(239, 227, 210, .85); }
.wsv-car a { color: var(--ws-gold); }
.wsv-car .ws-btn { background: var(--ws-gold); color: var(--ws-ink); }
.wsv-car .ws-btn:hover { background: #f0c27d; color: var(--ws-ink); }
.wsv-car .ws-btn--ghost { background: transparent; color: #f6e8d4; border-color: rgba(255, 189, 120, .45); }
.wsv-car .ws-btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.wsv-car__head { margin: 0 0 1.5rem; }

/* One column (phones, tablets, the narrow column beside the docked sidebar at about
   1101–1250 px, and windows too low for the whole figure beside the list — below 570 px from
   1101 px wide, below 682 px at 901–1100 px): only the drawing stays on screen, under the bars,
   while the list scrolls under it; the legend and the credit stay in the flow (the figure lends
   its children to the grid). The frame spans the whole column, so no card shows beside it while
   it sticks; the script fits each view to the frame's own shape (ws-visitatori.js, fit()). */
.wsv-car__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	align-items: start;
}
.wsv-map { display: contents; margin: 0; }
.wsv-map__frame {
	position: sticky;
	top: calc(var(--wsv-top) + var(--wsv-bar) + .75rem);
	z-index: 5;
	width: 100%;
	height: 44vh;
	height: 44svh;
	min-height: 17rem;
	border-radius: .875rem;
	overflow: hidden;
	background: var(--wsv-map);
	border: 1px solid rgba(255, 189, 120, .22);
	box-shadow: 0 0 0 .375rem #2a1d14, 0 1.25rem 1.5rem -1rem rgba(0, 0, 0, .9);
	touch-action: pan-y;
}
.wsv-map__cap { margin: 0; }
@media (max-height: 560px) {
	/* Short windows (landscape phones): no room for a sticky map. */
	.wsv-map__frame { position: relative; top: auto; height: 80vh; }
}
/* The map beside the list where the cards get at least 20 rem (a column of 46 rem: from about
   850 px with the drawer closed, from about 1260 px beside the sidebar), and only in windows
   tall enough for the WHOLE figure to stick on screen: under the bars, 1 rem, the frame at its
   smallest (17 rem, as in the one-column form), .875 rem, the caption (--wsv-cap: hint, legend,
   OpenStreetMap credit — 16 rem here; the script measures it) and .75 rem to spare = the bars +
   35.625 rem: 570 px from 1101 px wide (no bars there), 682 px at 901–1100 px (header 3.75 rem +
   chip bar 3.25 rem). Lower windows keep the one-column form. The figure sticks while the list
   scrolls; where the measured caption is taller than 16 rem and the window still too low for
   it, the script adds is-loose and the figure scrolls with the page instead of standing partly
   below the window. */
@media (max-width: 1100px) and (min-height: 42.625rem), (min-width: 1101px) and (min-height: 35.625rem) {
	@container wsv-car (min-width: 46rem) {
		.wsv-car__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
		.wsv-map { display: block; position: sticky; top: calc(var(--wsv-top) + var(--wsv-bar) + 1rem); align-self: start; }
		.wsv-car.is-loose .wsv-map { position: relative; top: auto; }
		.wsv-map__frame {
			position: relative;
			top: auto;
			z-index: auto;
			/* The drawing's own proportions (2000 × 2444, inc/visitatori-map.php), so «Tutta la
			   città» fills the frame; never taller than leaves room for the caption under it
			   while it sticks (2.625 rem = 1 rem above + .875 rem between + .75 rem to spare). */
			height: auto;
			aspect-ratio: 2000 / 2444;
			max-height: calc(100vh - var(--wsv-top) - var(--wsv-bar) - 2.625rem - var(--wsv-cap));
			max-height: calc(100svh - var(--wsv-top) - var(--wsv-bar) - 2.625rem - var(--wsv-cap));
			min-height: 17rem;
			box-shadow: none;
		}
		.wsv-map__cap { margin: .875rem 0 0; }
		/* Cards of 20–26 rem: the two buttons fill the line, or stack one under the other. */
		.wsv-park__btns .ws-btn { flex: 1 1 auto; justify-content: center; }
	}
}
.wsv-map__svg { display: block; width: 100%; height: 100%; }
.wsv-map__tools { position: absolute; z-index: 2; top: .625rem; left: .625rem; display: flex; gap: .375rem; }
.wsv-map__btn {
	font: 600 .9375rem/1 var(--ws-font-text);
	padding: .625rem .875rem;
	min-height: 2.5rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 189, 120, .4);
	background: rgba(21, 16, 12, .85);
	color: #f6e8d4;
	cursor: pointer;
}
.wsv-map__btn:hover, .wsv-map__btn[aria-pressed="true"] { background: var(--ws-gold); color: var(--ws-ink); border-color: var(--ws-gold); }
.wsv-map__hint { margin: 0 0 .625rem; font-weight: 600; color: #f6e8d4; }
.wsv-map__attrib { margin: .625rem 0 0; font-size: .875rem; color: rgba(239, 227, 210, .7); }
.wsv-map__attrib a { color: inherit; }

.wsv-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .375rem 1.125rem; font-size: .9375rem; }
.wsv-legend__i { display: inline-flex; align-items: center; gap: .5rem; }
.wsv-legend__s { flex: none; width: 1.125rem; height: 1.125rem; border-radius: 50%; background: #f6e8d4; border: 2px solid var(--ws-ink); }
.wsv-legend__i--venue .wsv-legend__s { background: var(--ws-gold); border-color: #fff; }
.wsv-legend__i--ztl .wsv-legend__s { border-radius: .25rem; background: rgba(208, 69, 58, .55); border-color: var(--wsv-red); }
.wsv-legend__i--park .wsv-legend__s { border-radius: .25rem; background: var(--wsv-blue); border-color: #fff; }
.wsv-legend__i--escal .wsv-legend__s { background: #3a2a1c; border-color: var(--ws-gold); }
.wsv-legend__i--walk .wsv-legend__s { height: .3rem; border-radius: 1rem; border: 0; background: var(--ws-gold); width: 1.5rem; }
.wsv-legend__i--coach .wsv-legend__s { background: #8a5a2e; border-color: #f6e8d4; }

/* The streets layer (inline copy of assets/img/visitatori/mappa-base.svg without its <style>):
   map units, so widths grow when the map zooms in. */
.wsv-map__svg .vm-green { fill: #26331f; }
.wsv-map__svg .vm-pitch { fill: #2b3923; }
.wsv-map__svg .vm-square { fill: #4a3a2a; }
.wsv-map__svg .vm-bldg { fill: #33281e; }
.wsv-map__svg .vm-landmark { fill: #6a5036; }
.wsv-map__svg .vm-venue { fill: var(--ws-gold); }
.wsv-map__svg .vm-ztl { fill: none; stroke: var(--wsv-red); stroke-opacity: .5; stroke-width: 30; stroke-linecap: round; stroke-linejoin: round; }
.wsv-map__svg .vm-rail { fill: none; stroke: #a8937a; stroke-width: 5; stroke-dasharray: 14 8; }
.wsv-map__svg .vm-path { fill: none; stroke: #6f5b46; stroke-width: 3; }
.wsv-map__svg .vm-steps { fill: none; stroke: #6f5b46; stroke-width: 3.5; stroke-dasharray: 3 3; }
.wsv-map__svg .vm-service { fill: none; stroke: #7a6550; stroke-width: 5; }
.wsv-map__svg .vm-minor { fill: none; stroke: #9e8569; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.wsv-map__svg .vm-major { fill: none; stroke: #c9a982; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.wsv-map__svg .vm-wall { fill: none; stroke: #c08f4f; stroke-width: 7; stroke-linecap: round; }
/* The drawing's edge (wsv_map_edge()): the streets fade into the frame's own ground. */
.wsv-edge { pointer-events: none; }
.wsv-edge__out { fill: var(--wsv-map); }
.wsv-edge__on { stop-color: var(--wsv-map); stop-opacity: 1; }
.wsv-edge__off { stop-color: var(--wsv-map); stop-opacity: 0; }

/* The drawing: pins keep their size at every zoom (the script sets scale()). */
.wsv-map__svg text { font-family: var(--ws-font-text); }
.wsv-map__svg.is-far .wsv-lab { display: none; }
.wsv-map__svg .is-mute { display: none; } /* a name over a numbered pin or the venue's (ws-visitatori.js, clearPins()) */
.wsv-route {
	fill: none;
	stroke: var(--ws-gold);
	stroke-width: 6px;
	stroke-linecap: round;
	stroke-linejoin: round;
	vector-effect: non-scaling-stroke;
	opacity: 0;
	transition: opacity .3s;
	filter: drop-shadow(0 0 3px rgba(0, 0, 0, .9));
}
.wsv-route.is-on { opacity: 1; }
.wsv-glyph path, .wsv-glyph circle { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wsv-glyph circle { fill: currentColor; stroke: none; }
.wsv-pin { cursor: default; }
.wsv-pin[data-route] { cursor: pointer; }
.wsv-pin > circle, .wsv-pin > rect { stroke-width: 2; }
.wsv-pin__lab, .wsv-lab text {
	font-size: 13px;
	font-weight: 700;
	fill: #fff;
	paint-order: stroke;
	stroke: #15100c;
	stroke-width: 4px;
	stroke-linejoin: round;
}
.wsv-pin__sub { font-size: 11px; font-weight: 600; fill: #f6e8d4; paint-order: stroke; stroke: #15100c; stroke-width: 4px; stroke-linejoin: round; }
.wsv-pin--venue .wsv-pin__lab { font: 600 19px var(--ws-font-display); fill: var(--ws-gold); }
.wsv-pin--venue > circle { fill: var(--ws-gold); stroke: #fff; }
.wsv-pin--venue .wsv-pin__halo { fill: rgba(224, 180, 107, .28); stroke: none; }
.wsv-pin--venue .wsv-glyph { color: var(--ws-ink); }
/* Where the venue's names would cross the frame's right edge: only «Wine&Siena», or (no room
   for that either) left of the pin — the script decides, by zoom. */
.wsv-pin--venue.is-left text { text-anchor: end; transform: translateX(-46px); }
.wsv-pin--venue.is-short .wsv-pin__sub { display: none; }
.wsv-pin--park > rect { fill: var(--wsv-blue); stroke: #fff; }
.wsv-pin--park text { font-size: 14px; font-weight: 800; fill: #fff; }
.wsv-pin--park.is-on > rect { fill: var(--ws-gold); stroke: #fff; stroke-width: 3; }
.wsv-pin--park.is-on text { fill: var(--ws-ink); }
.wsv-pin--escal > circle { fill: #3a2a1c; stroke: var(--ws-gold); }
.wsv-pin--escal .wsv-glyph { color: var(--ws-gold); }
.wsv-pin--train > circle, .wsv-pin--bus > circle { fill: #f6e8d4; stroke: #15100c; }
.wsv-pin--train .wsv-glyph, .wsv-pin--bus .wsv-glyph { color: #15100c; }
.wsv-pin--train.is-on > circle, .wsv-pin--bus.is-on > circle { fill: var(--ws-gold); stroke: #fff; stroke-width: 3; }
.wsv-pin--coach > circle { fill: #8a5a2e; stroke: #f6e8d4; }
.wsv-pin--coach .wsv-glyph { color: #fff; }
.wsv-lab--gate circle { fill: #b8894a; }
.wsv-lab--gate text { font-size: 12px; font-weight: 600; fill: #e9cfa5; }
.wsv-lab--place text { font: italic 600 16px var(--ws-font-display); fill: #d8c3a5; stroke-width: 5px; }
@media (prefers-reduced-motion: no-preference) {
	.wsv-pin--venue .wsv-pin__halo { animation: wsv-halo 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes wsv-halo { 0%, 100% { opacity: .55; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.1); } }

/* Car-park cards */
.wsv-parks { list-style: none; margin: 0; padding: 0; display: grid; gap: .875rem; }
.wsv-park article {
	padding: 1.125rem 1.25rem 1rem;
	border-radius: .875rem;
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 189, 120, .16);
	transition: border-color .2s, background .2s;
}
.wsv-park.is-on article { border-color: var(--ws-gold); background: rgba(224, 180, 107, .1); }
.wsv-park__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .875rem; align-items: center; margin: 0 0 .625rem; }
.wsv-park__n {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: .625rem;
	background: var(--wsv-blue);
	border: 2px solid #fff;
	color: #fff;
	font: 800 1.0625rem/1 var(--ws-font-text);
}
.wsv-park.is-on .wsv-park__n { background: var(--ws-gold); color: var(--ws-ink); }
.wsv-park__name { font: 600 1.375rem/1.15 var(--ws-font-display); margin: 0; }
.wsv-park__walk { margin: .25rem 0 0; font-weight: 700; color: var(--ws-gold); line-height: 1.4; }
.wsv-tag { display: inline-block; padding: .125rem .5rem; border-radius: 999px; background: rgba(224, 180, 107, .18); color: #f6e8d4; font-weight: 600; font-size: .9375rem; }
.wsv-park__addr, .wsv-park__tags { margin: 0 0 .5rem; line-height: 1.5; }
.wsv-park__tags { color: rgba(239, 227, 210, .8); }
.wsv-park__btns { display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0 .5rem; }
.wsv-park__btns .ws-btn { padding: .6875rem 1.125rem; }
.wsv-park__more { border-top: 1px solid rgba(255, 189, 120, .16); padding-top: .5rem; margin-top: .5rem; }
.wsv-park__more summary { cursor: pointer; font-weight: 600; padding: .375rem 0; color: #f6e8d4; }
.wsv-park__more h4 { font: 700 .75rem var(--ws-font-text); letter-spacing: .14em; text-transform: uppercase; color: var(--ws-gold); margin: .875rem 0 .375rem; }
.wsv-park__more h4 small { text-transform: none; letter-spacing: 0; font-weight: 600; color: rgba(239, 227, 210, .75); }
.wsv-tariff { margin: 0; padding-left: 1.125rem; }
.wsv-way { margin: 0; line-height: 1.55; }
.wsv-note { margin: .625rem 0 0; line-height: 1.55; }
.wsv-src { margin: .75rem 0 .25rem; }
.wsv-tag--easy { background: rgba(132, 196, 122, .2); color: #e4f3dc; }
.wsv-park__up { margin: 0 0 .5rem; line-height: 1.55; color: #f6e8d4; }
.wsv-park__upt { font-weight: 700; color: var(--ws-gold); }

/* «Se cammini con fatica» and the owner's agreement, above the map and the list. */
.wsv-easy, .wsv-deal {
	margin: 0 0 1.25rem;
	padding: 1rem 1.25rem;
	border-radius: .875rem;
	border: 1px solid rgba(224, 180, 107, .55);
	background: rgba(224, 180, 107, .1);
	color: #f6e8d4;
	line-height: 1.55;
}
.wsv-easy__t { font: 600 1.375rem/1.2 var(--ws-font-display); color: var(--ws-gold); margin: 0 0 .375rem; }
.wsv-easy p, .wsv-deal p { margin: 0 0 .5rem; max-width: 72ch; }
.wsv-easy p:last-child, .wsv-deal p:last-child { margin-bottom: 0; }
.wsv-easy strong { color: #fff; }

/* The ZTL's source, on the red panel. */
.wsv-src--ztl { margin: 1rem 0 0; }
.wsv-src--ztl a { color: #ffd7cf; }
.wsv-case h5 { font: 700 .75rem var(--ws-font-text); letter-spacing: .14em; text-transform: uppercase; color: #ff9d90; margin: .75rem 0 .375rem; }
.wsv-case ul { margin: 0; padding-left: 1.125rem; }
.wsv-hours { list-style: none; margin: 0; padding: 0; }

.wsv-car__notes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin: clamp(1.25rem, 3vw, 2rem) 0 0; }
.wsv-car__notes .wsv-card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 189, 120, .16); color: #efe3d2; }
.wsv-car__notes ul { margin: 0; padding-left: 1.125rem; display: grid; gap: .5rem; }
@container wsv-car (min-width: 40rem) { .wsv-car__notes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (max-width: 900px) { .wsv-car { padding: 1.125rem; } }

/* --------------------------------------------------------------------------
   04–07 Cards
   -------------------------------------------------------------------------- */
.wsv-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); gap: 1rem; margin: 1.25rem 0 0; }
.wsv-card {
	padding: 1.25rem 1.375rem;
	border-radius: .875rem;
	background: rgba(255, 255, 255, .55);
	border: 1px solid var(--ws-line);
}
.wsv-card h3 { font: 600 1.4rem/1.2 var(--ws-font-display); margin: 0 0 .5rem; color: var(--ws-ink); }
.wsv-card p { margin: 0 0 .75rem; line-height: 1.6; }
.wsv-card p:last-child { margin-bottom: 0; }
.wsv-card ul { margin: 0; padding-left: 1.125rem; display: grid; gap: .5rem; line-height: 1.55; }
.wsv-card__walk { font-weight: 700; color: var(--ws-copper); }
.wsv-card__btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.wsv-card .ws-btn { padding: .6875rem 1.125rem; }

/* --------------------------------------------------------------------------
   08 Useful numbers
   -------------------------------------------------------------------------- */
.wsv-nums { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: .75rem; }
.wsv-num { display: grid; gap: .125rem; padding: 1rem 1.125rem; border-radius: .875rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 189, 120, .16); }
.wsv-num__tel { font: 600 1.5rem/1.15 var(--ws-font-display); color: var(--ws-gold); text-decoration: none; white-space: nowrap; }
.wsv-num__tel:hover { text-decoration: underline; }
.wsv-num__what { line-height: 1.45; color: #efe3d2; }
.wsv-num__who { font-size: .9375rem; color: rgba(239, 227, 210, .7); }
.wsv-num--sos { background: linear-gradient(135deg, #5c1713, #3a0f0c); border-color: rgba(208, 69, 58, .6); }
.wsv-num--sos .wsv-num__tel { color: #fff; font-size: 2rem; }

/* --------------------------------------------------------------------------
   Closing band
   -------------------------------------------------------------------------- */
.wsv-close {
	margin: clamp(1.25rem, 3vw, 2rem) 0 0;
	padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
	border-radius: var(--ws-radius);
	background: linear-gradient(135deg, rgba(33, 24, 16, .96), rgba(74, 42, 28, .92));
	border: 1px solid rgba(255, 189, 120, .22);
	box-shadow: var(--ws-shadow);
	text-align: center;
}
.wsv-close__title { font-size: clamp(1.75rem, 3.2vw, 2.6rem); font-weight: 500; color: #fff; margin: 0; }
.wsv-close .wsv-actions { justify-content: center; }
.wsv-close .ws-btn:not(.ws-btn--gold) { background: rgba(255, 255, 255, .08); color: #f6e8d4; border-color: rgba(255, 189, 120, .35); }

/* --------------------------------------------------------------------------
   Phones: readable, never smaller than 15 px
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
	.wsv .ws-panel { padding: 1.25rem 1.125rem; }
	.wsv-card { padding: 1.125rem; }
	.wsv-park article { padding: 1rem; }
	.wsv-park__btns .ws-btn, .wsv-card__btns .ws-btn { flex: 1 1 auto; justify-content: center; }
	.wsv-map__attrib { font-size: .9375rem; }
	/* This page's small-capital labels: 15 px on phones too. */
	.wsv-facts dt, .wsv-ztl__cases, .wsv-park__more h4, .wsv-case h5 { font-size: .9375rem; letter-spacing: .1em; }
	/* The theme's buttons (.88rem) and the days in «Il luogo» (chips, .78rem) at 15 px in this
	   page's sections; the header above them (kicker, chips) stays as on every page. */
	.wsv .ws-btn, .wsv-facts .ws-chip { font-size: .9375rem; }
}

@media print {
	.wsv-bar, .wsv-map__tools { display: none !important; }
	.wsv-map, .wsv-map__frame { position: static; }
	.wsv-map__frame { height: auto; aspect-ratio: 2000 / 2444; }
}
