/*
Theme Name: Big Powderhorn
Theme URI: https://bigpowderhorn.com
Author: Wonderhorse
Author URI: https://wonderhorse.com
Description: Custom theme for Big Powderhorn Mountain Resort.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: big-powderhorn
Update URI: false
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, block-patterns, wide-blocks, block-styles
*/

/* Self-hosted Kapra Neue */
@font-face {
	font-family: 'Kapra Neue';
	src: url('assets/fonts/KapraNeue-Thin.woff2') format('woff2');
	font-weight: 100;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Kapra Neue';
	src: url('assets/fonts/KapraNeue-Light.woff2') format('woff2');
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Kapra Neue';
	src: url('assets/fonts/KapraNeue-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Kapra Neue';
	src: url('assets/fonts/KapraNeue-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--header-height: 105px;
	--container-radius: 24px;
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
	overflow-x: auto;
}

/*
 * Button typography & shape — pill matching Figma
 */
.wp-block-button__link {
	border-radius: 3.125rem;
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 500;
	font-size: 1rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 1rem 2.25rem;
	font-stretch: expanded;
	font-variation-settings: "wdth" 125;
}

/* Arrow button variants */
.wp-block-button.is-style-default-arrow .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 1.75rem;
	background-color: var(--wp--preset--color--red);
	color: var(--wp--preset--color--cream);
}

.wp-block-button.is-style-default-arrow .wp-block-button__link::after,
.wp-block-button.is-style-outline-arrow .wp-block-button__link::after {
	content: "";
	display: inline-block;
	width: 30px;
	height: 16px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	transition: transform 0.3s ease-in-out;
}

.wp-block-button.is-style-default-arrow .wp-block-button__link:hover::after,
.wp-block-button.is-style-outline-arrow .wp-block-button__link:hover::after {
	transform: translateX(4px);
}

.wp-block-button.is-style-default-arrow .wp-block-button__link::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='16' fill='none' viewBox='0 0 30 16'%3E%3Cpath fill='%23fff1e9' d='M29.707 8.659a1 1 0 0 0 0-1.414L23.343.88a1 1 0 1 0-1.414 1.414l5.657 5.657-5.657 5.656a1 1 0 0 0 1.414 1.415zM0 7.952v1h29v-2H0z'/%3E%3C/svg%3E");
}

.wp-block-button.is-style-outline-arrow .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 1.75rem;
	background-color: transparent;
	color: var(--wp--preset--color--brown);
	border: 2px solid currentColor;
	padding: calc(1rem - 2px) calc(2.25rem - 2px);
}

.wp-block-button.is-style-outline-arrow .wp-block-button__link::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='16' fill='none' viewBox='0 0 30 16'%3E%3Cpath fill='%23371f1d' d='M29.707 8.659a1 1 0 0 0 0-1.414L23.343.88a1 1 0 1 0-1.414 1.414l5.657 5.657-5.657 5.656a1 1 0 0 0 1.414 1.415zM0 7.952v1h29v-2H0z'/%3E%3C/svg%3E");
}

/* Group block style: flow children into two CSS columns on desktop. */
@media (min-width: 768px) {
	.wp-block-group.is-style-two-columns {
		column-count: 2;
		column-gap: clamp(2rem, 4vw, 3rem);
	}
	.wp-block-group.is-style-two-columns > * {
		break-inside: avoid;
	}
}

/* Default media-text content has 0 8% padding from core; remove for non-hero
   variants so headings align with surrounding 1096px-constrained content. */
.wp-block-media-text:not(.is-style-hero) {
	column-gap: clamp(2rem, 4vw, 3rem);
}

.wp-block-media-text:not(.is-style-hero) > .wp-block-media-text__content {
	padding: 0;
}

.wp-block-media-text:not(.is-style-hero) > .wp-block-media-text__content > .wp-block-heading {
	margin-bottom: 0;
}

.wp-block-media-text:not(.is-style-hero) > .wp-block-media-text__media {
	border-radius: var(--container-radius);
	overflow: hidden;
}

.wp-block-media-text:not(.is-style-hero) > .wp-block-media-text__media img {
	display: block;
	border-radius: inherit;
}

/* ==========================================================================
   Hero — block style on core/media-text
   ========================================================================== */

.wp-block-media-text.is-style-hero {
	height: calc(100vh - var(--header-height) - var(--admin-bar-height, 0px));
	min-height: 600px;
	position: relative;
	padding-block: 0;
	grid-template-columns: auto 72% !important;
}

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

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

.wp-block-media-text.is-style-hero .wp-block-media-text__media {
	height: 100%;
	border-radius: 0;
	border-top-left-radius: var(--container-radius);
	border-bottom-left-radius: var(--container-radius);
	overflow: hidden;
	position: relative;
}

.bph-stat-diamond {
	position: absolute;
	bottom: 0;
	right: 8%;
	transform: translateY(67%);
	width: clamp(120px, 12vw, 165px);
	aspect-ratio: 165 / 226;
	color: var(--wp--preset--color--red);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
	pointer-events: none;
}

.bph-stat-diamond svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.bph-stat-diamond__text {
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 300;
	text-transform: uppercase;
	text-align: center;
	font-size: clamp(0.875rem, 1.25vw, 1.125rem);
	line-height: 1.15;
	letter-spacing: 0.02em;
}

.bph-stat-diamond__text strong {
	font-weight: 300;
	font-size: inherit;
	line-height: 1.15;
}

@media (max-width: 768px) {
	.bph-stat-diamond {
		display: none;
	}
}

.wp-block-media-text.is-style-hero .wp-block-media-text__media img,
.wp-block-media-text.is-style-hero .wp-block-media-text__media video {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.wp-block-media-text.is-style-hero .wp-block-media-text__content {
	z-index: 1;
	grid-column: 1 / -1;
	grid-row: 1;
	align-self: end;
	width: max-content;
	max-width: 40%;
	padding: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 4vw, 3rem);
}

/* Snowflake icon sizing */
.wp-block-media-text.is-style-hero .wp-block-media-text__content .wp-block-image {
	margin-bottom: 0.75rem;
}

/* Stat line — uppercase mono style */
.wp-block-media-text.is-style-hero .wp-block-media-text__content > .wp-block-group > p:first-of-type,
.wp-block-media-text.is-style-hero .wp-block-media-text__content .has-orange-color {
	font-family: var(--wp--preset--font-family--roboto-mono);
	text-transform: uppercase;
	font-size: 0.875rem;
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
}

/* H1 heading */
.wp-block-media-text.is-style-hero .wp-block-media-text__content .wp-block-heading {
	font-size: var(--wp--preset--font-size--h-1);
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brown);
	margin-bottom: 1.5rem;
}

/* Button spacing */
.wp-block-media-text.is-style-hero .wp-block-media-text__content .wp-block-buttons {
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 0.75rem;
	width: 50%;
	max-width: 100%;
	margin-inline-start: 0 !important;
	margin-inline-end: auto !important;
	margin-left: 0 !important;
	margin-right: auto !important;
}

