/**
 * Villa Molli — component styles.
 * Tokens (colours, type, spacing) live in theme.json; see DESIGN.md.
 */

:root {
	--vm-lino: var(--wp--preset--color--lino);
	--vm-pietra: var(--wp--preset--color--pietra);
	--vm-sabbia: var(--wp--preset--color--sabbia);
	--vm-ink: var(--wp--preset--color--inchiostro);
	--vm-lario: var(--wp--preset--color--lario);
	--vm-nebbia: var(--wp--preset--color--nebbia);
	--vm-ottone: var(--wp--preset--color--ottone);
	--vm-ottone-scuro: var(--wp--preset--color--ottone-scuro);
	--vm-ottone-chiaro: var(--wp--preset--color--ottone-chiaro);
	--vm-notte: var(--wp--preset--color--notte);
	--vm-serif: var(--wp--preset--font-family--serif);
	--vm-sans: var(--wp--preset--font-family--sans);
	--vm-gutter: var(--wp--custom--gutter, clamp(1.25rem, 0.5rem + 3.2vw, 4rem));
	--vm-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
	--vm-ease-long: cubic-bezier(0.16, 1, 0.3, 1);
	--vm-header-h: 96px;
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
::selection { background: var(--vm-sabbia); color: var(--vm-ink); }

/* Remove the default gap between header / main / footer. */
body .wp-site-blocks > * + * { margin-block-start: 0; }

/* Dark surfaces: Lino text, regular weight, warm focus ring. */
.wp-block-cover:not(.is-light) { color: var(--vm-lino); }
.wp-block-cover:not(.is-light),
.has-notte-background-color { font-weight: 400; }

:focus-visible { outline: 2px solid var(--vm-lario); outline-offset: 4px; }
.has-notte-background-color :focus-visible,
.wp-block-cover:not(.is-light) :focus-visible { outline-color: var(--vm-ottone-chiaro); }

/* -------------------------------------------------------------------------
 * Typography helpers
 * ---------------------------------------------------------------------- */

.vm-eyebrow {
	font-family: var(--vm-sans);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--vm-ottone-scuro);
}
.has-notte-background-color .vm-eyebrow,
.wp-block-cover:not(.is-light) .vm-eyebrow { color: var(--vm-ottone-chiaro); }
.wp-block-cover.vm-hero .vm-eyebrow { color: var(--vm-lino); }

/* Hero art direction (functions.php): the <picture> wrapper is layout-neutral;
   on smartphones the evening photo has its own crop. */
.vm-hero__picture { display: contents; }
@media (max-width: 767px) {
	.vm-hero .vm-hero__picture .wp-block-cover__image-background { object-position: 65% 50% !important; }
}

:where(.vm-eyebrow) + :where(h1, h2, h3) { margin-block-start: 1rem; }

h1 em, h2 em, h3 em, .vm-statement em { font-style: italic; }
h2.wp-block-heading { max-width: 24ch; }
.has-text-align-center.wp-block-heading { margin-inline: auto; }

.vm-display {
	font-size: var(--wp--preset--font-size--display) !important;
	font-weight: 300;
	line-height: 1.05;
	letter-spacing: -0.01em;
	max-width: 13ch;
	margin-block: 1.25rem 2rem;
}
/* Hero title "A Private Villa / with an Infinity View": room for the italic line on
   one row on desktop; balanced lines (no orphan word) on narrow screens. */
.vm-hero .vm-display { max-width: 17ch; text-wrap: balance; }

.vm-lead {
	font-family: var(--vm-serif);
	font-style: italic;
	font-weight: 400;
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.5;
}

.vm-statement {
	font-family: var(--vm-serif);
	font-weight: 300;
	font-size: var(--wp--preset--font-size--page-title);
	line-height: 1.1;
	max-width: 16ch;
	margin-inline: auto;
}

.vm-ornament.wp-block-separator {
	width: 56px;
	max-width: 56px;
	border: 0;
	border-top: 1px solid var(--vm-ottone);
	margin: 2.5rem auto !important;
	opacity: 1;
	background: none;
}

/* "Discover →" text links */
.vm-more a {
	display: inline-flex;
	align-items: center;
	gap: 0.85em;
	min-height: 44px;
	font-family: var(--vm-sans);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: inherit;
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 100% 1px no-repeat;
	transition: background-size 300ms var(--vm-ease);
}
.vm-more a::after {
	content: "→";
	content: "→" / "";
	font-size: 1.1em;
	letter-spacing: 0;
	transition: transform 300ms var(--vm-ease);
}
.vm-more a:hover::after,
.vm-more a:focus-visible::after { transform: translateX(6px); }
.vm-more a:hover { color: inherit; }

/* -------------------------------------------------------------------------
 * Buttons
 * ---------------------------------------------------------------------- */

.wp-block-button__link { transition: background-color 300ms var(--vm-ease), color 300ms var(--vm-ease), border-color 300ms var(--vm-ease); }
.wp-block-button__link:active { opacity: 0.85; }

/* Ghost button: fills with its border colour on hover. */
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background-color: var(--vm-ink);
	border-color: var(--vm-ink);
	color: var(--vm-lino);
}
.has-notte-background-color .is-style-outline > .wp-block-button__link:hover,
.wp-block-cover:not(.is-light) .is-style-outline > .wp-block-button__link:hover {
	background-color: var(--vm-lino);
	border-color: var(--vm-lino);
	color: var(--vm-ink);
}

/* Primary on dark: Lino fill → Pietra on hover. */
.vm-btn-primary .wp-block-button__link { border-color: var(--vm-lino); }
.vm-btn-primary .wp-block-button__link:hover,
.vm-btn-primary .wp-block-button__link:focus-visible {
	background-color: var(--vm-pietra) !important;
	border-color: var(--vm-pietra);
	color: var(--vm-ink) !important;
}

/* -------------------------------------------------------------------------
 * Header
 * ---------------------------------------------------------------------- */

.vm-header {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	z-index: 100;
	color: var(--vm-ink);
	transition: transform 600ms var(--vm-ease), color 300ms var(--vm-ease);
}
/* Solid background lives on a pseudo-element so the header itself never
   creates a containing block for the fixed mobile menu overlay. */
.vm-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(246, 241, 232, 0.96);
	border-bottom: 1px solid var(--vm-sabbia);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: opacity 600ms var(--vm-ease);
	pointer-events: none;
}
.vm-transparent-header .vm-header:not(.is-solid) { color: var(--vm-lino); }
.vm-transparent-header .vm-header:not(.is-solid)::before { opacity: 0; }
.vm-transparent-header .vm-header:not(.is-solid) :focus-visible { outline-color: var(--vm-lino); }
.vm-header.is-hidden { transform: translateY(-100%); }
html.has-modal-open .vm-header { transform: none; }

.vm-header .vm-header__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: var(--wp--preset--spacing--40);
	min-height: 72px;
	padding-inline: var(--vm-gutter);
	transition: min-height 600ms var(--vm-ease);
}
.vm-transparent-header .vm-header:not(.is-solid) .vm-header__inner { min-height: var(--vm-header-h); }
.vm-header .vm-header__inner > * { margin: 0; }

.vm-header a { color: inherit; text-decoration: none; }
.vm-header__nav { justify-self: start; }
.vm-header__brand { justify-self: center; text-align: center; }
.vm-header__actions { justify-self: end; }

.vm-header .vm-wordmark {
	margin: 0;
	font-size: 1.375rem;
	line-height: 1;
	letter-spacing: 0.24em;
	margin-right: -0.24em; /* optically centre tracked caps */
	white-space: nowrap;
}
.vm-header .vm-header__tagline {
	margin: 0;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	font-family: var(--vm-sans);
	font-size: 0.625rem;
	font-weight: 500;
	letter-spacing: 0.32em;
	margin-right: -0.32em;
	text-transform: uppercase;
	transition: opacity 600ms var(--vm-ease), max-height 600ms var(--vm-ease), margin 600ms var(--vm-ease);
}
.vm-transparent-header .vm-header:not(.is-solid) .vm-header__tagline { max-height: 2em; margin-top: 8px; opacity: 0.9; }

/* Official logo (Site Logo block). Proportions are kept (width: auto). Over the hero
   the black artwork is shown in Lino-white with a CSS filter; on the solid header it
   keeps its original colour. */
.vm-header .vm-logo { margin: 0; line-height: 0; }
.vm-header .vm-logo a { display: block; }
.vm-header .vm-logo img {
	display: block;
	width: auto;
	height: 60px;
	max-width: none;
	opacity: 0.9;
	transition: height 600ms var(--vm-ease), filter 300ms var(--vm-ease), opacity 300ms var(--vm-ease);
}
.vm-transparent-header .vm-header:not(.is-solid) .vm-logo img {
	height: 82px;
	filter: brightness(0) invert(1);
	opacity: 0.96;
}

/* Nav links with centre-out underline (mobile menu block). From 1200px the header
   shows the desktop MENU trigger instead (see "Two menus" below the header rules);
   the logo stays centred and "Request availability" stays visible. */
.vm-header .wp-block-navigation__container { gap: clamp(1rem, 1.25vw, 2.25rem); }
.vm-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content { letter-spacing: 0.14em; }
@media (min-width: 1200px) {
	.vm-header .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container { flex-wrap: nowrap; white-space: nowrap; }
	/* Gallery shows in the full-screen menu only; the desktop bar keeps 4 links. */
	.vm-header .wp-block-navigation__responsive-container:not(.is-menu-open) .vm-nav-compact-only { display: none; }
}
.vm-header .wp-block-navigation-item__content { position: relative; padding-block: 8px; }
.vm-header .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0.18em;
	bottom: 2px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transition: transform 300ms var(--vm-ease);
}
.vm-header .wp-block-navigation-item__content:hover::after,
.vm-header .wp-block-navigation-item__content:focus-visible::after,
.vm-header .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }

