/* ==================================================
   Executive Medicine Homepage — Lower-page refinement

   Load this file after the existing homepage and shared stylesheets.
   Every rule is scoped beneath .em-home-lower so assessment pages and
   other shared pages are not affected.
   ================================================== */

.em-home-lower {
	--em-lower-navy: #243642;
	--em-lower-navy-soft: #355664;
	--em-lower-green: #49765a;
	--em-lower-green-light: #86bf96;
	--em-lower-green-pale: #f4f7f6;
	--em-lower-cream: #faf9f6;
	--em-lower-gold: #a98145;
	--em-lower-text: #586970;
	--em-lower-border: rgba(36, 54, 66, 0.14);
	--em-lower-shadow: 0 10px 28px rgba(36, 54, 66, 0.07);

	color: var(--em-lower-text);
	background: #ffffff;
}

.em-home-lower,
.em-home-lower *,
.em-home-lower *::before,
.em-home-lower *::after {
	box-sizing: border-box;
}

.em-home-lower img {
	max-width: 100%;
}

.em-home-lower-section {
	position: relative;
	margin: 0;
	padding: clamp(72px, 7vw, 96px) 30px;
	border: 0;
	border-bottom: 1px solid rgba(36, 54, 66, 0.1);
}

.em-lower-container {
	width: 100%;
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
}

.em-lower-section-header {
	max-width: 820px;
	margin: 0 0 38px;
}

.em-lower-section-header--centred {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

.em-home-lower .em-lower-eyebrow {
	margin: 0 0 11px;
	color: var(--em-lower-green);
	font-family: inherit;
	font-size: 0.76rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.45;
	text-transform: uppercase;
}

.em-home-lower h2,
.em-home-lower .welcome-text h2,
.em-home-lower .doctors-header h2,
.em-home-lower .testimonials-wrapper h2,
.em-home-lower .founder-history-wrapper h2,
.em-home-lower .health-priority-text h2,
.em-home-lower .contact-wrapper h2,
.em-home-lower .location-text h2 {
	margin: 0;
	padding: 0;
	color: var(--em-lower-navy);
	background: none;
	border: 0;
	font-family:
		Didot,
		"Bodoni 72",
		"Bodoni MT",
		Georgia,
		serif;
	font-size: clamp(2rem, 3.6vw, 3rem);
	font-weight: 500;
	letter-spacing: -0.022em;
	line-height: 1.14;
	text-transform: none;
	text-wrap: balance;
}

.em-home-lower h2::before,
.em-home-lower h2::after {
	content: none;
	display: none;
}

.em-lower-intro {
	max-width: 780px;
	margin: 17px auto 0;
	color: var(--em-lower-text);
	font-size: 1.02rem;
	line-height: 1.7;
}

/* ---------- Trusted organisations ---------- */

.em-home-lower .trusted-organisations {
	padding-top: clamp(68px, 6.5vw, 88px);
	padding-bottom: clamp(58px, 6vw, 80px);
	background: #ffffff;
}

.em-home-lower .trusted-inner {
	overflow: visible;
	padding: 0;
	text-align: initial;
}

.em-home-lower .trusted-logo-marquee {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding: 27px 0;
	border-top: 1px solid #cad8cd;
	border-bottom: 1px solid #cad8cd;
}

.em-home-lower .trusted-logo-marquee:focus-visible {
	outline: 3px solid rgba(134, 191, 150, 0.55);
	outline-offset: 4px;
}

.em-home-lower .trusted-logos {
	display: flex;
	align-items: center;
	width: max-content;
	margin: 0;
	padding: 0;
	animation: em-lower-logo-scroll 42s linear infinite;
	will-change: transform;
}

.em-home-lower .trusted-logo-set {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: clamp(42px, 5vw, 72px);
	padding-right: clamp(42px, 5vw, 72px);
}

.em-home-lower .trusted-logo-set img {
	display: block;
	flex: 0 0 auto;
	width: clamp(108px, 10vw, 148px);
	height: 52px;
	margin: 0;
	object-fit: contain;
	object-position: center;
	filter: none;
}

.em-home-lower .trusted-logo-marquee:hover .trusted-logos,
.em-home-lower .trusted-logo-marquee:focus-within .trusted-logos {
	animation-play-state: paused;
}

@keyframes em-lower-logo-scroll {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(-50%, 0, 0);
	}
}

/* ---------- Shared editorial sections ---------- */

.em-editorial-grid {
	display: grid;
	grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
	align-items: center;
	gap: clamp(42px, 6vw, 76px);
}

.em-editorial-grid--reverse {
	grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
}

