/* ==========================================================================
   Fraivolti – stile del sito
   Colori e caratteri del marchio: petrolio #2C4A5C, oro #C9A961, tortora #7A6A54,
   pietra d'Istria #F8F6F3. Cormorant Garamond per i titoli, Source Sans 3 per il testo.
   Elemento distintivo: l'arco ("volto") del logo, usato solo nella foto d'apertura.
   ========================================================================== */

@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
	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: "Source Sans 3";
	font-style: normal;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/source-sans-3-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}
@font-face {
	font-family: "Source Sans 3";
	font-style: italic;
	font-weight: 200 900;
	font-display: swap;
	src: url("../fonts/source-sans-3-latin-wght-italic.woff2") format("woff2");
	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: "Cormorant Garamond";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
	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: "Cormorant Garamond";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/cormorant-garamond-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}
@font-face {
	font-family: "Cormorant Garamond";
	font-style: italic;
	font-weight: 300 700;
	font-display: swap;
	src: url("../fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
	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;
}

:root {
	--stone: #F8F6F3;
	--paper: #FFFFFF;
	--sand: #EFE9DF;
	--line: #E2DBCF;
	--ink: #1D2035;
	--petrol: #2C4A5C;
	--petrol-deep: #223A49;
	--gold: #C9A961;
	--gold-ink: #7E6127;
	--taupe: #7A6A54;
	--mist: #B9C6CD;

	--font-text: "Source Sans 3", "Source Sans Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;

	--wrap: 1180px;
	--gutter: clamp(16px, 4.5vw, 48px);
	--edge: max(var(--gutter), calc((100% - var(--wrap)) / 2));
	--measure: 40rem;
	--space-section: clamp(64px, 9vw, 128px);
	--radius: 2px;
	--header-h: 76px;

	--text-0: clamp(1.0625rem, 1.01rem + 0.18vw, 1.1875rem);
	--text-small: 0.9375rem;
	--h1: clamp(2.5rem, 1.55rem + 3.7vw, 4.75rem);
	--h1-page: clamp(2.375rem, 1.75rem + 2.6vw, 4rem);
	--h2: clamp(1.95rem, 1.45rem + 1.9vw, 3rem);
	--h3: clamp(1.45rem, 1.3rem + 0.6vw, 1.8rem);
}

/* --------------------------------------------------------------------------
   Base
   ----------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--stone);
	color: var(--ink);
	font-family: var(--font-text);
	font-size: var(--text-0);
	line-height: 1.6;
	font-optical-sizing: auto;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
	display: block;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 500;
	color: var(--petrol);
	line-height: 1.1;
	letter-spacing: -0.005em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

h1 { font-size: var(--h1-page); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
	margin: 0 0 1em;
	text-wrap: pretty;
}

a {
	color: var(--petrol);
	text-decoration-color: var(--gold);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
	transition: color 0.15s, text-decoration-color 0.15s;
}

a:hover {
	color: var(--ink);
	text-decoration-color: var(--petrol);
}

:focus-visible {
	outline: 2px solid var(--petrol);
	outline-offset: 3px;
	border-radius: 1px;
}

::selection {
	background: rgba(201, 169, 97, 0.35);
}

.fv-skip {
	position: absolute;
	left: 12px;
	top: -100px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--petrol);
	color: var(--stone);
	text-decoration: none;
}

.fv-skip:focus {
	top: 12px;
}

.fv-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.fv-icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

/* --------------------------------------------------------------------------
   Pulsanti e link
   ----------------------------------------------------------------------- */

.fv-btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 48px;
	padding: 0.7em 1.35em;
	border: 1px solid var(--petrol);
	border-radius: var(--radius);
	background: transparent;
	color: var(--petrol);
	font: 600 1rem/1.2 var(--font-text);
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.fv-btn:hover,
.wp-block-button__link:hover {
	background: var(--petrol);
	color: var(--stone);
}

.fv-btn--solid,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--petrol);
	color: var(--stone);
}

.fv-btn--solid:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background: var(--petrol-deep);
	border-color: var(--petrol-deep);
	color: var(--paper);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--petrol);
}

.fv-btn--ghost {
	border-color: rgba(248, 246, 243, 0.6);
	color: var(--stone);
}

.fv-btn--ghost:hover {
	background: var(--stone);
	border-color: var(--stone);
	color: var(--petrol);
}

.fv-btn--small {
	min-height: 40px;
	padding: 0.5em 1.05em;
	font-size: 0.9375rem;
}

.fv-actions,
.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 1.5em 0 0;
}

.fv-link {
	font-weight: 600;
	text-decoration-line: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
}

/* --------------------------------------------------------------------------
   Intestazione
   ----------------------------------------------------------------------- */

.fv-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(248, 246, 243, 0.97);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s;
}

.admin-bar .fv-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .fv-header {
		top: 0;
	}
}

.fv-header.is-scrolled {
	border-bottom-color: var(--line);
}

.fv-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--header-h);
	padding-inline: var(--edge);
}

.fv-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--petrol);
	text-decoration: none;
	flex: none;
}

.fv-logo:hover {
	color: var(--petrol);
}

.fv-mark {
	width: 30px;
	height: 30px;
}

.fv-logo__text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.fv-logo__name {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.45rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	margin-right: -0.16em;
}

.fv-logo__place {
	margin-top: 4px;
	font-family: var(--font-display);
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	color: var(--taupe);
	align-self: center;
}

.fv-logo--dark,
.fv-logo--dark:hover {
	color: var(--stone);
}

.fv-logo--dark .fv-logo__place {
	color: var(--mist);
}

.fv-nav {
	margin-left: auto;
}

