/* Homepage sections (front-page.php) */

/* Our Impact */
.impact {
	position: relative;
	overflow: hidden;
	padding: 70px 0;
	color: var(--color-accent-1);
	/* White between the dark video banner and the cream Global Recognition section */
	background: #fff;
	isolation: isolate;
}

.impact__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 60px;
}

.impact__eyebrow {
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-accent-1);
}

.impact__eyebrow::after {
	/* content: "";
	display: block;
	width: 42px;
	height: 2px;
	margin-top: 12px;
	background: #c5a253; */
}

.impact__title {
	margin-top: 22px;
	font-family: var(--font-secondary);
	font-size: 56px;
	line-height: 1.1;
	color: var(--color-accent-1);
}

.impact__button {
	flex-shrink: 0;
	margin-bottom: 6px;
	padding: 16px 30px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-accent-1);
	border: 1px solid rgba(18, 34, 35, 0.35);
	border-radius: 200px;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.impact__button span {
	margin-left: 8px;
}

.impact__button:hover {
	color: #fff;
	background: var(--color-accent-1);
	border-color: var(--color-accent-1);
}

/* Stats slider: one row between two hairlines, with a hairline between stats */
.impact__slider {
	position: relative;
	overflow: hidden;
}

.impact__slider::before,
.impact__slider::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	z-index: 1;
	height: 1px;
	background: rgba(18, 34, 35, 0.12);
	transform-origin: left;
}

.impact__slider::before {
	top: 0;
}

.impact__slider::after {
	bottom: 0;
}

/* Pulled 1px left so the first visible stat's divider sits outside the clipped edge
   (scoped under .impact__slider to beat Swiper's own .swiper { margin: auto }) */
.impact__slider .impact-swiper {
	margin-left: -1px;
	overflow: hidden;
}

.impact-swiper .swiper-wrapper {
	margin: 0;
	padding: 0;
	list-style: none;
}

.impact-stat {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	height: auto;
	padding: 44px 20px 40px;
	text-align: center;
}

/* Until Swiper starts (it waits for DOMContentLoaded), lay the stats out at the same
   widths as its slidesPerView breakpoints, instead of one full-width stat */
.impact-swiper:not(.swiper-initialized) .impact-stat {
	width: calc(100% / 1.4);
}

@media (min-width: 576px) {
	.impact-swiper:not(.swiper-initialized) .impact-stat {
		width: calc(100% / 2.2);
	}
}

@media (min-width: 768px) {
	.impact-swiper:not(.swiper-initialized) .impact-stat {
		width: calc(100% / 3);
	}
}

@media (min-width: 1200px) {
	.impact-swiper:not(.swiper-initialized) .impact-stat {
		width: 25%;
	}
}

/* Divider on each stat's left, drawn as an element so it can animate in */
.impact-stat::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 1px;
	background: rgba(18, 34, 35, 0.12);
	transform-origin: top;
}

.impact__nav {
	display: flex;
	align-items: center;
	gap: 30px;
	margin-top: 36px;
}

/* Gold progress bar (Swiper's progressbar pagination) */
/* Not chained to Swiper's progressbar class, so the track keeps the arrows on the right before Swiper starts */
.impact__progress {
	position: relative;
	flex: 1;
	height: 2px;
	background: rgba(18, 34, 35, 0.12);
	overflow: hidden;
}

.impact__progress .swiper-pagination-progressbar-fill {
	background: #c5a253;
}

.impact__arrows {
	display: flex;
	gap: 12px;
}

.impact__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	padding: 0;
	color: var(--color-accent-1);
	background: transparent;
	border: 1px solid rgba(18, 34, 35, 0.3);
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.impact__arrow svg {
	width: 20px;
	height: 20px;
}

.impact__arrow:hover {
	color: #fff;
	background: var(--color-accent-1);
	border-color: var(--color-accent-1);
}

