/* ==========================================================================
   Bright Heart – SEN Location Page
   Scoped to .bhl so it can't leak into the Elementor header/footer, and
   specific enough to override Twenty Seventeen's element styles.
   ========================================================================== */

.bhl {
	--bhl-pink: #fe055e;
	--bhl-pink-dark: #d8004d;
	--bhl-tint: #fbe8ef;
	--bhl-tint-soft: #fdf3f7;
	--bhl-text: #3b3b3b;
	--bhl-muted: #5c5c5c;
	--bhl-grey: #f1f1f1;
	--bhl-radius: 56px;
	--bhl-shadow: 0 24px 50px -20px rgba(120, 30, 60, .28);
	--bhl-font: "Comfortaa", "Trebuchet MS", sans-serif;

	/* Type scale – matched to the rest of the site (Elementor pages):
	   H1 40px · H2 32px · body 16px / 1.6. Scales down on small screens. */
	--bhl-fs-h1: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
	/* 28 → 40px */
	--bhl-fs-h2: clamp(1.5rem, 1.25rem + .9vw, 2rem);
	/* 24 → 32px */
	--bhl-fs-h3: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
	/* 17 → 20px */
	--bhl-fs-body: 1rem;
	/* 16px */
	--bhl-fs-lead: clamp(1rem, .96rem + .2vw, 1.0625rem);
	/* 16 → 17px */
	--bhl-fs-small: .875rem;
	/* 14px */
	--bhl-lh-heading: 1.3;
	--bhl-lh-body: 1.6;
	--bhl-gutter: clamp(16px, 4vw, 40px);

	font-family: var(--bhl-font);
	color: var(--bhl-text);
	font-size: var(--bhl-fs-body);
	line-height: var(--bhl-lh-body);
	letter-spacing: normal;
	overflow-x: clip;
	background: #fff;
}

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

/* :where() keeps these resets at single-class specificity so component rules below win,
   while still beating Twenty Seventeen's bare element selectors. */
.bhl :where(h1, h2, h3, p, ul, figure) {
	margin: 0;
	padding: 0;
}

.bhl :where(ul) {
	list-style: none;
}

:where(.bhl) img { /* low specificity: plugin badge markup can override */
	display: block;
	max-width: 100%;
	height: auto;
}

.bhl strong {
	font-weight: 700;
}

.bhl h1,
.bhl h2,
.bhl h3,
.bhl .bhl-h2,
.bhl .bhl-hero__title,
.bhl .bhl-final__title {
	font-family: var(--bhl-font);
	letter-spacing: 0;
	text-transform: none;
	line-height: var(--bhl-lh-heading);
	/* Elementor's global kit sets 1.7 on headings – that read as an extra line above every H2. */
}

/* --- Layout ------------------------------------------------------------ */

.bhl-container {
	width: 100%;
	max-width: calc(1280px + 2 * var(--bhl-gutter));
	margin-inline: auto;
	padding-inline: var(--bhl-gutter);
}

.bhl-container--wide {
	max-width: calc(1720px + 2 * var(--bhl-gutter));
}

.bhl-narrow {
	max-width: calc(1060px + 2 * var(--bhl-gutter));
	margin-inline: auto;
}

.bhl-center {
	text-align: center;
}

.bhl-section {
	position: relative;
	padding-block: clamp(40px, 5vw, 72px);
}