.fv-nav__list {
	display: flex;
	gap: clamp(16px, 2.2vw, 32px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.fv-nav__list a {
	display: block;
	padding: 8px 0;
	color: var(--ink);
	font-size: 1rem;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.fv-nav__list a:hover,
.fv-nav__list .current-menu-item > a,
.fv-nav__list .current-page-ancestor > a,
.fv-nav__list .current_page_parent > a {
	color: var(--petrol);
	border-bottom-color: var(--gold);
}

.fv-header__actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.fv-langs {
	display: flex;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.06em;
}

.fv-langs a,
.fv-langs span {
	display: inline-block;
	padding: 6px 7px;
	line-height: 1;
	text-decoration: none;
	color: var(--taupe);
}

.fv-langs span[aria-current] {
	color: var(--petrol);
	box-shadow: inset 0 -1px 0 var(--gold);
}

.fv-langs a:hover {
	color: var(--petrol);
}

.fv-langs--nav {
	display: none;
}

.fv-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-right: -10px;
	border: 0;
	background: transparent;
	color: var(--petrol);
	cursor: pointer;
}

.fv-menu-toggle .fv-icon {
	width: 26px;
	height: 26px;
}

.fv-menu-toggle__open,
.fv-menu-toggle__close {
	display: inline-flex;
}

.fv-menu-toggle__close,
.fv-menu-toggle[aria-expanded="true"] .fv-menu-toggle__open {
	display: none;
}

.fv-menu-toggle[aria-expanded="true"] .fv-menu-toggle__close {
	display: inline-flex;
}

@media (max-width: 959px) {
	:root {
		--header-h: 64px;
	}

	.fv-header__inner {
		gap: 12px;
	}

	.fv-header__actions {
		margin-left: auto;
		gap: 8px;
	}

	.fv-menu-toggle {
		display: inline-flex;
	}

	.fv-langs--bar {
		display: none;
	}

	.fv-nav {
		position: fixed;
		inset: var(--header-h) 0 0;
		z-index: 49;
		display: none;
		flex-direction: column;
		gap: 24px;
		margin: 0;
		padding: 32px var(--gutter) 48px;
		background: var(--stone);
		overflow-y: auto;
	}

	.admin-bar .fv-nav {
		top: calc(var(--header-h) + 46px);
	}

	.fv-nav.is-open {
		display: flex;
	}

	.fv-nav__list {
		flex-direction: column;
		gap: 0;
	}

	.fv-nav__list a {
		padding: 14px 0;
		border-bottom: 1px solid var(--line);
		font-family: var(--font-display);
		font-size: 1.75rem;
		font-weight: 500;
		color: var(--petrol);
	}

	.fv-nav__list .current-menu-item > a {
		border-bottom-color: var(--line);
		color: var(--gold-ink);
	}

	.fv-langs--nav {
		display: flex;
		font-size: 1rem;
	}

	body.fv-menu-open {
		overflow: hidden;
	}
}

@media (max-width: 420px) {
	.fv-logo__name {
		font-size: 1.25rem;
		letter-spacing: 0.12em;
	}

	.fv-header .fv-btn--small {
		padding-inline: 0.8em;
		font-size: 0.875rem;
	}
}

/* --------------------------------------------------------------------------
   Contenitori comuni
   ----------------------------------------------------------------------- */

.fv-main {
	display: block;
}

.fv-section {
	padding: var(--space-section) var(--edge) 0;
}

.fv-section-title {
	font-size: var(--h2);
}

.fv-band {
	margin-top: var(--space-section);
	padding: var(--space-section) var(--edge);
	background: var(--petrol);
	color: var(--stone);
}

.fv-band h2,
.fv-band h3 {
	color: var(--stone);
}

.fv-band a {
	color: var(--stone);
	text-decoration-color: var(--gold);
}

.fv-band + .fv-section {
	padding-top: var(--space-section);
}

/* Testo lungo (pagine, articoli, descrizioni). */

.fv-prose {
	max-width: var(--measure);
}

.fv-prose > * {
	margin-top: 0;
}

.fv-prose h2 {
	margin-top: 1.6em;
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem);
}

.fv-prose h3 {
	margin-top: 1.4em;
}

.fv-prose h2:first-child,
.fv-prose h3:first-child {
	margin-top: 0;
}

.fv-prose ul,
.fv-prose ol {
	margin: 0 0 1.25em;
	padding-left: 1.2em;
}

.fv-prose li {
	margin-bottom: 0.45em;
	padding-left: 0.2em;
}

.fv-prose li::marker {
	color: var(--gold-ink);
}

.fv-prose strong {
	font-weight: 650;
}

.fv-prose .wp-block-image {
	margin: 2em 0;
}

.fv-prose .wp-block-image img {
	width: 100%;
}

.fv-prose figcaption {
	margin-top: 8px;
	font-size: var(--text-small);
	color: var(--taupe);
}

.fv-lead,
.fv-prose .fv-lead {
	font-size: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
	line-height: 1.5;
	color: var(--ink);
}

.fv-note {
	padding: 16px 20px;
	border-left: 2px solid var(--gold);
	background: var(--paper);
	font-size: var(--text-small);
}

.fv-notice {
	padding: 16px 20px;
	border: 1px solid var(--line);
	background: var(--paper);
}

hr,
.wp-block-separator {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 2.5em 0;
}

/* Pagine semplici. */

.page-key-properties .fv-prose {
	max-width: none;
}

.page-key-properties .fv-prose > .fv-lead {
	max-width: var(--measure);
}

.fv-page {
	padding: clamp(40px, 6vw, 88px) var(--edge) var(--space-section);
}

.fv-page__header {
	max-width: 52rem;
	margin-bottom: clamp(28px, 4vw, 48px);
}

.fv-page__title {
	margin: 0;
}

.fv-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 0;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	font-size: var(--text-small);
	color: var(--taupe);
}

.fv-crumbs li + li::before {
	content: "/";
	margin: 0 10px;
	color: var(--gold);
}

.fv-crumbs a {
	color: var(--taupe);
	text-decoration: none;
}

