/*
 * Bosco ai Marzi – stile comune della bozza.
 * Riscritto da zero il 16/11/2026: dal sito Elementor sono stati ripresi solo i valori
 * (colori, font, misure, spaziature, punti di passaggio). I nomi delle classi `bx-…`
 * sono quelli del progetto grafico originale, così il confronto con il sito di oggi resta leggibile.
 *
 * Punti di passaggio: tablet ≤ 1024px, mobile ≤ 767px; menu mobile ≤ 1025px.
 */

/* ---------- Font locali (variabili: un file copre tutti i pesi) ---------- */

@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url("assets/font/dm-sans-latin-ext.woff2") format("woff2");
	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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "DM Sans";
	font-style: normal;
	font-weight: 100 1000;
	font-display: swap;
	src: url("assets/font/dm-sans-latin.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: "DM Sans";
	font-style: italic;
	font-weight: 100 1000;
	font-display: swap;
	src: url("assets/font/dm-sans-corsivo-latin-ext.woff2") format("woff2");
	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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "DM Sans";
	font-style: italic;
	font-weight: 100 1000;
	font-display: swap;
	src: url("assets/font/dm-sans-corsivo-latin.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: "Fraunces";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/font/fraunces-latin-ext.woff2") format("woff2");
	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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/font/fraunces-latin.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: "Barlow Condensed";
	font-style: italic;
	font-weight: 700;
	font-display: swap;
	src: url("assets/font/barlow-condensed-700-corsivo-latin-ext.woff2") format("woff2");
	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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Barlow Condensed";
	font-style: italic;
	font-weight: 700;
	font-display: swap;
	src: url("assets/font/barlow-condensed-700-corsivo-latin.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;
}

/* ---------- Colori e caratteri ---------- */

:root {
	--bm-cipresso: #08672b;          /* verde del marchio: titoli, sfondi scuri, link */
	--bm-menta: #ddf8e7;
	--bm-crema: #fbf4e6;
	--bm-sabbia: #f1e4cb;
	--bm-bianco: #fff;
	--bm-terracotta: #b4502a;        /* pulsanti principali */
	--bm-terracotta-scuro: #963f1e;
	--bm-inchiostro: #1c2a22;        /* testo */
	--bm-salvia: #3f5046;
	--bm-linea: #e3dac6;
	--bm-oro: #d99a1e;
	--bm-crema-94: rgba(251, 244, 230, 0.94);
	--bm-crema-90: rgba(251, 244, 230, 0.9);

	--bm-font-display: "Fraunces", Georgia, serif;
	--bm-font-testo: "DM Sans", system-ui, sans-serif;
	--bm-font-firma: "Barlow Condensed", "Arial Narrow", sans-serif;

	--bm-margine: clamp(20px, 5vw, 72px);   /* margine laterale delle sezioni */
	--bm-larghezza: 1204px;                  /* larghezza del contenuto */
}

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

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

html {
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
	font-kerning: normal;
	font-feature-settings: "kern";
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

body {
	margin: 0;
	background: var(--bm-bianco);
	color: var(--bm-inchiostro);
	font-family: var(--bm-font-testo);
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: -0.02em;
	overflow-x: clip;
}

h1, h2, h3, h4, p, figure, blockquote, ul, ol {
	margin: 0;
}

h1, h2, h3, h4 {
	letter-spacing: -0.02em;
}

ul, ol {
	padding: 0;
	list-style: none;
}

img, video {
	display: block;
	max-width: 100%;
}

a {
	color: var(--bm-cipresso);
	text-decoration: none;
	transition: color 0.2s, background-color 0.2s, border-color 0.2s, transform 0.2s;
}

button {
	font: inherit;
	letter-spacing: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

strong, b {
	font-weight: 700;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 1000;
	padding: 12px 20px;
	background: var(--bm-bianco);
	color: var(--bm-cipresso);
	font-weight: 700;
}

.skip:focus {
	top: 16px;
}

:focus-visible {
	outline: 2px solid var(--bm-oro);
	outline-offset: 3px;
}

/* ---------- Sezioni e contenitori ---------- */

.bx-sec,
.bx-sec-s {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(64px, 7.5vw, 120px) var(--bm-margine);
}

.bx-sec-s {
	padding-block: clamp(48px, 6vw, 96px);
}

.bx-wrap {
	width: 100%;
	max-width: var(--bm-larghezza);
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	gap: clamp(40px, 5vw, 84px);
}

.bx-stack {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.bx-stack-l {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.bx-wrap-n {
	width: 100%;
	max-width: 780px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.bx-row,
.bx-row-c {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
}

.bx-row-c {
	justify-content: center;
}

.bx-center {
	text-align: center;
	align-items: center;
}

.bx-head-row {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
}

/* Griglie */

.bx-split-a,
.bx-split-b,
.bx-split-e {
	width: 100%;
	display: grid;
	align-items: center;
	column-gap: clamp(32px, 6vw, 112px);
	row-gap: clamp(32px, 5vw, 56px);
}

.bx-split-a { grid-template-columns: 5fr 6fr; }
.bx-split-b { grid-template-columns: 6fr 5fr; }
.bx-split-e {
	grid-template-columns: 1fr 1fr;
	align-items: start;
	column-gap: clamp(32px, 6vw, 96px);
}

.bx-g2,
.bx-g3,
.bx-g4 {
	width: 100%;
	display: grid;
	align-items: start;
}

.bx-g2 {
	grid-template-columns: repeat(2, 1fr);
	column-gap: clamp(28px, 4vw, 64px);
}

.bx-g3 {
	grid-template-columns: repeat(3, 1fr);
	column-gap: clamp(24px, 3vw, 48px);
	row-gap: clamp(40px, 5vw, 56px);
}

.bx-g4 {
	grid-template-columns: repeat(4, 1fr);
	column-gap: clamp(20px, 2.4vw, 36px);
	row-gap: clamp(28px, 4vw, 40px);
}

.bx-duo,
.bx-quad {
	width: 100%;
	display: grid;
	align-items: start;
	gap: clamp(14px, 2vw, 28px);
}

.bx-duo { grid-template-columns: repeat(2, 1fr); }
.bx-quad { grid-template-columns: repeat(4, 1fr); }

.bx-off-1 {
	margin-top: clamp(32px, 5vw, 88px);
}

/* Gallerie che il cliente allunga (liste): lo sfalsamento dipende dalla posizione, non da una classe sulla foto */
.bx-sfalsa-2 > :nth-child(2n),
.bx-sfalsa-3 > :nth-child(3n+2) {
	margin-top: clamp(32px, 5vw, 88px);
}

/* Foto: riquadro con proporzione fissa, la foto lo riempie */

.bx-ph {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
	background-image: linear-gradient(150deg, #e8eedf 0%, #d5e0ce 100%);
}

.bx-ph img,
.bx-ph video {
	position: absolute;
	inset: -1px;
	width: calc(100% + 2px);
	height: calc(100% + 2px);
	max-width: none;
	object-fit: cover;
}

.bx-ph-34 { aspect-ratio: 3 / 4; }
.bx-ph-43 { aspect-ratio: 4 / 3; }
/* Panorami degli appartamenti: la proporzione delle foto (3:2), il 21:9 tagliava via la piscina (17/11/2026) */
.bx-ph-32 { aspect-ratio: 3 / 2; }

/* Sfondi */

.bm-bg-bianco { background-color: var(--bm-bianco); }
.bm-bg-crema { background-color: var(--bm-crema); }
.bm-bg-sabbia { background-color: var(--bm-sabbia); }
.bm-bg-deep { background-color: var(--bm-cipresso); }

/* Sezione su sfondo verde: testi chiari */
.bm-bg-menta { background-color: var(--bm-cipresso); }
.bm-bg-menta .bx-h2,
.bm-bg-menta .bx-h3,
.bm-bg-menta .bx-h4 { color: var(--bm-crema); }
.bm-bg-menta .bx-lead,
.bm-bg-menta .bx-body,
.bm-bg-menta .bx-amenity,
.bm-bg-menta em,
.bm-bg-menta strong { color: var(--bm-crema-94); }
.bm-bg-menta .bx-meta,
.bm-bg-menta .bx-num { color: var(--bm-oro); }
.bm-bg-menta .bx-btn-text { color: var(--bm-crema); border-color: rgba(251, 244, 230, 0.6); }
.bm-bg-menta .bx-line { border-top-color: rgba(251, 244, 230, 0.28); }
.bm-bg-menta a { color: var(--bm-crema); }


/* ---------- Testi ---------- */

.bx-h1,
.bx-h2,
.bx-h3,
.bx-quote {
	font-family: var(--bm-font-display);
	font-weight: 400;
	color: var(--bm-cipresso);
	text-wrap: balance;
}

.bx-h1 {
	max-width: 22ch;
	font-size: clamp(32px, 4.4vw, 64px);
	line-height: 1.04;
	letter-spacing: -0.028em;
}

.bx-h2 {
	max-width: 24ch;
	font-size: clamp(28px, 3.2vw, 46px);
	line-height: 1.12;
	letter-spacing: -0.022em;
}

.bx-h3 {
	font-size: clamp(20px, 1.75vw, 25px);
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-wrap: wrap;
}

.bx-h4 {
	font-weight: 600;
	font-size: 15px;
	line-height: 1.4;
	letter-spacing: 0.02em;
	color: var(--bm-cipresso);
}

.bx-quote {
	max-width: 24ch;
	font-size: clamp(22px, 2.7vw, 40px);
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: var(--bm-crema);
}

.bx-lead {
	max-width: 58ch;
	font-size: clamp(17px, 1.25vw, 19px);
	line-height: 1.7;
}

.bx-body {
	max-width: 60ch;
	font-size: 16px;
	line-height: 1.75;
}

.bx-meta {
	font-weight: 600;
	font-size: 14.5px;
	line-height: 1.5;
	letter-spacing: 0.03em;
	color: var(--bm-cipresso);
}

.bx-crumb {
	font-weight: 500;
	font-size: 14px;
	line-height: 1.4;
	letter-spacing: 0.02em;
	color: var(--bm-salvia);
}

.bx-num {
	font-family: var(--bm-font-display);
	font-weight: 300;
	font-size: clamp(36px, 3.4vw, 52px);
	line-height: 1;
	color: var(--bm-cipresso);
}

.bx-fact {
	font-size: 15px;
	line-height: 1.5;
}

.bx-facts {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	column-gap: 44px;
	row-gap: 12px;
	padding-top: 24px;
	border-top: 1px solid var(--bm-linea);
}

.bx-amenity {
	font-size: 16px;
	line-height: 1.45;
	padding-block: 10px;
	border-bottom: 1px solid var(--bm-linea);
}

/* Elenco con riga sopra ogni voce */
.bx-line {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 26px;
	border-top: 1px solid var(--bm-linea);
}

/* Testi su sfondo scuro: dopo le classi dei testi, così hanno la precedenza */
.bx-on-dark { color: var(--bm-crema); }
.bx-on-dark-soft { color: var(--bm-crema-94); }

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

.bx-btn,
.bx-btn-ghost,
.bx-btn-ghost-light {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	padding: 18px 24px;
	border: 1px solid;
	border-radius: 2px;
	font-weight: 700;
	font-size: 13px;
	line-height: 1;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: center;
}

.bx-btn {
	color: #fff;
	background-color: var(--bm-terracotta);
	border-color: var(--bm-terracotta);
}

.bx-btn:hover,
.bx-btn:focus-visible {
	color: #fff;
	background-color: var(--bm-terracotta-scuro);
	border-color: var(--bm-terracotta-scuro);
	transform: translate3d(0, -2px, 0);
}

.bx-btn-ghost {
	color: var(--bm-cipresso);
	border-color: var(--bm-cipresso);
}

.bx-btn-ghost:hover,
.bx-btn-ghost:focus-visible {
	color: var(--bm-crema);
	background-color: var(--bm-cipresso);
	transform: translate3d(0, -2px, 0);
}

.bx-btn-ghost-light {
	color: #fff;
	border-color: rgba(251, 244, 230, 0.8);
}

.bx-btn-ghost-light:hover,
.bx-btn-ghost-light:focus-visible {
	color: var(--bm-cipresso);
	background-color: var(--bm-crema);
	border-color: var(--bm-crema);
	transform: translate3d(0, -2px, 0);
}

/* Link sottolineato in maiuscolo («Scopri la tenuta») */
.bx-btn-text {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--bm-cipresso);
	color: var(--bm-cipresso);
	font-weight: 600;
	font-size: 13px;
	line-height: 1;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.bx-btn-text:hover,
.bx-btn-text:focus-visible {
	color: var(--bm-terracotta);
	border-bottom-color: var(--bm-terracotta);
}

.bx-lnk {
	color: inherit;
}

.bx-lnk:hover,
.bx-lnk:focus-visible {
	color: var(--bm-terracotta);
}

/* ---------- Animazioni di entrata ---------- */
/* script.js aggiunge .bm-js all'<html>: senza JavaScript tutto resta visibile. */

.bm-js .rivela {
	opacity: 0;
	transition: opacity 0.6s ease;
}

.bm-js .rivela.visibile {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.bm-js .rivela {
		opacity: 1;
		transition: none;
	}
}

/* ---------- Tablet ---------- */

@media (max-width: 1024px) {
	.bx-split-a,
	.bx-split-b,
	.bx-split-e {
		grid-template-columns: 1fr;
	}

	.bx-g4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
	body {
		font-size: 15px;
	}

	.bx-sec {
		padding: 64px 20px;
	}

	.bx-sec-s {
		padding: 48px 20px;
	}

	/* stesso ordine delle regole desktop: a parità, vince l'ultima */
	.bx-wrap { gap: 32px; }
	.bx-stack-l { gap: 24px; }
	.bx-stack { gap: 15px; }
	.bx-wrap-n { gap: 22px; }
	.bx-row,
	.bx-row-c { gap: 14px; }

	.bx-g2 { grid-template-columns: 1fr; }
	.bx-g3 {
		grid-template-columns: 1fr;
		row-gap: 30px;
	}
	.bx-g4 {
		grid-template-columns: 1fr;
		column-gap: 16px;
		row-gap: 22px;
	}

	.bx-quad { grid-template-columns: repeat(2, 1fr); }
	.bx-off-1 { margin-top: 0; }
	.bx-sfalsa-2 > :nth-child(2n),
	.bx-sfalsa-3 > :nth-child(3n+2) { margin-top: 0; }

	.bx-line {
		padding-top: 20px;
		gap: 9px;
	}
}

/* ======================================================================
 * Intestazione
 * Trasparente sopra la prima foto; scorrendo diventa bianca e resta in alto
 * (script.js aggiunge .scorsa); scorrendo in giù si nasconde, in su ricompare (.nascosta).
 * ====================================================================== */

.testata {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	color: #fff;
	/* logo di 90px: con 10px sopra e sotto l'intestazione resta alta 110px come oggi */
	--testata-logo-margine: 10px;
	transition: transform 0.3s cubic-bezier(0.41, 0.61, 0.36, 1.08), opacity 0.2s ease;
}

.testata::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--bm-bianco);
	box-shadow: -2px 3px 90px -20px rgba(0, 0, 0, 0.25);
	opacity: 0;
	transition: opacity 0.3s ease-in;
}

.testata.scorsa {
	color: var(--bm-cipresso);
	--testata-logo-margine: 5px;
}

.testata.scorsa::before {
	opacity: 1;
}

.testata.nascosta {
	transform: translate3d(0, -35px, 0);
	opacity: 0;
	pointer-events: none;
}

.testata__barra {
	max-width: var(--bm-larghezza);
	width: 95%;
	padding-top: 1px;
	margin-inline: auto;
	display: flex;
	align-items: center;
}

.testata__logo {
	display: block;
	flex: none;
	margin-block: var(--testata-logo-margine);
	transition: margin 0.4s ease;
}

.testata__logo img {
	width: 90px;
	height: 90px;
}

.testata__nav {
	margin-left: auto;
}

/* Menu principale, desktop */

.menu {
	display: flex;
}

.menu > li {
	position: relative;
}

.menu a {
	display: block;
	color: inherit;
	font-weight: 500;
	font-size: 19px;
	letter-spacing: 0;
	transition: opacity 0.3s ease, color 0.2s;
}

.menu > li > a {
	padding: 0 12.5px;
	line-height: calc(90px + 2 * var(--testata-logo-margine));
}

.menu:hover > li:not(:hover) > a {
	opacity: 0.55;
}

.menu > .menu__padre > a {
	padding-right: 22.5px;
}

/* Freccia del sottomenu: sul desktop è solo un segno (il sottomenu si apre al passaggio),
   da tastiera apre e chiude il sottomenu. */
.menu__apri {
	position: absolute;
	top: 50%;
	right: 4.5px;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.6;
}

.menu__apri svg {
	width: 10px;
	height: 10px;
}

.menu__sotto {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 280px;
	padding: 22px 0;
	background: var(--bm-bianco);
	border-radius: 1px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02), 0 2px 35px rgba(0, 0, 0, 0.04);
	opacity: 0;
	visibility: hidden;
	transform: translate3d(0, 10px, 0);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.menu__padre:hover > .menu__sotto,
.menu__padre:focus-within > .menu__sotto,
.menu__padre.aperto > .menu__sotto {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.menu__sotto a {
	padding: 8.4px 12.5px;
	color: var(--bm-cipresso);
	line-height: 1.3;
}

.menu__sotto a:hover {
	opacity: 0.7;
}

/* Pulsante «Chiama ora» */

.testata__chiama,
.menu-mobile__chiama {
	display: inline-block;
	padding: 12.6px 26px;
	border-radius: 2px;
	background: var(--bm-terracotta);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	line-height: 1;
	letter-spacing: 0;
	text-transform: uppercase;
}

.testata__chiama {
	margin-left: 25px;
}

.testata:not(.scorsa) .testata__chiama {
	background: #fff;
	color: var(--bm-cipresso);
}

.testata__chiama:hover,
.testata__chiama:focus-visible,
.testata:not(.scorsa) .testata__chiama:hover,
.menu-mobile__chiama:hover {
	background: var(--bm-terracotta-scuro);
	color: #fff;
}

/* Pulsante del menu mobile (tre righe) */

.testata__hamburger {
	display: none;
	width: 60px;
	height: 60px;
	padding-left: 20px;
	align-items: center;
	justify-content: flex-end;
}

.testata__hamburger span,
.menu-mobile__chiudi span {
	display: block;
	width: 24px;
	height: 2px;
	border-radius: 50px;
	background: currentColor;
}

.testata__hamburger .righe {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 19px;
	background: none;
}

/* ---------- Selettore della lingua (anteprima di quello di Bolbed Traduzioni) ---------- */

.lingue {
	position: relative;
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	line-height: 1;
	z-index: 50;
}

.testata .lingue {
	margin-left: 24.5px;
	margin-right: 18px;
}

.lingue__pulsante {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 4px;
	color: inherit;
	letter-spacing: 0.06em;
}

.lingue__bandiera {
	display: block;
	flex: none;
	width: 18px;
	height: 12px;
	border-radius: 2px;
	object-fit: cover;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.lingue__elenco {
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 150px;
	margin-top: 6px;
	padding: 6px 0;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.lingue__elenco[hidden] {
	display: none;
}

.lingue__elenco button {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	padding: 9px 16px;
	text-align: left;
	font-size: 14px;
	color: #1d3a24;
}

.lingue__elenco button:hover,
.lingue__elenco button:focus-visible {
	background: #f3efe4;
}

.lingue__elenco button[aria-current] {
	font-weight: 600;
}

.lingue--piede .lingue__pulsante {
	padding-left: 0;
	color: #fff;
}

.lingue--piede .lingue__elenco {
	top: auto;
	bottom: 100%;
	left: 0;
	right: auto;
	margin: 0 0 6px;
}

/* ---------- Menu mobile (pannello verde a tutto schermo) ---------- */

.menu-mobile {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	flex-direction: column;
	background: var(--bm-cipresso);
	color: #fff;
	overflow-y: auto;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.menu-mobile.aperto {
	opacity: 1;
}

.menu-mobile[hidden] {
	display: none;
}

.menu-mobile__barra {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 15px 0 20px;
	min-height: 70px;
}

.menu-mobile__barra .testata__logo {
	--testata-logo-margine: 7px;
}

.menu-mobile__barra .testata__logo img {
	width: 56px;
	height: 56px;
}

.menu-mobile__chiudi {
	position: relative;
	width: 60px;
	height: 60px;
}

.menu-mobile__chiudi span {
	position: absolute;
	right: 3.5px;
	top: 29.5px;
	width: 24px;
	transform: rotate(45deg);
}

.menu-mobile__chiudi span + span {
	transform: rotate(-45deg);
}

.menu-mobile nav {
	padding: 15px 10px 0;
	flex: 1;
}

.menu-m a,
.menu-m .indietro {
	display: block;
	width: 100%;
	padding: 16px 10px;
	color: #fff;
	font-weight: 500;
	font-size: 20px;
	line-height: 28px;
	letter-spacing: 0;
	text-align: left;
}

.menu-m li {
	position: relative;
}

.menu-m .menu__apri {
	top: 0;
	right: 0;
	width: 30%;
	height: 60px;
	margin: 0;
	justify-content: flex-end;
	padding-right: 10px;
	opacity: 0.5;
}

.menu-m .menu__apri svg {
	width: 16px;
	height: 16px;
	transform: rotate(-90deg);
}

.menu-m .menu__sotto {
	display: none;
}

.menu-m .indietro {
	font-size: 14px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	opacity: 0.75;
}

/* Voci che entrano dal basso quando si apre il pannello */
.menu-mobile .menu-m > li {
	opacity: 0;
	transform: translate3d(0, 40px, 0);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.menu-mobile.aperto .menu-m > li {
	opacity: 1;
	transform: none;
}

.menu-mobile__chiama {
	display: block;
	width: calc(95% - 20px);
	margin: 20px auto 30px;
	padding: 15px 20px;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	.menu-mobile,
	.menu-mobile .menu-m > li {
		transition: none;
	}
}

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

.bx-ftr {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(56px, 6vw, 88px) var(--bm-margine) 28px;
	background: var(--bm-cipresso);
}

.bx-ftr-grid {
	width: 100%;
	max-width: var(--bm-larghezza);
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: clamp(32px, 4vw, 64px);
}

.bx-ftr-col,
.bx-ftr-links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.bx-ftr-brand {
	font-family: var(--bm-font-display);
	font-size: clamp(22px, 2vw, 28px);
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--bm-crema);
}

.bx-ftr-h {
	margin-bottom: 4px;
	font-family: var(--bm-font-display);
	font-weight: 400;
	font-size: 18px;
	line-height: 1.3;
	color: var(--bm-crema);
}

.bx-ftr-text {
	max-width: 36ch;
	font-size: 15px;
	line-height: 1.6;
	color: var(--bm-crema-90);
}

.bx-flink {
	display: block;
	font-size: 15px;
	line-height: 1.5;
	color: var(--bm-crema-90);
}

.bx-flink:hover,
.bx-flink:focus-visible {
	color: var(--bm-menta);
	text-decoration: underline;
}

.bx-ftr-bar {
	width: 100%;
	max-width: var(--bm-larghezza);
	margin-top: clamp(40px, 5vw, 64px);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 32px;
	padding-top: 22px;
	border-top: 1px solid rgba(251, 244, 230, 0.28);
}

.bx-ftr-small {
	font-size: 13.5px;
	line-height: 1.5;
	color: rgba(251, 244, 230, 0.82);
}

.bx-ftr-small a {
	color: inherit;
}

.bx-ftr-small a:hover {
	color: var(--bm-menta);
}

/* ---------- Pulsante WhatsApp fisso ---------- */

.whatsapp {
	position: fixed;
	right: 20px;
	bottom: 24px;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06), 0 2px 32px rgba(0, 0, 0, 0.16);
}

.whatsapp:hover {
	color: #fff;
	transform: scale(1.05);
}

.whatsapp svg {
	width: 24px;
	height: 24px;
}

/* ---------- Visualizzatore delle foto ---------- */

.visore {
	width: 100vw;
	height: 100vh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, 0.85);
	color: #fff;
}

.visore::backdrop {
	background: transparent;
}

.visore[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}

.visore img {
	max-width: calc(100vw - 80px);
	max-height: calc(100vh - 120px);
	width: auto;
	height: auto;
	object-fit: contain;
}

.visore__chiudi {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 44px;
	height: 44px;
	font-size: 32px;
	line-height: 1;
	color: rgba(255, 255, 255, 0.9);
}

/* ======================================================================
 * Home
 * ====================================================================== */

/* Prima schermata con il video del drone */

.bx-hero {
	position: relative;
	width: 100%;
	height: 100svh;
	min-height: max(620px, 100svh);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: center;
	padding: clamp(96px, 9vw, 120px) var(--bm-margine) clamp(24px, 3vw, 40px);
	background-image:
		linear-gradient(to top, rgba(4, 40, 17, 0.85) 0%, rgba(4, 40, 17, 0.35) 50%, rgba(4, 40, 17, 0.5) 100%),
		linear-gradient(155deg, #0c7b34 0%, #08672b 55%, #05501f 100%);
}

.bx-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.bx-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(4, 40, 17, 0.18);
}

.bx-hero-in {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: var(--bm-larghezza);
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	gap: clamp(16px, 1.8vw, 26px);
}

.bx-hero-sig {
	font-family: var(--bm-font-firma);
	font-weight: 700;
	font-style: italic;
	font-size: clamp(14px, 1.2vw, 17px);
	line-height: 1.2;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--bm-menta);
}

.bx-hero-h1 {
	max-width: 26ch;
	font-family: var(--bm-font-display);
	font-weight: 400;
	font-size: clamp(34px, 4.8vw, 70px);
	line-height: 1.03;
	letter-spacing: -0.03em;
	color: var(--bm-crema);
	text-wrap: balance;
}

.bx-hero-lead {
	max-width: 60ch;
	font-size: clamp(16px, 1.25vw, 19px);
	line-height: 1.65;
	color: var(--bm-crema);
}

.bx-hero-facts {
	width: 100%;
	max-width: var(--bm-larghezza);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	column-gap: 24px;
	row-gap: 20px;
	margin-top: clamp(24px, 3vw, 44px);
	padding-top: 20px;
	border-top: 1px solid rgba(251, 244, 230, 0.3);
}

.bx-hero-fact {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.bx-hero-num {
	font-family: var(--bm-font-display);
	font-weight: 300;
	font-size: clamp(24px, 2.3vw, 32px);
	line-height: 1;
	color: var(--bm-crema);
}

.bx-hero-lab {
	font-size: 14.5px;
	line-height: 1.4;
	color: var(--bm-crema-90);
}

/* Schede degli appartamenti */

.bx-stay {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* Elenco su sfondo verde (Relax di campagna) */

.bx-line-dark {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 26px;
	border-top: 1px solid rgba(251, 244, 230, 0.24);
}

/* Spazio per il feed di Instagram */

.bx-plug {
	width: 100%;
	min-height: clamp(160px, 18vw, 240px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 10px;
	padding: clamp(28px, 4vw, 64px);
	border: 1px dashed rgba(8, 103, 43, 0.4);
	background: rgba(255, 255, 255, 0.55);
	text-align: center;
}

.bx-plug-t {
	font-weight: 600;
	font-size: 16px;
	line-height: 1.4;
	color: var(--bm-cipresso);
}

.bx-plug-n {
	max-width: 44ch;
	font-size: 14px;
	line-height: 1.5;
	color: var(--bm-salvia);
}

/* Invito finale con foto di sfondo (in tutte le pagine) */

.bx-cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: clamp(260px, 24vw, 340px);
	padding-block: clamp(44px, 4.5vw, 72px);
}

.bx-cta > .bx-wrap-n {
	position: relative;
	z-index: 2;
}

.bx-cta .bx-h2 {
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.bx-cta-ph {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: #0a5424;
	pointer-events: none;
}

.bx-cta-ph img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.bx-cta-ph::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(10, 25, 15, 0.5);
}

/* ---------- Anteprima delle recensioni (nel tema la sostituisce Trustindex) ---------- */

@font-face {
	font-family: "Recensioni Poppins";
	font-weight: 400;
	font-display: swap;
	src: url("assets/recensioni/poppins-400.woff2") format("woff2");
}

@font-face {
	font-family: "Recensioni Poppins";
	font-weight: 600;
	font-display: swap;
	src: url("assets/recensioni/poppins-600.woff2") format("woff2");
}

.recensioni {
	position: relative;
	width: 100%;
	margin-bottom: 15px;
	padding: 5px 16px 1px;
	font-family: "Recensioni Poppins", var(--bm-font-testo);
	color: #000;
}

.recensioni__binario {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 3 * 16px) / 4);
	gap: 16px;
	overflow: hidden;
	scroll-behavior: smooth;
}

.recensione {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 20px;
	border-radius: 12px;
	background: #f4f4f4;
}

.recensione__testa {
	display: flex;
	align-items: center;
	gap: 15px;
}

.recensione__iniziale {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #5f4339;
	color: #fff;
	font-size: 20px;
}

.recensione__nome {
	padding-right: 25px;
	font-weight: 600;
	font-size: 15px;
	line-height: 1.4;
}

.recensione__data {
	font-size: 13px;
	line-height: 1.4;
	color: #6b6b6b;
}

.recensione__google {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 20px;
	height: 20px;
}

.recensione__stelle {
	display: flex;
	align-items: center;
	gap: 1px;
	margin-top: 11px;
}

.recensione__stelle img {
	width: 17px;
	height: 17px;
}

.recensione__stelle .verificata {
	width: 15px;
	height: 15px;
	margin-left: 8px;
}

.recensione__testo {
	margin-top: 11px;
	font-size: 15px;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.recensione__altro {
	margin-top: 9px;
	align-self: flex-start;
	font-size: 13.5px;
	line-height: 1.4;
	opacity: 0.5;
}

.recensioni__avanti {
	position: absolute;
	top: 98px;
	right: 1px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #000;
}

/* ---------- Intestazione, piè di pagina e home: tablet e mobile ---------- */

@media (max-width: 1025px) {
	.testata__nav,
	.testata__chiama {
		display: none;
	}

	.testata__barra {
		width: 100%;
		padding: 0 15px 0 20px;
	}

	.testata .lingue {
		margin-left: auto;
		margin-right: 23px;
	}

	.testata__hamburger {
		display: flex;
	}

	.testata__logo,
	.testata.scorsa .testata__logo {
		--testata-logo-margine: 7px;
	}

	.testata__logo img {
		width: 56px;
		height: 56px;
	}
}

@media (max-width: 1024px) {
	.bx-ftr-grid {
		grid-template-columns: 1fr 1fr;
	}

	.recensioni__binario {
		grid-auto-columns: calc((100% - 16px) / 2);
	}
}

@media (max-width: 767px) {
	.bx-ftr-grid {
		grid-template-columns: 1fr;
	}

	.bx-hero {
		height: auto;
		min-height: 100svh;
		padding: 110px 20px 28px;
	}

	.bx-hero-facts {
		grid-template-columns: repeat(2, 1fr);
	}

	.recensioni {
		margin-bottom: 43px;
		padding: 5px 0 1px;
	}

	.recensioni__binario {
		grid-auto-columns: 100%;
	}
}

/* ======================================================================
 * Pagine interne
 * ====================================================================== */

/* Testata con foto di sfondo, briciole di pane e titolo */

.bx-pagehead {
	position: relative;
	overflow: hidden;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(140px, 15vw, 220px) var(--bm-margine) clamp(48px, 6vw, 96px);
	background-color: var(--bm-cipresso);
}

.bx-pagehead > .bx-wrap {
	position: relative;
	z-index: 2;
}

.bx-pagehead .bx-crumb {
	color: rgba(251, 244, 230, 0.82);
}

.bx-pagehead .bx-crumb a {
	color: inherit;
}

.bx-pagehead .bx-crumb a:hover {
	color: var(--bm-menta);
}

.bx-pagehead .bx-h1 {
	color: var(--bm-crema);
}

.bx-pagehead .bx-lead {
	color: var(--bm-crema-94);
}

.bx-pagehead .bx-fact {
	color: #fff;
}

.bx-pagehead .bx-facts {
	border-color: rgba(255, 255, 255, 0.35);
}

/* Foto di sfondo con velo scuro (testate delle pagine) */
.bx-sfondo {
	position: absolute;
	inset: 0;
}

.bx-sfondo img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.bx-sfondo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(10, 25, 15, 0.48);
}

/* Domande frequenti (fisarmonica: se ne apre una alla volta) */

.bx-acc {
	width: 100%;
	max-width: 880px;
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--bm-linea);
}

.bx-acc-item {
	border-bottom: 1px solid var(--bm-linea);
}

.bx-acc-head {
	display: block;
	padding: 26px 0;
	/* Nel sito di oggi la riga della domanda usa il carattere di riserva (serif): conta solo per l'altezza
	   della riga, perché il titolo ha il suo carattere. Tenerlo dà le stesse altezze. */
	font-family: Times, serif;
	cursor: pointer;
	list-style: none;
}

.bx-acc-head::-webkit-details-marker {
	display: none;
}

.bx-acc-title {
	font-family: var(--bm-font-display);
	font-size: clamp(17px, 1.5vw, 20px);
	line-height: 1.3;
	color: var(--bm-cipresso);
}

.bx-acc-body {
	padding-bottom: 28px;
}

/* Foto inquadrate fuori centro (punto di interesse) */
.bx-ph img.pos-50-66 { object-position: 50% 66%; }
.bx-ph img.pos-50-55 { object-position: 50% 55%; }
.bx-ph img.pos-35-50 { object-position: 35% 50%; }
.bx-ph img.pos-42-50 { object-position: 42% 50%; }
.bx-ph img.pos-30-50 { object-position: 30% 50%; }
.bx-ph img.pos-75-50 { object-position: 75% 50%; }
.bx-ph img.pos-55-50 { object-position: 55% 50%; }

/* Video verticale del drone accanto al titolo (La Tenuta, Galleria) */

.bx-wrap-video {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
	column-gap: clamp(32px, 6vw, 96px);
	align-items: center;
}

.bx-video {
	position: relative;
	display: flex;
	justify-content: center;
}

.bx-video video {
	width: 100%;
	height: auto;
	max-width: 340px;
	aspect-ratio: 9 / 16;
	object-fit: cover;
}

@media (max-width: 1024px) {
	.bx-wrap-video {
		grid-template-columns: minmax(0, 1fr) minmax(0, 280px);
		column-gap: 32px;
	}
}

@media (max-width: 767px) {
	.bx-wrap-video {
		grid-template-columns: minmax(0, 1fr);
	}

	.bx-video video {
		max-width: 320px;
	}
}

/* Varianti di spaziatura usate in alcune sezioni (nel sito di oggi erano stili locali di Elementor):
   valgono da tablet in su, su mobile restano le spaziature generali, come oggi. */
@media (min-width: 768px) {
	.bx-stack-8 { gap: 8px; }
	.bx-gap-20 { gap: 20px; }
	.bx-gap-30 { gap: 30px; }
	.bx-gap-40 { gap: 40px; }
	.bx-alto { align-items: flex-start; }
}

/* Foto con il nome del posto sotto (Dintorni) */
.bx-foto-nome {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Mappa: Google Maps in un iframe (deciso da Francesco il 16/11/2026). Sul sito pubblicato Complianz
   lo blocca fino al consenso e mostra al suo posto la sua immagine 1280×920: stesse proporzioni prima e dopo. */

.mappa {
	width: 100%;
}

.mappa iframe {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1280 / 920;
	border: 0;
}

/* Modulo di richiesta (Contatti) */

.modulo {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.modulo__campo {
	position: relative;
	display: block;
}

.modulo input:not([type="checkbox"]),
.modulo textarea {
	display: block;
	width: 100%;
	padding: 15px 20px;
	border: 1px solid #eaeaea;
	border-radius: 6px;
	background: #fafafa;
	color: var(--bm-inchiostro);
	font: inherit;
	letter-spacing: inherit;
}

.modulo input:not([type="checkbox"]) {
	height: calc(1.5em + 32px);
}

.modulo textarea {
	height: 180px;
	resize: vertical;
}

.modulo input::placeholder,
.modulo textarea::placeholder,
.modulo__etichetta {
	color: #c9c1c1;
	font-size: 14px;
}

.modulo input:focus,
.modulo textarea:focus {
	outline: none;
	border-color: var(--bm-cipresso);
}

/* Date: l'etichetta fa da segnaposto finché il campo è vuoto */
.modulo__etichetta {
	position: absolute;
	left: 21px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}

.modulo__data input:not(:focus):invalid {
	color: transparent;
}

.modulo__data:has(input:focus) .modulo__etichetta,
.modulo__data:has(input:valid) .modulo__etichetta {
	display: none;
}

.modulo__privacy {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	min-height: 25px;
	font-size: 14px;
	line-height: 23px;
	color: #000;
}

.modulo__privacy input {
	margin: 4px 0 0;
	width: 16px;
	height: 16px;
	flex: none;
	accent-color: var(--bm-cipresso);
}

.modulo__invia {
	display: block;
	width: 100%;
	padding: 15px 20px;
	border-radius: 5px;
	background: var(--bm-cipresso);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	line-height: 14px;
	letter-spacing: 0;
	text-transform: uppercase;
	margin-top: 10px;
}

.modulo__invia:hover {
	background: var(--bm-terracotta-scuro);
}

.modulo__esito {
	font-weight: 600;
	color: var(--bm-cipresso);
}

/* Domande con la freccia a destra (Contatti): il riquadro della freccia è largo 200px come oggi */
.bx-acc-icone .bx-acc-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.bx-acc-testo {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
}

.bx-acc-icona {
	flex: none;
	display: inline-flex;
	justify-content: flex-end;
	align-items: center;
	width: 200px;
	height: 20px;
	color: var(--bm-inchiostro);
}

.bx-acc-icona svg {
	width: 20px;
	height: 20px;
	transition: transform 0.2s ease;
}

.bx-acc-item[open] .bx-acc-icona svg {
	transform: rotate(180deg);
}

/* Testata senza la classe del fondo (Contatti): sotto la foto il colore scuro di oggi */
.bx-pagehead:not(.bm-bg-crema) {
	background-color: #1c2a22;
}

/* Testi legali generati da plugin (anteprima della cookie policy di Complianz) */
.testo-legale {
	font-size: 14px;
	line-height: 1.7;
}

.testo-legale p,
.testo-legale ul {
	margin-bottom: 1em;
}

.testo-legale ul {
	padding-left: 1.2em;
	list-style: disc;
}

.testo-legale h2,
.testo-legale h3,
.testo-legale h4,
.testo-legale h5 {
	font-family: var(--bm-font-display);
	font-weight: 400;
	color: var(--bm-cipresso);
	line-height: 1.3;
}

.testo-legale h2 { font-size: 22px; margin: 1.4em 0 0.7em; }
.testo-legale h3 { font-size: 19px; margin: 1em 0 0.5em; }
.testo-legale h4 { font-size: 16px; margin: 1em 0 0.4em; }
.testo-legale h5 { font-size: 14px; margin: 0.8em 0 0.2em; }

.testo-legale a {
	text-decoration: underline;
}

.testo-legale details {
	margin-bottom: 10px;
	padding: 10px 16px;
	border: 1px solid var(--bm-linea);
	border-radius: 6px;
}

.testo-legale summary {
	cursor: pointer;
}

.testo-legale summary h3,
.testo-legale summary p {
	display: inline-block;
	margin: 0 12px 0 0;
}

/* Pagina 404: la testata occupa lo schermo */
.bx-pagehead-404 {
	min-height: max(620px, 100svh);
	justify-content: flex-end;
}
