/*
 * PLA layout styles. Colors, fonts, sizes and spacing come from theme.json
 * (as --wp--preset--* variables). Never hard-code brand hex values here.
 * Mobile-first: base styles are for phones, wider screens add on.
 */

:root {
	--pla-gutter: 16px;
	--pla-header-h: 72px;
	--pla-blue: var(--wp--preset--color--blue);
	--pla-dark-blue: var(--wp--preset--color--dark-blue);
	--pla-crimson: var(--wp--preset--color--crimson);
	--pla-gray: var(--wp--preset--color--gray);
	--pla-gold: var(--wp--preset--color--gold);
	--pla-white: var(--wp--preset--color--white);
	--pla-light-gold: var(--wp--preset--color--light-gold);
	--pla-site-width: var(--wp--style--global--content-size, 1170px);
}

*, *::before, *::after { box-sizing: border-box; }

body { margin: 0; }

/* Full-width blocks use 100vw, which includes the scrollbar on Windows. */
.site-main { overflow-x: clip; }

img { max-width: 100%; height: auto; }

:focus-visible { outline: 3px solid var(--pla-blue); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link:focus {
	clip-path: none;
	width: auto; height: auto;
	z-index: 100;
	top: 8px; left: 8px;
	padding: 0.75rem 1rem;
	background: var(--pla-white);
	color: var(--pla-dark-blue);
	font-weight: 700;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--pla-white);
	border-top: 5px solid var(--pla-blue);
	box-shadow: 0 1px 0 var(--pla-gray);
}

/* Thin crimson half of the flag-colored top stripe. */
.site-header::before {
	content: "";
	position: absolute;
	top: -5px; right: 0;
	width: 50%; height: 5px;
	background: var(--pla-crimson);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--pla-header-h);
	padding: 0 var(--pla-gutter);
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin: 0 auto;
}

.site-logo { display: block; line-height: 0; }
.site-logo img { width: 130px; height: auto; }
.site-logo__text { line-height: 1.2; font-weight: 800; color: var(--pla-dark-blue); }
.site-logo--desktop { display: none; }

.nav-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.25rem;
	border: 0;
	background: none;
	color: var(--pla-dark-blue);
	font: inherit;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 22px; height: 2px;
	background: currentColor;
	transition: transform 0.2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Phone/tablet menu: a panel under the header. Without JS it stays open so the links are reachable. */
.primary-nav {
	position: absolute;
	top: 100%; left: 0; right: 0;
	max-height: calc(100vh - var(--pla-header-h));
	overflow-y: auto;
	background: var(--pla-white);
	box-shadow: 0 8px 16px rgb(0 0 0 / 0.12);
}
.js .primary-nav { display: none; }
.js .primary-nav.is-open { display: block; }

.menu, .sub-menu { list-style: none; margin: 0; padding: 0; }

.menu > li {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	border-bottom: 1px solid var(--pla-gray);
}

.menu a {
	flex: 1;
	display: block;
	padding: 0.9rem var(--pla-gutter);
	color: var(--pla-dark-blue);
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.menu a:hover,
.menu a[aria-current="page"],
.menu .current-menu-ancestor > a { color: var(--pla-crimson); }

.submenu-toggle {
	width: 48px; height: 48px;
	border: 0;
	background: none;
	color: var(--pla-dark-blue);
	cursor: pointer;
}
.submenu-toggle::before {
	content: "";
	display: inline-block;
	width: 8px; height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.2s;
}
.submenu-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(-135deg); }

.sub-menu { flex-basis: 100%; background: var(--pla-gray); }
.js .sub-menu { display: none; }
.js .submenu-toggle[aria-expanded="true"] + .sub-menu { display: block; }
.sub-menu a { padding-left: calc(var(--pla-gutter) * 2); font-weight: 500; text-transform: none; letter-spacing: 0; }

