/* Velmora dynamic blocks: enquiry actions, business details and floor categories. */

.vlm-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.vlm-business-details__list {
	margin: 0;
}

.vlm-business-details__row {
	display: grid;
	gap: 0.25rem;
	padding-block: var(--wp--preset--spacing--40);
	border-block-start: 1px solid var(--wp--preset--color--line);
}

.vlm-business-details__row:last-child {
	border-block-end: 1px solid var(--wp--preset--color--line);
}

.vlm-business-details dt {
	color: var(--wp--preset--color--muted);
	font-size: var(--vlm-label-size);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.vlm-business-details dd {
	margin: 0;
}

.vlm-business-details dd a:not(.vlm-link-arrow) {
	color: inherit;
}

.vlm-category-grid__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 36em) {
	.vlm-category-grid__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 64em) {
	.vlm-category-grid__list {
		grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
	}
}

/* One or two cards fill the row; their photographs turn landscape so the wider cards stay a sensible height. */
@media (min-width: 36em) {
	.vlm-category-grid__list:not(:has(> :nth-child(3))) .vlm-category-tile__media {
		aspect-ratio: 16 / 10;
	}
}

/* Service card: a white card with the photograph inset, then the title and a round arrow.
   The whole card is the link; the photograph gets a sweep of light on hover or keyboard focus. */
.vlm-category-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1.125rem;
	margin: 0;
	padding: 0.375rem 0.375rem 1.25rem;
	color: var(--wp--preset--color--contrast);
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 20px;
	transition: border-color 0.3s ease, box-shadow 0.3s var(--vlm-ease, ease), transform 0.3s var(--vlm-ease, ease);
}

.vlm-category-tile__media {
	position: relative;
	isolation: isolate;
	aspect-ratio: 5 / 4;
	overflow: hidden;
	background: var(--wp--preset--color--surface);
	border-radius: 16px;
}

.vlm-category-tile__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 900ms var(--vlm-ease, ease);
}

/* The shine: a pale skewed band that crosses the photograph once. */
.vlm-category-tile__media::after {
	position: absolute;
	top: 0;
	left: -75%;
	z-index: 1;
	width: 50%;
	height: 100%;
	background: linear-gradient(to right, rgb(255 255 255 / 0), rgb(255 255 255 / 0.35));
	transform: skewX(-25deg);
	pointer-events: none;
	content: "";
}

@keyframes vlm-shine {
	100% {
		left: 125%;
	}
}

/* The text sits at the foot of the card, so titles and arrows line up across a row. */
.vlm-category-tile__body {
	display: grid;
	flex: 1;
	grid-template-columns: minmax(0, 1fr) auto;
	align-content: end;
	align-items: end;
	gap: 0.625rem 1rem;
	padding-inline: 0.875rem;
}

.vlm-category-tile__body > * {
	grid-column: 1;
	margin: 0;
}

.vlm-category-tile__index {
	color: var(--wp--preset--color--muted);
	font-size: var(--vlm-label-size);
	letter-spacing: 0.12em;
	font-variant-numeric: tabular-nums;
}

