/* ==========================================================================
   Evolia – front-end and editor styles
   Colours, fonts and spacing come from theme.json (Site Editor → Styles).
   ========================================================================== */

:root {
	--evolia-header-h: var(--wp--custom--header-height, 88px);
	--evolia-bar-h: var(--wp--custom--action-bar-height, 60px);
	--evolia-ease: cubic-bezier(.2, .8, .2, 1);
}

html { scroll-behavior: smooth; }
body { overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { height: auto; max-width: 100%; }

/* Sections sit flush against each other (Enfold-style colour bands):
   no block gap between header/main/footer or between full-width sections. */
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-block-post-content > .alignfull,
.wp-block-post-content > .alignfull + *,
.is-layout-constrained > .alignfull + .alignfull { margin-block-start: 0; margin-block-end: 0; }
.wp-block-post-content > .alignfull:last-child { margin-block-end: 0; }

/* One-page anchor links land below the sticky header. */
:where([id]) { scroll-margin-top: calc(var(--evolia-header-h) + 1rem); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
/* The header block sits inside WordPress's template-part wrapper, so the
   wrapper is what sticks (a sticky child can't leave its parent). Works on
   phones too. */
.wp-site-blocks > .wp-block-template-part:has(> .evolia-header),
.wp-site-blocks > header.wp-block-template-part:first-child {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
}
.evolia-header {
	position: relative;
	z-index: 100;
	background: var(--wp--preset--color--white);
	transition: background-color .3s var(--evolia-ease), box-shadow .3s var(--evolia-ease), min-height .3s var(--evolia-ease);
}
.evolia-header.is-scrolled { box-shadow: 0 1px 12px rgba(0, 0, 0, .08); }
.evolia-header .wp-block-site-title a { text-decoration: none; color: inherit; }
.evolia-header .wp-block-navigation a:hover { color: var(--wp--preset--color--accent); }

/* Enfold DJ style: transparent header over the home hero, solid after scroll. */
.evolia-transparent-header .evolia-header {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	background: transparent;
	color: var(--wp--preset--color--white);
}
.evolia-transparent-header .evolia-header:not(.is-scrolled) .wp-block-navigation,
.evolia-transparent-header .evolia-header:not(.is-scrolled) .wp-block-site-title a,
.evolia-transparent-header .evolia-header:not(.is-scrolled) .wp-block-social-links .wp-social-link { color: var(--wp--preset--color--white); }
.evolia-transparent-header .evolia-header:not(.is-scrolled) .wp-block-site-logo.is-style-evolia-invert img,
.evolia-transparent-header .evolia-header:not(.is-scrolled) .evolia-logo-invert img { filter: brightness(0) invert(1); }
.evolia-transparent-header .evolia-header.is-scrolled {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
}

/* Header phone button (bound to Evolia Options). */
.evolia-header-phone .wp-block-button__link { white-space: nowrap; }

/* Burger menu: a side panel sliding in from the right, black and slightly
   see-through (Evolia Options → Header → Side panel see-through). The page
   behind is dimmed; tapping it closes the menu. */
.wp-block-navigation__responsive-container.is-menu-open {
	left: auto !important;
	right: 0;
	box-sizing: border-box;
	width: min(420px, 86vw);
	background: rgba(0, 0, 0, var(--evolia-menu-alpha, .8)) !important;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: var(--wp--preset--color--white) !important;
	padding: calc(var(--wp-admin--admin-bar--height, 0px) + 1.25rem) 2rem 2rem !important;
	box-shadow: -20px 0 60px rgba(0, 0, 0, .35);
	animation: evolia-menu-in .4s var(--evolia-ease) both !important;
}
@keyframes evolia-menu-in { from { transform: translateX(100%); } to { transform: none; } }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: flex-start !important;
	padding-top: 3.5rem !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	text-align: left !important;
	justify-content: flex-start !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: flex-start !important;
	gap: 0 !important;
	width: 100%;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	width: 100%;
	margin: 0 !important;
	align-items: flex-start !important;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	display: block;
	width: 100%;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1rem, 3.6vw, 1.15rem);
	text-transform: uppercase;
	padding: 1rem 0 !important;
	transition: color .2s, padding-left .25s var(--evolia-ease);
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
.wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--accent-light);
	padding-left: .5rem !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 1.25rem);
	right: 1.5rem;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { padding-left: 1rem !important; }
/* Dim the page next to the panel. */
html.has-evolia-menu-open .wp-site-blocks::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 99;
	background: rgba(0, 0, 0, .35);
	animation: evolia-fade-in .3s both;
}
@keyframes evolia-fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
	.wp-block-navigation__responsive-container.is-menu-open { animation: none !important; }
}

/* Desktop: burger instead of links (Evolia Options → Header → Desktop menu). */
@media (min-width: 782px) {
	.evolia-menu-burger .evolia-header .evolia-menu-primary { display: none !important; }
	.evolia-menu-burger .evolia-header .evolia-menu-mobile.evolia-hide-desktop { display: flex !important; order: 10; }
}
.evolia-header .evolia-menu-mobile .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }

/* --------------------------------------------------------------------------
   Sections and block styles
   -------------------------------------------------------------------------- */
.wp-block-group.is-style-section-dark {
	background: var(--wp--preset--color--night);
	color: var(--wp--preset--color--white);
}
.wp-block-group.is-style-section-dark :where(h1, h2, h3, h4, h5, h6) { color: var(--wp--preset--color--white); }
.wp-block-group.is-style-section-dark a:not(.wp-block-button__link) { color: var(--wp--preset--color--accent-light); }

/* Headings inside dark backgrounds set via the colour panel. */
.has-plum-background-color :where(h1, h2, h3, h4),
.has-night-background-color :where(h1, h2, h3, h4),
.has-night-plum-gradient-background :where(h1, h2, h3, h4),
.has-black-background-color :where(h1, h2, h3, h4) { color: var(--wp--preset--color--white); }

.wp-block-group.is-style-card {
	background: var(--wp--preset--color--white);
	padding: var(--wp--preset--spacing--40);
	box-shadow: 0 2px 20px rgba(47, 30, 58, .08);
}

.wp-block-button.is-style-ghost .wp-block-button__link {
	background: rgba(0, 0, 0, .2);
	border: 1px solid currentColor;
	color: var(--wp--preset--color--white);
}
.wp-block-button.is-style-ghost .wp-block-button__link:hover {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--plum);
}

/* Dates / timetable list (Enfold DJ "Tour Dates" look). */
.wp-block-list.is-style-dates { list-style: none; padding-left: 0; }
.wp-block-list.is-style-dates > li {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem 1rem;
	align-items: baseline;
	padding: 1rem 0;
	border-bottom: 1px solid rgba(155, 120, 179, .35);
}
.wp-block-list.is-style-dates > li strong {
	font-family: var(--wp--preset--font-family--heading);
	color: var(--wp--preset--color--accent);
	min-width: 7.5rem;
}

/* Cover hero tweaks. */
.wp-block-cover.evolia-hero { min-height: 100svh; }
.wp-block-cover.evolia-hero .wp-block-cover__inner-container { max-width: var(--wp--style--global--wide-size); }