.fv-crumbs a:hover {
	color: var(--petrol);
	text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Home: apertura con l'arco
   ----------------------------------------------------------------------- */

.fv-hero {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(16px, 2.5vw, 32px);
	padding: clamp(28px, 5vw, 64px) var(--edge) 0;
}

.fv-hero > * {
	margin: 0;
}

.fv-hero__title {
	grid-column: 1 / span 8;
	font-size: var(--h1);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.012em;
	max-width: 19ch;
}

.fv-hero__lead {
	grid-column: 9 / -1;
	align-self: end;
	padding-bottom: 0.4em;
	font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
	line-height: 1.55;
	color: var(--ink);
}

.fv-hero__image {
	grid-column: 1 / -1;
	position: relative;
	margin-top: clamp(36px, 5vw, 64px) !important;
	--arch: clamp(56px, 10vw, 150px);
}

.fv-hero__image img {
	width: 100%;
	height: clamp(340px, 64vh, 700px);
	object-fit: cover;
	object-position: 50% 58%;
	border-radius: 50% 50% 0 0 / var(--arch) var(--arch) 0 0;
}

/* L'archivolto: una linea oro che segue l'arco, come nel logo. */
.fv-hero__image::before {
	content: "";
	position: absolute;
	inset: -14px -14px auto;
	height: calc(var(--arch) + 40px);
	border: 1.5px solid var(--gold);
	border-bottom: 0;
	border-radius: 50% 50% 0 0 / calc(var(--arch) + 14px) calc(var(--arch) + 14px) 0 0;
	pointer-events: none;
}

.fv-hero .fv-book {
	grid-column: 2 / span 10;
	position: relative;
	z-index: 2;
	margin-top: -52px;
}

@media (max-width: 959px) {
	.fv-hero__title,
	.fv-hero__lead {
		grid-column: 1 / -1;
	}

	.fv-hero__title {
		max-width: 16ch;
	}

	.fv-hero__lead {
		margin-top: 18px;
		max-width: 36rem;
	}

	.fv-hero__image img {
		height: clamp(280px, 52vh, 520px);
	}

	.fv-hero .fv-book {
		grid-column: 1 / -1;
		margin-top: -28px;
		margin-inline: 12px;
	}
}

@media (max-width: 600px) {
	.fv-hero__image::before {
		inset: -10px -8px auto;
	}

	.fv-hero .fv-book {
		margin-inline: 0;
		margin-top: 16px;
	}
}

/* --------------------------------------------------------------------------
   Home (dalla 1.0.2): il muro con l'apertura ad arco, come un "volto"
   ----------------------------------------------------------------------- */

.fv-hero2 {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
	grid-template-areas:
		"text media"
		"form media";
	grid-template-rows: 1fr auto;
	column-gap: clamp(32px, 6vw, 96px);
	padding: clamp(36px, 5vw, 72px) var(--edge) 0;
	background: var(--petrol-deep);
	color: var(--stone);
}

.fv-hero2 > * {
	margin: 0;
}

.fv-hero2__text {
	grid-area: text;
	align-self: center;
	padding-bottom: 28px;
}

.fv-hero2__text > * {
	margin: 0;
}

.fv-hero2__title {
	color: var(--stone);
	font-size: clamp(3rem, 1.8rem + 4.6vw, 6.4rem);
	font-weight: 500;
	line-height: 0.96;
	letter-spacing: -0.015em;
	max-width: 11ch;
}

.fv-hero2__lead {
	margin-top: clamp(20px, 2.4vw, 32px) !important;
	max-width: 31rem;
	font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
	line-height: 1.55;
	color: rgba(248, 246, 243, 0.84);
}

.fv-hero2 .fv-book {
	grid-area: form;
	align-self: end;
	margin-bottom: clamp(40px, 5vw, 72px);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border: 0;
	box-shadow: 0 24px 48px -30px rgba(0, 0, 0, 0.6);
}

.fv-hero2 .fv-book .fv-btn,
.fv-hero2 .fv-book .fv-book__error {
	grid-column: 1 / -1;
}

/* L'apertura: una porta ad arco a tutto sesto che arriva fino a terra. */
.fv-hero2__media {
	grid-area: media;
	position: relative;
	align-self: end;
	justify-self: end;
	width: 100%;
	max-width: 600px;
	aspect-ratio: 4 / 5;
	max-height: calc(100svh - var(--header-h) - 48px);
	min-height: 420px;
}

.fv-hero2__media::before {
	content: "";
	position: absolute;
	inset: -14px -14px 0;
	border: 1.5px solid var(--gold);
	border-bottom: 0;
	border-radius: 50% 50% 0 0 / 41% 41% 0 0;
	pointer-events: none;
}

.fv-hero2__frame {
	position: absolute;
	inset: 0;
	overflow: hidden;
	isolation: isolate;
	border-radius: 50% 50% 0 0 / 40% 40% 0 0;
	background: #1a2e3a;
	-webkit-mask-image: -webkit-radial-gradient(white, black);
}

.fv-hero2__video,
.fv-fade,
.fv-fade__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.fv-hero2__video,
.fv-fade__img {
	object-fit: cover;
}

.fv-fade__img {
	opacity: 0;
}

.fv-fade__img:first-child {
	opacity: 1;
}

/* Le foto si alternano lentamente, con un leggero avvicinamento: 7 secondi ciascuna. */
@media (prefers-reduced-motion: no-preference) {
	.fv-fade--run .fv-fade__img {
		opacity: 0;
		animation: fv-fade 28s linear infinite backwards;
		animation-delay: calc(var(--i) * 7s - 1.4s);
	}
}

@keyframes fv-fade {
	0% {
		opacity: 0;
		transform: scale(1);
	}

	5% {
		opacity: 1;
	}

	25% {
		opacity: 1;
	}

	31% {
		opacity: 0;
		transform: scale(1.06);
	}

	100% {
		opacity: 0;
		transform: scale(1.06);
	}
}

@media (max-width: 959px) {
	.fv-hero2 {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"text"
			"media"
			"form";
		grid-template-rows: auto;
		padding-top: clamp(28px, 7vw, 48px);
	}

	.fv-hero2__title {
		max-width: 10ch;
	}

	.fv-hero2__media {
		justify-self: center;
		max-width: 520px;
		max-height: none;
		min-height: 0;
	}

	.fv-hero2 .fv-book {
		margin: 24px 0 36px;
	}
}

@media (max-width: 600px) {
	.fv-hero2__media::before {
		inset: -10px -8px 0;
	}

	.fv-hero2 .fv-book {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Presentazione: testo a sinistra, due foto sfalsate a destra. */
.fv-intro {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(16px, 2.5vw, 32px);
	align-items: start;
}

.fv-intro__text {
	grid-column: 1 / span 6;
	grid-row: 1 / span 2;
	max-width: var(--measure);
}

.fv-intro__text > :first-child {
	margin-top: 0;
}

.fv-intro__text .fv-lead {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 1.25rem + 1vw, 2.05rem);
	line-height: 1.3;
	font-weight: 500;
	color: var(--petrol);
}

.fv-intro__photo {
	margin: 0 !important;
}

.fv-intro__photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.fv-intro__photo--a {
	grid-column: 7 / span 3;
	grid-row: 1;
}

.fv-intro__photo--b {
	grid-column: 10 / span 3;
	grid-row: 1;
	margin-top: clamp(64px, 9vw, 140px) !important;
}

@media (max-width: 959px) {
	.fv-intro__text {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.fv-intro__photo--a {
		grid-column: 1 / span 7;
		grid-row: auto;
		margin-top: 36px !important;
	}

	.fv-intro__photo--b {
		grid-column: 8 / -1;
		grid-row: auto;
		align-self: start;
		margin-top: 96px !important;
	}
}

/* Una recensione in grande, le altre sotto. */
.fv-reviews .wp-block-quote.fv-quote-big {
	margin: clamp(24px, 3vw, 40px) 0 clamp(16px, 2vw, 24px);
	padding: 0;
	border: 0;
}

.fv-reviews .wp-block-quote.fv-quote-big p {
	font-family: var(--font-display);
	font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.1rem);
	font-style: italic;
	font-weight: 500;
	line-height: 1.18;
	color: var(--petrol);
	max-width: 26ch;
}

.fv-reviews .wp-block-quote.fv-quote-big cite {
	display: block;
	margin-top: 18px;
	font-size: var(--text-small);
	font-style: normal;
	color: var(--taupe);
}

.fv-quote-big cite a {
	color: var(--taupe);
}

.fv-reviews--big {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(16px, 2.5vw, 32px);
	align-items: start;
}

.fv-reviews--big > h2 {
	grid-column: 1 / span 4;
}

.fv-reviews--big > .wp-block-quote.fv-quote-big {
	grid-column: 5 / -1;
	margin-top: 0;
}

.fv-reviews--big > .wp-block-columns {
	grid-column: 1 / -1;
}

@media (max-width: 959px) {
	.fv-reviews--big > h2,
	.fv-reviews--big > .wp-block-quote.fv-quote-big {
		grid-column: 1 / -1;
	}

	.fv-reviews--big > .wp-block-quote.fv-quote-big {
		margin-top: 20px;
	}
}

/* Prenotare qui: fascia chiara con tre punti brevi. */
.fv-direct2 {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(16px, 2.5vw, 32px);
	margin-top: var(--space-section);
	padding: clamp(48px, 7vw, 96px) var(--edge);
	background: var(--sand);
}

.fv-direct2 > * {
	margin: 0;
}

.fv-direct2 > h2 {
	grid-column: 1 / span 4;
}

.fv-direct2 > .fv-direct2__list {
	grid-column: 5 / -1;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 2.5vw, 36px);
	list-style: none;
	padding: 0;
}

.fv-direct2__list li {
	margin: 0;
	padding-top: 16px;
	border-top: 1px solid var(--gold);
	line-height: 1.5;
}

.fv-direct2 > .wp-block-buttons {
	grid-column: 5 / -1;
	margin-top: clamp(24px, 3vw, 36px);
}

.fv-direct2 + .fv-section {
	padding-top: var(--space-section);
}

@media (max-width: 959px) {
	.fv-direct2 > h2,
	.fv-direct2 > .fv-direct2__list,
	.fv-direct2 > .wp-block-buttons {
		grid-column: 1 / -1;
	}

	.fv-direct2 > .fv-direct2__list {
		margin-top: 24px;
		grid-template-columns: minmax(0, 1fr);
	}
}

/* --------------------------------------------------------------------------
   Modulo date (prenotazione)
   ----------------------------------------------------------------------- */

.fv-book {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: clamp(16px, 2vw, 22px);
	background: var(--paper);
	border: 1px solid var(--line);
	box-shadow: 0 18px 40px -28px rgba(29, 32, 53, 0.45);
}

.fv-book--bar {
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	align-items: end;
}

.fv-book--bar .fv-book__field--small {
	min-width: 0;
}

.fv-book--bar .fv-btn {
	min-height: 52px;
	white-space: nowrap;
}

.fv-book__field {
	min-width: 0;
}

.fv-book__field label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--taupe);
}