/* Desktop: links split around a centered logo, dropdowns on hover or toggle. */
@media (min-width: 1024px) {
	:root { --pla-header-h: 96px; }

	.site-logo--mobile, .nav-toggle { display: none; }
	.site-logo--desktop { display: block; flex: none; margin: 0 2rem; }
	.site-logo--desktop img { width: 170px; }

	.site-header__inner { justify-content: center; }

	.primary-nav,
	.js .primary-nav {
		position: static;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		max-height: none;
		overflow: visible;
		box-shadow: none;
		background: none;
	}

	.menu { display: flex; flex: 1; }
	.menu--left { justify-content: flex-end; }
	.menu--right { justify-content: flex-start; }

	.menu > li { border: 0; flex-wrap: nowrap; }
	.menu > li > a { padding: 0.75rem 0.85rem; font-size: var(--wp--preset--font-size--small); }

	.menu > li > .submenu-toggle { width: 24px; height: 40px; margin-left: -0.6rem; }

	.sub-menu,
	.js .sub-menu {
		display: none;
		position: absolute;
		top: 100%; left: 0;
		min-width: 240px;
		padding: 0.5rem 0;
		background: var(--pla-white);
		border-top: 3px solid var(--pla-crimson);
		box-shadow: 0 8px 20px rgb(0 0 0 / 0.14);
	}
	/* Keyboard users open dropdowns with the toggle button (not :focus-within, so Escape can close them). */
	.has-submenu:hover > .sub-menu,
	.js .submenu-toggle[aria-expanded="true"] + .sub-menu { display: block; }

	.sub-menu a { padding: 0.6rem 1.25rem; font-size: var(--wp--preset--font-size--small); }
}

/* ---------- Page content ---------- */

.page-title {
	max-width: calc(var(--pla-site-width) + var(--pla-gutter) * 2);
	margin: 50px auto 0;
	padding: 0 var(--pla-gutter);
}
.page-title h1 { margin: 0; }
.page-title + .page-body { margin-top: 1.5rem; }

/* Page text area (live site: 1170px wide, 50px above and below). */
.page-body {
	max-width: calc(var(--pla-site-width) + var(--pla-gutter) * 2);
	margin: 50px auto;
	padding: 0 var(--pla-gutter);
}
.page-body + .page-body { margin-top: 0; }
.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }
.has-text-align-center { text-align: center; }
.entry-content > .alignfull { margin-inline: calc(var(--pla-gutter) * -1); max-width: none; }

/* The short light-gold line under section headings (Avada separator). */
.entry-content hr {
	width: 200px;
	max-width: 100%;
	height: 0;
	margin: 0 0 40px;
	border: 0;
	border-top: 3px solid var(--pla-light-gold);
}

/* An h3 that keeps the h4 look (About Us goals: correct heading order, same as live). */
.entry-content h3.is-h4-size { font-size: 15px; margin-block: 1.33em; }

.pla-paypal { margin: 0 0 1em; text-align: center; }

/* Photos beside the text: 2/3 text, 1/3 photos (stacked below on phones). */
.page-body.has-side-photos { display: grid; gap: 40px; }

/* Gray text panel (Donate page): edge to edge, photos flush right. */
.page-body.is-shaded { max-width: none; margin: 0; padding: 0; }
.page-body.is-shaded .entry-content {
	padding: 60px var(--pla-gutter);
	background: var(--wp--preset--color--panel);
}
.page-body.is-shaded .page-body__photos { padding: 0 var(--pla-gutter); }

@media (min-width: 800px) {
	.page-body.has-side-photos {
		grid-template-columns: 2fr 1fr;
		align-items: start;
		column-gap: 4%;
	}
	.page-body.is-shaded { column-gap: 3%; align-items: stretch; }
	.page-body.is-shaded .entry-content {
		display: flex;
		flex-direction: column;
		justify-content: center;
		padding: 100px 10%;
	}
	.page-body.is-shaded .page-body__photos { padding: 6px 0 0; }
}