.wp-block-media-text.is-style-hero .wp-block-button .wp-block-button__link {
	justify-content: space-between;
}

@media (max-width: 600px) {
	.wp-block-media-text.is-style-hero {
		min-height: 500px;
		grid-template-columns: 1fr !important;
	}
	.wp-block-media-text.is-style-hero .wp-block-media-text__content {
		max-width: 100%;
		width: auto;
		align-self: start;
	}
	.wp-block-media-text.is-style-hero .wp-block-media-text__media {
		grid-row: 1;
		min-height: 300px;
	}
	.wp-block-media-text.is-style-hero .wp-block-media-text__content .wp-block-buttons {
		width: fit-content;
	}
}

/* ==========================================================================
   Slider — shared controls
   ========================================================================== */

.bph-slider-controls--pill {
	display: flex;
	justify-content: center;
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.bph-slider-controls--pill .bph-slider-controls__inner {
	display: inline-flex;
	align-items: center;
	gap: 0.875rem;
	border: 1px solid var(--wp--preset--color--brown);
	border-radius: 9999px;
	padding: 0.5rem 0.75rem;
	background-color: var(--wp--preset--color--blue);
	outline: 0.5rem solid var(--wp--preset--color--blue);
	outline-offset: 0;
}

.bph-slider-controls--pill .bph-slider-controls__divider {
	width: 1px;
	height: 1.7rem;
	background-color: var(--wp--preset--color--brown);
}

.bph-slider-controls .bph-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	color: var(--wp--preset--color--brown);
	transition: color 0.2s;
}

.bph-slider-controls .bph-arrow:hover {
	color: var(--wp--preset--color--red);
}

.bph-slider-controls .bph-arrow:disabled {
	opacity: 0.25;
	cursor: default;
}

.bph-slider-controls--dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-top: clamp(1.5rem, 3vw, 2rem);
}

.bph-slider-controls--dots .splide__pagination {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bph-slider-controls--dots .splide__pagination__page {
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: none;
	background-color: var(--wp--preset--color--black);
	padding: 0;
	cursor: pointer;
	transition: background-color 0.2s;
}

.bph-slider-controls--dots .splide__pagination__page.is-active {
	background-color: var(--wp--preset--color--red);
}

/* ==========================================================================
   Slider — CTA Cards (Activity Cards)
   ========================================================================== */

.wp-block-group.is-style-slider-cta {
	overflow: hidden;
	padding-top: calc(var(--wp--preset--spacing--70) * 2) !important;
}

.bph-slider-header {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
	margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
	padding-left: 96px;
	padding-right: clamp(1.5rem, 4vw, 3rem);
	padding-top: 5rem;
}

.bph-slider-header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 96px;
	width: clamp(80px, 8vw, 120px);
	height: 14px;
	background-image:
		linear-gradient(to bottom, var(--wp--preset--color--orange) 2px, transparent 2px 12px, var(--wp--preset--color--orange) 12px);
	background-repeat: no-repeat;
}

.bph-slider-header .wp-block-heading {
	margin: 0;
	text-align: left;
}

.bph-slider-header .bph-slider-controls--pill {
	margin-top: 0;
}

@media (max-width: 767px) {
	.bph-slider-header {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}

	.bph-slider-header::before {
		left: 1.5rem;
	}
}

/* Wide screens: all four cards fit, so the arrows go away. */
@media (min-width: 1440px) {
	.wp-block-group.is-style-slider-cta .bph-slider-controls--pill {
		display: none;
	}
}

.wp-block-group.is-style-slider-cta .splide__track {
	overflow: visible;
}

.wp-block-group.is-style-slider-cta .splide__slide {
	display: flex;
	flex-direction: column;
}

.wp-block-group.is-style-slider-cta .splide__slide .wp-block-image {
	margin-bottom: 1.5rem;
}

.wp-block-group.is-style-slider-cta .splide__slide .wp-block-image img {
	border-radius: var(--container-radius);
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.wp-block-group.is-style-slider-cta .splide__slide .wp-block-heading {
	margin-bottom: 0.5rem;
}

.wp-block-group.is-style-slider-cta .splide__slide :has(+ .wp-block-buttons) {
	margin-bottom: auto;
}

.wp-block-group.is-style-slider-cta .splide__slide .wp-block-buttons {
	margin-top: 1.5rem;
}

/* ==========================================================================
   Slider — Testimonials
   ========================================================================== */

/* Testimonials section — cream page bg with blue card overlapped by skier image */
.bph-testimonials {
	background-color: var(--wp--preset--color--cream);
	position: relative;
	overflow-x: clip;
	overflow-y: visible;
}

.bph-testimonials::before {
	/* "45 TRAILS" badge centered above the blue card */
	content: "45\ATrails";
	white-space: pre;
	position: absolute;
	left: 50%;
	top: clamp(2rem, 4vw, 4rem);
	transform: translateX(-50%);
	width: clamp(120px, 12vw, 158px);
	height: clamp(120px, 12vw, 158px);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border: 2px solid var(--wp--preset--color--red);
	border-radius: 50%;
	color: var(--wp--preset--color--red);
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 300;
	font-size: clamp(0.875rem, 1.25vw, 1.125rem);
	line-height: 1.15;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	z-index: 3;
}

.wp-block-group.is-style-slider-testimonials {
	position: relative;
	max-width: 1320px;
	margin: clamp(4rem, 8vw, 7rem) auto 0;
	background-color: var(--wp--preset--color--blue);
	border-radius: var(--container-radius);
	padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem);
	overflow: visible;
	min-height: 600px;
}

.wp-block-group.is-style-slider-testimonials::after {
	/* Skier PNG overlapping the right side */
	content: "";
	position: absolute;
	right: -2%;
	bottom: -8%;
	width: clamp(280px, 36%, 480px);
	aspect-ratio: 477 / 804;
	background-image: url('assets/images/testimonial-skier.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: bottom right;
	pointer-events: none;
	z-index: 2;
}

.wp-block-group.is-style-slider-testimonials::before {
	/* Vector ski tracks trailing behind the skier, bleeding off the card. */
	content: "";
	position: absolute;
	right: -29.5%;
	bottom: 34px;
	width: 56.9%;
	aspect-ratio: 751 / 463;
	background-image: url('assets/svg/ski-tracks-1.svg'), url('assets/svg/ski-tracks-2.svg');
	background-repeat: no-repeat;
	background-position: left top, right bottom;
	background-size: 79% auto, 70.5% auto;
	pointer-events: none;
	z-index: 1;
}

.wp-block-group.is-style-slider-testimonials .splide__track {
	overflow: visible;
	max-width: 60%;
}

.wp-block-group.is-style-slider-testimonials .splide__slide {
	text-align: left;
}

.wp-block-group.is-style-slider-testimonials .wp-block-quote {
	border: none;
	padding: 0;
	margin: 0;
	max-width: 100%;
}

.bph-testimonial__icon {
	width: 56px;
	height: 56px;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 1.5rem;
	background-color: var(--wp--preset--color--cream);
	border-radius: 50%;
	color: var(--wp--preset--color--red);
}

.bph-testimonial__icon svg {
	width: 22px;
	height: 20px;
	display: block;
}

.bph-testimonial__heading {
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-size: var(--wp--preset--font-size--h-2);
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--brown);
	margin: 0 0 1.5rem;
	line-height: 1;
}