.fv-book input,
.fv-book select,
.fv-form input[type="text"],
.fv-form input[type="email"],
.fv-form input[type="tel"],
.fv-form textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--stone);
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
	appearance: none;
	-webkit-appearance: none;
	min-width: 0;
}

.fv-book input[type="date"] {
	padding-inline: 10px;
}

.fv-book select,
.fv-form select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C4A5C' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 18px;
	padding-right: 38px;
}

.fv-book input:focus,
.fv-book select:focus,
.fv-form input:focus,
.fv-form textarea:focus {
	outline: 2px solid var(--petrol);
	outline-offset: 0;
	border-color: var(--petrol);
	background: var(--paper);
}

.fv-book input[aria-invalid="true"] {
	border-color: #A3341F;
}

.fv-book__error {
	grid-column: 1 / -1;
	margin: 0;
	color: #A3341F;
	font-size: var(--text-small);
	font-weight: 600;
}

.fv-book__error[hidden] {
	display: none;
}

.fv-book--card {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	box-shadow: none;
	border: 0;
	padding: 0;
	background: transparent;
}

.fv-book--card .fv-book__field--small,
.fv-book--card .fv-btn {
	grid-column: 1 / -1;
}

@media (max-width: 600px) {
	.fv-book--bar {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.fv-book--bar .fv-btn,
	.fv-book--bar .fv-book__field:last-of-type:nth-of-type(odd) {
		grid-column: 1 / -1;
	}
}

/* --------------------------------------------------------------------------
   Home: sezioni
   ----------------------------------------------------------------------- */

.fv-welcome {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(16px, 2.5vw, 32px);
}

.fv-welcome > * {
	grid-column: 6 / -1;
	max-width: var(--measure);
}

.fv-welcome > h2 {
	grid-column: 1 / span 4;
	grid-row: 1 / span 4;
	max-width: 10ch;
}

.fv-welcome .fv-lead {
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 1.25rem + 1vw, 2.05rem);
	line-height: 1.3;
	font-weight: 500;
	color: var(--petrol);
}

