/*
 * WordPress-only additions on top of main.css (the reference build's own
 * stylesheet, kept unmodified). Keep this file small: anything visual that
 * the reference already styles belongs to main.css.
 */

/* The brand shows the full logo image instead of the reference's icon + wordmark. */
.brand-logo {
	display: block;
	height: 52px;
	width: auto;
}

/* Footer brand keeps the reference brand block's 39px height. */
.footer-brand .brand-logo {
	height: 39px;
}

/* A site that shows its name instead of a logo (the "brand_text" setting). */
.brand-text {
	color: var(--navy);
	font: 800 22px/1.1 Manrope, sans-serif;
	letter-spacing: -0.01em;
	white-space: nowrap;
}
.footer-brand .brand-text {
	color: #fff;
}
@media (max-width: 480px) {
	.brand-text {
		font-size: 18px;
	}
}

/* Sticky header sits below the admin bar for logged-in editors. */
.admin-bar .header {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar .header {
		top: 46px;
	}
}
@media (max-width: 600px) {
	.admin-bar .header {
		top: 0;
	}
}

/* Mobile menu button swaps between the menu and close icons. */
.menu-button > span {
	display: block;
	line-height: 0;
}
.menu-button__close,
.menu-button[aria-expanded="true"] .menu-button__open {
	display: none !important;
}
.menu-button[aria-expanded="true"] .menu-button__close {
	display: block !important;
}

/* Spam trap on lead forms — hidden from people, visible to bots. */
.booking-form__hp {
	height: 1px;
	left: -9999px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
}
.booking-form {
	position: relative;
}
.booking-form button[disabled] {
	cursor: wait;
	opacity: 0.7;
}

/* The reference hides inactive steps/panels by not rendering them; here they are [hidden]. */
.apply-step[hidden],
.track-panel[hidden] {
	display: none;
}

/*
 * Photo slots added from the imagery brief (not in the reference design):
 * About facility + technology, Contact, and each centre's exterior/interior.
 */
.photo-wide {
	border-radius: 6px;
	box-shadow: 0 15px 40px #0d2a3314;
	display: block;
	height: 440px;
	margin: 0 0 60px;
	object-fit: cover;
	width: 100%;
}
.band .photo-wide {
	height: 380px;
	margin: 34px 0 0;
}
.article-layout .photo-wide {
	height: 300px;
	margin: 0 0 32px;
}
.photo-pair {
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr 1fr;
	margin-bottom: 24px;
}
.centre-photo {
	border-radius: 6px;
	display: block;
	height: 220px;
	object-fit: cover;
	width: 100%;
}
@media (max-width: 780px) {
	.photo-wide {
		height: 240px;
		margin-bottom: 36px;
	}
	.band .photo-wide,
	.article-layout .photo-wide {
		height: 220px;
	}
	.photo-pair {
		grid-template-columns: 1fr;
	}
}

/* Doctor stats band shows only the stats a doctor has data for. */
.stats[data-count="3"] {
	grid-template-columns: repeat(3, 1fr);
}
.stats[data-count="2"] {
	grid-template-columns: repeat(2, 1fr);
}
.stats[data-count="1"] {
	grid-template-columns: 1fr;
}
@media (max-width: 780px) {
	.stats[data-count="3"] {
		grid-template-columns: repeat(2, 1fr);
	}
}

/*
 * Photos render as real <img> elements (indexable, alt text, responsive srcset)
 * filling the same boxes the reference styles as background images.
 */
.ic-cover {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}
.doctor-image .ic-cover {
	object-position: center 18%;
}
/* The doctors listing's photo is a plain <img> (as in the reference): fill the card's width, same crop. */
img.doctor-image {
	display: block;
	object-fit: cover;
	object-position: center 18%;
	width: 100%;
}
.fellowship-faculty-photo .ic-cover {
	border-radius: 50%;
	object-position: center 20%;
}

/*
 * Article bodies written in the editor (including the articles carried over
 * from the old iclinix.in): images, embeds and tables stay inside the column.
 */
