/**
 * Theme overrides — loaded after assets/css/output.css.
 * Target sections with .theme-section and .theme-section--{layout_name}.
 */

/* Fixed site header (top banner + nav) offset for first sections */
body {
	--site-top-offset: 4.75rem;
}

body.has-top-banner {
	--site-top-offset: 7.25rem;
}

@media (min-width: 1024px) {
	body {
		--site-top-offset: 5.5rem;
	}

	body.has-top-banner {
		--site-top-offset: 8.25rem;
	}
}

body .theme-section--home_banner {
	padding-top: var(--site-top-offset);
}

/* Top banner — live open status */
.top-banner--open {
	position: relative;
	overflow: hidden;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.18);
}

.top-banner--open::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.14) 50%,
		rgba(255, 255, 255, 0) 100%
	);
	transform: translateX(-100%);
	animation: top-banner-shimmer 3.5s ease-in-out infinite;
	pointer-events: none;
}

.top-banner--closed {
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.top-banner__dot {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.125rem;
	height: 1.125rem;
	flex-shrink: 0;
}

.top-banner__dot-core {
	position: relative;
	z-index: 2;
	display: block;
	width: 0.625rem;
	height: 0.625rem;
	border-radius: 9999px;
	background-color: #fff;
	box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65);
	animation: top-banner-dot-pulse 1.8s ease-out infinite;
}

.top-banner__dot-ring {
	position: absolute;
	inset: 0;
	border-radius: 9999px;
	border: 2px solid rgba(255, 255, 255, 0.85);
	opacity: 0;
	animation: top-banner-dot-ring 1.8s ease-out infinite;
}

.top-banner__dot-ring--delayed {
	animation-delay: 0.9s;
}

.top-banner__live .top-banner__message {
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.12);
}

@keyframes top-banner-dot-pulse {
	0%,
	100% {
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.65);
	}

	50% {
		box-shadow: 0 0 0 0.45rem rgba(255, 255, 255, 0);
	}
}

@keyframes top-banner-dot-ring {
	0% {
		transform: scale(0.45);
		opacity: 0.9;
	}

	100% {
		transform: scale(2.2);
		opacity: 0;
	}
}

@keyframes top-banner-shimmer {
	0%,
	100% {
		transform: translateX(-100%);
	}

	50% {
		transform: translateX(100%);
	}
}

 .theme-section--split_content_card img.object-cover,
 .theme-section--split_content_card .image-column > div {
    height: 100%;
 }

/* Split content card — map column needs a definite height so inner % / iframe fill works */
.theme-section--split_content_card .split-content-card__media-map {
	height: 500px;
	max-height: 500px;
	min-height: 240px;
}

.theme-section--split_content_card .split-content-card-map {
	height: 100%;
	min-height: 240px;
	max-height: 550px;
	border-radius: 0.5rem;
}

.theme-section--split_content_card .split-content-card-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 240px;
	max-height: 500px;
	border: 0;
	border-radius: 0.5rem;
}

/* ---------------------------------------------------------------------------
 * Gallery (flexible layout)
 *
 * Self-contained styles. 2 columns mobile, 4 columns desktop (>=768px).
 * Lightbox/popup behaviour is provided by VenoBox (vendor CSS + JS) — the
 * only contract here is that each tile keeps the `venobox-active` class.
 * --------------------------------------------------------------------------- */

.gallery {
	padding-top: 2.5rem;
	padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
	.gallery {
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
	}
}

.gallery__inner {
	width: 100%;
	max-width: 73.75rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	box-sizing: border-box;
}

.gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 768px) {
	.gallery__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1rem;
	}
}

.gallery__cell {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gallery__item {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 0.5rem;
	background-color: #f4efe2;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
}

.gallery__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gallery__item:hover .gallery__image,
.gallery__item:focus-visible .gallery__image {
	transform: scale(1.05);
}

.gallery__item:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}