.bhl-section--tint {
	background: linear-gradient(180deg, var(--bhl-tint) 0%, #fff 100%);
}

.bhl-section--tint-soft {
	background: linear-gradient(180deg, var(--bhl-tint-soft) 0%, #fff 100%);
}

/* Wave sits on top of a section and blends into its tint. */
.bhl-section--wave {
	background: linear-gradient(180deg, var(--bhl-tint) 0%, #fff 75%);
	margin-top: clamp(32px, 4vw, 64px);
}

.bhl-wave {
	position: absolute;
	left: 0;
	width: 100%;
	height: clamp(40px, 6vw, 120px);
	fill: var(--bhl-tint);
	pointer-events: none;
}

.bhl-section--wave>.bhl-wave {
	bottom: calc(100% - 1px);
}

.bhl-cols {
	display: grid;
	gap: clamp(32px, 4vw, 72px);
	align-items: start;
}

@media (min-width: 900px) {
	.bhl-cols {
		grid-template-columns: 1fr 1fr;
	}

	.bhl-cols--media {
		align-items: center;
	}
}

/* --- Type ------------------------------------------------------------- */

.bhl .bhl-h2 {
	color: var(--bhl-pink);
	font-size: var(--bhl-fs-h2);
	letter-spacing: .5px;
	font-weight: 500;
	margin-bottom: clamp(20px, 2.2vw, 32px);
}

.bhl-prose p+p {
	margin-top: 1.4em;
}

.bhl-prose a {
	color: var(--bhl-pink);
	text-decoration: underline;
	box-shadow: none;
}

.bhl-lead {
	font-size: var(--bhl-fs-lead);
	line-height: var(--bhl-lh-body);
}

.bhl .bhl-small {
	font-size: var(--bhl-fs-small);
	color: var(--bhl-muted);
	margin-top: 28px;
}

/* --- Buttons ---------------------------------------------------------- */

.bhl .bhl-actions {
	margin-top: clamp(24px, 3vw, 40px);
}

.bhl-actions--pair {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

.bhl .bhl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-width: min(285px, 100%);
	/* padding: .95em 2em; */
	padding: 12px 30px 12px 30px;
	border: 0px solid var(--bhl-pink);
	border-radius: 999px;
	background: var(--bhl-pink);
	color: #fff;
	font-family: var(--bhl-font);
	font-size: 16px;
	letter-spacing: 1px;
	box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.25);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.bhl .bhl-btn:hover,
.bhl .bhl-btn:focus-visible {
	background: var(--bhl-pink-dark);
	border-color: var(--bhl-pink-dark);
	color: #fff;
	transform: translateY(-1px);
}

.bhl .bhl-btn:focus-visible {
	outline: 3px solid #222;
	outline-offset: 3px;
}

.bhl .bhl-btn .bhl-icon {
	width: 1.1em;
	height: 1.1em;
}

.bhl .bhl-btn--wide {
	min-width: min(380px, 100%);
}

.bhl .bhl-btn--white {
	background: #fff;
	border-color: #fff;
	color: var(--bhl-pink);
}

.bhl .bhl-btn--white:hover,
.bhl .bhl-btn--white:focus-visible {
	background: var(--bhl-tint);
	border-color: var(--bhl-tint);
	color: var(--bhl-pink-dark);
}

.bhl .bhl-btn--outline {
	background: transparent;
	border-color: #fff;
	color: #fff;
	font-weight: 700;
	letter-spacing: .04em;
}

.bhl .bhl-btn--outline:hover,
.bhl .bhl-btn--outline:focus-visible {
	background: #fff;
	border-color: #fff;
	color: var(--bhl-pink);
}

.bhl-final .bhl-btn:focus-visible {
	outline-color: #fff;
}

/* --- Icon badges ------------------------------------------------------ */

.bhl-badge {
	flex: none;
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--bhl-pink);
	color: #fff;
}

.bhl-badge .bhl-icon {
	width: 22px;
	height: 22px;
}

.bhl-badge--lg {
	width: 100px;
	height: 100px;
}

.bhl-badge--lg .bhl-icon {
	width: 48px;
	height: 48px;
	stroke-width: 1.6;
}

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

.bhl-hero {
	position: relative;
	background: #fff;
	isolation: isolate;
}

.bhl-hero__inner {
	position: relative;
	z-index: 2;
	padding-block: clamp(32px, 6vw, 96px) clamp(72px, 9vw, 150px);
}

/* Hero box width matches the site's Elementor hero (boxed at 78% of the viewport,
   min(100%, 767px) on mobile, 20px gutters below desktop, 10px on desktop). */
.bhl .bhl-hero__inner {
	max-width: min(100%, 767px);
	padding-inline: 20px;
}

@media (min-width: 768px) {
	.bhl .bhl-hero__inner {
		max-width: 78vw;
	}
}

@media (min-width: 1025px) {
	.bhl .bhl-hero__inner {
		padding-inline: 10px;
	}
}

.bhl-hero__copy {
	max-width: none;
}

.bhl .bhl-hero__title {
	color: var(--bhl-pink);
	font-size: var(--bhl-fs-h1);
	letter-spacing: .6px;
	font-weight: 500;
	margin-bottom: clamp(16px, 2vw, 24px);
}

.bhl-hero__text {
	font-size: var(--bhl-fs-lead);
	line-height: var(--bhl-lh-body);
}

.bhl-hero__media {
	position: relative;
	z-index: 0;
}

.bhl-hero__media img {
	width: 100%;
	height: clamp(240px, 60vw, 420px);
	object-fit: cover;
	object-position: 70% center;
}

.bhl-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 45%);
}