.fv-signature {
	font-family: var(--font-display);
	font-style: italic;
	font-size: 1.6rem;
	color: var(--petrol);
	margin-top: 0.4em;
}

.fv-signature span {
	display: block;
	font-family: var(--font-text);
	font-style: normal;
	font-size: var(--text-small);
	color: var(--taupe);
}

@media (max-width: 959px) {
	.fv-welcome > *,
	.fv-welcome > h2 {
		grid-column: 1 / -1;
		grid-row: auto;
		max-width: var(--measure);
	}
}

/* Alloggi. */

.fv-stays-section > h2,
.fv-stays-section > p {
	max-width: 40rem;
}

.fv-stays {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: clamp(32px, 4vw, 56px);
	margin-top: clamp(28px, 4vw, 48px);
}

.fv-stay {
	display: flex;
	flex-direction: column;
}

.fv-stay__media {
	display: block;
	overflow: hidden;
	background: var(--sand);
}

.fv-stay__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.fv-stay__media:hover img {
	transform: scale(1.025);
}

.fv-stay__body {
	padding-top: 22px;
}

.fv-stay__title {
	margin: 0 0 10px;
	font-size: clamp(1.75rem, 1.45rem + 1vw, 2.35rem);
	font-weight: 500;
}

.fv-stay__title a {
	color: inherit;
	text-decoration: none;
}

.fv-stay__title a:hover {
	text-decoration: underline;
	text-decoration-color: var(--gold);
}

.fv-stay__text {
	max-width: 34rem;
	margin-top: 14px;
}

.fv-stay__link {
	margin: 0;
}

/* Dati dell'alloggio. */

.fv-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--ink);
}

.fv-facts li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.fv-facts .fv-icon {
	color: var(--gold-ink);
	width: 22px;
	height: 22px;
}

.fv-facts--compact {
	gap: 6px 18px;
	font-size: var(--text-small);
	color: var(--taupe);
}

.fv-facts--compact .fv-icon {
	width: 18px;
	height: 18px;
}

/* Perché prenotare diretto. */

.fv-direct {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(16px, 2.5vw, 32px);
	align-items: start;
}

.fv-direct > h2 {
	grid-column: 1 / span 4;
	grid-row: 1 / span 3;
}

.fv-direct > .fv-points {
	grid-column: 6 / -1;
}

.fv-direct > .wp-block-buttons {
	grid-column: 6 / -1;
}

.fv-points {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.fv-points li {
	margin: 0;
	padding: 20px 0;
	border-bottom: 1px solid var(--line);
}

.fv-points strong {
	display: block;
	margin-bottom: 4px;
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--petrol);
}

@media (max-width: 959px) {
	.fv-direct > h2,
	.fv-direct > .fv-points,
	.fv-direct > .wp-block-buttons {
		grid-column: 1 / -1;
	}
}

/* Posizione: fascia petrolio con nizioleto e tempi a piedi. */

.fv-location {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(16px, 2.5vw, 32px);
	row-gap: 0;
	align-items: start;
}

.fv-location > * {
	grid-column: 1 / span 5;
}

.fv-location > .fv-walk {
	grid-column: 7 / -1;
	grid-row: 1 / span 6;
}

.fv-location p {
	color: var(--mist);
}

.fv-location .fv-nizioleto {
	justify-self: start;
	margin: 18px 0 30px 10px;
}

@media (max-width: 959px) {
	.fv-location > *,
	.fv-location > .fv-walk {
		grid-column: 1 / -1;
		grid-row: auto;
	}

	.fv-location > .fv-walk {
		margin-top: 36px;
	}
}

/* Il nizioleto: i cartelli dipinti a calce con cui Venezia dà il nome alle calli. */
.fv-nizioleto {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 14px 26px 12px;
	background: #FAFAF7;
	color: #161616;
	border: 3px solid #161616;
	outline: 10px solid #FAFAF7;
	font-family: var(--font-text);
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.05;
	transform: rotate(-0.6deg);
	box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.04);
}

.fv-nizioleto__top {
	font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
	letter-spacing: 0.04em;
}

.fv-nizioleto__bottom {
	font-size: 0.95rem;
	letter-spacing: 0.12em;
}

.fv-walk {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(185, 198, 205, 0.35);
}

.fv-walk li {
	display: grid;
	grid-template-columns: clamp(5.75rem, 4.5rem + 3vw, 7.75rem) 1fr;
	align-items: baseline;
	gap: 18px;
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid rgba(185, 198, 205, 0.35);
	color: var(--stone);
}

.fv-walk strong {
	font-family: var(--font-display);
	font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem);
	font-weight: 500;
	line-height: 1;
	color: var(--gold);
	white-space: nowrap;
}

/* Recensioni. */

.fv-reviews > h2 {
	max-width: 30rem;
}

.fv-reviews .wp-block-columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: clamp(24px, 3vw, 48px);
	margin-top: clamp(24px, 3vw, 40px);
}

.fv-reviews .wp-block-column {
	margin: 0;
}

.fv-reviews .wp-block-quote {
	margin: 0;
	padding: 24px 0 0;
	border: 0;
	border-top: 1px solid var(--gold);
}

.fv-reviews .wp-block-quote p {
	font-family: var(--font-display);
	font-size: 1.35rem;
	font-style: italic;
	line-height: 1.4;
	color: var(--petrol);
}

.fv-reviews .wp-block-quote cite {
	display: block;
	margin-top: 12px;
	font-size: var(--text-small);
	font-style: normal;
	color: var(--taupe);
}

.fv-reviews .wp-block-quote cite a {
	color: var(--taupe);
}

/* Anteprima guida. */

.fv-guide-teaser {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(16px, 2.5vw, 32px);
	align-items: start;
}

.fv-guide-teaser > * {
	grid-column: 1 / span 4;
}

.fv-guide-teaser > .fv-guide-list {
	grid-column: 6 / -1;
	grid-row: 1 / span 4;
}