/* Footer: centred socials and copyright, then the credit on a dark grey line. */
.evolia-footer a { color: inherit; text-decoration: none; }
.evolia-footer a:hover { color: var(--wp--preset--color--accent-light); text-decoration: none; }
.evolia-socket { font-size: var(--wp--preset--font-size--small); gap: .75rem !important; padding-block: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40); text-align: center; }
.evolia-socket > p { margin: 0; opacity: .8; }
.evolia-footer > .evolia-credit { margin-top: 0 !important; margin-bottom: 0 !important; }
.evolia-credit { background: #1e1e1e; color: rgba(255, 255, 255, .65); font-size: .8125rem; padding: .85rem 1rem; }
.evolia-credit p { margin: 0; }
.evolia-credit a { color: #fff !important; font-weight: 600; }
.evolia-credit a:hover { color: var(--wp--preset--color--accent-light) !important; }
/* Light footer (Evolia Options → Header, logo & footer → Footer colours). */
.evolia-footer-light .evolia-footer { background-color: var(--wp--preset--color--light) !important; color: var(--wp--preset--color--ink) !important; }
.evolia-footer-light .evolia-footer :is(h1, h2, h3, h4) { color: var(--wp--preset--color--black) !important; }
.evolia-footer-light .evolia-footer hr { background-color: rgba(0, 0, 0, .12) !important; color: rgba(0, 0, 0, .12) !important; }
.evolia-footer-light .evolia-footer .wp-social-link { color: var(--wp--preset--color--ink) !important; }
.evolia-footer-light .evolia-footer a:hover { color: var(--wp--preset--color--accent) !important; }
.evolia-footer-light .evolia-footer .evolia-credit { color: rgba(255, 255, 255, .65) !important; }

/* --------------------------------------------------------------------------
   Mobile-first refinements
   -------------------------------------------------------------------------- */
@media (max-width: 781px) {
	:root { --evolia-header-h: var(--wp--custom--header-height-mobile, 64px); }

	/* Comfortable tap targets everywhere. */
	.wp-block-button__link,
	.wp-block-navigation-item__content,
	.wp-block-social-link a { min-height: 44px; display: inline-flex; align-items: center; }

	/* Full-width buttons read better on phones. */
	.wp-block-buttons.evolia-stack-mobile { flex-direction: column; align-items: stretch; }
	.wp-block-buttons.evolia-stack-mobile .wp-block-button { width: 100%; }
	.wp-block-buttons.evolia-stack-mobile .wp-block-button__link { width: 100%; justify-content: center; }

	/* Hide helper classes (add in Advanced → Additional CSS class). */
	.evolia-hide-mobile { display: none !important; }

	/* Header phone button collapses to an icon-sized pill. */
	.evolia-header-phone .wp-block-button__link { padding: .6rem .9rem; font-size: .75rem; }

	/* Columns: reverse order option for image/text rows. */
	.wp-block-columns.evolia-reverse-mobile { flex-direction: column-reverse; }

	/* Phones: the hero fills the first screen exactly (under the see-through
	   header), whatever height is set on the block. Its text and buttons are
	   centred in the part the bottom bar never covers. */
	.wp-block-cover.evolia-hero { min-height: 100svh !important; }
	body.has-evolia-action-bar .wp-block-cover.evolia-hero { padding-bottom: calc(var(--evolia-bar-h) + env(safe-area-inset-bottom, 0px) + 1rem); }
	body.has-evolia-action-bar .wp-block-cover.evolia-hero .evolia-slides-dots { bottom: calc(var(--evolia-bar-h) + env(safe-area-inset-bottom, 0px) + .5rem); }
}
@media (min-width: 782px) {
	.evolia-hide-desktop { display: none !important; }
}

/* --------------------------------------------------------------------------
   Mobile action bar
   -------------------------------------------------------------------------- */
.evolia-action-bar { display: none; }

@media (max-width: 781px) {
	body.has-evolia-action-bar .evolia-footer .evolia-credit { padding-bottom: calc(var(--evolia-bar-h) + env(safe-area-inset-bottom, 0px) + .85rem); }
	/* The bar waits for the first scroll back up (Evolia Options → Mobile). */
	.evolia-bar-reveal-up .evolia-action-bar:not(.is-revealed) { transform: translateY(110%); }

	.evolia-action-bar {
		display: grid;
		grid-template-columns: repeat(var(--evolia-bar-count, 3), 1fr);
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 9990;
		/* No extra "safe area" padding: the theme doesn't draw under the iPhone
		   home bar (no viewport-fit=cover), so it was always 0 on real phones and
		   only showed up as a dark band in some simulators. */
		height: var(--evolia-bar-h);
		background: var(--wp--preset--color--plum);
		box-shadow: 0 -2px 14px rgba(0, 0, 0, .18);
		transition: transform var(--evolia-bar-slide, .3s) var(--evolia-ease);
	}
	.evolia-action-bar.is-hidden { transform: translateY(110%); }

	/* iPhone / iPad (Safari and every iOS browser): iOS 26 paints the strip
	   under a fixed bottom bar in the bar's own colour, which shows as a thick
	   dark band. A "sticky" bar at the end of the page stays at the bottom of
	   the screen just the same, without that band. */
	@supports (-webkit-touch-callout: none) {
		.evolia-action-bar { position: sticky; left: auto; right: auto; width: 100%; }
		body.has-evolia-action-bar .evolia-footer .evolia-credit { padding-bottom: .85rem; }
	}

	.evolia-action-bar__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 2px;
		color: var(--wp--preset--color--white);
		text-decoration: none;
		font-size: .6875rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: .5px;
		border-right: 1px solid rgba(255, 255, 255, .08);
	}
	.evolia-action-bar__item:last-child { border-right: 0; }
	.evolia-action-bar__item:active { background: rgba(255, 255, 255, .08); }
	.evolia-action-bar__item--call { background: var(--wp--preset--color--accent); }
	.evolia-action-bar__item--whatsapp .evolia-icon { color: #25d366; }
}

/* --------------------------------------------------------------------------
   Popup banner
   -------------------------------------------------------------------------- */
.evolia-popup[hidden] { display: none; }
.evolia-popup, .evolia-popup *, .evolia-action-bar, .evolia-action-bar * { box-sizing: border-box; }
.evolia-popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}
.evolia-popup__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(25, 25, 25, .6);
	opacity: 0;
	transition: opacity .3s var(--evolia-ease);
}
.evolia-popup__panel {
	position: relative;
	width: min(100%, 460px);
	max-height: calc(100svh - 2rem);
	overflow: auto;
	background: var(--wp--preset--color--plum);
	color: var(--wp--preset--color--white);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
	transform: translateY(20px) scale(.97);
	opacity: 0;
	transition: transform .35s var(--evolia-ease), opacity .35s var(--evolia-ease);
	outline: none;
}
.evolia-popup.is-open .evolia-popup__backdrop { opacity: 1; }
.evolia-popup.is-open .evolia-popup__panel { transform: none; opacity: 1; }

.evolia-popup__image { display: block; width: 100%; max-height: 220px; object-fit: cover; }
.evolia-popup__body { padding: 1.75rem 1.5rem 1.5rem; text-align: center; }
.evolia-popup__title {
	margin: 0 0 .5rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(1.4rem, 5vw, 1.9rem);
	text-transform: uppercase;
	color: inherit;
}
.evolia-popup__text p { margin: 0 0 1rem; }
.evolia-popup__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5rem;
	width: 100%;
	min-height: 52px;
	padding: .9rem 1.5rem;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--white);
	font-weight: 700;
	font-size: .875rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none;
	border-radius: var(--wp--custom--radius, 0);
}
.evolia-popup__button:hover { background: var(--wp--preset--color--white); color: var(--wp--preset--color--plum); }
.evolia-popup__close {
	position: absolute;
	top: .5rem;
	right: .5rem;
	z-index: 1;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .35);
	color: #fff;
	cursor: pointer;
}