/* Board of Directors: name + email link + position in one red heading, bio below. */
.board-member__name { margin: 1em 0 0.8em; line-height: 1.5; }
.board-member__name a { text-decoration: none; font-size: 0.8em; }

/* Upcoming Events: poster (live: 387px wide), text, sign-up link. */
.event + .event { margin-top: 60px; }
.event__poster { display: block; width: 387px; max-width: 100%; height: auto; margin-bottom: 1.5em; }
.event__dates { margin: 0 0 1em; font-weight: 700; color: var(--pla-dark-blue); }

/* Past Events: poster beside name, dates, results and Photos / Videos buttons (stacked on phones). */
.events-past { margin-top: 80px; }
.event-recap { display: grid; gap: 20px; padding-top: 40px; border-top: 1px solid var(--pla-gray); }
.event-recap:first-child { padding-top: 0; border-top: 0; }
.event-recap + .event-recap { margin-top: 40px; }
.event-recap__poster { display: block; max-width: 220px; }
.event-recap__poster img { display: block; width: 100%; height: auto; }
.event-recap__body > :last-child { margin-bottom: 0; }
.event-recap__title { margin: 0 0 0.25em; }
.event-recap__title a { color: inherit; text-decoration: none; }
.event-recap__title a:hover,
.event-recap__title a:focus-visible { text-decoration: underline; }
.event-recap__dates { margin: 0 0 1em; font-weight: 700; color: var(--pla-dark-blue); }
.event-recap__label { margin: 0 0 0.25em; font-size: var(--wp--preset--font-size--small); letter-spacing: 2px; text-transform: uppercase; color: var(--pla-dark-blue); }
.event-recap__results { margin-bottom: 1.5em; }
.event-recap__results p { margin: 0; }
.event-recap__results p + p { margin-top: 0.75em; }
.event-recap__links { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 1em; padding: 0; list-style: none; }

@media (min-width: 600px) {
	.event-recap { grid-template-columns: 220px 1fr; gap: 30px; align-items: start; }
	.event-recap:not(:has(> .event-recap__poster)) { grid-template-columns: 1fr; }
}

/* Photo gallery below the page text (team pages). */
.page-gallery { margin-top: 20px; }

.framed-photos { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.framed-photos__item {
	overflow: hidden;
	border: 7px solid var(--pla-white);
	line-height: 0;
}
.framed-photos__item img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.3s ease;
}
.framed-photos__item:hover img { transform: scale(1.1); }

/* ---------- Contact tiles ---------- */

.contact-tiles { display: grid; gap: 20px; margin: 20px 0 0; }
.contact-tiles__tile {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
	min-height: 360px;
	padding: 80px 10%;
	overflow: hidden;
	color: var(--pla-white);
	text-align: center;
	isolation: isolate;
}
.contact-tiles__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.contact-tiles__icon { flex: none; }
.contact-tiles__text {
	margin: 0;
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.6;
	overflow-wrap: anywhere;
}

@media (min-width: 800px) {
	.contact-tiles { grid-template-columns: repeat(3, 1fr); gap: 4%; }
	.contact-tiles__tile { min-height: 548px; padding: 125px 10%; }
}

/* ---------- Shared pieces (matched to the live Avada site) ---------- */

.pla-separator {
	width: 200px;
	max-width: 100%;
	height: 0;
	margin: 0 0 40px;
	border: 0;
	border-top: 3px solid var(--pla-gold);
}
.pla-separator--center { margin-inline: auto; }
.pla-separator--light-gold { border-top-color: var(--pla-light-gold); }

/* ---------- Homepage slider ---------- */

.photo-slider {
	position: relative;
	aspect-ratio: 1280 / 430;
	overflow: hidden;
	background: var(--pla-gray);
	touch-action: pan-y;
}

.photo-slider__slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	transition: opacity 0.9s ease;
}
.photo-slider__slide.is-active { opacity: 1; z-index: 1; }
.photo-slider__slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