.em-editorial-copy {
	min-width: 0;
	max-width: 660px;
}

.em-editorial-copy h2 {
	margin-bottom: 25px;
}

.em-editorial-copy > p:not(.em-lower-eyebrow):not(.em-legacy-emphasis) {
	margin: 0 0 17px;
	color: var(--em-lower-text);
	font-size: 1rem;
	line-height: 1.72;
}

.em-editorial-copy > p:last-child {
	margin-bottom: 0;
}

.em-home-lower .em-editorial-figure,
.em-home-lower .welcome-image,
.em-home-lower .founder-image-block,
.em-home-lower .health-priority-image {
	position: static;
	display: block;
	overflow: hidden;
	width: 100%;
	margin: 0;
	padding: 0;
	background: #e9eee8;
	border: 1px solid rgba(36, 54, 66, 0.13);
	border-radius: 0;
	box-shadow: var(--em-lower-shadow);
}

.em-home-lower .em-editorial-figure img,
.em-home-lower .welcome-image img,
.em-home-lower .founder-image-block img,
.em-home-lower .health-priority-image img {
	position: static;
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	object-fit: contain;
	object-position: center;
	filter: none;
	transform: none;
}

.em-home-lower .em-editorial-figure figcaption,
.em-home-lower .welcome-image figcaption,
.em-home-lower .founder-image-block figcaption {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 17px 20px 18px;
	color: #627178;
	background: #ffffff;
	font-size: 0.85rem;
	font-style: normal;
	line-height: 1.45;
	text-align: left;
}

.em-home-lower .em-editorial-figure figcaption strong {
	color: var(--em-lower-navy);
	font-size: 0.98rem;
	font-weight: 650;
}

/* ---------- Medical Director ---------- */

.em-home-lower .welcome-note {
	background: var(--em-lower-cream);
}

.em-home-lower .welcome-container,
.em-home-lower .welcome-text {
	width: auto;
	padding: 0;
}

.em-home-lower .welcome-image {
	max-width: 430px;
	justify-self: center;
}

.em-home-lower .welcome-text {
	margin: 0;
	text-align: left;
}

.em-home-lower .welcome-text .em-lower-eyebrow {
	margin-bottom: 11px;
}

/* ---------- Meet the Team ---------- */

.em-home-lower .doctors {
	padding-right: 30px;
	padding-left: 30px;
	background: var(--em-lower-green-pale);
}

.em-home-lower .doctors-header {
	width: auto;
	padding: 0;
}

.em-home-lower .doctors-intro-image {
	overflow: hidden;
	max-width: 1000px;
	margin: 0 auto;
	background: #e9eee8;
	border: 1px solid var(--em-lower-border);
	box-shadow: var(--em-lower-shadow);
}

.em-home-lower .doctors-intro-image img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	object-fit: contain;
	object-position: center;
	filter: none;
}

.em-home-lower .em-team-groups {
	margin-top: 46px;
}

.em-home-lower .em-team-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	gap: 22px;
}

.em-home-lower .em-team-grid--single {
	grid-template-columns: minmax(0, 590px);
	justify-content: center;
}

.em-home-lower .em-team-category {
	max-width: 780px;
	margin: 42px auto 18px;
	padding-top: 18px;
	color: var(--em-lower-green);
	border-top: 1px solid #cad8cd;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	line-height: 1.4;
	text-align: center;
	text-transform: uppercase;
}

.em-home-lower .doctor-card {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	align-items: start;
	gap: 24px;
	min-width: 0;
	margin: 0;
	padding: 24px;
	color: var(--em-lower-text);
	background: #ffffff;
	border: 1px solid var(--em-lower-border);
	border-radius: 0;
	box-shadow: var(--em-lower-shadow);
	text-align: left;
}

.em-home-lower .doctor-card > .em-team-portrait {
	position: static;
	display: block;
	width: 160px;
	height: 240px;
	margin: 0;
	object-fit: cover;
	object-position: 50% 18%;
	border-radius: 0;
	filter: none;
	transform: none;
}

.em-home-lower .doctor-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	height: 100%;
	padding: 1px 0 0;
	text-align: left;
}

.em-home-lower .doctor-info h3 {
	margin: 0 0 7px;
	color: var(--em-lower-navy);
	font-family:
		Didot,
		"Bodoni 72",
		"Bodoni MT",
		Georgia,
		serif;
	font-size: 1.48rem;
	font-weight: 600;
	line-height: 1.2;
}

.em-home-lower .doctor-info > p {
	margin: 0 0 10px;
	color: #68767c;
	font-size: 0.86rem;
	line-height: 1.48;
}