.impact__arrow:focus-visible {
	outline: 2px solid #c5a253;
	outline-offset: 3px;
}

.impact-stat__icon {
	width: 34px;
	height: 34px;
	color: #00913e;
}

/* Lining figures: Cormorant's default old-style numerals bob above and below the line */
.impact-stat__value {
	margin-top: 16px;
	font-family: var(--font-secondary);
	font-size: 40px;
	font-weight: 900;
	font-variant-numeric: lining-nums;
	font-feature-settings: "lnum" 1;
	line-height: 1;
	color: var(--color-accent-1);
	white-space: nowrap;
}

/* Equal-width digits so the centred number doesn't wobble while it counts up */
.impact-stat__number {
	font-variant-numeric: lining-nums tabular-nums;
}

.impact-stat__unit {
	margin: 0 3px;
	font-size: 20px;
	color: #a8863a;
}

.impact-stat__label {
	max-width: 210px;
	margin-top: 12px;
	font-size: 15px;
	line-height: 1.5;
	color: #555;
}

.impact__button:focus-visible {
	outline: 2px solid #c5a253;
	outline-offset: 4px;
}

/*
 * Entrance, played once: the script adds .is-ready (hidden start), then .is-visible to the
 * heading and to each stat as they scroll into view. Each stat's --d delay staggers them.
 * Without JavaScript, or with reduced motion, .is-ready is never added and nothing is hidden.
 */
.impact.is-ready .impact__eyebrow,
.impact.is-ready .impact__title,
.impact.is-ready .impact__button {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.impact.is-ready .impact__title {
	transition-delay: 0.15s, 0.15s, 0s, 0s, 0s;
}

.impact.is-ready .impact__button {
	transition-delay: 0.3s, 0.3s, 0s, 0s, 0s;
}

.impact.is-ready .impact__eyebrow::after {
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.4s;
}

.impact.is-ready .impact__head.is-visible .impact__eyebrow,
.impact.is-ready .impact__head.is-visible .impact__title,
.impact.is-ready .impact__head.is-visible .impact__button,
.impact.is-ready .impact__head.is-visible .impact__eyebrow::after {
	opacity: 1;
	transform: none;
}

/* The two long rules draw across, then the controls fade in */
.impact.is-ready .impact__slider::before,
.impact.is-ready .impact__slider::after {
	transform: scaleX(0);
	transition: transform 1.4s cubic-bezier(0.65, 0, 0.35, 1) 0.2s;
}

.impact.is-ready .impact__nav {
	opacity: 0;
	transition: opacity 0.8s ease 0.9s;
}

.impact.is-ready.is-visible .impact__slider::before,
.impact.is-ready.is-visible .impact__slider::after {
	transform: none;
}

.impact.is-ready.is-visible .impact__nav {
	opacity: 1;
}

.impact.is-ready .impact-stat::after {
	transform: scaleY(0);
	transition: transform 1.1s cubic-bezier(0.65, 0, 0.35, 1) var(--d, 0ms);
}

/* Icons sketch themselves: every path has pathLength="1", so a dash of 1 covers it exactly */
.impact.is-ready .impact-stat__icon > * {
	stroke-dasharray: 1;
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 1.6s cubic-bezier(0.65, 0, 0.35, 1) calc(var(--d, 0ms) + 200ms);
}

.impact.is-ready .impact-stat__value,
.impact.is-ready .impact-stat__label {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.8s ease calc(var(--d, 0ms) + 350ms), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--d, 0ms) + 350ms);
}

.impact.is-ready .impact-stat__label {
	transition-delay: calc(var(--d, 0ms) + 500ms);
}

.impact.is-ready .impact-stat.is-visible::after,
.impact.is-ready .impact-stat.is-visible .impact-stat__value,
.impact.is-ready .impact-stat.is-visible .impact-stat__label {
	opacity: 1;
	transform: none;
}

.impact.is-ready .impact-stat.is-visible .impact-stat__icon > * {
	stroke-dashoffset: 0;
}