/* Static heading above the track — keep it clear of the skier overlay. */
.wp-block-group.is-style-slider-testimonials > .bph-testimonial__heading {
	max-width: 60%;
}

.wp-block-group.is-style-slider-testimonials .wp-block-quote p {
	font-size: 1.125rem;
	font-family: var(--wp--preset--font-family--noto-sans);
	line-height: 1.5;
	color: var(--wp--preset--color--brown);
	margin: 0 0 1rem;
}

.wp-block-group.is-style-slider-testimonials .wp-block-quote cite {
	font-style: normal;
	font-weight: 400;
	font-family: var(--wp--preset--font-family--noto-sans);
	font-size: 1rem;
	color: var(--wp--preset--color--brown);
	display: block;
	margin-top: 0.75rem;
}

/* Place pagination/arrows at bottom-left of the card */
.wp-block-group.is-style-slider-testimonials .bph-slider-controls--dots {
	justify-content: flex-start;
	margin-top: 2rem;
}

@media (max-width: 768px) {
	.wp-block-group.is-style-slider-testimonials {
		margin-left: var(--wp--style--root--padding-left);
		margin-right: var(--wp--style--root--padding-right);
	}
	.wp-block-group.is-style-slider-testimonials .splide__track {
		max-width: 100%;
	}
	.wp-block-group.is-style-slider-testimonials > .bph-testimonial__heading {
		max-width: 100%;
	}
	.wp-block-group.is-style-slider-testimonials::before,
	.wp-block-group.is-style-slider-testimonials::after {
		display: none;
	}
}

/* ==========================================================================
   Interior page rhythm
   ========================================================================== */

/* Sub-section rhythm: a heading that follows content (copy, lists, tables,
   buttons) starts a new thought — give it air above. Heading-after-heading
   stays tight so a title and its subhead read as one unit. */
body.page:not(.home) .entry-content :is(p, ul, ol, figure, div) + h3.wp-block-heading {
	margin-block-start: clamp(2.5rem, 5vw, 4rem);
}

body.page:not(.home) .entry-content :is(p, ul, ol, figure, div) + h4.wp-block-heading {
	margin-block-start: clamp(2rem, 4vw, 3rem);
}

/* ==========================================================================
   Page Banner (interior page hero)
   ========================================================================== */

.bph-page-banner {
	margin: 0;
	height: clamp(280px, 30vw, 440px);
	overflow: hidden;
}

/* Specificity note: core's `.wp-block-image.alignfull img { height: auto }`
   would otherwise win and let a tall photo overflow the clipped banner,
   showing only its top edge. */
.wp-block-image.bph-page-banner img,
.bph-page-banner img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* ==========================================================================
   Page Intro (Image / Content with stat icons)
   ========================================================================== */

.bph-page-intro {
	background-color: var(--wp--preset--color--cream);
}

.bph-page-intro__inner.wp-block-columns {
	gap: clamp(1.5rem, 4vw, 3rem);
}

.bph-page-intro__content.wp-block-column {
	max-width: 480px;
}

figure.bph-page-intro__icons {
	margin: 0 0 1.5rem;
	width: 130px;
	max-width: 100%;
}

figure.bph-page-intro__icons img {
	display: block;
	width: 100%;
	height: auto;
}

.bph-page-intro__heading {
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 500;
	font-size: clamp(3.75rem, 8vw, 7.5rem);
	color: var(--wp--preset--color--brown);
	letter-spacing: -0.02em;
	line-height: 1;
	margin: 0 0 1.5rem;
}

.bph-page-intro__copy {
	font-family: var(--wp--preset--font-family--noto-sans);
	font-size: 1.25rem;
	line-height: 1.4;
	color: var(--wp--preset--color--brown);
	margin: 0;
}

.bph-page-intro__copy + .bph-page-intro__copy {
	margin-top: 1rem;
}

.bph-page-intro__media {
	margin: 0;
	border-radius: var(--container-radius);
	overflow: hidden;
}

.bph-page-intro__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 648 / 536;
}

@media (min-width: 768px) {
	.bph-page-intro__inner {
		grid-template-columns: 1fr 1fr;
		gap: clamp(2rem, 5vw, 4rem);
	}
}

/* ==========================================================================
   FAQs (accordion list with red ± circle icon)
   ========================================================================== */

/* ==========================================================================
   Tables (pricing, rentals) — card treatment matching the Trail Report block
   ========================================================================== */

.wp-block-table {
	background-color: var(--wp--preset--color--cream);
	border: 1px solid var(--wp--preset--color--brown);
	border-radius: var(--container-radius);
	padding: clamp(1.25rem, 2.5vw, 2rem);
	overflow-x: auto;
}

.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	color: var(--wp--preset--color--brown);
}

.wp-block-table th,
.wp-block-table td {
	text-align: left;
	padding: 0.85rem 0.5rem;
	vertical-align: middle;
	border: none;
}

.wp-block-table thead th {
	font-family: var(--wp--preset--font-family--roboto-mono);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	opacity: 0.85;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.wp-block-table tbody tr {
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--brown) 20%, transparent);
}

.wp-block-table tbody td:first-child {
	font-weight: 500;
}

.bph-faqs {
	color: var(--wp--preset--color--brown);
	background-color: var(--wp--preset--color--cream);
	margin-bottom: clamp(3rem, 6vw, 5rem);
}

/* Constrain the inner content to 1096px while leaving the bordered card alone. */
.bph-faqs > * {
	max-width: 1096px;
	margin-left: auto;
	margin-right: auto;
}

.bph-faqs__heading {
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 500;
	font-size: clamp(2rem, 4vw, 3.5rem);
	letter-spacing: -0.02em;
	line-height: 1;
	color: var(--wp--preset--color--brown);
	margin: 0 auto 1.5rem;
}

/* Divider extends edge-to-edge of the card by canceling the parent padding. */
.bph-faqs > .bph-faqs__rule.wp-block-separator {
	max-width: none;
	margin-inline: calc(-1 * var(--wp--preset--spacing--40));
	margin-block: 0 1rem;
	border-top: 1px solid var(--wp--preset--color--brown);
	background: none;
	height: 0;
	opacity: 1;
}

.bph-faq {
	padding: 1.5rem 0.5rem;
	border-bottom: 0;
}

.bph-faq + .bph-faq {
	margin-top: 0;
}

.bph-faq > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	cursor: pointer;
	list-style: none;
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 500;
	font-size: clamp(1.25rem, 1.75vw, 1.5rem);
	color: var(--wp--preset--color--brown);
	letter-spacing: -0.02em;
}

.bph-faq > summary::-webkit-details-marker {
	display: none;
}

