/*
 * Section styles. Loaded on the site AND inside the editor canvas.
 * Sizes are the approved Figma values at 1920px (Basketball City > Home), scaled down with clamp().
 *
 * Style system (inc/style.php sets these per section):
 *   --ps-t-scale                  Text size (S M L): every font size in the section follows it
 *   --ps-sec-accent               button + icon color
 *   --ps-sec-heading              headline color (unset = auto)
 *   --ps-sec-bg, --ps-box-bg      background colors
 *   .ps-align-left|center|right   alignment
 *   .ps-on-dark / .ps-box-on-dark text turns white on dark backgrounds
 * Palette: --ps-c-red, --ps-c-orange, --ps-c-navy (Site settings > Brand colors), --ps-c-black|dark|gray|white.
 */

:root {
	--ps-c-red: #e5422d;
	--ps-c-orange: #ff3c00;
	--ps-c-navy: #003466;
	--ps-c-black: #000000;
	--ps-c-dark: #0f1115;
	--ps-c-gray: #f3f3f3;
	--ps-c-white: #ffffff;
}

.ps-container {
	width: 100%;
	/* Figma: 1520px of content with 200px sides at 1920. The gutter sits outside the 1520. */
	max-width: calc(var(--ps-container, 1520px) + 2 * var(--ps-gutter, 24px));
	margin-inline: auto;
	padding-inline: var(--ps-gutter, 24px);
	box-sizing: border-box;
}

/* Auto colors: dark text on light backgrounds, white on dark ones. */
[class*="ps-align-"] {
	--ps-auto-heading: #000000;
	--ps-auto-text: #7b7b7b;
}
.ps-on-dark {
	--ps-auto-heading: #ffffff;
	--ps-auto-text: rgba(255, 255, 255, 0.78);
}