.vm-header .wp-block-button__link { padding: 13px 24px; border-color: currentColor; color: inherit; }
/* "Request availability" (desktop, far right): a slim outlined label, set apart from the links. */
.vm-header .vm-header__actions .wp-block-button__link { padding: 11px 20px; font-size: 0.75rem; letter-spacing: 0.18em; white-space: nowrap; }
/* "Contacts" (desktop): a plain nav-style link just before the button, in the right zone,
   so the five links on the left and the centred logo are untouched. */
.vm-header .vm-header__actions { flex-wrap: nowrap; align-items: center; gap: clamp(1.5rem, 2.2vw, 2.5rem); }
.vm-header .vm-header__link {
	margin: 0;
	font-family: var(--vm-sans);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	white-space: nowrap;
}
.vm-header .vm-header__link a { position: relative; display: inline-block; padding-block: 8px; }
.vm-header .vm-header__link a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0.14em;
	bottom: 2px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transition: transform 300ms var(--vm-ease);
}
.vm-header .vm-header__link a:hover::after,
.vm-header .vm-header__link a:focus-visible::after,
.vm-contacts-page .vm-header .vm-header__link a::after { transform: scaleX(1); }
.vm-transparent-header .vm-header:not(.is-solid) .is-style-outline > .wp-block-button__link:hover {
	background-color: var(--vm-lino);
	border-color: var(--vm-lino);
	color: var(--vm-ink);
}