.bph-faq > summary::after {
	content: "";
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%23a63234' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='14' cy='14' r='13'/%3E%3Cline x1='8' y1='14' x2='20' y2='14'/%3E%3Cline x1='14' y1='8' x2='14' y2='20'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	transition: transform 0.2s ease;
}

.bph-faq[open] > summary::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28' fill='none' stroke='%23a63234' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='14' cy='14' r='13'/%3E%3Cline x1='8' y1='14' x2='20' y2='14'/%3E%3C/svg%3E");
}

.bph-faq > *:not(summary) {
	margin-block: 1rem;
	font-family: var(--wp--preset--font-family--noto-sans);
	font-size: 1rem;
	line-height: 1.55;
	color: var(--wp--preset--color--brown);
	max-width: 80ch;
}

/* ==========================================================================
   Specials (image left + benefits content right)
   ========================================================================== */

.bph-specials__layout.wp-block-columns {
	gap: clamp(1.5rem, 4vw, 3rem);
	margin: 0;
}

.bph-specials__media {
	margin: 0;
	border-radius: var(--container-radius);
	overflow: hidden;
	background-color: var(--wp--preset--color--blue);
}

.bph-specials__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 534 / 583;
}

.bph-specials__heading {
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 500;
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	letter-spacing: -0.02em;
	line-height: 1;
	color: var(--wp--preset--color--brown);
	margin: 0 0 1.25rem;
}

.bph-specials__sub {
	font-family: var(--wp--preset--font-family--noto-sans);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.4;
	color: var(--wp--preset--color--brown);
	margin: 1rem 0 0.25rem;
	letter-spacing: 0;
}

.bph-specials__copy {
	font-family: var(--wp--preset--font-family--noto-sans);
	font-size: 1rem;
	line-height: 1.5;
	color: var(--wp--preset--color--brown);
	margin: 0;
	max-width: 60ch;
}

.bph-specials__buttons.wp-block-buttons {
	margin-top: 1.75rem;
}

/* ==========================================================================
   Amenities (cabins amenity grid + decorative cabin illustration)
   ========================================================================== */

.bph-amenities {
	color: var(--wp--preset--color--brown);
}

.bph-amenities__layout.wp-block-columns {
	gap: clamp(1.5rem, 4vw, 3rem);
	margin: 0;
	align-items: center;
}

.bph-amenities__heading {
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 500;
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	letter-spacing: -0.02em;
	line-height: 1;
	color: var(--wp--preset--color--brown);
	margin: 0 0 1rem;
}

.bph-amenities__copy {
	font-family: var(--wp--preset--font-family--noto-sans);
	font-size: 1rem;
	line-height: 1.5;
	margin: 0 0 1.5rem;
	max-width: 60ch;
}

.bph-amenities__list.wp-block-columns {
	gap: clamp(1.25rem, 2vw, 2rem);
	margin: 0 0 2rem;
}

.bph-amenity-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1rem;
}

.bph-amenity-row__icon {
	margin: 0;
	flex-shrink: 0;
}

.bph-amenity-row__icon img {
	display: block;
	width: 53px;
	height: 53px;
}

.bph-amenity-row__label {
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 500;
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin: 0;
	color: var(--wp--preset--color--brown);
}

.bph-amenities__illo {
	margin: 0;
}

.bph-amenities__illo img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 580px;
	margin-left: auto;
}

@media (max-width: 781px) {
	.bph-amenities__illo {
		display: none;
	}
}

/* ==========================================================================
   Lodging Map (blue card with map + units list)
   ========================================================================== */

.bph-lodging-map {
	color: var(--wp--preset--color--brown);
}

.bph-lodging-map .bph-lodging-map__layout.wp-block-columns {
	gap: clamp(2rem, 4vw, 3rem);
	margin: 0;
}

.bph-lodging-map__media .wp-element-caption,
.bph-lodging-map__media {
	margin: 0;
	border-radius: 16px;
	overflow: hidden;
}

.bph-lodging-map__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 680 / 624;
	object-fit: cover;
}

.bph-lodging-map__cta {
	margin-top: 1.5rem;
}

.bph-lodging-map__icon {
	margin: 0 0 1rem;
}

.bph-lodging-map__icon img {
	width: 68px;
	height: 68px;
}

.bph-lodging-map__heading {
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 500;
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	letter-spacing: -0.02em;
	line-height: 1;
	color: var(--wp--preset--color--brown);
	margin: 0 0 1.5rem;
}

.bph-lodging-map__columns.wp-block-columns {
	gap: clamp(1.25rem, 2vw, 2rem);
	margin: 0;
}

.bph-lodging-map__list,
.bph-lodging-map .bph-lodging-map__list {
	list-style: none;
	padding: 0;
	margin: 0;
	font-family: var(--wp--preset--font-family--noto-sans);
	font-size: 1rem;
	line-height: 1.5;
	color: var(--wp--preset--color--brown);
}

.bph-lodging-map__list li {
	margin: 0;
}

/* ==========================================================================
   Cabins (text-only section with T&C accordion)
   ========================================================================== */

.bph-cabins {
	background-color: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--brown);
}

.bph-cabins__heading {
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 500;
	font-size: var(--wp--preset--font-size--h-2);
	letter-spacing: -0.02em;
	line-height: 1;
	margin: 0 0 1.5rem;
	max-width: 760px;
}

.bph-cabins__copy {
	font-family: var(--wp--preset--font-family--noto-sans);
	font-size: 1rem;
	line-height: 1.5;
	color: var(--wp--preset--color--brown);
	margin: 0 0 1rem;
	max-width: 760px;
}

/* Accordion (core/details block) */
.bph-accordion {
	max-width: 760px;
	margin-top: 1.5rem;
	border-top: 1px solid var(--wp--preset--color--brown);
	padding-top: 1rem;
}

.bph-accordion > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	cursor: pointer;
	list-style: none;
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 500;
	font-size: 1.5rem;
	color: var(--wp--preset--color--brown);
	padding-block: 0.5rem;
}

.bph-accordion > summary::-webkit-details-marker {
	display: none;
}

.bph-accordion > summary::after {
	content: "";
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none' stroke='%23371f1d' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='4' y1='11' x2='18' y2='11'/%3E%3Cline x1='11' y1='4' x2='11' y2='18'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	transition: transform 0.2s ease;
}

.bph-accordion[open] > summary::after {
	transform: rotate(45deg);
}

.bph-accordion > *:not(summary) {
	margin-block: 1rem;
	font-size: 0.9375rem;
	line-height: 1.5;
}

/* Terms & Conditions — "read more" toggle revealing small disclaimer text. */
.bph-terms {
	margin-block: 1rem;
	color: var(--wp--preset--color--brown);
}