/* Light variant */
.evolia-popup--light .evolia-popup__panel { background: var(--wp--preset--color--white); color: var(--wp--preset--color--ink); }
.evolia-popup--light .evolia-popup__title { color: var(--wp--preset--color--plum); }
.evolia-popup--light .evolia-popup__button:hover { background: var(--wp--preset--color--plum); color: #fff; }

/* Bottom sheet: always for "sheet", and on phones for "auto". */
.evolia-popup--sheet { align-items: flex-end; padding: 0; }
.evolia-popup--sheet .evolia-popup__panel { width: 100%; max-width: 640px; transform: translateY(100%); border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
@media (max-width: 781px) {
	.evolia-popup--auto { align-items: flex-end; padding: 0; }
	.evolia-popup--auto .evolia-popup__panel { width: 100%; transform: translateY(100%); border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
}
.evolia-popup.is-open .evolia-popup__panel { transform: none; }

/* Grab handle on bottom sheets */
.evolia-popup--sheet .evolia-popup__body::before { content: ""; display: block; width: 40px; height: 4px; margin: -0.75rem auto 1rem; border-radius: 2px; background: currentColor; opacity: .3; }
@media (max-width: 781px) {
	.evolia-popup--auto .evolia-popup__body::before { content: ""; display: block; width: 40px; height: 4px; margin: -0.75rem auto 1rem; border-radius: 2px; background: currentColor; opacity: .3; }
}

/* Icons */
.evolia-icon { flex: none; }

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.evolia-popup__panel, .evolia-popup__backdrop, .evolia-action-bar, .evolia-header { transition: none; }
}

/* ==========================================================================
   Enfold DJ signatures
   ========================================================================== */

/* Two-tone headings: make a word bold and it turns accent purple ("Tour <strong>Dates</strong>"). */
:where(h1, h2, h3, h4) strong { color: var(--wp--preset--color--accent); font-weight: inherit; }
.has-plum-background-color :where(h1, h2, h3, h4) strong,
.has-night-plum-gradient-background :where(h1, h2, h3, h4) strong,
.is-style-section-dark :where(h1, h2, h3, h4) strong { color: var(--wp--preset--color--accent-light); }

/* Section titles: big, centred, generous space below. */
.evolia-section-title { margin-bottom: clamp(1.5rem, 4vw, 3rem) !important; }

/* Links on dark bands stay readable. */
:is(.has-plum-background-color, .has-night-background-color, .has-night-plum-gradient-background, .has-black-background-color, .is-style-section-dark) a:not(.wp-block-button__link):not(.wp-social-link-anchor) {
	color: var(--wp--preset--color--accent-light);
}

/* Accordion toggles (Details block, style "Toggle (+)"), styled like the
   4 Smart Enfold mockup: grey rows, circled +/– on the right (thumb side),
   open row in the accent colour. Opening/closing is animated in evolia.js. */
.wp-block-details.is-style-toggle {
	--evolia-tg-bg: color-mix(in srgb, var(--wp--preset--color--light) 88%, var(--wp--preset--color--black));
	--evolia-tg-line: color-mix(in srgb, var(--wp--preset--color--black) 35%, transparent);
	background: var(--evolia-tg-bg);
	color: var(--wp--preset--color--ink);
	border-bottom: 1px solid var(--evolia-tg-line);
	margin: 0;
	padding: 0;
	overflow: hidden;
}
.wp-block-details.is-style-toggle + .wp-block-details.is-style-toggle { margin-block-start: 0; }
:not(.wp-block-details) + .wp-block-details.is-style-toggle { margin-block-start: 1.75rem; }
.wp-block-details.is-style-toggle:first-of-type { border-top: 1px solid var(--evolia-tg-line); }
.wp-block-details.is-style-toggle > summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	cursor: pointer;
	box-sizing: border-box;
	min-height: 68px;
	padding: .9rem 1.25rem .9rem 1.5rem;
	font-weight: 700;
	font-size: 1.05rem;
	line-height: 1.35;
	color: var(--wp--preset--color--black);
	transition: background-color .3s var(--evolia-ease), color .3s var(--evolia-ease);
	-webkit-tap-highlight-color: transparent;
}
.wp-block-details.is-style-toggle > summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-toggle > summary::marker { content: ""; }
/* Circled + that turns into – (the vertical bar shrinks away). */
.wp-block-details.is-style-toggle > summary::after {
	content: "";
	flex: none;
	box-sizing: border-box;
	width: 32px;
	height: 32px;
	border: 2px solid color-mix(in srgb, currentColor 45%, transparent);
	border-radius: 50%;
	background:
		linear-gradient(currentColor, currentColor) center / 12px 2px no-repeat,
		linear-gradient(currentColor, currentColor) center / 2px 12px no-repeat;
	color: inherit;
	opacity: .75;
	transition: background-size .3s var(--evolia-ease), transform .3s var(--evolia-ease), border-color .3s, opacity .3s;
}
.wp-block-details.is-style-toggle > summary:hover { background: color-mix(in srgb, var(--evolia-tg-bg) 92%, var(--wp--preset--color--black)); }
.wp-block-details.is-style-toggle > summary:hover::after { opacity: 1; }
.wp-block-details.is-style-toggle > summary:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: -2px; }
.wp-block-details.is-style-toggle[open]:not(.is-closing) > summary {
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--white);
}
.wp-block-details.is-style-toggle[open]:not(.is-closing) > summary::after {
	background-size: 12px 2px, 2px 0;
	border-color: currentColor;
	opacity: 1;
	transform: rotate(180deg);
}
.wp-block-details.is-style-toggle > :not(summary) { padding-inline: 1.5rem; }
.wp-block-details.is-style-toggle > summary + * { margin-block-start: 0; padding-top: 1.25rem; }
.wp-block-details.is-style-toggle > :last-child:not(summary) { padding-bottom: 1.5rem; }
.wp-block-details.is-style-toggle a:not(.wp-element-button) { color: var(--wp--preset--color--accent); }
@media (max-width: 600px) {
	.wp-block-details.is-style-toggle > summary { padding: 1rem 1rem 1rem 1.25rem; font-size: 1rem; }
	.wp-block-details.is-style-toggle > :not(summary) { padding-inline: 1.25rem; }
}

/* Outlined form fields on dark bands (Enfold Bookings form). Works with core
   search, Contact Form 7, WPForms and Fluent Forms. */
:is(.has-plum-background-color, .has-night-background-color, .has-night-plum-gradient-background, .is-style-section-dark)
	:is(input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], input[type=search], select, textarea) {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, .85);
	border-radius: var(--wp--custom--radius, 0);
	padding: .75rem .9rem;
	font: inherit;
	width: 100%;
	box-sizing: border-box;
}
:is(.has-plum-background-color, .has-night-background-color, .has-night-plum-gradient-background, .is-style-section-dark) ::placeholder { color: rgba(255, 255, 255, .7); }
:is(.has-plum-background-color, .has-night-background-color, .has-night-plum-gradient-background, .is-style-section-dark) select option { color: #000; }
:is(.has-plum-background-color, .has-night-background-color, .has-night-plum-gradient-background, .is-style-section-dark)
	:is(input[type=submit], button[type=submit], .wpcf7-submit) {
	background: var(--wp--preset--color--accent);
	color: #fff;
	border: 0;
	padding: .9rem 1.6rem;
	font-weight: 700;
	font-size: .8125rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
	border-radius: var(--wp--custom--radius, 0);
}

/* Header social icons with thin separators (Enfold "minimal header"). */
.evolia-header .wp-block-social-links { gap: .75rem; padding-left: 1rem; border-left: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
.evolia-header .wp-block-social-links .wp-social-link { font-size: 14px; }

/* Floating back-to-top arrow (Enfold style: small, semi-transparent). */
.evolia-to-top {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 90;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 3px;
	background: rgba(0, 0, 0, .45);
	color: #fff;
	border: 0;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .25s, transform .25s, visibility .25s;
}
.evolia-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.evolia-to-top:hover { background: var(--wp--preset--color--accent); }
@media (max-width: 781px) {
	.evolia-to-top { right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); width: 40px; height: 40px; transition: opacity .25s, transform .25s, visibility .25s, bottom .3s; }
	body.has-evolia-action-bar.evolia-bar-shown .evolia-to-top { bottom: calc(var(--evolia-bar-h) + env(safe-area-inset-bottom, 0px) + .75rem); }
}

/* Card that overlaps the section above (Enfold "latest release" card).
   Add class evolia-overlap-up to a Group/Column. */
.evolia-overlap-up { position: relative; z-index: 2; margin-top: clamp(-160px, -12vw, -60px) !important; }

/* Hide the action bar and to-top button while the mobile menu or popup is open. */
.has-modal-open .evolia-action-bar,
.has-modal-open .evolia-to-top { display: none !important; }

/* Centre the items in the full-screen mobile menu (Enfold style). */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	align-items: center !important;
	justify-content: center;
	text-align: center;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { min-height: 70vh; }

/* ==========================================================================
   Highlights 3 × 2
   ========================================================================== */
.evolia-highlights.is-layout-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.evolia-highlight {
	background: var(--wp--preset--color--white);
	padding: clamp(1.25rem, 2.5vw, 2rem);
	box-shadow: 0 2px 20px rgba(47, 30, 58, .07);
	border-top: 3px solid var(--wp--preset--color--accent);
	transition: transform .25s var(--evolia-ease), box-shadow .25s var(--evolia-ease);
}
.evolia-highlight:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(47, 30, 58, .14); }
.evolia-highlight > * { margin-block: 0; }
.evolia-highlight > * + * { margin-block-start: .6rem; }
.evolia-highlight .evolia-highlight__icon img { width: 48px; height: 48px; }
@media (max-width: 1024px) {
	.evolia-highlights.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	/* Phones: compact rows, icon on the left. */
	.evolia-highlights.is-layout-grid { grid-template-columns: 1fr; gap: .75rem; }
	.evolia-highlight { display: grid; grid-template-columns: 40px 1fr; column-gap: 1rem; padding: 1rem; border-top: 0; border-left: 3px solid var(--wp--preset--color--accent); }
	.evolia-highlight .evolia-highlight__icon { grid-row: span 2; margin: 0; }
	.evolia-highlight .evolia-highlight__icon img { width: 40px; height: 40px; }
	.evolia-highlight > * + * { margin-block-start: 0; }
	.evolia-highlight h3 { font-size: 1rem !important; }
	.evolia-highlight p { font-size: .9rem; margin-top: .2rem; }
}

/* ==========================================================================
   Vehicles
   ========================================================================== */
.evolia-vehicle-placeholder { padding: 2rem; border: 2px dashed var(--wp--preset--color--accent-light); text-align: center; color: var(--wp--preset--color--muted); }