.ps-section-title {
	font-family: var(--ps-font-display, inherit);
	font-size: calc(var(--ps-t-scale, 1) * (clamp(1.75rem, 1.2rem + 2vw, 3rem)));
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: 0.01em;
	margin: 0 0 32px;
	color: var(--ps-ink, #111);
}

/* Pill button: Figma 22px SemiBold, 21.33px x 37.33px padding. */
.ps-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: clamp(14px, 1.11vw, 21.33px) clamp(26px, 1.94vw, 37.33px);
	border-radius: 132px;
	background: var(--ps-sec-accent, var(--ps-accent, #e5422d));
	color: #ffffff;
	font-family: var(--ps-font-display, inherit);
	font-weight: 600;
	font-size: calc(var(--ps-t-scale, 1) * (clamp(1rem, 0.95rem + 0.35vw, 1.375rem)));
	line-height: 1.15;
	text-transform: uppercase;
	text-decoration: none;
	transition: filter 0.2s, transform 0.2s;
}
.ps-btn:hover { filter: brightness(0.9); transform: translateY(-1px); }
.ps-btn:focus-visible { outline: 3px solid var(--ps-focus, #ffd166); outline-offset: 3px; }
.ps-btn--small { padding: 10px 20px; font-size: calc(var(--ps-t-scale, 1) * (0.875rem)); }
.ps-btn--block { display: flex; width: 100%; }
.ps-btn.is-placeholder { background: transparent; color: inherit; border: 2px dashed currentColor; opacity: 0.75; cursor: pointer; }

/* Outlined label pill ("ABOUT US"): Figma 18px SemiBold, 1.33px border. */
.ps-label {
	display: inline-flex;
	margin: 0;
	padding: 8px 16px;
	border: 1.333px solid var(--ps-auto-heading, #000);
	border-radius: 132px;
	color: var(--ps-auto-heading, #000);
	font-family: var(--ps-font-display, inherit);
	font-size: calc(var(--ps-t-scale, 1) * (clamp(0.9375rem, 0.85rem + 0.2vw, 1.125rem)));
	font-weight: 600;
	line-height: 1.15;
	/* Typed as in the design (some labels are capitals, some are not). */
}

/* ---------- Hero (Figma 1116:81) ---------- */

.ps-hero {
	position: relative;
	min-height: clamp(600px, 51.46vw, 988px);
	display: flex;
	align-items: flex-start;
	background: var(--ps-c-navy);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.ps-hero.has-no-media { min-height: 520px; }

/* .ps-hero > ... beats Swiper's own .swiper { position: relative } */
.ps-hero > .ps-hero__media { position: absolute; inset: 0; z-index: 0; margin: 0; width: 100%; }
.ps-hero__media .swiper-wrapper,
.ps-hero__media .swiper-slide { height: 100%; }
.ps-hero__img,
.ps-hero__video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Darkness over the photo/video: Style tab > Photo darkness. */
.ps-hero:not(.is-media-only) > .ps-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: rgba(0, 0, 0, var(--ps-overlay, 0.5));
}

/* Huge faded word (Figma: Outfit Black 533px, white 5%, caps sit on the bottom edge). */
.ps-hero__watermark {
	position: absolute;
	left: 0;
	bottom: -0.205em;
	z-index: 1;
	font-family: var(--ps-font-display, inherit);
	font-weight: 900;
	font-size: 27.78vw;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.05);
	pointer-events: none;
	user-select: none;
}

.ps-hero__content {
	position: relative;
	z-index: 3;
	width: 100%;
	padding-block: var(--ps-hero-top, 240px) 140px;
}
.ps-hero__content .ps-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 26.67px;
}

.ps-hero__tag {
	margin: 0;
	padding: 8px 16px;
	border-radius: 132px;
	background: rgba(255, 255, 255, 0.5);
	color: #fff;
	font-size: calc(var(--ps-t-scale, 1) * (clamp(0.9375rem, 0.85rem + 0.2vw, 1.125rem)));
	font-weight: 600;
	line-height: 1.15;
	/* Typed as in the design (some labels are capitals, some are not). */
}
.ps-hero__tag:empty:not([data-ps-field]) { display: none; }

.ps-hero__headline {
	max-width: 1030px;
	margin: 0;
	font-family: var(--ps-font-display, inherit);
	font-weight: 800;
	font-size: calc(var(--ps-t-scale, 1) * clamp(2.5rem, 1rem + 3.7vw, 5.375rem));
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--ps-sec-heading, #ffffff);
}
.ps-hero__sub {
	max-width: 400px;
	margin: 0;
	font-size: calc(var(--ps-t-scale, 1) * clamp(1rem, 0.95rem + 0.35vw, 1.375rem));
	line-height: 1.6;
	color: #fff;
}

.ps-hero.ps-align-center .ps-hero__content .ps-container { align-items: center; text-align: center; }
/* Inner page banners (centered): the title sits a little above the middle, as in the design. */
.ps-hero.ps-align-center { align-items: center; }
.ps-hero.ps-align-center .ps-hero__content { padding-block: 120px 90px; }
.ps-hero.ps-align-right .ps-hero__content .ps-container { align-items: flex-end; text-align: right; }

.ps-hero .swiper-pagination { z-index: 4; bottom: 28px !important; text-align: right; padding-inline: var(--ps-gutter, 24px); }
.ps-hero .swiper-pagination-bullet { width: 10px; height: 10px; background: #fff; opacity: 0.5; }
.ps-hero .swiper-pagination-bullet-active { opacity: 1; background: var(--ps-sec-accent, #e5422d); }

/* Below the floating-header breakpoint the header is solid, so no big top gap. */
@media (max-width: 1279px) {
	.ps-hero__content { padding-block: 80px 110px; }
}

/* Phones: photo/video on top, text underneath on a solid band (decided on the 2026-10-12 call). */
@media (max-width: 767px) {
	.ps-hero { display: block; min-height: 0; }
	.ps-hero > .ps-hero__media { position: relative; aspect-ratio: 16 / 10; }
	.ps-hero.has-no-media > .ps-hero__media { display: none; }
	.ps-hero > .ps-hero__media::after { display: none; }
	.ps-hero__watermark { display: none; }
	.ps-hero__content { padding-block: 32px 40px; background: var(--ps-c-navy); }
	.ps-hero__content .ps-container { gap: 18px; }
	.ps-hero__sub { max-width: none; }
	.ps-hero .swiper-pagination { bottom: 12px !important; }
}

/* ---------- About + services (Figma 1116:95) ---------- */

.ps-about {
	padding-block: clamp(72px, 8.33vw, 160px);
	background: var(--ps-sec-bg, #ffffff);
}
.ps-about__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
	gap: clamp(40px, 5.56vw, 106.67px);
	align-items: start;
}
.ps-about__row.is-single { grid-template-columns: minmax(0, 1fr); }

.ps-about__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 26.67px;
}
.ps-about.ps-align-center .ps-about__intro { align-items: center; text-align: center; }
.ps-about.ps-align-right .ps-about__intro { align-items: flex-end; text-align: right; }

.ps-about__title,
.ps-partners__title {
	margin: 0;
	font-family: var(--ps-font-display, inherit);
	font-weight: 800;
	font-size: calc(var(--ps-t-scale, 1) * clamp(2rem, 1rem + 2.2vw, 3.625rem));
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--ps-sec-heading, var(--ps-auto-heading));
}
.ps-about__text {
	font-size: calc(var(--ps-t-scale, 1) * clamp(1rem, 0.9rem + 0.3vw, 1.25rem));
	line-height: 1.6;
	color: var(--ps-auto-text);
}
.ps-about__text p { margin: 0 0 1em; }
.ps-about__text p:last-child { margin-bottom: 0; }

/* Services box: Figma #f3f3f3, 13.33px radius, 40px x 45.33px padding, 21.33px gaps. */
.ps-about__box {
	--ps-auto-heading: #000000;
	--ps-auto-text: #7b7b7b;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 21.33px;
	padding: clamp(28px, 2.08vw, 40px) clamp(24px, 2.36vw, 45.33px);
	border-radius: 13.33px;
	background: var(--ps-box-bg, #f3f3f3);
}
.ps-box-on-dark .ps-about__box {
	--ps-auto-heading: #ffffff;
	--ps-auto-text: rgba(255, 255, 255, 0.78);
}
.ps-about__box-title {
	margin: 0;
	font-family: var(--ps-font-display, inherit);
	font-weight: 800;
	font-size: calc(var(--ps-t-scale, 1) * clamp(1.5rem, 1.1rem + 0.75vw, 2rem));
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--ps-auto-heading);
}
.ps-about__box-text,
.ps-checklist {
	margin: 0;
	font-size: calc(var(--ps-t-scale, 1) * clamp(1.0625rem, 0.95rem + 0.35vw, 1.375rem));
	line-height: 1.6;
	color: var(--ps-auto-text);
}
.ps-checklist {
	display: flex;
	flex-direction: column;
	gap: 10.67px;
	padding: 0;
	list-style: none;
}
.ps-checklist li { display: flex; align-items: center; gap: 8px; }
/* Figma check icon (assets/icons/check.svg), recolored by the section's button color. */
.ps-checklist li::before {
	content: "";
	flex: none;
	width: 26.67px;
	height: 26.67px;
	background: var(--ps-sec-accent, #ff3c00);
	-webkit-mask: url("icons/check.svg") center / contain no-repeat;
	mask: url("icons/check.svg") center / contain no-repeat;
}

/* Partner logos: 4 x 360 x 266.67, 26.67px gaps, 80px below the row. */
.ps-partners {
	display: flex;
	flex-direction: column;
	gap: clamp(40px, 4.17vw, 80px);
	margin-top: clamp(56px, 4.17vw, 80px);
}
.ps-partners__title { text-align: center; }
.ps-partners__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 26.67px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ps-partners__item {
	display: grid;
	place-items: center;
	aspect-ratio: 360 / 266.67;
	border-radius: 13.33px;
	overflow: hidden;
}
.ps-partners__item a { display: grid; place-items: center; width: 100%; height: 100%; }
.ps-partners__logo { max-width: 72%; max-height: 64%; width: auto; height: auto; object-fit: contain; }
.ps-partners__item.is-placeholder {
	grid-column: 1 / -1;
	aspect-ratio: auto;
	padding: 40px;
	border: 2px dashed #b8bcc4;
	color: #50575e;
	font: 600 16px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (max-width: 1023px) {
	.ps-about__row { grid-template-columns: minmax(0, 1fr); }
	.ps-partners__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Shared section parts (Figma: 160px top/bottom, 80px under the heading) ---------- */

.ps-section {
	padding-block: clamp(72px, 8.33vw, 160px);
	background: var(--ps-sec-bg, #fff);
}
.ps-section .ps-container { display: flex; flex-direction: column; gap: clamp(40px, 4.17vw, 80px); }

.ps-head { display: flex; flex-direction: column; align-items: flex-start; gap: 26.667px; }
.ps-align-center .ps-head { align-items: center; text-align: center; }
.ps-align-right .ps-head { align-items: flex-end; text-align: right; }

/* Section title: Figma Outfit ExtraBold 70px, 1.2 line height. */
.ps-title {
	margin: 0;
	font-family: var(--ps-font-display, inherit);
	font-weight: 800;
	font-size: calc(var(--ps-t-scale, 1) * (clamp(2.125rem, 1rem + 3vw, 4.375rem)));
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--ps-auto-heading);
	overflow-wrap: anywhere;
}

/* Body text: Figma Outfit Regular 22px, 1.6, #7b7b7b. */
.ps-text {
	font-size: calc(var(--ps-t-scale, 1) * clamp(1rem, 0.9rem + 0.35vw, 1.375rem));
	line-height: 1.6;
	color: var(--ps-auto-text);
}
.ps-text p { margin: 0 0 1em; }
.ps-text p:last-child { margin-bottom: 0; }
.ps-align-center .ps-text { text-align: center; }
.ps-align-right .ps-text { text-align: right; }

/* Title on the left, text on the right, bottoms lined up (Figma 853 + 146.67 + 520). */
.ps-split { display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(32px, 7.64vw, 146.667px); }
.ps-split > .ps-head { flex: 1 1 auto; max-width: 853.333px; }
.ps-split__text { flex: 0 1 520px; }

.ps-placeholder {
	padding: 40px;
	border: 2px dashed #b8bcc4;
	border-radius: 13.333px;
	color: #50575e;
	text-align: center;
	font: 600 16px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* "Wide" button (CTA under cards and galleries): same size and text as every other button
   (Roby, 2026-11-07), placed by the section's Text alignment like the other buttons. */
.ps-btn--wide { align-self: flex-start; margin-top: calc(32px - clamp(40px, 4.17vw, 80px)); }
.ps-align-center .ps-btn--wide { align-self: center; }
.ps-align-right .ps-btn--wide { align-self: flex-end; }

/* Masked icons take the color of their element. */
.ps-card__icon::before,
.ps-faq__icon,
.ps-event__arrow {
	content: "";
	display: block;
	background: currentColor;
	-webkit-mask: var(--ps-icon) center / contain no-repeat;
	mask: var(--ps-icon) center / contain no-repeat;
}

/* ---------- Photo cards / Our Leagues (Figma 1116:138) ---------- */

.ps-cards__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ps-card { margin: 0; }
.ps-card__link {
	position: relative;
	display: block;
	aspect-ratio: 485.333 / 544;
	border-radius: 13.333px;
	overflow: hidden;
	background: #000;
	color: #fff;
	text-decoration: none;
	isolation: isolate;
}
.ps-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
a.ps-card__link:hover .ps-card__img { transform: scale(1.04); }
a.ps-card__link:focus-visible { outline: 3px solid var(--ps-focus, #ffd166); outline-offset: 3px; }
/* Dark glass box: 26.67px in from the sides and bottom, 26.67px padding, 10.67px radius. */
.ps-card__body {
	position: absolute;
	left: 26.667px;
	right: 26.667px;
	bottom: 26.667px;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 26.667px;
	padding: 26.667px;
	border-radius: 10.667px;
	background: rgba(0, 0, 0, 0.5);
}
.ps-card__title {
	font-family: var(--ps-font-display, inherit);
	font-weight: 800;
	font-size: calc(var(--ps-t-scale, 1) * (clamp(1.25rem, 1.05rem + 0.5vw, 1.625rem)));
	line-height: 1.2;
	text-transform: uppercase;
	max-width: 11ch;
}
.ps-card__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 53.333px;
	height: 53.333px;
	border-radius: 50%;
	background: var(--ps-sec-accent, #e5422d);
	color: #000;
	transition: transform 0.2s;
}
.ps-card__icon::before { --ps-icon: url("icons/arrow-up-right.svg"); width: 24px; height: 24px; }
a.ps-card__link:hover .ps-card__icon { transform: rotate(45deg); }

/* ---------- Open registration (Figma 1116:177) ---------- */

.ps-reg__list { display: flex; flex-direction: column; gap: clamp(40px, 3.6vw, 69px); margin: 0; padding: 0; list-style: none; }
.ps-reg__item {
	display: flex;
	justify-content: space-between;
	gap: 32px;
	padding-bottom: 26.667px;
	border-bottom: 1.333px solid #dbdbdb;
}
.ps-reg__name {
	margin: 0;
	font-family: var(--ps-font-display, inherit);
	font-weight: 800;
	font-size: calc(var(--ps-t-scale, 1) * (clamp(1.25rem, 1.05rem + 0.5vw, 1.625rem)));
	line-height: 1.2;
	text-transform: uppercase;
	color: #000;
}
.ps-reg__sport { margin: 0; font-size: calc(var(--ps-t-scale, 1) * (clamp(1rem, 0.9rem + 0.25vw, 1.25rem))); line-height: 1.4; color: #7b7b7b; }
.ps-reg__facts {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	column-gap: 29px;
	margin: 18.667px 0 0;
	font-size: calc(var(--ps-t-scale, 1) * clamp(1rem, 0.9rem + 0.35vw, 1.375rem));
	line-height: 1.6;
	color: #000;
}
.ps-reg__facts dt { font-weight: 700; min-width: 174px; }
.ps-reg__facts dd { margin: 0; }
.ps-reg__more {
	display: inline-block;
	margin-top: 18.667px;
	font-size: calc(var(--ps-t-scale, 1) * clamp(1rem, 0.9rem + 0.35vw, 1.375rem));
	line-height: 1.6;
	color: var(--ps-c-navy);
	text-decoration: underline;
}
.ps-reg__side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 13.333px; }
.ps-reg__btn { min-width: 256px; }
.ps-reg__closed { padding: 18px 0; font-weight: 600; color: #7b7b7b; }
/* Weekday circles: 40px, 7px apart, gray #d9d9d9 / orange #ff3c00 when it meets that day. */
.ps-reg__days { display: flex; gap: 7px; margin: 0; padding: 0; list-style: none; }
.ps-reg__days li {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #d9d9d9;
	color: #737373;
	font-size: calc(var(--ps-t-scale, 1) * (1.125rem));
	line-height: 1;
}
.ps-reg__days li.is-on { background: var(--ps-c-orange); color: #fff; }
.ps-reg__time { margin: 0; font-size: calc(var(--ps-t-scale, 1) * (clamp(1rem, 0.9rem + 0.35vw, 1.375rem))); line-height: 1.6; color: #000; }
.ps-reg__empty { margin: 0; font-size: calc(var(--ps-t-scale, 1) * (1.25rem)); color: #7b7b7b; }
.ps-reg__frame { width: 100%; height: 800px; border: 0; }

/* ---------- Questions and answers (Figma 1116:366) ---------- */

.ps-faq__row { display: grid; grid-template-columns: minmax(0, 738.667fr) minmax(0, 701.333fr); gap: 80px; align-items: center; }
.ps-faq__row.is-single { grid-template-columns: minmax(0, 1fr); }
.ps-faq__list { display: flex; flex-direction: column; gap: 26.667px; }
.ps-faq__item { padding-bottom: 26.667px; border-bottom: 1.333px solid #dbdbdb; }
.ps-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 13.333px;
	cursor: pointer;
	list-style: none;
	font-family: var(--ps-font-display, inherit);
	font-weight: 800;
	font-size: calc(var(--ps-t-scale, 1) * (clamp(1.25rem, 1.05rem + 0.5vw, 1.6667rem)));
	line-height: 1.2;
	text-transform: uppercase;
	color: #000;
}
.ps-faq__q::-webkit-details-marker { display: none; }
.ps-faq__q:focus-visible { outline: 3px solid var(--ps-focus, #ffd166); outline-offset: 4px; }
.ps-faq__q { transition: color 0.25s; }
.ps-faq__icon { flex: none; width: 32px; height: 32px; --ps-icon: url("icons/arrow-down.svg"); color: var(--ps-sec-accent, #ff3c00); transition: transform 0.3s cubic-bezier(.2, .7, .2, 1), color 0.25s; }
.ps-faq__item[open]:not(.is-closing) .ps-faq__q { color: var(--ps-sec-accent, #ff3c00); }
.ps-faq__item[open]:not(.is-closing) .ps-faq__icon { transform: scaleY(-1); color: #000; }
@media (prefers-reduced-motion: reduce) {
	.ps-faq__q,
	.ps-faq__icon { transition: none; }
}
.ps-faq__a {
	margin-top: 18.667px;
	font-size: calc(var(--ps-t-scale, 1) * clamp(1rem, 0.9rem + 0.3vw, 1.3333rem));
	line-height: 1.6;
	color: #7b7b7b;
}
.ps-faq__a p { margin: 0 0 1em; }
.ps-faq__a p:last-child { margin-bottom: 0; }
.ps-faq__media { aspect-ratio: 701.333 / 522.667; border-radius: 13.333px; overflow: hidden; background: #000; }
.ps-faq__img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Photo banner (Figma 1116:412): 200px top/bottom, photo under 60% black ---------- */

.ps-banner { position: relative; padding-block: clamp(88px, 10.42vw, 200px); overflow: hidden; isolation: isolate; }
.ps-banner__media { position: absolute; inset: 0; z-index: -1; }
.ps-banner__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ps-banner__media::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, var(--ps-overlay, 0.6)); }
.ps-banner .ps-container.ps-banner__inner { gap: 26.667px; max-width: calc(1462px + 2 * var(--ps-gutter, 24px)); }
.ps-banner.ps-align-center .ps-banner__inner { align-items: center; }
.ps-banner.ps-align-right .ps-banner__inner { align-items: flex-end; }
.ps-banner .ps-text { color: #fff; font-size: calc(var(--ps-t-scale, 1) * clamp(1rem, 0.9rem + 0.3vw, 1.3333rem)); }
/* Filled white label on the photo. */
.ps-banner .ps-label { background: #fff; border-color: #fff; color: #000; text-transform: none; }
.ps-banner .ps-title { color: #fff; }

/* ---------- Latest events (Figma 1116:424) ---------- */

.ps-events__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.ps-event__link { display: flex; flex-direction: column; gap: 13.333px; color: #000; text-decoration: none; }
.ps-event__month {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18.667px 26.667px;
	border-radius: 13.333px;
	background: #fff;
	font-family: var(--ps-font-display, inherit);
	font-weight: 800;
	font-size: calc(var(--ps-t-scale, 1) * (clamp(1.125rem, 1rem + 0.45vw, 1.6667rem)));
	line-height: 1.2;
	text-transform: uppercase;
}
.ps-event__arrow { width: 20px; height: 23.094px; --ps-icon: url("icons/triangle.svg"); color: var(--ps-sec-accent, #ff3c00); transform: rotate(90deg); }
.ps-event__media { display: block; aspect-ratio: 485.333 / 306.667; border-radius: 13.333px; overflow: hidden; background: #000; }
.ps-event__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.ps-event__media.is-logo { background: var(--ps-c-gray, #f3f3f3); }
.ps-event__media.is-logo .ps-event__img { object-fit: contain; padding: 12%; box-sizing: border-box; }
.ps-event__title {
	margin-top: 13.333px;
	font-family: var(--ps-font-display, inherit);
	font-weight: 800;
	font-size: calc(var(--ps-t-scale, 1) * (clamp(1.375rem, 1.1rem + 0.7vw, 2rem)));
	line-height: 1.2;
	text-transform: uppercase;
}
a.ps-event__link[href]:hover .ps-event__img { transform: scale(1.04); }
a.ps-event__link[href]:hover .ps-event__title { text-decoration: underline; }
a.ps-event__link:focus-visible { outline: 3px solid var(--ps-focus, #ffd166); outline-offset: 4px; border-radius: 13.333px; }
.ps-events__more { margin: 0; }

/* ---------- Tablets and phones ---------- */

@media (max-width: 1023px) {
	.ps-split { flex-direction: column; align-items: flex-start; }
	.ps-split__text { flex-basis: auto; }
	.ps-cards__grid,
	.ps-events__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ps-faq__row { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.ps-reg__item { flex-direction: column; }
	.ps-reg__side { align-items: flex-start; }
}
@media (max-width: 640px) {
	.ps-cards__grid,
	.ps-events__grid { grid-template-columns: minmax(0, 1fr); }
	.ps-card__body { left: 16px; right: 16px; bottom: 16px; padding: 20px; }
	.ps-reg__facts { grid-template-columns: minmax(0, 1fr); }
	.ps-reg__facts dt { min-width: 0; }
	.ps-reg__facts dd + dt { margin-top: 6px; }
	.ps-reg__btn { min-width: 0; width: 100%; }
	.ps-reg__side { align-self: stretch; }
	.ps-reg__days li { width: 36px; height: 36px; }
}

/* ---------- Editor-only helpers (classes are only printed in the editor) ---------- */

.ps-hidden-note {
	margin: 0;
	padding: 18px 24px;
	border: 2px dashed #b8bcc4;
	border-radius: 8px;
	background: #f6f7f9;
	color: #50575e;
	font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.ps-hero__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	min-height: 220px;
	border: 2px dashed rgba(255, 255, 255, 0.4);
	color: rgba(255, 255, 255, 0.85);
	font: 600 16px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	cursor: pointer;
}
.ps-editor-badge {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 3;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	font: 600 13px/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Editor preview: click-to-edit targets (attributes are only printed in the editor) ---------- */

[data-ps-field] {
	cursor: pointer;
	transition: outline-color 0.15s, background-color 0.15s;
	outline: 2px dashed transparent;
	outline-offset: 4px;
}
[data-ps-field]:hover {
	outline-color: var(--ps-accent, #e5432f);
}
/* Empty fields show a hint so the owner can still click them. */
[data-ps-field]:empty::before {
	content: attr(data-ps-placeholder);
	opacity: 0.55;
	font-style: italic;
}
.ps-hero__tag[data-ps-field]:empty { background: rgba(255, 255, 255, 0.18); }

/* ======================= Inner page sections ======================= */

.ps-title--58 { font-size: calc(var(--ps-t-scale, 1) * clamp(1.875rem, 1rem + 2.2vw, 3.625rem)); }
.ps-title--32 { font-size: calc(var(--ps-t-scale, 1) * (clamp(1.375rem, 1.1rem + 0.7vw, 2rem))); }

/* Rounded "dropdown" (Figma: 55px tall, 1px black border, 18px SemiBold caps, orange triangle). */
.ps-pill-select { position: relative; display: inline-flex; align-items: center; }
.ps-pill-select select {
	appearance: none;
	-webkit-appearance: none;
	min-height: 55px;
	padding: 0 64px 0 30px;
	border: 1px solid #000;
	border-radius: 132px;
	background: transparent;
	color: #000;
	font: 600 1.125rem/1.15 var(--ps-font-display, inherit);
	font-size: calc(var(--ps-t-scale, 1) * (1.125rem));
	text-transform: uppercase;
	cursor: pointer;
}
.ps-pill-select::after {
	content: "";
	position: absolute;
	right: 28px;
	top: 50%;
	width: 19.45px;
	height: 12.75px;
	margin-top: -6.4px;
	background: var(--ps-c-orange, #ff3c00);
	-webkit-mask: url("icons/select-arrow.svg") center / contain no-repeat;
	mask: url("icons/select-arrow.svg") center / contain no-repeat;
	transform: rotate(180deg);
	pointer-events: none;
}
.ps-pill-select select:focus-visible { outline: 3px solid var(--ps-focus, #ffd166); outline-offset: 3px; }

/* ---------- Text (Figma 1116:2770: 58px title, 20px #7b7b7b text, no space between paragraphs) ---------- */

.ps-textblock__text {
	font-size: calc(var(--ps-t-scale, 1) * clamp(1rem, 0.92rem + 0.25vw, 1.25rem));
	line-height: 1.6;
	color: #7b7b7b;
	margin-top: calc(26.667px - clamp(40px, 4.17vw, 80px));
}
.ps-textblock__text p,
.ps-textblock__text ul,
.ps-textblock__text ol { margin: 0; }
.ps-textblock__text a { color: inherit; text-decoration: underline; }
/* Style tab alignment moves the text with the heading; list bullets follow the text. */
.ps-align-center .ps-textblock__text { text-align: center; }
.ps-align-right .ps-textblock__text { text-align: right; }
.ps-align-center .ps-textblock__text :is(ul, ol),
.ps-align-right .ps-textblock__text :is(ul, ol) { list-style-position: inside; padding-left: 0; }
.ps-textblock__text a:hover { color: var(--ps-c-red); }

/* ---------- Gallery (Figma 1116:2777 row, 1116:5503 video cards) ---------- */

.ps-gallery .ps-container { align-items: stretch; }
.ps-gallery__title { text-align: center; }
.ps-gallery.ps-align-left .ps-gallery__title { text-align: left; }
.ps-gallery.ps-align-right .ps-gallery__title { text-align: right; }
.ps-gallery__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(32px, 4.17vw, 80px) 26.667px;
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: left;
}
.ps-gallery__grid.has-text { row-gap: clamp(32px, 3.5vw, 66px); }
.ps-gallery__item { display: flex; flex-direction: column; gap: 18.667px; }
.ps-gallery__open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 13.333px; }
.ps-gallery__open[data-type="video"],
.ps-gallery__open[data-type="youtube"] { cursor: pointer; }
.ps-gallery__open:focus-visible { outline: 3px solid var(--ps-focus, #ffd166); outline-offset: 3px; }
.ps-gallery__media { position: relative; display: block; aspect-ratio: 360 / 266.667; border-radius: 13.333px; overflow: hidden; background: #000; }
.ps-gallery__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.ps-gallery__open:hover .ps-gallery__img { transform: scale(1.04); }
.ps-gallery__play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 66px;
	height: 57px;
	margin: -28.5px 0 0 -33px;
	background: var(--ps-c-orange, #ff3c00);
	-webkit-mask: url("icons/play.svg") center / contain no-repeat;
	mask: url("icons/play.svg") center / contain no-repeat;
	transform: rotate(90deg);
}
.ps-gallery__name {
	margin: 0;
	font-family: var(--ps-font-display, inherit);
	font-weight: 800;
	font-size: calc(var(--ps-t-scale, 1) * (clamp(1.125rem, 1rem + 0.45vw, 1.6667rem)));
	line-height: 1.2;
	text-transform: uppercase;
	color: #000;
}
.ps-gallery__caption { margin: 0; font-size: calc(var(--ps-t-scale, 1) * (clamp(1rem, 0.9rem + 0.3vw, 1.3333rem))); line-height: 1.6; color: #7b7b7b; }
/* Gallery button: the section's normal 80px gap (Figma 1116:2790), not the photo-card 32px. */
.ps-gallery .ps-btn--wide { margin-top: 0; }

.ps-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 24px;
	background: rgba(0, 0, 0, 0.92);
}
.ps-lightbox[hidden] { display: none; }
.ps-lightbox-open { overflow: hidden; }
.ps-lightbox__figure { margin: 0; max-width: min(1400px, 100%); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ps-lightbox__stage img,
.ps-lightbox__stage video { display: block; max-width: 100%; max-height: 82vh; border-radius: 8px; }
.ps-lightbox__stage iframe { display: block; width: min(1280px, 90vw); aspect-ratio: 16 / 9; border: 0; border-radius: 8px; }
.ps-lightbox__caption { color: #fff; font: 600 1rem/1.4 var(--ps-font-display, inherit); text-align: center; }
.ps-lightbox button {
	flex: none;
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
}
.ps-lightbox button:hover { background: var(--ps-c-red); }
.ps-lightbox button:focus-visible { outline: 3px solid var(--ps-focus, #ffd166); outline-offset: 3px; }
.ps-lightbox__close { position: absolute; top: 20px; right: 20px; }

/* ---------- Program calendar (Figma 1116:1876) ---------- */

.ps-cal__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 37.708px; flex-wrap: wrap; }
.ps-cal__nav { display: flex; align-items: center; gap: 12px; }
.ps-cal__month { margin: 0; min-width: 9ch; font-family: var(--ps-font-display, inherit); font-weight: 700; font-size: calc(var(--ps-t-scale, 1) * (clamp(1.375rem, 1.1rem + 0.6vw, 1.875rem))); text-transform: uppercase; color: #000; }
.ps-cal__step {
	width: 40px;
	height: 40px;
	border: 1px solid #000;
	border-radius: 50%;
	background: transparent;
	color: #000;
	font-size: calc(var(--ps-t-scale, 1) * (1.5rem));
	line-height: 1;
	cursor: pointer;
}
.ps-cal__step:hover { background: #000; color: #fff; }
.ps-cal__step:focus-visible { outline: 3px solid var(--ps-focus, #ffd166); outline-offset: 3px; }
.ps-cal__grid { filter: drop-shadow(0 1.178px 0.589px rgba(0, 0, 0, 0.12)); }
.ps-cal__row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.ps-cal__dayname {
	padding: 14.141px;
	border: 1.178px solid #e8e8e8;
	margin: 0 -1.178px -1.178px 0;
	background: #fff;
	font: 500 1.125rem/1.2 var(--ps-font-display, inherit);
	font-size: calc(var(--ps-t-scale, 1) * (1.125rem));
	text-transform: uppercase;
	color: #000;
}
.ps-cal__head .ps-cal__dayname:first-child { border-top-left-radius: 9.427px; }
.ps-cal__head .ps-cal__dayname:last-child { border-top-right-radius: 9.427px; }
.ps-cal__cell {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: clamp(96px, 11.8vw, 226.956px);
	padding: 14.141px;
	border: 1.178px solid #e8e8e8;
	margin: 0 -1.178px -1.178px 0;
	background: #fff;
	overflow: hidden;
}
.ps-cal__cell.is-out { background: #f8f8f8; }
.ps-cal__cell.is-out .ps-cal__num { opacity: 0.4; }
.ps-cal__cell.is-today .ps-cal__num { color: var(--ps-c-orange); }
.ps-cal__num { font: 500 clamp(1rem, 0.85rem + 0.6vw, 1.5rem)/1.2 var(--ps-font-display, inherit); color: #000; text-transform: uppercase; font-size: calc(var(--ps-t-scale, 1) * (clamp(1rem, 0.85rem + 0.6vw, 1.5rem))); }
/* Entries: Figma 28px pills, 1px black border, 10px SemiBold caps. */
.ps-cal__item {
	display: flex;
	gap: 8px;
	align-items: center;
	min-height: 28px;
	padding: 4px 12px;
	border: 1px solid #000;
	border-radius: 132px;
	color: #000;
	font: 600 0.625rem/1.15 var(--ps-font-display, inherit);
	font-size: calc(var(--ps-t-scale, 1) * (0.625rem));
	text-transform: uppercase;
	text-decoration: none;
}
.ps-cal__item.is-close { border-color: var(--ps-c-orange); }
a.ps-cal__item:hover { background: #000; color: #fff; }
.ps-cal__when { flex: none; }
.ps-cal__what { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ps-cal__empty { margin: 16px 0 0; color: #7b7b7b; }

/* ---------- Open registration: list / calendar switch, View Sessions ---------- */

.ps-reg__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
/* The heading fills the row beside the switch, so the Style tab alignment can move it. */
.ps-reg__top .ps-head { flex: 1 1 auto; min-width: 0; }
.ps-reg__switch {
	flex: none;
	display: flex;
	gap: 3px;
	padding: 3px 4px;
	border: 1px solid #000;
	border-radius: 132px;
	margin-bottom: 8px;
}
.ps-reg__switch button {
	width: 47px;
	height: 47px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #737373;
	cursor: pointer;
}
.ps-reg__switch button::before {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background: currentColor;
	-webkit-mask: url("icons/icon-list.svg") center / contain no-repeat;
	mask: url("icons/icon-list.svg") center / contain no-repeat;
}
.ps-reg__switch button[data-view="calendar"]::before { -webkit-mask-image: url("icons/icon-calendar.svg"); mask-image: url("icons/icon-calendar.svg"); }
.ps-reg__switch button[aria-pressed="true"] { background: var(--ps-c-red); color: #fff; }
.ps-reg__switch button:focus-visible { outline: 3px solid var(--ps-focus, #ffd166); outline-offset: 2px; }
.ps-reg__more { display: inline-flex; align-items: center; gap: 12px; }
.ps-reg__more-arrow {
	width: 22.46px;
	height: 17px;
	background: var(--ps-c-orange, #ff3c00);
	-webkit-mask: url("icons/triangle.svg") center / contain no-repeat;
	mask: url("icons/triangle.svg") center / contain no-repeat;
	transform: rotate(180deg);
}
.ps-reg__panel[hidden],
.ps-reg__list[hidden],
.ps-reg__listing[hidden],
.ps-reg__item[hidden] { display: none; }
/* "Show more" under the list: the design's own button, on the section's text alignment. */
.ps-reg__more-wrap { display: flex; justify-content: flex-start; margin-top: clamp(32px, 2.5vw, 48px); }
.ps-align-center .ps-reg__more-wrap { justify-content: center; }
.ps-align-right .ps-reg__more-wrap { justify-content: flex-end; }
.ps-reg__toggle { border: 0; cursor: pointer; }

/* ---------- Questions and answers: Required forms row (Figma 1116:2942) ---------- */

.ps-faq__forms { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.ps-faq__forms-title {
	margin: 0 8px 0 0;
	font-family: var(--ps-font-display, inherit);
	font-weight: 800;
	font-size: calc(var(--ps-t-scale, 1) * (clamp(1.125rem, 1rem + 0.45vw, 1.6667rem)));
	line-height: 1.2;
	text-transform: uppercase;
	color: #000;
}
.ps-btn--form { min-width: 256px; font-size: calc(var(--ps-t-scale, 1) * (clamp(1rem, 0.95rem + 0.2vw, 1.333rem))); }

/* ---------- Events list (Figma 1116:5751 / 1116:5758) ---------- */

.ps-evlist__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
/* The title fills the row beside the year picker, so the Style tab alignment can move it. */
.ps-evlist__bar .ps-title { flex: 1 1 auto; min-width: 0; }
.ps-evlist.ps-align-center .ps-evlist__bar .ps-title { text-align: center; }
.ps-evlist.ps-align-right .ps-evlist__bar .ps-title { text-align: right; }
.ps-evlist__list { display: flex; flex-direction: column; gap: 26.667px; margin: 0; padding: 0; list-style: none; }
.ps-evlist__item { display: grid; grid-template-columns: 188px minmax(0, 1fr); gap: 69px; padding-bottom: 26.667px; border-bottom: 1.333px solid #dbdbdb; scroll-margin-top: 140px; }
.ps-evlist__item[hidden] { display: none; }
.ps-evlist__media { width: 188px; height: 187.37px; display: grid; place-items: center; }
.ps-evlist__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.ps-evlist__body { display: flex; flex-direction: column; gap: 19px; min-width: 0; }
.ps-evlist__name {
	margin: 0;
	font-family: var(--ps-font-display, inherit);
	font-weight: 800;
	font-size: calc(var(--ps-t-scale, 1) * (clamp(1.25rem, 1.05rem + 0.5vw, 1.6667rem)));
	line-height: 1.2;
	text-transform: uppercase;
	color: #000;
}
.ps-evlist__item.is-first .ps-evlist__name { color: var(--ps-c-orange); }
.ps-evlist__short,
.ps-evlist__full { margin: 0; font-size: calc(var(--ps-t-scale, 1) * clamp(1rem, 0.9rem + 0.3vw, 1.3333rem)); line-height: 1.6; color: #7b7b7b; }
.ps-evlist__full p { margin: 0 0 0.8em; }
.ps-evlist__full[hidden],
.ps-evlist__short[hidden] { display: none; }
.ps-evlist__more,
.ps-evlist__less { padding: 0; border: 0; background: none; color: #0053a0; font: inherit; text-decoration: underline; cursor: pointer; }
.ps-evlist__more:focus-visible,
.ps-evlist__less:focus-visible { outline: 3px solid var(--ps-focus, #ffd166); outline-offset: 2px; }

/* ---------- Instagram feed ---------- */

.ps-insta .ps-title { text-align: center; }
.ps-insta.ps-align-left .ps-title { text-align: left; }
.ps-insta.ps-align-right .ps-title { text-align: right; }
.ps-insta__feed #sb_instagram { padding: 0 !important; }

/* Posts from Site settings > Instagram until the account is connected (Figma 1:4663): four
   415 x 535 cards, 11px apart, 8px between rows, the row 1694 wide (wider than the title). */
.ps-insta__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px 11px;
	align-self: center;
	width: min(1694px, 88.23vw);
}
.ps-insta__card { display: flex; flex-direction: column; background: #fff; border: 1px solid #ececec; color: #000; text-decoration: none; font-family: Roboto, "Helvetica Neue", Arial, sans-serif; }
.ps-insta__top { display: flex; align-items: center; gap: 14px; height: 74px; padding-inline: 23px; flex: none; }
.ps-insta__avatar { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #f3f3f3; overflow: hidden; flex: none; }
.ps-insta__avatar-img { width: 66%; height: 84%; object-fit: contain; }
.ps-insta__name { font-weight: 700; font-size: 18px; line-height: 1.2; }
.ps-insta__media { position: relative; display: block; aspect-ratio: 415 / 387; overflow: hidden; background: #d9d9d9; }
.ps-insta__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ps-insta__card:hover .ps-insta__img { transform: scale(1.04); }
.ps-insta__play { position: absolute; top: 27px; right: 26px; display: flex; align-items: center; justify-content: center; width: 31px; height: 31px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.25); }
.ps-insta__play svg { fill: #000; margin-left: 2px; }
.ps-insta__caption { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; padding: 22px 23px 28px; font-size: 16px; line-height: 1.5; }
a.ps-insta__card:focus-visible { outline: 3px solid var(--ps-focus, #ffd166); outline-offset: 2px; }
@media (max-width: 1023px) {
	.ps-insta__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 10px; }
}
@media (max-width: 640px) {
	.ps-insta__top { height: 48px; gap: 8px; padding-inline: 10px; }
	.ps-insta__avatar { width: 26px; height: 26px; }
	.ps-insta__name { font-size: 14px; }
	.ps-insta__play { top: 10px; right: 10px; width: 24px; height: 24px; }
	.ps-insta__caption { padding: 10px 10px 12px; font-size: 13px; }
}

/* ---------- Forms (Figma 1116:7742 contact, 1116:7012 waiver) ---------- */

.ps-form__form { display: flex; flex-direction: column; gap: 19px; }
.ps-form__cols { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 504px); gap: 19px 98px; }
.ps-form__col { display: flex; flex-direction: column; gap: 19px; }
.ps-field { margin: 0; display: flex; flex-direction: column; }
.ps-field label { font: 700 clamp(1.0625rem, 0.95rem + 0.35vw, 1.375rem)/1.56 var(--ps-font-display, inherit); color: #000; font-size: calc(var(--ps-t-scale, 1) * (clamp(1.0625rem, 0.95rem + 0.35vw, 1.375rem))); }
.ps-field input {
	height: 34px;
	padding: 0 2px;
	border: 0;
	border-bottom: 1px solid rgba(255, 60, 0, 0.6);
	border-radius: 0;
	background: transparent;
	color: #000;
	font: 400 1.125rem/1.4 var(--ps-font-display, inherit);
	font-size: calc(var(--ps-t-scale, 1) * (1.125rem));
}
.ps-field textarea {
	min-height: 252px;
	margin-top: 8px;
	padding: 12px;
	border: 1px solid var(--ps-c-orange, #ff3c00);
	background: transparent;
	color: #000;
	font: 400 1.125rem/1.5 var(--ps-font-display, inherit);
	font-size: calc(var(--ps-t-scale, 1) * (1.125rem));
	resize: vertical;
}
.ps-field input:focus,
.ps-field textarea:focus { outline: none; border-color: #000; box-shadow: 0 2px 0 -1px #000; }
.ps-field textarea:focus { box-shadow: 0 0 0 1px #000; }
.ps-field--pill { margin-top: 0; }
.ps-field--pill { max-width: 100%; }
.ps-field--pill .ps-pill-select { max-width: 100%; }
.ps-field--pill .ps-pill-select select { width: 395px; max-width: 100%; }
.ps-req { color: var(--ps-c-orange); }
/* Date "pills": the label sits in the pill, the date picker beside it. */
.ps-pill-date {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 55px;
	padding: 0 20px 0 30px;
	border: 1px solid #000;
	border-radius: 132px;
	font: 600 1.125rem/1.15 var(--ps-font-display, inherit);
	font-size: calc(var(--ps-t-scale, 1) * (1.125rem));
	text-transform: uppercase;
	color: #000;
}
.ps-pill-date input { height: 40px; border: 0; background: transparent; font: 500 1rem/1 var(--ps-font-display, inherit); color: #000; font-size: calc(var(--ps-t-scale, 1) * (1rem)); }
.ps-pill-date:focus-within { outline: 3px solid var(--ps-focus, #ffd166); outline-offset: 3px; }
.ps-form__heading {
	margin: 24px 0 8px;
	font-family: var(--ps-font-display, inherit);
	font-weight: 800;
	font-size: calc(var(--ps-t-scale, 1) * (clamp(1.375rem, 1.1rem + 0.7vw, 2rem)));
	line-height: 1.2;
	text-transform: uppercase;
	color: #000;
}
.ps-form--waiver .ps-form__heading:first-child { margin-top: 0; }
.ps-form__text { font-size: calc(var(--ps-t-scale, 1) * (clamp(1rem, 0.92rem + 0.2vw, 1.125rem))); line-height: 1.7; color: #000; }
.ps-form__grid { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 500px) auto; gap: 26px 52px; align-items: end; }
.ps-form__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 200px); gap: 47px; }
.ps-form__grid .ps-field--pill { justify-self: start; }
.ps-check { display: flex; align-items: center; gap: 38px; margin: 40px 0 0; font-size: calc(var(--ps-t-scale, 1) * (1.125rem)); color: #000; }
.ps-check input { width: 22px; height: 22px; accent-color: var(--ps-c-red); }
.ps-form__submit { margin: 30px 0 0; }
.ps-form__submit .ps-btn { border: 0; cursor: pointer; min-width: 191px; }
.ps-form__notice { margin: 0; padding: 16px 20px; border-radius: 10px; font-weight: 600; }
.ps-form__notice.is-ok { background: #e7f6ec; color: #135c2b; }
.ps-form__notice.is-error { background: #fdecea; color: #8a1c12; }
.ps-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 1023px) {
	.ps-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ps-form__cols,
	.ps-form__grid { grid-template-columns: minmax(0, 1fr); }
	.ps-cal__item .ps-cal__when { display: none; }
}
@media (max-width: 640px) {
	.ps-evlist__item { grid-template-columns: 96px minmax(0, 1fr); gap: 20px; }
	.ps-evlist__media { width: 96px; height: 96px; }
	.ps-cal__cell { padding: 6px; min-height: 64px; }
	.ps-cal__dayname { padding: 8px 4px; font-size: calc(var(--ps-t-scale, 1) * (0.75rem)); }
	.ps-cal__item { padding: 2px 6px; font-size: calc(var(--ps-t-scale, 1) * (0.5625rem)); min-height: 20px; }
	.ps-reg__top { flex-wrap: wrap; }
	.ps-pill-date { flex-wrap: wrap; padding: 8px 20px; border-radius: 24px; }
	.ps-form__pair { grid-template-columns: minmax(0, 1fr); gap: 19px; }
}

/* About text followed by a gallery share one white area in the design (80px apart). */
.ps-textblock.ps-bg-white:has(+ .ps-gallery.ps-bg-white) { padding-bottom: clamp(40px, 4.17vw, 80px); }
.ps-textblock.ps-bg-white + .ps-gallery.ps-bg-white { padding-top: 0; }
.ps-faq__a a { color: inherit; text-decoration: underline; }

/* Text size (S M L) also reaches text that has no size of its own. */
.ps-section,
.ps-hero,
.ps-about { font-size: calc(var(--ps-t-scale, 1) * 1rem); }
.ps-evlist__full iframe { display: block; width: 100%; max-width: 640px; height: auto; aspect-ratio: 16 / 9; margin: 12px 0; border: 0; border-radius: 10px; }

/* ---------- YouTube click-to-play in events (inc/speed.php, assets/youtube.js) ---------- */

/* Same box as the player it stands in for (.ps-evlist__full iframe). */
.ps-yt,
.ps-yt__frame { display: block; width: 100%; max-width: 640px; aspect-ratio: 16 / 9; margin: 12px 0; border: 0; border-radius: 10px; }
.ps-yt { position: relative; padding: 0; overflow: hidden; background: #000; cursor: pointer; }
.ps-yt__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s; }
.ps-yt:hover .ps-yt__img { opacity: 0.85; }
.ps-yt__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); border-radius: 14px; background: #ff0000; }
.ps-yt__play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.ps-yt:focus-visible { outline: 3px solid var(--ps-focus, #ffd166); outline-offset: 3px; }

/* ---------- "Coming soon" (a page not released to the client yet, inc/release.php) ---------- */
.ps-soon { display: flex; align-items: center; justify-content: center; min-height: 60vh; padding: 80px var(--ps-gutter, 24px); background: var(--ps-c-gray); text-align: center; }
.ps-soon__label { margin: 0; color: var(--ps-c-orange); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 14px; }
.ps-soon__title { margin: 8px 0 16px; color: var(--ps-c-navy); font-weight: 900; font-size: clamp(48px, 7vw, 104px); line-height: 1; text-transform: uppercase; }
.ps-soon__text { max-width: 520px; margin: 0 auto 28px; color: #7b7b7b; font-size: 17px; line-height: 1.5; }
.ps-soon__btn { display: inline-flex; padding: 14px 30px; background: var(--ps-c-orange); color: #fff; text-decoration: none; font-weight: 600; text-transform: uppercase; }
.ps-soon__btn:hover { filter: brightness(0.9); }
.ps-soon__btn:focus-visible { outline: 3px solid var(--ps-focus, #ffd166); outline-offset: 3px; }