.bph-terms > summary {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	cursor: pointer;
	list-style: none;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.bph-terms > summary::-webkit-details-marker {
	display: none;
}

.bph-terms > summary::after {
	content: "+";
	font-weight: 400;
	text-decoration: none;
}

.bph-terms[open] > summary::after {
	content: "\2013";
}

.bph-terms > *:not(summary) {
	font-size: 0.8125rem;
	line-height: 1.6;
	opacity: 0.85;
	margin-block: 0.75rem 0;
}

.bph-terms ul {
	padding-left: 1.25rem;
}

.bph-terms li + li {
	margin-top: 0.375rem;
}

/* ==========================================================================
   Shop CTA (Image / Content)
   ========================================================================== */

.bph-shop-cta {
	background-color: var(--wp--preset--color--cream);
}

.bph-shop-cta__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	max-width: 1080px;
	margin: 0 auto;
	padding-inline: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
}

.bph-shop-cta__content {
	max-width: 420px;
}

.bph-shop-cta__icon {
	width: 68px;
	height: 68px;
	margin-bottom: 1.5rem;
}

.bph-shop-cta__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.bph-shop-cta__heading {
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 500;
	font-size: var(--wp--preset--font-size--h-4);
	color: var(--wp--preset--color--brown);
	letter-spacing: -0.02em;
	line-height: 1;
	margin: 0 0 1rem;
}

.bph-shop-cta__copy {
	font-family: var(--wp--preset--font-family--noto-sans);
	font-size: 1rem;
	line-height: 1.5;
	color: var(--wp--preset--color--brown);
	margin: 0 0 1.5rem;
}

.bph-shop-cta__media {
	margin: 0;
	border-radius: var(--container-radius);
	overflow: hidden;
}

.bph-shop-cta__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 648 / 594;
}

@media (min-width: 768px) {
	.bph-shop-cta__inner {
		grid-template-columns: 1fr 2fr;
		gap: clamp(2rem, 5vw, 4rem);
	}
	.bph-shop-cta__content {
		grid-column: 1;
	}
	.bph-shop-cta__media {
		grid-column: 2;
	}
}

/* ==========================================================================
   Slider — Gallery
   ========================================================================== */

.wp-block-group.is-style-slider-gallery {
	overflow: hidden;
	position: relative;
}

.bph-stat-triangle {
	position: absolute;
	bottom: clamp(4.5rem, 10vw, 8rem);
	left: max(clamp(1.5rem, 4vw, 3rem), calc(50% - min(50vw - 1.5rem, 540px) - 1.5rem));
	width: clamp(140px, 14vw, 200px);
	aspect-ratio: 200 / 175;
	color: var(--wp--preset--color--red);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
	pointer-events: none;
}

.bph-stat-triangle svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.bph-stat-triangle__text {
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 300;
	text-transform: uppercase;
	text-align: center;
	font-size: clamp(0.875rem, 1.25vw, 1.125rem);
	line-height: 1.15;
	letter-spacing: 0.02em;
	margin-top: 18%;
}

.bph-stat-triangle__text strong {
	font-weight: 300;
	font-size: inherit;
	line-height: 1.15;
}

@media (max-width: 768px) {
	.bph-stat-triangle {
		display: none;
	}
}

.wp-block-group.is-style-slider-gallery .splide__slide {
	max-width: 1080px;
}

.wp-block-group.is-style-slider-gallery .splide__slide img {
	border-radius: var(--container-radius);
	object-fit: cover;
	width: 100%;
	height: 100%;
	max-height: 532px;
}

/* ==========================================================================
   Site header (global masthead)
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background-color: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--brown);
}

.site-header__inner {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: var(--header-height);
	padding-left: clamp(1rem, 4vw, 2rem);
}

.site-logo,
.site-header__actions {
	align-items: center;
}

.site-logo {
	display: flex;
	align-items: center;
	color: inherit;
	text-decoration: none;
	flex-shrink: 0;
	transition: opacity 0.2s;
}

.site-logo:hover {
	opacity: 0.7;
}

.site-logo svg {
	display: block;
	height: 64px;
	width: auto;
}

.site-logo img {
	display: block;
	width: 280px;
	height: auto;
}

.site-header__actions {
	display: flex;
	align-items: stretch;
	gap: 0;
}

.site-header__menu-trigger {
	margin-right: clamp(1rem, 2.5vw, 2.25rem);
}

.site-header__menu-trigger,
.site-header__hcw-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem 0.25rem;
	margin-left: 0.25rem;
	align-self: stretch;
	color: inherit;
	transition: opacity 0.2s;
}

.site-header__menu-trigger:hover,
.site-header__hcw-trigger:hover {
	opacity: 0.7;
}

.site-header__hcw-icon {
	transition: transform 0.3s ease;
}

.site-header__hcw-trigger[aria-expanded="true"] .site-header__hcw-icon {
	transform: rotate(180deg);
}

.site-header__menu-icon {
	position: relative;
	display: inline-block;
	width: 39px;
	height: 27px;
}

.site-header__menu-bar {
	position: absolute;
	height: 2px;
	background-color: currentColor;
	transition: width 0.3s ease, top 0.3s ease, bottom 0.3s ease, transform 0.3s ease, opacity 0.2s ease;
}

.site-header__menu-bar--top {
	top: 0;
	right: 0;
	width: 50%;
}

.site-header__menu-bar--mid {
	top: 50%;
	left: 0;
	width: 100%;
	transform: translateY(-50%);
}

.site-header__menu-bar--bot {
	bottom: 0;
	left: 0;
	width: 50%;
}

/* Hover: extend top + bottom to full width (becomes a regular hamburger) */
.site-header__menu-trigger:hover .site-header__menu-bar--top,
.site-header__menu-trigger:hover .site-header__menu-bar--bot,
.site-header__menu-trigger[aria-expanded="true"] .site-header__menu-bar--top,
.site-header__menu-trigger[aria-expanded="true"] .site-header__menu-bar--bot {
	width: 100%;
}

/* Open: animate to X */
.site-header__menu-trigger[aria-expanded="true"] .site-header__menu-bar--top {
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
}

.site-header__menu-trigger[aria-expanded="true"] .site-header__menu-bar--mid {
	opacity: 0;
}

.site-header__menu-trigger[aria-expanded="true"] .site-header__menu-bar--bot {
	bottom: 50%;
	transform: translateY(50%) rotate(-45deg);
}

.site-header__weather {
	display: inline-flex;
	align-items: center;
	align-self: stretch;
	gap: 0.5rem;
	padding: 0 clamp(1rem, 2.5vw, 2.25rem);
	min-width: 18%;
	background-color: var(--wp--preset--color--blue);
	color: var(--wp--preset--color--brown);
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 300;
	font-size: clamp(24px, 2.5vw, 36px);
	letter-spacing: -0.02em;
}

.site-header__weather-icon {
	display: block;
	flex-shrink: 0;
}

.site-header__weather-temp {
	line-height: 1;
}

@media (max-width: 600px) {
	.site-header__weather {
		display: none;
	}
	.site-header__menu-trigger,
	.site-header__hcw-trigger {
		padding: 0 0.75rem;
	}
	.site-header__menu-icon {
		width: 26px;
		height: 18px;
	}
}


/* ==========================================================================
   Prefooter — newsletter signup
   ========================================================================== */