.evolia-badge {
	position: absolute; top: .75rem; left: .75rem; z-index: 2;
	padding: .3rem .7rem; font-size: .7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
	color: #fff; background: var(--wp--preset--color--accent);
}
.evolia-badge--sold { background: var(--wp--preset--color--night); }
.evolia-vsummary .evolia-badge { position: static; display: inline-block; margin-bottom: .75rem; }

/* Gallery: swipe on phones, arrows + thumbnails on desktop. */
.evolia-gallery__main { position: relative; background: var(--wp--preset--color--night); }
.evolia-gallery__track {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; aspect-ratio: 4 / 3;
}
.evolia-gallery__track::-webkit-scrollbar { display: none; }
.evolia-gallery__slide { flex: 0 0 100%; scroll-snap-align: center; display: block; }
.evolia-gallery__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.evolia-gallery__count {
	position: absolute; right: .75rem; bottom: .75rem; padding: .25rem .6rem;
	background: rgba(25, 25, 25, .7); color: #fff; font-size: .8rem; font-weight: 700;
}
.evolia-gallery__nav {
	position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0;
	background: rgba(25, 25, 25, .55); color: #fff; font-size: 1.75rem; line-height: 1; cursor: pointer;
}
.evolia-gallery__nav:hover { background: var(--wp--preset--color--accent); }
.evolia-gallery__nav--prev { left: .5rem; }
.evolia-gallery__nav--next { right: .5rem; }
.evolia-gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: .5rem; margin-top: .5rem; }
.evolia-gallery__thumb { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; aspect-ratio: 4 / 3; overflow: hidden; opacity: .65; }
.evolia-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.evolia-gallery__thumb.is-active, .evolia-gallery__thumb:hover { border-color: var(--wp--preset--color--accent); opacity: 1; }

