/*
 * Reusable editorial/content section patterns for internal Beat Box pages.
 * Mobile-first. Bootstrap provides grid/container utilities; these styles own
 * Beat Box visual language only.
 */

.bbs-page-hero {
	background: var(--bbs-stage-espresso, #211713);
	color: var(--wp--preset--color--white);
	isolation: isolate;
	max-width: none;
	min-height: auto;
	overflow: hidden;
	padding-block: clamp(3.5rem, 9vw, 6.5rem);
}

.bbs-page-hero .bbs-hero__media {
	z-index: 0;
}

.bbs-page-hero .bbs-hero__media::after {
	background: linear-gradient(90deg, rgba(33, 23, 19, 0.9) 0%, rgba(33, 23, 19, 0.7) 38%, rgba(33, 23, 19, 0.28) 68%, rgba(33, 23, 19, 0.12) 100%);
}

.bbs-page-hero .bbs-hero__media img {
	object-position: center 48%;
}

/* Adult hero: preserve the performers' heads in the stage photograph and keep copy readable over the image. */
.bbs-page-hero--adults {
	min-height: clamp(32rem, 48vw, 40rem);
}

.bbs-page-hero--adults .bbs-hero__media img {
	object-position: center top;
}

.bbs-page-hero--adults .bbs-hero__media::after {
	background:
		linear-gradient(90deg, rgba(25, 17, 15, 0.88) 0%, rgba(33, 23, 19, 0.68) 38%, rgba(33, 23, 19, 0.32) 64%, rgba(33, 23, 19, 0.18) 100%),
		linear-gradient(0deg, rgba(20, 14, 12, 0.38), rgba(20, 14, 12, 0.04) 55%, rgba(20, 14, 12, 0.16));
}

.bbs-page-hero--adults .bbs-hero__title,
.bbs-page-hero--adults .bbs-hero__text,
.bbs-page-hero--children .bbs-hero__title,
.bbs-page-hero--children .bbs-hero__text {
	color: var(--wp--preset--color--white);
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.32);
}

.bbs-page-hero--adults .bbs-hero__title {
	max-width: 15ch;
}

.bbs-page-hero--adults .bbs-hero__text {
	max-width: 42rem;
}


.bbs-page-hero .bbs-hero__content {
	margin-inline: auto;
	max-width: var(--wp--style--global--wide-size);
	padding-inline: 1rem;
	width: 100%;
	z-index: 2;
}

.bbs-page-hero .bbs-hero__title {
	max-width: 12ch;
}

.bbs-page-hero .bbs-hero__text {
	max-width: 36rem;
}