.prefooter-signup {
	background-color: var(--wp--preset--color--blue);
	color: var(--wp--preset--color--brown);
	padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 4vw, 3rem);
}

.prefooter-signup__inner {
	max-width: 1096px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.prefooter-signup__heading {
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-size: var(--wp--preset--font-size--h-3);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	line-height: 1;
	margin: 0;
}

.prefooter-signup__form {
	display: flex;
	gap: 0.75rem;
	flex: 1;
	min-width: 280px;
	max-width: 760px;
}

.prefooter-signup__input {
	flex: 1;
	padding: 0.875rem 1.5rem;
	border: none;
	border-radius: 3.125rem;
	background-color: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--brown);
	font-family: inherit;
	font-size: 1rem;
}

.prefooter-signup__input::placeholder {
	color: color-mix(in srgb, var(--wp--preset--color--brown) 50%, transparent);
}

.prefooter-signup__btn {
	padding: 0.875rem 2.25rem;
	border: none;
	border-radius: 3.125rem;
	background-color: var(--wp--preset--color--red);
	color: var(--wp--preset--color--cream);
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-size: 1.125rem;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.2s;
}

.prefooter-signup__btn:hover {
	background-color: color-mix(in srgb, var(--wp--preset--color--red) 85%, black);
}

/* Gravity Forms overrides inside prefooter */
.prefooter-signup .gform_wrapper {
	margin: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
	background: none !important;
	border: none !important;
	padding: 0 !important;
}

.prefooter-signup form {
	display: flex !important;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: nowrap;
}

.prefooter-signup .gform-body,
.prefooter-signup .gform_body {
	flex: 1;
	min-width: 0;
}

.prefooter-signup .ginput_container {
	width: 100% !important;
}

.prefooter-signup .gform_fields {
	display: flex !important;
	margin: 0 !important;
	padding: 0 !important;
}

.prefooter-signup .gfield {
	flex: 1;
	margin: 0 !important;
	padding: 0 !important;
}

.prefooter-signup .gfield_label,
.prefooter-signup .gfield_required,
.prefooter-signup .gform_validation_errors,
.prefooter-signup .gfield_description {
	display: none !important;
}

.prefooter-signup .ginput_container input[type="email"],
.prefooter-signup .ginput_container input[type="text"] {
	padding: 0.875rem 1.5rem !important;
	border: none !important;
	border-radius: 3.125rem !important;
	background-color: var(--wp--preset--color--cream) !important;
	color: var(--wp--preset--color--brown) !important;
	font-family: inherit !important;
	font-size: 1rem !important;
	width: 100% !important;
	box-shadow: none !important;
	outline: none !important;
	height: auto !important;
	line-height: normal !important;
}

.prefooter-signup .ginput_container input::placeholder {
	color: color-mix(in srgb, var(--wp--preset--color--brown) 50%, transparent) !important;
}

.prefooter-signup .gform-footer,
.prefooter-signup .gform_footer {
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	flex-shrink: 0;
}

.prefooter-signup .gform_button,
.prefooter-signup input[type="submit"] {
	padding: 1rem 2.25rem !important;
	border: none !important;
	border-radius: 3.125rem !important;
	background-color: var(--wp--preset--color--red) !important;
	color: var(--wp--preset--color--cream) !important;
	font-family: var(--wp--preset--font-family--kapra-neue) !important;
	font-size: 1rem !important;
	font-weight: 500 !important;
	letter-spacing: 0.05em !important;
	text-transform: uppercase !important;
	font-stretch: expanded !important;
	font-variation-settings: "wdth" 125 !important;
	text-align: center !important;
	cursor: pointer !important;
	white-space: nowrap !important;
	transition: background-color 0.2s !important;
	line-height: normal !important;
	height: auto !important;
}

.prefooter-signup .gform_button:hover,
.prefooter-signup input[type="submit"]:hover {
	background-color: color-mix(in srgb, var(--wp--preset--color--red) 85%, black) !important;
}

/* ==========================================================================
   Hill Conditions overlay
   ========================================================================== */

.bph-hcw-overlay {
	position: fixed;
	top: calc(var(--header-height) + var(--admin-bar-height, 0px) - 1px);
	left: 0;
	right: 0;
	height: calc(100vh - var(--header-height) - var(--admin-bar-height, 0px) + 1px);
	z-index: 900;
	background-color: var(--wp--preset--color--cream);
	color: var(--wp--preset--color--brown);
	overflow-y: auto;
}

body.hcw-open {
	overflow: hidden;
}

/* ==========================================================================
   Mega Menu (overlay nav)
   ========================================================================== */

.bph-mega-menu {
	position: fixed;
	top: calc(var(--header-height) + var(--admin-bar-height, 0px) - 1px);
	left: 0;
	right: 0;
	height: calc(100vh - var(--header-height) - var(--admin-bar-height, 0px) + 1px);
	z-index: 900;
	background-color: var(--wp--preset--color--blue);
	color: var(--wp--preset--color--brown);
	overflow: hidden;
	border-top: 0;
}

body.mega-menu-open {
	overflow: hidden;
}

.bph-mega-menu__container {
	position: relative;
	max-width: 1440px;
	margin: 0 auto;
	min-height: 100%;
	padding: clamp(1.25rem, 2vw, 2rem) clamp(1.5rem, 4vw, 3rem) clamp(2rem, 4vw, 3rem);
	z-index: 1;
}

.bph-mega-menu__bg {
	position: absolute;
	right: 0;
	bottom: 0;
	width: clamp(420px, 60%, 838px);
	pointer-events: none;
	z-index: 0;
	color: var(--wp--preset--color--cream);
	opacity: 0.85;
}

.bph-mega-menu__bg svg {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 768px) {
	.bph-mega-menu__bg {
		display: none;
	}
}

.bph-mega-menu__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2rem, 4vw, 4rem);
	padding-top: clamp(3rem, 5vw, 5rem);
	padding-inline: clamp(1rem, 6vw, 12rem);
}

@media (min-width: 768px) {
	.bph-mega-menu__grid {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
		gap: clamp(2rem, 5vw, 6rem);
	}
}

/* Primary nav list */
.bph-mega-menu__list {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0 0 0 96px;
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 500;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	text-align: left;
}

.bph-mega-menu__list > li {
	position: relative;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.1;
	margin-bottom: 0.25rem;
	display: grid !important;
	grid-template-columns: max-content auto 1fr;
	grid-template-areas:
		"link chevron ."
		"submenu submenu submenu";
	align-items: center;
}

.bph-mega-menu__list > li > a {
	grid-area: link;
}

.bph-mega-menu__list > li > .bph-mega-menu__chevron {
	grid-area: chevron;
	margin-left: 0.75rem;
}

.bph-mega-menu__list > li > .sub-menu {
	grid-area: submenu;
}

.bph-mega-menu__list > li > a {
	position: relative;
	display: inline-block;
	color: color-mix(in srgb, var(--wp--preset--color--brown) 45%, transparent);
	text-decoration: none;
	transition: color 0.2s;
}