.article-layout article img,
.article-layout article video,
.article-layout article iframe {
	height: auto;
	max-width: 100%;
}
.article-layout article iframe {
	aspect-ratio: 16 / 9;
	width: 100%;
}
.article-layout article figure {
	margin: 28px 0;
}
.article-layout article figcaption {
	color: #667085;
	font-size: 0.875rem;
	margin-top: 8px;
}
.article-layout article ul,
.article-layout article ol {
	list-style: disc;
	margin: 0 0 20px;
	padding-left: 1.4em;
}
.article-layout article ol {
	list-style: decimal;
}
.article-layout article li {
	margin-bottom: 8px;
}
.article-layout article table {
	border-collapse: collapse;
	display: block;
	margin: 24px 0;
	overflow-x: auto;
	width: 100%;
}
.article-layout article th,
.article-layout article td {
	border: 1px solid rgba(0, 0, 0, 0.12);
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}
.article-layout article h3 {
	font-size: 1.25rem;
	font-weight: 700;
	margin-top: 26px;
}
.article-layout article p a,
.article-layout article li a,
.article-layout article td a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/*
 * Card titles and step numbers keep the reference's h3 / <b> look but render as
 * role="heading" / <span>: pages list dozens of cards, and SEO checkers flag that
 * many heading and bold tags. Screen readers still announce the titles as headings.
 */
.ic-h3 {
	display: block;
	font-family: Manrope, sans-serif;
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.005em;
	line-height: 1.12;
	margin: 0 0 18px;
}
.card-copy .ic-h3 {
	color: var(--navy);
	font-size: 16px;
	margin: 10px 0 8px;
}
.doctor-card .ic-h3 {
	color: var(--navy);
	margin: 5px 0 8px;
}
.rich-grid .ic-h3 {
	color: var(--navy);
	margin: 12px 0 8px;
}
.rich-grid.article-cards .ic-h3 {
	min-height: 48px;
}
.journey .ic-h3 {
	color: #fff;
	margin: 14px 0 8px;
}
.footer-grid .ic-h3 {
	color: #7dd0c2;
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.rich-grid .ic-num {
	color: var(--teal);
	font: 800 12px Manrope;
	letter-spacing: 0.15em;
}
.journey .ic-num {
	color: var(--teal-2);
	display: block;
	font: 800 14px Manrope;
	letter-spacing: 0.14em;
}

/* Whole card clickable; the link itself is only the title. */
.ic-link-card {
	position: relative;
}
.ic-stretched::after {
	content: "";
	inset: 0;
	position: absolute;
	z-index: 1;
}
.ic-stretched:focus-visible {
	outline: none;
}
.ic-stretched:focus-visible::after {
	border-radius: 6px;
	outline: 2px solid var(--teal);
	outline-offset: -2px;
}

/*
 * Extra sections on treatment pages (template-parts/treatment-section.php):
 * the reference's own grids, a three-card row across the full width, room
 * under the sticky header when a link jumps to one, and a highlighted note.
 */
@media (min-width: 1101px) {
	.compare-grid[data-count="3"] {
		grid-template-columns: repeat(3, 1fr);
	}
}
.ic-extra-section {
	scroll-margin-top: 110px;
}
.section-head + .ic-extra-list,
.compare-grid + .ic-extra-list {
	margin-top: 20px;
}
.ic-note {
	background: #eef7f4;
	border-left: 3px solid var(--teal);
	margin-top: 24px;
	padding: 18px 22px;
}
.ic-note p {
	color: var(--ink);
	margin: 0;
}
.ic-extra-link {
	margin-top: 24px;
}

/*
 * Testimonials: Instagram reels in a swipeable row of phone-width cards
 * (Instagram's player needs at least 326px), arrows when the row overflows.
 */
.ic-reels {
	position: relative;
}
.ic-reels__track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	padding: 6px 2px 18px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.ic-reels__track::-webkit-scrollbar {
	display: none;
}
.ic-reel {
	flex: 0 0 340px;
	margin: 0;
	scroll-snap-align: start;
}
.ic-reel__frame {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: 0 15px 40px #0d2a3314;
	overflow: hidden;
}
.ic-reel iframe {
	border: 0;
	display: block;
	height: 760px;
	width: 100%;
}
.ic-reels__nav {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 6px;
}
.ic-reels__nav[hidden] {
	display: none;
}
.ic-reels__nav button {
	align-items: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--navy);
	cursor: pointer;
	display: inline-flex;
	height: 44px;
	justify-content: center;
	width: 44px;
}
.ic-reels__nav button:hover:not(:disabled) {
	border-color: var(--teal);
	color: var(--teal);
}
.ic-reels__nav button:disabled {
	cursor: default;
	opacity: 0.35;
}
@media (max-width: 780px) {
	.ic-reel {
		flex-basis: min(340px, 86vw);
	}
}
/* YouTube Shorts: a 9:16 card, thumbnail + play button until tapped, then the player. */
.ic-reel--youtube {
	flex-basis: 280px;
}
.ic-reel--youtube .ic-reel__frame {
	aspect-ratio: 9 / 16;
	background: var(--navy);
}
.ic-reel--youtube iframe {
	height: 100%;
}
.ic-yt {
	background: none;
	border: 0;
	cursor: pointer;
	display: block;
	height: 100%;
	padding: 0;
	position: relative;
	width: 100%;
}
.ic-yt img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}
.ic-yt__play {
	align-items: center;
	background: #ffffffe6;
	border-radius: 50%;
	box-shadow: 0 8px 24px #0d2a3340;
	color: var(--teal);
	display: flex;
	height: 64px;
	justify-content: center;
	left: 50%;
	padding-left: 4px;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: transform 0.2s;
	width: 64px;
}
.ic-yt:hover .ic-yt__play,
.ic-yt:focus-visible .ic-yt__play {
	transform: translate(-50%, -50%) scale(1.08);
}
.ic-yt__play svg {
	fill: currentColor;
}
.ic-reel figcaption,
.ic-gallery__item figcaption {
	color: var(--muted);
	font-size: 14px;
	margin-top: 10px;
}