@media (max-width: 767px) {
	.impact {
		padding: 60px 0;
	}

	.impact__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 26px;
		margin-bottom: 36px;
	}

	.impact__title {
		font-size: 40px;
	}

	.impact-stat {
		padding: 34px 14px 30px;
	}

	.impact__nav {
		gap: 20px;
		margin-top: 26px;
	}

	.impact__arrow {
		width: 46px;
		height: 46px;
	}

	.impact-stat__icon {
		width: 28px;
		height: 28px;
	}

	.impact-stat__value {
		font-size: 32px;
	}

	.impact-stat__unit {
		font-size: 16px;
		margin: 0 2px;
	}

	.impact-stat__label {
		font-size: 13px;
	}
}

/* Global Recognition */
.recognition {
	background: var(--color-light-1);
}

.recognition__head {
	margin-bottom: 50px;
}

.recognition__eyebrow {
	display: inline-block;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-accent-1);
}

.recognition__eyebrow::after {
	content: "";
	display: block;
	width: 42px;
	height: 2px;
	margin: 12px auto 0;
	background: #c5a253;
}

.recognition__title {
	margin-top: 20px;
	font-family: var(--font-secondary);
	color: var(--color-accent-1);
}

/* Square card: full-height image panel on the left, content on the right */
.recognition-card {
	position: relative;
	display: flex;
	align-items: stretch;
	height: 100%;
	overflow: hidden;
	background: #fff;
	/* border: 1px solid #e3dccd; */
	/* transition: border-color 0.4s ease, box-shadow 0.4s ease; */
}

/* Fills the card's full height, flush to its edges; the logo sits large in the middle */
.recognition-card__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 42%;
	min-height: 280px;
	padding: 36px;
	background: radial-gradient(circle at 50% 45%, #fdfbf7 0%, #f1eadc 85%);
	/* border-right: 1px solid #e8e0cf; */
}

.recognition-card__logo img {
	width: 100%;
	max-height: 220px;
	object-fit: contain;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.recognition-card__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1;
	padding: 40px 36px;
}

.recognition-card__title {
	font-family: var(--font-secondary);
	font-size: 28px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--color-accent-1);
	text-wrap: balance;
}

/* Short gold rule between title and description, like the section eyebrows */
.recognition-card__title::after {
	/* content: "";
	display: block;
	width: 32px;
	height: 2px;
	margin-top: 16px;
	background: #c5a253; */
}

.recognition-card__description {
	margin-top: 16px;
	font-size: 16px;
	line-height: 1.65;
	color: #333;
}

/* No visible button: an empty link covers the whole card, so the card itself opens the diploma or certificate */
.recognition-card__link {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.recognition-card:hover {
	border-color: #c5a253;
	/* box-shadow: 0 18px 40px -24px rgba(18, 34, 35, 0.35); */
}

.recognition-card:hover .recognition-card__logo img {
	transform: scale(1.05);
}

.recognition-card__link:focus-visible {
	outline: none;
}

.recognition-card:has(.recognition-card__link:focus-visible) {
	outline: 2px solid #c5a253;
	outline-offset: 4px;
}

@media (max-width: 1199px) {
	.recognition-card__logo {
		padding: 28px;
	}

	.recognition-card__body {
		padding: 32px 28px;
	}
}

/* Phones: image panel on top, content below */
@media (max-width: 575px) {
	.recognition-card {
		flex-direction: column;
	}

	.recognition-card__logo {
		width: 100%;
		min-height: 200px;
		border-right: 0;
		border-bottom: 1px solid #e8e0cf;
	}

	.recognition-card__logo img {
		max-height: 150px;
	}

	.recognition-card__body {
		padding: 28px 24px;
	}

	.recognition-card__title {
		font-size: 24px;
	}
}

/* Video banner */
.video-banner {
	position: relative;
	height: 100vh;
	min-height: 500px;
	overflow: hidden;
	background: #122223;
	display: flex;
	align-items: center;
	justify-content: center;
}

.video-banner__media iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw; /* 16:9 */
	min-width: 177.78vh;
	min-height: 100vh;
	transform: translate(-50%, -50%);
	pointer-events: none;
	border: 0;
}

