/* =========================================================================
   Ponte Villas — global CSS (Elementor Phase 1)
   Loaded by wp-content/mu-plugins/ponte-villas-global.php

   SCOPE — this file is deliberately limited to the things Elementor free
   and XPro cannot express through their own controls:
     1. exact viewport-centred header logo
     2. fixed header + scrolled / no-hero colour state
     3. full-screen menu overlay behaviour
     4. body scroll lock
     5. safe-area + admin-bar offsets
     6. reduced motion
     7. accessibility fixes (focus ring, sr-only)
   Everything else (layout, spacing, colour, type) is set with Elementor
   controls and the Global Colours / Global Fonts in kit 56.

   Colour values reference Elementor global colour variables where possible;
   the hex after the comma is the fallback used before the kit CSS loads.
   ========================================================================= */

:root {
	--pv-ease: cubic-bezier(.22, 1, .36, 1);
	--pv-gutter: clamp(1.2rem, 5vw, 4.5rem);
	--pv-admin-bar: 0px;
	--pv-header-h: 96px;
}

body.admin-bar { --pv-admin-bar: 32px; }

@media screen and (max-width: 782px) {
	body.admin-bar { --pv-admin-bar: 46px; }
}

/* Accessibility -------------------------------------------------------- */

:focus-visible {
	outline: 2px solid var(--e-global-color-secondary, #7E9481);
	outline-offset: 3px;
}

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

/* 1-2. Header ---------------------------------------------------------- */

.pv-header {
	position: fixed;
	left: 0;
	right: 0;
	top: var(--pv-admin-bar);
	z-index: 900;
	padding-top: calc(1.5rem + env(safe-area-inset-top, 0px));
	padding-bottom: 1.5rem;
	border-bottom: 1px solid transparent;
	background: transparent;
	transition: background .55s var(--pv-ease), padding .55s var(--pv-ease), border-color .55s var(--pv-ease);
}

.pv-header-inner {
	width: 100%;
	padding-inline: var(--pv-gutter);
}

/* Controls sit above the absolutely-centred brand. */
.pv-header-inner > .elementor-element { position: relative; z-index: 2; }

/* 1. Logo centred against the viewport, not against the flex row. */
.pv-header .pv-brand {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	margin: 0;
	width: auto;
}

.pv-header .pv-brand img {
	height: 80px;
	width: auto;
	filter: brightness(0) invert(1);
	transition: height .55s var(--pv-ease), filter .55s var(--pv-ease);
}

.pv-ctrl {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	min-height: 44px;
	font-family: "DM Sans", Arial, sans-serif;
	font-size: .68rem;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--e-global-color-ondark, #F1EFE9);
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	transition: color .55s var(--pv-ease), opacity .3s var(--pv-ease);
}

/* Phase 5A.1: the Elementor kit's own global button style
   (".elementor-kit-56 button") targets every raw <button>, including these
   HTML-widget controls, and its class+tag specificity (0,1,1) beats a bare
   ".pv-ctrl" (0,1,0) — the prototype's "no filled background" control was
   rendering as a filled kit-coloured block. These two-class selectors
   (0,2,0) win without the escape hatch. */
.pv-header .pv-ctrl,
.pv-menu .pv-ctrl {
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
}

.pv-ctrl:hover { opacity: .62; }

.pv-burger {
	display: inline-block;
	width: 18px;
	height: 9px;
	position: relative;
}

.pv-burger::before,
.pv-burger::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 1px;
	background: currentColor;
	transition: transform .4s var(--pv-ease), top .4s var(--pv-ease), bottom .4s var(--pv-ease);
}

.pv-burger::before { top: 0; }
.pv-burger::after { bottom: 0; }

.pv-burger--x::before { top: 4px; transform: rotate(45deg); }
.pv-burger--x::after { bottom: 4px; transform: rotate(-45deg); }