/* Controls only appear once slider.js is running. */
.photo-slider__arrow,
.photo-slider__timer,
.photo-slider__controls { display: none; }
.photo-slider.is-ready .photo-slider__arrow,
.photo-slider.is-ready .photo-slider__timer { display: block; }
.photo-slider.is-ready .photo-slider__controls { display: flex; }

.photo-slider__arrow {
	position: absolute;
	z-index: 3;
	top: 50%;
	width: 44px;
	height: 64px;
	margin-top: -32px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--pla-white);
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.3s;
	filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.6));
}
.photo-slider__arrow::before {
	content: "";
	display: block;
	width: 18px;
	height: 18px;
	margin: auto;
	border-top: 3px solid currentColor;
	border-left: 3px solid currentColor;
}
.photo-slider__arrow--prev { left: 10px; }
.photo-slider__arrow--prev::before { transform: translateX(4px) rotate(-45deg); }
.photo-slider__arrow--next { right: 10px; }
.photo-slider__arrow--next::before { transform: translateX(-4px) rotate(135deg); }
.photo-slider:hover .photo-slider__arrow,
.photo-slider__arrow:focus-visible { opacity: 1; }
@media (hover: none) { .photo-slider__arrow { opacity: 0.85; } }

.photo-slider__timer {
	position: absolute;
	z-index: 3;
	top: 12px;
	right: 12px;
	width: 30px;
	height: 30px;
	transform: rotate(-90deg);
}
.photo-slider__timer circle {
	fill: none;
	stroke: rgb(255 255 255 / 0.85);
	stroke-width: 3;
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
}
.photo-slider__timer.is-running circle { animation: pla-slide-timer var(--pla-slide-ms, 4000ms) linear forwards; }
.photo-slider__timer.is-paused circle { animation-play-state: paused; }
@keyframes pla-slide-timer { to { stroke-dashoffset: 0; } }

.photo-slider__controls {
	position: absolute;
	z-index: 3;
	bottom: 10px;
	left: 50%;
	transform: translateX(-50%);
	align-items: center;
	gap: 2px;
}

.photo-slider__dot,
.photo-slider__toggle {
	position: relative;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.photo-slider__dot::before {
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	margin: auto;
	border: 2px solid var(--pla-white);
	border-radius: 50%;
	box-shadow: 0 0 2px rgb(0 0 0 / 0.5);
}
.photo-slider__dot[aria-current="true"]::before { background: var(--pla-white); }

/* Thumbnail preview above a dot on hover (LayerSlider's "thumbnail on hover"). */
.photo-slider__thumb {
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	width: 100px;
	height: 60px;
	object-fit: cover;
	border: 2px solid var(--pla-white);
	transform: translateX(-50%);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s;
	pointer-events: none;
}
.photo-slider__dot:hover .photo-slider__thumb { opacity: 1; visibility: visible; }

.photo-slider__toggle { color: var(--pla-white); filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.6)); }
.photo-slider__toggle::before,
.photo-slider__toggle::after {
	content: "";
	position: absolute;
	top: 7px;
	width: 3px;
	height: 10px;
	background: currentColor;
}
.photo-slider__toggle::before { left: 8px; }
.photo-slider__toggle::after { left: 13px; }
.photo-slider__toggle[aria-pressed="true"]::after { display: none; }
.photo-slider__toggle[aria-pressed="true"]::before {
	left: 9px;
	width: 0;
	height: 0;
	background: none;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 8px solid currentColor;
}

@media (prefers-reduced-motion: reduce) {
	.photo-slider__slide { transition: none; }
}

/* ---------- Homepage welcome, photo grid, buttons ---------- */

.home-welcome {
	max-width: calc(var(--pla-site-width) + var(--pla-gutter) * 2);
	margin: 50px auto 0;
	padding: 0 var(--pla-gutter);
}

.home-welcome__columns { display: grid; gap: 40px; }
.home-welcome__text > :last-child { margin-bottom: 0; }