.video-banner__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	/* Darker on the left, behind the text, so it stays readable over the video */
	background: linear-gradient(90deg, rgba(18, 34, 35, 0.7) 0%, rgba(18, 34, 35, 0.35) 45%, rgba(0, 0, 0, 0.1) 75%);
}

.video-banner__content {
	position: relative;
	z-index: 3;
	width: 100%;
	/* Text shows for 10s, fades out, stays hidden for 30s, fades back in — on repeat.
	   Cycle = 10s shown + 0.8s fade + 30s hidden + 0.8s fade = 41.6s */
	animation: videoBannerTextCycle 41.6s ease infinite;
}

@keyframes videoBannerTextCycle {
	0%, 24.04% {
		opacity: 1;
		visibility: visible;
	}
	25.96%, 98.08% {
		opacity: 0;
		visibility: hidden;
	}
	100% {
		opacity: 1;
		visibility: visible;
	}
}

.video-banner__inner {
	max-width: 620px;
	text-align: left;
}

.video-banner__eyebrow {
	max-width: 300px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: #fff;
}

/* Short rule under the eyebrow */
.video-banner__eyebrow::after {
	content: "";
	display: block;
	width: 42px;
	height: 1px;
	margin-top: 14px;
	background: rgba(255, 255, 255, 0.7);
}

.video-banner__title {
	margin-top: 30px;
	font-family: var(--font-secondary);
	font-size: 72px;
	font-weight: 500;
	line-height: 1.05;
	color: #fff;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.video-banner__text {
	max-width: 480px;
	margin-top: 24px;
	font-family: var(--font-secondary);
	font-size: 26px;
	line-height: 1.3;
	color: #fff;
}

.video-banner__button {
	display: inline-flex;
	align-items: center;
	margin-top: 40px;
	padding: 16px 30px;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(18, 34, 35, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 200px;
	transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.video-banner__button span {
	margin-left: 12px;
}

.video-banner__button:hover {
	color: var(--color-accent-1);
	background: #fff;
	border-color: #fff;
}

.video-banner .banner-text {
	z-index: 3;
	left: 50%;
	bottom: 8%;
	transform: translateX(-50%);
	white-space: nowrap;
}

@media (max-width: 991px) {
	.video-banner__title {
		font-size: 54px;
	}

	.video-banner__text {
		font-size: 22px;
	}
}

@media (max-width: 767px) {
	.video-banner__eyebrow {
		font-size: 12px;
	}

	.video-banner__title {
		margin-top: 20px;
		font-size: 38px;
	}

	.video-banner__text {
		margin-top: 16px;
		font-size: 19px;
	}

	.video-banner__button {
		margin-top: 28px;
		padding: 14px 24px;
		font-size: 12px;
	}
}

/* Signature Experiences */

.experiences__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 40px;
}

.experiences__eyebrow {
	font-family: var(--font-primary);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-accent-1);
}

.experiences__eyebrow::after {
	/* content: "";
	display: block;
	width: 42px;
	height: 2px;
	margin-top: 10px;
	background: #c5a253; */
}

/* Size comes from the shared text-64 md:text-40 lh-11 classes used by the other section titles */
.experiences__title {
	font-family: var(--font-secondary);
	color: var(--color-accent-1);
	margin-top: 20px;
}

.experiences__all {
	flex-shrink: 0;
	margin-bottom: 8px;
	color: var(--color-accent-1);
}

.experiences-swiper {
	overflow: hidden;
}

.experiences-swiper .swiper-slide {
	height: auto;
}

