/*
 * Service pages (wireframe T2, Phase 15): Team Building, Employee Engagement, Drum Circle and
 * the programme pages share this one layout. Shared blocks (hero, logos, tiles, cards, steps,
 * included, CTA band, quotes, FAQ, enquiry) are styled in pb-components.css; this file only
 * holds what is particular to the service page.
 */

/* ---------- Seasonal banner (optional, under the hero) ---------- */
.pb-season {
	background: var(--pb-color-cream-tint);
	border-block: 1px solid #f5e6c8;
}
.pb-season__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--pb-space-3) var(--pb-space-5);
	padding-block: var(--pb-space-4);
}
.pb-season__img {
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	overflow: hidden;
	border-radius: 10px;
	background: var(--pb-color-surface-alt);
}
.pb-season__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pb-season__text {
	flex: 1 1 260px;
	min-width: 0;
}
.pb .pb-season__heading {
	margin: 0;
	color: var(--pb-color-text-strong);
	font-size: var(--pb-fs-base);
	font-weight: var(--pb-fw-bold);
	line-height: 1.3;
}
.pb .pb-season__line {
	margin: 2px 0 0;
	color: var(--pb-color-text-strong);
	font-size: var(--pb-fs-sm);
	line-height: 1.5;
}
.pb .pb-season__btn {
	flex: 0 0 auto;
}
.pb-season__btn .pb-icon {
	width: 16px;
	height: 16px;
}

/* ---------- 4. Choose by (routing tiles) ---------- */
.pb .pb-browse__text {
	color: var(--pb-color-text-strong);
	font-size: var(--pb-fs-sm);
	line-height: 1.45;
}
.pb-routes .pb-browse__count {
	margin-top: 2px;
}
/* Phones: one tile per row, small photo on the left, so seven tiles do not add seven
   screens of scrolling. */