.em-home-lower .doctor-info > .subtitle {
	color: var(--em-lower-green);
	font-weight: 650;
}

.em-home-lower .doctor-description {
	position: relative;
	visibility: visible;
	overflow: hidden;
	max-height: 5.1em;
	margin: 8px 0 14px;
	opacity: 1;
	transition:
		max-height 0.35s ease,
		opacity 0.25s ease,
		margin 0.25s ease;
}

.em-home-lower .doctor-card.active .doctor-description {
	visibility: visible;
	max-height: 3200px;
	margin: 8px 0 14px;
	opacity: 1;
}

/* Subtle fade indicating that more text is available */
.em-home-lower .doctor-description::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1.8em;
	pointer-events: none;
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0),
		#ffffff
	);
	transition: opacity 0.2s ease;
}

.em-home-lower .doctor-card.active .doctor-description::after {
	opacity: 0;
}

.em-home-lower .doctor-description p,
.em-home-lower .doctor-description li {
	color: var(--em-lower-text);
	font-size: 0.9rem;
	line-height: 1.6;
}

.em-home-lower .doctor-description p {
	margin: 0 0 13px;
}

.em-home-lower .doctor-description ul {
	margin: 0 0 16px;
	padding-left: 20px;
}

.em-home-lower .doctor-description li + li {
	margin-top: 6px;
}
.em-home-lower .toggle-bio {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 43px;
	margin: auto 0 0;
	padding: 10px 18px;
	color: var(--em-lower-navy);
	background: transparent;
	border: 1px solid rgba(36, 54, 66, 0.42);
	border-radius: 0;
	font: inherit;
	font-size: 0.84rem;
	font-weight: 650;
	line-height: 1.2;
	cursor: pointer;
	transition:
		color 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.em-home-lower .toggle-bio:hover,
.em-home-lower .toggle-bio:focus-visible {
	color: #ffffff;
	background: var(--em-lower-green);
	border-color: var(--em-lower-green);
	transform: translateY(-1px);
}

.em-home-lower .toggle-bio:focus-visible {
	outline: 3px solid rgba(134, 191, 150, 0.5);
	outline-offset: 3px;
}

/* ---------- Client testimonials ---------- */

.em-home-lower .testimonials {
	background: #ffffff;
}

.em-home-lower .testimonials-wrapper {
	padding: 0;
}

.em-home-lower .testimonial-highlight {
	max-width: 900px;
	margin: -8px auto 34px;
	color: #344a55;
	font-family:
		Didot,
		"Bodoni 72",
		"Bodoni MT",
		Georgia,
		serif;
	font-size: clamp(1.12rem, 1.8vw, 1.35rem);
	font-weight: 500;
	line-height: 1.55;
	text-align: center;
}

.em-home-lower .testimonial-slider {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 44px;
	align-items: center;
	gap: 15px;
	width: 100%;
	margin: 0;
	padding: 0;
}

.em-home-lower .testimonial-track {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 18px;
	min-width: 0;
	overflow: visible;
	padding: 0;
}

.em-home-lower .testimonial {
	display: none;
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 26px 24px;
	color: var(--em-lower-text);
	background: var(--em-lower-cream);
	border: 1px solid var(--em-lower-border);
	border-radius: 0;
	box-shadow: 0 8px 22px rgba(36, 54, 66, 0.055);
	font-size: 0.92rem;
	line-height: 1.65;
	text-align: left;
}

.em-home-lower .testimonial.visible {
	display: block;
}

.em-home-lower .testimonial span {
	display: block;
	margin-top: 16px;
	color: var(--em-lower-navy);
	font-size: 0.82rem;
	font-weight: 650;
}

.em-home-lower .testimonial-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	color: var(--em-lower-navy);
	background: #ffffff;
	border: 1px solid rgba(36, 54, 66, 0.27);
	border-radius: 50%;
	font-size: 1.15rem;
	line-height: 1;
	cursor: pointer;
	transition:
		color 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.em-home-lower .testimonial-arrow:hover,
.em-home-lower .testimonial-arrow:focus-visible {
	color: #ffffff;
	background: var(--em-lower-green);
	border-color: var(--em-lower-green);
}

.em-home-lower .testimonial-arrow:focus-visible {
	outline: 3px solid rgba(134, 191, 150, 0.5);
	outline-offset: 3px;
}

.em-home-lower .testimonial-arrow:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

/* Keep the completed Google panel intact; adjust outer rhythm only. */

.em-home-lower .google-reviews-section {
	margin: 0;
	padding: 52px 30px 70px;
	background: #ffffff;
	border-bottom: 1px solid rgba(36, 54, 66, 0.1);
}

/* ---------- Legacy ---------- */

.em-home-lower .founder-history-section {
	background: var(--em-lower-cream);
}

.em-home-lower .founder-history-wrapper {
	padding: 0;
	text-align: left;
}

.em-home-lower .em-legacy-emphasis {
	margin: 26px 0 0;
	padding: 18px 0 0;
	color: var(--em-lower-navy);
	border-top: 1px solid #cad8cd;
	font-family:
		Didot,
		"Bodoni 72",
		"Bodoni MT",
		Georgia,
		serif;
	font-size: 1.22rem;
	font-weight: 600;
	line-height: 1.45;
}

/* ---------- Health priority ---------- */

.em-home-lower .health-priority-section {
	background: #ffffff;
}

.em-home-lower .health-priority-wrapper {
	padding: 0;
}

/* ---------- Contact form ---------- */

.em-home-lower .contact-section {
	background: var(--em-lower-green-pale);
}

.em-home-lower .contact-wrapper {
	max-width: 980px;
	padding: 0;
}

.em-home-lower .contact-panel {
	padding: clamp(34px, 5vw, 56px);
	background: #ffffff;
	border: 1px solid var(--em-lower-border);
	border-top: 3px solid var(--em-lower-green-light);
	box-shadow: var(--em-lower-shadow);
}

.em-home-lower .contact-panel .em-lower-section-header {
	margin-bottom: 31px;
}

.em-home-lower .contact-panel .contact-lead {
	margin: 8px 0 0;
	color: #344a55;
	font-size: 0.95rem;
	font-weight: 650;
	line-height: 1.55;
}

.em-home-lower .contact-form {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 22px;
	width: 100%;
	max-width: 780px;
	margin: 0 auto;
	padding: 0;
	background: transparent;
	box-shadow: none;
}

.em-home-lower .contact-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
}