.experience-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #faf8f4;
	border-radius: 10px;
	overflow: hidden;
	color: var(--color-dark-2);
	transition: box-shadow 0.3s ease;
}

.experience-card:hover {
	box-shadow: 0 10px 30px rgba(18, 34, 35, 0.1);
}

.experience-card__image {
	aspect-ratio: 16 / 11;
	overflow: hidden;
}

.experience-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.experience-card:hover .experience-card__image img {
	transform: scale(1.05);
}

.experience-card__body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 20px 20px 18px;
}

.experience-card__title {
	font-family: var(--font-secondary);
	font-size: 25px;
	font-weight: 500;
	line-height: 1.2;
	color: var(--color-accent-1);
}

.experience-card__text {
	margin-top: 12px;
	font-family: var(--font-primary);
	font-size: 16px;
	line-height: 1.6;
	color: #333;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.experience-card__arrow {
	display: flex;
	margin-top: auto;
	padding-top: 16px;
	align-self: flex-end;
	transition: transform 0.3s ease;
}

.experience-card:hover .experience-card__arrow {
	transform: translateX(4px);
}

.experiences-pagination {
	margin-top: 30px;
	text-align: center;
}

@media (max-width: 767px) {
	.experiences__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		margin-bottom: 30px;
	}

	.experiences__eyebrow {
		font-size: 13px;
	}
}

/* Separates Awards from the cream Gallery section directly above it */


/* Slider with a gutter each side for the arrows, so they never sit on top of a logo */
.awards-slider {
	position: relative;
	padding: 0 64px;
}

.awards-swiper {
	position: relative;
	padding-bottom: 50px;
	overflow: hidden;
}

.awards-swiper .swiper-slide {
	display: flex;
	height: auto;
}

.awards-swiper .swiper-pagination {
	left: 0 !important;
	width: 100% !important;
	text-align: center !important;
}

/*
 * Each award is an identical white tile with its logo scaled to fit, so logos of different
 * shapes and backgrounds read as one set. Scoped under .awards-section to beat the
 * Customizer's Additional CSS, which sets every .section-study-image .galer-img img
 * to height: 370px and object-fit: fill (that stretched these logos).
 */
.awards-section .awards-gallery {
	width: 100%;
	overflow: visible;
}