/* Scrolled state (set by global.js past 40px). */
.pv-header.is-scrolled {
	background: var(--e-global-color-paper, #F4F2ED);
	border-bottom-color: rgba(43, 44, 40, .08);
	padding-top: calc(.9rem + env(safe-area-inset-top, 0px));
	padding-bottom: .9rem;
}

.pv-header.is-scrolled .pv-ctrl { color: var(--e-global-color-text, #2B2C28); }
.pv-header.is-scrolled .pv-brand img { height: 56px; filter: none; }

/* Pages without a dark hero: paper/ink from first paint.
   Phase 2 adds body class .pv-has-hero to opt a template into transparency. */
body:not(.pv-has-hero) .pv-header {
	background: var(--e-global-color-paper, #F4F2ED);
	border-bottom-color: rgba(43, 44, 40, .08);
}

body:not(.pv-has-hero) .pv-header .pv-ctrl { color: var(--e-global-color-text, #2B2C28); }
body:not(.pv-has-hero) .pv-header .pv-brand img { filter: none; }

/* The fixed header must not cover the first content of a non-hero page. */
body:not(.pv-has-hero) #content { padding-top: var(--pv-header-h); }

@media (max-width: 899px) {
	.pv-header .pv-brand img { height: 46px; }
	.pv-header.is-scrolled .pv-brand img { height: 38px; }
}

/* While the overlay is open the controls always sit on deep sage. */
body.pv-menu-open .pv-header,
body.pv-menu-open:not(.pv-has-hero) .pv-header {
	background: transparent;
	border-bottom-color: transparent;
}

/* Phase 5A.1: prototype has no logo and no second Menu/Book control visible
   once the overlay is open — the overlay's own Close is the only control.
   The header sits behind the overlay (z-index 900 < 1000) so this is purely
   a focus-order fix: without it, screen-reader/keyboard users could still
   reach the covered header controls. display/visibility, never removed
   from the DOM. */
body.pv-menu-open .pv-header .pv-ctrl,
body.pv-menu-open .pv-header .pv-brand {
	visibility: hidden;
}

/* 3-4. Full-screen menu overlay ---------------------------------------- */

.pv-menu {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: calc(5rem + env(safe-area-inset-top, 0px)) var(--pv-gutter) calc(2.5rem + env(safe-area-inset-bottom, 0px));
	opacity: 0;
	visibility: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	transition: opacity .55s var(--pv-ease), visibility .55s var(--pv-ease);
}

.pv-menu.is-open { opacity: 1; visibility: visible; }

/* Scroll lock is owned by the single lock manager in global.js: the body
   carries .pv-locked while the menu overlay OR the booking modal is open. */
body.pv-locked { overflow: hidden; }

.pv-menu-bar {
	position: absolute;
	top: calc(1.5rem + env(safe-area-inset-top, 0px) + var(--pv-admin-bar));
	left: var(--pv-gutter);
	right: var(--pv-gutter);
	width: auto;
}

.pv-menu-brand img { height: 46px; width: auto; filter: brightness(0) invert(1); }

/* Phase 5A: the overlay's four links now come from [pv_primary_menu]
   (wp_nav_menu) instead of four separate heading widgets, so the per-widget
   Elementor typography controls and .elementor-widget stagger hooks no
   longer apply to them and are replicated here. Values match the widgets'
   former settings exactly (Fraunces 64/48/34px, line-height 1.15em,
   color ondark). */
.pv-menu-links .pv-menu-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Phase 5A.1: the overlay never shows its own logo (prototype has none) —
   the header's own logo already reappears once the overlay closes. */
.pv-menu-brand {
	display: none;
}

.pv-menu-links .pv-menu-nav a {
	font-family: "Fraunces", serif;
	font-weight: 400;
	font-size: clamp(2rem, 7vw, 4rem);
	line-height: 1.12;
	color: var(--e-global-color-ondark, #F1EFE9);
}

.pv-menu-links a {
	display: inline-block;
	padding: .28rem 0;
	transform: translateY(110%);
	transition: transform .7s var(--pv-ease), opacity .4s var(--pv-ease);
}

.pv-menu-links .pv-menu-nav li { overflow: hidden; }
.pv-menu.is-open .pv-menu-links a { transform: translateY(0); }
.pv-menu.is-open .pv-menu-links .pv-menu-nav li:nth-child(1) a { transition-delay: .10s; }
.pv-menu.is-open .pv-menu-links .pv-menu-nav li:nth-child(2) a { transition-delay: .16s; }
.pv-menu.is-open .pv-menu-links .pv-menu-nav li:nth-child(3) a { transition-delay: .22s; }
.pv-menu.is-open .pv-menu-links .pv-menu-nav li:nth-child(4) a { transition-delay: .28s; }
.pv-menu.is-open .pv-menu-links .pv-menu-nav li:nth-child(5) a { transition-delay: .34s; }
.pv-menu-links a:hover { opacity: .6; }

/* Footer's internal-page link group, now rendered by [pv_footer_menu]
   instead of an icon-list widget. Spacing (14px) and colour (ondark) match
   the icon-list widget's former settings exactly; no hover effect existed
   on that widget, so none is added here. */
.pv-footer-col .pv-footer-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pv-footer-col .pv-footer-nav-list li:not(:last-child) { margin-bottom: .8rem; }

.pv-footer-col .pv-footer-nav-list a {
	display: inline-block;
	font-family: "DM Sans", Arial, sans-serif;
	font-size: .92rem;
	color: var(--e-global-color-ondark, #F1EFE9);
	opacity: .78;
	transition: opacity .3s var(--pv-ease);
}

.pv-footer-col .pv-footer-nav-list a:hover { opacity: 1; }

/* Phase 5A.1: prototype fidelity — footer grid, logo, brand copy, and
   Reservations/Find-us typography. */

#pv-footer-top-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 2.5rem;
	align-items: start;
	padding-bottom: 3rem;
}

#pv-footer-top-grid > * {
	width: auto;
}

@media (max-width: 900px) {
	#pv-footer-top-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
	#pv-footer-top-grid { grid-template-columns: 1fr; }
}

.pv-footer-brand .pv-footer-logo {
	width: 150px;
	max-width: 100%;
	height: auto;
	object-fit: contain;
	filter: brightness(0) invert(1);
	opacity: 1;
	margin-bottom: 1.2rem;
	align-self: flex-start;
}

.pv-footer-brand p {
	max-width: 26ch;
	font-size: .92rem;
	text-align: left;
}

.pv-footer-col h4,
.pv-footer-col .elementor-heading-title {
	margin-bottom: 1.3rem;
}

.pv-footer-col .elementor-icon-list-text {
	opacity: .78;
	transition: opacity .3s var(--pv-ease);
}

.pv-footer-col .elementor-icon-list-item:hover .elementor-icon-list-text {
	opacity: 1;
}

/* 5. Floating WhatsApp button, clear of the mobile browser toolbar ------ */

.pv-wa {
	position: fixed;
	left: 1.3rem;
	bottom: calc(1.3rem + env(safe-area-inset-bottom, 0px));
	z-index: 800;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #25D366;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform .35s var(--pv-ease);
}

.pv-wa:hover { transform: scale(1.07); }

/* Newsletter — honest placeholder, no fake success --------------------- */

.pv-newsletter {
	display: flex;
	align-items: center;
	border-bottom: 1px solid rgba(241, 239, 233, .22);
	width: min(100%, 22rem);
	max-width: 22rem;
	margin-inline: auto;
	background: none;
}

.pv-newsletter input {
	flex: 1;
	min-width: 0;
	background: none;
	border: 0;
	color: var(--e-global-color-ondark, #F1EFE9);
	padding: .75rem 0;
	font-family: "DM Sans", Arial, sans-serif;
	font-size: .95rem;
	outline: none;
}

.pv-newsletter input::placeholder { color: var(--e-global-color-ondarkmuted, rgba(241, 239, 233, .72)); }

.pv-newsletter button {
	font-family: "DM Sans", Arial, sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .2em;
	text-transform: uppercase;
	padding: .6rem 0 .6rem 1rem;
	min-height: 44px;
	color: var(--e-global-color-ondark, #F1EFE9);
	background: none;
	border: 0;
	cursor: pointer;
}

.pv-newsletter button:hover { opacity: .65; }

/* Same kit-button specificity fight as .pv-ctrl/.pv-btn-light above. */
.pv-band-cell .pv-newsletter {
	background: none;
	border: 0;
	border-bottom: 1px solid rgba(241, 239, 233, .22);
	border-radius: 0;
}

.pv-band-cell .pv-newsletter button {
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.pv-newsletter-note {
	font-family: "DM Sans", Arial, sans-serif;
	font-size: .8rem;
	color: var(--e-global-color-ondarkmuted, rgba(241, 239, 233, .72));
	margin: .9rem auto 0;
	text-align: center;
}

/* Band / footer buttons that live inside small HTML widgets ------------ */

.pv-btn-light {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: "DM Sans", Arial, sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	min-height: 48px;
	padding: 1.05rem 2.1rem;
	color: var(--e-global-color-primary, #4F6355);
	background: var(--e-global-color-ondark, #F1EFE9);
	border: 1px solid var(--e-global-color-ondark, #F1EFE9);
	border-radius: 0;
	cursor: pointer;
	transition: background .45s var(--pv-ease), color .45s var(--pv-ease);
}

.pv-btn-light:hover {
	background: transparent;
	color: var(--e-global-color-ondark, #F1EFE9);
}

/* Phase 5A.1: same Elementor-kit-button specificity conflict as .pv-ctrl
   above — "Check availability" was rendering with the kit's own button
   colour (matching the band background almost exactly) instead of the
   filled Paper/On Dark treatment. Scoped two-class overrides win cleanly. */
.pv-band-cell .pv-btn-light {
	background: var(--e-global-color-ondark, #F1EFE9);
	color: var(--e-global-color-primary, #4F6355);
	border: 1px solid var(--e-global-color-ondark, #F1EFE9);
	border-radius: 0;
	box-shadow: none;
}

.pv-band-cell .pv-btn-light:hover {
	background: transparent;
	color: var(--e-global-color-ondark, #F1EFE9);
	border-color: var(--e-global-color-ondark, #F1EFE9);
}

.pv-link-btn {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	text-align: left;
}

@media (max-width: 560px) {
	.pv-btn-light { width: 100%; }
}

/* 6. Reduced motion ---------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.pv-header,
	.pv-header .pv-brand img,
	.pv-menu,
	.pv-menu-links a,
	.pv-wa,
	.pv-ctrl,
	.pv-burger::before,
	.pv-burger::after {
		transition-duration: .001ms;
	}

	.pv-menu-links a { transform: none; }
}

/* 7. Elementor editor canvas ------------------------------------------
   Inside the editor the header must not be fixed and the overlay must not
   be hidden, otherwise neither can be selected or edited. Front end only
   sees the rules above; this block is scoped to the editor body class. */

body.elementor-editor-active .pv-header {
	position: relative;
	top: 0;
}

body.elementor-editor-active .pv-header .pv-brand {
	position: relative;
	left: auto;
	top: auto;
	transform: none;
}

body.elementor-editor-active .pv-menu {
	position: relative;
	inset: auto;
	opacity: 1;
	visibility: visible;
	min-height: 60vh;
}

body.elementor-editor-active .pv-menu-links a { transform: none; }

body.elementor-editor-active .pv-menu-bar {
	position: relative;
	top: auto;
	left: auto;
	right: auto;
}

body.elementor-editor-active .pv-wa { position: relative; left: auto; bottom: auto; }


/* 8. Booking modal (Phase 1.2) -----------------------------------------
   Authored as classic Elementor containers at the end of the XPro footer
   template; global.js promotes it to a direct child of <body> on load.
   Hidden at first paint and out of the tab order until .is-open. */

.pv-booking-modal {
	position: fixed;
	inset: 0;
	z-index: 1100;
	display: none;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: none;
	margin: 0;
	padding: calc(1rem + env(safe-area-inset-top, 0px)) 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
	background: rgba(43, 44, 40, .58);
}

.pv-booking-modal.is-open { display: flex; }

.pv-booking-dialog {
	width: 100%;
	max-width: 780px;
	max-height: 92vh;
	max-height: 92svh;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: clamp(1.4rem, 4vw, 2.6rem);
	background: var(--e-global-color-alabaster, #FAF9F6);
	color: var(--e-global-color-text, #2B2C28);
	border: 1px solid var(--e-global-color-line, rgba(43, 44, 40, .14));
}

.pv-booking-head {
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 0;
	margin-bottom: .5rem;
}

.pv-booking-dialog > .pv-booking-head {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: space-between;
}

#pv-booking-title {
	font-size: clamp(1.55rem, 3.4vw, 2.15rem);
	line-height: 1.12;
	margin: 0;
}

.pv-modal-close {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: -.4rem -.7rem 0 0;
	color: var(--e-global-color-text, #2B2C28);
	background: none;
	border: 0;
	cursor: pointer;
	transition: opacity .3s var(--pv-ease);
}

.pv-booking-head .pv-modal-close {
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	background: none;
	color: var(--e-global-color-text, #2B2C28);
	border: 0;
}

.pv-booking-head .pv-modal-close svg {
	width: 15px;
	height: 15px;
	flex: none;
}

.pv-modal-close:hover { opacity: .6; }

.pv-booking-desc {
	max-width: 46ch;
	margin-bottom: 1.5rem;
	color: var(--e-global-color-muted, #6B6A63);
}

.pv-bf-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem 1.4rem;
	margin: 0 0 1.15rem;
}

.pv-bf-field {
	display: flex;
	flex-direction: column;
	gap: .45rem;
	margin: 0;
	min-width: 0;
}

.pv-bf-field > label,
.pv-bf-label {
	font-family: "DM Sans", Arial, sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--e-global-color-muted, #6B6A63);
}

.pv-bf-opt { text-transform: none; letter-spacing: 0; }

.pv-booking-form input[type="date"],
.pv-booking-form input[type="text"] {
	width: 100%;
	min-width: 0;
	min-height: 48px;
	padding: .7rem .85rem;
	font-family: "DM Sans", Arial, sans-serif;
	font-size: 1rem;
	color: var(--e-global-color-text, #2B2C28);
	background: var(--e-global-color-paper, #F4F2ED);
	border: 1px solid var(--e-global-color-line, rgba(43, 44, 40, .14));
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}

.pv-booking-form input:focus-visible { border-color: var(--e-global-color-secondary, #7E9481); }

.pv-stepper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 48px;
	padding: 0 .35rem;
	background: var(--e-global-color-paper, #F4F2ED);
	border: 1px solid var(--e-global-color-line, rgba(43, 44, 40, .14));
}

.pv-step {
	flex: none;
	width: 44px;
	height: 44px;
	font-size: 1.15rem;
	line-height: 1;
	color: var(--e-global-color-primary, #4F6355);
	background: none;
	border: 0;
	cursor: pointer;
	transition: color .3s var(--pv-ease);
}

.pv-step:hover { color: var(--e-global-color-secondary, #7E9481); }

.pv-step-val {
	font-family: "DM Sans", Arial, sans-serif;
	font-size: 1rem;
	min-width: 2ch;
	text-align: center;
}

.pv-bf-status {
	margin: 0 0 1.1rem;
	padding: .75rem .9rem;
	font-family: "DM Sans", Arial, sans-serif;
	font-size: .875rem;
	color: var(--e-global-color-text, #2B2C28);
	background: var(--e-global-color-accent, #B7C4B2);
}

.pv-bf-status[hidden] { display: none; }

.pv-booking-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	padding: 1rem 2.1rem;
	font-family: "DM Sans", Arial, sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--e-global-color-ondark, #F1EFE9);
	background: var(--e-global-color-primary, #4F6355);
	border: 1px solid var(--e-global-color-primary, #4F6355);
	cursor: pointer;
	transition: background .45s var(--pv-ease), color .45s var(--pv-ease);
}

.pv-booking-submit:hover {
	background: transparent;
	color: var(--e-global-color-primary, #4F6355);
}

.pv-booking-help {
	margin: 1.05rem 0 0;
	font-size: .8rem;
	color: var(--e-global-color-muted, #6B6A63);
}

.pv-booking-help a { color: inherit; text-decoration: underline; }

/* Single column, full-width CTA, safe-area bottom padding on small screens. */
@media (max-width: 640px) {
	.pv-bf-row { grid-template-columns: 1fr; }

	.pv-booking-modal { padding-left: .75rem; padding-right: .75rem; }

	.pv-booking-dialog {
		padding: 1.3rem 1.1rem calc(1.4rem + env(safe-area-inset-bottom, 0px));
	}
}

@media (prefers-reduced-motion: reduce) {
	.pv-modal-close,
	.pv-booking-submit,
	.pv-step { transition-duration: .001ms; }
}

/* Editor canvas: the modal must be visible and in flow to be edited. */
body.elementor-editor-active .pv-booking-modal {
	position: relative;
	inset: auto;
	display: flex;
	padding: 2rem 1rem;
	background: rgba(43, 44, 40, .1);
}

body.elementor-editor-active .pv-booking-dialog { max-height: none; }
/* 9. Reveal utility (Phase 3A.1) ---------------------------------------
   Shared by every template. Add .pv-reveal to any element, optionally with
   .pv-reveal-delay-1/2/3 for a small stagger inside one group.

   Gated on html.pv-js, which ponte_villas_js_class() sets in wp_head before
   first paint. Without JavaScript the class never appears, the rules below
   never match, and every element is simply visible — nothing is hidden and
   there is no flash. Never put .pv-reveal on a hero or any LCP image. */

.pv-js .pv-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 1s var(--pv-ease), transform 1s var(--pv-ease);
}

.pv-js .pv-reveal.is-in { opacity: 1; transform: none; }

.pv-js .pv-reveal-delay-1 { transition-delay: .08s; }
.pv-js .pv-reveal-delay-2 { transition-delay: .16s; }
.pv-js .pv-reveal-delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
	.pv-js .pv-reveal { opacity: 1; transform: none; transition: none; }
}

/* Nothing may be invisible while it is being edited. */
body.elementor-editor-active .pv-reveal { opacity: 1; transform: none; }

/* 10. Enquiry band heading (Phase 3A.1) --------------------------------
   The band heading is a Text Editor widget so it can run the
   [pv_enquiry_heading] shortcode server-side, but its <h2> would otherwise
   be claimed by the kit's global h2 rule. This hands typography and colour
   back to the widget's own Elementor controls, which stay client-editable. */

.pv-band-title-wrap .pv-band-title {
	font: inherit;
	color: inherit;
	margin: 0;
}

/* 10b. Enquiry/newsletter band — prototype fidelity (Phase 5A.1) ------- */

.pv-band-cell + .pv-band-cell {
	border-left: 1px solid rgba(241, 239, 233, .22);
}

@media (max-width: 767px) {
	.pv-band-cell + .pv-band-cell {
		border-left: none;
		border-top: 1px solid rgba(241, 239, 233, .22);
		padding-top: 3rem;
		margin-top: 3rem;
	}
}

.pv-band-cell .pv-band-title,
.pv-band-cell .elementor-heading-title {
	max-width: 16ch;
	margin-inline: auto;
}