/* Gallery: editor-picked photos in a square-cropped grid. */
.ic-gallery {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.ic-gallery__item {
	margin: 0;
}
.ic-gallery__img {
	aspect-ratio: 1;
	border-radius: 6px;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

/*
 * Blog: the featured image opens each article and tops each card on /blog/
 * (not in the reference design). Cards without one get a plain panel so the
 * grid stays even.
 */
.article-layout .ic-article-photo {
	aspect-ratio: auto;
	height: auto;
	object-fit: contain;
}
/* Featured images are mostly 3:2 graphics with text to the edges: shown whole, never zoomed or cut. */
.ic-card-photo {
	align-items: center;
	aspect-ratio: 3 / 2;
	background: #e7f4f1;
	border-radius: 4px;
	color: var(--teal);
	display: flex;
	justify-content: center;
	margin-bottom: 16px;
	overflow: hidden;
}
.ic-card-photo:has(.ic-card-photo__img) {
	background: #fff;
}
.ic-card-photo__img {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

/* Treatment hero: the secondary link reads on any photo (the reference's teal vanishes on the dark overlay). */
.treatment-hero .hero-actions .text-link {
	color: #fff;
}

/* Home trust band: the headline numbers read at a glance. */
.stats--lead {
	padding-bottom: 36px;
	padding-top: 36px;
}
.stats--lead b {
	font-size: clamp(26px, 3vw, 40px);
	line-height: 1.1;
}
.stats--lead span {
	font-size: clamp(13px, 1.1vw, 16px);
	margin-top: 8px;
}

/* Patient video strip: the Testimonials videos on other pages. */
.ic-video-strip .section-head p {
	align-self: end;
}

/* Blog: filter chips are links; page links under the cards. */
a.chip {
	display: inline-block;
	text-decoration: none;
}
.ic-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 40px;
}
.ic-pagination .page-numbers {
	align-items: center;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink);
	display: inline-flex;
	font-size: 13px;
	font-weight: 700;
	justify-content: center;
	min-width: 40px;
	padding: 10px 14px;
	text-decoration: none;
}
.ic-pagination a.page-numbers:hover {
	border-color: var(--teal);
	color: var(--teal);
}
.ic-pagination .page-numbers.current {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}
.ic-pagination .page-numbers.dots {
	background: none;
	border-color: transparent;
	min-width: 0;
	padding: 10px 2px;
}
.ic-sr-only {
	clip: rect(0 0 0 0);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

/*
 * Insurer strip (template-parts/insurer-marquee.php): the list twice in one
 * track that slides left by half its width, so the loop is seamless. The
 * edges fade; hover or focus pauses it; reduced motion shows a still,
 * swipeable row instead.
 */
.ic-marquee-band {
	background: #fff;
	border-bottom: 1px solid var(--line);
	padding: 26px 0 30px;
}
.ic-marquee-head {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	justify-content: space-between;
	margin-bottom: 16px;
}
.ic-marquee {
	-webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
	overflow: hidden;
}
.section-head + .ic-marquee {
	margin-bottom: 28px;
}
.ic-marquee__track {
	animation: ic-marquee var(--ic-marquee-duration, 90s) linear infinite;
	display: flex;
	width: max-content;
}
.ic-marquee:hover .ic-marquee__track,
.ic-marquee:focus-within .ic-marquee__track {
	animation-play-state: paused;
}
.ic-marquee__list {
	display: flex;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0 12px 0 0;
}
.ic-marquee__list .tpa-chip {
	white-space: nowrap;
}
@keyframes ic-marquee {
	to {
		transform: translateX(-50%);
	}
}
@media (prefers-reduced-motion: reduce) {
	.ic-marquee {
		-webkit-mask-image: none;
		mask-image: none;
		overflow-x: auto;
	}
	.ic-marquee__track {
		animation: none;
	}
	.ic-marquee__list[aria-hidden="true"] {
		display: none;
	}
}

/*
 * Readability pass (2026-09-30). The reference's small, pale type raised to
 * comfortable sizes and WCAG AA contrast (4.5:1) — same layout, same look.
 * Before: kickers 11px #51c2ae (1.9:1), card text 12–13px, credentials 11px,
 * grey text #5d7478 (4.3:1 on the pale bands), footer 11–13px.
 */
:root {
	--muted: #46616a;
}
.eyebrow,
.kicker {
	font-size: 12px;
}
.kicker {
	color: #0a756c;
}
/* On the dark bands the kicker keeps its light teal. */
.journey-band .kicker,
.locations-band .kicker,
.treatment-hero .kicker {
	color: #7ad8c8;
}
.button,
.phone-link,
.text-link,
.hero-call {
	font-size: 14px;
}
.topline {
	font-size: 12.5px;
}
.breadcrumbs .container {
	font-size: 13px;
}
.stats span,
.stats-inline > div span {
	font-size: 13.5px;
}
.card-copy p {
	font-size: 14.5px;
}
.card-copy small {
	font-size: 11px;
}
.doctor-card p {
	font-size: 14px;
}
.credential-line {
	color: var(--muted);
	font-size: 12.5px;
}
.rich-grid p,
.curriculum-grid p {
	font-size: 15px;
	line-height: 1.55;
}
.compare-grid > div p {
	font-size: 15px;
}
.compare-grid > div small {
	font-size: 13.5px;
}
.side-note p,
.centre-card p,
.fellowship-card > p,
.reception-tools p {
	font-size: 15px;
}
.centre-strip a span,
.centre-facts p,
.centre-facts small,
.contact-centres p,
.contact-centres small,
.doctor-enquiry p,
.testimonial cite,
.check-list.compact li,
.disclosure {
	font-size: 14px;
}
.centre-card small {
	color: var(--muted);
	font-size: 13px;
}
.centre-index,
.location-list span {
	font-size: 12px;
}
.side-note > a {
	font-size: 14px;
}
.tag-list .cred-tag,
.tag-list a,
.chip,
.fellowship-lead,
.apply-stepper .step {
	font-size: 13px;
}
.track-tab {
	font-size: 14px;
}
.booking-form label {
	font-size: 13px;
}
.form-error,
.form-note {
	font-size: 12.5px;
}
.footer-grid p,
.footer-grid > a,
.footer-grid > div > a {
	font-size: 14px;
}
.footer-bottom {
	color: #a9c8c4;
	font-size: 12.5px;
}
/*
 * Numbered steps outside the home page's dark band (treatment procedure,
 * insurance process): the reference styles them for a dark background, which
 * left white titles and pale text on a light one (1.1–1.5:1).
 */
.section .journey > div,
.band .journey > div {
	background: #fff;
	border: 1px solid var(--line);
	border-left: 3px solid var(--teal-2);
}
.section .journey b,
.band .journey b {
	color: var(--teal);
}
.section .journey h3,
.band .journey h3 {
	color: var(--navy);
}
.section .journey p,
.band .journey p {
	color: var(--muted);
	font-size: 14.5px;
	line-height: 1.55;
}
.journey-band .journey p {
	font-size: 14px;
}
/* Doctors listing: breathing room between the lead paragraph and the cards. */
.intro-copy {
	margin-bottom: 44px;
}

/*
 * Intro band with a photo beside the heading (template-parts/page-intro.php,
 * centre pages): text left, photo right; stacked on narrow screens.
 */
.page-intro--photo .container {
	align-items: center;
	display: grid;
	gap: 56px;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}
.page-intro--photo h1 {
	font-size: clamp(2.2rem, 3.6vw, 3.6rem);
}
.page-intro__photo {
	aspect-ratio: 4 / 3;
	border-radius: 10px;
	box-shadow: var(--shadow);
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}
@media (max-width: 900px) {
	.page-intro--photo .container {
		gap: 30px;
		grid-template-columns: 1fr;
	}
}

/* Gallery: a photo opens full size; previous/next, swipe, arrow keys, Esc (assets/js/main.js). */
.ic-gallery__link {
	cursor: zoom-in;
	display: block;
}
.ic-gallery__link:hover .ic-gallery__img {
	opacity: 0.9;
}
.ic-lightbox {
	align-items: center;
	background: #081c22f2;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 56px 72px;
	position: fixed;
	z-index: 1000;
}
.ic-lightbox[hidden] {
	display: none;
}
.ic-lightbox figure {
	margin: 0;
	max-height: 100%;
	text-align: center;
}
.ic-lightbox img {
	border-radius: 6px;
	display: block;
	max-height: calc(100vh - 150px);
	max-width: 100%;
	object-fit: contain;
}
.ic-lightbox figcaption {
	color: #d6ebe8;
	font-size: 15px;
	margin-top: 14px;
}
.ic-lightbox button {
	align-items: center;
	background: #ffffff1f;
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: flex;
	height: 48px;
	justify-content: center;
	position: absolute;
	width: 48px;
}
.ic-lightbox button:hover,
.ic-lightbox button:focus-visible {
	background: #ffffff40;
}
.ic-lightbox__close {
	right: 20px;
	top: 20px;
}
.ic-lightbox__prev {
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
}
.ic-lightbox__next {
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
}
@media (max-width: 780px) {
	.ic-lightbox {
		padding: 64px 12px;
	}
	.ic-lightbox__prev,
	.ic-lightbox__next {
		bottom: 18px;
		top: auto;
		transform: none;
	}
}

/*
 * Two-column layouts: a column never grows to fit a wide child (the video row
 * scrolls instead), so the side panel keeps its share.
 */
.article-layout > * {
	min-width: 0;
}
/*
 * Booking form inside a side panel (treatment, centre, doctor, International
 * pages): the panel is already the card, so the form drops its own card — no
 * doubled padding, full-width fields and button.
 */
.side-note .booking-form,
.doctor-enquiry .booking-form {
	background: none;
	border-top: 0;
	box-shadow: none;
	margin-top: 18px;
	padding: 0;
}
.booking-form input,
.booking-form select,
.booking-form textarea {
	box-sizing: border-box;
	width: 100%;
}
.booking-form button[type="submit"] {
	justify-content: center;
	width: 100%;
}

/* About — founder story (template-parts/founder-story.php, story-section.php). */
.founder-hero--photo {
	align-items: center;
	display: grid;
	gap: 56px;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}
.founder-hero__photo {
	aspect-ratio: 4 / 5;
	border-radius: 10px;
	box-shadow: var(--shadow);
	display: block;
	height: auto;
	object-fit: cover;
	object-position: center top;
	width: 100%;
}
.founder-hero__tagline {
	color: var(--teal);
	font-size: 15px;
	font-weight: 700;
	margin: 18px 0 0;
}
.founder-hero .hero-actions {
	margin-top: 26px;
}
.story-section__lede {
	color: var(--muted);
	font-size: 18px;
	line-height: 1.6;
	margin: 14px 0 28px;
	max-width: 760px;
}
.story-section__text {
	line-height: 1.75;
	max-width: 780px;
}
.story-section .compare-grid + .story-section__text {
	margin-top: 28px;
}
.story-section__list {
	margin-top: 22px;
	max-width: 860px;
}
.founder-quote .testimonial p {
	font-size: 19px;
	line-height: 1.6;
}
@media (max-width: 900px) {
	.founder-hero--photo {
		gap: 30px;
		grid-template-columns: 1fr;
	}
}

/* Blog article: publish date and medical reviewer under the title; side cards stacked. */
.article-meta {
	align-items: center;
	color: var(--muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 15px;
	gap: 8px 22px;
	margin-top: 18px;
}
.article-meta span {
	align-items: center;
	display: inline-flex;
	gap: 6px;
}
.article-meta svg {
	color: var(--teal);
}
.article-meta a {
	color: var(--teal);
	font-weight: 700;
}
/* End of an article: the reviewing doctor. */
.article-reviewer {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: var(--shadow);
	display: grid;
	gap: 24px;
	grid-template-columns: 140px 1fr;
	margin-top: 40px;
	padding: 24px;
}
.article-reviewer__photo {
	align-self: start;
	aspect-ratio: 4 / 5;
	border-radius: 6px;
	display: block;
	overflow: hidden;
	position: relative;
}
.article-reviewer__photo .ic-cover {
	height: 100%;
	inset: 0;
	object-fit: cover;
	object-position: center 18%;
	position: absolute;
	width: 100%;
}
.article-reviewer .kicker {
	align-items: center;
	display: inline-flex;
	gap: 6px;
}
.article-reviewer h3 {
	font-size: 24px;
	margin: 6px 0 4px;
}
.article-reviewer h3 a {
	color: var(--ink);
}
.article-reviewer p {
	color: var(--muted);
	font-size: 16px;
	line-height: 1.6;
	margin: 0 0 10px;
}
.article-reviewer .article-reviewer__specialty {
	color: var(--teal);
	font-weight: 700;
	margin-bottom: 2px;
}
.article-reviewer .article-reviewer__credentials {
	font-size: 14px;
}
@media (max-width: 600px) {
	.article-reviewer {
		grid-template-columns: 96px 1fr;
		gap: 16px;
		padding: 18px;
	}
	.article-reviewer h3 {
		font-size: 20px;
	}
}
.article-aside {
	align-self: start;
	display: grid;
	gap: 24px;
}
.article-aside .side-note {
	margin-top: 0;
}

/* Paragraph spacing in long text (the reference gives .large-copy no margin, so paragraphs ran together). */
.story-section__text,
.article-layout article > p {
	margin: 0 0 18px;
}
.story-section__text:last-child,
.article-layout article > p:last-child {
	margin-bottom: 0;
}

/* Diabetic Eye Trust page. */
.trust-vm__grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 16px;
}
.trust-vm__card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-left: 4px solid var(--teal);
	border-radius: 8px;
	box-shadow: var(--shadow);
	padding: 28px 30px;
}
.trust-vm__card h2 {
	font-size: clamp(22px, 2.2vw, 28px);
	margin: 0 0 10px;
}
.trust-vm__card p {
	color: var(--ink);
	font-size: 18px;
	line-height: 1.6;
	margin: 0;
}
.trust-impact__stats {
	background: var(--paper);
	border-radius: 10px;
	box-shadow: var(--shadow);
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 26px 0;
	padding: 30px 28px;
}
.trust-impact__stats b {
	color: var(--teal);
}
.trust-quotes__grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.trust-quotes .testimonial p {
	font-size: 18px;
	line-height: 1.6;
}
.trust-partner__grid {
	align-items: start;
	display: grid;
	gap: 48px;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
.trust-partner h3 {
	margin: 28px 0 6px;
}
.trust-partner__form {
	margin-top: 0;
}
.trust-partner__contact {
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 15px;
	line-height: 1.7;
	margin: 22px 0 0;
	padding-top: 16px;
}
@media (max-width: 900px) {
	.trust-vm__grid,
	.trust-quotes__grid,
	.trust-partner__grid {
		grid-template-columns: 1fr;
	}
	.trust-impact__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Trust page (2026-11 review): pathways, badges, about, photos, icons, team, logos. */
#about,
#impact,
#team,
#stories,
#partner,
.story-section[id],
.trust-partner__target {
	scroll-margin-top: 90px;
}
.trust-partner {
	position: relative;
}
.trust-partner__target {
	display: block;
	height: 0;
	position: absolute;
	top: 0;
}
.page-intro .hero-actions {
	gap: 12px;
}
.trust-badges {
	display: flex;
	flex-basis: 100%;
	flex-wrap: wrap;
	gap: 8px 22px;
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
}
.trust-badges li {
	align-items: center;
	color: var(--navy);
	display: inline-flex;
	font-size: 14px;
	font-weight: 600;
	gap: 7px;
}
.trust-badges svg,
.trust-logos__badge svg {
	color: var(--teal);
	flex: none;
}
.trust-about__grid {
	align-items: start;
	display: grid;
	gap: 56px;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}
.trust-about__parts {
	display: grid;
	gap: 16px;
	margin-top: 34px;
}
.trust-about__parts > div {
	background: var(--paper);
	border: 1px solid var(--line);
	border-left: 4px solid var(--teal);
	border-radius: 8px;
	padding: 20px 24px;
}
.trust-about__parts h3 {
	font-size: 18px;
	margin: 0 0 6px;
}
.trust-about__parts p {
	color: var(--ink);
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
}
.story-section__text strong,
.story-section__lede strong {
	color: var(--navy);
	font-weight: 700;
}

/* Impact: photos, then large numbers with icons. */
.trust-impact__photos {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
	margin: 26px 0 0;
}
.trust-impact__photos[data-count="1"] { --cols: 1; }
.trust-impact__photos[data-count="2"] { --cols: 2; }
.trust-impact__photos[data-count="3"] { --cols: 3; }
.trust-impact__photos figure {
	margin: 0;
}
.trust-impact__photo {
	aspect-ratio: 16 / 10;
	border-radius: 8px;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}
.trust-impact__photos figcaption {
	color: var(--muted);
	font-size: 13px;
	margin-top: 6px;
}
.trust-impact__stats > div {
	display: flex;
	flex-direction: column;
}
.trust-impact__stats b {
	font: 800 clamp(30px, 3vw, 42px) / 1.1 Manrope, sans-serif;
	font-variant-numeric: tabular-nums;
}
.trust-impact__stats span {
	font-size: 14px;
	line-height: 1.45;
}
.trust-impact__icon,
.story-card__icon,
.trust-path__icon {
	align-items: center;
	background: var(--mint);
	border-radius: 50%;
	color: var(--teal);
	display: inline-flex;
	flex: none;
	font-style: normal;
	height: 42px;
	justify-content: center;
	margin-bottom: 12px;
	width: 42px;
}

/* Story sections: photo beside the text, stat callouts, cards with photos and icons. */
.story-section__split {
	align-items: center;
	display: grid;
	gap: 56px;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}
.story-section__photo {
	aspect-ratio: 4 / 3;
	border-radius: 10px;
	box-shadow: var(--shadow);
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}
.story-stats {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	margin: 26px 0 8px;
}
.story-stats > div {
	background: var(--paper);
	border: 1px solid var(--line);
	border-top: 3px solid var(--teal);
	border-radius: 8px;
	padding: 16px 18px;
}
.story-stats b {
	color: var(--teal);
	display: block;
	font: 800 24px / 1.15 Manrope, sans-serif;
}
.story-stats span {
	color: var(--ink);
	display: block;
	font-size: 14px;
	line-height: 1.45;
	margin-top: 6px;
}
.story-card__index--icon {
	align-items: center;
	display: flex;
	gap: 12px;
}
.story-card__index .story-card__icon {
	margin-bottom: 0;
}
.compare-grid > .story-card--photo {
	overflow: hidden;
	padding: 0;
}
.story-card__photo {
	aspect-ratio: 16 / 10;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}
.story-card--photo .story-card__body {
	padding: 22px 24px 24px;
}

/* Team. */
.trust-team__grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr));
	margin-top: 30px;
}
.trust-member {
	align-items: start;
	background: var(--paper);
	border-radius: 10px;
	box-shadow: var(--shadow);
	display: grid;
	gap: 26px;
	grid-template-columns: 200px minmax(0, 1fr);
	padding: 22px;
}
.trust-member__photo {
	aspect-ratio: 4 / 5;
	border-radius: 8px;
	display: block;
	height: auto;
	object-fit: cover;
	object-position: top;
	width: 100%;
}
.trust-member h3 {
	font-size: 22px;
	margin: 4px 0 4px;
}
.trust-member p {
	color: var(--ink);
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 10px;
}
.trust-member .trust-member__role {
	color: var(--teal);
	font-weight: 700;
}
.trust-member .trust-member__credentials {
	color: var(--muted);
	font-size: 14px;
}