/* Summary box */
.evolia-vsummary { background: var(--wp--preset--color--white); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 2px 24px rgba(47, 30, 58, .1); border-top: 3px solid var(--wp--preset--color--accent); }
.evolia-vsummary__title { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0; }
.evolia-vsummary__variant { margin: .35rem 0 0; color: var(--wp--preset--color--muted); }
.evolia-vsummary__price { font-family: var(--wp--preset--font-family--heading); font-size: clamp(1.9rem, 4vw, 2.5rem); color: var(--wp--preset--color--plum); margin: 1rem 0; }
.evolia-vsummary.is-sold .evolia-vsummary__price { text-decoration: line-through; color: var(--wp--preset--color--muted); }
.evolia-vsummary__facts { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.evolia-vsummary__facts li { background: var(--wp--preset--color--light); padding: .55rem .75rem; font-weight: 700; font-size: .9rem; }
.evolia-vsummary__actions { display: grid; gap: .6rem; }
.evolia-vbtn {
	display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .8rem 1rem;
	font-weight: 700; font-size: .8125rem; letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
	border: 1px solid transparent;
}
.evolia-vbtn--primary { background: var(--wp--preset--color--accent); color: #fff; }
.evolia-vbtn--primary:hover { background: var(--wp--preset--color--plum); color: #fff; }
.evolia-vbtn--whatsapp { background: #25d366; color: #fff; }
.evolia-vbtn--whatsapp:hover { background: #1da851; color: #fff; }
.evolia-vbtn--ghost { border-color: var(--wp--preset--color--plum); color: var(--wp--preset--color--plum); }
.evolia-vbtn--ghost:hover { background: var(--wp--preset--color--plum); color: #fff; }
.evolia-vehicle-sold-note { margin: 0; }
@media (min-width: 782px) {
	.evolia-sticky > .evolia-vsummary { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--evolia-header-h) + 1rem); }
}

/* Spec table and features */
.evolia-specs dl { margin: 0; }
.evolia-specs__row { display: grid; grid-template-columns: 45% 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid #e7e2ec; }
.evolia-specs dt { color: var(--wp--preset--color--muted); }
.evolia-specs dd { margin: 0; font-weight: 700; color: var(--wp--preset--color--night); }
.evolia-features { list-style: none; padding: 0; columns: 2 220px; column-gap: 1.5rem; }
.evolia-features li { break-inside: avoid; padding: .35rem 0 .35rem 1.6rem; position: relative; }
.evolia-features li::before { content: "✓"; position: absolute; left: 0; color: var(--wp--preset--color--accent); font-weight: 700; }
.evolia-backlink a { text-decoration: none; color: var(--wp--preset--color--muted); }
.evolia-backlink a:hover { color: var(--wp--preset--color--accent); }

/* Stock list cards */
.evolia-vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.evolia-vcard { background: #fff; box-shadow: 0 2px 20px rgba(47, 30, 58, .08); transition: transform .25s var(--evolia-ease), box-shadow .25s var(--evolia-ease); }
.evolia-vcard:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(47, 30, 58, .15); }
.evolia-vcard__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.evolia-vcard__media { position: relative; aspect-ratio: 4 / 3; background: var(--wp--preset--color--night); overflow: hidden; }
.evolia-vcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.evolia-vcard.is-sold .evolia-vcard__media img { filter: grayscale(1); opacity: .6; }
.evolia-vcard__body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.evolia-vcard__title { margin: 0 0 .6rem; font-family: var(--wp--preset--font-family--body); font-weight: 700; font-size: 1.1rem; text-transform: none; letter-spacing: 0; color: var(--wp--preset--color--night); }
.evolia-vcard__facts { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.evolia-vcard__facts li { font-size: .78rem; background: var(--wp--preset--color--light); padding: .2rem .55rem; }
.evolia-vcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid #ede8f1; padding-top: .9rem; }
.evolia-vcard__price { font-family: var(--wp--preset--font-family--heading); font-size: 1.35rem; color: var(--wp--preset--color--plum); }
.evolia-vcard.is-sold .evolia-vcard__price { text-decoration: line-through; color: var(--wp--preset--color--muted); }
.evolia-vcard__more { font-size: .75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--wp--preset--color--accent); }

/* Mobile vehicle bar: price takes the first slot. */
.evolia-action-bar__item--price { font-family: var(--wp--preset--font-family--heading); font-size: 1rem !important; letter-spacing: 0 !important; background: var(--wp--preset--color--night); }
@media (max-width: 781px) {
	.evolia-vehicle-top { gap: 1rem !important; }
	.evolia-vehicle-page { padding-top: .75rem !important; }
	.evolia-gallery { margin-inline: calc(-1 * var(--wp--preset--spacing--40)); }
	.evolia-gallery__nav { display: none; }
	.evolia-gallery__thumbs { display: none; }
}
@media (max-width: 1024px) { .evolia-vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .evolia-vgrid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Swipe sections (left/right instead of a long vertical scroll)
   Add class "evolia-swipe" (all screens) or "evolia-swipe-mobile" (phones
   only) to a Vehicle grid, a Grid group or a Columns block. Optional
   "evolia-swipe-autoplay". Each child becomes a slide.
   ========================================================================== */
.evolia-swipe-wrap { position: relative; }
.evolia-swipe-controls { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-top: 1.25rem; }
.evolia-swipe-btn {
	width: 44px; height: 44px; display: grid; place-items: center; flex: none;
	border: 1px solid currentColor; background: transparent; color: var(--wp--preset--color--plum);
	font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background .2s, color .2s, opacity .2s;
}
.evolia-swipe-btn:hover:not(:disabled) { background: var(--wp--preset--color--plum); color: #fff; }
.evolia-swipe-btn:disabled { opacity: .3; cursor: default; }
:is(.has-plum-background-color, .has-night-background-color, .is-style-section-dark) .evolia-swipe-btn { color: #fff; }
.evolia-swipe-dots { display: flex; gap: 0; flex-wrap: wrap; justify-content: center; max-width: 60%; }
.evolia-swipe-dot { position: relative; min-width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; } /* 24px tap area */
.evolia-swipe-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 5px; transform: translate(-50%, -50%); background: color-mix(in srgb, var(--wp--preset--color--accent) 30%, transparent); transition: width .25s, background .25s; }
.evolia-swipe-dot.is-active { min-width: 32px; }
.evolia-swipe-dot.is-active::before { width: 26px; background: var(--wp--preset--color--accent); }

.evolia-swipe,
.evolia-swipe.is-layout-grid,
.evolia-swipe.wp-block-columns {
	display: flex !important;
	flex-wrap: nowrap !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	gap: clamp(1rem, 2vw, 1.75rem);
	padding-bottom: 6px; /* room for card shadows */
}
.evolia-swipe::-webkit-scrollbar { display: none; }
.evolia-swipe > * {
	flex: 0 0 calc((100% - 2 * clamp(1rem, 2vw, 1.75rem)) / 3) !important;
	max-width: none !important;
	scroll-snap-align: start;
	margin: 0 !important;
}
@media (max-width: 1024px) {
	.evolia-swipe > * { flex-basis: calc((100% - clamp(1rem, 2vw, 1.75rem)) / 2) !important; }
}
@media (max-width: 781px) {
	.evolia-swipe-mobile,
	.evolia-swipe-mobile.is-layout-grid,
	.evolia-swipe-mobile.wp-block-columns {
		display: flex !important;
		flex-wrap: nowrap !important;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		gap: 1rem;
		padding-bottom: 6px;
	}
	.evolia-swipe-mobile::-webkit-scrollbar { display: none; }
	/* One card plus a peek of the next, so it's obvious you can swipe. */
	.evolia-swipe > *,
	.evolia-swipe-mobile > * {
		flex: 0 0 84% !important;
		max-width: none !important;
		scroll-snap-align: center;
		margin: 0 !important;
	}
	/* Let the row run to the screen edges. */
	.evolia-swipe, .evolia-swipe-mobile {
		margin-inline: calc(-1 * var(--wp--preset--spacing--40)) !important;
		padding-inline: var(--wp--preset--spacing--40);
		scroll-padding-inline: var(--wp--preset--spacing--40);
	}
	/* Highlights keep their card look when swiping. */
	.evolia-swipe-mobile > .evolia-highlight { display: block; border-left: 0; border-top: 3px solid var(--wp--preset--color--accent); padding: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
	.evolia-swipe, .evolia-swipe-mobile { scroll-behavior: auto; }
}

/* ==========================================================================
   Content styles used by converted pages
   ========================================================================== */
/* Small label above a heading ("Mods and retrofits", "Find us"). */
.evolia-eyebrow { font-size: .75rem !important; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: color-mix(in srgb, var(--wp--preset--color--accent) 82%, #000); /* darker for contrast on light bands */ margin-bottom: .25rem !important; }
:is(.has-night-background-color, .has-plum-background-color, .is-style-section-dark, .has-night-plum-gradient-background) .evolia-eyebrow { color: var(--wp--preset--color--accent-light); }

/* Price list: <strong>Title</strong> <em>price</em><br>description */
.wp-block-list.is-style-prices { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 2.5rem; }
.wp-block-list.is-style-prices > li {
	display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: baseline;
	padding: .9rem 0; border-bottom: 1px solid color-mix(in srgb, currentColor 14%, transparent);
}
.wp-block-list.is-style-prices > li > strong { font-size: 1.05rem; }
.wp-block-list.is-style-prices > li > strong a { color: inherit; text-decoration: none; }
.wp-block-list.is-style-prices > li > strong a:hover { color: var(--wp--preset--color--accent); }
.wp-block-list.is-style-prices > li > em { font-style: normal; font-family: var(--wp--preset--font-family--heading); color: var(--wp--preset--color--accent); white-space: nowrap; }
.wp-block-list.is-style-prices > li > br { display: none; }
.wp-block-list.is-style-prices > li > span { grid-column: 1 / -1; color: var(--wp--preset--color--muted); font-size: .92rem; margin-top: .2rem; }
:is(.has-night-background-color, .has-plum-background-color, .is-style-section-dark) .wp-block-list.is-style-prices > li > span { color: rgba(255,255,255,.7); }

/* Review cards */
.wp-block-quote.is-style-review {
	margin: 0; padding: 1.5rem 1.5rem 1.25rem; border: 0; border-top: 3px solid var(--wp--preset--color--accent);
	background: var(--wp--preset--color--white); color: var(--wp--preset--color--ink); box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.wp-block-quote.is-style-review p { font-size: 1.02rem; font-style: italic; }
.wp-block-quote.is-style-review p::before { content: "“"; font-family: Georgia, serif; font-size: 2.6rem; line-height: 0; vertical-align: -.8rem; margin-right: .2rem; color: var(--wp--preset--color--accent); font-style: normal; }
.wp-block-quote.is-style-review cite { display: block; margin-top: .75rem; font-style: normal; font-size: .85rem; color: var(--wp--preset--color--muted); }
.wp-block-quote.is-style-review cite strong { color: var(--wp--preset--color--night); }

/* Quick-jump links row */
.evolia-jump a { white-space: nowrap; }

/* Logged in on a phone: the admin bar scrolls away, so stick to the very top. */
@media (max-width: 600px) {
	.wp-site-blocks > .wp-block-template-part:has(> .evolia-header),
	.wp-site-blocks > header.wp-block-template-part:first-child { top: 0; }
}

/* --------------------------------------------------------------------------
   Menus (v0.6): footer menu in the socket bar
   -------------------------------------------------------------------------- */
.evolia-footer .evolia-menu-footer { gap: .5rem 1.5rem; }
.evolia-footer .wp-block-navigation.evolia-menu-footer a.wp-block-navigation-item__content { color: var(--wp--preset--color--white); opacity: .75; text-decoration: none; }
.evolia-footer .wp-block-navigation.evolia-menu-footer a.wp-block-navigation-item__content:hover { opacity: 1; color: var(--wp--preset--color--accent-light); }
.evolia-header .evolia-menu-mobile .wp-block-navigation__responsive-container-open { padding: .5rem; }

/* --------------------------------------------------------------------------
   "Call us" and "Find us" panels (v0.7)
   -------------------------------------------------------------------------- */
.evolia-findus__map { position: relative; height: 200px; background: var(--wp--preset--color--light); border-radius: 18px 18px 0 0; overflow: hidden; }
.evolia-findus__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.evolia-panel .evolia-popup__body { padding-top: 1.25rem; }
.evolia-findus__address { margin: 0 0 .75rem; font-weight: 700; }
.evolia-panel__hours { margin: 0 0 1.25rem; font-size: .875rem; color: var(--wp--preset--color--muted); }
.evolia-panel__big { margin: 0 0 .5rem; font-family: var(--wp--preset--font-family--heading); font-size: clamp(1.5rem, 7vw, 2rem); }
.evolia-panel__big a { color: inherit; text-decoration: none; }
.evolia-panel__actions { display: grid; gap: .6rem; }
.evolia-popup__button--ghost { background: transparent !important; color: inherit !important; border: 1px solid currentColor; }
.evolia-popup__button--ghost:hover { background: var(--wp--preset--color--light) !important; }
.evolia-panel [data-when="closed"] { display: none; }
.evolia-panel.is-closed [data-when="open"] { display: none; }
.evolia-panel.is-closed [data-when="closed"] { display: inline-flex; }
.evolia-status {
	display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; padding: .4rem .9rem;
	border-radius: 999px; font-size: .8125rem; font-weight: 700;
	background: #e7f6ec; color: #17663a;
}
.evolia-status[hidden] { display: none; }
.evolia-status__dot { width: .55rem; height: .55rem; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 3px #1f9d5533; flex: none; }
.evolia-panel.is-closed .evolia-status { background: #fdecec; color: #9b1c1c; }
.evolia-panel.is-closed .evolia-status__dot { background: #d62828; box-shadow: 0 0 0 3px #d6282833; }
.evolia-panel__cancel {
	display: block; width: 100%; min-height: 48px; margin-top: .5rem;
	background: none; border: 0; color: inherit; font: inherit; font-weight: 700;
	font-size: .8125rem; text-transform: uppercase; letter-spacing: 1px; cursor: pointer;
}
.evolia-panel .evolia-popup__close { z-index: 2; background: var(--wp--preset--color--white); color: var(--wp--preset--color--black); border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
@media (min-width: 782px) {
	.evolia-panel.evolia-popup--sheet { align-items: center; padding: 1rem; }
	.evolia-panel.evolia-popup--sheet .evolia-popup__panel { width: min(100%, 460px); border-radius: 0; transform: translateY(20px) scale(.97); }
	.evolia-panel.is-open .evolia-popup__panel { transform: none; }
	.evolia-findus__map { border-radius: 0; }
}

/* --------------------------------------------------------------------------
   Line icons (v0.9): add the class evolia-icon-<name> to any block
   (Advanced → Additional CSS class). Names: airbag, battery, car, chip, clutch, cruise, diagnostics, engine, gauge, gearbox, key, lights, oil, parts, price, roof, seat, service, speaker, steering, warning, wheel.
   The icon takes the accent colour. On a Details block it sits before the
   title; on a heading or group it sits above. Size: --evolia-icon-size.
   -------------------------------------------------------------------------- */
.evolia-icon-airbag { --evolia-icon: url("../icons/line/airbag.svg"); }
.evolia-icon-battery { --evolia-icon: url("../icons/line/battery.svg"); }
.evolia-icon-car { --evolia-icon: url("../icons/line/car.svg"); }
.evolia-icon-chip { --evolia-icon: url("../icons/line/chip.svg"); }
.evolia-icon-clutch { --evolia-icon: url("../icons/line/clutch.svg"); }
.evolia-icon-cruise { --evolia-icon: url("../icons/line/cruise.svg"); }
.evolia-icon-diagnostics { --evolia-icon: url("../icons/line/diagnostics.svg"); }
.evolia-icon-engine { --evolia-icon: url("../icons/line/engine.svg"); }
.evolia-icon-gauge { --evolia-icon: url("../icons/line/gauge.svg"); }
.evolia-icon-gearbox { --evolia-icon: url("../icons/line/gearbox.svg"); }
.evolia-icon-key { --evolia-icon: url("../icons/line/key.svg"); }
.evolia-icon-lights { --evolia-icon: url("../icons/line/lights.svg"); }
.evolia-icon-oil { --evolia-icon: url("../icons/line/oil.svg"); }
.evolia-icon-parts { --evolia-icon: url("../icons/line/parts.svg"); }
.evolia-icon-price { --evolia-icon: url("../icons/line/price.svg"); }
.evolia-icon-roof { --evolia-icon: url("../icons/line/roof.svg"); }
.evolia-icon-seat { --evolia-icon: url("../icons/line/seat.svg"); }
.evolia-icon-service { --evolia-icon: url("../icons/line/service.svg"); }
.evolia-icon-speaker { --evolia-icon: url("../icons/line/speaker.svg"); }
.evolia-icon-steering { --evolia-icon: url("../icons/line/steering.svg"); }
.evolia-icon-warning { --evolia-icon: url("../icons/line/warning.svg"); }
.evolia-icon-wheel { --evolia-icon: url("../icons/line/wheel.svg"); }
[class*="evolia-icon-"]:not(details)::before,
details[class*="evolia-icon-"] > summary::before {
	content: "";
	display: block;
	flex: none;
	width: var(--evolia-icon-size, 44px);
	height: var(--evolia-icon-size, 44px);
	margin-bottom: .9rem;
	background: var(--evolia-icon-color, var(--wp--preset--color--accent));
	-webkit-mask: var(--evolia-icon) center / contain no-repeat;
	mask: var(--evolia-icon) center / contain no-repeat;
}
.has-text-align-center[class*="evolia-icon-"]::before { margin-inline: auto; }
:is(.has-night-background-color, .has-plum-background-color, .is-style-section-dark, .wp-block-cover) [class*="evolia-icon-"]:not(details) { --evolia-icon-color: var(--wp--preset--color--accent-light); }
details[class*="evolia-icon-"] > summary { justify-content: flex-start; }
details[class*="evolia-icon-"] > summary::before { --evolia-icon-size: 28px; margin: 0; transition: background-color .3s; }
details[class*="evolia-icon-"] > summary::after { margin-left: auto; }
details[class*="evolia-icon-"][open]:not(.is-closing) > summary::before { background: currentColor; }

/* Icon cards: a group with the class evolia-icards holding groups with
   evolia-icard + evolia-icon-<name>. 3 across on desktop, 2 on tablet,
   compact icon rows on phones. */
.evolia-icards { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.evolia-icards > * { margin: 0 !important; }
.evolia-icard {
	position: relative;
	padding: clamp(1.25rem, 2.5vw, 2rem);
	background: var(--evolia-icard-bg, var(--wp--preset--color--white));
	color: var(--evolia-icard-text, var(--wp--preset--color--ink));
	border: 1px solid var(--evolia-icard-border, color-mix(in srgb, var(--wp--preset--color--black) 8%, transparent));
	--evolia-icon-color: var(--evolia-icard-icon, var(--wp--preset--color--accent));
	transition: transform .3s var(--evolia-ease), box-shadow .3s var(--evolia-ease), border-color .3s, background-color .3s;
}
/* Hover / tap. The frame shows in every style (Evolia Options → Content → Service tiles). */
.evolia-icard:is(:hover, :focus-within, :active) { border-color: var(--evolia-icard-border-hover, var(--wp--preset--color--accent)); }
body:not(.evolia-icard-hover-shade):not(.evolia-icard-hover-frame) .evolia-icard:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0, 0, 0, .12); }
.evolia-icard-hover-shade .evolia-icard:is(:hover, :focus-within, :active) {
	background: var(--evolia-icard-bg-hover, color-mix(in srgb, var(--evolia-icard-bg, var(--wp--preset--color--white)) 90%, #000));
}
.evolia-icard > * { margin-block: 0 !important; }
.evolia-icard h3 { font-family: var(--wp--preset--font-family--body); font-size: 1.1rem; font-weight: 700; text-transform: none; margin-bottom: .35rem !important; color: var(--evolia-icard-title, var(--wp--preset--color--black)); }
.evolia-icard h3 a { color: inherit !important; text-decoration: none; }
.evolia-icard h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.evolia-icard .evolia-icard__price { font-family: var(--wp--preset--font-family--heading); color: var(--evolia-icard-price, var(--wp--preset--color--accent)); font-size: 1rem; margin-bottom: .5rem !important; }
.evolia-icard p:last-child { font-size: .9rem; color: var(--evolia-icard-text, color-mix(in srgb, var(--wp--preset--color--ink) 88%, #fff)); }
:is(.has-night-background-color, .has-plum-background-color, .is-style-section-dark) .evolia-icard {
	background: rgba(255, 255, 255, .04);
	border-color: rgba(255, 255, 255, .12);
	color: var(--wp--preset--color--white);
}
.evolia-icard-hover-shade :is(.has-night-background-color, .has-plum-background-color, .is-style-section-dark) .evolia-icard:is(:hover, :focus-within, :active) { background: rgba(255, 255, 255, .1); }
:is(.has-night-background-color, .has-plum-background-color, .is-style-section-dark) .evolia-icard:is(:hover, :focus-within, :active) { border-color: var(--evolia-icard-border-hover, var(--wp--preset--color--accent)); }
:is(.has-night-background-color, .has-plum-background-color, .is-style-section-dark) .evolia-icard h3 { color: var(--wp--preset--color--white); }
:is(.has-night-background-color, .has-plum-background-color, .is-style-section-dark) .evolia-icard p:last-child { color: rgba(255, 255, 255, .7); }
:is(.has-night-background-color, .has-plum-background-color, .is-style-section-dark) .evolia-icard .evolia-icard__price { color: var(--wp--preset--color--accent-light); }
@media (max-width: 1024px) { .evolia-icards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.evolia-icards { grid-template-columns: 1fr; gap: .6rem; }
	.evolia-icard { display: grid; grid-template-columns: 36px 1fr auto; column-gap: 1rem; align-items: center; padding: 1rem; }
	.evolia-icard::before { --evolia-icon-size: 36px; margin: 0 !important; grid-row: 1 / span 2; }
	.evolia-icard h3 { grid-column: 2; margin: 0 !important; font-size: 1rem; }
	.evolia-icard .evolia-icard__price { grid-column: 3; grid-row: 1; margin: 0 !important; font-size: .85rem; white-space: nowrap; }
	.evolia-icard p:last-child { grid-column: 2 / span 2; }
	.evolia-icard:hover { transform: none !important; }
}

/* Photo bands and page headers (cover blocks with white text). */
.wp-block-cover.has-white-color :where(h1, h2, h3, h4, h5, h6) { color: inherit; }
.wp-block-cover.has-white-color .evolia-eyebrow { color: var(--wp--preset--color--accent-light); }
.wp-block-cover.evolia-page-header .wp-block-cover__inner-container { padding-top: 2rem; }
/* Photos next to text: no gap above, gentle zoom on hover (desktop). */
.wp-block-image.evolia-photo { overflow: hidden; margin: 0; }
.wp-block-image.evolia-photo img { width: 100%; height: 100%; transition: transform .8s var(--evolia-ease); }
@media (hover: hover) { .wp-block-image.evolia-photo:hover img { transform: scale(1.04); } }
@media (min-width: 782px) {
	.evolia-photo-tall img { min-height: 100%; }
	/* The photo fills the full height of the text beside it... */
	.wp-block-column.evolia-photo-col:not(.evolia-photo-fixed) { align-self: stretch; }
	.wp-block-column.evolia-photo-col:not(.evolia-photo-fixed) > .wp-block-image { height: 100%; }
	.wp-block-column.evolia-photo-col:not(.evolia-photo-fixed) > .wp-block-image img { aspect-ratio: auto !important; height: 100%; }
	/* ...unless the column also has evolia-photo-fixed: then it keeps the photo's own
	   shape (Aspect ratio in the image settings), centred beside the text. */
	.wp-block-column.evolia-photo-col.evolia-photo-fixed { align-self: center; }
	.wp-block-column.evolia-photo-col.evolia-photo-fixed > .wp-block-image img { height: auto; }
}

/* Logo for dark backgrounds (v0.9.1). */
.wp-block-site-logo a { position: relative; display: inline-block; }
.wp-block-site-logo .evolia-logo-alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; pointer-events: none; transition: opacity .3s var(--evolia-ease); }
.wp-block-site-logo img.custom-logo { transition: opacity .3s var(--evolia-ease); }
.evolia-transparent-header .evolia-header:not(.is-scrolled) .has-evolia-logo-alt img.custom-logo { opacity: 0; filter: none !important; }
.evolia-transparent-header .evolia-header:not(.is-scrolled) .has-evolia-logo-alt .evolia-logo-alt { opacity: 1; }
.has-evolia-logo-alt img { filter: none !important; }
.wp-block-site-logo img[src$=".svg"] { height: auto; }
/* With a logo, the site title text is hidden (the logo already says it),
   and the logo is sized by height so the header stays slim. */
.evolia-header .wp-block-site-logo:has(img) + .wp-block-site-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evolia-header .wp-block-site-logo img { height: var(--evolia-logo-h, 54px) !important; width: auto !important; max-width: none; }
@media (max-width: 781px) { .evolia-header .wp-block-site-logo img { height: var(--evolia-logo-h-mobile, 44px) !important; } }

/* --------------------------------------------------------------------------
   Dark header and progress line (v0.9.2) – Evolia Options → Header and menus
   -------------------------------------------------------------------------- */
/* The dark background and blur sit on a separate layer (::before): a blur
   on the header itself would trap the full-screen menu panel inside the
   header's box. */
.evolia-header-dark .evolia-header,
.evolia-header-dark.evolia-transparent-header .evolia-header.is-scrolled {
	background: transparent;
	color: var(--wp--preset--color--white);
}
.evolia-header-dark .evolia-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(10, 10, 10, .92);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: opacity .3s var(--evolia-ease);
	pointer-events: none;
}
.evolia-header-dark.evolia-transparent-header .evolia-header:not(.is-scrolled)::before { opacity: 0; }
.evolia-header-dark .evolia-header :is(.wp-block-navigation, .wp-block-site-title a) { color: var(--wp--preset--color--white); }
.evolia-header-dark .evolia-header.is-scrolled { box-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
/* Light logo on the dark header (or a white-turned logo if none is set). */
.evolia-header-dark .has-evolia-logo-alt img.custom-logo { opacity: 0; }
.evolia-header-dark .has-evolia-logo-alt .evolia-logo-alt { opacity: 1; }
.evolia-header-dark .evolia-header .evolia-logo-invert:not(.has-evolia-logo-alt) img { filter: brightness(0) invert(1); }

.evolia-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	max-width: none !important;
	margin: 0 !important;
	pointer-events: none;
	background: color-mix(in srgb, currentColor 10%, transparent);
}
.evolia-progress span {
	display: block;
	height: 100%;
	background: var(--wp--preset--color--accent);
	transform-origin: left center;
	transform: scaleX(0);
	will-change: transform;
}
.evolia-transparent-header .evolia-header:not(.is-scrolled) .evolia-progress { opacity: 0; }

/* --------------------------------------------------------------------------
   Header height, logo size and position (v0.9.3)
   All items sit on the header's horizontal centre line. The header shrinks
   to about three quarters of its height once the page is scrolled.
   -------------------------------------------------------------------------- */
.evolia-header { padding-top: 0 !important; padding-bottom: 0 !important; }
.evolia-header > .wp-block-group {
	position: relative;
	min-height: var(--evolia-header-h);
	align-items: center !important;
	transition: min-height .35s var(--evolia-ease);
}
.evolia-header > .wp-block-group > .wp-block-group { align-items: center !important; }
.evolia-header .wp-block-site-logo img { transition: height .35s var(--evolia-ease), opacity .3s var(--evolia-ease); }
.evolia-header.is-scrolled > .wp-block-group { min-height: max(56px, calc(var(--evolia-header-h) * .75)); }
.evolia-header.is-scrolled .wp-block-site-logo img { height: calc(var(--evolia-logo-h, 54px) * .8) !important; }
@media (max-width: 781px) {
	.evolia-header.is-scrolled > .wp-block-group { min-height: var(--evolia-header-h); }
	.evolia-header.is-scrolled .wp-block-site-logo img { height: var(--evolia-logo-h-mobile, 44px) !important; }
}
/* Centred logo. */
.evolia-logo-center .evolia-header > .wp-block-group > .wp-block-group:first-child {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
}
.evolia-logo-center .evolia-header > .wp-block-group { justify-content: flex-end !important; }

/* --------------------------------------------------------------------------
   Photo bands (v0.11): darkness, pattern overlay and parallax for every
   Cover block with a photo. Evolia Options → Photos & slider.
   -------------------------------------------------------------------------- */
.wp-block-cover:has(> .wp-block-cover__image-background):not(.evolia-overlay-own) > .wp-block-cover__background {
	opacity: var(--evolia-cover-dim, .6) !important;
}
.wp-block-cover > .wp-block-cover__inner-container { z-index: 2 !important; } /* text above the pattern */
/* Pattern layer, above the photo and its overlay, below the text. */
:is(.evolia-pattern-diagonal, .evolia-pattern-grid, .evolia-pattern-dots) .wp-block-cover:has(> .wp-block-cover__image-background):not(.evolia-pattern-none)::after,
.wp-block-cover:is(.evolia-pattern-diagonal, .evolia-pattern-grid, .evolia-pattern-dots)::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	--s: var(--evolia-pattern-size, 16px);
	--c: var(--evolia-pattern, rgba(0, 0, 0, .3));
}
/* Diagonal lines rising to the right, 1.5px wide, one every --s across. */
.evolia-pattern-diagonal .wp-block-cover:has(> .wp-block-cover__image-background):not(.evolia-pattern-none):not(.evolia-pattern-grid):not(.evolia-pattern-dots)::after,
.wp-block-cover.evolia-pattern-diagonal::after {
	background-image: repeating-linear-gradient(135deg, transparent 0, transparent calc(var(--s) * .7071 - 1.5px), var(--c) calc(var(--s) * .7071 - 1.5px), var(--c) calc(var(--s) * .7071));
}
.evolia-pattern-grid .wp-block-cover:has(> .wp-block-cover__image-background):not(.evolia-pattern-none):not(.evolia-pattern-diagonal):not(.evolia-pattern-dots)::after,
.wp-block-cover.evolia-pattern-grid::after {
	background-image:
		repeating-linear-gradient(135deg, transparent 0, transparent calc(var(--s) * .7071 - 1px), var(--c) calc(var(--s) * .7071 - 1px), var(--c) calc(var(--s) * .7071)),
		repeating-linear-gradient(45deg, transparent 0, transparent calc(var(--s) * .7071 - 1px), var(--c) calc(var(--s) * .7071 - 1px), var(--c) calc(var(--s) * .7071));
}
.evolia-pattern-dots .wp-block-cover:has(> .wp-block-cover__image-background):not(.evolia-pattern-none):not(.evolia-pattern-diagonal):not(.evolia-pattern-grid)::after,
.wp-block-cover.evolia-pattern-dots::after {
	background-image: radial-gradient(circle, var(--c) 1px, transparent 1.6px);
	background-size: calc(var(--s) / 2) calc(var(--s) / 2);
}
/* Parallax: the photo is drawn a little larger and moved by evolia.js. */
.wp-block-cover.is-evolia-parallax { overflow: hidden; }
.wp-block-cover.is-evolia-parallax > .wp-block-cover__image-background {
	transform: translate3d(0, var(--evolia-plx-y, 0px), 0) scale(calc(1 + var(--evolia-plx, .15) * 2));
	will-change: transform;
}

/* Cover "Position on phones" (inc/cover-mobile.php): phones and upright tablets
   show a different part of a wide photo. */
@media (max-width: 781px), (max-width: 1024px) and (orientation: portrait) {
	.wp-block-cover.has-evolia-m-focal > .wp-block-cover__image-background {
		object-position: var(--evolia-m-focal) !important;
		background-position: var(--evolia-m-focal) !important;
	}
}

/* Footer column titles are h2 for a correct heading order, styled small. */
.evolia-footer h2.evolia-footer-title { font-size: 1.125rem; margin-bottom: .5rem; }

/* --------------------------------------------------------------------------
   Hero dark layer (Evolia Options → Photos & slider → Hero): its own darkness,
   shape, colour and pattern. Applies to the Cover with the class evolia-hero.
   -------------------------------------------------------------------------- */
.wp-block-cover.evolia-hero:has(> .wp-block-cover__image-background):not(.evolia-overlay-own) > .wp-block-cover__background {
	opacity: var(--evolia-hero-dim, var(--evolia-cover-dim, .6)) !important;
}
.evolia-hero-has-colour .wp-block-cover.evolia-hero > .wp-block-cover__background { background-color: var(--evolia-hero-colour) !important; }
.evolia-hero-shade-bottom .wp-block-cover.evolia-hero > .wp-block-cover__background {
	background: linear-gradient(to top, var(--evolia-hero-colour, var(--wp--preset--color--night)) 0%, color-mix(in srgb, var(--evolia-hero-colour, var(--wp--preset--color--night)) 85%, transparent) 35%, transparent 85%) !important;
}
.evolia-hero-shade-band .wp-block-cover.evolia-hero > .wp-block-cover__background {
	background: linear-gradient(to bottom, transparent 0%, var(--evolia-hero-colour, var(--wp--preset--color--night)) 35%, var(--evolia-hero-colour, var(--wp--preset--color--night)) 65%, transparent 100%) !important;
}
.evolia-hero-shade-left .wp-block-cover.evolia-hero > .wp-block-cover__background {
	background: linear-gradient(to right, var(--evolia-hero-colour, var(--wp--preset--color--night)) 0%, color-mix(in srgb, var(--evolia-hero-colour, var(--wp--preset--color--night)) 80%, transparent) 40%, transparent 80%) !important;
}
@media (max-width: 781px) {
	/* On phones the text fills the width: the "left" shape becomes "bottom". */
	.evolia-hero-shade-left .wp-block-cover.evolia-hero > .wp-block-cover__background {
		background: linear-gradient(to top, var(--evolia-hero-colour, var(--wp--preset--color--night)) 0%, color-mix(in srgb, var(--evolia-hero-colour, var(--wp--preset--color--night)) 85%, transparent) 45%, transparent 90%) !important;
	}
}
.evolia-hero-pattern-none .wp-block-cover.evolia-hero::after { display: none !important; }

/* --------------------------------------------------------------------------
   Cover slideshow (Cover block → Settings → Slideshow).
   -------------------------------------------------------------------------- */
.wp-block-cover.has-evolia-slides > .evolia-slide { opacity: 0; }
.wp-block-cover.has-evolia-slides > .wp-block-cover__image-background { transition: opacity var(--evolia-fade, 1.2s) ease-in-out; }
.wp-block-cover.is-evolia-sliding > .wp-block-cover__image-background:not(.is-active) { opacity: 0; }
.wp-block-cover.is-evolia-sliding > .wp-block-cover__image-background.is-active { opacity: 1; }
.evolia-slides-ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.evolia-slides-ui > * { pointer-events: auto; }
.evolia-slides-arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 48px; height: 48px; display: grid; place-items: center; padding: 0; cursor: pointer;
	border: 1px solid rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .35); color: #fff;
	font-size: 1.9rem; line-height: 1; transition: background .2s, opacity .2s, border-color .2s;
}
.evolia-slides-arrow span { margin-top: -.15em; }
.evolia-slides-arrow:hover { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); }
.evolia-slides-arrow--prev { left: clamp(.5rem, 2vw, 1.5rem); }
.evolia-slides-arrow--next { right: clamp(.5rem, 2vw, 1.5rem); }
.evolia-slides-dots { position: absolute; left: 0; right: 0; bottom: clamp(.75rem, 3vh, 1.75rem); display: flex; justify-content: center; }
.evolia-slides-dot { position: relative; width: 28px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.evolia-slides-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 3px; transform: translate(-50%, -50%); background: rgba(255, 255, 255, .45); transition: background .3s, width .3s; }
.evolia-slides-dot.is-active::before { background: var(--wp--preset--color--accent); width: 24px; }
/* Which controls show. */
.evolia-slider-ctrl-dots .evolia-slides-arrow,
.evolia-slider-ctrl-arrows .evolia-slides-dots,
.evolia-slider-ctrl-none .evolia-slides-ui { display: none; }
@media (max-width: 781px) {
	.evolia-slides-arrow { display: none; } /* phones swipe */
	.has-evolia-action-bar .evolia-slides-dots { bottom: .75rem; }
	.has-evolia-action-bar .evolia-hero .evolia-slides-dots { bottom: calc(var(--evolia-bar-h) + env(safe-area-inset-bottom, 0px) + .5rem); }
}

/* --------------------------------------------------------------------------
   Arrows and dots look (Evolia Options → Photos & slider).
   -------------------------------------------------------------------------- */
/* Minimal: thin arrows and small round dots, no boxes. */
.evolia-controls-minimal .evolia-slides-arrow { border: 0; background: none; width: 44px; height: 64px; font-size: 3rem; font-weight: 300; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); opacity: .75; }
.evolia-controls-minimal .evolia-slides-arrow:hover { background: none; opacity: 1; }
.evolia-controls-minimal .evolia-slides-dot { width: 20px; }
.evolia-controls-minimal .evolia-slides-dot::before { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.evolia-controls-minimal .evolia-slides-dot.is-active::before { width: 7px; background: #fff; }
.evolia-controls-minimal .evolia-swipe-btn { border: 0; background: none !important; width: 36px; height: 36px; font-size: 2rem; font-weight: 300; color: inherit; opacity: .55; }
.evolia-controls-minimal .evolia-swipe-btn:hover:not(:disabled) { opacity: 1; color: var(--wp--preset--color--accent); }
.evolia-controls-minimal .evolia-swipe-btn:disabled { opacity: .15; }
.evolia-controls-minimal .evolia-swipe-dot { min-width: 18px; }
.evolia-controls-minimal .evolia-swipe-dot::before { width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, currentColor 25%, transparent); }
.evolia-controls-minimal .evolia-swipe-dot.is-active { min-width: 18px; }
.evolia-controls-minimal .evolia-swipe-dot.is-active::before { width: 6px; background: var(--wp--preset--color--accent); }
.evolia-controls-minimal .evolia-gallery__nav { background: none !important; color: #fff; font-size: 2.5rem; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
/* Which controls show on sliding rows. */
.evolia-carousel-ctrl-dots .evolia-swipe-btn { display: none; }
.evolia-carousel-ctrl-arrows .evolia-swipe-dots { display: none; }
.evolia-carousel-ctrl-none .evolia-swipe-controls { display: none !important; }
/* Mouse drag on sliding rows. */
@media (hover: hover) and (pointer: fine) {
	.is-draggable:is(.evolia-swipe, .evolia-swipe-mobile) { cursor: grab; }
}
.evolia-swipe.is-dragging, .evolia-swipe-mobile.is-dragging { cursor: grabbing; scroll-snap-type: none !important; scroll-behavior: auto !important; user-select: none; }
.evolia-swipe.is-dragging a, .evolia-swipe-mobile.is-dragging a { pointer-events: none; }

/* Graphic buttons (pattern "4sale / 4parts graphic buttons"): wordmark images
   as links. Same height side by side, lift on hover. */
.evolia-graphic-btns { gap: clamp(1.25rem, 4vw, 3rem) !important; align-items: center; }
.evolia-graphic-btns > .wp-block-image { margin: 0 !important; }
.evolia-graphic-btns img { display: block; height: clamp(46px, 5vw, 64px) !important; width: auto !important; max-width: none; transition: transform .25s var(--evolia-ease), filter .25s var(--evolia-ease); }
.evolia-graphic-btns a { display: block; padding: .35rem .25rem; border-radius: 4px; }
.evolia-graphic-btns a:is(:hover, :focus-visible) img { transform: translateY(-3px); filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .45)); }
.evolia-graphic-btns a:focus-visible { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 4px; }
@media (max-width: 781px) {
	.evolia-graphic-btns { gap: 1.25rem 1.75rem !important; }
	.evolia-graphic-btns img { height: 44px !important; }
}

/* An image (e.g. the smart4sale artwork) placed inside a Button: centre it
   vertically and give every button in that row the same height. */
.wp-block-buttons:has(.wp-block-button__link img) { align-items: stretch; }
.wp-block-buttons:has(.wp-block-button__link img) > .wp-block-button { display: flex; }
.wp-block-buttons:has(.wp-block-button__link img) > .wp-block-button > .wp-block-button__link { display: flex; align-items: center; justify-content: center; }
.wp-block-button__link img { display: block; height: auto; flex: none; }