.bbs-page-hero--adults .bbs-eyebrow,
.bbs-section--adults .bbs-eyebrow,
.bbs-card--adults .bbs-card__meta,
.bbs-offer-card--adults .bbs-offer-card__meta {
	color: var(--bbs-stage-magenta, #c42f9d);
}

.bbs-page-hero--children .bbs-eyebrow,
.bbs-section--children .bbs-eyebrow,
.bbs-card--children .bbs-card__meta,
.bbs-offer-card--children .bbs-offer-card__meta {
	color: var(--bbs-discipline-children, #d94f45);
}

/*
 * Shared overlap-editorial hero variant.
 * Home uses the image on the left / content on the right; internal pages can
 * invert the same component without recreating a page-specific hero.
 */
.bbs-page-hero.bbs-hero--overlap-editorial {
	background: var(--bbs-stage-espresso, #211713);
	display: block;
	min-height: auto;
	overflow: hidden;
	padding: 0 0 clamp(2rem, 8vw, 3rem);
	position: relative;
}

.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__media {
	inset: auto;
	min-height: clamp(20rem, 54vh, 32rem);
	overflow: hidden;
	position: relative;
	width: 100%;
	z-index: 1;
}

.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__media::after {
	content: none;
}

.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__media img {
	height: 100%;
	-webkit-mask-image: none;
	mask-image: none;
	object-fit: cover;
	object-position: center top;
	width: 100%;
}

.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__content {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: var(--bbs-stage-espresso, #211713);
	margin: clamp(-2.25rem, -6vw, -1.25rem) 1rem 0;
	max-width: calc(100% - 2rem);
	padding: clamp(1.5rem, 5vw, 2.25rem);
	position: relative;
	text-align: left;
	width: 100%;
	z-index: 2;
}

.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__title,
.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__text,
.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__actions,
.bbs-page-hero.bbs-hero--overlap-editorial .bbs-eyebrow {
	max-width: none;
}

.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__title {
	font-size: clamp(3rem, 5.5vw, 5.6rem);
}

/* Shared internal-page editorial title: the same serif/sans relationship as
 * the approved homepage hero, at a calmer scale for longer page titles. */
.bbs-page-hero .bbs-hero__title--editorial {
	display: grid;
	gap: 0.55rem;
	max-width: none;
	text-wrap: balance;
}

.bbs-page-hero .bbs-hero__title-part {
	display: block;
}

.bbs-page-hero .bbs-hero__title-part--emphasis {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(4.2rem, 20vw, 6.25rem);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.045em;
	line-height: 0.76;
}

.bbs-page-hero .bbs-hero__title-part--supporting {
	font-size: clamp(2.35rem, 10vw, 3.35rem);
	font-weight: 800;
	line-height: 0.94;
	max-width: 12ch;
}

.bbs-page-hero.bbs-hero--overlap-editorial .bbs-eyebrow {
	margin-bottom: clamp(1.15rem, 2vw, 1.65rem);
}

.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__text {
	font-size: 1rem;
	line-height: 1.55;
	margin-block-start: 1.35rem;
	max-width: 34rem;
}

.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__actions {
	margin-top: 1.5rem;
}

.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__actions .bbs-button {
	margin-top: 0;
}

@media (min-width: 860px) {
	.bbs-page-hero.bbs-hero--overlap-editorial {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		min-height: clamp(38rem, calc(100vh - 4.5rem), 50rem);
		padding: 0;
	}

	.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__media {
		inset: 0 0 0 auto;
		min-height: 100%;
		overflow: visible;
		position: absolute;
		/* Scale with the viewport instead of stopping at 78rem. The old cap
		 * pushed the photograph into a small island on ultra-wide displays. */
		width: clamp(35rem, 65vw, 112rem);
	}

	.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__media img {
		-webkit-mask-image: url("../images/hero-image-feather-mask-reverse.svg");
		mask-image: url("../images/hero-image-feather-mask-reverse.svg");
		-webkit-mask-repeat: no-repeat;
		mask-repeat: no-repeat;
		-webkit-mask-size: 100% 100%;
		mask-size: 100% 100%;
		object-position: center top;
	}

	.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__content {
		align-self: center;
		background: transparent;
		box-sizing: border-box;
		grid-column: 1;
		grid-row: 1;
		justify-self: stretch;
		margin: 0;
		margin-inline: auto;
		max-width: var(--wp--style--global--wide-size, 1240px);
		padding-block: clamp(2rem, 5vw, 4rem);
		padding-inline: clamp(1.25rem, 2.5vw, 2.25rem);
		width: 100%;
	}

	.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__title {
		flex: 0 0 auto;
		inline-size: min(100%, 34rem);
		max-width: 34rem;
		width: min(100%, 34rem);
	}

	.bbs-page-hero.bbs-hero--overlap-editorial .bbs-eyebrow,
	.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__actions {
		max-width: 34rem;
	}

	.bbs-page-hero .bbs-hero__title--editorial {
		gap: clamp(0.6rem, 1.2vw, 1rem);
		max-width: 34rem;
	}

	.bbs-page-hero .bbs-hero__title-part--emphasis {
		font-size: clamp(5.25rem, 8vw, 8rem);
	}

	.bbs-page-hero .bbs-hero__title-part--supporting {
		font-size: clamp(2.65rem, 4vw, 4.15rem);
		max-width: 11ch;
	}

	.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__text {
		flex: 0 0 auto;
		font-size: clamp(1rem, 1.35vw, 1.18rem);
		inline-size: min(100%, 31rem);
		line-height: 1.62;
		margin-block-start: clamp(1.5rem, 2.5vw, 2rem);
		max-width: 31rem;
		width: min(100%, 31rem);
	}

	.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__actions {
		margin-top: clamp(1.75rem, 3vw, 2.35rem);
	}
}

/* Keep internal landing-page heroes compact on phones and tablets. The photo
 * and copy share one visual field instead of becoming two viewport-height
 * blocks. */
@media (max-width: 859px) {
	.bbs-page-hero.bbs-hero--overlap-editorial {
		display: grid;
		min-height: clamp(31rem, 76vh, 39rem);
		padding: 0;
	}

	.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__media {
		height: 100%;
		inset: 0;
		min-height: 100%;
		position: absolute;
	}

	.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__media::after {
		background: linear-gradient(180deg, rgba(22, 15, 13, 0.12) 0%, rgba(33, 23, 19, 0.44) 38%, rgba(33, 23, 19, 0.96) 72%, #211713 100%);
		content: "";
		display: block;
		inset: 0;
		position: absolute;
	}

	.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__media img {
		object-position: center 18%;
	}

	.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__content {
		align-self: end;
		background: transparent;
		margin: 0 auto;
		max-width: var(--wp--style--global--wide-size);
		padding: clamp(1.25rem, 4vw, 2rem) max(1rem, 4vw) clamp(1.5rem, 5vw, 2.25rem);
		width: 100%;
	}

	.bbs-page-hero .bbs-hero__title-part--emphasis {
		font-size: clamp(3.6rem, 13vw, 5.5rem);
		line-height: 0.82;
	}

	.bbs-page-hero .bbs-hero__title-part--supporting {
		font-size: clamp(2rem, 7vw, 3rem);
		max-width: 14ch;
	}

	.bbs-page-hero.bbs-hero--overlap-editorial .bbs-eyebrow {
		margin-bottom: 0.75rem;
	}

	.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__text {
		font-size: 0.96rem;
		line-height: 1.48;
		margin-block-start: 0.9rem;
		max-width: 36rem;
	}

	.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__actions {
		margin-top: 1rem;
	}
}

@media (max-width: 599px) {
	.bbs-page-hero.bbs-hero--overlap-editorial {
		min-height: clamp(29rem, 118vw, 33rem);
	}

	.bbs-page-hero.bbs-hero--overlap-editorial .bbs-hero__media img {
		object-position: center 12%;
	}

	.bbs-page-hero .bbs-hero__title--editorial {
		gap: 0.35rem;
	}

	.bbs-page-hero .bbs-hero__title-part--emphasis {
		font-size: clamp(3.35rem, 17vw, 4.4rem);
	}

	.bbs-page-hero .bbs-hero__title-part--supporting {
		font-size: clamp(1.85rem, 9vw, 2.5rem);
	}
}

.bbs-editorial-split {
	align-items: center;
}

.bbs-editorial-split__media {
	border-radius: var(--bbs-card-radius);
	box-shadow: var(--wp--preset--shadow--soft, 0 10px 30px rgba(16, 35, 63, 0.08));
	margin: 0;
	overflow: hidden;
}

.bbs-editorial-split__media img {
	aspect-ratio: 4 / 3;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

/* Editorial crop for the Gaby introduction: wide and relatively shallow, while keeping her head and outstretched arms in frame. */
.bbs-editorial-split__media--portrait-focus {
	background: #f6f6f6;
}

.bbs-editorial-split__media--portrait-focus img {
	aspect-ratio: 1500 / 985;
	object-fit: contain;
	object-position: center;
}

@media (min-width: 992px) {
	.bbs-editorial-split__media--portrait-focus {
		max-width: none;
	}

	.bbs-editorial-split__media--portrait-focus img {
		aspect-ratio: 1500 / 985;
		object-position: center;
	}
}

/* Shared editorial templates and paired programme pages. */
.bbs-section--generic-header,
.bbs-section--finder-intro,
.bbs-section--programme-intro {
	background: color-mix(in srgb, var(--bbs-audience-adults) 4%, white);
	padding-bottom: clamp(2rem, 5vw, 4rem);
}

.bbs-main--adults .bbs-eyebrow {
	color: var(--bbs-audience-adults);
}

.bbs-main--broadway .bbs-eyebrow {
	color: #d6241c;
}

.bbs-section--programme-showcase {
	background: #09090b;
	color: white;
	isolation: isolate;
	overflow: hidden;
	padding-block: 0 1rem;
	position: relative;
}

.bbs-section--programme-showcase::before {
	background: linear-gradient(90deg, #ff27c9, #ffee00 45%, #00e5ff 78%, #ff27c9);
	content: "";
	height: 3px;
	inset: 0 0 auto;
	position: absolute;
	z-index: 2;
}

.bbs-section--programme-showcase .bbs-breadcrumb {
	color: rgba(255, 255, 255, 0.86);
	margin-bottom: 0;
	padding-block: 0.5rem;
	position: relative;
	z-index: 1;
}

.bbs-section--programme-showcase .bbs-breadcrumb::before {
	background: rgba(255, 255, 255, 0.075);
	border-bottom: 1px solid rgba(255, 255, 255, 0.11);
	content: "";
	height: 100%;
	left: 50%;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	width: 100vw;
	z-index: -1;
}

.bbs-programme-hero__backdrop {
	inset: 0;
	position: absolute;
	z-index: -1;
}

.bbs-programme-hero__backdrop::after {
	background: linear-gradient(90deg, #000 10%, rgba(0, 0, 0, 0.99) 39%, rgba(0, 0, 0, 0.74) 58%, rgba(9, 9, 11, 0.18));
	content: "";
	inset: 0;
	position: absolute;
}

.bbs-programme-hero__backdrop img {
	height: 100%;
	object-fit: cover;
	object-position: var(--bbs-programme-backdrop-position, 63% center);
	width: 100%;
}

.bbs-programme-hero {
	--bbs-programme-accent: #f000a8;
	min-height: clamp(21rem, 34vw, 25rem);
	position: relative;
}

.bbs-programme-hero__content {
	padding-block: 0.75rem;
}

.bbs-programme-hero__brand {
	align-items: center;
	display: flex;
	height: clamp(6.5rem, 12vw, 9rem);
	margin-block: 0.4rem 0.55rem;
}

.bbs-programme-hero__logo {
	display: block;
	height: 100%;
	max-width: min(100%, 25rem);
	object-fit: contain;
	object-position: left center;
	width: auto;
}

.bbs-programme-hero__wordmark {
	color: white;
	font-size: clamp(2.35rem, 6vw, 4.8rem);
	font-weight: 800;
	letter-spacing: -0.055em;
	line-height: 0.95;
}

.bbs-programme-hero .bbs-programme-hero__label {
	background: var(--bbs-programme-accent);
	border-radius: 0.2rem;
	color: white;
	display: inline-flex;
	margin: 0;
	padding: 0.35rem 0.6rem;
}

.bbs-programme-hero h1 {
	color: white;
	font-size: clamp(1.8rem, 4vw, 3.1rem);
	line-height: 0.98;
	margin: 0;
	max-width: 17ch;
}

.bbs-programme-hero h1 em {
	color: #ffee00;
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
	text-shadow: 0 0 30px rgba(255, 238, 0, 0.22);
}

.bbs-programme-hero__intro {
	color: rgba(255, 255, 255, 0.94);
	font-size: clamp(0.95rem, 1.4vw, 1.05rem);
	line-height: 1.45;
	margin: 0.55rem 0 0;
	max-width: 34rem;
}

.bbs-programme-hero__invitation {
	align-items: baseline;
	border-left: 2px solid var(--bbs-programme-accent);
	color: white;
	display: flex;
	flex-wrap: wrap;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.1rem, 1.7vw, 1.35rem);
	font-style: italic;
	gap: 0.3rem 0.75rem;
	line-height: 1.3;
	margin: 0.65rem 0 0;
	padding-left: 0.7rem;
}

.bbs-programme-hero__signature {
	color: var(--bbs-programme-accent);
	font-size: 0.95rem;
	white-space: nowrap;
}

.bbs-section--programme-showcase .bbs-local-nav {
	--bbs-showcase-rule: rgba(255, 39, 201, 0.35);
	border-color: transparent;
	margin-top: 0;
	padding-block: 0.75rem;
	position: relative;
	z-index: 1;
}

.bbs-section--programme-showcase .bbs-local-nav::before {
	border-block: 1px solid var(--bbs-showcase-rule);
	content: "";
	height: 100%;
	left: 50%;
	pointer-events: none;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	width: 100vw;
	z-index: -1;
}

.bbs-section--programme-showcase .bbs-local-nav__label {
	color: rgba(255, 255, 255, 0.66);
}

.bbs-section--programme-showcase .bbs-local-nav a {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 39, 201, 0.55);
	color: white;
}

.bbs-section--programme-showcase .bbs-local-nav a:hover,
.bbs-section--programme-showcase .bbs-local-nav a:focus-visible {
	background: #ff27c9;
	border-color: #ff27c9;
	color: #09090b;
}

.bbs-section--broadway-intro::before {
	background: linear-gradient(90deg, #ff27c9, #ff3456 48%, #ffae36);
}

.bbs-programme-hero--broadway {
	--bbs-programme-accent: #d6241c;
}

.bbs-programme-hero--broadway .bbs-programme-hero__brand {
	padding-top: 0.5rem;
}

.bbs-section--broadway-intro .bbs-local-nav {
	--bbs-showcase-rule: color-mix(in srgb, #d6241c 55%, transparent);
}

.bbs-section--broadway-intro .bbs-local-nav__label {
	color: #d6241c;
}

.bbs-section--broadway-intro .bbs-local-nav a {
	border-color: color-mix(in srgb, #d6241c 76%, transparent);
}

.bbs-section--broadway-intro .bbs-local-nav a:hover,
.bbs-section--broadway-intro .bbs-local-nav a:focus-visible {
	background: #d6241c;
	border-color: #d6241c;
	color: white;
}

.bbs-programme-hero--broadway h1 em {
	color: #ffb64b;
	text-shadow: 0 0 30px rgba(255, 182, 75, 0.2);
}

.bbs-programme-hero--children {
	--bbs-programme-accent: var(--bbs-audience-children);
}

.bbs-programme-hero--children .bbs-programme-hero__brand {
	height: clamp(4.5rem, 9vw, 7rem);
}

.bbs-programme-hero--children h1 em {
	color: var(--bbs-audience-children);
	text-shadow: none;
}

.bbs-section--children-showcase::before {
	background: linear-gradient(90deg, var(--bbs-audience-children), #ffb08d 55%, #f7d1bd);
}

.bbs-section--children-showcase .bbs-local-nav {
	--bbs-showcase-rule: color-mix(in srgb, var(--bbs-audience-children) 55%, transparent);
}

.bbs-section--children-showcase .bbs-local-nav__label {
	color: var(--bbs-audience-children);
}

.bbs-section--children-showcase .bbs-local-nav a {
	border-color: color-mix(in srgb, var(--bbs-audience-children) 75%, transparent);
}

.bbs-section--children-showcase .bbs-local-nav a:hover,
.bbs-section--children-showcase .bbs-local-nav a:focus-visible {
	background: var(--bbs-audience-children);
	border-color: var(--bbs-audience-children);
	color: white;
}

.bbs-main--children-programme .bbs-eyebrow {
	color: var(--bbs-audience-children);
}

.bbs-main--children-programme .bbs-programme-hero__label {
	color: white;
}

.bbs-generic-header,
.bbs-finder-intro,
.bbs-family-intro {
	padding-top: clamp(1.5rem, 4vw, 3rem);
}

.bbs-generic-header h1,
.bbs-finder-intro h1,
.bbs-family-intro h1 {
	font-size: clamp(2.4rem, 7vw, 5.5rem);
	max-width: 12ch;
}

.bbs-generic-header__intro,
.bbs-finder-intro p,
.bbs-family-intro p {
	font-size: clamp(1rem, 2vw, 1.2rem);
}

.bbs-prose {
	margin-inline: auto;
	max-width: var(--wp--style--global--content-size);
}

.bbs-prose > :first-child {
	margin-top: 0;
}

.bbs-prose a {
	color: var(--bbs-stage-coral);
	font-weight: 700;
}

.bbs-local-nav {
	align-items: center;
	border-block: 1px solid color-mix(in srgb, var(--bbs-audience-adults) 25%, white);
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	margin-top: clamp(1.75rem, 4vw, 3rem);
	padding-block: 1rem;
}

.bbs-local-nav__label {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bbs-local-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bbs-local-nav a {
	background: white;
	border: 1px solid color-mix(in srgb, var(--bbs-audience-adults) 30%, white);
	border-radius: 999px;
	display: inline-flex;
	font-weight: 700;
	padding: 0.45rem 0.8rem;
}

.bbs-family-intro__logo {
	height: auto;
	margin-bottom: 1.25rem;
	max-width: 11rem;
	width: 42vw;
}

.bbs-family-intro__logo--light {
	background: white;
	max-width: 14rem;
	padding: 0.65rem;
}

.bbs-section--programmes {
	padding-block: 0;
}

.bbs-programme,
.bbs-first-visit,
.bbs-activity-booking,
.bbs-section-heading[id],
#what-to-expect {
	scroll-margin-top: 6rem;
}

.bbs-programme {
	padding-block: clamp(3rem, 8vw, 6rem);
}

.bbs-programme + .bbs-programme {
	border-top: 1px solid color-mix(in srgb, var(--bbs-audience-adults) 22%, white);
}

.bbs-programme__media {
	border-radius: 1rem;
	margin: 0;
	overflow: hidden;
}

.bbs-programme__media img {
	aspect-ratio: 4 / 3;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.bbs-programme__brand {
	margin-bottom: 1.25rem;
	height: 6.25rem;
	width: 10.5rem;
}

.bbs-programme__content h2 {
	font-size: clamp(2rem, 5vw, 4rem);
	margin-bottom: 1rem;
}

.bbs-programme__action {
	margin-top: 1.5rem;
}

.bbs-finder-path {
	border: 1px solid var(--bbs-card-border);
	border-top: 4px solid var(--bbs-path-accent);
	border-radius: var(--bbs-card-radius);
	display: grid;
	gap: 0.35rem;
	height: 100%;
	padding: 1.25rem;
}

.bbs-finder-path span {
	color: var(--bbs-path-accent);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bbs-finder-path--children { --bbs-path-accent: var(--bbs-audience-children); }
.bbs-finder-path--teens { --bbs-path-accent: var(--bbs-audience-teens); }
.bbs-finder-path--adults { --bbs-path-accent: var(--bbs-audience-adults); }

.bbs-gymcatch-embed {
	background: white;
	border: 1px solid var(--bbs-card-border);
	border-radius: var(--bbs-card-radius);
	margin-top: clamp(2rem, 5vw, 4rem);
	min-height: 12rem;
	padding: clamp(1rem, 3vw, 2rem);
}

@media (min-width: 992px) {
	.bbs-section--programme-showcase {
		padding-block: 0 1.25rem;
	}

	.bbs-programme--media-right .bbs-programme__media-column {
		order: 2;
	}

	.bbs-programme--media-right .bbs-programme__content-column {
		order: 1;
	}
}

.bbs-editorial-split__content > :first-child,
.bbs-section-heading > :first-child {
	margin-top: 0;
}

.bbs-editorial-split__content h2,
.bbs-section-heading h2 {
	font-size: clamp(2rem, 6vw, 3.5rem);
	line-height: 0.98;
	margin-block: 0.35rem 1rem;
	max-width: 15ch;
}

.bbs-editorial-split__content p,
.bbs-section-heading p {
	max-width: 44rem;
}

.bbs-value-list {
	display: grid;
	gap: 0.75rem;
	list-style: none;
	margin: 1.5rem 0 0;
	padding: 0;
}

.bbs-value-list li {
	align-items: flex-start;
	display: flex;
	gap: 0.65rem;
}

.bbs-value-list li::before {
	background: var(--bbs-page-accent, var(--bbs-stage-magenta, #c42f9d));
	border-radius: 999px;
	content: "";
	flex: 0 0 0.55rem;
	height: 0.55rem;
	margin-top: 0.55rem;
	width: 0.55rem;
}

.bbs-offer-grid {
	margin-top: 1.75rem;
}

.bbs-offer-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--warm-grey);
	border-radius: var(--bbs-card-radius);
	box-shadow: var(--wp--preset--shadow--soft, 0 10px 30px rgba(16, 35, 63, 0.08));
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 100%;
	overflow: hidden;
	text-decoration: none;
	transition: box-shadow 220ms ease, transform 220ms ease;
}

a.bbs-offer-card:hover,
a.bbs-offer-card:focus-visible {
	box-shadow: var(--bbs-card-shadow-hover);
	transform: translateY(-4px);
}

.bbs-offer-card__media {
	margin: 0;
	overflow: hidden;
}

.bbs-offer-card__media img {
	aspect-ratio: 16 / 10;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease;
	width: 100%;
}

.bbs-offer-card:hover .bbs-offer-card__media img {
	transform: scale(1.015);
}

.bbs-offer-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.25rem;
}

.bbs-offer-card__meta {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	margin: 0 0 0.35rem;
	text-transform: uppercase;
}

.bbs-offer-card__title {
	font-size: clamp(1.35rem, 4vw, 1.8rem);
	line-height: 1.05;
	margin: 0 0 0.75rem;
}

.bbs-offer-card__subtitle,
.bbs-class-detail-header__subtitle,
.bbs-programme__subtitle {
	margin: -0.25rem 0 0.75rem;
	color: var(--wp--preset--color--coral);
	font-size: 0.9rem;
	font-weight: 750;
	line-height: 1.4;
}

.bbs-offer-card__text {
	margin: 0;
}

.bbs-offer-card__footer {
	margin-top: auto;
	padding-top: 1rem;
}

.bbs-pill-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
}

.bbs-pill-list li {
	background: color-mix(in srgb, var(--bbs-page-accent, var(--bbs-stage-magenta, #c42f9d)) 8%, white);
	border: 1px solid color-mix(in srgb, var(--bbs-page-accent, var(--bbs-stage-magenta, #c42f9d)) 25%, white);
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 0.35rem 0.65rem;
}

.bbs-feature-panel {
	background: var(--bbs-stage-espresso, #211713);
	border-radius: var(--bbs-card-radius);
	color: var(--wp--preset--color--white);
	display: grid;
	gap: 1.5rem;
	overflow: hidden;
	padding: clamp(1.5rem, 5vw, 3rem);
	position: relative;
}

.bbs-feature-panel--dark-motif::after {
	background: url("../images/brand-dancer.svg") center / contain no-repeat;
	content: "";
	height: 110%;
	opacity: 0.07;
	pointer-events: none;
	position: absolute;
	right: -10%;
	top: -5%;
	width: min(55%, 30rem);
}

.bbs-feature-panel--motif-dancer::after,
.bbs-feature-panel--motif-broadway::after,
.bbs-feature-panel--motif-clubbercise::after,
.bbs-feature-panel--motif-street::after,
.bbs-feature-panel--motif-performing-arts::after {
	filter: invert(1);
	height: 92%;
	opacity: 0.08;
	right: -2%;
	top: 4%;
	width: min(38%, 17rem);
}

.bbs-feature-panel--motif-dancer::after {
	background-image: url("../images/brand-dancer.svg");
}

.bbs-feature-panel--motif-broadway::after {
	background-image: url("../images/broadway.svg");
}

.bbs-feature-panel--motif-clubbercise::after {
	background-image: url("../images/clubbercise.svg");
}

.bbs-feature-panel--motif-street::after {
	background-image: url("../images/brand-breaker.svg");
}

.bbs-feature-panel--motif-performing-arts::after {
	background-image: url("../images/performing-arts.svg");
}

.bbs-feature-panel__content {
	max-width: 42rem;
	position: relative;
	z-index: 1;
}

.bbs-feature-panel__title {
	color: inherit;
	font-size: clamp(2rem, 6vw, 3.5rem);
	line-height: 1;
	margin: 0 0 1rem;
}

.bbs-feature-panel--dark-motif .bbs-pill-list li {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.2);
}

.bbs-feature-panel--light-split {
	align-items: center;
	background: var(--wp--preset--color--warm-light);
	border: 1px solid var(--wp--preset--color--warm-grey);
	color: inherit;
}

.bbs-feature-panel--light-split .bbs-feature-panel__title {
	font-size: clamp(1.8rem, 5vw, 3rem);
}

.bbs-feature-panel__title strong {
	color: var(--wp--preset--color--coral);
}

.bbs-feature-panel p:last-child {
	margin-bottom: 0;
}

.bbs-feature-panel__action {
	position: relative;
	z-index: 1;
}

.bbs-section--adults-soft {
	background: color-mix(in srgb, var(--bbs-stage-magenta, #c42f9d) 4%, var(--wp--preset--color--white));
}

.bbs-section--adults-warm {
	background: var(--wp--preset--color--warm-light);
}

.bbs-main--children,
.bbs-page-hero--children,
.bbs-section--children {
	--bbs-page-accent: var(--bbs-discipline-children, #d94f45);
}

.bbs-page-hero--children .bbs-hero__media img {
	object-position: center 62%;
}

.bbs-section--children-soft {
	background: color-mix(in srgb, var(--bbs-discipline-children, #d94f45) 5%, var(--wp--preset--color--white));
}

.bbs-section--children-warm {
	background: var(--wp--preset--color--warm-light);
}

.bbs-editorial-split__media--children img {
	object-position: center 44%;
}

.bbs-offer-card--ballet .bbs-offer-card__media img {
	object-position: center 38%;
}

.bbs-offer-card--performing-arts .bbs-offer-card__media img {
	object-position: center 34%;
}

@media (min-width: 768px) {
	.bbs-page-hero {
		min-height: 30rem;
	}

	.bbs-page-hero .bbs-hero__content {
		padding-inline: 2rem;
	}

	.bbs-feature-panel--light-split {
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.bbs-feature-panel--motif-dancer::after,
	.bbs-feature-panel--motif-broadway::after,
	.bbs-feature-panel--motif-clubbercise::after,
	.bbs-feature-panel--motif-street::after,
	.bbs-feature-panel--motif-performing-arts::after {
		opacity: 0.13;
		right: 2%;
		width: min(30%, 18rem);
	}

	.bbs-feature-panel--motif-dancer .bbs-feature-panel__content,
	.bbs-feature-panel--motif-broadway .bbs-feature-panel__content,
	.bbs-feature-panel--motif-clubbercise .bbs-feature-panel__content,
	.bbs-feature-panel--motif-street .bbs-feature-panel__content,
	.bbs-feature-panel--motif-performing-arts .bbs-feature-panel__content {
		max-width: min(42rem, 76%);
	}
}

/* Adult landing page: reusable editorial fallback when no second class image exists. */
.bbs-editorial-split__statement {
	align-items: flex-start;
	background: var(--bbs-stage-espresso, #211713);
	border-radius: 8px;
	color: var(--wp--preset--color--white);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 18rem;
	overflow: hidden;
	padding: clamp(1.5rem, 6vw, 3rem);
	position: relative;
}

.bbs-editorial-split__statement::after {
	background: url("../images/clubbercise.svg") center / contain no-repeat;
	content: "";
	inset: 10% -6% auto auto;
	height: 85%;
	opacity: 0.09;
	pointer-events: none;
	position: absolute;
	width: 70%;
}

.bbs-editorial-split__statement span,
.bbs-editorial-split__statement strong {
	position: relative;
	z-index: 1;
}

.bbs-editorial-split__statement span {
	font-size: clamp(1rem, 3vw, 1.35rem);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bbs-editorial-split__statement strong {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp(3rem, 10vw, 6rem);
	font-style: italic;
	font-weight: 400;
	line-height: 0.9;
}

/* Optional brand marks for reusable class offer cards. */
.bbs-offer-card__brand {
	align-items: center;
	align-self: flex-start;
	border-radius: 6px;
	display: inline-flex;
	height: 5.25rem;
	justify-content: center;
	margin-bottom: 1rem;
	padding: 0.35rem;
	width: 8.5rem;
}

.bbs-offer-card__brand--dark {
	background: #111;
	border: 1px solid #111;
	padding: 0.65rem;
}

.bbs-offer-card__brand--light {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--warm-grey);
}

.bbs-offer-card__brand img {
	display: block;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
	width: 100%;
}

@media (min-width: 768px) {
	.bbs-offer-card__brand {
		height: 5.75rem;
		width: 9.5rem;
	}
}

/* Compact, reusable header for individual class pages. */
.bbs-section--class-header {
	background:
		linear-gradient(110deg, color-mix(in srgb, var(--bbs-stage-magenta, #c42f9d) 7%, white), transparent 58%),
		color-mix(in srgb, var(--bbs-stage-magenta, #c42f9d) 2%, var(--wp--preset--color--white));
	border-top: 3px solid var(--bbs-stage-magenta, #c42f9d);
	color: inherit;
	padding-block: clamp(1.25rem, 4vw, 2.5rem);
}

.bbs-section--class-header .bbs-breadcrumb {
	margin-bottom: clamp(0.75rem, 2vw, 1.25rem);
}

.bbs-section--class-header .bbs-breadcrumb a,
.bbs-section--class-header .bbs-breadcrumb span {
	color: var(--wp--preset--color--contrast);
}

.bbs-class-detail-header {
	--bbs-page-accent: var(--bbs-stage-magenta, #c42f9d);
}

.bbs-class-detail-header__content {
	max-width: 40rem;
}

.bbs-class-detail-header__brand {
	align-items: center;
	background: #111;
	border-radius: 8px;
	display: inline-flex;
	height: 5.25rem;
	justify-content: center;
	margin-bottom: 1.25rem;
	padding: 0.65rem;
	width: 8.5rem;
}

.bbs-class-detail-header__brand img {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.bbs-class-detail-header .bbs-eyebrow {
	color: var(--bbs-stage-magenta, #c42f9d);
}

.bbs-class-detail-header h1 {
	color: var(--wp--preset--color--contrast);
	font-size: clamp(3rem, 10vw, 5.5rem);
	line-height: 0.92;
	margin: 0 0 1rem;
}

.bbs-class-detail-header__intro {
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	line-height: 1.6;
	max-width: 36rem;
}

.bbs-class-detail-header .bbs-pill-list li {
	background: color-mix(in srgb, var(--bbs-stage-magenta, #c42f9d) 8%, white);
	border-color: color-mix(in srgb, var(--bbs-stage-magenta, #c42f9d) 25%, white);
}

.bbs-class-detail-header__action {
	margin-block: 1.5rem 0;
}

.bbs-class-detail-header__media {
	border-radius: var(--bbs-card-radius);
	box-shadow: var(--wp--preset--shadow--soft, 0 10px 30px rgba(0, 0, 0, 0.18));
	margin: 0;
	overflow: hidden;
}

.bbs-class-detail-header__media img {
	aspect-ratio: 4 / 3;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.bbs-class-detail-header--stacked-media .bbs-class-detail-header__content {
	max-width: 50rem;
}

.bbs-class-detail-header--text-only .bbs-class-detail-header__content {
	max-width: none;
}

.bbs-class-detail-header--stacked-media .bbs-class-detail-header__media img {
	aspect-ratio: 16 / 9;
	object-position: center 45%;
}

.bbs-class-facts {
	border-block: 1px solid var(--wp--preset--color--warm-grey);
	display: grid;
	margin: 1.75rem 0 0;
}

.bbs-class-facts__item {
	border-bottom: 1px solid var(--wp--preset--color--warm-grey);
	display: grid;
	gap: 0.25rem;
	padding-block: 0.85rem;
}

.bbs-class-facts__item:last-child {
	border-bottom: 0;
}

.bbs-class-facts dt {
	color: var(--bbs-stage-magenta, #c42f9d);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.bbs-class-facts dd {
	font-weight: 700;
	margin: 0;
}

.bbs-main--clubbercise {
	--bbs-page-accent: var(--bbs-stage-magenta, #c42f9d);
}

.bbs-main--clubbercise .bbs-section--class-header {
	overflow: hidden;
	position: relative;
}

.bbs-main--clubbercise .bbs-section--class-header::after {
	background: url("../images/clubbercise.svg") center / contain no-repeat;
	content: "";
	height: 24rem;
	opacity: 0.035;
	pointer-events: none;
	position: absolute;
	right: -7rem;
	top: -5rem;
	transform: rotate(8deg);
	width: 24rem;
}

.bbs-main--clubbercise .bbs-section--class-header > .bbs-section__inner {
	position: relative;
	z-index: 1;
}

.bbs-main--class-detail > .bbs-section {
	padding-block: clamp(2.5rem, 5vw, 4.25rem);
}

.bbs-main--class-detail > .bbs-section--class-header {
	padding-block: clamp(1.25rem, 3vw, 2rem);
}

.bbs-main--clubbercise .bbs-eyebrow {
	color: var(--bbs-stage-magenta, #c42f9d);
}

.bbs-class-detail-header--clubbercise .bbs-class-detail-header__brand {
	height: 5.75rem;
	width: 9.5rem;
}

.bbs-section--class-header + .bbs-section--clubbercise-soft {
	padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.bbs-class-expectation__copy {
	font-size: clamp(1rem, 1.5vw, 1.12rem);
	line-height: 1.7;
}

.bbs-class-expectation__copy h2 em {
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.28em;
	font-weight: 400;
	letter-spacing: -0.045em;
	line-height: 0.88;
}

.bbs-class-expectation__media {
	border-radius: 0 0 var(--bbs-card-radius) 0;
	box-shadow: 1.25rem 1.25rem 0 color-mix(in srgb, var(--bbs-stage-magenta, #c42f9d) 14%, white);
	margin: 0;
	overflow: hidden;
	transform: rotate(-0.7deg);
}

.bbs-class-expectation__media img {
	aspect-ratio: 4 / 3;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.bbs-benefit-grid,
.bbs-comparison-grid {
	margin-top: clamp(1.25rem, 3vw, 2rem);
}

.bbs-comparison-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--warm-grey);
	border-radius: var(--bbs-card-radius);
	height: 100%;
	padding: clamp(1.25rem, 3vw, 1.75rem);
}

.bbs-benefit-grid {
	counter-reset: bbs-benefit;
}

.bbs-benefit-grid > * {
	counter-increment: bbs-benefit;
}

.bbs-benefit-card {
	border-top: 1px solid color-mix(in srgb, var(--bbs-stage-magenta, #c42f9d) 38%, white);
	height: 100%;
	padding: 1rem 0 0;
}

.bbs-benefit-card::before {
	color: var(--bbs-stage-magenta, #c42f9d);
	content: "0" counter(bbs-benefit);
	display: block;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.1rem;
	font-style: italic;
	margin-bottom: 1.5rem;
}

.bbs-benefit-card h3,
.bbs-comparison-card h3 {
	font-size: clamp(1.35rem, 3vw, 1.8rem);
	line-height: 1.05;
	margin: 0 0 0.75rem;
}

.bbs-benefit-card p:last-child {
	margin-bottom: 0;
}

.bbs-section--clubbercise-soft {
	background: color-mix(in srgb, var(--bbs-stage-magenta, #c42f9d) 4%, var(--wp--preset--color--white));
}

.bbs-bring-list {
	display: grid;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bbs-bring-compact {
	align-items: start;
	border-block: 1px solid color-mix(in srgb, var(--bbs-stage-magenta, #c42f9d) 28%, white);
	display: grid;
	gap: 1.25rem;
	margin-top: clamp(1.5rem, 3vw, 2rem);
	padding-block: clamp(1.25rem, 3vw, 1.75rem);
}

.bbs-bring-compact .bbs-section-heading h2 {
	font-size: clamp(1.65rem, 4vw, 2.25rem);
	margin-bottom: 0;
}

.bbs-bring-compact .bbs-bring-list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bbs-bring-compact .bbs-bring-list li {
	border-bottom: 0;
	padding: 0.5rem;
}

.bbs-bring-list li {
	border-bottom: 1px solid var(--wp--preset--color--warm-grey);
	display: grid;
	gap: 0.35rem;
	padding-block: 1rem;
}

.bbs-bring-list li:first-child {
	padding-top: 0;
}

.bbs-bring-list strong {
	font-size: 1.05rem;
}

.bbs-comparison-card--combat {
	background: var(--bbs-stage-espresso, #211713);
	border-color: var(--bbs-stage-espresso, #211713);
	color: var(--wp--preset--color--white);
}

.bbs-comparison-card--combat h3 {
	color: inherit;
}

.bbs-comparison-card--combat .bbs-value-list li::before {
	background: var(--bbs-stage-magenta, #c42f9d);
}

.bbs-prose {
	font-size: 1.05rem;
	line-height: 1.7;
	max-width: 48rem;
}

/* Recurring activity pages: shared editorial system for Fun Days and Family Clubbercise. */
.bbs-programme-video {
	margin-block: clamp(2rem, 5vw, 4rem);
	max-width: 48rem;
}

.bbs-programme-video__heading h3 {
	font-size: clamp(1.5rem, 4vw, 2.2rem);
	margin: 0.3rem 0 1rem;
}

.bbs-programme-video__preview,
.bbs-programme-video__frame {
	aspect-ratio: 16 / 9;
	border: 0;
	border-radius: var(--bbs-card-radius);
	display: block;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}

.bbs-programme-video__preview {
	background: #111;
	cursor: pointer;
}

.bbs-programme-video__preview--inline,
.bbs-programme__media .bbs-programme-video__frame {
	aspect-ratio: 4 / 3;
	border-radius: 0;
}

.bbs-programme-video__preview img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.bbs-programme-video__play {
	align-items: center;
	background: color-mix(in srgb, var(--bbs-page-accent, var(--bbs-audience-adults)) 88%, black);
	border-radius: 50%;
	color: white;
	display: flex;
	height: 4rem;
	inset: 50% auto auto 50%;
	justify-content: center;
	position: absolute;
	transform: translate(-50%, -50%);
	transition: transform 180ms ease;
	width: 4rem;
}

.bbs-programme-video__play svg {
	height: 2rem;
	width: 2rem;
}

.bbs-programme-video__preview:hover .bbs-programme-video__play,
.bbs-programme-video__preview:focus-visible .bbs-programme-video__play {
	transform: translate(-50%, -50%) scale(1.08);
}

.bbs-programme-video__caption {
	font-size: 0.9rem;
	margin: 0.75rem 0 0;
}

.bbs-main--activity {
	--bbs-page-accent: var(--bbs-stage-magenta, #c42f9d);
}

.bbs-main--fun-days {
	--bbs-page-accent: var(--bbs-discipline-children, #d94f45);
}

.bbs-section--activity-intro {
	background: color-mix(in srgb, var(--bbs-page-accent) 4%, white);
}

.bbs-activity-sequence {
	counter-reset: bbs-activity;
	display: grid;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bbs-activity-sequence li {
	align-items: start;
	border-top: 1px solid color-mix(in srgb, var(--bbs-page-accent) 28%, white);
	counter-increment: bbs-activity;
	display: grid;
	gap: 0.35rem;
	grid-template-columns: 2.5rem minmax(7rem, 0.35fr) 1fr;
	padding-block: 1rem;
}

.bbs-activity-sequence li::before {
	color: var(--bbs-page-accent);
	content: "0" counter(bbs-activity);
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
}

.bbs-activity-sequence strong,
.bbs-activity-points strong {
	font-size: 1.08rem;
}

.bbs-activity-points {
	display: grid;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bbs-activity-points li {
	border-top: 1px solid color-mix(in srgb, var(--bbs-page-accent) 28%, white);
	display: grid;
	gap: 0.3rem;
	padding-block: 1.15rem;
}

.bbs-activity-points li::before {
	background: var(--bbs-page-accent);
	border-radius: 999px;
	content: "";
	height: 0.55rem;
	margin-bottom: 0.5rem;
	width: 0.55rem;
}

.bbs-section--activity-booking {
	background: #fff;
	border-top: 1px solid color-mix(in srgb, var(--bbs-page-accent) 14%, white);
}

/* Fun Days: separate the booking block from questions with a soft-pink FAQ band. */
.bbs-main--fun-days .bbs-section--programme-faq {
	background: var(--wp--preset--color--soft-pink, #faf6f8);
	border-top: 1px solid color-mix(in srgb, var(--bbs-page-accent) 12%, white);
}

.bbs-activity-booking {
	align-items: start;
	display: grid;
	gap: clamp(1.5rem, 4vw, 4rem);
}

.bbs-activity-booking__content {
	font-size: 1.05rem;
	line-height: 1.7;
	max-width: 42rem;
}

.bbs-activity-booking__content .bbs-button {
	margin-top: 1rem;
}

@media (min-width: 768px) {
	.bbs-activity-booking {
		grid-template-columns: minmax(14rem, 0.7fr) minmax(0, 1.3fr);
	}

	.bbs-class-detail-header--text-only .bbs-class-detail-header__content {
		align-items: end;
		column-gap: clamp(2rem, 6vw, 5rem);
		display: grid;
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	}

	.bbs-class-detail-header--text-only .bbs-class-detail-header__identity {
		grid-column: 1;
	}

	.bbs-class-detail-header--text-only .bbs-class-detail-header__summary {
		grid-column: 2;
		padding-bottom: 0.15rem;
	}

	.bbs-class-detail-header--text-only .bbs-class-facts,
	.bbs-class-detail-header--text-only .bbs-pill-list {
		grid-column: 1 / -1;
	}

	.bbs-class-detail-header--text-only .bbs-class-facts {
		margin-top: 1.25rem;
	}

	.bbs-class-detail-header--text-only.bbs-class-detail-header--clubbercise .bbs-class-detail-header__brand {
		height: 7rem;
		margin-bottom: 1rem;
		padding: 0.8rem;
		width: 11.75rem;
	}

	.bbs-class-detail-header--text-only h1 {
		font-size: clamp(4.25rem, 7.5vw, 6.75rem);
		margin-bottom: 0;
	}

	.bbs-class-detail-header--text-only .bbs-class-detail-header__intro {
		margin-top: 0;
	}

	.bbs-class-detail-header--text-only .bbs-class-detail-header__action {
		margin-top: 1.25rem;
	}

	.bbs-main--clubbercise .bbs-section--class-header::after {
		height: 34rem;
		right: -4rem;
		top: -9rem;
		width: 34rem;
	}

	.bbs-section--class-header + .bbs-section--clubbercise-soft .bbs-class-expectation__media {
		margin-top: -2.5rem;
	}

	.bbs-class-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bbs-class-facts__item {
		border-bottom: 0;
		border-right: 1px solid var(--wp--preset--color--warm-grey);
		padding-inline: 1rem;
	}

	.bbs-class-facts__item:nth-child(2n) {
		border-right: 0;
	}

	.bbs-class-facts__item:nth-child(n + 3) {
		border-top: 1px solid var(--wp--preset--color--warm-grey);
	}

	.bbs-class-facts__item:nth-child(odd) {
		padding-left: 0;
	}

	.bbs-bring-list li {
		grid-template-columns: minmax(8rem, 0.35fr) 1fr;
	}

	.bbs-bring-compact {
		grid-template-columns: minmax(10rem, 0.32fr) 1fr;
	}

	.bbs-bring-compact .bbs-bring-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bbs-bring-compact .bbs-bring-list li {
		display: flex;
		flex-direction: column;
	}
}

@media (min-width: 992px) {
	.bbs-bring-compact .bbs-bring-list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.bbs-class-facts {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.bbs-class-facts__item,
	.bbs-class-facts__item:nth-child(2n),
	.bbs-class-facts__item:nth-child(n + 3) {
		border-right: 1px solid var(--wp--preset--color--warm-grey);
		border-top: 0;
		padding-inline: 1rem;
	}

	.bbs-class-facts__item:first-child {
		padding-left: 0;
	}

	.bbs-class-facts__item:last-child {
		border-right: 0;
	}

	.bbs-class-detail-header__brand {
		height: 5.75rem;
		width: 9.5rem;
	}

	.bbs-class-detail-header--stacked-media .bbs-class-detail-header__media img {
		aspect-ratio: 21 / 8;
	}
}
.bbs-section--first-visit {
	background: color-mix(in srgb, var(--bbs-page-accent, var(--wp--preset--color--coral)) 4%, white);
}

.bbs-first-visit h2 {
	font-size: clamp(1.8rem, 4vw, 2.65rem);
	line-height: 1.05;
	margin: .4rem 0 1rem;
}

.bbs-experience-facts {
	display: flex;
	flex-wrap: wrap;
	gap: .45rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.bbs-experience-facts li {
	background: #fff;
	border: 1px solid color-mix(in srgb, var(--bbs-page-accent, var(--wp--preset--color--coral)) 28%, white);
	border-radius: 2rem;
	font-size: .8rem;
	padding: .3rem .65rem;
}

.bbs-first-visit__item {
	background: rgba(255, 255, 255, .75);
	border-radius: .7rem;
	height: 100%;
	padding: 1rem;
}

.bbs-first-visit__item h3 { font-size: 1rem; margin: 0 0 .35rem; }
.bbs-first-visit__item p { font-size: .9rem; margin: 0; }

.bbs-first-visit__reassurance,
.bbs-first-visit__related {
	align-items: center;
	border-top: 1px solid color-mix(in srgb, var(--bbs-page-accent, var(--wp--preset--color--coral)) 25%, white);
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	margin-top: 1.5rem;
	padding-top: 1.5rem;
}

.bbs-first-visit__reassurance > p,
.bbs-first-visit__related p { margin: 0; }
.bbs-first-visit__reassurance > p { flex: 1 1 20rem; }
.bbs-first-visit__reassurance > p span { color: var(--bbs-page-accent, var(--wp--preset--color--coral)); font-weight: 700; }
.bbs-first-visit__actions { align-items: center; display: flex; flex-wrap: wrap; gap: .8rem; }
.bbs-first-visit__related h3 { font-size: 1.1rem; margin: .2rem 0; }
.bbs-first-visit__related > div { flex: 1 1 20rem; }

/* One compact, reusable header for information pages, archives and Contact. */
.bbs-information-header__breadcrumb {
	background: #161311;
	border-top: 2px solid var(--wp--preset--color--coral);
	color: rgba(255, 255, 255, .86);
}

.bbs-information-header__breadcrumb .bbs-breadcrumb {
	color: inherit;
	padding: .55rem 0;
}

.bbs-information-header__breadcrumb a,
.bbs-information-header__breadcrumb span {
	color: inherit;
}

.bbs-information-header__body {
	background: var(--wp--preset--color--soft-pink, #faf6f8);
	padding-block: clamp(1rem, 2.5vw, 1.8rem);
}

.bbs-information-header .bbs-eyebrow,
.bbs-main--locations .bbs-eyebrow,
.bbs-main--contact .bbs-eyebrow {
	color: var(--wp--preset--color--coral);
}

.bbs-information-header h1 {
	font-size: clamp(2rem, 4.2vw, 3.4rem);
	line-height: 1.03;
	margin: .15rem 0 0;
}

.bbs-information-header__intro {
	font-size: .96rem;
	margin: 0;
}

/* Reusable editorial storytelling keeps portrait media intentionally restrained. */
.bbs-editorial-story__media,
.bbs-about-community__media {
	margin: 0;
	overflow: hidden;
}

.bbs-editorial-story__media {
	aspect-ratio: 4 / 5;
	border-radius: var(--bbs-card-radius);
	max-width: 25rem;
}

.bbs-editorial-story__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: 52% 38%;
	width: 100%;
}

.bbs-editorial-story__copy {
	max-width: 42rem;
}

.bbs-editorial-story__copy h2,
.bbs-about-community h2,
.bbs-about-values h2 {
	font-size: clamp(2rem, 4.4vw, 3.5rem);
	line-height: 1.02;
	margin: .25rem 0 1.2rem;
}

.bbs-editorial-story__copy > p:not(.bbs-eyebrow) {
	max-width: 62ch;
}

.bbs-editorial-story__note {
	border-left: 3px solid var(--wp--preset--color--coral);
	margin: 1.5rem 0 0;
	padding: .15rem 0 .15rem 1rem;
}

.bbs-editorial-story__note p {
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.35rem, 2.6vw, 2rem);
	font-style: italic;
	line-height: 1.18;
	margin: 0;
}

.bbs-editorial-story__note cite {
	color: var(--wp--preset--color--coral);
	display: block;
	font-size: .95rem;
	font-style: italic;
	font-weight: 700;
	margin-top: .55rem;
}

.bbs-section--about-story,
.bbs-section--about-values,
.bbs-section--about-community,
.bbs-section--about-cta {
	padding-block: clamp(2.2rem, 5vw, 4.5rem);
}

.bbs-section--about-cta {
	background: var(--wp--preset--color--soft-pink, #faf6f8);
}

.bbs-section--about-values {
	background: var(--wp--preset--color--soft-pink, #faf6f8);
}

.bbs-about-values__heading {
	max-width: 47rem;
}

.bbs-about-values__list {
	border-bottom: 1px solid rgba(214, 76, 83, .25);
	margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.bbs-about-values__list > div > div {
	border-top: 1px solid rgba(214, 76, 83, .25);
	height: 100%;
	padding-block: 1rem 1.35rem;
}

.bbs-about-values__list span {
	color: var(--wp--preset--color--coral);
	font-family: Georgia, "Times New Roman", serif;
	font-size: .8rem;
	font-style: italic;
}

.bbs-about-values__list h3 {
	font-size: 1.15rem;
	margin: .65rem 0 .45rem;
}

.bbs-about-values__list p {
	font-size: .9rem;
	margin: 0;
}

.bbs-about-community__media {
	border-radius: var(--bbs-card-radius);
	max-width: 56rem;
}

.bbs-about-community__media img {
	display: block;
	height: auto;
	width: 100%;
}

.bbs-about-community__links {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.5rem;
}

@media (min-width: 576px) {
	.bbs-about-values__list > div > div {
		padding-inline: 1rem;
	}

	.bbs-about-values__list > div:nth-child(odd) > div {
		border-right: 1px solid rgba(214, 76, 83, .2);
	}
}

@media (min-width: 992px) {
	.bbs-editorial-story__media {
		margin-inline: auto;
	}

	.bbs-about-values__list > div:not(:last-child) > div {
		border-right: 1px solid rgba(214, 76, 83, .2);
	}

	.bbs-about-values__list > div:first-child > div {
		padding-left: 0;
	}

	.bbs-about-values__list > div:last-child > div {
		padding-right: 0;
	}
}

.bbs-section--location-list,
.bbs-section--contact-page {
	padding-block: clamp(1.8rem, 4vw, 3rem);
}

.bbs-location-grid .bbs-location-card {
	height: 100%;
}

.bbs-location-card__practical {
	display: grid;
	gap: .7rem;
	margin: 0;
}

.bbs-location-card__practical dt {
	font-size: .8rem;
	font-weight: 700;
}

.bbs-location-card__practical dd {
	font-size: .9rem;
	margin: .15rem 0 0;
}

.bbs-location-detail {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.bbs-location-detail__media { margin: 0; }
.bbs-location-detail__media img { width: 100%; height: auto; border-radius: .85rem; }
.bbs-location-detail__facts { display: grid; gap: 1rem; margin: 1.25rem 0; }
.bbs-location-detail__facts div { padding-bottom: 1rem; border-bottom: 1px solid rgba(32,24,22,.12); }
.bbs-location-detail__facts dt { margin-bottom: .25rem; font-weight: 800; }
.bbs-location-detail__facts dd { margin: 0; }
.bbs-location-detail__classes ul { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; list-style: none; }
.bbs-location-detail__classes li { padding: .4rem .7rem; border-radius: 999px; background: var(--wp--preset--color--soft-pink, #fbf2f4); }
.bbs-location-detail__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
@media (min-width: 782px) { .bbs-location-detail__media { max-width: 48rem; } }

.bbs-local-help {
	align-items: center;
	background: var(--wp--preset--color--soft-pink, #faf6f8);
	border-radius: var(--bbs-card-radius);
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	margin-top: clamp(2rem, 6vw, 4rem);
	padding: clamp(1.3rem, 4vw, 2.5rem);
}

.bbs-local-help h2,
.bbs-contact-page__intro h2 {
	font-size: clamp(1.65rem, 4vw, 2.6rem);
}

.bbs-local-help p:last-child,
.bbs-contact-page__signature {
	margin-bottom: 0;
}

.bbs-local-help p span,
.bbs-contact-page__signature span {
	color: var(--wp--preset--color--coral);
	font-weight: 700;
}

.bbs-contact-page__intro,
.bbs-contact-page__methods,
.bbs-contact-page__next {
	display: grid;
	gap: 1rem;
}

.bbs-contact-page__intro > p,
.bbs-contact-page__intro > h2 {
	margin: 0;
}

.bbs-contact-page__methods {
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--coral) 22%, white);
	margin-top: .5rem;
	padding-top: 1.2rem;
}

.bbs-contact-page__methods a {
	color: var(--wp--preset--color--coral);
	font-weight: 600;
	text-decoration: none;
}

.bbs-contact-page__booking-note {
	font-size: .85rem;
	margin: 1rem 0 0;
}

.bbs-parent-hub { max-width: 68rem; }
.bbs-parent-hub__login { margin-top: 1.5rem; max-width: 28rem; }
.bbs-parent-hub__login label { display: block; font-weight: 600; }
.bbs-parent-hub__login input[type="text"],
.bbs-parent-hub__login input[type="password"] { border: 1px solid #ddd4d6; border-radius: .4rem; min-height: 2.8rem; padding: .6rem; width: 100%; }
.bbs-parent-hub__login input[type="submit"] { background: var(--wp--preset--color--coral); border: 0; border-radius: .35rem; color: #fff; cursor: pointer; padding: .75rem 1rem; }
.bbs-parent-hub__resource { background: #fff; border: 1px solid #eee6e5; border-radius: .65rem; height: 100%; padding: 1.2rem; }
.bbs-parent-hub__resource h2 { font-size: 1.2rem; }
.bbs-parent-hub__resource { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 14rem; padding: 1.5rem; box-shadow: 0 .55rem 1.5rem rgba(47,30,33,.06); }
.bbs-parent-hub__file-icon { display: grid; width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; place-items: center; border-radius: 50%; background: #f8e7ed; color: #aa294d; font-size: 1.25rem; font-weight: 800; }
.bbs-parent-hub__resource-classes { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .7rem; }
.bbs-parent-hub__resource-classes span { padding: .25rem .5rem; border-radius: 99rem; background: #f6eef1; color: #862941; font-size: .7rem; font-weight: 750; letter-spacing: .03em; text-transform: uppercase; }
.bbs-parent-hub__resource h2 { margin-bottom: .45rem; }
.bbs-parent-hub__resource-date { margin: 0 0 1.2rem; color: #716469; font-size: .85rem; }
.bbs-parent-hub__resource .bbs-inline-cta { margin-top: auto; }
.bbs-parent-hub__message { margin: 1.6rem 0; padding: 1.5rem; border: 1px solid #eadde1; border-left: .3rem solid var(--wp--preset--color--coral); border-radius: .65rem; background: #fff; }
.bbs-parent-hub__message h2 { margin: 0 0 .45rem; font-size: 1.4rem; }
.bbs-parent-hub__message p { margin: 0 0 1rem; }
.bbs-site-footer__parent-link { font-size: .85rem; }


/* Adults hero alignment: keep the shared Children editorial treatment, but
 * allow the longer supporting line to breathe without breaking Beat Box. */
@media (min-width: 860px) {
	.bbs-page-hero--adults.bbs-hero--overlap-editorial .bbs-hero__title--editorial {
		max-width: 39rem;
		width: min(100%, 39rem);
	}

	.bbs-page-hero--adults .bbs-hero__title-part--supporting {
		font-size: clamp(2.5rem, 3.55vw, 3.85rem);
		max-width: 15ch;
	}

	.bbs-page-hero--adults.bbs-hero--overlap-editorial .bbs-hero__text {
		max-width: 33rem;
		width: min(100%, 33rem);
	}
}


/* Timetable details surfaced from the protected class CMS. */
.bbs-offer-card__schedule,
.bbs-card__schedule {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: .5rem;
}
.bbs-offer-card__schedule li,
.bbs-card__schedule li {
  display: flex;
  flex-direction: column;
  gap: .08rem;
  padding-top: .55rem;
  border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent);
}
.bbs-offer-card__schedule strong,
.bbs-card__schedule strong { font-size: .92rem; }
.bbs-offer-card__schedule span,
.bbs-card__schedule span { font-size: .86rem; opacity: .78; }

/* Guided booking modal: keep visitors on Beat Box until they choose to continue to Gymcatch. */
body.bbs-modal-open { overflow: hidden; }
.bbs-booking-modal[hidden] { display: none !important; }
.bbs-booking-modal { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 1rem; }
.bbs-booking-modal__backdrop { position: absolute; inset: 0; background: rgba(29, 18, 16, .72); backdrop-filter: blur(2px); }
.bbs-booking-modal__dialog { position: relative; width: min(64rem, 100%); max-height: min(44rem, calc(100vh - 2rem)); overflow: auto; background: #fff; border-radius: .9rem; box-shadow: 0 1.4rem 4rem rgba(0,0,0,.28); padding: clamp(1.4rem, 4vw, 2.2rem); outline: none; }
.bbs-booking-modal__dialog h2 { margin: .25rem 0 1rem; }
.bbs-booking-modal__close { position: absolute; top: .7rem; right: .85rem; border: 0; background: transparent; color: inherit; font-size: 2rem; line-height: 1; cursor: pointer; padding: .25rem; }

.bbs-programme__timetable { margin-top: 1.25rem; }
.bbs-programme__timetable-label { margin: 0 0 .55rem; font-weight: 800; }
.bbs-programme__schedule { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .65rem; }
.bbs-programme__schedule li { display: flex; flex-direction: column; gap: .15rem; padding: .8rem .9rem; border-radius: .55rem; background: var(--wp--preset--color--soft-pink, #fbf2f4); border: 1px solid rgba(188, 45, 91, .14); }
.bbs-programme__schedule span { opacity: .78; }

.bbs-booking-modal__schedule { list-style: none; margin: 1.1rem 0 1.4rem; padding: 0; display: grid; gap: .65rem; }
.bbs-booking-modal__schedule li { display: flex; flex-direction: column; gap: .15rem; padding: .8rem .9rem; border-radius: .55rem; background: var(--wp--preset--color--soft-pink, #fbf2f4); border: 1px solid rgba(188, 45, 91, .14); }
.bbs-booking-modal__schedule span { opacity: .78; }
.bbs-booking-modal__actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.25rem; }
@media (max-width: 560px) { .bbs-booking-modal__actions .bbs-button { width: 100%; text-align: center; } }

.bbs-booking-modal__gymcatch { margin-top: 1.25rem; min-height: 32rem; }
.bbs-booking-modal__gymcatch gymcatch-embedded { display: block; width: 100%; min-height: 32rem; }
.bbs-booking-modal__setup-note { margin-top: 1rem; padding: .85rem 1rem; border-radius: .55rem; background: #fff7e9; border: 1px solid rgba(120, 80, 0, .16); }
@media (max-width: 560px) {
  .bbs-booking-modal { padding: .35rem; }
  .bbs-booking-modal__dialog { max-height: calc(100vh - .7rem); padding: 1.25rem 1rem; }
  .bbs-booking-modal__gymcatch, .bbs-booking-modal__gymcatch gymcatch-embedded { min-height: 70vh; }
}


/* Compact programme timetable: multiple CMS Timetable Entries without tall cards. */
.bbs-programme__schedule-table {
  margin: 0 0 1rem;
  border: 1px solid rgba(188, 45, 91, .14);
  border-radius: .55rem;
  overflow: hidden;
  background: var(--wp--preset--color--soft-pink, #fbf2f4);
}
.bbs-programme__schedule-row {
  display: grid;
  grid-template-columns: minmax(5.5rem, .8fr) minmax(7.5rem, 1fr) minmax(6rem, 1fr);
  gap: .65rem;
  align-items: center;
  padding: .52rem .72rem;
  font-size: .86rem;
  line-height: 1.25;
}
.bbs-programme__schedule-row + .bbs-programme__schedule-row {
  border-top: 1px solid rgba(188, 45, 91, .12);
}
.bbs-programme__schedule-day,
.bbs-programme__schedule-location { opacity: .8; }
.bbs-programme__schedule-time { font-size: .88rem; }
@media (max-width: 520px) {
  .bbs-programme__schedule-row {
    grid-template-columns: 1fr auto;
  }
  .bbs-programme__schedule-location {
    grid-column: 1 / -1;
    font-size: .8rem;
  }
}

/* Compact timetable panel: one timetable per programme family, never in cards. */
.bbs-timetable-panel {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  border: 1px solid rgba(188,45,91,.14);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 .35rem 1.1rem rgba(38,24,27,.06);
}
.bbs-timetable-panel__heading { margin-bottom: .8rem; }
.bbs-timetable-panel__heading h2 { margin-bottom: 0; }
.bbs-timetable-tabs {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  padding: .25rem 0 .7rem;
  scrollbar-width: thin;
}
.bbs-timetable-tabs__tab {
  appearance: none;
  border: 1px solid rgba(188,45,91,.22);
  border-radius: 999px;
  background: #fff;
  padding: .55rem .9rem;
  font: inherit;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.bbs-timetable-tabs__tab.is-active,
.bbs-timetable-tabs__tab[aria-selected="true"] {
  background: var(--wp--preset--color--pink, #d84f5b);
  border-color: var(--wp--preset--color--pink, #d84f5b);
  color: #fff;
}
.bbs-timetable-panel__content { padding-top: .2rem; }
.bbs-timetable-panel__table { width: 100%; }
.bbs-timetable-panel__row {
  display: grid;
  grid-template-columns: minmax(7rem, .8fr) minmax(8rem, .8fr) minmax(10rem, 1.4fr);
  gap: .8rem;
  align-items: center;
  padding: .55rem .7rem;
  border-top: 1px solid rgba(38,24,27,.08);
}
.bbs-timetable-panel__row--head {
  border-top: 0;
  background: rgba(188,45,91,.06);
  border-radius: .55rem;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.bbs-timetable-panel__action { margin-top: .85rem; }
.bbs-timetable-panel__empty { margin: .5rem 0; }
@media (max-width: 575.98px) {
  .bbs-timetable-panel__row { grid-template-columns: .9fr 1fr; gap: .25rem .7rem; }
  .bbs-timetable-panel__row--head { display: none; }
  .bbs-timetable-panel__row > :last-child { grid-column: 1 / -1; font-size: .9rem; opacity: .78; }
}


/* Inline timetable tabs: same position/footprint as the previous timetable, with tabs only. */
.bbs-timetable-panel--inline {
  max-width: none;
  margin: .75rem 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.bbs-timetable-panel--inline .bbs-timetable-panel__heading { margin-bottom: .25rem; }
.bbs-timetable-panel--inline .bbs-timetable-tabs { padding: 0 0 .4rem; gap: .3rem; }
.bbs-timetable-panel--inline .bbs-timetable-tabs__tab { padding: .35rem .65rem; font-size: .78rem; }
.bbs-timetable-panel--inline .bbs-timetable-panel__row { padding: .38rem .55rem; gap: .55rem; }
.bbs-timetable-panel--inline .bbs-timetable-panel__row--head { font-size: .68rem; }
.bbs-timetable-panel--inline .bbs-timetable-panel__action { margin-top: .55rem; }

/* v0.17.7 — one activity timetable per programme, with tabs for populated days only. */
.bbs-timetable-panel--days .bbs-timetable-panel__row {
  grid-template-columns: minmax(7rem, .75fr) minmax(0, 1.25fr);
}
.bbs-timetable-panel--days .bbs-timetable-tabs {
  overflow-x: auto;
  scrollbar-width: thin;
}
.bbs-timetable-panel--days .bbs-timetable-tabs__tab {
  flex: 0 0 auto;
}
@media (max-width: 575.98px) {
  .bbs-timetable-panel--days .bbs-timetable-panel__row {
    grid-template-columns: minmax(6.5rem, .8fr) minmax(0, 1.2fr);
  }
  .bbs-timetable-panel--days .bbs-timetable-panel__row > :last-child {
    grid-column: auto;
    font-size: .9rem;
    opacity: .78;
  }
}

/* v0.21.19 — timetable day tabs with optional class group/level. */
.bbs-timetable-panel--days .bbs-timetable-panel__row {
  grid-template-columns: minmax(0, 1.15fr) minmax(6.5rem, .8fr) minmax(0, 1.2fr);
}
.bbs-timetable-panel__group:empty::after { content: "—"; opacity: .45; }
@media (max-width: 575.98px) {
  .bbs-timetable-panel--days .bbs-timetable-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .bbs-timetable-panel--days .bbs-timetable-panel__row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .2rem .65rem;
  }
  .bbs-timetable-panel--days .bbs-timetable-panel__row > :last-child {
    grid-column: 1 / -1;
  }
  .bbs-timetable-panel__group { font-weight: 700; }
}


/* v0.21.20 — timetable day controls are secondary tabs, not primary CTAs. */
.bbs-timetable-tabs { gap:.25rem; padding:.15rem 0 .65rem; }
.bbs-timetable-tabs__tab {
  border:0;
  border-bottom:2px solid transparent;
  border-radius:0;
  background:transparent;
  color:inherit;
  padding:.45rem .7rem;
  font-weight:700;
}
.bbs-timetable-tabs__tab:hover { background:rgba(38,24,27,.045); }
.bbs-timetable-tabs__tab.is-active,
.bbs-timetable-tabs__tab[aria-selected="true"] {
  background:transparent;
  border-color:currentColor;
  color:inherit;
}
.bbs-timetable-panel--inline .bbs-timetable-tabs__tab { padding:.32rem .55rem; }

/* v0.21.22 — Bootstrap-style secondary day tabs. */
.bbs-timetable-panel--days .bbs-timetable-tabs {
  gap: 0; padding: 0; margin: .35rem 0 0; overflow-x:auto; border-bottom:1px solid rgba(38,24,27,.18);
}
.bbs-timetable-panel--days .bbs-timetable-tabs__tab {
  flex:0 0 auto; margin:0 3px -1px 0; padding:.48rem .8rem; border:1px solid transparent; border-radius:.38rem .38rem 0 0;
  background:transparent; color:rgba(38,24,27,.72); font-weight:700; line-height:1.2;
}
.bbs-timetable-panel--days .bbs-timetable-tabs__tab:hover { background:#f7f3f4; border-color:#eee4e7 #eee4e7 transparent; }
.bbs-timetable-panel--days .bbs-timetable-tabs__tab.is-active,
.bbs-timetable-panel--days .bbs-timetable-tabs__tab[aria-selected="true"] {
  color:#26181b; background:#fff; border-color:rgba(38,24,27,.18) rgba(38,24,27,.18) #fff;
}
.bbs-timetable-panel--days .bbs-timetable-panel__content { padding-top:.45rem; }
.bbs-timetable-panel--days .bbs-timetable-panel__group:empty::after,
.bbs-timetable-panel--days .bbs-timetable-panel__row strong:empty::after,
.bbs-timetable-panel--days .bbs-timetable-panel__row span[role="cell"]:empty::after { content:"—"; opacity:.4; }

/* v0.21.24 — keep the inline timetable footprint stable while switching day tabs. */
@media (min-width: 576px) {
  .bbs-timetable-panel--inline.bbs-timetable-panel--days .bbs-timetable-panel__content { min-height: 4.8rem; }
  .bbs-timetable-panel--inline.bbs-timetable-panel--days .bbs-timetable-panel__row:not(.bbs-timetable-panel__row--head) { min-height: 2.75rem; }
}


/* v0.21.27 — adult programme timetable sits beneath class media for better text/image balance. */
.bbs-programme__media-timetable {
	margin-top: 1.25rem;
}
.bbs-programme__media-timetable .bbs-timetable-panel--inline {
	margin-top: 0;
}
@media (max-width: 991.98px) {
	.bbs-programme__media-timetable {
		margin-top: 1rem;
	}
}

/* Selected-date activities: CMS-managed event cards. */
.bbs-activity-booking--events .bbs-activity-booking__content { max-width: none; }
.bbs-activity-event-grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.bbs-activity-event-grid .bbs-community-event { display: grid; grid-template-columns: minmax(7rem, 0.38fr) minmax(0, 1fr); }
.bbs-activity-event-grid .bbs-community-event > img { aspect-ratio: auto; height: 100%; min-height: 11rem; }
.bbs-community-event__price { font-size: 1.05rem; font-weight: 800; }
.bbs-community-event__actions { align-items: center; display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.bbs-community-event__actions .bbs-button { margin-top: 0; }
@media (max-width: 575.98px) {
  .bbs-activity-event-grid .bbs-community-event { grid-template-columns: 1fr; }
  .bbs-activity-event-grid .bbs-community-event > img { aspect-ratio: 16 / 9; min-height: 0; }
}

/* 0.21.31 — event-led Family Clubbercise / Fun Days booking section. */
.bbs-section--activity-booking-primary { padding-top: clamp(2.75rem,6vw,5.5rem); padding-bottom: clamp(2.75rem,6vw,5.5rem); background: var(--bbs-surface-soft,#fff8f8); }
.bbs-section--activity-booking-primary .bbs-activity-booking { display:grid; grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr); gap:clamp(2rem,5vw,5rem); align-items:start; }
.bbs-section--activity-booking-primary .bbs-activity-booking__empty { padding:1.5rem; border:1px solid rgba(34,24,20,.12); border-radius:14px; background:#fff; }
.bbs-section--activity-booking-primary .bbs-activity-booking__empty strong { display:block; margin-bottom:.45rem; font-size:1.05rem; }
@media (max-width: 760px) { .bbs-section--activity-booking-primary .bbs-activity-booking { grid-template-columns:1fr; gap:1.25rem; } }

/* 0.21.37: Gymcatch stays above the current page inside the shared booking modal. */
.bbs-booking-modal__gymcatch--iframe iframe { display:block; width:100%; min-height:32rem; height:70vh; border:0; background:#fff; border-radius:.5rem; }
@media (max-width: 767.98px) { .bbs-booking-modal__gymcatch--iframe iframe { min-height:70vh; height:70vh; } }

/* 0.21.38: one responsive booking surface for classes and activity sessions. */
body.bbs-modal-open { overflow: hidden; }
.bbs-booking-modal { padding: clamp(.5rem, 2vw, 1.5rem); }
.bbs-booking-modal__dialog { width: min(82rem, 96vw); height: min(54rem, 92vh); max-height: 92vh; display: flex; flex-direction: column; overflow: auto; }
.bbs-booking-modal__gymcatch { flex: 1 1 auto; min-height: 36rem; }
.bbs-booking-modal__gymcatch--iframe iframe { min-height: 36rem; height: min(68vh, 44rem); }
@media (max-width: 767.98px) {
 .bbs-booking-modal { padding: .35rem; align-items: stretch; }
 .bbs-booking-modal__dialog { width: 100%; height: calc(100dvh - .7rem); max-height: calc(100dvh - .7rem); border-radius: .7rem; padding: 1.1rem .85rem; }
 .bbs-booking-modal__gymcatch { min-height: 0; }
 .bbs-booking-modal__gymcatch--iframe iframe { min-height: 62vh; height: 62vh; }
 .bbs-booking-modal__schedule { margin-bottom: .8rem; }
}

/* 0.21.40 — registration is a separate page; Gymcatch remains the booking flow. */
.bbs-registration-page{padding-block:clamp(3rem,7vw,6rem);background:var(--bbs-surface-soft,#fff8f8)}
.bbs-registration-page__inner{max-width:58rem;margin-inline:auto}
.bbs-registration-page__inner>h1{max-width:18ch;margin-bottom:.75rem}
.bbs-registration-intro{margin:1.5rem 0;padding:1.25rem 1.4rem;background:#fff;border:1px solid rgba(34,24,20,.12);border-radius:.75rem}
.bbs-registration-form{margin-top:1.5rem}.bbs-registration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.bbs-registration-grid>label,.bbs-registration-choice{background:#fff;border:1px solid rgba(34,24,20,.12);border-radius:.7rem;padding:1rem}
.bbs-registration-grid label{display:grid;gap:.45rem;font-weight:700}.bbs-registration-grid input,.bbs-registration-grid textarea{width:100%;border:1px solid #d8d0ce;border-radius:.45rem;padding:.75rem .8rem;font:inherit;background:#fff}
.bbs-registration-wide{grid-column:1/-1}.bbs-registration-choice{display:grid;gap:.65rem;margin:0;width:auto}.bbs-registration-choice legend{font-weight:800;margin-bottom:.65rem}.bbs-registration-choice label{display:flex;grid-template-columns:none;flex-direction:row;align-items:center;gap:.55rem;padding:0;border:0;background:transparent;font-weight:500}.bbs-registration-choice input{width:auto}
.bbs-registration-check{display:flex;gap:.65rem;align-items:flex-start;margin:1.2rem 0;padding:1rem;background:#fff;border-radius:.7rem;border:1px solid rgba(34,24,20,.12)}.bbs-registration-check input{margin-top:.2rem}.bbs-registration-success{padding:1rem 1.2rem;background:#edf8ef;border-radius:.6rem;margin:1rem 0}.bbs-honeypot{position:absolute!important;left:-9999px!important}.bbs-registration-page-link{text-align:center;margin:1rem auto 0}
.bbs-community-event__actions .bbs-session-book-button{white-space:nowrap;width:auto;min-width:max-content;display:inline-flex;align-items:center;justify-content:center}
/* Give the embedded Gymcatch app the whole modal width; do not shrink it with an 80% iframe. */
@media (min-width:768px){.bbs-booking-modal__dialog{width:min(96rem,98vw);height:min(62rem,96vh);max-height:96vh}.bbs-booking-modal__gymcatch--iframe{overflow:auto;min-height:48rem}.bbs-booking-modal__gymcatch--iframe iframe{width:100%;height:58rem;min-height:58rem;zoom:1}.bbs-booking-modal__gymcatch gymcatch-embedded{width:100%;min-height:48rem}}
@media(max-width:640px){.bbs-registration-grid{grid-template-columns:1fr}.bbs-registration-wide{grid-column:1}.bbs-registration-page{padding-block:2rem}.bbs-registration-page__inner{width:min(100% - 1.25rem,58rem)}}


/* 0.21.41 — one booking flow across adult, children and activity sessions. */
.bbs-booking-modal__dialog{width:min(96rem,98vw);height:min(62rem,96vh);max-height:96vh}
.bbs-booking-modal__gymcatch{width:100%;max-width:none;overflow:hidden;flex:1 1 auto}
.bbs-booking-modal__gymcatch--iframe{width:100%;overflow:hidden}
.bbs-booking-modal__gymcatch--iframe iframe{display:block;border:0;transform-origin:0 0;width:76.923%;height:44rem;min-height:44rem;transform:scale(1.3);background:#fff}
.bbs-booking-modal__gymcatch[data-bbs-gymcatch-embed]{overflow:hidden}
.bbs-booking-modal__gymcatch[data-bbs-gymcatch-embed] gymcatch-embedded{display:block;transform-origin:0 0;width:76.923%;min-height:44rem;transform:scale(1.3)}
.bbs-timetable-panel__action{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
.bbs-timetable-panel__registration{margin-top:.55rem}
.bbs-programme__registration{margin-top:.8rem}
@media(max-width:767.98px){
 .bbs-booking-modal__dialog{width:100%;height:calc(100dvh - .7rem);max-height:calc(100dvh - .7rem)}
 .bbs-booking-modal__gymcatch--iframe iframe{width:100%;height:70vh;min-height:70vh;transform:none}
 .bbs-booking-modal__gymcatch[data-bbs-gymcatch-embed] gymcatch-embedded{width:100%;min-height:70vh;transform:none}
}

/* 0.21.42 — one booking presentation for adults, children and family activities. */
@media (min-width: 768px) {
  .bbs-booking-modal__dialog { width: min(100rem, 98vw); height: min(64rem, 96vh); max-height: 96vh; }
  .bbs-booking-modal__gymcatch { width: 100%; max-width: none; overflow: hidden; flex: 1 1 auto; }
  /* Gymcatch's widget has its own narrow desktop canvas. Enlarge that canvas, not just its wrapper. */
  .bbs-booking-modal__gymcatch--iframe iframe,
  .bbs-booking-modal__gymcatch[data-bbs-gymcatch-embed] gymcatch-embedded {
    display: block;
    transform-origin: 0 0;
    width: 58.8235%;
    min-height: 36rem;
    height: 36rem;
    transform: scale(1.7);
    border: 0;
    max-width: none;
  }
}
@media (max-width: 767.98px) {
  .bbs-booking-modal__gymcatch--iframe iframe,
  .bbs-booking-modal__gymcatch[data-bbs-gymcatch-embed] gymcatch-embedded {
    width: 100%; transform: none; min-height: 70vh; height: 70vh;
  }
}
\n\n/* 0.21.43 — registration form containment and consistent booking actions. */
.bbs-registration-grid > *,
.bbs-registration-grid > label,
.bbs-registration-choice,
.bbs-registration-check { min-width:0; box-sizing:border-box; }
.bbs-registration-grid > label > span,
.bbs-registration-choice legend,
.bbs-registration-choice label span,
.bbs-registration-check span { min-width:0; max-width:100%; overflow-wrap:anywhere; word-break:normal; }
.bbs-registration-choice { width:100%; }
.bbs-registration-choice legend { width:100%; float:none; padding:0; }
.bbs-registration-grid input,
.bbs-registration-grid textarea { min-width:0; max-width:100%; box-sizing:border-box; }
.bbs-community-event__actions { display:flex; align-items:center; gap:.65rem; flex-wrap:wrap; }
.bbs-community-event__actions .bbs-button,
.bbs-community-event__actions button.bbs-button { width:auto; min-width:max-content; white-space:nowrap; }
.bbs-registration-cta { display:inline-flex; width:auto; align-items:center; justify-content:center; white-space:nowrap; }
.bbs-timetable-panel__registration { margin-top:.55rem; }
@media(max-width:640px){
 .bbs-registration-grid > label > span,.bbs-registration-choice legend,.bbs-registration-check span{overflow-wrap:break-word}
 .bbs-community-event__actions .bbs-button,.bbs-registration-cta{min-width:0}
}

/* 0.21.44 — one children registration action and aligned class actions. */
.bbs-main--children-programme .bbs-programme > .row{align-items:flex-start}
.bbs-programme__action--booking{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-top:1rem}
.bbs-programme__action--booking .bbs-button{width:auto;white-space:nowrap;margin:0}
@media (max-width:575.98px){.bbs-programme__action--booking{align-items:stretch}.bbs-programme__action--booking .bbs-button{width:100%;text-align:center}}


/* 0.21.45 — useful venue pages: linked class pills and an embedded map. */
.bbs-location-detail__classes li { padding: 0; overflow: hidden; }
.bbs-location-detail__classes li a { display: block; padding: .4rem .7rem; color: inherit; font-weight: 700; text-decoration: none; }
.bbs-location-detail__classes li a:hover, .bbs-location-detail__classes li a:focus-visible { background: var(--wp--preset--color--accent, #d95057); color: #fff; }
.bbs-location-detail__map { grid-column: 1 / -1; margin-top: 1.5rem; border-radius: 1rem; overflow: hidden; min-height: 24rem; background: #f5f1f2; box-shadow: 0 10px 28px rgba(32,24,22,.08); }
.bbs-location-detail__map iframe { display: block; width: 100%; height: 30rem; border: 0; }
@media (max-width: 781px) { .bbs-location-detail__map { min-height: 20rem; } .bbs-location-detail__map iframe { height: 22rem; } }

/* 0.21.49 — canonical booking modal and registration actions. */
.bbs-programme__action--booking,
.bbs-community-event__actions { display:flex; flex-wrap:wrap; gap:.65rem; align-items:center; }
.bbs-programme__action--booking .bbs-button,
.bbs-community-event__actions .bbs-button { white-space:nowrap; width:auto; }
.bbs-booking-modal { padding:clamp(.25rem,1vw,.75rem); }
.bbs-booking-modal__dialog { width:min(96rem,98vw); height:96dvh; max-height:96dvh; display:flex; flex-direction:column; overflow:hidden; }
.bbs-booking-modal__gymcatch { width:100%; max-width:none; flex:1 1 auto; min-height:0; overflow:hidden; }
.bbs-booking-modal__gymcatch--iframe { width:100%; height:100%; min-height:0; overflow:hidden; }
.bbs-booking-modal__gymcatch--iframe iframe,
.bbs-booking-modal__gymcatch[data-bbs-gymcatch-embed] gymcatch-embedded { display:block; max-width:none; border:0; transform-origin:0 0; }
@media (min-width:768px) {
 .bbs-booking-modal__gymcatch--iframe iframe,
 .bbs-booking-modal__gymcatch[data-bbs-gymcatch-embed] gymcatch-embedded { width:58.8235%; height:58.8235%; min-height:36rem; transform:scale(1.7); }
}
@media (max-width:767.98px) {
 .bbs-booking-modal__gymcatch--iframe iframe,
 .bbs-booking-modal__gymcatch[data-bbs-gymcatch-embed] gymcatch-embedded { width:100%; height:100%; min-height:70vh; transform:none; }
}
.bbs-booking-modal__actions { flex:0 0 auto; }
.bbs-registration-privacy { margin:.65rem 0 1rem; font-size:.92rem; }
.bbs-activity-booking__contact { display:inline-flex; margin-top:.35rem; color:var(--wp--preset--color--accent,#d95057); font-weight:700; }
@media (max-width:767.98px) {
 .bbs-booking-modal { padding:.2rem; align-items:stretch; }
 .bbs-booking-modal__dialog { width:100%; height:calc(100dvh - .4rem); max-height:calc(100dvh - .4rem); padding:1rem .8rem; }
 .bbs-programme__action--booking .bbs-button,
 .bbs-community-event__actions .bbs-button { max-width:100%; }
}

/* 0.21.48: accessible forms and visible keyboard focus; preserve existing layout. */
.bbs-registration-grid > label,.bbs-registration-choice{min-width:0;max-width:100%;box-sizing:border-box}
.bbs-registration-grid label > span,.bbs-registration-choice legend{overflow-wrap:break-word;word-break:normal;white-space:normal;max-width:100%}
.bbs-registration-choice legend{float:none;width:100%;padding:0;margin:0 0 .65rem;line-height:1.5}
.bbs-registration-grid input,.bbs-registration-grid textarea{min-width:0;max-width:100%;box-sizing:border-box}
.bbs-registration-check input{flex:0 0 auto;width:auto}
.bbs-registration-form :focus-visible,.bbs-booking-modal :focus-visible{outline:3px solid #264f9e;outline-offset:3px}
.bbs-registration-notice{padding:1rem 1.2rem;border:1px solid #9a6b23;border-radius:.6rem;background:#fff7e8}
@media(prefers-reduced-motion:reduce){.bbs-booking-modal *, .bbs-booking-modal *::before,.bbs-booking-modal *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* 0.21.52 — Google Forms registration modal. Kept separate from the confirmed Gymcatch modal. */
.bbs-form-modal[hidden]{display:none!important}
.bbs-form-modal{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:1rem}
.bbs-form-modal__backdrop{position:absolute;inset:0;background:rgba(20,11,9,.72)}
.bbs-form-modal__dialog{position:relative;z-index:1;width:min(1100px,96vw);height:min(92vh,1050px);background:#fff;border-radius:14px;padding:1.25rem 1.25rem 1rem;display:flex;flex-direction:column;box-shadow:0 24px 80px rgba(0,0,0,.28);overflow:hidden}
.bbs-form-modal__dialog h2{margin:.1rem 3rem .8rem 0}
.bbs-form-modal__close{position:absolute;right:1rem;top:.8rem;border:0;background:transparent;font-size:1.8rem;line-height:1;cursor:pointer;padding:.35rem}
.bbs-form-modal__embed{flex:1 1 auto;min-height:0;overflow:hidden;border:1px solid rgba(0,0,0,.08);border-radius:10px;background:#f7f7f7}
.bbs-form-modal__embed iframe{display:block;width:100%;height:100%;min-height:100%;border:0}
.bbs-form-modal__actions{flex:0 0 auto;padding-top:.65rem}
.bbs-form-modal :focus-visible{outline:3px solid #264f9e;outline-offset:3px}
@media(max-width:767px){.bbs-form-modal{padding:.2rem;align-items:stretch}.bbs-form-modal__dialog{width:100%;height:calc(100dvh - .4rem);max-height:calc(100dvh - .4rem);padding:1rem .8rem}.bbs-form-modal__dialog h2{font-size:1.25rem}}
@media(prefers-reduced-motion:reduce){.bbs-form-modal *,.bbs-form-modal *::before,.bbs-form-modal *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
.bbs-inline-cta--button{appearance:none;border:0;background:transparent;padding:0;font:inherit;cursor:pointer}


/* Location detail: practical three-column venue information (0.21.53). */
.bbs-location-detail__columns { display: grid; gap: 1rem; width: 100%; }
.bbs-location-detail__panel { min-width: 0; padding: clamp(1rem, 2vw, 1.5rem); border: 1px solid rgba(32,24,22,.1); border-radius: 1rem; background: #fff; }
.bbs-location-detail__panel h2 { margin-top: .2rem; }
.bbs-location-detail__panel h3 { margin: 1.25rem 0 .5rem; font-size: 1rem; }
.bbs-location-detail__facilities { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; padding: 0; margin: 1.2rem 0 0; list-style: none; }
.bbs-location-detail__facilities li { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.bbs-location-detail__facilities .bi { flex: 0 0 auto; width: 1.65rem; height: 1.65rem; display: inline-grid; place-items: center; border-radius: 50%; background: var(--wp--preset--color--soft-pink,#fbf2f4); color: var(--wp--preset--color--accent,#d95057); font-size: .95rem; }
.bbs-location-detail__muted { color: rgba(32,24,22,.68); }
.bbs-location-detail__note { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(32,24,22,.1); }
.bbs-location-detail__about p:first-child { margin-top: 0; }
@media (min-width: 900px) { .bbs-location-detail__columns { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; } }
@media (max-width: 520px) { .bbs-location-detail__facilities { grid-template-columns: 1fr; } }


/* 0.21.54 — shared pill geometry: content-sized and vertically centred. */
.bbs-pill-list {
  align-items: flex-start;
}
.bbs-pill-list li {
  align-items: center;
  align-self: flex-start;
  display: inline-flex;
  flex: 0 1 auto;
  justify-content: center;
  line-height: 1.25;
  max-width: 100%;
  min-height: 2rem;
  text-align: center;
  width: auto;
}

/* 0.21.56 — booking schedule belongs to the modal scroll flow.
   Keep the pink class rows in normal document flow so they scroll away and
   leave the viewport to the Gymcatch booking surface. */
.bbs-booking-modal__dialog {
  overflow-y: auto;
  overscroll-behavior: contain;
}
.bbs-booking-modal__schedule,
.bbs-booking-modal__schedule li {
  position: static;
  inset: auto;
}

/* 0.21.67 — Terms page, scoped to the existing Beat Box layout system. */
.bbs-main--terms .bbs-terms-section{background:#fff}
.bbs-terms__content>section+section{margin-top:3.5rem;padding-top:3.5rem;border-top:1px solid rgba(49,36,45,.12)}
.bbs-terms__content h2{margin:0;font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.05}
.bbs-terms__subtitle{margin:.25rem 0 1.4rem;color:#746a70}
.bbs-terms__content h3{margin:2rem 0 .55rem;font-size:1.08rem}
.bbs-terms__content p,.bbs-terms__content li{max-width:72ch;line-height:1.7}
.bbs-terms__content ul{padding-left:1.25rem}.bbs-terms__content li+li{margin-top:.6rem}
.bbs-terms__notice{max-width:72ch;margin:2rem 0;padding:1.1rem 1.2rem;border-left:4px solid var(--bbs-accent,#c73765);border-radius:6px;background:#fff1f5;line-height:1.65}
.bbs-terms__button-link{border:0;background:transparent;padding:0;cursor:pointer;font:inherit}
.bbs-terms__nav{position:sticky;top:7rem;display:grid;gap:.6rem;max-width:260px;margin-left:auto;padding:1rem 0;border-top:3px solid var(--bbs-accent,#c73765)}
.bbs-terms__nav a{color:inherit;text-decoration:none}.bbs-terms__nav a:hover{text-decoration:underline}
@media(max-width:991.98px){.bbs-terms__nav{position:static;max-width:none;margin:0 0 1rem;grid-template-columns:repeat(3,minmax(0,1fr))}.bbs-terms__nav .bbs-eyebrow{grid-column:1/-1}}
@media(max-width:575.98px){.bbs-terms__nav{grid-template-columns:1fr}}

/* 0.21.68 — Terms desktop proportions: wider reading column, tighter TOC relationship. */
@media(min-width:992px){
  .bbs-main--terms .bbs-terms__row{--bs-gutter-x:2.25rem;}
  .bbs-main--terms .bbs-terms__content{padding-right:clamp(1rem,2vw,2rem);}
  .bbs-main--terms .bbs-terms__content p,
  .bbs-main--terms .bbs-terms__content li,
  .bbs-main--terms .bbs-terms__notice{max-width:84ch;}
  .bbs-main--terms .bbs-terms__nav{max-width:none;margin-left:0;}
}

/* 0.21.69 — Privacy Policy: use the approved internal-page layout, not WordPress default policy styling. */
.bbs-main--privacy .bbs-privacy-section{background:#fff}
.bbs-privacy__layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(180px,1fr);gap:clamp(2rem,5vw,4.5rem);align-items:start}
.bbs-privacy__content{min-width:0}
.bbs-privacy__lead{max-width:74ch;margin:0 0 2.5rem;font-size:1.08rem;line-height:1.7;color:#51474c}
.bbs-privacy__content section+section{margin-top:2.8rem;padding-top:2.8rem;border-top:1px solid rgba(49,36,45,.12)}
.bbs-privacy__content h2{margin:0 0 .8rem;font-size:clamp(1.55rem,2.4vw,2rem);line-height:1.1}
.bbs-privacy__content p,.bbs-privacy__content li{max-width:74ch;line-height:1.72}
.bbs-privacy__content ul{padding-left:1.25rem}.bbs-privacy__content li+li{margin-top:.55rem}
.bbs-privacy__nav{position:sticky;top:7rem;display:grid;gap:.55rem;padding:1rem 0;border-top:3px solid var(--bbs-accent,#c73765)}
.bbs-privacy__nav .bbs-eyebrow{margin-bottom:.25rem}.bbs-privacy__nav a{color:inherit;text-decoration:none}.bbs-privacy__nav a:hover{text-decoration:underline}
@media(max-width:991.98px){.bbs-privacy__layout{grid-template-columns:1fr}.bbs-privacy__aside{grid-row:1}.bbs-privacy__nav{position:static;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem 1rem}.bbs-privacy__nav .bbs-eyebrow{grid-column:1/-1}}
@media(max-width:575.98px){.bbs-privacy__nav{grid-template-columns:1fr}.bbs-privacy__lead{font-size:1rem}}

/* 0.21.70 — Community social join section */
.bbs-community-social{background:#f8f0eb}
.bbs-community-social__intro{max-width:720px;margin-bottom:1.75rem}
.bbs-community-social__intro h2{margin:.25rem 0 .65rem}
.bbs-community-social__intro p:last-child{max-width:62ch}
.bbs-community-social__links{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem}
.bbs-community-social__links a{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.8rem;min-height:64px;padding:.9rem 1rem;border:1px solid rgba(49,36,45,.12);border-radius:10px;background:#fff;color:inherit;text-decoration:none;font-weight:750;box-shadow:0 4px 14px rgba(49,36,45,.05);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.bbs-community-social__links a:hover{transform:translateY(-2px);border-color:rgba(199,55,101,.35);box-shadow:0 8px 20px rgba(49,36,45,.09)}
.bbs-community-social__links a>i:first-child{font-size:1.35rem;color:var(--bbs-accent,#c73765)}
.bbs-community-social__links a>i:last-child{font-size:.85rem}
@media(max-width:575.98px){.bbs-community-social__links{grid-template-columns:1fr}}

/* 0.21.71 — stronger grouped community social profiles */
.bbs-community-social{padding-top:clamp(3.5rem,7vw,6rem);padding-bottom:clamp(3.5rem,7vw,6rem);background:#f5e8e2}
.bbs-community-social__intro h2{font-size:clamp(2rem,4vw,3.4rem)}
.bbs-community-social__groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}
.bbs-community-social__group{padding:1.15rem;border:1px solid rgba(49,36,45,.12);border-radius:12px;background:#fff;box-shadow:0 8px 24px rgba(49,36,45,.07)}
.bbs-community-social__group h3{margin:0 0 .9rem;font-size:1.05rem}
.bbs-community-social__group .bbs-community-social__links{grid-template-columns:1fr}
.bbs-community-social__group .bbs-community-social__links a{min-height:58px;background:#fff8fa;border-color:rgba(199,55,101,.18)}

/* 0.21.72 — Community flow: one intro, social immediately after it */
.bbs-main--community .bbs-community-social{margin-top:0}
.bbs-main--community .bbs-community-moments{padding-top:clamp(3rem,6vw,5rem)}

/* 0.21.73 — one Community heading; social cards directly underneath */
.bbs-community-social__intro--compact{margin-bottom:1.15rem}
.bbs-community-social__intro--compact p{margin:0;max-width:68ch}

/* Locations follows the shared information-page surface: only the information header is pink. */
.bbs-main--locations{background:#fff}
.bbs-main--locations .bbs-section--location-list{background:#fff}


/* 0.21.99 — programme timetable spans both media/content columns.
   Keeps long class and venue names readable without shrinking or truncating copy. */
.bbs-programme__wide-timetable {
	margin-top: clamp(1.25rem, 3vw, 2rem);
	width: 100%;
}
.bbs-programme__wide-timetable .bbs-timetable-panel--inline {
	margin-top: 0;
}
@media (min-width: 768px) {
	.bbs-programme__wide-timetable .bbs-timetable-panel--days .bbs-timetable-panel__row {
		grid-template-columns: minmax(12rem, 1.25fr) minmax(7.5rem, .65fr) minmax(16rem, 1.6fr);
		gap: clamp(.8rem, 2vw, 1.5rem);
	}
}


/* 0.21.107 — Children's guidance: quiet neutral grey surfaces. */
.bbs-main--children-programme .bbs-section--first-visit {
  background: #f5f5f4;
}
.bbs-main--children-programme .bbs-first-visit__item {
  background: #ffffff;
}
.bbs-main--children-programme .bbs-first-visit__reassurance,
.bbs-main--children-programme .bbs-first-visit__related {
  border-top-color: #dededb;
}
.bbs-main--children-programme .bbs-experience-facts li {
  background: #ffffff;
  border-color: #dededb;
}
.bbs-main--children-programme .bbs-section--programme-faq .bbs-faq__item[open] {
  background: #f5f5f4;
  border-color: #dededb;
}

/* 0.21.108 — children's free-taster CTA must remain a real, clickable link. */
.bbs-main--children-programme .bbs-programme__action--booking {
  position: relative;
  z-index: 6;
  pointer-events: auto;
}
.bbs-main--children-programme .bbs-programme__action--booking a.bbs-child-taster-link {
  position: relative;
  z-index: 7;
  display: inline-flex;
  pointer-events: auto !important;
  cursor: pointer !important;
  touch-action: manipulation;
}


/* 0.21.109 — consistent neutral guidance surfaces across programme pages. */
.bbs-main--programme-family .bbs-section--first-visit {
  background: #f3f3f2;
}
.bbs-main--programme-family .bbs-first-visit__item {
  background: #ffffff;
}
.bbs-main--programme-family .bbs-first-visit__reassurance,
.bbs-main--programme-family .bbs-first-visit__related {
  border-top-color: #dcdcd9;
}
.bbs-main--programme-family .bbs-experience-facts li {
  background: #ffffff;
  border-color: #dcdcd9;
}
.bbs-main--programme-family .bbs-section--programme-faq .bbs-faq__item[open] {
  background: #f3f3f2;
  border-color: #dcdcd9;
}


/* 0.21.113 — Terms landing choices: show one relevant group at a time. */
.bbs-terms__chooser{max-width:1040px;margin:0 auto 2rem}
.bbs-terms__chooser h2{margin:.25rem 0 .55rem;font-size:clamp(1.8rem,3vw,2.5rem)}
.bbs-terms__chooser-intro{max-width:62ch;margin:0 0 1.35rem;color:#655c61;line-height:1.65}
.bbs-terms__choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.bbs-terms__choice{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.9rem;min-height:108px;padding:1.15rem;border:1px solid #dededb;border-radius:12px;background:#f5f5f4;color:inherit;text-decoration:none;box-shadow:0 5px 18px rgba(49,36,45,.05);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.bbs-terms__choice:hover,.bbs-terms__choice:focus-visible{transform:translateY(-2px);border-color:rgba(199,55,101,.35);box-shadow:0 9px 24px rgba(49,36,45,.09)}
.bbs-terms__choice-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#fff;color:var(--bbs-accent,#c73765);font-size:1.15rem}
.bbs-terms__choice strong{display:block;font-size:1.03rem;line-height:1.25}
.bbs-terms__choice small{display:block;margin-top:.28rem;color:#746a70;line-height:1.4}
.bbs-terms__choice>i{color:var(--bbs-accent,#c73765)}
.bbs-terms__row{max-width:1040px;margin-left:auto;margin-right:auto}
.bbs-terms__group{display:none}
.bbs-terms__group:target{display:block}
.bbs-terms__back{display:inline-flex;align-items:center;gap:.45rem;margin:0 0 1.25rem;color:var(--bbs-accent,#c73765);font-weight:700;text-decoration:none}
.bbs-terms__back:hover{text-decoration:underline}
/* Once a group is targeted, keep the chooser available above as a compact way back without duplicating navigation. */
.bbs-terms__content>section+section{margin-top:0;padding-top:0;border-top:0}
@media(max-width:767.98px){.bbs-terms__choices{grid-template-columns:1fr}.bbs-terms__choice{min-height:88px}}


/* 0.21.120 — Community surface rhythm: keep the social block clean beside the pink header,
   then use the shared warm/peach surface for the photo story below. */
.bbs-main--community .bbs-community-social {
  background: #ffffff;
}
.bbs-main--community .bbs-community-moments {
  background: var(--wp--preset--color--warm-light, #f5e8e2);
}

/* 0.21.121 — shared public-page surface system.
   One predictable rhythm across programme/activity/community pages:
   white content -> soft pink action/booking -> white feature -> neutral grey guidance -> white FAQ.
   Community follows the same white -> neutral story -> white CTA rhythm. */
.bbs-main--programme-family .bbs-section--programmes,
.bbs-main--programme-family .bbs-section--programme-highlight,
.bbs-main--programme-family .bbs-section--programme-faq {
  background: #ffffff;
}

.bbs-main--programme-family .bbs-section--activity-booking-primary {
  background: var(--wp--preset--color--soft-pink, #faf6f8);
}

.bbs-main--programme-family .bbs-section--first-visit {
  background: #f3f3f2;
}

/* Remove the one-off Fun Days FAQ tint: FAQs use the same white surface everywhere. */
.bbs-main--fun-days .bbs-section--programme-faq {
  background: #ffffff;
  border-top-color: #ece9e7;
}

/* Community uses the same neutral storytelling surface instead of a separate peach band. */
.bbs-main--community .bbs-community-social {
  background: #ffffff;
}
.bbs-main--community .bbs-community-moments {
  background: #f3f3f2;
}