/* Menu trigger (core navigation responsive button) */
.vm-header .wp-block-navigation__responsive-container-open {
	align-items: center;
	gap: 10px;
	min-height: 44px;
	min-width: 44px;
	color: inherit;
}
.vm-header .wp-block-navigation__responsive-container-open::after {
	content: "Menu";
	content: "Menu" / "";
	font-family: var(--vm-sans);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* Full-screen menu overlay */
.vm-header .wp-block-navigation__responsive-container.is-menu-open {
	padding: 20px var(--vm-gutter) 40px;
}
.vm-header .is-menu-open .wp-block-navigation__responsive-container-close {
	top: 20px;
	right: var(--vm-gutter);
	min-width: 44px;
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.vm-header .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: max(10vh, 88px) !important; }
.vm-header .is-menu-open .wp-block-navigation__container { gap: clamp(0.5rem, 1.8vh, 1.25rem) !important; }
.vm-header .is-menu-open .wp-block-navigation-item__content {
	font-family: var(--vm-serif);
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
	font-weight: 300;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.15;
	padding-block: 4px;
}
.vm-header .is-menu-open .wp-block-navigation-item__content::after { display: none; }
/* Full-screen menu: "Request availability" is the last item, set apart as a small
   outlined label like the desktop header button (the desktop bar hides it: .vm-nav-compact-only). */
.vm-header .is-menu-open .vm-nav-cta { margin-top: clamp(1rem, 3vh, 2rem); }
.vm-header .is-menu-open .vm-nav-cta > .wp-block-navigation-item__content {
	display: inline-block;
	padding: 14px 26px;
	border: 1px solid currentColor;
	font-family: var(--vm-sans);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	line-height: 1.2;
	transition: background-color 300ms var(--vm-ease), color 300ms var(--vm-ease);
}
.vm-header .is-menu-open .vm-nav-cta > .wp-block-navigation-item__content:hover,
.vm-header .is-menu-open .vm-nav-cta > .wp-block-navigation-item__content:focus-visible {
	background-color: var(--vm-lino);
	color: var(--vm-notte);
}

@media (prefers-reduced-motion: no-preference) {
	.vm-header .wp-block-navigation__responsive-container.is-menu-open { animation: vm-fade 400ms var(--vm-ease) both; }
	.vm-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item { animation: vm-rise 600ms var(--vm-ease-long) both; }
	.vm-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(2) { animation-delay: 60ms; }
	.vm-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(3) { animation-delay: 120ms; }
	.vm-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(4) { animation-delay: 180ms; }
	.vm-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(5) { animation-delay: 240ms; }
}

/* Below 1200px: mobile header pattern (core switches at 600px by default). */
@media (max-width: 1199.98px) {
	:root { --vm-header-h: 72px; }
	.vm-header .vm-header__inner { min-height: 64px; }
	.vm-transparent-header .vm-header:not(.is-solid) .vm-header__inner { min-height: 72px; }
	.vm-header .vm-header__actions { display: none; }
	.vm-header .vm-wordmark { font-size: 1.125rem; }
	.vm-header .vm-logo img { height: 50px; }
	.vm-transparent-header .vm-header:not(.is-solid) .vm-logo img { height: 58px; }
	.vm-transparent-header .vm-header:not(.is-solid) .vm-header__tagline { max-height: 0; margin-top: 0; opacity: 0; }
}
/* Below 1440px the links live in the full-screen menu (see above). */
@media (max-width: 1439.98px) {
	.vm-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.vm-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}

/* Two menus, one per screen size (Nov 2026):
   - from 1200px (desktop): "vm-header__nav--desktop" — hamburger + MENU on the left, logo in the
     centre, Contacts + Request availability on the right; MENU opens its own full-screen menu
     (Home, Our Story, Bedrooms, Services & Experiences, Lake Como Itineraries, Gallery & Stories, Location);
   - below 1200px (phones and tablets): "vm-header__nav--mobile", the original menu, unchanged.
   Only one is displayed at a time, so the header grid keeps its three columns. */
.vm-header .vm-header__nav--desktop { display: none; }
@media (min-width: 1200px) {
	.vm-header .vm-header__nav--mobile { display: none; }
	.vm-header .vm-header__nav--desktop { display: flex; }
}
@media (prefers-reduced-motion: no-preference) {
	.vm-header .vm-header__nav--desktop .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(6) { animation-delay: 300ms; }
	.vm-header .vm-header__nav--desktop .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(7) { animation-delay: 360ms; }
	.vm-header .vm-header__nav--desktop .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:nth-child(8) { animation-delay: 420ms; }
}

/* -------------------------------------------------------------------------
 * Sections
 * ---------------------------------------------------------------------- */

.vm-section-head { margin-bottom: var(--wp--preset--spacing--60); }
.vm-section-head > * { max-width: 640px; }

figure.vm-img { margin: 0; overflow: hidden; background: var(--vm-pietra); }
figure.vm-img img { display: block; width: 100%; height: auto; }
@media (hover: hover) {
	.vm-card .vm-img img,
	.vm-tile .vm-img img { transition: transform 1200ms var(--vm-ease-long); }
	.vm-card:hover .vm-img img,
	.vm-tile:hover .vm-img img { transform: scale(1.04); }
}

/* Full-bleed covers keep the page gutter for their content. */
.wp-block-cover.alignfull { padding-inline: var(--vm-gutter); }

/* Hero */
.wp-block-cover.vm-hero {
	min-height: 100vh !important;
	min-height: 100svh !important;
	padding-top: 140px;
	padding-bottom: clamp(5rem, 12vh, 9rem);
	overflow: hidden;
}
.vm-hero .wp-block-cover__background {
	opacity: 1 !important;
	/* Soft shade behind the bottom-left title block, so it stays legible on bright daylight photos. */
	background:
		radial-gradient(ellipse 60% 55% at 15% 80%, rgba(22, 29, 31, 0.5), rgba(22, 29, 31, 0) 100%),
		linear-gradient(180deg, rgba(22, 29, 31, 0.5) 0%, rgba(22, 29, 31, 0) 30%, rgba(22, 29, 31, 0.05) 50%, rgba(22, 29, 31, 0.65) 100%) !important;
}
.vm-hero .wp-block-cover__inner-container { width: 100%; }
.vm-hero__content { max-width: 1320px; margin-inline: auto !important; }
.vm-hero__content > * { margin-block: 0; }
.vm-hero::after {
	content: "";
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: 24px;
	width: 1px;
	height: 56px;
	background: linear-gradient(to bottom, rgba(246, 241, 232, 0), rgba(246, 241, 232, 0.9));
	transform-origin: top;
}

@media (prefers-reduced-motion: no-preference) {
	.vm-hero .wp-block-cover__image-background { animation: vm-hero-zoom 2400ms var(--vm-ease-long) both; }
	.vm-intro-1, .vm-intro-2, .vm-intro-3 { animation: vm-rise 1100ms var(--vm-ease-long) both; }
	.vm-intro-1 { animation-delay: 300ms; }
	.vm-intro-2 { animation-delay: 500ms; }
	.vm-intro-3 { animation-delay: 700ms; }
	.vm-hero::after { animation: vm-cue 2400ms var(--vm-ease) 1500ms infinite both; }
}

/* House split */
.wp-block-columns.vm-split { column-gap: clamp(2rem, 7vw, 7rem); justify-content: space-between; }
.vm-split__text > :first-child { margin-top: 0; }

.vm-facts {
	list-style: none;
	padding: 0;
	margin-block: 2.25rem 0;
	border-top: 1px solid var(--vm-sabbia);
}
.vm-facts li {
	display: flex;
	align-items: baseline;
	gap: 1.25rem;
	padding-block: 1rem;
	border-bottom: 1px solid var(--vm-sabbia);
	font-size: 0.8125rem;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.vm-facts strong {
	min-width: 1.6em;
	font-family: var(--vm-serif);
	font-size: 2.25rem;
	font-weight: 300;
	letter-spacing: 0;
	line-height: 1;
	color: var(--vm-ottone);
	text-transform: none;
	white-space: nowrap;
	flex-shrink: 0;
}

.vm-house figure.vm-img--inset { width: 46%; margin-top: var(--wp--preset--spacing--50) !important; margin-left: auto !important; margin-right: 0 !important; }
@media (min-width: 1024px) {
	.vm-house figure.vm-img--inset {
		position: relative;
		width: 62%;
		margin-left: -34% !important;
		border: 12px solid var(--vm-lino);
		box-sizing: content-box;
	}
}

/* Bedrooms rail */
.vm-rail {
	gap: clamp(1rem, 2vw, 2rem) !important;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 4px;
}
.vm-rail::-webkit-scrollbar { display: none; }
.vm-rail:focus-visible { outline-offset: 8px; }
.vm-rail > .vm-card {
	flex: 0 0 min(340px, 78vw);
	margin: 0;
	scroll-snap-align: start;
}
/* Desktop: the rail starts on the content edge and runs to the right edge of
   the screen, so the next card "peeks" in instead of being cut at the container. */
.vm-bedrooms { overflow-x: clip; }
@media (min-width: 1024px) {
	.vm-rail {
		max-width: none !important;
		margin-left: max(0px, (100% - var(--wp--style--global--wide-size)) / 2) !important;
		margin-right: calc(50% - 50vw) !important;
		padding-right: var(--vm-gutter);
		scroll-padding-left: 0;
	}
	.vm-rail > .vm-card { flex: 0 0 clamp(300px, 24vw, 380px); }
}
@media (max-width: 1023.98px) {
	.vm-rail {
		margin-inline: calc(var(--wp--style--root--padding-left, var(--vm-gutter)) * -1) !important;
		padding-inline: var(--wp--style--root--padding-left, var(--vm-gutter));
		scroll-padding-inline: var(--wp--style--root--padding-left, var(--vm-gutter));
		max-width: none !important;
	}
}
/* Bedroom summary: one hairline row of four figures (2 × 2 on small screens). */
.vm-section-head > .vm-room-summary { max-width: none; }
.vm-room-summary {
	display: grid;
	grid-template-columns: repeat(4, auto);
	justify-content: start;
	column-gap: clamp(1.5rem, 4vw, 4rem);
	row-gap: 1rem;
	list-style: none;
	padding: 1.25rem 0 0;
	margin-block: 2rem 0;
	border-top: 1px solid var(--vm-sabbia);
}
.vm-room-summary li {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
	max-width: 16em;
}
.vm-room-summary strong {
	font-family: var(--vm-serif);
	font-size: 2rem;
	font-weight: 300;
	letter-spacing: 0;
	line-height: 1;
	color: var(--vm-ottone);
}
@media (max-width: 781.98px) {
	.vm-room-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.vm-rail .vm-card > * + * { margin-block-start: 0.5rem; }
.vm-rail .vm-card > .vm-card__num { margin-block-start: 1.25rem; }
.vm-card__num {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--vm-ottone-scuro);
}
.vm-card h3 { margin-block-end: 0; }
.vm-card__meta { color: var(--vm-nebbia); }

.vm-rail-controls {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1rem;
	max-width: var(--wp--style--global--wide-size);
	margin: 2rem auto 0 !important;
}
.vm-rail-count {
	margin: 0 0.5rem;
	font-family: var(--vm-serif);
	font-size: 1.25rem;
	font-variant-numeric: tabular-nums;
	min-width: 4.5ch;
	text-align: center;
}
.vm-rail-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid currentColor;
	border-radius: 50%;
	background: transparent;
	color: var(--vm-ink);
	cursor: pointer;
	transition: background-color 300ms var(--vm-ease), color 300ms var(--vm-ease), opacity 300ms var(--vm-ease);
}
.vm-rail-btn:hover:not(:disabled) { background: var(--vm-ink); color: var(--vm-lino); }
.vm-rail-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.vm-rail-btn svg { width: 20px; height: 20px; }

/* Bedroom galleries — the card photo opens a full-screen gallery (see villamolli.js). */
.vm-room-open,
.wp-block-image .vm-room-open { position: relative; display: block; color: inherit; cursor: zoom-in; }
.vm-room-open img { display: block; }
.vm-room-open:focus-visible { outline: 2px solid var(--vm-ink); outline-offset: 3px; }
.vm-room-count {
	position: absolute;
	left: 12px;
	bottom: 12px;
	padding: 0.35rem 0.55rem;
	font-family: var(--vm-sans);
	font-size: 0.625rem;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.16em;
	font-variant-numeric: tabular-nums;
	color: var(--vm-lino);
	background: rgba(22, 29, 31, 0.7); /* ≥ 4.5:1 even over a white bed */
	pointer-events: none;
	transition: background-color 300ms var(--vm-ease);
}
.vm-room-open:hover .vm-room-count,
.vm-room-open:focus-visible .vm-room-count { background: rgba(22, 29, 31, 0.88); }

html.vm-lb-open { overflow: hidden; }
.vm-lb {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--vm-notte);
	color: var(--vm-lino);
}
.vm-lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.vm-lb::backdrop { background: transparent; }
.vm-lb__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px var(--vm-gutter);
}
.vm-lb__count {
	margin: 0;
	font-family: var(--vm-serif);
	font-size: 1.25rem;
	font-variant-numeric: tabular-nums;
}
.vm-lb__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 1px solid currentColor;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background-color 300ms var(--vm-ease), color 300ms var(--vm-ease);
}
.vm-lb__close svg { width: 20px; height: 20px; }
.vm-lb__close:hover,
.vm-lb .vm-rail-btn:hover:not(:disabled) { background: var(--vm-lino); color: var(--vm-ink); }
.vm-lb .vm-rail-btn { color: var(--vm-lino); }
.vm-lb :focus-visible { outline: 2px solid var(--vm-lino); outline-offset: 3px; }
.vm-lb__stage {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.9rem;
	min-height: 0;
	margin: 0;
	padding: 0 var(--vm-gutter);
	touch-action: pan-y pinch-zoom;
}
.vm-lb__img {
	display: block;
	width: auto;
	height: auto;
	max-width: min(100%, 1600px);
	max-height: calc(100vh - 230px);
	max-height: calc(100svh - 230px);
	object-fit: contain;
	user-select: none;
	transition: opacity 300ms var(--vm-ease);
}
.vm-lb.is-loading .vm-lb__img { opacity: 0; }
.vm-lb__caption {
	font-family: var(--vm-serif);
	font-size: 1.125rem;
	font-style: italic;
	color: var(--vm-sabbia);
}
.vm-lb__nav {
	display: flex;
	justify-content: center;
	gap: 1rem;
	padding: 16px var(--vm-gutter) 24px;
}
.vm-lb__nav[hidden] { display: none; }
@media (min-width: 782px) {
	.vm-lb__img {
		max-width: min(calc(100vw - 2 * var(--vm-gutter) - 150px), 1600px);
		max-height: calc(100vh - 180px);
		max-height: calc(100svh - 180px);
	}
	.vm-lb__nav {
		position: absolute;
		top: 50%;
		left: 0;
		right: 0;
		justify-content: space-between;
		padding: 0 var(--vm-gutter);
		transform: translateY(-50%);
		pointer-events: none;
	}
	.vm-lb__nav .vm-rail-btn { pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.vm-lb__img,
	.vm-room-count { transition: none; }
}

/* Lake moment — the scrim keeps the statement ≥ 4.5:1 on light images
   (≥ 55% Notte behind the text, lighter towards the edges on desktop). */
.vm-moment { overflow: hidden; }
.vm-moment .wp-block-cover__background {
	opacity: 1 !important;
	background: rgba(22, 29, 31, 0.66) !important;
}
@media (min-width: 782px) {
	.vm-moment .wp-block-cover__background {
		background: radial-gradient(ellipse 75% 75% at 50% 50%, rgba(22, 29, 31, 0.66) 0%, rgba(22, 29, 31, 0.62) 60%, rgba(22, 29, 31, 0.38) 100%) !important;
	}
}
/* Direct Lake Access, mobile: full shade behind the eyebrow and heading (over the bright sky),
   lighter behind the paragraph and at the bottom so the golf cart shows through. */
@media (max-width: 781px) {
	.vm-moment.vm-parallax .wp-block-cover__background {
		background: linear-gradient(180deg, rgba(22, 29, 31, 0.66) 0%, rgba(22, 29, 31, 0.66) 44%, rgba(22, 29, 31, 0.45) 50%, rgba(22, 29, 31, 0.45) 85%, rgba(22, 29, 31, 0.35) 100%) !important;
	}
}
.vm-parallax .wp-block-cover__image-background { will-change: transform; }
.vm-moment { padding-block: var(--wp--preset--spacing--70); }
.vm-moment h2.vm-statement { max-width: 14ch; margin-block: 1.25rem 0; }
.wp-block-cover.vm-moment .vm-eyebrow { color: var(--vm-lino); }
.vm-moment__text {
	max-width: 34rem;
	margin: var(--wp--preset--spacing--40) auto 0 !important;
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.75;
}

/* Experiences */
.wp-block-columns.vm-tiles { column-gap: clamp(1.5rem, 3.5vw, 3.5rem); }
.vm-num {
	margin-bottom: 1.25rem;
	font-family: var(--vm-serif);
	font-size: 2.5rem;
	font-weight: 300;
	line-height: 1;
	color: var(--vm-ottone);
}
.vm-tile h3 { margin-block: 1.5rem 0.5rem; }
.vm-tile > * + * { margin-block-start: 0; }
@media (min-width: 1024px) {
	.vm-tiles > .vm-tile:nth-child(2) { margin-top: var(--wp--preset--spacing--70); }
}

/* Concierge & services: heading + line on the left, hairline list on the right. */
.vm-concierge {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	grid-template-rows: auto 1fr;
	column-gap: clamp(2rem, 7vw, 7rem);
	align-items: start;
	margin-top: var(--wp--preset--spacing--70) !important;
	padding-top: var(--wp--preset--spacing--60);
	border-top: 1px solid var(--vm-sabbia);
}
.vm-concierge > * { margin: 0 !important; grid-column: 1; }
.vm-concierge > h3 { margin-bottom: 1rem !important; }
.vm-concierge > .vm-services { grid-column: 2; grid-row: 1 / span 2; }
.vm-services {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(1.5rem, 4vw, 3.5rem);
	list-style: none;
	padding: 0;
}
.vm-services li {
	padding-block: 0.85rem;
	border-bottom: 1px solid var(--vm-sabbia);
	font-size: 0.8125rem;
	font-weight: 400;
	letter-spacing: 0.14em;
	line-height: 1.5;
	text-transform: uppercase;
}
.vm-services li:last-child { color: var(--vm-ottone-scuro); }
@media (max-width: 781.98px) {
	.vm-concierge { grid-template-columns: 1fr; }
	.vm-concierge > .vm-services { grid-column: 1; grid-row: auto; margin-top: 1.5rem !important; }
}
@media (max-width: 480px) {
	.vm-services { grid-template-columns: 1fr; }
}

/* -------------------------------------------------------------------------
 * Inner pages
 * ---------------------------------------------------------------------- */

/* Page hero: same treatment as the home hero, 70vh. */
.wp-block-cover.vm-page-hero {
	min-height: 70vh !important;
	min-height: 70svh !important;
	padding-top: 140px;
	padding-bottom: clamp(4rem, 10vh, 7rem);
	overflow: hidden;
}
.vm-page-hero .wp-block-cover__background {
	opacity: 1 !important;
	/* Soft shade behind the bottom-left title block, as on the homepage hero. */
	background:
		radial-gradient(ellipse 60% 55% at 15% 80%, rgba(22, 29, 31, 0.6), rgba(22, 29, 31, 0) 100%),
		linear-gradient(180deg, rgba(22, 29, 31, 0.55) 0%, rgba(22, 29, 31, 0.2) 35%, rgba(22, 29, 31, 0.35) 60%, rgba(22, 29, 31, 0.78) 100%) !important;
}
.vm-page-hero .wp-block-cover__inner-container { width: 100%; }
.wp-block-cover.vm-page-hero .vm-eyebrow { color: var(--vm-lino); }
.vm-page-title {
	font-size: var(--wp--preset--font-size--page-title) !important;
	font-weight: 300;
	line-height: 1.08;
	max-width: 16ch;
	margin-block: 1.25rem 1.25rem;
}
.vm-page-hero__lead {
	max-width: 34rem;
	font-family: var(--vm-serif);
	font-style: italic;
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.45;
}
@media (prefers-reduced-motion: no-preference) {
	.vm-page-hero .wp-block-cover__image-background { animation: vm-hero-zoom 2400ms var(--vm-ease-long) both; }
}

/* Legal pages (Privacy, Terms, Cookie Policy): default page template, 760px reading column. */
.vm-legal { margin-top: var(--wp--preset--spacing--40); }
.vm-legal__lead {
	margin: 0 auto 0.75rem !important;
	max-width: 40ch;
	text-align: center;
	text-wrap: balance;
	font-family: var(--vm-serif);
	font-style: italic;
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.4;
}
.vm-legal__meta { margin: 0 0 var(--wp--preset--spacing--60) !important; text-align: center; font-size: var(--wp--preset--font-size--small); color: var(--vm-nebbia); }
.vm-legal a { color: inherit; text-decoration: underline; text-decoration-color: var(--vm-sabbia); text-underline-offset: 0.25em; }
.vm-legal a:hover { color: var(--vm-ottone-scuro); text-decoration-color: currentColor; }
.vm-legal__toc { margin: 0 0 var(--wp--preset--spacing--60); padding-block: var(--wp--preset--spacing--40); border-block: 1px solid var(--vm-sabbia); }
.vm-legal__toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 2.5rem; }
.vm-legal__toc li { break-inside: avoid; padding-block: 0.25rem; font-size: var(--wp--preset--font-size--small); }
.vm-legal__toc a { text-decoration: none; }
.vm-legal h2 {
	max-width: none;
	margin: var(--wp--preset--spacing--60) 0 1rem !important;
	font-size: var(--wp--preset--font-size--card-title) !important;
	scroll-margin-top: calc(var(--vm-header-h) + 1.5rem);
}
.vm-legal h3 {
	margin: var(--wp--preset--spacing--40) 0 0.5rem !important;
	font-family: var(--vm-sans);
	font-size: var(--wp--preset--font-size--label) !important;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--vm-ottone-scuro);
}
.vm-legal p, .vm-legal li { line-height: 1.75; }
.vm-legal ul { padding-left: 1.1rem; }
.vm-legal li + li { margin-top: 0.4rem; }
.vm-legal__address { margin: 0 0 1rem; padding-left: 1rem; border-left: 1px solid var(--vm-sabbia); font-style: normal; line-height: 1.75; }
.vm-legal .vm-legal__table { margin-top: 1rem; }
.vm-legal .vm-legal__table th { text-align: left; font-size: var(--wp--preset--font-size--label); font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--vm-nebbia); padding: 0 1rem 0.6rem 0; }
.vm-legal .vm-placeholder { margin-top: 1rem !important; }
/* Official texts (legal/*.html): opening heading + lead centred, numbered lists as in the original. */
.vm-legal--original .vm-legal__welcome { margin-top: 0 !important; text-align: center; font-size: var(--wp--preset--font-size--section-title) !important; text-wrap: balance; }
.vm-legal--original .vm-legal__lead { margin-bottom: var(--wp--preset--spacing--60) !important; }
.vm-legal--original address { margin: 0 0 1.25rem; padding-left: 1rem; border-left: 1px solid var(--vm-sabbia); font-style: normal; line-height: 1.75; }
.vm-legal--original ol { padding-left: 1.5rem; }
.vm-legal--original ol ol { margin-top: 0.5rem; padding-left: 1.25rem; }
.vm-legal--original li::marker { color: var(--vm-ottone-scuro); font-size: 0.9em; }
@media (max-width: 599px) {
	.vm-legal__toc ol { columns: 1; }
	.vm-legal .vm-legal__table td { display: block; padding: 0.1rem 0 !important; border: 0 !important; text-align: left !important; width: auto !important; }
	.vm-legal .vm-legal__table td:first-child { font-size: var(--wp--preset--font-size--label); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--vm-nebbia); }
	.vm-legal .vm-legal__table tr { display: block; padding-block: 0.6rem; border-top: 1px solid var(--vm-sabbia); }
	.vm-legal .vm-legal__table thead { display: none; }
}