.vlm-category-tile__title {
	color: inherit;
	font-size: clamp(1.25rem, 1rem + 0.6vw, 1.5rem);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.vlm-category-tile__text {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
}

/* The whole card is the link's hit area; the heading link stays the single tab stop. */
.vlm-category-tile__link::after {
	position: absolute;
	inset: 0;
	z-index: 2;
	content: "";
}

.vlm-category-tile__link:focus-visible {
	outline: 0;
}

.vlm-category-tile:has(.vlm-category-tile__link:focus-visible) {
	outline: var(--wp--custom--focus-width) solid var(--wp--preset--color--accent);
	outline-offset: 4px;
}

/* The round arrow sits at the right, level with the foot of the title. */
.vlm-category-tile__more {
	grid-column: 2;
	grid-row: 1;
	align-self: end;
}

.vlm-category-tile__arrow {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	color: #fff;
	background: var(--wp--preset--color--accent);
	border-radius: 50%;
	transition: background-color 0.3s ease;
}

.vlm-category-tile__arrow .vlm-icon {
	width: 1.125rem;
	height: 1.125rem;
	transform: rotate(-45deg);
	transition: transform 0.35s var(--vlm-ease, ease);
}

/* The card title is a link; keep it Ink rather than the global link colours. */
.vlm-category-tile__link,
.vlm-category-tile__link:hover,
.vlm-category-tile__link:focus {
	color: inherit;
	text-decoration: none;
}

/* Only the title text lifts: a transform on the heading or link would shrink the card-wide link area to the title. */
.vlm-category-tile__label {
	display: inline-block;
	transition: transform 0.4s var(--vlm-ease, ease), color 0.3s ease;
}

.vlm-category-tile:hover,
.vlm-category-tile:focus-within {
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 18px 36px -22px rgb(20 18 15 / 0.35);
}

.vlm-category-tile:hover .vlm-category-tile__label {
	color: var(--wp--preset--color--accent);
}

.vlm-category-tile:hover .vlm-category-tile__arrow,
.vlm-category-tile:focus-within .vlm-category-tile__arrow {
	background: var(--wp--preset--color--accent-deep);
}

.vlm-category-tile:hover .vlm-category-tile__arrow .vlm-icon,
.vlm-category-tile:focus-within .vlm-category-tile__arrow .vlm-icon {
	transform: rotate(0deg);
}

@media (prefers-reduced-motion: no-preference) {
	.vlm-category-tile:hover .vlm-category-tile__media::after,
	.vlm-category-tile:focus-within .vlm-category-tile__media::after {
		animation: vlm-shine 0.85s;
	}

	.vlm-category-tile:hover .vlm-category-tile__media img {
		transform: scale(1.05);
	}

	.vlm-category-tile:hover .vlm-category-tile__label {
		transform: translateY(-2px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.vlm-category-tile,
	.vlm-category-tile__media img,
	.vlm-category-tile__arrow .vlm-icon {
		transition: none;
	}
}

/* Brands: one cell per brand, logo (or name) above its floor count; the row always fills the width. */
.vlm-brands {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
	border-block-start: 1px solid var(--wp--preset--color--line);
	border-inline-start: 1px solid var(--wp--preset--color--line);
}

@media (min-width: 48em) {
	.vlm-brands {
		grid-template-columns: repeat(min(var(--vlm-brands, 4), 7), minmax(0, 1fr));
	}
}

.vlm-brands__item {
	margin: 0;
	border-block-end: 1px solid var(--wp--preset--color--line);
	border-inline-end: 1px solid var(--wp--preset--color--line);
}

.vlm-brands__link {
	display: grid;
	place-items: center;
	align-content: center;
	gap: 0.625rem;
	height: 100%;
	min-height: 9.25rem;
	padding: 1.5rem 1rem;
	color: var(--wp--preset--color--contrast);
	text-align: center;
	text-decoration: none;
	background: var(--wp--preset--color--base);
	transition: background-color 0.25s ease;
}

.vlm-brands__link:hover,
.vlm-brands__link:focus {
	color: var(--wp--preset--color--contrast);
	background: var(--wp--preset--color--surface);
}

.vlm-brands__name {
	font-size: 1.375rem;
	font-weight: 400;
	letter-spacing: -0.01em;
}

.vlm-brands__logo {
	width: auto;
	max-width: 80%;
	max-height: 3.5rem;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.85;
	transition: filter 0.3s ease, opacity 0.3s ease;
}

.vlm-brands__link:hover .vlm-brands__logo {
	filter: none;
	opacity: 1;
}

.vlm-brands__meta {
	display: inline-flex;
	gap: 0.375rem;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.vlm-brands__meta span {
	opacity: 0;
	transform: translateX(-4px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.vlm-brands__link:hover .vlm-brands__meta span,
.vlm-brands__link:focus-visible .vlm-brands__meta span {
	opacity: 1;
	transform: none;
}

/* Star rating: a row of pale stars with the gold row cropped to the rating on top. */
.vlm-stars {
	position: relative;
	display: inline-block;
	color: var(--wp--preset--color--line);
	font-size: 1rem;
	line-height: 1;
	white-space: nowrap;
}

.vlm-stars::before,
.vlm-stars::after {
	content: "★★★★★";
}

.vlm-stars::after {
	position: absolute;
	top: 0;
	left: 0;
	width: calc(var(--vlm-rating, 5) * 20%);
	overflow: hidden;
	color: var(--wp--preset--color--star);
}

/* The review row scrolls inside the section rather than widening it. */
.vlm-reviews {
	grid-template-columns: minmax(0, 1fr);
}

/* Reviews: a rating bar, then a sideways row of review cards. */
.vlm-reviews {
	display: grid;
	gap: 1.5rem;
}

.vlm-reviews__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 2rem;
	padding: 1.5rem 1.75rem;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--wp--custom--radius);
}

.vlm-reviews__summary > * {
	margin: 0;
}

.vlm-reviews__source {
	font-size: 1.25rem;
}

.vlm-reviews__score {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.vlm-reviews__number {
	font-size: 1.75rem;
	font-weight: 500;
	line-height: 1;
}

.vlm-reviews__count {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.vlm-reviews__summary .vlm-reviews__more {
	min-height: 2.5rem;
	margin-inline-start: auto;
	padding-inline: 1.125rem;
	font-size: 0.875rem;
}

.vlm-reviews__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(85%, 21.25rem);
	gap: 1.25rem;
	margin: 0;
	padding: 0 0 0.5rem;
	overflow-x: auto;
	list-style: none;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.vlm-reviews__track::-webkit-scrollbar {
	display: none;
}

@media (min-width: 64em) {
	.vlm-reviews__track {
		grid-auto-columns: calc((100% - 2 * 1.5rem) / 3);
		gap: 1.5rem;
	}
}

/* Review card: an accent badge with the reviewer's initial overhangs the top-left corner, beside the name and a
   large quote mark; a rule, the review, then the stars at the foot. A pale curve fills the lower corner. */
.vlm-review {
	margin: 0;
	padding-block-start: 1.25rem;
	scroll-snap-align: start;
}

.vlm-review__inner {
	--vlm-review-border: 5px;
	position: relative;
	display: grid;
	grid-template-rows: auto 1fr;
	align-content: start;
	gap: 1.25rem;
	height: 100%;
	margin: 0;
	padding: 0 1.75rem 1.75rem;
	background:
		radial-gradient(130% 75% at 105% 108%, var(--wp--preset--color--surface) 0 55%, transparent 55.5%),
		var(--wp--preset--color--base);
	border: var(--vlm-review-border) solid var(--wp--preset--color--line);
	border-radius: 20px;
}

/* The head runs edge to edge; its rule starts under the name, beside the badge, as in a letterhead. */
.vlm-review__head {
	--vlm-badge: 6.25rem;
	--vlm-head-gap: 1.25rem;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--vlm-head-gap);
	margin-block-start: -1.25rem;
	margin-inline: calc(-1.75rem - var(--vlm-review-border)) -1.75rem;
	padding-block-end: 1.25rem;
	padding-inline-end: 1.75rem;
	background: linear-gradient(var(--wp--preset--color--line), var(--wp--preset--color--line)) no-repeat right bottom / calc(100% - var(--vlm-badge) - var(--vlm-head-gap)) 1px;
}

/* The quote mark. */
.vlm-review__head::after {
	align-self: center;
	margin-block-start: 1.25rem;
	color: var(--wp--preset--color--accent);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 4rem;
	font-weight: 700;
	line-height: 0.6;
	content: "\201D";
}

.vlm-review__avatar {
	position: relative;
	display: grid;
	flex: none;
	place-items: center;
	align-self: start;
	width: var(--vlm-badge);
	aspect-ratio: 1;
	background:
		repeating-linear-gradient(135deg, rgb(255 255 255 / 0.08) 0 2px, transparent 2px 14px),
		var(--wp--preset--color--accent);
	border-radius: 20px 0 20px 20px;
}

/* Folded corner. */
.vlm-review__avatar::before {
	position: absolute;
	top: 0;
	left: 100%;
	border-block-end: 1.25rem solid var(--wp--preset--color--accent-deep);
	border-inline-end: 0.75rem solid transparent;
	content: "";
}

/* Cartoon face (inc/reviews.php): it blinks now and then, and tilts when the card is hovered. */
.vlm-review__face {
	display: block;
	width: 4.875rem;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--wp--preset--color--base);
	border: 3px solid rgb(255 255 255 / 0.85);
	border-radius: 50%;
	box-shadow: 0 6px 16px rgb(20 18 15 / 0.18);
}

.vlm-review__face-art {
	display: block;
	width: 100%;
	height: 100%;
}

.vlm-review__head-art,
.vlm-review__eyes {
	transform-box: fill-box;
	transform-origin: center;
}

.vlm-review__head-art {
	transform-origin: 50% 90%;
	transition: transform 0.5s var(--vlm-ease, ease);
}

@media (prefers-reduced-motion: no-preference) {
	.vlm-review__eyes {
		animation: vlm-blink 5s infinite;
	}

	.vlm-review:nth-child(3n + 2) .vlm-review__eyes {
		animation-delay: -1.7s;
	}

	.vlm-review:nth-child(3n) .vlm-review__eyes {
		animation-delay: -3.4s;
	}

	.vlm-review:hover .vlm-review__head-art {
		transform: rotate(-8deg);
	}
}

@keyframes vlm-blink {
	0%,
	92%,
	100% {
		transform: scaleY(1);
	}

	95% {
		transform: scaleY(0.1);
	}
}

.vlm-review__who {
	display: grid;
	gap: 0.25rem;
	align-self: center;
	margin-block-start: 1.25rem;
}

.vlm-review__name {
	font-size: 1.1875rem;
	font-weight: 600;
	line-height: 1.2;
}

.vlm-review__via {
	color: var(--wp--preset--color--muted);
	font-size: 0.875rem;
}

.vlm-review__text {
	margin: 0;
	padding: 0;
	border: 0;
}

.vlm-review .vlm-stars {
	font-size: 1.25rem;
	letter-spacing: 0.15em;
}

@media (max-width: 35.9375em) {
	.vlm-review__inner {
		padding: 0 1.25rem 1.5rem;
	}

	.vlm-review__head {
		--vlm-badge: 5.25rem;
		--vlm-head-gap: 0.875rem;
		margin-inline: calc(-1.25rem - var(--vlm-review-border)) -1.25rem;
		padding-inline-end: 1.25rem;
	}

	.vlm-review__face {
		width: 4.125rem;
	}

	.vlm-review__head::after {
		font-size: 3.25rem;
	}
}

@media (max-width: 22.5em) {
	.vlm-review__head {
		--vlm-badge: 4.5rem;
		--vlm-head-gap: 0.75rem;
	}

	.vlm-review__face {
		width: 3.5rem;
	}

	.vlm-review__name {
		font-size: 1.0625rem;
	}

	.vlm-review__head::after {
		font-size: 2.75rem;
	}
}

.vlm-review__text p {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--wp--preset--color--contrast-soft);
	font-size: 0.9375rem;
	line-height: 1.55;
	-webkit-line-clamp: 7;
	-webkit-box-orient: vertical;
}

.vlm-review.is-expanded .vlm-review__text p {
	display: block;
	overflow: visible;
	-webkit-line-clamp: unset;
}

/* "Read more" sits under a review cut short; added by sections.js only when the text is cut. */
.vlm-review__more {
	justify-self: start;
	min-height: 1.5rem;
	margin-block-start: -0.5rem;
	padding: 0;
	color: var(--wp--preset--color--accent);
	font: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 0.2em;
	background: none;
	border: 0;
	cursor: pointer;
}

.vlm-review__more:hover {
	color: var(--wp--preset--color--accent-deep);
}

.vlm-carousel__controls {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	margin-block-start: 0.5rem;
}

.vlm-carousel__controls[hidden] {
	display: none;
}

.vlm-carousel__button {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	color: var(--wp--preset--color--contrast);
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 50%;
	cursor: pointer;
	transition: border-color 0.2s ease, opacity 0.2s ease;
}

.vlm-carousel__button:hover {
	border-color: var(--wp--preset--color--contrast);
}

.vlm-carousel__button:disabled {
	cursor: default;
	opacity: 0.35;
}

.vlm-carousel__button .vlm-icon {
	width: 1rem;
	height: 1rem;
}

/* "See all reviews on Google", centred under the carousel; full width on phones. */
.vlm-reviews__all {
	display: flex;
	justify-content: center;
	margin: 0;
}

@media (max-width: 35.9375em) {
	.vlm-reviews__all .vlm-button {
		width: 100%;
		justify-content: center;
	}
}

/* Before and after: the after photo is revealed from the left as the slider moves. The range input covers
   the frame, so dragging, tapping and arrow keys all work. */
.vlm-compare {
	margin: 0;
}

.vlm-compare__frame {
	--vlm-compare: 50%;
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--wp--preset--color--surface-strong);
	border-radius: var(--wp--custom--radius);
}

.vlm-compare__before,
.vlm-compare__after,
.vlm-compare__after-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vlm-compare__after {
	clip-path: inset(0 0 0 var(--vlm-compare));
}

.vlm-compare__frame::after {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--vlm-compare);
	width: 2px;
	background: #fff;
	content: "";
	transform: translateX(-1px);
	pointer-events: none;
}

.vlm-compare__handle {
	position: absolute;
	top: 50%;
	left: var(--vlm-compare);
	z-index: 2;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	color: var(--wp--preset--color--contrast);
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 4px 14px rgb(0 0 0 / 0.25);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.vlm-compare__label {
	position: absolute;
	top: 1rem;
	z-index: 2;
	padding: 0.3125rem 0.75rem;
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: rgb(20 18 15 / 0.65);
	border-radius: var(--wp--custom--radius-pill);
	pointer-events: none;
}

.vlm-compare__label--before {
	left: 1rem;
}

.vlm-compare__label--after {
	right: 1rem;
}

.vlm-compare__range {
	position: absolute;
	inset: 0;
	z-index: 3;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: ew-resize;
	appearance: none;
}

.vlm-compare__frame:has(.vlm-compare__range:focus-visible) {
	outline: var(--wp--custom--focus-width) solid var(--wp--preset--color--accent);
	outline-offset: 3px;
}

.vlm-compare__caption {
	margin-block-start: 0.75rem;
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.75;
}

/* Brands as a slow, continuous strip. The script repeats the brands so the loop is seamless; it pauses on
   hover or keyboard focus. Without the script, or with reduced motion, it stays the plain grid above. */
.vlm-brands-slider.is-running {
	overflow: hidden;
	border-block: 1px solid var(--wp--preset--color--line);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.vlm-brands-slider.is-running .vlm-brands {
	display: flex;
	width: max-content;
	border: 0;
	animation: vlm-marquee var(--vlm-marquee-duration, 30s) linear infinite;
}

.vlm-brands-slider.is-running .vlm-brands__item {
	flex: none;
	width: clamp(12rem, 22vw, 17rem);
	border-block-end: 0;
}

.vlm-brands-slider.is-running:hover .vlm-brands,
.vlm-brands-slider.is-running:focus-within .vlm-brands {
	animation-play-state: paused;
}

/* The "Trusted across Perth" label is larger in this section. */
.vlm-clients-section .vlm-eyebrow {
	font-size: 1.125rem;
}

/* "Trusted by" venues: the name in bold with the suburb beside a map pin underneath. They wrap centred
   without the script, and run as a slow strip when the script adds is-running. */
.vlm-clients {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem 3rem;
	margin: 0;
	padding: 0.5rem 0;
	list-style: none;
}

.vlm-clients li {
	display: grid;
	gap: 0.25rem;
	margin: 0;
	padding: 0.5rem 0;
	text-align: start;
	white-space: nowrap;
}

.vlm-clients strong {
	color: var(--wp--preset--color--contrast);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.01em;
	transition: color 0.25s ease;
}

/* The suburb, with a map pin. */
.vlm-clients em {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	color: var(--wp--preset--color--muted);
	font-size: var(--vlm-label-size);
	font-style: normal;
}

.vlm-clients em::before {
	width: 0.875rem;
	height: 0.875rem;
	background: var(--wp--preset--color--accent);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
	content: "";
}

/* With a logo, the logo stands in for the name (kept for screen readers) and the suburb sits centred
   under it. Logos show in grey and take their own colours on hover. */
.vlm-clients li:has(.vlm-clients__logo) {
	justify-items: center;
	gap: 0.625rem;
	padding-inline: 0.5rem;
	text-align: center;
}

.vlm-clients__logo {
	display: block;
	width: auto;
	max-width: 11rem;
	height: 3.25rem;
	object-fit: contain;
	filter: grayscale(1);
	opacity: 0.7;
	transition: filter 0.3s ease, opacity 0.3s ease;
}

.vlm-clients li:has(.vlm-clients__logo) strong {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.vlm-clients li:hover .vlm-clients__logo {
	filter: none;
	opacity: 1;
}

@media (max-width: 35.9375em) {
	.vlm-clients__logo {
		max-width: 9rem;
		height: 2.75rem;
	}
}

.vlm-clients li:hover strong {
	color: var(--wp--preset--color--accent);
}

.vlm-clients-strip.is-running {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

/* Running, the gap becomes a right margin on every venue so each copy of the set is exactly as wide. */
.vlm-clients-strip.is-running .vlm-clients {
	flex-wrap: nowrap;
	justify-content: flex-start;
	gap: 0;
	width: max-content;
	animation: vlm-marquee var(--vlm-marquee-duration, 30s) linear infinite;
}

.vlm-clients-strip.is-running li {
	flex: none;
	margin-inline-end: 3.5rem;
}

.vlm-clients-strip.is-running:hover .vlm-clients,
.vlm-clients-strip.is-running:focus-within .vlm-clients {
	animation-play-state: paused;
}

@media (max-width: 35.9375em) {
	.vlm-clients strong {
		font-size: 1.125rem;
	}
}

@keyframes vlm-marquee {
	to {
		transform: translateX(var(--vlm-marquee-distance, -50%));
	}
}

.vlm-category-tile__text {
	margin: 0.25rem 0 0;
	max-width: 22rem;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
	opacity: 0.85;
}

/* Hero background photos: stacked behind the overlay, each fading in over the last with a slow zoom out. */
.vlm-hero-slides {
	display: none;
}

.vlm-hero-slides__layer {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
}

.vlm-hero-slides__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 70%;
	opacity: 0;
	transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vlm-hero-slides__image.is-active {
	opacity: 1;
}

.wp-block-cover.has-slides {
	overflow: hidden;
}

.wp-block-cover.has-slides .is-zooming {
	animation: vlm-hero-zoom var(--vlm-slide-duration, 7400ms) cubic-bezier(0.25, 0.1, 0.25, 1) both;
	will-change: transform;
}

.wp-block-cover.has-slides.is-offscreen .is-zooming {
	animation-play-state: paused;
}

@keyframes vlm-hero-zoom {
	from {
		transform: scale(1.08);
	}

	to {
		transform: scale(1);
	}
}

/* Location map (Google Maps embed). */
.vlm-map {
	margin: 0;
}

.vlm-map__frame {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--wp--preset--color--surface-strong);
	border-radius: var(--wp--custom--radius);
}

.vlm-map__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.vlm-map__caption {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	align-items: center;
	justify-content: space-between;
	margin-block-start: 1rem;
	font-size: var(--wp--preset--font-size--small);
}