.photo-grid { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.photo-grid__link { display: block; height: 100%; }
.photo-grid__link img { display: block; width: 100%; height: auto; }

.home-buttons {
	display: grid;
	gap: 20px;
	justify-items: center;
	margin: 20px 0 50px;
	padding: 50px 0 0;
	list-style: none;
}

@media (min-width: 800px) {
	.home-welcome__columns {
		grid-template-columns: 2fr 1fr;
		align-items: center;
		column-gap: 4%;
	}

	/* Two columns; tall photos span two rows (rows sized to a 3:2 landscape photo). */
	.home-welcome__photos,
	.page-body__photos,
	.page-gallery { container-type: inline-size; }
	.photo-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: calc((100cqw - 10px) / 2 * 2 / 3);
		grid-auto-flow: dense;
	}
	.photo-grid__item.is-tall { grid-row: span 2; }
	.photo-grid__link img { height: 100%; object-fit: cover; }

	/* Masonry (team galleries): rows are 1% of a column's width; each photo's
	   column, start row and height in rows come from parts/photo-grid.php. */
	.photo-grid.is-masonry {
		grid-auto-rows: calc((100cqw - 10px) / 2 / 100);
		grid-auto-flow: row;
		row-gap: 0;
	}
	.photo-grid.is-masonry .photo-grid__item { grid-column: var(--col); grid-row: var(--row) / span var(--span); }

	.home-buttons { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Donate band ---------- */

.donate-band {
	position: relative;
	padding: 150px var(--pla-gutter);
	background: var(--wp--preset--color--black);
	color: var(--pla-white);
	text-align: center;
	isolation: isolate;
}
.donate-band__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.donate-band__inner {
	max-width: var(--pla-site-width);
	margin: 0 auto;
	padding: 0 11%;
}
.donate-band h2 { color: var(--pla-white); }
.donate-band__text {
	margin: 0 0 25px;
	font-size: var(--wp--preset--font-size--x-large);
	font-weight: 300;
	line-height: 1.5;
}
.donate-band .donate-band__button {
	border: 2px solid var(--pla-white);
	background: transparent;
	color: var(--pla-white);
}
.donate-band .donate-band__button:hover,
.donate-band .donate-band__button:focus-visible {
	border-color: var(--pla-light-gold);
	background: transparent;
	color: var(--pla-light-gold);
}
.donate-band :focus-visible { outline-color: var(--pla-gold); }

@media (max-width: 599px) {
	.donate-band { padding-block: 80px; }
	.donate-band__inner { padding: 0; }
}

/* ---------- Lightbox ---------- */

.lightbox {
	width: 100vw;
	max-width: none;
	height: 100vh;
	max-height: none;
	margin: 0;
	padding: 56px 56px 40px;
	border: 0;
	background: rgb(0 0 0 / 0.9);
}
.lightbox::backdrop { background: rgb(0 0 0 / 0.5); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__count {
	position: absolute;
	bottom: 8px;
	left: 0;
	right: 0;
	margin: 0;
	color: var(--pla-white);
	font-size: var(--wp--preset--font-size--small);
	text-align: center;
}
.lightbox__btn {
	position: absolute;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--pla-white);
	cursor: pointer;
}
.lightbox__btn:focus-visible { outline-color: var(--pla-gold); }
.lightbox__close { top: 4px; right: 4px; }
.lightbox__close::before,
.lightbox__close::after {
	content: "";
	position: absolute;
	top: 23px;
	left: 12px;
	width: 24px;
	height: 2px;
	background: currentColor;
	transform: rotate(45deg);
}
.lightbox__close::after { transform: rotate(-45deg); }
.lightbox__prev,
.lightbox__next { top: 50%; margin-top: -24px; }
.lightbox__prev { left: 4px; }
.lightbox__next { right: 4px; }
.lightbox__prev::before,
.lightbox__next::before {
	content: "";
	display: block;
	width: 16px;
	height: 16px;
	margin: auto;
	border-top: 3px solid currentColor;
	border-left: 3px solid currentColor;
}
.lightbox__prev::before { transform: translateX(3px) rotate(-45deg); }
.lightbox__next::before { transform: translateX(-3px) rotate(135deg); }

/* ---------- Gravity Forms (replaces "Styles & Layouts for Gravity Forms") ---------- */

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="password"],
.gform_wrapper select,
.gform_wrapper textarea {
	width: 100%;
	max-width: 100%;
	min-height: 50px;
	padding: 8px 15px;
	border: 1px solid #7c7c7c; /* From the live form styles. */
	border-radius: 0;
	background: var(--pla-white);
	color: var(--wp--preset--color--black);
	font: inherit;
	font-size: 16px;
	line-height: 1.5;
}
.gform_wrapper textarea { min-height: 150px; }
/* Address lines one per row, full width (live Membership form). */
.gform_wrapper .ginput_complex.ginput_container_address > span { display: block; float: none; width: 100%; max-width: 100%; margin-right: 0; padding-inline: 0; }
.gform_wrapper input:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus { outline: 2px solid var(--pla-blue); outline-offset: 0; border-color: var(--pla-blue); }

.gform_wrapper .gform_footer { justify-content: center; text-align: center; }
.gform_wrapper .gform_button,
.gform_wrapper .gform-button {
	padding: 13px 29px;
	border: 0;
	border-radius: 0;
	background: var(--pla-gold);
	color: var(--pla-blue);
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 400;
	line-height: 17px;
	letter-spacing: 2px;
	text-transform: uppercase;
	cursor: pointer;
}
.gform_wrapper .gform_button:hover,
.gform_wrapper .gform_button:focus-visible,
.gform_wrapper .gform-button:hover,
.gform_wrapper .gform-button:focus-visible { background: var(--pla-blue); color: var(--pla-gold); }

/* ---------- Cookie notice (1:1 with live's Avada privacy bar) ---------- */

.cookie-notice {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1000;
	max-height: 100vh;
	overflow: auto;
	padding: 15px 30px;
	background: var(--wp--preset--color--cookie-bar);
	color: var(--wp--preset--color--cookie-text);
	font-size: 13px;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice__main { display: flex; align-items: center; justify-content: center; gap: 30px; }
.cookie-notice__text { margin: 0; }
.cookie-notice__ok { flex: none; }
.cookie-notice :focus-visible { outline-color: var(--pla-gold); }

/* Phones: live keeps text and button side by side, which makes the bar cover
   most of the screen; stack them and tighten the lines instead (Nick, 2026-10-18). */
@media (max-width: 599px) {
	.cookie-notice { padding: 12px var(--pla-gutter); }
	.cookie-notice__main { flex-direction: column; gap: 10px; }
	.cookie-notice__text { line-height: 1.5; }
}

/* ---------- Footer ---------- */

.site-footer { margin-top: var(--wp--preset--spacing--60); }

.site-footer__brand {
	display: flex;
	justify-content: center;
	padding: var(--wp--preset--spacing--50) var(--pla-gutter);
	border-top: 1px solid var(--pla-gray);
}
.site-logo--footer img { width: 160px; }

.site-footer__bar {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	padding: 1.25rem var(--pla-gutter);
	background: var(--pla-dark-blue);
	color: var(--pla-white);
	font-size: var(--wp--preset--font-size--small);
	text-align: center;
}
.site-footer__bar :focus-visible { outline-color: var(--pla-gold); }
.site-footer__copy { margin: 0; }

.site-footer__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-footer__links a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 44px;
	color: var(--pla-white);
	text-decoration: none;
}
.site-footer__links a:hover { color: var(--pla-gold); }

@media (min-width: 768px) {
	.site-footer__bar {
		flex-direction: row;
		justify-content: space-between;
		max-width: none;
		padding-inline: max(var(--pla-gutter), calc((100% - var(--wp--style--global--wide-size, 1200px)) / 2));
	}
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; }
}
