/*
 * Home page sections. Mobile-first; the two-column layouts start at 1024px.
 */

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 24px;
}

.link-cta {
	padding-bottom: 4px;
	border-bottom: 2px solid var(--bs-accent);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bs-accent);
}

.checklist {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.checklist li {
	position: relative;
	padding-left: 22px;
}

.checklist li::before {
	content: '';
	position: absolute;
	top: 0.55em;
	left: 2px;
	width: 7px;
	height: 7px;
	background: var(--bs-accent);
	transform: rotate(45deg);
}

@media (min-width: 768px) {
	.section-head {
		margin-bottom: 32px;
	}
}

/* ---------- Hero ---------- */

.hero {
	display: grid;
	gap: 36px;
	padding-top: 36px;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 22px;
	padding: 7px 14px;
	border: 1px solid rgba(251, 221, 223, 0.2);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.pill__dot {
	flex: none;
	width: 8px;
	height: 8px;
	background: var(--bs-accent);
	transform: rotate(45deg);
}

/* Open = green diamond (gently pulsing), closed = red diamond */
.pill.is-open .pill__dot {
	background: #3DDC84;
	box-shadow: 0 0 8px rgba(61, 220, 132, 0.8);
	animation: bs-pulse 2s infinite;
}

.pill.is-closed .pill__dot {
	background: #FF3B5C;
}

.hero__title {
	margin: 0;
	font-size: clamp(46px, 6.2vw, 92px);
	letter-spacing: -0.035em;
	line-height: 0.9;
	text-transform: uppercase;
	text-wrap: initial;
}

.hero__accent {
	color: var(--bs-accent);
}

.hero__lead {
	max-width: 520px;
	margin: 22px 0 0;
	font-size: 17px;
	line-height: 1.55;
	color: rgba(251, 221, 223, 0.68);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin: 36px 0 0;
	background: var(--bs-line);
	border: 1px solid var(--bs-line);
}

.stats__item {
	display: flex;
	flex-direction: column-reverse; /* Value above label, label first in the markup (dt/dd). */
	min-width: 0;
	padding: 16px;
	background: var(--bs-bg);
}

.stats__value {
	margin: 0;
	font-family: var(--bs-font-display);
	font-size: 28px;
	font-weight: 900;
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.stats__label {
	margin-top: 5px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(251, 221, 223, 0.5);
}

.hero__visual {
	position: relative;
	display: grid;
	min-width: 0;
}

.hero__img,
.hero__placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.hero__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(circle at 70% 20%, rgba(255, 46, 126, 0.45), transparent 55%),
		radial-gradient(circle at 20% 90%, rgba(155, 107, 255, 0.35), transparent 50%),
		var(--bs-surface);
	color: rgba(251, 221, 223, 0.5);
}

.hero__placeholder .bs-mark {
	width: 45%;
	height: auto;
}

.hero__tag {
	position: absolute;
	left: 0;
	top: 0;
	padding: 10px 16px;
	background: var(--bs-accent);
	color: var(--bs-on-accent);
	font-family: var(--bs-font-display);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	pointer-events: none;
}

@media (min-width: 640px) {
	.stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 768px) {
	.hero {
		padding-top: 56px;
	}

	.pill {
		margin-bottom: 28px;
		font-size: 11.5px;
		letter-spacing: 0.2em;
	}

	.hero__lead {
		margin-top: 28px;
		font-size: 19px;
	}

	.hero__actions {
		gap: 14px;
		margin-top: 36px;
	}

	.stats {
		margin-top: 52px;
	}

	.stats__item {
		padding: 18px 16px;
	}

	.stats__value {
		font-size: 30px;
	}
}

@media (min-width: 1024px) {
	.hero {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		align-items: center;
		gap: 48px;
		padding-top: 64px;
		padding-bottom: 40px;
	}

	.hero__img,
	.hero__placeholder {
		aspect-ratio: 1 / 1;
		max-height: 600px;
	}

	.hero__tag {
		top: auto;
		bottom: -1px;
		left: -1px;
		padding: 14px 22px;
		font-size: 15px;
	}
}

/* ---------- Ticker ---------- */

.ticker {
	margin-top: 40px;
	padding: 14px 0;
	overflow: hidden;
	background: var(--bs-surface);
	border-block: 1px solid var(--bs-line);
}

.ticker__track {
	display: flex;
	width: max-content;
	animation: bs-ticker 32s linear infinite;
}

.ticker__run {
	display: flex;
	align-items: center;
	gap: 38px;
	margin: 0;
	padding: 0 38px 0 0;
	list-style: none;
}

.ticker__item {
	display: inline-flex;
	align-items: center;
	gap: 38px;
	font-family: var(--bs-font-display);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	white-space: nowrap;
	color: rgba(251, 221, 223, 0.82);
}

.ticker__item::after {
	content: '';
	width: 7px;
	height: 7px;
	background: var(--bs-accent);
	transform: rotate(45deg);
}

@keyframes bs-ticker {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* "Reduce motion" (e.g. animations off in Windows): a still, wrapped list without a scrollbar. */
@media (prefers-reduced-motion: reduce) {
	.ticker__track {
		width: auto;
		animation: none;
	}

	.ticker__run {
		flex: 1;
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px 38px;
		padding: 0 var(--bs-gutter);
	}

	.ticker__run[aria-hidden='true'] {
		display: none;
	}
}

/* ---------- Birthdays ---------- */

.birthdays {
	display: grid;
	gap: 32px;
	padding: 28px 20px;
	background:
		radial-gradient(circle at 100% 0%, rgba(255, 46, 126, 0.18), transparent 45%),
		var(--bs-surface);
	border: 1px solid var(--bs-line);
	border-top: 3px solid var(--bs-accent);
}

.birthdays .section-title {
	margin-bottom: 16px;
}

.birthdays__lead {
	max-width: 560px;
	margin: 0 0 22px;
	font-size: 17px;
	line-height: 1.55;
	color: rgba(251, 221, 223, 0.72);
}

.birthdays__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.packages {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.package {
	display: flex;
	flex-direction: column;
	padding: 20px;
	background: var(--bs-bg);
	border: 1px solid var(--bs-line);
}

.package.is-highlighted {
	border-color: var(--bs-accent);
}

.package__name {
	font-family: var(--bs-font-display);
	font-size: 20px;
	font-weight: 900;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.package__price {
	margin-top: 4px;
	font-family: var(--bs-font-display);
	font-size: 16px;
	font-weight: 800;
	color: var(--bs-accent);
}

.package__note {
	margin-top: 2px;
	font-size: 12.5px;
	color: var(--bs-text-muted);
}

.package__points {
	display: grid;
	gap: 6px;
	margin: 14px 0 0;
	padding: 14px 0 0;
	border-top: 1px solid var(--bs-line);
	list-style: none;
	font-size: 14px;
	color: var(--bs-text-muted);
}

@media (min-width: 640px) {
	.packages {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 768px) {
	.birthdays {
		padding: 40px;
	}
}

@media (min-width: 1100px) {
	.birthdays {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		align-items: center;
		gap: 48px;
		padding: 48px;
	}
}

/* ---------- Pricing ---------- */

.price-tables {
	display: grid;
	gap: 16px;
}

.price-table {
	padding: 22px;
	background: var(--bs-surface);
	border: 1px solid var(--bs-line);
}

.price-table__name {
	margin-bottom: 16px;
	font-size: 20px;
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.price-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.price-table thead th {
	padding: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-align: right;
	text-transform: uppercase;
	color: var(--bs-text-subtle);
}

.price-table thead th:first-child,
.price-table tbody th {
	text-align: left;
}

.price-table tbody th,
.price-table td {
	padding: 11px 0;
	border-top: 1px solid rgba(251, 221, 223, 0.1);
}

.price-table tbody th {
	font-weight: 500;
}

.price-table td {
	padding-left: 12px;
	font-family: var(--bs-font-display);
	font-weight: 800;
	text-align: right;
	white-space: nowrap;
}

.price-table__note {
	margin: 14px 0 0;
	font-size: 12px;
	color: rgba(251, 221, 223, 0.4);
}

@media (min-width: 768px) {
	.price-tables {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.price-table {
		padding: 26px;
	}
}

@media (min-width: 1100px) {
	.price-tables {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ---------- FAQ + contact ---------- */

.faq-contact {
	display: grid;
	gap: 40px;
}

.faq__item {
	border-top: 1px solid var(--bs-line);
}

.faq__item:last-child {
	border-bottom: 1px solid var(--bs-line);
}

.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0;
	font-size: 16.5px;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
}

.faq__question::-webkit-details-marker {
	display: none;
}

.faq__question::after {
	content: '+';
	flex: none;
	font-size: 22px;
	line-height: 1;
	color: var(--bs-accent);
}

.faq__item[open] .faq__question::after {
	content: '−';
}

.faq__answer {
	max-width: 560px;
	padding: 0 0 20px;
	font-size: 15px;
	line-height: 1.6;
	color: rgba(251, 221, 223, 0.66);
}

.faq__answer p {
	margin: 0;
}

.contact-box {
	align-self: start;
	padding: 24px;
	background: var(--bs-surface);
	border: 1px solid var(--bs-line);
}

.contact-box__title {
	margin: 0 0 10px;
	font-size: 30px;
	letter-spacing: -0.02em;
	line-height: 1.05;
	text-transform: uppercase;
}

.contact-box__text {
	margin: 0 0 22px;
	font-size: 15px;
	color: rgba(251, 221, 223, 0.62);
}

.contact-box__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.contact-box__info {
	display: grid;
	gap: 14px;
	margin: 30px 0 0;
	padding-top: 26px;
	border-top: 1px solid var(--bs-line);
	font-size: 15px;
}

.contact-box__info dt {
	margin-bottom: 4px;
	font-size: 11.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--bs-text-subtle);
}

.contact-box__info dd {
	margin: 0;
}

.contact-box__info a {
	color: var(--bs-text);
}

.contact-box__info a:hover {
	color: var(--bs-accent);
}

@media (min-width: 768px) {
	.contact-box {
		padding: 34px;
	}
}

@media (min-width: 1024px) {
	.faq-contact {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
		gap: 48px;
	}
}

/* ---------- Birthday offer page (page-birthdays.php) ---------- */

.birthdays-page__hero {
	display: grid;
	gap: 32px;
	padding-top: 40px;
}

.birthdays-page__img,
.birthdays-page__visual .hero__placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.packages--page .package {
	padding: 24px;
	background: var(--bs-surface);
}

.package__cta {
	align-self: flex-start;
	margin-top: 18px;
}

.enquiry {
	display: grid;
	gap: 28px;
	padding: 24px;
	background: var(--bs-surface);
	border: 1px solid var(--bs-line);
	border-top: 3px solid var(--bs-accent);
}

.enquiry .section-title {
	margin-bottom: 16px;
}

@media (min-width: 768px) {
	.enquiry {
		padding: 40px;
	}
}

@media (min-width: 1024px) {
	.birthdays-page__hero {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
		gap: 48px;
		padding-top: 56px;
	}

	.enquiry {
		grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
		gap: 48px;
	}
}

/* ---------- Offers carousel (Urodziny / Bootcamp / Wynajem) ---------- */

.offers__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.offers__tabs {
	display: flex;
	gap: 4px;
	max-width: 100%;
	overflow-x: auto;
	scrollbar-width: none;
}

.offers__tab {
	position: relative;
	flex: none;
	padding: 11px 16px;
	background: transparent;
	border: 1px solid var(--bs-line-strong);
	color: var(--bs-text-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	overflow: hidden;
}

.offers__tab:hover {
	color: var(--bs-text);
	border-color: var(--bs-accent);
}

.offers__tab.is-active {
	background: var(--bs-accent);
	border-color: var(--bs-accent);
	color: var(--bs-on-accent);
}

/* Time left until the next slide */
.offers__progress {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 3px;
	background: var(--bs-on-accent);
	opacity: 0.45;
}

.offers.is-playing .offers__tab.is-active .offers__progress {
	animation: bs-offer-progress var(--offer-interval, 8000ms) linear forwards;
}

@keyframes bs-offer-progress {
	from {
		width: 0;
	}
	to {
		width: 100%;
	}
}

.offers__arrows {
	display: flex;
	gap: 6px;
}

.offers__arrow {
	width: 42px;
	height: 42px;
	background: transparent;
	border: 1px solid var(--bs-line-strong);
	color: var(--bs-text);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}

.offers__arrow:hover {
	border-color: var(--bs-accent);
	color: var(--bs-accent);
}

/* All slides in one grid cell: the height is the tallest slide's, so nothing jumps. */
.js .offers__slides {
	display: grid;
}

.js .offer-slide {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.45s ease, visibility 0s linear 0.45s;
}

.js .offer-slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.45s ease;
}

/* Without JavaScript: no tabs, slides one under another. */
.no-js .offers__bar {
	display: none;
}

.no-js .offer-slide + .offer-slide {
	margin-top: 16px;
}

@media (prefers-reduced-motion: reduce) {
	.js .offer-slide,
	.js .offer-slide.is-active {
		transition: none;
	}
}

/* Phones and tablets: slides are one column and very different in height (birthday
   packages vs. a photo) – each slide keeps its own height instead of the tallest one's.
   (main.js doesn't auto-advance here, so the page below doesn't jump.) */
@media (max-width: 1099px) {
	.js .offer-slide {
		display: none;
	}

	.js .offer-slide.is-active {
		display: grid;
	}
}

/* Phones: three equal tabs, swipe instead of arrows */
@media (max-width: 639px) {
	.offers__tabs {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		width: 100%;
	}

	.offers__tab {
		padding: 10px 6px;
		font-size: 10.5px;
		letter-spacing: 0.06em;
		line-height: 1.25;
		white-space: normal;
	}

	.offers__arrows {
		display: none;
	}
}

/* ---------- Offer slide photos ---------- */

/* Big photo on the right (offers without prices: bootcamp, venue hire) */
.offer-slide__media {
	position: relative;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--bs-line);
}

.offer-slide {
	align-content: start; /* Slides share the tallest one's height – don't stretch the rows. */
}

.offer-slide__img,
.offer-slide__media .hero__placeholder {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.offer-slide__tag {
	position: absolute;
	left: 0;
	bottom: 0;
	padding: 10px 16px;
	background: var(--bs-accent);
	color: var(--bs-on-accent);
	font-family: var(--bs-font-display);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* Phones and tablets: the photo comes first, so it's the first thing people see. */
@media (max-width: 1099px) {
	.offer-slide.has-media .offer-slide__media {
		order: -1;
	}
}

@media (min-width: 1100px) {
	.offer-slide.has-media {
		align-items: center;
	}

	.offer-slide__tag {
		padding: 14px 22px;
		font-size: 15px;
	}
}

/* Dimmed background photo (offers with priced packages: birthdays) */
.offer-slide.has-bg {
	position: relative;
	overflow: hidden;
}

.offer-slide__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.35;
}

.offer-slide.has-bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--bs-surface) 25%, rgba(14, 28, 65, 0.75) 60%, rgba(14, 28, 65, 0.55));
}

.offer-slide.has-bg > :not(.offer-slide__bg) {
	position: relative;
}


/* Offer enquiry without a form: phone / e-mail buttons */
.contact-cta {
	display: grid;
	gap: 12px;
	align-content: center;
	height: 100%;
}

.contact-cta__title {
	margin: 0;
	font-family: var(--bs-font-display);
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

.contact-cta__text {
	margin: 0 0 8px;
	color: var(--bs-text-muted);
}

.contact-cta__actions {
	display: grid;
	gap: 10px;
}

.contact-cta__btn {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	text-align: left;
}

.contact-cta__btn small {
	font-family: var(--bs-font-body);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	opacity: 0.85;
}

@media (min-width: 600px) {
	.contact-cta__actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- "Lokal nieczynny" window (template-parts/home/closure-notice.php) ----------
   Uses the sign-up window styles (events.css); here only what differs. */

.notice-modal[hidden] {
	display: none !important;
}

.js .notice-modal__panel {
	max-width: 520px;
	text-align: center;
}

.notice-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 1;
	background: var(--bs-surface) !important;
}

.notice-modal__image {
	margin: 0 0 20px;
}

.notice-modal__image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 45vh;
	object-fit: contain; /* Whole graphic, any proportions. */
}

.notice-modal .eyebrow {
	display: block;
	margin-bottom: 8px;
}

.notice-modal__text {
	margin: 16px 0 0;
	font-size: 16px;
	line-height: 1.6;
	color: var(--bs-text);
}

.notice-modal__text p {
	margin: 0 0 10px;
}

.notice-modal__ok {
	margin-top: 22px;
}

@media (max-width: 599px) {
	/* Unlike the sign-up form, a short message stays a centred card on phones. */
	.js .notice-modal {
		padding: 16px;
	}

	.js .notice-modal .notice-modal__panel {
		height: auto;
		max-height: calc(100dvh - 32px);
		border-left: 1px solid var(--bs-line-strong);
		border-right: 1px solid var(--bs-line-strong);
		padding-top: 44px;
	}
}

/* Offer PDF link under the slide buttons (home carousel) */
.offer-pdf {
	display: inline-block;
	margin-top: 16px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: var(--bs-track-label);
	text-transform: uppercase;
	color: var(--bs-text);
	text-decoration: underline;
	text-decoration-color: var(--bs-accent);
	text-underline-offset: 4px;
}

.offer-pdf:hover {
	color: var(--bs-accent);
}

/* ---------- Promotions under the price tables (template-parts/home/pricing.php) ----------
   Always two columns from 768px (an odd last card keeps its half); cards in one row
   share the row height, content centred vertically. */

.promos-block {
	margin-top: 40px;
}

.promos-block__title {
	margin: 0 0 18px;
	font-size: clamp(22px, 2.6vw, 30px);
	letter-spacing: -0.01em;
	text-transform: uppercase;
}

.promos {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.promo {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 20px;
	background: var(--bs-surface);
	border: 1px solid var(--bs-line);
	border-left: 3px solid var(--bs-accent);
}

.promo__value {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 92px;
	max-width: 140px;
	min-height: 92px;
	padding: 8px 12px;
	background: var(--bs-accent-soft);
	border: 1px solid rgba(255, 46, 126, 0.4);
	font-family: var(--bs-font-display);
	font-size: 26px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.02em;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap; /* "−20%", "2 za 1" stay on one line. */
	color: var(--bs-accent);
}

.promo__body {
	min-width: 0;
}

.promo__title {
	margin: 0;
	font-family: var(--bs-font-display);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.15;
	text-transform: uppercase;
}

.promo__when {
	margin: 6px 0 0;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: var(--bs-track-label);
	text-transform: uppercase;
	color: var(--bs-accent);
}

.promo__text {
	margin: 8px 0 0;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--bs-text-muted);
}

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

	.promo {
		padding: 24px;
		gap: 22px;
	}

	.promo__value {
		min-width: 108px;
		max-width: 160px;
		min-height: 108px;
		font-size: 30px;
	}
}

/* ---------- Hero video (instead of the photo) ---------- */

.hero__video {
	background: var(--bs-surface);
}

.hero__video-toggle {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: rgba(8, 15, 38, 0.7);
	border: 1px solid rgba(251, 221, 223, 0.3);
	color: var(--bs-text);
	cursor: pointer;
}

.hero__video-toggle:hover,
.hero__video-toggle:focus-visible {
	border-color: var(--bs-accent);
	color: var(--bs-accent);
}

/* Pause icon (two bars); play icon (triangle) when paused. */
.hero__video-icon {
	width: 12px;
	height: 14px;
	border-left: 4px solid currentColor;
	border-right: 4px solid currentColor;
}

.hero__video-toggle[aria-pressed='true'] .hero__video-icon {
	width: 0;
	height: 0;
	margin-left: 4px;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 12px solid currentColor;
	border-right: 0;
}

/* ---------- Partners page (page-partners.php) ---------- */

.partners-page {
	padding-top: 40px;
}

.partners-hero__text {
	max-width: 760px;
	font-size: 17px;
	line-height: 1.65;
	color: var(--bs-text-muted);
}

.partners-hero__text p {
	margin: 0 0 16px;
}

.partners-hero__text strong {
	color: var(--bs-text);
}

/* Endless logo strip: the list is printed twice and the track moves by half its width. */
.partners-strip {
	margin: 56px 0 8px;
}

.partners-strip__title {
	margin: 0 0 20px;
	font-size: 12px;
	letter-spacing: var(--bs-track-label);
	text-transform: uppercase;
	color: var(--bs-text-subtle);
}

.partners-strip__viewport {
	overflow: hidden;
	border-top: 1px solid var(--bs-line);
	border-bottom: 1px solid var(--bs-line);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-strip__track {
	display: flex;
	width: max-content;
	animation: partners-scroll calc(var(--partners-count, 6) * 3.5s) linear infinite;
}

.partners-strip__viewport:hover .partners-strip__track,
.partners-strip__viewport:focus-within .partners-strip__track {
	animation-play-state: paused;
}

.partners-strip__list {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 22px 16px 22px 0;
	list-style: none;
}

.partners-strip__item {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 200px;
	height: 104px;
	padding: 18px 22px;
	background: var(--bs-surface); /* Dark tile – for white and colour logos. */
	border: 1px solid var(--bs-line);
}

.partners-strip__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	transition: transform 0.2s ease;
}

.partners-strip__link:hover,
.partners-strip__link:focus-visible {
	transform: scale(1.06);
}

.partners-strip__item:has(.partners-strip__link:hover) {
	border-color: var(--bs-accent);
}

.partners-strip__logo {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

@keyframes partners-scroll {
	to {
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.partners-strip__track {
		width: auto;
		animation: none;
	}

	.partners-strip__list {
		flex-wrap: wrap;
		padding-left: var(--bs-gutter);
	}

	.partners-strip__list[aria-hidden='true'] {
		display: none;
	}
}

.partners-benefits__box {
	padding: 26px 22px;
	background: var(--bs-surface);
	border: 1px solid var(--bs-line);
	border-left: 3px solid var(--bs-accent);
}

.partners-benefits__list {
	margin: 20px 0 0;
}

.partners-benefits__outro {
	max-width: 760px;
	margin: 22px 0 0;
	font-size: 16px;
	line-height: 1.65;
	color: var(--bs-text-muted);
}

@media (min-width: 768px) {
	.partners-page {
		padding-top: 56px;
	}

	.partners-strip {
		margin-top: 72px;
	}

	.partners-strip__item {
		width: 230px;
		height: 120px;
	}

	.partners-benefits__box {
		padding: 40px 44px;
	}

	.partners-benefits__list {
		columns: 2;
		column-gap: 40px;
	}

	.partners-benefits__list li {
		break-inside: avoid;
	}
}

/* Social icons with names (partners contact box) */
.partners-page .contact-cta {
	height: auto; /* Leaves room for the icons under the buttons. */
}

.partners-social {
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid var(--bs-line);
}

.partners-social__title,
.contact-box__social-title {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: var(--bs-track-label);
	text-transform: uppercase;
	color: var(--bs-text-subtle);
}


/* Social icons in the newsletter / contact box (home) */
.contact-box__social {
	margin-top: 26px;
}