@media (max-width: 599.98px) {
	.pb .pb-routes__tiles {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}
	.pb .pb-routes a.pb-browse__tile {
		flex-direction: row;
		align-items: stretch;
	}
	.pb-routes .pb-browse__img.pb-ratio--card {
		flex: 0 0 104px;
		aspect-ratio: auto;
		min-height: 84px;
		border-radius: 0;
	}
	.pb-routes .pb-browse__body {
		justify-content: center;
		padding: 10px 12px;
	}
}
@media (min-width: 600px) and (max-width: 767.98px) {
	.pb .pb-routes__tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
/* From 768px: four columns for every group, so the tiles of all groups line up; three when
   every group has 3, 6 or 9 tiles (Phase 16, for example Employee Engagement 3 + 9). */
@media (min-width: 768px) {
	.pb .pb-routes__tiles {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.pb .pb-routes--three .pb-routes__tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ---------- 5. Activities ---------- */
.pb-service .pb-activity-grid {
	border-top: 1px solid #f0ebe1;
}

/* ---------- 6. How a programme runs + what's included: one band ---------- */
.pb-service .pb-steps {
	border-bottom: 0;
}
.pb-service .pb-steps + .pb-included {
	padding-top: 0;
	background: var(--pb-color-cream-tint);
	border-bottom: 1px solid #f5e6c8;
}

/* ---------- 8. Proof: case study, video, client quotes ---------- */
.pb-proof__grid {
	display: grid;
	gap: var(--pb-space-5);
}
.pb .pb-case,
.pb a.pb-case:visited {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--pb-color-border);
	border-radius: var(--pb-radius-card);
	background: var(--pb-color-surface);
	color: var(--pb-color-text);
	text-decoration: none;
}
.pb a.pb-case:hover {
	border-color: var(--pb-color-primary-text);
	box-shadow: var(--pb-shadow-soft);
}
.pb a.pb-case:focus-visible {
	outline: 3px solid var(--pb-color-focus);
	outline-offset: 2px;
}
.pb-case__body {
	padding: var(--pb-space-4) var(--pb-space-5) var(--pb-space-5);
}
.pb .pb-case__label {
	margin: 0 0 4px;
	color: var(--pb-color-primary-text);
	font-size: 13px;
	font-weight: var(--pb-fw-semibold);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.pb .pb-case__title {
	margin: 0 0 var(--pb-space-2);
	color: var(--pb-color-text-strong);
	font-size: 20px;
	font-weight: var(--pb-fw-semibold);
	line-height: 1.35;
}
.pb .pb-case__text {
	margin: 0 0 var(--pb-space-3);
	color: var(--pb-color-text-strong);
	line-height: 1.6;
}
.pb .pb-case__chips {
	margin: 0;
}
.pb .pb-proof__video {
	margin: 0;
}
.pb .pb-proof__caption {
	margin-top: var(--pb-space-2);
	padding: 10px 14px;
	border: 1px solid var(--pb-color-border);
	border-radius: 8px;
	background: var(--pb-color-surface);
	color: var(--pb-color-text-muted);
	font-size: var(--pb-fs-sm);
	line-height: 1.5;
}
.pb .pb-proof__quotes-title {
	margin-top: var(--pb-space-7);
	text-align: center;
}
@media (min-width: 1024px) {
	.pb-proof__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
		gap: var(--pb-space-6);
		align-items: start;
	}
	.pb-proof__grid--one {
		grid-template-columns: minmax(0, 760px);
		justify-content: center;
	}
}

/* ---------- 9. Where we run it ---------- */
.pb-service .pb-city-links {
	background: linear-gradient(180deg, #fff 0%, #fbf7f0 100%);
	border-top: 1px solid #f0ebe1;
}
.pb .pb-city-links__text {
	max-width: 760px;
	margin: 0 0 var(--pb-space-4);
	color: var(--pb-color-text-strong);
	line-height: 1.6;
}
.pb-service .pb-city-links__more {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 var(--pb-space-6);
	margin: var(--pb-space-4) 0 0;
}

/* ---------- About (optional, before the FAQ) ---------- */
.pb-prose-section__grid {
	display: grid;
	gap: var(--pb-space-2);
}
.pb .pb-prose-section .pb-h2 {
	margin-bottom: var(--pb-space-3);
}
@media (min-width: 1024px) {
	.pb-prose-section__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
		gap: var(--pb-space-8);
		align-items: start;
	}
}

/* ---------- 11. Guides ---------- */
.pb-guides {
	background: var(--pb-color-surface-alt);
}

/* ---------- Phase 36b: Find an activity, filter labels instead of activity cards (client, 4 Nov 2026) ---------- */
.pb-svc-labels {
	background: var(--pb-color-surface-alt);
}
.pb-svc-labels .pb-home-filters {
	display: grid;
	gap: 16px;
}
.pb-svc-labels .pb-home-filters__row {
	display: grid;
	gap: 8px;
	min-width: 0;
}
.pb-svc-labels .pb-home-filters__label {
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
}
.pb .pb-svc-labels .pb-home-filters__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.pb-svc-labels .pb-chip__count {
	margin-left: 2px;
	opacity: 0.6;
	font-variant-numeric: tabular-nums;
}
@media (max-width: 599.98px) {
	.pb .pb-svc-labels .pb-home-filters__chips {
		flex-wrap: nowrap;
		margin-inline: calc(-1 * var(--pb-gutter));
		padding: 2px var(--pb-gutter) 6px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
	}
	.pb-svc-labels .pb-home-filters__chips::-webkit-scrollbar {
		display: none;
	}
	.pb-svc-labels .pb-home-filters__chips > li {
		flex: none;
	}
}
@media (min-width: 600px) {
	.pb-svc-labels .pb-home-filters__row {
		grid-template-columns: 96px minmax(0, 1fr);
		align-items: start;
		gap: 16px;
	}
	.pb-svc-labels .pb-home-filters__label {
		line-height: 36px;
	}
}
@media (min-width: 1100px) {
	.pb-svc-labels .pb-home-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 48px;
	}
}