.bhl-hero>.bhl-wave {
	bottom: -1px;
	z-index: 1;
}

@media (min-width: 1025px) {
	.bhl-hero__media {
		position: absolute;
		inset: 0 0 0 auto;
		width: 64%;
	}

	.bhl-hero__media img {
		height: 100%;
	}

	.bhl-hero__media::after {
		background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, .85) 18%, rgba(255, 255, 255, 0) 48%);
	}

	.bhl-hero.has-image .bhl-hero__inner {
		min-height: clamp(560px, 39vw, 760px);
		display: flex;
		align-items: center;
	}

	.bhl-hero__copy {
		max-width: 46%;
	}
}

/* Fees → Local run on without a wave, so their paddings stack up into a big gap
   between the "Book a Free Trial Lesson" button and the next heading. */
.bhl-fees:has(+ .bhl-local) {
	padding-bottom: clamp(24px, 3vw, 40px);
}

.bhl-fees+.bhl-local {
	padding-top: clamp(16px, 2vw, 24px);
}

/* --- Trust cards ------------------------------------------------------ */

.bhl-trust {
	padding-top: clamp(24px, 3vw, 48px);
}

.bhl-trust__list {
	display: grid;
	gap: 24px;
	max-width: 1280px;
	margin-inline: auto;
}

@media (min-width: 900px) {

	/* Column-first so the list reads in CSV order down each column. */
	.bhl-trust__list {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: repeat(3, auto);
		grid-auto-flow: column;
		column-gap: 72px;
	}
}

.bhl-trust__item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	font-size: .9375rem;
	/* 15px */
	line-height: 1.55;
	color: var(--bhl-muted);
}

.bhl-trust__item strong {
	color: var(--bhl-text);
}

.bhl-trust .bhl-cols {
	margin-top: clamp(32px, 4vw, 48px);
}

/* --- Photos ----------------------------------------------------------- */

.bhl-photo {
	border-radius: var(--bhl-radius) 0 var(--bhl-radius) 0;
	overflow: hidden;
	box-shadow: var(--bhl-shadow);
}

.bhl-photo img {
	width: 100%;
	aspect-ratio: 595 / 440;
	object-fit: cover;
}

.bhl-delivery .bhl-prose p:first-child strong:first-child {
	color: var(--bhl-text);
}

/* --- Approach --------------------------------------------------------- */

.bhl-approach .bhl-h2 {
	margin-bottom: 40px;
}

@media (min-width: 900px) {
	.bhl-approach .bhl-cols--media {
		align-items: start;
	}
}

/* --- Fee cards -------------------------------------------------------- */

.bhl .bhl-cards {
	display: grid;
	gap: 32px;
	margin-top: clamp(28px, 3.5vw, 48px);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

@media (min-width: 1200px) {
	.bhl-cards {
		grid-template-columns: repeat(4, 1fr);
	}
}

.bhl-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 44px 28px 48px;
	border: 1px solid transparent;
	border-radius: 48px;
	background: #fff;
	box-shadow: 0 24px 50px -24px rgba(80, 20, 40, .25);
	text-align: center;
	color: var(--bhl-muted);
	line-height: 1.55;
	transition: border-color .2s ease, transform .2s ease;
}

.bhl-card:hover {
	border-color: var(--bhl-pink);
	transform: translateY(-3px);
}

.bhl .bhl-card__title {
	margin-top: 12px;
	color: var(--bhl-text);
	font-size: var(--bhl-fs-h3);
	font-weight: 700;
}

/* --- Awards & reviews -------------------------------------------------- */
/* Mirrors the homepage "Award Badges" Elementor section: one row of badges
   (15% each, nasen roundels 12%, 30px gap), wrapping 3-up on mobile; then the
   live Trustpilot TrustBox and the review-plugin badges (24% / 32% / 64%). */

.bhl-awards {
	padding-top: clamp(24px, 3vw, 48px);
	padding-bottom: 0;
}

.bhl-awards .bhl-h2 {
	margin-bottom: 24px;
}