/* Quotes with an optional portrait. */
.testimonial--photo {
	align-items: flex-start;
	display: flex;
	gap: 18px;
}
.trust-quote__photo {
	border-radius: 50%;
	flex: none;
	height: 64px;
	object-fit: cover;
	width: 64px;
}

/* Partner: pathway cards, photo, form. */
.trust-partner__title {
	max-width: 860px;
}
.trust-partner__lede {
	max-width: 820px;
}
.trust-paths {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 30px 0 46px;
}
.trust-path {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	padding: 24px;
}
.trust-path h3 {
	font-size: 19px;
	margin: 0 0 8px;
}
.trust-path p {
	color: var(--ink);
	flex: 1;
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 14px;
}
.trust-path .text-link,
.trust-impact .text-link {
	align-items: center;
	display: inline-flex;
	font-weight: 700;
	gap: 6px;
}
.trust-partner__photo {
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	display: block;
	height: auto;
	margin-bottom: 8px;
	object-fit: cover;
	width: 100%;
}
.trust-partner .button-outline {
	align-items: center;
	margin-top: 22px;
}

/* Partner & accreditation logos above the footer. */
.trust-logos {
	padding-bottom: 60px;
	padding-top: 60px;
	text-align: center;
}
.trust-logos h2 {
	font-size: clamp(22px, 2.2vw, 28px);
}
.trust-logos__list {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 14px 18px;
	justify-content: center;
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
}
.trust-logos__list > li {
	align-items: center;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--navy);
	display: inline-flex;
	font: 700 15px Manrope, sans-serif;
	gap: 8px;
	min-height: 64px;
	padding: 12px 22px;
}
.trust-logos__list a {
	color: inherit;
}
.trust-logos__img {
	display: block;
	height: auto;
	max-height: 48px;
	max-width: 160px;
	width: auto;
}