/* Webcam page: the live panorama (≈2:1) on Notte, under the transparent header. */
.wp-block-group.vm-webcam { padding-top: calc(var(--vm-header-h) + var(--wp--preset--spacing--70)) !important; }
.vm-webcam__title {
	margin: 1rem auto 1.25rem !important;
	max-width: none !important;
	font-size: clamp(2.25rem, 1.5rem + 3vw, 4rem) !important;
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: 0.08em;
	text-transform: uppercase; /* Approved title: "WEBCAM LAKE COMO". */
	color: var(--vm-lino);
}
.vm-webcam__lead { margin: 0 auto var(--wp--preset--spacing--60) !important; max-width: 52ch; text-wrap: balance; color: var(--vm-lino); }
.vm-webcam__frame { margin: 0 auto !important; }
.vm-webcam__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3840 / 1930;
	object-fit: cover;
	background: #2a3537; /* While the first frame loads. */
}
.vm-webcam__caption {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	margin-top: 0.9rem;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--vm-ottone-chiaro);
}
.vm-webcam__live { display: inline-flex; align-items: center; gap: 0.6rem; }
.vm-webcam__dot { width: 7px; height: 7px; border-radius: 50%; background: #c4553f; }
@media (prefers-reduced-motion: no-preference) {
	.vm-webcam__dot { animation: vm-webcam-pulse 2.4s var(--vm-ease) infinite; }
}
@keyframes vm-webcam-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.vm-webcam__status { letter-spacing: 0.08em; text-transform: none; font-weight: 400; color: var(--vm-lino); opacity: 0.8; }
.vm-webcam__status[hidden] { display: none; }
@media (max-width: 781px) { /* Phones and small tablets: the panorama runs edge to edge. */
	.vm-webcam__frame { margin-inline: calc(-1 * var(--wp--style--root--padding-left, 20px)) calc(-1 * var(--wp--style--root--padding-right, 20px)) !important; max-width: none !important; }
	.vm-webcam__caption { padding-inline: var(--wp--style--root--padding-left, 20px) var(--wp--style--root--padding-right, 20px); }
}
.vm-webcam-map__where { display: flex; align-items: baseline; gap: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--vm-sabbia); }
.vm-webcam-map__where .vm-contacts__label { flex: 0 0 auto; }
@media (max-width: 781px) {
	.vm-webcam-map__where { flex-direction: column; gap: 0.3rem; }
}

/* Discover Villa Molli (homepage): a 16:9 still with a play button; YouTube loads only on click. */
.vm-video-intro__title { margin: 0 auto var(--wp--preset--spacing--30) !important; }
.vm-video-intro__lead { margin: 0 auto var(--wp--preset--spacing--60) !important; max-width: 46ch; text-wrap: balance; }
.vm-video {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--vm-notte);
}
.vm-video__still,
.vm-video__frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.vm-video__still { object-fit: cover; transition: transform 1200ms var(--vm-ease-long); }
.vm-video::after { /* Soft shade so the button reads on the bright aerial shot. */
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 50% 50%, rgba(22, 29, 31, 0.32), rgba(22, 29, 31, 0) 45%);
	pointer-events: none;
}
.vm-video__play {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: clamp(4rem, 3rem + 4vw, 6rem);
	height: clamp(4rem, 3rem + 4vw, 6rem);
	border-radius: 50%;
	background: var(--vm-lino);
	background: color-mix(in srgb, var(--vm-lino) 92%, transparent);
	box-shadow: 0 0 0 10px color-mix(in srgb, var(--vm-lino) 22%, transparent); /* Soft halo ring, not a drop shadow. */
	color: var(--vm-notte);
	transform: translate(-50%, -50%);
	transition: background-color 300ms var(--vm-ease), color 300ms var(--vm-ease), box-shadow 300ms var(--vm-ease);
}
.vm-video__play svg { width: 32%; height: 32%; margin-left: 6%; fill: currentColor; }
.vm-video__play:hover { background-color: var(--vm-ottone-chiaro); color: var(--vm-notte); box-shadow: 0 0 0 14px color-mix(in srgb, var(--vm-ottone-chiaro) 25%, transparent); }
.vm-video__play:focus-visible { outline: 2px solid var(--vm-ottone-chiaro); outline-offset: 4px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.vm-video:hover .vm-video__still { transform: scale(1.02); }
}
.vm-video.is-playing::after,
.vm-video.is-playing .vm-video__play,
.vm-video.is-playing .vm-video__still { display: none; }