@media (max-width: 959px) {
	.fv-guide-teaser > *,
	.fv-guide-teaser > .fv-guide-list {
		grid-column: 1 / -1;
		grid-row: auto;
	}
}

.fv-guide-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.fv-guide-list li {
	margin: 0;
	border-bottom: 1px solid var(--line);
}

.fv-guide-list a {
	display: grid;
	gap: 4px;
	padding: 18px 0;
	text-decoration: none;
	color: var(--ink);
}

.fv-guide-list__title {
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 1.25rem + 0.5vw, 1.7rem);
	font-weight: 600;
	line-height: 1.15;
	color: var(--petrol);
}

.fv-guide-list__desc {
	color: var(--taupe);
	font-size: var(--text-small);
}

.fv-guide-list a:hover .fv-guide-list__title {
	text-decoration: underline;
	text-decoration-color: var(--gold);
	text-underline-offset: 0.2em;
}

/* Domande frequenti. */

.fv-faq {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(16px, 2.5vw, 32px);
	padding-bottom: var(--space-section);
}

.fv-faq > h2 {
	grid-column: 1 / span 4;
	grid-row: 1 / span 20;
}

.fv-faq > .wp-block-details,
.fv-faq > details {
	grid-column: 6 / -1;
}

@media (max-width: 959px) {
	.fv-faq > h2,
	.fv-faq > .wp-block-details {
		grid-column: 1 / -1;
	}
}

.wp-block-details {
	margin: 0;
	border-bottom: 1px solid var(--line);
}

.fv-faq > h2 + .wp-block-details {
	border-top: 1px solid var(--line);
}

.wp-block-details summary {
	position: relative;
	padding: 20px 44px 20px 0;
	list-style: none;
	cursor: pointer;
	font-family: var(--font-display);
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1.25;
	color: var(--petrol);
}

.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wp-block-details summary::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 50%;
	width: 12px;
	height: 12px;
	border-right: 1.5px solid var(--gold-ink);
	border-bottom: 1.5px solid var(--gold-ink);
	transform: translateY(-75%) rotate(45deg);
	transition: transform 0.2s;
}

.wp-block-details[open] summary::after {
	transform: translateY(-25%) rotate(-135deg);
}

.wp-block-details > :not(summary) {
	max-width: 40rem;
	margin: 0 0 1em;
}

.wp-block-details > :last-child {
	margin-bottom: 22px;
}

/* --------------------------------------------------------------------------
   Pagina alloggio
   ----------------------------------------------------------------------- */

.fv-property {
	padding: clamp(28px, 4vw, 56px) var(--edge) var(--space-section);
}

.fv-property__header {
	margin-bottom: clamp(24px, 3vw, 36px);
}

.fv-property__title {
	margin: 0 0 18px;
	font-size: var(--h1-page);
}

/* Galleria a mosaico. */

.fv-gallery {
	position: relative;
}

.fv-gallery__grid {
	display: grid;
	gap: 8px;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: repeat(2, clamp(150px, 19vw, 260px));
}

.fv-gallery__item {
	position: relative;
	display: block;
	padding: 0;
	border: 0;
	background: var(--sand);
	cursor: zoom-in;
	overflow: hidden;
}

.fv-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease, opacity 0.2s;
}

.fv-gallery__item:hover img {
	transform: scale(1.02);
}

.fv-gallery__item:first-child {
	grid-row: 1 / span 2;
}

.fv-gallery__grid--1 {
	grid-template-columns: 1fr;
	grid-template-rows: clamp(260px, 45vw, 560px);
}

.fv-gallery__grid--2 {
	grid-template-columns: 2fr 1fr;
}

.fv-gallery__grid--3 {
	grid-template-columns: 2fr 1fr;
}

.fv-gallery__grid--4 {
	grid-template-columns: 2fr 1fr 1fr;
}

.fv-gallery__grid--4 .fv-gallery__item:nth-child(4) {
	grid-column: span 2;
}

.fv-gallery__all {
	position: absolute;
	right: 14px;
	bottom: 14px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	color: var(--petrol);
	font: 600 0.9375rem/1 var(--font-text);
	cursor: pointer;
}

.fv-gallery__all:hover {
	background: var(--petrol);
	color: var(--stone);
}

@media (max-width: 700px) {
	.fv-gallery__grid,
	.fv-gallery__grid--2,
	.fv-gallery__grid--3,
	.fv-gallery__grid--4,
	.fv-gallery__grid--5 {
		display: flex;
		gap: 8px;
		margin-inline: calc(var(--gutter) * -1);
		padding-inline: var(--gutter);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.fv-gallery__grid::-webkit-scrollbar {
		display: none;
	}

	.fv-gallery__item {
		flex: 0 0 86%;
		height: 62vw;
		scroll-snap-align: center;
	}

	.fv-gallery__all {
		position: static;
		margin-top: 12px;
	}
}

/* Finestra a tutto schermo. */

.fv-lightbox {
	width: 100vw;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: #0F1720;
	color: var(--stone);
}

.fv-lightbox::backdrop {
	background: #0F1720;
}

.fv-lightbox[open] {
	display: grid;
	grid-template-rows: auto 1fr;
}

.fv-lightbox__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px 10px 20px;
	font-size: var(--text-small);
	letter-spacing: 0.04em;
}

.fv-lightbox__close,
.fv-lightbox__nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--stone);
	cursor: pointer;
}

.fv-lightbox__close:hover,
.fv-lightbox__nav:hover {
	background: rgba(248, 246, 243, 0.12);
}

.fv-lightbox__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	outline: none;
}

.fv-lightbox__track::-webkit-scrollbar {
	display: none;
}

.fv-lightbox__slide {
	flex: 0 0 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0 clamp(8px, 6vw, 80px) 24px;
	scroll-snap-align: center;
}

.fv-lightbox__slide img {
	max-width: 100%;
	max-height: calc(100dvh - 100px);
	width: auto;
	height: auto;
	object-fit: contain;
}

.fv-lightbox__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(15, 23, 32, 0.55);
}

.fv-lightbox__nav--prev {
	left: 12px;
}

.fv-lightbox__nav--next {
	right: 12px;
}

@media (hover: none) {
	.fv-lightbox__nav {
		display: none;
	}
}