.bhl-awards__band {
	background: linear-gradient(180deg, #fff 0%, var(--bhl-grey) 100%);
	padding-block: clamp(24px, 3vw, 40px) clamp(32px, 4vw, 56px);
}

.bhl .bhl-awards__list {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	gap: 30px;
	max-width: 1500px;
	margin-inline: auto;
}

.bhl-award {
	flex: 0 1 15%;
	min-width: 0;
}

.bhl-award--round {
	flex-basis: 12%;
}

.bhl-award a {
	display: block;
	transition: transform .2s ease;
}

.bhl-award a:hover,
.bhl-award a:focus-visible {
	transform: scale(1.04);
}

.bhl-award a:focus-visible {
	outline: 3px solid var(--bhl-pink);
	outline-offset: 4px;
}

.bhl-award img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 160px;
	object-fit: contain;
}

.bhl .bhl-reviews {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 20px 32px;
	margin-top: clamp(24px, 3vw, 40px);
}

.bhl-review {
	flex: 0 0 225px; /* sized to the badge content – no empty space on the right */
	max-width: 100%;
	margin-top: 20px;
}

.bhl-review--tp {
	flex: 0 0 247px;
	margin-top: 0;
}

/* Review-plugin badge markup brings its own styles – don't let our resets fight them. */
.bhl-review .wprevpro_badge_container {
	font-family: initial;
	letter-spacing: normal;
}

@media (max-width: 767px) {
	.bhl .bhl-awards__list {
		flex-wrap: wrap;
		gap: 10px;
	}

	.bhl-award,
	.bhl-award--round {
		flex: 0 0 calc((100% - 20px) / 3);
	}

	.bhl-award img { max-height: none; }

	.bhl .bhl-reviews { flex-direction: column; }
	.bhl-review { width: 225px; flex: none; margin-top: 0; }
	.bhl-review--tp { width: 247px; padding-top: 10px; }
}

/* Static fallback badges (only if the review plugin is unavailable). */
.bhl .bhl-review__inner {
	display: grid;
	gap: 4px;
	padding: 10px 14px;
	border-top: 3px solid #ddd;
	background: #fff;
	color: var(--bhl-text);
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
	font-family: Arial, sans-serif;
}