/* Hero background video (Itineraries): sits on the poster photo, fades in once playing. */
.vm-page-hero .vm-hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 900ms var(--vm-ease);
	pointer-events: none;
}
.vm-page-hero.is-playing .vm-hero-video { opacity: 1; }

/* Sound on/off: small outlined circle, bottom right, inside the hero's bottom padding. */
.vm-sound {
	position: absolute;
	z-index: 2;
	right: max(var(--vm-gutter), calc((100% - 1320px) / 2));
	bottom: 1.25rem;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	background: rgba(22, 29, 31, 0.25);
	color: var(--vm-lino);
	cursor: pointer;
	transition: border-color 300ms var(--vm-ease), background-color 300ms var(--vm-ease), color 300ms var(--vm-ease);
}
.vm-sound[hidden] { display: none; }
.vm-sound:hover { border-color: var(--vm-ottone-chiaro); color: var(--vm-ottone-chiaro); }
.vm-sound:focus-visible { outline: 2px solid var(--vm-ottone-chiaro); outline-offset: 3px; }
.vm-sound__icon { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.vm-sound__speaker { fill: currentColor; stroke: none; }
.vm-sound__waves { display: none; }
.vm-sound.is-on .vm-sound__waves { display: inline; }
.vm-sound.is-on .vm-sound__mute { display: none; }
@media (min-width: 782px) {
	.vm-sound { bottom: 2rem; }
}

/* Full-width page content: sections sit edge to edge, no gaps between them. */
.wp-block-post-content.vm-page-content { margin-block: 0; }
.wp-block-post-content.vm-page-content > * + * { margin-block-start: 0; }

/* Row of text links ("All services →  Itineraries →") */
.vm-link-row { display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem; margin-top: var(--wp--preset--spacing--60) !important; }
.vm-link-row > * { margin: 0 !important; }
.vm-link-row--center { justify-content: center; margin-top: var(--wp--preset--spacing--50) !important; }
.vm-itinerary-break .vm-more { margin-top: var(--wp--preset--spacing--40) !important; }

/* Gallery & Stories: link to the Instagram profile (page-gallery.php). A plain link, no embedded feed.
   Thin-line icon in Ottone scuro; the underline sits under the handle only, not under the icon. */
.vm-insta .vm-insta__link { margin-top: var(--wp--preset--spacing--50); }
.vm-insta__link a { gap: 0.75em; background: none; }
.vm-insta__icon { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--vm-ottone-scuro); stroke-width: 1.25; }
.vm-insta__dot { fill: var(--vm-ottone-scuro); stroke: none; }
.vm-insta__handle { padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }

/* Clearly marked "to be confirmed" note (remove once content is supplied). */
.vm-placeholder {
	max-width: 640px;
	padding: 0.9rem 1.1rem;
	border: 1px dashed var(--vm-ottone);
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--vm-nebbia);
	background: rgba(246, 241, 232, 0.6);
}
.vm-placeholder strong {
	display: block;
	margin-bottom: 0.2rem;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--vm-ottone-scuro);
}
.has-notte-background-color .vm-placeholder { background: transparent; color: rgba(246, 241, 232, 0.8); }
.has-notte-background-color .vm-placeholder strong { color: var(--vm-ottone-chiaro); }

/* Timeline (Our Story) reuses .vm-facts; give the year column room. */
.vm-timeline li { align-items: baseline; text-transform: none; letter-spacing: 0.01em; font-size: 0.9375rem; font-weight: 300; line-height: 1.6; }
.vm-timeline strong { min-width: 4.2em; }
@media (max-width: 599.98px) {
	.vm-timeline li { flex-direction: column; gap: 0.35rem; }
	.vm-timeline strong { min-width: 0; font-size: 1.75rem; }
}

/* Day-by-day itinerary */
.vm-days { border-top: 1px solid var(--vm-sabbia); }
.vm-day {
	display: flex;
	gap: clamp(1.5rem, 5vw, 5rem);
	padding-block: clamp(1.75rem, 3vw, 2.5rem);
	border-bottom: 1px solid var(--vm-sabbia);
}
.vm-days > .vm-day { margin: 0 !important; }
.vm-day__head { flex: 0 0 34%; margin: 0 !important; }
.vm-day__head > * { margin: 0 !important; }
.vm-day__num {
	font-family: var(--vm-sans);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--vm-ottone-scuro);
}
.vm-day__head h3 { margin-top: 0.5rem !important; max-width: 16ch; }
.vm-day__head > .vm-day__img { margin-top: 1.25rem !important; }
.vm-day__img img { display: block; width: 100%; height: auto; }
.vm-day__body { flex: 1 1 auto; max-width: 44rem; margin: 0 !important; }
.vm-day__body > p { margin: 0.55rem 0 0; }
.vm-day__body > p:first-child { margin-top: 0.15rem; }

/* Itinerary "at a glance" line */
.vm-glance {
	margin-top: 1.5rem !important;
	padding-top: 1rem;
	border-top: 1px solid var(--vm-sabbia);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	line-height: 1.9;
	text-transform: uppercase;
	color: var(--vm-ottone-scuro);
	max-width: 46rem !important;
}
.vm-day__body strong {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--vm-ottone-scuro);
	margin-right: 0.4em;
}
@media (max-width: 781.98px) {
	.vm-day { flex-direction: column; gap: 0.75rem; }
	.vm-day__head { flex-basis: auto; }
	.vm-day__head h3 { max-width: none; }
	.vm-day__head > .vm-day__img { margin: 1rem 0 0.5rem !important; }
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Services page: grid of tiles (no staggered offset), placeholder row */
.vm-tiles--grid + .vm-tiles--grid { margin-top: var(--wp--preset--spacing--60) !important; }
@media (min-width: 1024px) {
	.vm-tiles--grid > .vm-tile:nth-child(2) { margin-top: 0; }
}
.vm-placeholder-row { margin-top: var(--wp--preset--spacing--50) !important; }

/* Services: included vs on request */
.wp-block-columns.vm-service-cols { column-gap: clamp(2rem, 7vw, 7rem); justify-content: space-between; }
.vm-service-col > h3 { margin: 0 0 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--vm-ink); }
.vm-service-col > .vm-services { margin-top: 0; }
.vm-service-col > .vm-placeholder { margin-top: 1.5rem !important; }
.vm-service-note { color: var(--vm-nebbia); margin: 0 0 0.5rem !important; max-width: 36rem; }
.vm-services--single { grid-template-columns: 1fr; }
.vm-service-col--included .vm-services li {
	text-transform: none;
	letter-spacing: 0.01em;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.55;
	padding-block: 1rem;
}
.vm-service-col--included .vm-services li::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 1px;
	margin: 0 0.75rem 0.3em 0;
	background: var(--vm-ottone);
	vertical-align: middle;
}
.vm-services li:last-child { color: var(--vm-ottone-scuro); }
.vm-services--single li:last-child { color: inherit; }
/* Two-column "On request" list: an odd closing line spans both columns, so no empty cell is left. */
.vm-service-col .vm-services:not(.vm-services--single) li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.vm-concierge > h2 { margin-bottom: 1rem !important; }
.vm-section > .vm-concierge:first-child { margin-top: 0 !important; padding-top: 0; border-top: 0; }

/* Included in Your Stay: a small label per item, the details beneath */
.vm-service-col--included .vm-included li { padding-block: 1.1rem; color: var(--vm-ink); }
.vm-service-col--included .vm-included li::before { content: none; }
.vm-included strong {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.vm-included strong::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 1px;
	margin: 0 0.75rem 0.3em 0;
	background: var(--vm-ottone);
	vertical-align: middle;
}

/* Concierge: role line and discreet contact list */
.vm-role {
	margin-top: 0.5rem !important;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--vm-nebbia);
}
.vm-contacts {
	list-style: none;
	padding: 0;
	margin-block: 2rem 0 !important;
	border-top: 1px solid var(--vm-sabbia);
	max-width: 26rem;
}
.vm-contacts li {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	padding-block: 0.6rem;
	border-bottom: 1px solid var(--vm-sabbia);
}
.vm-contacts__label {
	flex: 0 0 5.5rem;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--vm-nebbia);
}
.vm-contacts a {
	display: inline-block;
	padding-block: 0.4rem;
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--vm-sabbia);
	text-underline-offset: 0.3em;
	overflow-wrap: anywhere;
}
.vm-contacts a:hover,
.vm-contacts a:focus-visible { text-decoration-color: currentColor; }
.vm-contacts__value { display: inline-block; padding-block: 0.4rem; }