/* Header's second button (e.g. "Book a screening"): wide screens only — phones have the bottom bar. */
@media (max-width: 1240px) {
	.header-cta2 {
		display: none;
	}
}

@media (max-width: 900px) {
	.trust-about__grid,
	.story-section__split,
	.trust-paths {
		grid-template-columns: 1fr;
	}
	.trust-about__grid,
	.story-section__split {
		gap: 28px;
	}
	.trust-about__parts {
		margin-top: 0;
	}
	.trust-impact__photos {
		--cols: 2;
	}
	.trust-member {
		grid-template-columns: 1fr;
	}
	.trust-member__photo {
		max-width: 260px;
	}
}
/*
 * A site whose header shows its name as text, or a wide logo with a small tagline
 * (diabeticeyeclinic.org): the logo is drawn larger so the tagline stays readable, and
 * on small phones it leaves no room for the header button — the bottom bar carries the same link.
 */
.brand-logo--wide {
	height: 58px;
}
.footer-brand .brand-logo--wide {
	height: 56px;
}
@media (max-width: 480px) {
	.brand-logo--wide {
		height: 48px;
	}
	.navwrap:has(.brand-text, .brand-logo--wide) .navactions .button-primary {
		display: none;
	}
}
@media (max-width: 600px) {
	.page-intro .hero-actions .button {
		justify-content: center;
		width: 100%;
	}
	.trust-impact__stats b {
		font-size: 28px;
	}
}

/* Header menu: keep each label on one line ("Diabetic Eye Trust" wrapped at ~1024px). */
.nav a {
	white-space: nowrap;
}

/*
 * The booking form beside a doctor's, centre's, treatment's, contact or international
 * page stays in view while the page scrolls — on wide screens, where it sits in its own
 * column. Below the sticky header (77px) when the whole form (~650px) fits on screen;
 * on a shorter window it sits higher, so its fields and Send button stay visible.
 * Not on blog articles: their side panels sit inside .article-aside, which this skips.
 */
@media (min-width: 1101px) and (min-height: 600px) {
	.doctor-content > .doctor-enquiry,
	.article-layout > .doctor-enquiry,
	.article-layout > .side-note {
		position: sticky;
		top: min(97px, calc(100vh - 680px));
	}
}