.bhl-review__label { font-weight: 700; font-size: .95rem; }
.bhl-review__stars { display: flex; gap: 2px; }
.bhl-review__stars .bhl-icon { width: 22px; height: 22px; stroke: none; }
.bhl-review__meta { font-size: .8rem; color: var(--bhl-muted); }
.bhl-review__inner.bhl-review--trustpilot { border-top-color: #00b67a; }
.bhl-review__inner.bhl-review--trustpilot .bhl-icon { color: #fff; background: #00b67a; padding: 3px; width: 26px; height: 26px; }
.bhl-review__inner.bhl-review--google .bhl-icon { color: #fbbc04; }
.bhl-review__inner.bhl-review--tutorcruncher .bhl-icon { color: #e8364d; }

@media (prefers-reduced-motion: reduce) {
	.bhl-award a { transition: none; }
}

/* --- Testimonials carousel -------------------------------------------- */

.bhl-testimonials {
	padding-bottom: clamp(48px, 5vw, 80px);
}

.bhl-carousel {
	position: relative;
	max-width: 1440px;
	margin-inline: auto;
}

.bhl-carousel__track {
	position: relative;
	/* offsetParent for slide positioning in JS */
	display: flex;
	gap: 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-block: 32px 40px;
	padding-inline: 18%;
}

.bhl-carousel__track::-webkit-scrollbar {
	display: none;
}

.bhl-carousel__slide {
	flex: 0 0 64%;
	scroll-snap-align: center;
	transform: scale(.72);
	opacity: .7;
	transition: transform .35s ease, opacity .35s ease;
}

.bhl-carousel__slide.is-active {
	transform: scale(1);
	opacity: 1;
	z-index: 1;
}

@media (max-width: 699px) {
	.bhl-carousel__track {
		padding-inline: 8%;
	}

	.bhl-carousel__slide {
		flex-basis: 84%;
		transform: scale(.9);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bhl-carousel__track {
		scroll-behavior: auto;
	}

	.bhl-carousel__slide,
	.bhl .bhl-btn,
	.bhl-card {
		transition: none;
	}
}

.bhl .bhl-video {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 32px;
	overflow: hidden;
	background: #000;
	box-shadow: var(--bhl-shadow);
	cursor: pointer;
}

.bhl-video img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.bhl-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	border-radius: 50%;
	background: var(--bhl-pink);
	color: #fff;
	transition: transform .2s ease;
}

.bhl-video__play .bhl-icon {
	width: 28px;
	height: 28px;
	margin-left: 4px;
	stroke: none;
}

.bhl .bhl-video:hover .bhl-video__play,
.bhl .bhl-video:focus-visible .bhl-video__play {
	transform: scale(1.1);
}

.bhl .bhl-video:focus-visible {
	outline: 3px solid var(--bhl-pink);
	outline-offset: 4px;
}

.bhl .bhl-carousel__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--bhl-pink);
	cursor: pointer;
}

.bhl-carousel__nav .bhl-icon {
	width: 36px;
	height: 36px;
}

.bhl-carousel__nav--prev {
	left: clamp(4px, 4vw, 60px);
}

.bhl-carousel__nav--next {
	right: clamp(4px, 4vw, 60px);
}

.bhl-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 12px;
}

.bhl .bhl-carousel__dots button {
	width: 14px;
	height: 14px;
	padding: 0;
	border: 2px solid var(--bhl-pink);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.bhl .bhl-carousel__dots button[aria-current="true"] {
	background: var(--bhl-pink);
}

.bhl-lightbox {
	width: min(1100px, 92vw);
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: #000;
	overflow: visible;
}

.bhl-lightbox::backdrop {
	background: rgba(20, 0, 10, .8);
}

.bhl-lightbox__frame {
	aspect-ratio: 16 / 9;
}

.bhl-lightbox__frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 16px;
}

.bhl .bhl-lightbox__close {
	position: absolute;
	top: -48px;
	right: 0;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	font-size: 2.4rem;
	line-height: 1;
	cursor: pointer;
}

/* --- FAQ -------------------------------------------------------------- */

.bhl-faq__list {
	max-width: 1350px;
	margin-inline: auto;
	border-top: 1px solid var(--bhl-pink);
}

.bhl-faq__item {
	border-bottom: 1px solid var(--bhl-pink);
}

.bhl-faq__item[open] {
	background: linear-gradient(180deg, #fff 0%, var(--bhl-tint-soft) 100%);
}

.bhl-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 18px clamp(16px, 4vw, 56px);
	font-size: var(--bhl-fs-lead);
	font-weight: 700;
	color: var(--bhl-text);
	cursor: pointer;
	list-style: none;
}

.bhl-faq__q::-webkit-details-marker {
	display: none;
}

.bhl-faq__q:focus-visible {
	outline: 3px solid var(--bhl-pink);
	outline-offset: -3px;
}

.bhl-faq__q .bhl-icon {
	flex: none;
	color: var(--bhl-pink);
	stroke-width: 2.6;
	transition: transform .2s ease;
}

.bhl-faq__item[open] .bhl-faq__q .bhl-icon {
	transform: rotate(180deg);
}

.bhl-faq__a {
	padding: 0 clamp(16px, 4vw, 56px) 24px;
	color: var(--bhl-muted);
	font-size: .9375rem;
}

/* --- Final CTA -------------------------------------------------------- */

.bhl-final {
	background: var(--bhl-pink);
	color: #fff;
	padding-block: clamp(44px, 5vw, 72px);
}

.bhl .bhl-final__title {
	color: #fff;
	font-size: var(--bhl-fs-h2);
	letter-spacing: .5px;
	font-weight: 600;
	margin-bottom: 20px;
}

.bhl-final .bhl-prose a {
	color: #fff;
}

/* ==========================================================================
   SEN Hub (listing) pages – /tutors/ and /tutors/{sen}/
   ========================================================================== */

.bhl .bhl-actions--start {
	justify-content: flex-start;
}

.bhl-hero .bhl-actions {
	margin-top: clamp(24px, 3vw, 40px);
}

.bhl-hero .bhl-btn {
	min-width: 0;
	font-size: 1rem;
	padding: .9em 1.8em;
}

.bhl .bhl-btn--ghost {
	background: #fff;
	color: var(--bhl-pink);
}

.bhl .bhl-btn--ghost:hover,
.bhl .bhl-btn--ghost:focus-visible {
	background: var(--bhl-tint);
	border-color: var(--bhl-pink);
	color: var(--bhl-pink-dark);
}

/* No hero image: a calm tinted block instead of the photo. */
.bhl-hero--plain {
	background: linear-gradient(180deg, #fff 0%, var(--bhl-tint-soft) 100%);
}

.bhl-hero--plain .bhl-hero__copy {
	max-width: 820px;
	margin-inline: auto;
	text-align: center;
}

.bhl-hero--plain .bhl-actions--start {
	justify-content: center;
}

.bhl-badge--md {
	width: 56px;
	height: 56px;
}

.bhl-badge--md .bhl-icon {
	width: 28px;
	height: 28px;
}

.bhl .bhl-hub-grid {
	display: grid;
	gap: clamp(20px, 2.5vw, 32px);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}

/* SEN card (top-level hub) */
.bhl-hub-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 32px 0 32px 0;
	background: #fff;
	box-shadow: 0 24px 50px -24px rgba(80, 20, 40, .25);
	transition: transform .2s ease, box-shadow .2s ease;
}

.bhl-hub-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 30px 60px -24px rgba(80, 20, 40, .32);
}