/* Contacts page: contact list beside the illustrated map; a short Pietra note links to Request Availability. */
.vm-contacts--page { max-width: 30rem; }
.vm-contact__map .vm-map { margin: 0; }
.vm-contact__map .wp-element-caption {
	margin-top: 1rem;
	font-size: var(--wp--preset--font-size--small);
	color: var(--vm-nebbia);
	text-align: center;
}
.vm-contact__map .wp-element-caption a { color: inherit; text-underline-offset: 0.3em; padding-block: 0.75rem; }
.vm-contact-plan__lead { margin-top: var(--wp--preset--spacing--50) !important; margin-inline: auto; max-width: 38ch; }
.vm-contact-plan__lead a { white-space: nowrap; color: inherit; text-decoration: underline; text-decoration-color: var(--vm-ottone); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.vm-contact-plan__lead a:hover,
.vm-contact-plan__lead a:focus-visible { text-decoration-color: currentColor; }
/* Contacts page: "Get in touch" form, below a hairline, same fields as the Personal Enquiry form. */
.vm-contact-form__inner {
	border-top: 1px solid var(--vm-sabbia);
	padding-top: var(--wp--preset--spacing--70);
}
.vm-contact-form__title { margin: 0 auto var(--wp--preset--spacing--30) !important; }
.vm-contact-form__lead { margin: 0 auto var(--wp--preset--spacing--60) !important; max-width: 34ch; }
.vm-enquiry--contact .vm-enquiry__submit { text-align: center; }
.vm-enquiry--contact + * { margin-top: 0; }
.vm-contact-form .vm-enquiry__done { text-align: center; }
@media (max-width: 781.98px) {
	.vm-contact__map { max-width: 18rem; } /* Kept small and aligned with the text when stacked. */
}

/* Golf cart section (Services page): extra photos fade in slowly over the main one */
.vm-moment__slide { opacity: 0; transition: opacity 2400ms var(--vm-ease); }
.vm-moment__slide.is-active { opacity: 1; }
.vm-moment__aside {
	max-width: 30rem;
	margin: 1.25rem auto 0 !important;
	font-family: var(--vm-serif);
	font-style: italic;
	font-size: 1.25rem;
	line-height: 1.5;
}
@media (prefers-reduced-motion: reduce) {
	.vm-moment__slide { display: none; }
}

/* Itineraries: address tables */
.vm-addresses h3 { margin-top: var(--wp--preset--spacing--50); }
.vm-addresses .wp-block-column > h3:first-child { margin-top: 0; }
.vm-addresses .wp-block-table.vm-travel { margin-top: 1rem; }
.vm-addresses .wp-block-table.vm-travel td:last-child { width: 32%; }

/* Testimonial placeholder: visibly provisional until a real review is supplied. */
.vm-quote--placeholder p { opacity: 0.7; }
.vm-quote--placeholder cite::before { content: "[ "; }
.vm-quote--placeholder cite::after { content: " ]"; }

/* Photography placeholder label (added by JS to theme placeholder images only). */
.vm-has-ph { position: relative; }
.vm-ph-label {
	position: absolute;
	z-index: 3;
	right: 12px;
	bottom: 12px;
	max-width: calc(100% - 24px);
	padding: 5px 10px;
	overflow: hidden;
	background: rgba(22, 29, 31, 0.72);
	color: var(--vm-lino);
	font-family: var(--vm-sans);
	font-size: 0.625rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
	white-space: nowrap;
	text-overflow: ellipsis;
	pointer-events: none;
}
.wp-block-cover.vm-has-ph > .vm-ph-label { top: auto; bottom: 16px; right: var(--vm-gutter); max-width: 40%; }
.vm-hero.vm-has-ph > .vm-ph-label { bottom: 96px; }
.wp-lightbox-overlay .vm-ph-label { display: none; }

/* Discreet sister-villa line */
.vm-sister { font-size: 0.875rem; color: var(--vm-nebbia); }

/* Bedroom configuration note under the rail */
.vm-rail-note { margin-top: 1.5rem !important; color: var(--vm-nebbia); max-width: 640px; }
.vm-bedrooms .vm-link-row { margin-top: 1rem !important; }

/* Bedrooms page: one room per row (main photo + thumbnails), text beside it */
h2.vm-eyebrow--wide { max-width: none; text-wrap: balance; }
.vm-aside {
	margin-top: 1.75rem !important;
	font-family: var(--vm-serif);
	font-style: italic;
	font-size: 1.25rem;
	line-height: 1.5;
	max-width: 30rem;
}
.vm-room h3 { margin-block: 0.75rem 0; font-size: var(--wp--preset--font-size--section-title); font-weight: 300; }
.vm-room .vm-split__text p:not(.vm-card__num) { max-width: 30rem; }
.vm-room .vm-card__num { margin: 0; }
.vm-room-thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-top: 12px !important;
}
.vm-room-thumbs > figure { margin: 0 !important; }
.vm-room-thumb img { transition: opacity 300ms var(--vm-ease); }
.vm-room-thumb .vm-room-open:hover img { opacity: 0.85; }
.vm-room-pair .vm-room > .vm-card__num { margin-top: 1.5rem !important; }
.vm-room-pair .vm-room > h3 { margin-top: 0.5rem !important; }
.vm-room-pair .vm-room > p { max-width: 30rem; }
@media (max-width: 781.98px) {
	.vm-room--flip .vm-split__media { order: -1; }
	.vm-master-features { margin-top: var(--wp--preset--spacing--50) !important; }
	.vm-room-thumbs { gap: 8px; margin-top: 8px !important; }
	.vm-room-pair { row-gap: var(--wp--preset--spacing--60); }
}

/* Evening split */
.vm-evening.alignfull { padding-block: 0; }
.wp-block-columns.vm-bleed-split { gap: 0; margin-block: 0; }
.vm-bleed-split__media .vm-img { background: var(--vm-notte); }
@media (min-width: 782px) {
	.vm-bleed-split__media .vm-img img { aspect-ratio: 1 !important; }
}
.vm-bleed-split__text { padding: var(--wp--preset--spacing--70) var(--vm-gutter); }
.vm-bleed-split__text > * { max-width: 30rem; }

/* Testimonial */
.wp-block-quote.vm-quote {
	border: 0;
	padding: 0;
	margin: 0 auto;
	text-align: center;
}
.vm-quote p {
	font-family: var(--vm-serif);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3rem);
	line-height: 1.3;
}
.vm-quote cite {
	display: block;
	margin-top: 2rem;
	font-family: var(--vm-sans);
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--vm-ottone-chiaro);
}

/* Guest reviews slider (homepage). Without JS the reviews stack; with JS they share
   one grid cell, so the section keeps the height of the longest review (no jumps). */
h2.vm-eyebrow.vm-reviews-title {
	margin: 0 auto !important;
	max-width: none !important;
	font-size: clamp(0.85rem, 0.75rem + 0.3vw, 1rem);
	letter-spacing: 0.24em;
	text-wrap: balance;
}
.vm-reviews-subtitle {
	margin: 0.75rem auto 0 !important;
	font-family: var(--vm-serif);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(1.15rem, 1.05rem + 0.3vw, 1.35rem);
	line-height: 1.4;
	color: var(--vm-lino);
	opacity: 0.7;
}
.vm-testimonial .vm-reviews-subtitle + .vm-ornament { margin-top: 2rem !important; }
.vm-reviews { margin-top: 0 !important; }
.vm-reviews > .vm-review + .vm-review { margin-top: var(--wp--preset--spacing--60) !important; }
.vm-review { max-width: 44rem; }
.vm-review p {
	font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.65rem);
	line-height: 1.45;
	margin: 0 0 0.6em !important;
	text-wrap: pretty;
}
.vm-review p:last-of-type { margin-bottom: 0 !important; }
.vm-review cite { margin-top: 2rem; line-height: 1.9; }
.vm-review cite > span { display: block; }
.vm-review__date { color: var(--vm-lino); opacity: 0.75; }
.vm-review__note { margin-top: 0.25rem; font-size: 0.65rem; letter-spacing: 0.16em; color: var(--vm-lino); opacity: 0.5; }
.vm-reviews.is-slider { display: grid; touch-action: pan-y; }
.vm-reviews:focus { outline: none; }
.vm-reviews:focus-visible { outline: 1px solid var(--vm-ottone-chiaro); outline-offset: 1rem; }
.vm-reviews.is-slider > .vm-review {
	grid-area: 1 / 1;
	align-self: center;
	margin: 0 auto !important;
	opacity: 0;
	visibility: hidden;
	transition: opacity 900ms ease, visibility 0s linear 900ms;
}
.vm-reviews.is-slider > .vm-review.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 900ms ease 150ms, visibility 0s;
}
.vm-reviews__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.25rem;
	margin-top: var(--wp--preset--spacing--50);
}
.vm-reviews__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--vm-lino);
	opacity: 0.55;
	cursor: pointer;
	transition: opacity 300ms ease;
}
.vm-reviews__btn:hover, .vm-reviews__btn:focus-visible { opacity: 1; }
.vm-reviews__btn svg { width: 22px; height: 22px; }
.vm-reviews__dots { display: flex; gap: 2px; }
.vm-reviews__dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.vm-reviews__dot::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--vm-lino);
	opacity: 0.3;
	transition: opacity 300ms ease, background-color 300ms ease;
}
.vm-reviews__dot:hover::before { opacity: 0.7; }
.vm-reviews__dot[aria-current="true"]::before { background: var(--vm-ottone-chiaro); opacity: 1; }
.vm-reviews__btn:focus-visible, .vm-reviews__dot:focus-visible { outline: 1px solid var(--vm-ottone-chiaro); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	.vm-reviews.is-slider > .vm-review, .vm-reviews.is-slider > .vm-review.is-active { transition: none; }
}