.awards-section .awards-gallery .galer-img {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 200px;
	padding: 28px;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e8e1d3;
	border-radius: 12px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* !important: main.css forces these images to height: 150px and object-fit: cover !important below 999px */
.awards-section .awards-gallery .galer-img img {
	width: 100%;
	height: 100% !important;
	object-fit: contain !important;
	border-radius: 0;
	transition: transform 0.4s ease;
}

.awards-section .awards-gallery .galer-img:hover {
	border-color: #c5a253;
	box-shadow: 0 14px 30px -18px rgba(18, 34, 35, 0.35);
}

.awards-section .awards-gallery .galer-img:hover img {
	transform: scale(1.04);
}

.awards-section .awards-gallery .galer-img:focus {
	outline: none;
}

.awards-section .awards-gallery .galer-img:focus-visible {
	outline: 2px solid #00913e;
	outline-offset: 3px;
}

/* Arrows: centred on the tiles (the slider's bottom 50px is the dots) */
.awards-slider .swiper-nav-btn {
	position: absolute;
	top: calc(50% - 25px);
	transform: translateY(-50%);
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	font-size: 13px;
	color: var(--color-dark-2);
	background: #fff;
	border: 1px solid #d8cfbd;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.awards-slider .swiper-nav-btn:hover {
	color: #fff;
	background: #00913e;
	border-color: #00913e;
}

.awards-slider .swiper-nav-btn:focus-visible {
	outline: 2px solid #00913e;
	outline-offset: 3px;
}

.awards-prev { left: 0; }
.awards-next { right: 0; }

.awards-pagination {
	bottom: 0 !important;
	line-height: 0;
}

/*
 * Slider dots, one style for every slider on the homepage: What sets us apart, Experiences,
 * Packages and Awards. Covers both Swiper's own bullets and the template's .pagination__item
 * dots (whose active dot had a 30px ring). Spacing is set here because vendors.css is an older
 * Swiper stylesheet: its bullet margin targets .swiper-container-horizontal, which Swiper 8 no longer adds.
 */
.experiences-pagination .swiper-pagination-bullet,
.awards-pagination .swiper-pagination-bullet,
.pagination.-type-1 .pagination__item,
.pagination.-type-1.-accent-1 .pagination__item {
	width: 8px;
	height: 8px;
	margin: 0 5px;
	border-radius: 200px;
	background: var(--color-dark-2);
	opacity: 0.25;
	transition: opacity 0.3s ease, background-color 0.3s ease, width 0.3s ease;
}

.pagination.-type-1 .pagination__item::before {
	display: none;
}

.experiences-pagination .swiper-pagination-bullet:hover,
.awards-pagination .swiper-pagination-bullet:hover,
.pagination.-type-1 .pagination__item:hover {
	opacity: 0.5;
}

/* Active dot stretches into a short green pill */
.experiences-pagination .swiper-pagination-bullet-active,
.awards-pagination .swiper-pagination-bullet-active,
.pagination.-type-1 .pagination__item.is-active,
.pagination.-type-1.-accent-1 .pagination__item.is-active,
.experiences-pagination .swiper-pagination-bullet-active:hover,
.awards-pagination .swiper-pagination-bullet-active:hover,
.pagination.-type-1 .pagination__item.is-active:hover {
	width: 22px;
	margin: 0 5px;
	background: #00913e;
	opacity: 1;
}

@media (max-width: 767px) {
	.awards-slider {
		padding: 0 46px;
	}

	.awards-section .awards-gallery .galer-img {
		height: 150px;
		padding: 18px;
	}

	.awards-slider .swiper-nav-btn {
		width: 36px;
		height: 36px;
		font-size: 12px;
	}
}

/* Activities section - mobile responsive fix */
@media (max-width: 991px) {
	/* Force the text column to be full-width; col-lg-4 + offset-lg-7 only fire at >=992px */
	.verticalSlider-images .col-xl-4.col-lg-4 {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 100% !important;
		margin-left: 0 !important;
	}

	/* Keep the image area filling its positioned parent */
	.verticalSlider-images .verticalSlider-images__images {
		height: 100%;
	}

	.verticalSlider-images .verticalSlider {
		height: auto !important;
		overflow: visible !important;
	}

	/* Reduce excessive top padding on wrap */
	.verticalSlider-images .verticalSlider__wrap {
		padding: 30px 0;
	}
}

@media (max-width: 767px) {
	.verticalSlider-images h2.text-64 {
		font-size: 36px !important;
		margin-top: 10px !important;
	}

	.verticalSlider-images .slider-text h3 {
		font-size: 22px;
	}

	.verticalSlider-images .slider-text p {
		font-size: 15px;
		line-height: 1.6;
	}

	/* Reduce excessive padding on mobile */
	.verticalSlider-images .verticalSlider__wrap {
		padding: 20px 0;
	}
}

/* Accommodation room photos: one fixed 3:2 shape, cropped to fill. main.css sets them to
   height: auto, so each photo kept its own shape and the autoHeight slider resized the card
   on every slide (and the two cards in a row ended up different heights). */
.home-room-img .acc-img img {
	aspect-ratio: 3 / 2;
	height: auto;
	object-fit: cover;
}

/* Each impact figure links to its own page (inc/impact.php); the link keeps the stat's layout */
.impact-stat__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	color: inherit;
}

.impact-stat__link .impact-stat__value {
	transition: color 0.3s ease;
}

.impact-stat__link:hover .impact-stat__value {
	color: #00913e;
}

.impact-stat__link:focus-visible {
	outline: 2px solid #c5a253;
	outline-offset: 6px;
}