.em-home-lower .contact-field--full,
.em-home-lower .contact-turnstile,
.em-home-lower .contact-form > button {
	grid-column: 1 / -1;
}

.em-home-lower .contact-field label {
	color: var(--em-lower-navy);
	font-size: 0.84rem;
	font-weight: 650;
	line-height: 1.4;
}

.em-home-lower .contact-field label span {
	color: #7a858a;
	font-weight: 400;
}

.em-home-lower .contact-field input,
.em-home-lower .contact-field textarea {
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 12px 14px;
	color: var(--em-lower-navy);
	background: #ffffff;
	border: 1px solid rgba(36, 54, 66, 0.28);
	border-radius: 0;
	font: inherit;
	font-size: 1rem;
	line-height: 1.45;
	box-shadow: none;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.em-home-lower .contact-field textarea {
	min-height: 132px;
	resize: vertical;
}

.em-home-lower .contact-field input:focus,
.em-home-lower .contact-field textarea:focus {
	border-color: var(--em-lower-green);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(134, 191, 150, 0.28);
}

.em-home-lower .contact-form > button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	justify-self: start;
	min-width: 168px;
	min-height: 48px;
	margin: 0;
	padding: 12px 22px;
	color: #ffffff;
	background: var(--em-lower-green);
	border: 1px solid var(--em-lower-green);
	border-radius: 0;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 650;
	line-height: 1.3;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.em-home-lower .contact-form > button:hover,
.em-home-lower .contact-form > button:focus-visible {
	background: var(--em-lower-navy);
	border-color: var(--em-lower-navy);
	transform: translateY(-1px);
}

.em-home-lower .contact-form > button:focus-visible {
	outline: 3px solid rgba(134, 191, 150, 0.5);
	outline-offset: 3px;
}

.em-home-lower .hp-field {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- Acknowledgement and location ---------- */

.em-home-lower .welcome-banner-bottom {
	margin: 0;
	padding: 32px 30px 34px;
	color: #f7f5f1;
	background: var(--em-lower-navy);
	border: 0;
}

.em-home-lower .welcome-country {
	padding: 0;
	text-align: left;
}

.em-home-lower .welcome-country .em-lower-eyebrow {
	margin-bottom: 8px;
	color: #a9d3b4;
}

.em-home-lower .welcome-country > p:last-child {
	max-width: 920px;
	margin: 0;
	color: #f7f5f1;
	font-size: 0.92rem;
	font-style: normal;
	line-height: 1.65;
}

.em-home-lower .location-note {
	padding-top: 58px;
	padding-bottom: 27px;
	background: var(--em-lower-cream);
	border-bottom: 0;
}

.em-home-lower .location-text {
	padding: 0;
	text-align: left;
}

.em-home-lower .location-text h2 {
	font-size: clamp(1.9rem, 3vw, 2.55rem);
}

.em-home-lower .location-text .location-lead {
	margin: 15px 0 4px;
	color: #344a55;
	font-size: 1rem;
	font-weight: 650;
	line-height: 1.6;
}

.em-home-lower .location-text > p:last-child {
	margin: 0;
	color: var(--em-lower-text);
	font-size: 0.94rem;
	line-height: 1.6;
}

.em-home-lower .footer-map-section {
	margin: 0;
	padding: 0 30px 72px;
	background: var(--em-lower-cream);
	border: 0;
}

.em-home-lower .footer-map-wrapper {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(270px, 0.82fr);
	align-items: stretch;
	gap: 0;
	overflow: hidden;
	padding: 0;
	background: #ffffff;
	border: 1px solid var(--em-lower-border);
	box-shadow: var(--em-lower-shadow);
}

.em-home-lower .footer-map {
	min-width: 0;
	min-height: 320px;
	margin: 0;
	padding: 0;
}

.em-home-lower .footer-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 320px;
	border: 0;
}

.em-home-lower .footer-address {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin: 0;
	padding: 35px 34px;
	color: #f7f5f1;
	background: var(--em-lower-navy);
	font-style: normal;
	text-align: left;
}

.em-home-lower .footer-address h3 {
	margin: 0 0 16px;
	color: #ffffff;
	font-family:
		Didot,
		"Bodoni 72",
		"Bodoni MT",
		Georgia,
		serif;
	font-size: 1.45rem;
	font-weight: 600;
	line-height: 1.25;
}

.em-home-lower .footer-address p {
	margin: 0 0 15px;
	color: #eef2ed;
	font-size: 0.91rem;
	line-height: 1.65;
}

.em-home-lower .footer-address p:last-child {
	margin-bottom: 0;
}

.em-home-lower .footer-address a {
	color: #d4ead9;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.em-home-lower .footer-address a:hover,
.em-home-lower .footer-address a:focus-visible {
	color: #ffffff;
}

.em-home-lower .footer-address a:focus-visible {
	outline: 2px solid #a9d3b4;
	outline-offset: 3px;
}

/* ---------- Tablet ---------- */

@media (max-width: 940px) {
	.em-home-lower .em-team-grid {
		grid-template-columns: 1fr;
	}

	.em-home-lower .em-team-grid--single {
		max-width: none;
	}

	.em-home-lower .doctor-card {
		grid-template-columns: 170px minmax(0, 1fr);
	}

	.em-home-lower .doctor-card > .em-team-portrait {
		width: 170px;
		height: 255px;
	}

	.em-home-lower .testimonial-slider {
		grid-template-columns: 40px minmax(0, 1fr) 40px;
		gap: 10px;
	}

}

@media (max-width: 780px) {
	.em-editorial-grid,
	.em-editorial-grid--reverse {
		grid-template-columns: 1fr;
		gap: 34px;
		max-width: 640px;
	}

	.em-editorial-grid--reverse .em-editorial-figure {
		order: -1;
	}

	.em-editorial-copy {
		max-width: none;
	}

	.em-home-lower .testimonial-slider {
		grid-template-columns: repeat(2, 46px);
		grid-template-areas:
			"track track"
			"previous next";
		justify-content: center;
		gap: 18px 12px;
	}

	.em-home-lower .testimonial-track {
		grid-area: track;
		display: flex;
		gap: 14px;
		overflow-x: auto;
		padding: 2px 2px 14px;
		scroll-behavior: smooth;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.em-home-lower .testimonial.visible,
	.em-home-lower .testimonial.visible:nth-of-type(3n) {
		display: block;
		flex: 0 0 100%;
		height: auto;
		scroll-snap-align: center;
	}

	.em-home-lower .testimonial-arrow.left {
		grid-area: previous;
	}

	.em-home-lower .testimonial-arrow.right {
		grid-area: next;
	}

	.em-home-lower .footer-map-wrapper {
		grid-template-columns: 1fr;
	}

	.em-home-lower .footer-map,
	.em-home-lower .footer-map iframe {
		min-height: 300px;
	}

	.em-home-lower .footer-address {
		padding: 30px;
	}
}

/* ---------- Mobile ---------- */

@media (max-width: 600px) {
	.em-home-lower-section {
		padding: 54px 18px 60px;
	}

	.em-lower-section-header {
		margin-bottom: 29px;
	}

	.em-home-lower h2,
	.em-home-lower .welcome-text h2,
	.em-home-lower .doctors-header h2,
	.em-home-lower .testimonials-wrapper h2,
	.em-home-lower .founder-history-wrapper h2,
	.em-home-lower .health-priority-text h2,
	.em-home-lower .contact-wrapper h2,
	.em-home-lower .location-text h2 {
		font-size: clamp(1.82rem, 8vw, 2.28rem);
	}

	.em-lower-intro {
		font-size: 0.96rem;
		line-height: 1.62;
	}

	.em-home-lower .trusted-organisations {
		padding-top: 52px;
		padding-bottom: 54px;
	}

	.em-home-lower .trusted-logo-set {
		gap: 36px;
		padding-right: 36px;
	}

	.em-home-lower .trusted-logo-set img {
		width: 118px;
		height: 44px;
	}

	.em-home-lower .em-editorial-figure figcaption,
	.em-home-lower .welcome-image figcaption,
	.em-home-lower .founder-image-block figcaption {
		padding: 15px 17px 16px;
	}

	/* Medical Director: keep the portrait present but secondary on phones. */
	.em-home-lower .welcome-container {
		display: grid;
		grid-template-columns: 82px minmax(0, 1fr);
		column-gap: 17px;
		row-gap: 4px;
		align-items: start;
	}

	.em-home-lower .welcome-image {
		grid-column: 1;
		grid-row: 1 / span 2;
		align-self: start;
		justify-self: start;
		width: 82px;
		max-width: 82px;
		box-shadow: 0 6px 16px rgba(36, 54, 66, 0.1);
	}

	.em-home-lower .welcome-image img {
		width: 82px;
		height: 108px;
		object-fit: cover;
		object-position: center 18%;
	}

	.em-home-lower .welcome-image figcaption {
		display: none;
	}

	.em-home-lower .welcome-text {
		display: contents;
	}

	.em-home-lower .welcome-text .em-lower-eyebrow {
		grid-column: 2;
		grid-row: 1;
		align-self: end;
		margin: 0 0 3px;
		font-size: 0.67rem;
	}

	.em-home-lower .welcome-text h2 {
		grid-column: 2;
		grid-row: 2;
		align-self: start;
		margin: 0;
		font-size: clamp(1.48rem, 6.8vw, 1.82rem);
		line-height: 1.12;
	}

	.em-home-lower .welcome-text > p:not(.em-lower-eyebrow) {
		grid-column: 1 / -1;
	}

	.em-home-lower .welcome-text > p:nth-of-type(2) {
		margin-top: 17px;
	}

	.em-home-lower .doctors {
		padding-right: 18px;
		padding-left: 18px;
	}

	.em-home-lower .em-team-groups {
		margin-top: 34px;
	}

	.em-home-lower .doctor-card {
		grid-template-columns: 112px minmax(0, 1fr);
		gap: 17px;
		padding: 18px;
	}

	.em-home-lower .doctor-card > .em-team-portrait {
		width: 112px;
		height: 168px;
	}

	.em-home-lower .doctor-info h3 {
		font-size: 1.3rem;
	}

	.em-home-lower .toggle-bio {
		width: 100%;
		margin-top: 8px;
	}

	.em-home-lower .testimonial-highlight {
		margin-bottom: 28px;
	}

	.em-home-lower .testimonial {
		padding: 23px 21px;
	}

	.em-home-lower .google-reviews-section {
		padding: 42px 18px 54px;
	}

	.em-home-lower .contact-panel {
		padding: 31px 22px;
	}

	.em-home-lower .contact-form {
		grid-template-columns: 1fr;
		gap: 17px;
	}

	.em-home-lower .contact-field--full,
	.em-home-lower .contact-turnstile,
	.em-home-lower .contact-form > button {
		grid-column: auto;
	}

	.em-home-lower .contact-form > button {
		justify-self: stretch;
		width: 100%;
	}

	.em-home-lower .welcome-banner-bottom {
		padding: 28px 18px 30px;
	}

	.em-home-lower .location-note {
		padding: 48px 18px 22px;
	}

	.em-home-lower .footer-map-section {
		padding: 0 18px 54px;
	}

	.em-home-lower .footer-map,
	.em-home-lower .footer-map iframe {
		min-height: 260px;
	}

	.em-home-lower .footer-address {
		padding: 27px 24px;
	}
}

@media (max-width: 420px) {
	.em-home-lower .welcome-container {
		grid-template-columns: 74px minmax(0, 1fr);
		column-gap: 14px;
	}

	.em-home-lower .welcome-image,
	.em-home-lower .welcome-image img {
		width: 74px;
		max-width: 74px;
	}

	.em-home-lower .welcome-image img {
		height: 98px;
	}

	.em-home-lower .welcome-text h2 {
		font-size: clamp(1.38rem, 6.7vw, 1.65rem);
	}

	.em-home-lower .doctor-card {
		grid-template-columns: 92px minmax(0, 1fr);
		gap: 14px;
		padding: 16px;
	}

	.em-home-lower .doctor-card > .em-team-portrait {
		width: 92px;
		height: 138px;
	}

	.em-home-lower .doctor-info h3 {
		font-size: 1.2rem;
	}

	.em-home-lower .doctor-info > p {
		font-size: 0.81rem;
	}
}

/* ---------- Motion preference ---------- */

@media (prefers-reduced-motion: reduce) {
	.em-home-lower *,
	.em-home-lower *::before,
	.em-home-lower *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.em-home-lower .trusted-logo-marquee {
		overflow: visible;
	}

	.em-home-lower .trusted-logos,
	.em-home-lower .trusted-logo-set:first-child {
		width: 100%;
	}

	.em-home-lower .trusted-logos {
		animation: none;
	}

	.em-home-lower .trusted-logo-set:first-child {
		flex-wrap: wrap;
		justify-content: center;
		padding-right: 0;
	}

	.em-home-lower .trusted-logo-set[aria-hidden="true"] {
		display: none;
	}
}
/* ==================================================
   Legacy homepage CSS conflict resets
   ================================================== */

/* Allow the Meet the Team section to span the full page */
.em-home-lower .doctors {
	width: 100%;
	max-width: none;
	margin: 0;
}

/* Remove the old 720px restriction on the team photograph */
.em-home-lower .doctors-intro-image img {
	max-width: none;
}

/* Restore the carousel arrows to the new grid layout */
.em-home-lower .testimonial-arrow,
.em-home-lower .testimonial-arrow.left,
.em-home-lower .testimonial-arrow.right {
	position: static;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	transform: none;
}

/* Ensure the testimonial cards receive the available centre column */
.em-home-lower .testimonial-track {
	width: 100%;
}

/* ==================================================
   Compact mobile refinement — 13 September 2026
   ================================================== */

@media (max-width: 780px) {
	/* One complete testimonial card, with compact controls below. */
	.em-home-lower .testimonial-slider {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		grid-template-areas:
			"track track"
			"previous next";
		justify-content: stretch;
		gap: 14px 10px;
	}

	.em-home-lower .testimonial-track {
		grid-area: track;
		display: block;
		width: 100%;
		min-width: 0;
		overflow: hidden;
		padding: 0;
	}

	.em-home-lower .testimonial,
	.em-home-lower .testimonial.visible,
	.em-home-lower .testimonial.visible:nth-of-type(3n) {
		width: 100%;
		min-width: 0;
		height: auto;
	}

	.em-home-lower .testimonial-arrow {
		width: 40px;
		height: 40px;
		font-size: 1rem;
	}

	.em-home-lower .testimonial-arrow.left {
		grid-area: previous;
		justify-self: end;
	}

	.em-home-lower .testimonial-arrow.right {
		grid-area: next;
		justify-self: start;
	}
}

@media (max-width: 600px) {
	.em-home-lower-section {
		padding: 44px 16px 48px;
	}

	.em-lower-section-header {
		margin-bottom: 23px;
	}

	.em-home-lower h2,
	.em-home-lower .welcome-text h2,
	.em-home-lower .doctors-header h2,
	.em-home-lower .testimonials-wrapper h2,
	.em-home-lower .founder-history-wrapper h2,
	.em-home-lower .health-priority-text h2,
	.em-home-lower .contact-wrapper h2,
	.em-home-lower .location-text h2 {
		font-size: clamp(1.65rem, 7.2vw, 2.05rem);
		line-height: 1.12;
	}

	.em-home-lower .em-lower-eyebrow {
		margin-bottom: 8px;
		font-size: 0.68rem;
		letter-spacing: 0.14em;
	}

	.em-lower-intro {
		margin-top: 13px;
		font-size: 0.9rem;
		line-height: 1.54;
	}

	.em-home-lower .trusted-organisations {
		padding-top: 44px;
		padding-bottom: 46px;
	}

	.em-home-lower .trusted-logo-set {
		gap: 28px;
		padding-right: 28px;
	}

	.em-home-lower .trusted-logo-set img {
		width: 104px;
		height: 38px;
	}

	.em-editorial-grid,
	.em-editorial-grid--reverse {
		gap: 26px;
	}

	.em-editorial-copy h2 {
		margin-bottom: 18px;
	}

	.em-editorial-copy > p:not(.em-lower-eyebrow):not(.em-legacy-emphasis) {
		margin-bottom: 13px;
		font-size: 0.9rem;
		line-height: 1.58;
	}

	.em-home-lower .welcome-image,
	.em-home-lower .founder-image-block {
		max-width: 310px;
		margin-right: auto;
		margin-left: auto;
	}

	.em-home-lower .em-editorial-figure figcaption,
	.em-home-lower .welcome-image figcaption,
	.em-home-lower .founder-image-block figcaption {
		padding: 13px 15px 14px;
		font-size: 0.78rem;
	}

	.em-home-lower .em-editorial-figure figcaption strong {
		font-size: 0.9rem;
	}

	.em-home-lower .doctors {
		padding-right: 16px;
		padding-left: 16px;
	}

	.em-home-lower .em-team-groups {
		margin-top: 27px;
	}

	.em-home-lower .em-team-category {
		margin-top: 31px;
		margin-bottom: 14px;
		padding-top: 14px;
		font-size: 0.68rem;
	}

	.em-home-lower .doctor-card {
		grid-template-columns: 100px minmax(0, 1fr);
		gap: 14px;
		padding: 14px;
	}

	.em-home-lower .doctor-card > .em-team-portrait {
		width: 100px;
		height: 150px;
	}

	.em-home-lower .doctor-info h3 {
		font-size: 1.18rem;
	}

	.em-home-lower .doctor-info > p,
	.em-home-lower .doctor-description p,
	.em-home-lower .doctor-description li {
		font-size: 0.8rem;
		line-height: 1.5;
	}

	.em-home-lower .doctor-description {
		margin-top: 5px;
		margin-bottom: 10px;
	}

	.em-home-lower .toggle-bio {
		min-height: 39px;
		padding: 8px 13px;
		font-size: 0.78rem;
	}

	.em-home-lower .testimonial-highlight {
		margin: -3px auto 22px;
		font-size: 1rem;
		line-height: 1.48;
	}

	.em-home-lower .testimonial {
		padding: 20px 18px;
		font-size: 0.86rem;
		line-height: 1.56;
	}

	.em-home-lower .testimonial span {
		margin-top: 12px;
		font-size: 0.76rem;
	}

	.em-home-lower .google-reviews-section {
		padding: 32px 16px 42px;
	}

	.em-home-lower .em-legacy-emphasis {
		margin-top: 20px;
		padding-top: 14px;
		font-size: 1.05rem;
	}

	.em-home-lower .contact-panel {
		padding: 25px 18px;
	}

	.em-home-lower .contact-panel .em-lower-section-header {
		margin-bottom: 24px;
	}

	.em-home-lower .contact-panel .contact-lead {
		font-size: 0.88rem;
	}

	.em-home-lower .contact-field label {
		font-size: 0.79rem;
	}

	.em-home-lower .contact-field input,
	.em-home-lower .contact-field textarea {
		min-height: 44px;
		padding: 10px 12px;
		font-size: 0.92rem;
	}

	.em-home-lower .contact-field textarea {
		min-height: 116px;
	}

	.em-home-lower .welcome-banner-bottom {
		padding: 24px 16px 26px;
	}

	.em-home-lower .welcome-country > p:last-child {
		font-size: 0.84rem;
		line-height: 1.55;
	}

	.em-home-lower .location-note {
		padding: 40px 16px 18px;
	}

	.em-home-lower .location-text .location-lead,
	.em-home-lower .location-text > p:last-child {
		font-size: 0.88rem;
	}

	.em-home-lower .footer-map-section {
		padding: 0 16px 46px;
	}

	.em-home-lower .footer-map,
	.em-home-lower .footer-map iframe {
		min-height: 230px;
	}

	.em-home-lower .footer-address {
		padding: 23px 20px;
	}

	.em-home-lower .footer-address h3 {
		font-size: 1.25rem;
	}

	.em-home-lower .footer-address p {
		font-size: 0.84rem;
	}
}

@media (max-width: 380px) {
	.em-home-lower .doctor-card {
		grid-template-columns: 88px minmax(0, 1fr);
		gap: 12px;
		padding: 12px;
	}

	.em-home-lower .doctor-card > .em-team-portrait {
		width: 88px;
		height: 132px;
	}
}

/* Keep the Medical Director heading compact after the general mobile rules. */
@media (max-width: 600px) {
	.em-home-lower .welcome-text .em-lower-eyebrow {
		margin: 0 0 3px;
		font-size: 0.67rem;
	}

	.em-home-lower .welcome-text h2 {
		margin: 0;
		font-size: clamp(1.48rem, 6.8vw, 1.82rem);
		line-height: 1.12;
	}
}

@media (max-width: 420px) {
	.em-home-lower .welcome-text h2 {
		font-size: clamp(1.38rem, 6.7vw, 1.65rem);
	}
}