/* Location */
.wp-block-table.vm-travel { margin-top: 2.25rem; }
.wp-block-table.vm-travel table { width: 100%; border-collapse: collapse; }
.wp-block-table.vm-travel td {
	border: 0;
	border-bottom: 1px solid var(--vm-sabbia);
	padding: 0.95rem 0;
	font-size: 0.9375rem;
	font-weight: 400;
}
.wp-block-table.vm-travel tr:first-child td { border-top: 1px solid var(--vm-sabbia); }
.wp-block-table.vm-travel td:last-child { text-align: right; color: var(--vm-nebbia); font-variant-numeric: tabular-nums; }
.wp-block-table.vm-travel figcaption { margin-top: 0.75rem; text-align: left; font-size: 0.8125rem; color: var(--vm-nebbia); }
.vm-map { background: var(--vm-pietra); }

/* Gallery collage */
.vm-collage {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-auto-rows: clamp(56px, 6.2vw, 92px);
	gap: clamp(0.75rem, 1.5vw, 1.5rem);
}
.vm-collage > * { margin: 0 !important; }
.vm-collage figure.vm-img img { width: 100%; height: 100%; object-fit: cover; }
.vm-collage > :nth-child(1) { grid-column: 1 / 6; grid-row: 2 / 7; }
.vm-collage > :nth-child(2) { grid-column: 6 / 9; grid-row: 1 / 4; }
.vm-collage > :nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 3; }
.vm-collage > :nth-child(4) { grid-column: 9 / 13; grid-row: 3 / 7; }
.vm-collage > :nth-child(5) { grid-column: 6 / 9; grid-row: 4 / 7; }
@media (max-width: 781.98px) {
	.vm-collage { grid-template-columns: 1fr 1fr; grid-auto-rows: 26vw; }
	.vm-collage > :nth-child(1) { grid-column: 1 / 3; grid-row: span 3; }
	.vm-collage > :nth-child(2) { grid-column: 1 / 2; grid-row: span 2; }
	.vm-collage > :nth-child(3) { grid-column: 2 / 3; grid-row: span 2; }
	.vm-collage > :nth-child(4) { grid-column: 1 / 3; grid-row: span 2; }
	.vm-collage > :nth-child(5) { display: none; }
}

/* Gallery page: editorial rows. Each row has a fixed proportion and its photos
   fill it (cropped with object-position); captions sit below. Stacked on phones. */
.vm-gal__grid {
	display: flex;
	flex-direction: column;
	gap: clamp(1.25rem, 2.6vw, 2.5rem);
	margin-top: var(--wp--preset--spacing--50) !important;
}
.vm-gal__grid > .vm-gal__row { margin: 0 !important; }
.vm-gal__row { display: grid; grid-template-rows: minmax(0, 1fr); gap: clamp(1rem, 1.8vw, 1.75rem); }
.vm-gal__row > * { margin: 0 !important; min-width: 0; min-height: 0; }
.vm-gal__row--full { grid-template-columns: 1fr; aspect-ratio: 2.2; }
.vm-gal__row--75 { grid-template-columns: 7fr 5fr; aspect-ratio: 1.9; }
.vm-gal__row--57 { grid-template-columns: 5fr 7fr; aspect-ratio: 1.9; }
.vm-gal__row--84 { grid-template-columns: 8fr 4fr; aspect-ratio: 2.17; }
.vm-gal__row--66 { grid-template-columns: 1fr 1fr; aspect-ratio: 2.47; }
.vm-gal__row--444 { grid-template-columns: repeat(3, 1fr); aspect-ratio: 2.44; }
.vm-gal__item { display: flex; flex-direction: column; height: 100%; }
/* The photo is positioned inside its link so its own size never stretches the row. */
.vm-gal__item .vm-gal__open { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; }
.vm-gal__item .vm-gal__open img { position: absolute; inset: 0; }
.vm-gal__item img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 1600ms var(--vm-ease-long, ease);
}
.vm-gal__item .vm-gal__open:hover img { transform: scale(1.025); }
.vm-gal__item figcaption {
	margin: 0.75rem 0 0 !important;
	font-family: var(--vm-sans);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	line-height: 1.4;
	text-transform: uppercase;
	text-align: left;
	color: var(--vm-ottone-scuro);
}
@media (prefers-reduced-motion: reduce) {
	.vm-gal__item img { transition: none; }
	.vm-gal__item .vm-gal__open:hover img { transform: none; }
}
@media (max-width: 781.98px) {
	.vm-gal__row { grid-template-columns: 1fr !important; aspect-ratio: auto !important; }
	.vm-gal__item { height: auto; }
	.vm-gal__item .vm-gal__open img { position: static; }
	.vm-gal__item img { height: auto !important; }
	.vm-gal__item--land img { aspect-ratio: 3 / 2; }
	.vm-gal__item--pano img { aspect-ratio: 16 / 9; }
	/* Portraits narrower and alternating sides, for a less regular rhythm. */
	.vm-gal__item--port { width: 78%; justify-self: end; }
	.vm-gal__item--port img { aspect-ratio: 4 / 5; }
	.vm-gal__row--57 > .vm-gal__item--port { justify-self: start; }
	/* Three portraits: the first full width (4:3), the other two side by side. */
	.vm-gal__row--444 { grid-template-columns: 1fr 1fr !important; }
	.vm-gal__row--444 > .vm-gal__item--port { width: auto; justify-self: stretch; }
	.vm-gal__row--444 > :first-child { grid-column: 1 / -1; }
	.vm-gal__row--444 > :first-child img { aspect-ratio: 4 / 3; }
}

/* Request Availability page: two paths, editorial split (text left, form or
   booking engine right), hairline fields, no boxes. Stacked below 782px. */
.vm-request__split { gap: clamp(2rem, 6vw, 6rem) !important; }
.vm-request__intro > * { max-width: 30rem; }
.vm-request__intro h3 {
	margin-top: var(--wp--preset--spacing--50) !important;
	font-family: var(--vm-sans);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--vm-ottone-scuro);
}
.vm-request__intro .wp-block-table.vm-travel { margin-top: 0.75rem; }
.vm-request__note {
	font-family: var(--vm-serif);
	font-style: italic;
	font-size: 1.15rem;
	line-height: 1.5;
	color: var(--vm-ottone-scuro);
}
.vm-enquiry { margin: 0; }
.vm-enquiry__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.75rem 2rem;
}
.vm-field { margin: 0 !important; display: flex; flex-direction: column; min-width: 0; }
.vm-field--full { grid-column: 1 / -1; }
.vm-field label {
	font-family: var(--vm-sans);
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--vm-ottone-scuro);
	margin-bottom: 0.5rem;
}
.vm-field__opt { letter-spacing: 0.08em; text-transform: none; font-weight: 400; color: var(--vm-ink); opacity: 0.55; }
.vm-field input,
.vm-field select,
.vm-field textarea {
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
	padding: 0.55rem 0;
	border: 0;
	border-bottom: 1px solid var(--vm-sabbia);
	border-radius: 0;
	background: transparent;
	font-family: var(--vm-sans);
	font-size: 1rem;
	line-height: 1.5;
	color: var(--vm-ink);
	transition: border-color 300ms var(--vm-ease);
	-webkit-appearance: none;
	appearance: none;
}
.vm-field select {
	padding-right: 1.5rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237A6239' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 0.2rem center / 12px 8px;
}
.vm-field input[type="date"] { min-height: 2.6rem; }
.vm-field textarea { resize: vertical; min-height: 7rem; }
.vm-field input:focus,
.vm-field select:focus,
.vm-field textarea:focus { outline: none; border-bottom-color: var(--vm-ink); }
.vm-field input:focus-visible,
.vm-field select:focus-visible,
.vm-field textarea:focus-visible { box-shadow: 0 1px 0 0 var(--vm-ink); }
.vm-field ::placeholder { color: var(--vm-ink); opacity: 0.4; }
.vm-enquiry__hint {
	font-family: var(--vm-serif);
	font-style: italic;
	font-size: 1.05rem;
	line-height: 1.5;
	color: var(--vm-ottone-scuro);
}
.vm-enquiry__hint[hidden] { display: none; }
.vm-enquiry__consent { margin: 2rem 0 0 !important; font-size: 0.9rem; line-height: 1.6; }
.vm-enquiry__consent label { display: flex; gap: 0.75rem; align-items: flex-start; cursor: pointer; }
.vm-enquiry__consent input { width: 1rem; height: 1rem; margin: 0.3rem 0 0; accent-color: var(--vm-ink); flex: 0 0 auto; }
.vm-enquiry__submit { margin: 2rem 0 0 !important; }
.vm-enquiry__btn {
	display: inline-block;
	padding: 1.05rem 2.4rem;
	border: 1px solid var(--vm-ink);
	border-radius: 0;
	background: var(--vm-ink);
	color: var(--vm-lino);
	font-family: var(--vm-sans);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 300ms var(--vm-ease), color 300ms var(--vm-ease);
}
.vm-enquiry__btn:hover,
.vm-enquiry__btn:focus-visible { background: transparent; color: var(--vm-ink); }
.vm-enquiry__btn:focus-visible { outline: 2px solid var(--vm-ink); outline-offset: 3px; }
.vm-enquiry__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vm-enquiry__error {
	margin: 0 0 2rem !important;
	padding-left: 1rem;
	border-left: 1px solid var(--vm-ottone);
	font-family: var(--vm-serif);
	font-style: italic;
	font-size: 1.1rem;
	color: var(--vm-ink);
}
.vm-enquiry__done { padding-top: 0.5rem; }
.vm-enquiry__done:focus { outline: none; }
.vm-enquiry__done-title {
	margin: 0 0 0.75rem !important;
	font-family: var(--vm-serif);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
	line-height: 1.2;
}
/* Smoobu embeds */
.vm-smoobu { min-width: 0; }
.vm-smoobu__label {
	margin: 0 0 1rem !important;
	font-family: var(--vm-sans);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--vm-ottone-scuro);
}
.vm-smoobu__calendar { margin: 0 0 var(--wp--preset--spacing--60); min-height: 300px; overflow-x: auto; }
.vm-smoobu__engine { min-height: 520px; }
.vm-smoobu__engine iframe { display: block; width: 100% !important; border: 0; }
.vm-smoobu__fallback { margin-top: 1rem !important; font-size: 0.85rem; opacity: 0.7; }
/* The Smoobu calendar draws inside the page: bring it closer to the site's type and colours. */
.vm-smoobu .calendarWidget,
.vm-smoobu .calendarWidget * { font-family: var(--vm-sans) !important; }
.vm-smoobu .calendarWidget h2 {
	font-family: var(--vm-serif) !important;
	font-style: italic;
	font-weight: 300 !important;
	text-transform: none !important;
	color: var(--vm-ink) !important;
}
.vm-smoobu .multiCalendarWidget { background: transparent !important; padding-left: 0 !important; padding-right: 0 !important; }
.vm-smoobu .calendarWidget td { color: var(--vm-ink) !important; }
/* Booked nights (Smoobu: td.normal; changeover days: td.arrival / td.departure). */
.vm-smoobu .calendarWidget.vm-smoobu__calendar .singleCalendarWidget table td.normal { background: var(--vm-sabbia) !important; color: rgba(31, 41, 43, 0.45) !important; }
.vm-smoobu .calendarWidget.vm-smoobu__calendar .singleCalendarWidget table td.arrival { background: linear-gradient(to right bottom, transparent 50%, var(--vm-sabbia) 50%) !important; }
.vm-smoobu .calendarWidget.vm-smoobu__calendar .singleCalendarWidget table td.departure { background: linear-gradient(to right bottom, var(--vm-sabbia) 50%, transparent 50%) !important; }
.vm-smoobu .calendarWidget.vm-smoobu__calendar .singleCalendarWidget table td.current-day { outline: 1px solid var(--vm-ottone) !important; outline-offset: -1px; box-shadow: none !important; border-color: transparent !important; }
.vm-smoobu__legend { margin: -2.5rem 0 var(--wp--preset--spacing--60) !important; font-size: 0.85rem; opacity: 0.75; }
.vm-smoobu__legend::before { content: ""; display: inline-block; width: 0.8rem; height: 0.8rem; margin-right: 0.5rem; vertical-align: -0.1rem; background: var(--vm-sabbia); }
@media (max-width: 781.98px) {
	.vm-enquiry__grid { grid-template-columns: 1fr; gap: 1.5rem; }
	.vm-request__intro > * { max-width: none; }
	.vm-enquiry__btn { width: 100%; }
}