/* Corpo della pagina alloggio. */

.fv-property__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
	gap: clamp(40px, 6vw, 96px);
	margin-top: clamp(36px, 5vw, 64px);
	align-items: start;
}

.fv-property__aside {
	position: sticky;
	top: calc(var(--header-h) + 24px);
}

.fv-bookcard {
	padding: 26px 24px 22px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-top: 3px solid var(--gold);
}

.fv-bookcard__title {
	margin: 0 0 16px;
	font-size: 1.75rem;
}

.fv-bookcard__notes {
	margin: 20px 0 0;
	padding: 18px 0 0;
	border-top: 1px solid var(--line);
	list-style: none;
	font-size: var(--text-small);
	color: var(--taupe);
}

.fv-bookcard__notes li {
	position: relative;
	margin: 0 0 8px;
	padding-left: 18px;
}

.fv-bookcard__notes li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.62em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--gold);
}

.fv-bookcard__ask {
	margin: 14px 0 0;
	font-size: var(--text-small);
	color: var(--taupe);
}

.fv-bookcard__ask a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	font-weight: 600;
}

@media (max-width: 959px) {
	.fv-property__body {
		grid-template-columns: 1fr;
	}

	.fv-property__aside {
		position: static;
		order: -1;
	}
}

.fv-amenities {
	columns: 2 16rem;
	column-gap: 40px;
}

.fv-amenities li {
	break-inside: avoid;
}

.fv-property__more {
	margin-top: var(--space-section);
	padding-top: clamp(40px, 5vw, 64px);
	border-top: 1px solid var(--line);
}

.fv-mini-stays {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
	gap: 32px;
}

.fv-mini-stay {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 20px;
	align-items: center;
	color: inherit;
	text-decoration: none;
}

.fv-mini-stay img {
	width: 140px;
	aspect-ratio: 1;
	object-fit: cover;
}

.fv-mini-stay__title {
	display: block;
	margin-bottom: 6px;
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 600;
	color: var(--petrol);
}

.fv-mini-stay:hover .fv-mini-stay__title {
	text-decoration: underline;
	text-decoration-color: var(--gold);
}

/* --------------------------------------------------------------------------
   Pagina Prenota
   ----------------------------------------------------------------------- */

.fv-book-page > p,
.fv-book-page > h2 {
	max-width: var(--measure);
}

.fv-engine {
	margin: 28px 0 40px;
}

.fv-engine__search .fv-book {
	box-shadow: none;
}

.fv-engine__frame {
	display: block;
	width: 100%;
	height: 1700px;
	margin-top: 28px;
	border: 0;
	background: var(--paper);
}

.fv-engine__alt {
	margin-top: 12px;
	font-size: var(--text-small);
}

.fv-engine__fallback {
	max-width: 46rem;
	margin-top: 32px;
	padding: clamp(24px, 4vw, 40px);
	background: var(--paper);
	border: 1px solid var(--line);
	border-top: 3px solid var(--gold);
}

.fv-engine__fallback h2 {
	font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
}

/* Più alloggi e nessuno scelto: l'ospite sceglie dove dormire. */
.fv-engine__choose {
	max-width: 46rem;
	margin-top: 32px;
}

.fv-engine__choose h2 {
	font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
}

.fv-engine__units {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: 12px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.fv-engine__unit {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-height: 100%;
	padding: 18px 20px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-top: 3px solid var(--gold);
	border-radius: var(--radius);
	color: var(--ink);
	text-decoration: none;
	transition: border-color 0.15s, background 0.15s;
}

.fv-engine__unit strong {
	font: 600 1.45rem/1.15 var(--font-display);
	color: var(--petrol);
}

.fv-engine__unit span {
	font-size: var(--text-small);
	color: var(--taupe);
}

.fv-engine__unit:hover,
.fv-engine__unit:focus-visible {
	border-color: var(--petrol);
	border-top-color: var(--gold);
	background: var(--stone);
}

/* --------------------------------------------------------------------------
   Guida di Venezia
   ----------------------------------------------------------------------- */

.fv-guide-index {
	padding: clamp(40px, 6vw, 88px) var(--edge) var(--space-section);
}

.fv-guide-index__title {
	margin: 0 0 clamp(24px, 3vw, 40px);
	font-size: var(--h1);
	max-width: 12ch;
}

.fv-guide-index__body {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(16px, 2.5vw, 32px);
	align-items: start;
}

.fv-guide-index__intro {
	grid-column: 1 / span 5;
}

.fv-guide-index__intro > .fv-guide-list {
	margin-top: 32px;
}

.fv-guide-index__list {
	grid-column: 7 / -1;
}

@media (min-width: 960px) {
	.fv-guide-index__intro:has(.fv-guide-list) {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: repeat(12, minmax(0, 1fr));
		column-gap: clamp(16px, 2.5vw, 32px);
		max-width: none;
	}

	.fv-guide-index__intro:has(.fv-guide-list) > * {
		grid-column: 1 / span 5;
	}

	.fv-guide-index__intro:has(.fv-guide-list) > .fv-guide-list {
		grid-column: 7 / -1;
		grid-row: 1 / span 6;
		margin-top: 0;
	}
}

@media (max-width: 959px) {
	.fv-guide-index__intro,
	.fv-guide-index__list {
		grid-column: 1 / -1;
	}
}

.fv-article {
	padding: clamp(40px, 6vw, 88px) var(--edge) 0;
}

.fv-article__header {
	max-width: 52rem;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.fv-article__title {
	margin: 0 0 20px;
	font-size: var(--h1-page);
}

.fv-article__lead {
	max-width: 40rem;
	font-size: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
	line-height: 1.5;
}

.fv-article__meta {
	margin: 0;
	font-size: var(--text-small);
	color: var(--taupe);
}

.fv-article__body {
	display: grid;
	grid-template-columns: minmax(0, var(--measure)) minmax(220px, 280px);
	justify-content: space-between;
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}

.fv-article__aside {
	position: sticky;
	top: calc(var(--header-h) + 24px);
}

.fv-article__aside-title {
	margin: 0 0 12px;
	font-family: var(--font-text);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--taupe);
}

.fv-toc {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.fv-toc li {
	margin: 0;
	border-bottom: 1px solid var(--line);
}

.fv-toc a,
.fv-toc span {
	display: block;
	padding: 11px 0;
	font-size: var(--text-small);
	line-height: 1.35;
	text-decoration: none;
	color: var(--ink);
}

.fv-toc a:hover {
	color: var(--petrol);
	text-decoration: underline;
	text-decoration-color: var(--gold);
}

.fv-toc span[aria-current] {
	color: var(--petrol);
	font-weight: 700;
	box-shadow: inset 2px 0 0 var(--gold);
	padding-left: 12px;
}

@media (max-width: 959px) {
	.fv-article__body {
		grid-template-columns: 1fr;
	}

	.fv-article__aside {
		position: static;
	}
}

/* Riquadro finale "Soggiorna a San Polo". */

.fv-cta {
	margin-top: var(--space-section);
	margin-inline: calc(var(--edge) * -1);
	padding: clamp(56px, 7vw, 96px) var(--edge);
	background: var(--petrol);
	color: var(--stone);
}

.fv-cta__inner {
	max-width: 40rem;
}

.fv-cta__title {
	color: var(--stone);
}

.fv-cta p {
	color: var(--mist);
}

/* --------------------------------------------------------------------------
   Contatti e moduli
   ----------------------------------------------------------------------- */

.fv-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
	max-width: none;
	margin-top: 2em;
}

.fv-content.fv-prose:has(.fv-contact-grid) {
	max-width: none;
}

.fv-content.fv-prose:has(.fv-contact-grid) > p {
	max-width: var(--measure);
}

.fv-contact-grid > .wp-block-column {
	margin: 0;
	min-width: 0;
}

@media (max-width: 859px) {
	.fv-contact-grid {
		grid-template-columns: 1fr;
	}
}

.fv-contacts {
	margin: 0;
	padding: 0 !important;
	list-style: none;
	border-top: 1px solid var(--line);
}

.fv-contacts li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin: 0;
	padding: 16px 0 !important;
	border-bottom: 1px solid var(--line);
}