.bhl .bhl-hub-card__media {
	display: block;
	background: var(--bhl-tint);
}

.bhl-hub-card__media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: 80% center;
	/* SEN banners keep the subject on the right */
}

.bhl-hub-card__body {
	padding: 20px 24px 26px;
}

.bhl .bhl-hub-card__title {
	margin-bottom: 14px;
	font-size: var(--bhl-fs-h3);
	font-weight: 700;
}

.bhl .bhl-hub-card__title a,
.bhl .bhl-loc-card__title a {
	color: var(--bhl-text);
	text-decoration: none;
	box-shadow: none;
}

.bhl .bhl-hub-card__title a:hover,
.bhl .bhl-hub-card__title a:focus-visible {
	color: var(--bhl-pink);
}

.bhl .bhl-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.bhl .bhl-chip {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 6px 16px;
	border: 1.5px solid var(--bhl-pink);
	border-radius: 999px;
	color: var(--bhl-pink);
	font-size: .95rem;
	font-weight: 600;
	text-decoration: none;
	box-shadow: none;
	transition: background-color .2s ease, color .2s ease;
}

.bhl .bhl-chip:hover,
.bhl .bhl-chip:focus-visible {
	background: var(--bhl-pink);
	color: #fff;
}

.bhl .bhl-chip:focus-visible {
	outline: 3px solid var(--bhl-text);
	outline-offset: 2px;
}

/* Location card (SEN hub) – whole card is clickable via the title link. */
.bhl-loc-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 32px 28px;
	border: 1px solid transparent;
	border-radius: 32px;
	background: #fff;
	box-shadow: 0 24px 50px -24px rgba(80, 20, 40, .25);
	color: var(--bhl-muted);
	line-height: 1.55;
	transition: border-color .2s ease, transform .2s ease;
}

.bhl-loc-card:hover,
.bhl-loc-card:focus-within {
	border-color: var(--bhl-pink);
	transform: translateY(-3px);
}

.bhl .bhl-loc-card__title {
	font-size: var(--bhl-fs-h3);
	font-weight: 700;
	margin-top: 4px;
}

.bhl .bhl-loc-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.bhl .bhl-loc-card__title a:focus-visible {
	outline: none;
}

.bhl-loc-card:focus-within {
	outline: 3px solid var(--bhl-pink);
	outline-offset: 3px;
}

.bhl-loc-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 6px;
	color: var(--bhl-pink);
	font-weight: 700;
}

.bhl-loc-card__more .bhl-icon {
	width: 1.1em;
	height: 1.1em;
}

.bhl-hub .bhl-small a {
	color: var(--bhl-pink);
}

.bhl-trust--hub .bhl-trust__list {
	margin-bottom: 8px;
}

@media (prefers-reduced-motion: reduce) {

	.bhl-hub-card,
	.bhl-loc-card,
	.bhl .bhl-chip {
		transition: none;
	}
}

/* Location cards: centred flex so one or two locations don't sit lopsided. */
.bhl .bhl-hub-grid--locations {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.bhl-hub-grid--locations>.bhl-loc-card {
	flex: 0 1 380px;
}