/* Enquire + Smoobu slot */
.vm-enquire .wp-block-cover__inner-container > * { margin-inline: auto; }
/* Booking shade: full strength behind the text, lighter elsewhere so the villa reads through. */
.vm-enquire .wp-block-cover__background {
	opacity: 1 !important;
	background: radial-gradient(ellipse 45% 60% at 50% 52%, rgba(22, 29, 31, 0.8) 0%, rgba(22, 29, 31, 0.8) 75%, rgba(22, 29, 31, 0.55) 100%) !important;
}
@media (max-width: 781px) {
	/* Mobile: dark bands only behind the two small brass lines (eyebrow, facts line). */
	.vm-enquire .wp-block-cover__background {
		background: linear-gradient(180deg, rgba(22, 29, 31, 0.4) 0%, rgba(22, 29, 31, 0.8) 14%, rgba(22, 29, 31, 0.8) 30%, rgba(22, 29, 31, 0.6) 37%, rgba(22, 29, 31, 0.6) 54%, rgba(22, 29, 31, 0.8) 58%, rgba(22, 29, 31, 0.8) 73%, rgba(22, 29, 31, 0.45) 88%) !important;
	}
}
.vm-facts-line {
	margin-top: 1.75rem !important;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--vm-ottone-chiaro);
}
.vm-enquire .wp-block-buttons { margin-top: var(--wp--preset--spacing--50) !important; }
.vm-booking-slot {
	margin-top: var(--wp--preset--spacing--60) !important;
	padding: clamp(1.25rem, 4vw, 3rem);
	background: var(--vm-pietra);
	color: var(--vm-ink);
	text-align: left;
	font-weight: 300;
}
.vm-booking-slot:empty { display: none; }
.vm-booking-slot iframe { display: block; width: 100%; min-height: 640px; border: 0; }

/* -------------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------------- */

/* Pietra closing band, Inchiostro type: brand · contacts · the property, then the
   operating company with the Famiglia Molli mark, then © and legal links.
   A single hairline on top keeps it apart from pages that end on Pietra. */
.wp-block-group.vm-footer {
	margin-block-start: 0;
	padding-block: var(--wp--preset--spacing--80) var(--wp--preset--spacing--50);
	background: var(--vm-pietra);
	color: var(--vm-ink);
	border-top: 1px solid var(--vm-sabbia);
}
.vm-footer a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 0.3em;
	transition: text-decoration-color 300ms var(--vm-ease), color 300ms var(--vm-ease);
}
.vm-footer a:hover, .vm-footer a:focus-visible { color: var(--vm-ottone-scuro); text-decoration-color: currentColor; }
.vm-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--wp--preset--spacing--60) clamp(2rem, 5vw, 6rem);
	align-items: start;
}
.vm-footer__logo { display: inline-block; text-decoration: none !important; }
.vm-footer__logo img { display: block; width: 220px; max-width: 100%; height: auto; }
.vm-footer__wordmark { font-family: var(--vm-serif); font-size: 2rem; letter-spacing: 0.14em; text-transform: uppercase; }
.vm-footer__lead {
	max-width: 26ch;
	margin: var(--wp--preset--spacing--40) 0 0;
	font-family: var(--vm-serif);
	font-style: italic;
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.4;
}
.vm-footer__label {
	margin: 0.4rem 0 1.1rem;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--vm-ottone-scuro);
}
.vm-footer__list { list-style: none; margin: 0; padding: 0; }
.vm-footer__list li + li { margin-top: 0.45rem; }
.vm-footer__list a { display: inline-block; padding-block: 0.15rem; }
.vm-footer__social { display: flex; align-items: baseline; gap: 0.6rem; }
.vm-footer__social span[aria-hidden] { color: var(--vm-nebbia); }
.vm-footer__address { font-style: normal; line-height: 1.75; }
.vm-footer__name { display: block; font-family: var(--vm-serif); font-size: var(--wp--preset--font-size--card-title); line-height: 1.2; margin-bottom: 0.35rem; }
.vm-footer__code { margin: 1rem 0 0; font-size: var(--wp--preset--font-size--small); color: var(--vm-nebbia); }
.vm-footer__code span { font-weight: 500; letter-spacing: 0.14em; margin-right: 0.4em; color: var(--vm-ink); }
.vm-footer__company {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--60);
	margin-top: var(--wp--preset--spacing--70);
	padding-top: var(--wp--preset--spacing--50);
	border-top: 1px solid var(--vm-sabbia);
}
.vm-footer__operated { margin: 0; max-width: 62ch; font-size: var(--wp--preset--font-size--small); line-height: 1.7; color: var(--vm-nebbia); }
.vm-footer__operated strong { font-weight: 500; color: var(--vm-ink); }
.vm-footer__family { flex: 0 0 auto; }
.vm-footer__family img { display: block; width: 96px; height: auto; mix-blend-mode: multiply; } /* The mark sits on white: let Pietra show through. */
.vm-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem 2rem;
	margin-top: var(--wp--preset--spacing--40);
	font-size: var(--wp--preset--font-size--small);
	color: var(--vm-nebbia);
}
.vm-footer__bottom p { margin: 0; }
.vm-footer__legal-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
@media (max-width: 1023px) {
	.vm-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.vm-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
	.vm-footer__top { grid-template-columns: minmax(0, 1fr); gap: var(--wp--preset--spacing--50); }
	.vm-footer__logo img { width: 180px; }
	.vm-footer__company { flex-direction: column-reverse; align-items: flex-start; }
	.vm-footer__family img { width: 84px; }
	.vm-footer__bottom { flex-direction: column; }
}
/* Mobile sticky booking bar */
.vm-sticky-cta {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	padding: 10px var(--vm-gutter) calc(10px + env(safe-area-inset-bottom));
	background: rgba(246, 241, 232, 0.96);
	border-top: 1px solid var(--vm-sabbia);
	transform: translateY(110%);
	visibility: hidden;
	transition: transform 600ms var(--vm-ease), visibility 0s linear 600ms;
}
.vm-sticky-cta.is-visible { transform: none; visibility: visible; transition: transform 600ms var(--vm-ease); }
.vm-sticky-cta .wp-block-button__link { padding-block: 16px; }
html.has-modal-open .vm-sticky-cta { visibility: hidden; }
@media (min-width: 1200px) { .vm-sticky-cta { display: none; } }
.vm-request-page .vm-sticky-cta { display: none; } /* Already on the Request Availability page. */

/* -------------------------------------------------------------------------
 * Motion
 * ---------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
	.js .vm-reveal {
		opacity: 0;
		transform: translateY(24px);
		transition: opacity 1100ms var(--vm-ease-long), transform 1100ms var(--vm-ease-long);
		transition-delay: var(--vm-delay, 0ms);
	}
	.js .vm-reveal.is-in,
	.js .wp-lightbox-overlay .vm-reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@keyframes vm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes vm-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
/* Hero zoom only: the photo is visible from the first frame (no fade from opacity 0), so it
   shows as soon as it arrives. Performance phase 4, Nov 2026. */
@keyframes vm-hero-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes vm-cue {
	0% { transform: scaleY(0); opacity: 0; }
	30% { transform: scaleY(1); opacity: 1; }
	70% { transform: scaleY(1); opacity: 1; }
	100% { transform: scaleY(1) translateY(12px); opacity: 0; }
}