.fv-contacts .fv-icon {
	margin-top: 3px;
	color: var(--gold-ink);
}

.fv-contacts__label {
	display: block;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--taupe);
}

.fv-contacts a {
	word-break: break-word;
}

.fv-form {
	padding: clamp(20px, 3vw, 32px);
	background: var(--paper);
	border: 1px solid var(--line);
}

.fv-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

@media (max-width: 600px) {
	.fv-form__row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

.fv-field {
	margin: 0 0 16px;
}

.fv-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--taupe);
}

.fv-form textarea {
	min-height: 150px;
	resize: vertical;
}

.fv-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: var(--text-small);
}

.fv-check input {
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--petrol);
	flex: none;
}

.fv-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.fv-form__msg {
	padding: 14px 16px;
	font-weight: 600;
}

.fv-form__msg--ok {
	background: #E8F0EA;
	color: #1E4D2B;
}

.fv-form__msg--error {
	background: #F7E7E3;
	color: #7A2414;
}

/* --------------------------------------------------------------------------
   Check-in online (modulo del plugin)
   ----------------------------------------------------------------------- */

.fv-page--checkin .fv-page__header,
.fv-checkin {
	max-width: 760px;
	margin-inline: auto;
}

.fv-checkin > p {
	color: var(--taupe);
}

.fv-checkin .frv-checkin {
	--frv-accent: #2C4A5C;
	--frv-accent-ink: #F8F6F3;
	--frv-ink: #1D2035;
	--frv-muted: #6B5D4A;
	--frv-line: #E2DBCF;
	--frv-soft: #F3EFE8;
	--frv-radius: 2px;
	margin-top: 28px;
	font-family: var(--font-text);
}

.fv-checkin .frv-checkin h2,
.fv-checkin .frv-checkin h3 {
	font-family: var(--font-display);
	color: var(--petrol);
}

.fv-checkin .frv-card {
	background: var(--paper);
}

/* --------------------------------------------------------------------------
   Piè di pagina
   ----------------------------------------------------------------------- */

.fv-footer {
	background: var(--petrol-deep);
	color: var(--stone);
	font-size: var(--text-small);
}

.fv-footer a {
	color: var(--stone);
	text-decoration: none;
}

.fv-footer a:hover {
	color: var(--gold);
}

.fv-footer__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 40px;
	padding: clamp(56px, 7vw, 88px) var(--edge) 48px;
}

.fv-footer__address {
	margin-top: 22px;
	color: var(--mist);
	font-size: 1rem;
	line-height: 1.55;
}

.fv-footer__small {
	color: var(--mist);
}

.fv-footer__title {
	margin: 6px 0 16px;
	font-family: var(--font-text);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--gold);
}

.fv-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fv-footer__list li {
	margin: 0 0 10px;
}

.fv-footer__list a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 2px 0;
	font-size: 1rem;
}

.fv-footer__list .fv-icon {
	color: var(--gold);
	width: 20px;
	height: 20px;
}

.fv-footer__base {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 20px var(--edge) 28px;
	border-top: 1px solid rgba(185, 198, 205, 0.25);
	color: var(--mist);
}

.fv-footer__base p {
	margin: 0;
}

.fv-langs--footer a,
.fv-langs--footer span {
	color: var(--mist);
}

.fv-langs--footer span[aria-current] {
	color: var(--stone);
}

@media (max-width: 859px) {
	.fv-footer__inner {
		grid-template-columns: 1fr 1fr;
	}

	.fv-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.fv-footer__inner {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Varie
   ----------------------------------------------------------------------- */

.fv-404 .fv-mark {
	width: 56px;
	height: 56px;
	margin-bottom: 24px;
}

.wp-block-image {
	margin: 0;
}

.wp-block-columns {
	gap: clamp(24px, 3vw, 48px);
}

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

@media print {
	.fv-header,
	.fv-footer,
	.fv-book,
	.fv-bookcard,
	.fv-gallery__all {
		display: none !important;
	}

	body {
		background: #fff;
	}
}

@media (max-width: 359px) {
	.fv-book--bar,
	.fv-book--card {
		grid-template-columns: minmax(0, 1fr);
	}
}