.bph-mega-menu__chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--wp--preset--color--brown);
	padding: 0.5rem;
	transition: transform 0.2s ease;
	width: max-content;
	height: max-content;
}

.bph-mega-menu__chevron svg {
	display: block;
	width: 18px;
	height: auto;
}

.bph-mega-menu__list > li.is-active > .bph-mega-menu__chevron {
	transform: rotate(180deg);
}

.bph-mega-menu__icon {
	display: block;
	position: absolute;
	left: -96px;
	top: 50%;
	transform: translateY(-50%);
	width: 64px;
	height: 64px;
}

.bph-mega-menu__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.bph-mega-menu__list > li.is-active > a,
.bph-mega-menu__list > li:hover > a {
	color: var(--wp--preset--color--brown);
}

/* "Buy Tickets Online" pill CTA — sits in the aside below Upcoming Events. */
.bph-mega-menu__cta {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	padding: 1rem 2.25rem;
	background-color: var(--wp--preset--color--red);
	color: var(--wp--preset--color--cream);
	border-radius: 9999px;
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 500;
	font-size: 1rem;
	letter-spacing: 0.05em;
	line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s;
}

.bph-mega-menu__cta:hover {
	color: var(--wp--preset--color--cream);
	background-color: color-mix(in srgb, var(--wp--preset--color--red) 85%, black);
}

/* Sub-menu (children) under the active top-level item */
.bph-mega-menu__list .sub-menu {
	display: none;
	list-style: none;
	margin: 0.75rem 0 1.5rem;
	padding: 0;
	font-family: var(--wp--preset--font-family--noto-sans);
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	text-align: left;
}

.bph-mega-menu__list .menu-item-has-children.is-active > .sub-menu {
	display: block;
}

.bph-mega-menu__list .sub-menu > li {
	font-size: 1.5rem;
	line-height: 1.4;
	margin: 0;
}

.bph-mega-menu__list .sub-menu > li > a {
	color: color-mix(in srgb, var(--wp--preset--color--brown) 45%, transparent);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	transition: color 0.2s;
}

.bph-mega-menu__list .sub-menu > li > a::before {
	content: "→";
	font-weight: 500;
	color: var(--wp--preset--color--red);
	opacity: 0;
	transition: opacity 0.2s;
}

.bph-mega-menu__list .sub-menu > li > a:hover {
	color: var(--wp--preset--color--brown);
	font-weight: 700;
}

.bph-mega-menu__list .sub-menu > li > a:hover::before {
	opacity: 1;
}

/* Aside (events + contact) */
.bph-mega-menu__aside {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.bph-mega-menu__eyebrow {
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 500;
	font-size: 1rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--wp--preset--color--brown);
	margin: 0 0 1rem;
}

.bph-mega-menu__events-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bph-mega-menu__event {
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--brown) 30%, transparent);
}

.bph-mega-menu__event:last-child {
	border-bottom: 0;
}

@media (max-width: 767px) {
	/* More breathing room between menu items on phones: top-level items get
	   a larger gap, and submenu links get vertical padding so each is a
	   comfortable touch target. */
	.bph-mega-menu__list > li {
		margin-bottom: 0.875rem;
	}

	.bph-mega-menu__list .sub-menu {
		margin: 1rem 0 1.75rem;
	}

	.bph-mega-menu__list .sub-menu > li > a {
		padding: 0.5rem 0;
	}

	.bph-mega-menu__events {
		position: relative;
		margin-inline: calc(-1 * clamp(1rem, 6vw, 12rem));
		padding-inline: clamp(1rem, 6vw, 12rem);
	}

	.bph-mega-menu__events::after {
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		right: 0;
		width: 30%;
		pointer-events: none;
		background: linear-gradient(to left,
			rgba(150, 199, 202, 1) 0%,
			rgba(150, 199, 202, 1) 30%,
			rgba(150, 199, 202, 0) 100%
		);
	}

	.bph-mega-menu__events .bph-mega-menu__eyebrow {
		padding-right: clamp(1rem, 6vw, 12rem);
	}

	.bph-mega-menu__events-list {
		display: flex;
		flex-direction: row;
		gap: 1rem;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-right: 35%;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.bph-mega-menu__events-list::-webkit-scrollbar {
		display: none;
	}

	.bph-mega-menu__event {
		flex: 0 0 75%;
		scroll-snap-align: start;
		border-bottom: 0;
		border-right: 1px solid color-mix(in srgb, var(--wp--preset--color--brown) 30%, transparent);
		padding-right: 1rem;
	}

	.bph-mega-menu__event:last-child {
		border-right: 0;
	}

	.bph-mega-menu__event a,
	.bph-mega-menu__event > span {
		padding: 0.5rem 0;
	}
}

.bph-mega-menu__event a,
.bph-mega-menu__event > span {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 0;
	color: var(--wp--preset--color--brown);
	text-decoration: none;
	font-size: 1rem;
	line-height: 1.4;
}

/* Events list: list-only events (no event page) render as plain cards —
   no hover lift, no pointer. Lives here rather than in the block's SCSS so
   it deploys with the theme without a rebuild. */
.bph-events__link--static,
.bph-events__link--static:hover,
.bph-events__link--static:focus-visible {
	transform: none;
	box-shadow: none;
	cursor: default;
}

/* Events list: month paging. Without JS every month renders stacked under
   its own heading; events.js adds .is-js, which shows one month at a time
   and reveals the pager. */
.bph-events__month + .bph-events__month {
	margin-top: clamp(2rem, 4vw, 3rem);
}

.bph-events__month-title,
.bph-events__pager-label {
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 500;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	letter-spacing: -0.01em;
	line-height: 1.1;
	margin: 0 0 1rem;
}

.bph-events__pager {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 1.5rem;
}

.bph-events__pager-label {
	margin: 0;
	text-align: center;
}

.bph-events__pager-btn {
	flex: 0 0 auto;
	width: 3rem;
	height: 3rem;
	border: 0;
	border-radius: 50%;
	background-color: var(--wp--preset--color--red);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='16' fill='none' viewBox='0 0 30 16'%3E%3Cpath fill='%23fff1e9' d='M29.707 8.659a1 1 0 0 0 0-1.414L23.343.88a1 1 0 1 0-1.414 1.414l5.657 5.657-5.657 5.656a1 1 0 0 0 1.414 1.415zM0 7.952v1h29v-2H0z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 22px auto;
	cursor: pointer;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.bph-events__pager-btn--prev {
	transform: scaleX(-1);
}

.bph-events__pager-btn:hover:not(:disabled),
.bph-events__pager-btn:focus-visible {
	opacity: 0.85;
}

.bph-events__pager-btn:disabled {
	opacity: 0.3;
	cursor: default;
}

.bph-events--paged.is-js .bph-events__pager {
	display: flex;
}

.bph-events--paged.is-js .bph-events__month-title {
	display: none;
}

.bph-events--paged.is-js .bph-events__month:not(.is-active) {
	display: none;
}

.bph-events--paged.is-js .bph-events__month + .bph-events__month {
	margin-top: 0;
}

.bph-mega-menu__event-date {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background-color: var(--wp--preset--color--brown);
	color: var(--wp--preset--color--cream);
	border-radius: 50%;
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-size: 0.875rem;
	font-weight: 500;
}

.bph-mega-menu__phone {
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-size: 1.125rem;
	margin: 0 0 0.5rem;
}

.bph-mega-menu__phone a {
	color: inherit;
	text-decoration: none;
}

.bph-mega-menu__address {
	font-style: normal;
	font-size: 1rem;
	line-height: 1.4;
	margin: 0 0 1.25rem;
}

.bph-mega-menu__address p {
	margin: 0;
}

.bph-mega-menu__social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0.5rem;
}

.bph-mega-menu__social a {
	display: inline-flex;
	width: 33px;
	height: 33px;
	color: var(--wp--preset--color--red);
}

.bph-mega-menu__social svg {
	width: 100%;
	height: 100%;
}

/* ==========================================================================
   Site footer
   ========================================================================== */

.site-footer {
	background-color: var(--wp--preset--color--brown);
	color: var(--wp--preset--color--cream);
	padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem);
	font-family: var(--wp--preset--font-family--kapra-neue);
}

.site-footer a {
	color: inherit;
	text-decoration: none;
}

.site-footer a:hover {
	opacity: 0.75;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2rem, 4vw, 3rem);
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.site-footer__col--left {
	display: flex;
	flex-direction: column;
	gap: clamp(2rem, 4vw, 3rem);
}

.site-footer__col--right {
	display: flex;
	flex-direction: column;
	gap: clamp(2rem, 4vw, 3rem);
}

.site-footer__logo svg,
.site-footer__logo img {
	display: block;
	width: clamp(220px, 20vw, 300px);
	height: auto;
}

@media (max-width: 767px) {
	.site-footer__logo svg,
	.site-footer__logo img {
		width: 100%;
	}
}

.site-footer__address {
	font-size: clamp(1.25rem, 1.75vw, 1.5rem);
	font-style: normal;
	line-height: 1.25;
	margin: 0;
}

.site-footer__address p {
	margin: 0 0 0.25em;
}

/* Address links out to Google Maps — keep the plain-text look, hint on hover. */
.site-footer__address a,
.bph-mega-menu__address a {
	color: inherit;
	text-decoration: none;
}

.site-footer__address a:hover,
.bph-mega-menu__address a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-footer__phone {
	font-size: clamp(1.25rem, 1.75vw, 1.5rem);
	line-height: 1.25;
	margin: 1.5rem 0 0;
}

.site-footer__nav-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	font-size: clamp(1.25rem, 1.75vw, 1.5rem);
}

.site-footer__map {
	display: flex;
	justify-content: center;
}

.site-footer__map svg {
	display: block;
	width: clamp(180px, 22vw, 257px);
	height: auto;
	color: var(--wp--preset--color--cream);
}

.site-footer__aside {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: flex-start;
}

.site-footer__indy {
	display: flex;
	width: 100%;
}

.site-footer__indy svg {
	display: block;
	width: 100%;
	height: auto;
	color: var(--wp--preset--color--cream);
}

@media (max-width: 411px) {
	.site-footer__indy {
		width: 50%;
	}
}

.site-footer__divider {
	border: 0;
	border-top: 2px solid currentColor;
	width: 100%;
	margin: 0.5rem 0;
}

.site-footer__connect-heading {
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-size: var(--wp--preset--font-size--h-5);
	font-weight: 500;
	margin: 0 0 0.75rem;
	letter-spacing: -0.02em;
}

.site-footer__social {
	display: flex;
	gap: 0.75rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.site-footer__social a {
	display: inline-flex;
	width: 48px;
	height: 48px;
	color: var(--wp--preset--color--red);
	transition: opacity 0.2s;
}

@media (max-width: 599px) {
	.site-footer__social a {
		width: 32px;
		height: 32px;
	}
}

.site-footer__social svg {
	width: 100%;
	height: 100%;
	display: block;
}

.site-legal {
	background-color: color-mix(in srgb, var(--wp--preset--color--brown) 80%, black);
	color: var(--wp--preset--color--cream);
	padding: 1.25rem clamp(1.5rem, 4vw, 3rem);
}

.site-legal p {
	max-width: 1440px;
	margin: 0 auto;
	font-size: 0.875rem;
	font-weight: 300;
	letter-spacing: 0.05em;
	opacity: 0.75;
}

@media (min-width: 412px) {
	.site-footer__inner {
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
		column-gap: clamp(1rem, 2.5vw, 2rem);
		row-gap: clamp(2rem, 4vw, 3rem);
	}
	.site-footer__logo { grid-column: 1 / -1; }
}

@media (min-width: 600px) {
	.site-footer__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		column-gap: clamp(2rem, 5vw, 4rem);
	}
}

@media (min-width: 720px) {
	.site-footer__col--right {
		flex-direction: row;
		justify-content: flex-end;
		align-items: stretch;
		gap: clamp(2rem, 4vw, 3rem);
	}
	.site-footer__map    { flex-shrink: 0; }
	.site-footer__aside  { justify-content: space-between; }
}

/* ==========================================================================
   Single event
   ========================================================================== */

.bph-event__inner {
	max-width: 800px;
	margin-inline: auto;
	padding: clamp(2rem, 5vw, 4rem) var(--wp--preset--spacing--30, 1.25rem) clamp(3rem, 6vw, 5rem);
}

.bph-event__back {
	margin: 0 0 clamp(1rem, 2vw, 1.5rem);
	font-size: 0.9375rem;
	letter-spacing: 0.02em;
}

.bph-event__back a {
	color: var(--wp--preset--color--red);
	text-decoration: none;
}

.bph-event__back a:hover,
.bph-event__back a:focus-visible {
	text-decoration: underline;
}

.bph-event__title {
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-weight: 500;
	font-size: var(--wp--preset--font-size--h-1);
	letter-spacing: -0.02em;
	line-height: 1;
	margin: 0 0 clamp(0.75rem, 2vw, 1.25rem);
}

.bph-event__meta {
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
	padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
	border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent);
}

.bph-event__date,
.bph-event__location {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.5;
}

.bph-event__location {
	opacity: 0.75;
}

.bph-event__image {
	margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
	border-radius: 15px;
	overflow: hidden;
}

.bph-event__image img {
	display: block;
	width: 100%;
	height: auto;
}

.bph-event__content > *:first-child {
	margin-top: 0;
}

.bph-event__cta {
	margin: clamp(2rem, 4vw, 3rem) 0 0;
}

.bph-event__cta-link {
	display: inline-block;
	background-color: var(--wp--preset--color--red);
	color: var(--wp--preset--color--white);
	border-radius: 999px;
	padding: 0.85rem 2rem;
	font-family: var(--wp--preset--font-family--kapra-neue);
	font-size: 1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.bph-event__cta-link:hover,
.bph-event__cta-link:focus-visible {
	background-color: var(--wp--preset--color--brown);
}
