/* Fonts hosted on this site (Open Sans and PT Serif, SIL Open Font Licence) */
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/open-sans-latin-variable.woff2') format('woff2'); }
@font-face { font-family: 'PT Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/pt-serif-latin-400.woff2') format('woff2'); }
@font-face { font-family: 'PT Serif'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/pt-serif-latin-700.woff2') format('woff2'); }

/* =====================================================================
   Sefton Acupuncture Clinic
   ===================================================================== */

:root {
	--teal: #5ED2B4;          /* brand turquoise */
	--teal-hover: #4CC4A5;
	--on-teal: #103D57;       /* text on turquoise */
	--mint: #C6ECE0;          /* brand pale turquoise */
	--mint-soft: #E6F6F0;     /* page background tint */
	--sage: #7E9C86;          /* from the clinic's social posts */
	--sage-soft: #E5EDE7;
	--blue: #21A2DE;          /* brand blue: headings */
	--navy: #1A6692;          /* brand dark blue: small text, links */
	--gradient: linear-gradient(120deg, #1FA98B 0%, #1E86C4 100%);
	--deep: radial-gradient(circle at 88% 12%, rgba(94, 210, 180, .32), transparent 48%), #1A6692;
	--amber: #F2A23A;         /* review stars */
	--ink: #26343B;
	--muted: #5E6C73;
	--line: #DCE9E4;
	--white: #FFFFFF;
	--radius: 16px;
	--shadow: 0 1px 2px rgba(20, 50, 60, .05), 0 10px 30px rgba(20, 50, 60, .07);
	--wrap: 1120px;
	--serif: 'PT Serif', Georgia, 'Times New Roman', serif;
	--sans: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.7 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-weight: 400;
	color: var(--blue);
	line-height: 1.22;
	margin: 0 0 .5em;
	text-wrap: balance;
}
h1 { font-size: clamp(34px, 4vw, 52px); }
h2 { font-size: clamp(27px, 3vw, 36px); }
h3 { font-size: 23px; }
h4 { font-size: 19px; }
p, ul, ol { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .4em; }
li::marker { color: var(--teal); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { display: block; font: 700 12.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--navy); margin: 0 0 12px; }
.lead { font-size: 19px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
	font: 600 15px/1 var(--sans); text-decoration: none; white-space: nowrap;
	transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--teal); color: var(--on-teal); }
.btn-primary:hover { background: var(--teal-hover); color: var(--on-teal); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--on-teal); }
.btn-light:hover { background: var(--mint-soft); color: var(--on-teal); }
.btn-outline-light { border-color: rgba(255, 255, 255, .8); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--on-teal); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.more { font-weight: 600; color: var(--navy); text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { max-width: 1260px; display: flex; align-items: center; gap: 28px; min-height: 84px; }
.logo { flex: none; }
.logo img { width: 230px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav a {
	display: block; padding: 8px 0; border-bottom: 2px solid transparent;
	font: 600 12.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
	color: var(--ink); text-decoration: none;
}
.nav a:hover { color: var(--navy); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--teal); }
.nav .nav-call { display: none; }
.header-call { flex: none; padding: 12px 22px; font-size: 14.5px; }
.menu-btn {
	display: none; margin-left: auto; width: 46px; height: 46px; position: relative;
	border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
	position: absolute; left: 12px; width: 20px; height: 2px; background: var(--navy); transition: transform .2s, background .2s;
}
.menu-btn span { top: 22px; }
.menu-btn span::before, .menu-btn span::after { content: ""; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-tight { padding: 48px 0; }
.bg-mint { background: var(--mint-soft); }
.bg-sage { background: var(--sage-soft); }
.section-head { max-width: 660px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); }

/* ---------- Home banner ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(480px, 42vw, 620px); background: var(--mint-soft); }
.hero-text { align-self: center; padding: 64px 56px 64px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); }
.hero-text .hero-title { font-size: clamp(36px, 3.6vw, 54px); }
.hero-text .lead { margin-bottom: 26px; }
.hero-team { display: flex; align-items: center; gap: 14px; margin: 0 0 30px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.hero-team strong { color: var(--navy); font-weight: 600; }
.avatars { display: flex; flex: none; }
.avatars img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 3px solid var(--mint-soft); }
.avatars img + img { margin-left: -14px; }
.hero-media { position: relative; overflow: hidden; background: var(--mint); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-media img.is-active { opacity: 1; }
.hero-dots { position: absolute; left: 24px; bottom: 20px; display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); cursor: pointer; }
.hero-dots button[aria-current="true"] { background: var(--white); transform: scale(1.25); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
	position: relative; display: flex; flex-direction: column; overflow: hidden;
	background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
	transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(20, 50, 60, .06), 0 16px 40px rgba(20, 50, 60, .1); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }   /* whole card is clickable */
.card p { font-size: 15.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.card .card-meta { font: 700 12px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.cards-compact .card-body { padding: 20px 22px 22px; }
.cards-compact h3 { font-size: 20px; }

/* ---------- People ---------- */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.person-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.person-photo img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; object-position: 50% 30%; }
.person-body { padding: 28px 30px 30px; display: flex; flex-direction: column; }
.person-body h3 { font-size: 28px; margin: 0 0 4px; }
.person-body h3 a { color: inherit; text-decoration: none; }
.quals { font: 700 14px/1.4 var(--sans); letter-spacing: .03em; text-transform: none; color: var(--navy); margin: 0 0 6px; }
.where { font-size: 14.5px; color: var(--muted); margin: 0 0 14px; }
.person-body p { font-size: 16px; line-height: 1.6; }
.person-body .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Trust strip ---------- */
.trust { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.trust img { width: 200px; }
.trust p { margin: 0; max-width: 540px; color: var(--ink); }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
.rating .score { font: 400 68px/1 var(--serif); color: var(--navy); }
.stars { color: var(--amber); letter-spacing: 2px; }
.rating .stars { font-size: 24px; margin: 6px 0 12px; }
.rating p { color: var(--muted); font-size: 16px; }
.rating ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rating li { margin: 0; font-size: 15px; }
.quote { margin: 0; padding: 30px 28px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.quote blockquote { margin: 0; font: 400 22px/1.45 var(--serif); color: var(--ink); }
.quote blockquote::before { content: "\201C"; display: block; font-size: 60px; line-height: .6; color: var(--teal); margin-bottom: 14px; }
.quote figcaption { font-size: 14px; color: var(--muted); }

/* ---------- Full-width booking band ---------- */
.cta-band { background: var(--gradient); color: var(--white); padding: 64px 0; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin: 0 0 6px; font-size: clamp(28px, 3vw, 40px); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .92); font-size: 18px; }
.cta-band .btn-light { font-size: 16px; padding: 16px 30px; }

/* ---------- Page titles ---------- */
.page-head { background: var(--mint-soft); padding: 72px 0 48px; }
.page-head h1 { margin: 0; }
.head-lead { margin: 16px 0 0; font-size: 19px; color: var(--muted); max-width: 62ch; }
.page-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(340px, 30vw, 460px); background: var(--mint-soft); }
.page-hero-text { align-self: center; padding: 56px 56px 56px max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); }
.page-hero-text h1 { margin: 0; }
.page-hero-media { position: relative; min-height: 260px; background: var(--mint); }
.page-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.person-head .wrap { display: flex; align-items: center; gap: 32px; }
.head-portrait { width: 160px; height: 160px; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 5px solid var(--white); box-shadow: var(--shadow); }

/* Section tabs */
.subnav { background: var(--mint-soft); }
.subnav .wrap { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; padding-bottom: 28px; }
.page-hero + .subnav .wrap { padding-top: 28px; }
.chip {
	flex: none; padding: 10px 18px; border-radius: 999px; background: var(--white);
	font: 600 14px/1.2 var(--sans); color: var(--ink); text-decoration: none; white-space: nowrap;
	box-shadow: 0 1px 2px rgba(20, 50, 60, .06); transition: background .2s, color .2s;
}
.chip:hover { color: var(--navy); background: var(--mint); }
.chip[aria-current="page"] { background: var(--navy); color: var(--white); }

/* ---------- Page body on pale green ---------- */
.page-main { background: var(--mint-soft); padding: 8px 0 88px; }
.page-hero + .page-main { padding-top: 48px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.layout.single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.paper { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 48px 56px; }
.prose { font-size: 17.5px; }
.prose > :first-child { margin-top: 0; }
.prose > p:first-child { font-size: 20px; line-height: 1.6; }
.prose h2 { font-size: 28px; margin-top: 1.4em; }
.prose h3 { font-size: 24px; margin-top: 1.5em; }
.prose h4 { font-size: 20px; margin-top: 1.4em; }
.prose a { word-break: break-word; }
.aside { display: grid; gap: 20px; position: sticky; top: 108px; }
.side-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 28px; }
.side-card h4 { font-size: 20px; margin-bottom: 12px; }
.side-card p { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.side-card p:last-child { margin-bottom: 0; }
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card li { margin: 0; padding: 11px 0; border-top: 1px solid var(--line); }
.side-card li:first-child { border-top: 0; padding-top: 0; }
.side-card li a { font-weight: 600; text-decoration: none; }
.side-card li a:hover { text-decoration: underline; }
.side-book { background: var(--gradient); color: var(--white); }
.side-book h4, .side-book p { color: var(--white); }
.side-book .phone { display: block; font: 400 28px/1.2 var(--serif); color: var(--white); text-decoration: none; margin: 4px 0 16px; }
.side-book .who { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.side-book .who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255, 255, 255, .7); }

.video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 1.4em; border-radius: 12px; overflow: hidden; background: var(--mint); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; background: var(--white); }
.photo { margin: 32px 0 0; }
.photo img { width: 100%; border-radius: 12px; }
.photo figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* ---------- Treatments page ---------- */
.consult { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.consult h3 { font-size: 22px; }
.consult p { font-size: 16.5px; }

/* ---------- Prices ---------- */
.price-group { margin-bottom: 40px; }
.price-group h2 { font-size: 26px; margin: 0 0 12px; }
.price-list { border-top: 1px solid var(--line); }
.price-row { display: grid; grid-template-columns: minmax(0, 1fr) 110px 150px; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-row .what { font-weight: 600; }
.price-row .time { color: var(--muted); font-size: 15px; }
.price-row .cost { text-align: right; font: 400 24px/1 var(--serif); color: var(--navy); font-variant-numeric: tabular-nums; }
.price-row .save { display: block; margin-top: 6px; font: 700 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.note-box { background: var(--mint-soft); border-radius: 12px; padding: 22px 24px; margin-bottom: 28px; }
.note-box h3 { margin-top: 0; font-size: 20px; }
.note-box p:last-child { margin-bottom: 0; }

/* ---------- Clinics ---------- */
.clinic-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-bottom: 32px; }
.clinic { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.clinic-img { display: block; overflow: hidden; }
.clinic-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s; }
.clinic-img:hover img { transform: scale(1.03); }
.clinic-body { display: flex; flex-direction: column; gap: 12px; padding: 26px 28px 28px; flex: 1; }
.clinic h2 { font-size: 28px; margin: 0; }
.clinic h2 a { color: inherit; text-decoration: none; }
.clinic h2 a:hover { color: var(--navy); }
.clinic address { font-style: normal; line-height: 1.6; }
.clinic p { margin: 0; font-size: 16px; }
.clinic .btn-row { margin-top: auto; padding-top: 8px; }
.who { display: flex; align-items: center; gap: 12px; font-size: 15.5px; }
.who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; }
.rating-chip { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted); }
.rating-chip strong { color: var(--ink); }
a.rating-chip { text-decoration: none; }
.map-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; }
.detail-list { display: grid; margin-bottom: 28px; }
.detail-list > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.detail-list > div:first-child { padding-top: 0; }
.detail-list .label { font: 700 12.5px/1.8 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.detail-list address, .detail-list p { font-style: normal; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; margin-bottom: 56px; }
.contact-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 32px; }
.contact-card .label { display: block; font: 700 12.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.contact-card .big { font: 400 clamp(22px, 2.4vw, 28px)/1.25 var(--serif); color: var(--navy); text-decoration: none; word-break: break-word; }
.contact-card p { margin: 12px 0 0; font-size: 15.5px; color: var(--muted); }
.contact-card.is-call { grid-row: span 2; background: var(--gradient); display: flex; flex-direction: column; justify-content: center; padding: 44px 40px; }
.contact-card.is-call .label, .contact-card.is-call p { color: rgba(255, 255, 255, .92); }
.contact-card.is-call .big { color: var(--white); font-size: clamp(34px, 4vw, 52px); }
.contact-card.is-call .btn { align-self: flex-start; margin-top: 24px; }
.social-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.social-link svg { width: 22px; height: 22px; fill: currentColor; }
.clinic-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.clinic-mini { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 30px; }
.clinic-mini h3 { font-size: 24px; margin: 0 0 10px; }
.clinic-mini h3 a { color: inherit; text-decoration: none; }
.clinic-mini h3 a:hover { color: var(--navy); }
.clinic-mini address { font-style: normal; margin-bottom: 12px; line-height: 1.6; }
.clinic-mini p { font-size: 15.5px; color: var(--muted); margin: 0 0 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 64px 0 0; font-size: 15.5px; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { font: 700 12.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--navy); text-decoration: underline; }
.site-footer address { font-style: normal; margin-bottom: 12px; line-height: 1.6; }
.footer-logo img { width: 200px; margin-bottom: 16px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.site-footer .social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--mint-soft); color: var(--navy); }
.site-footer .social a:hover { background: var(--teal); color: var(--on-teal); text-decoration: none; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; }

/* ---------- Menu collapses behind a button ---------- */
@media (max-width: 1180px) {
	.header-call { display: none; }
	.menu-btn { display: block; }
	.nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(20, 50, 60, .08);
		padding: 6px 24px 20px;
	}
	.menu-open .nav { display: block; }
	.nav ul { flex-direction: column; gap: 0; }
	.nav li { border-top: 1px solid var(--line); }
	.nav li:first-child { border-top: 0; }
	.nav a { padding: 15px 2px; font-size: 14px; border-bottom: 0; }
	.nav .nav-call { display: block; margin-top: 12px; border: 0; }
	.nav .nav-call a { display: flex; color: var(--on-teal); letter-spacing: .04em; padding: 15px; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1020px) {
	.cards { grid-template-columns: repeat(2, 1fr); }
	.people, .clinic-list { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.layout { grid-template-columns: minmax(0, 1fr) 280px; }
	.paper { padding: 40px 40px; }
	.reviews-grid { grid-template-columns: 1fr 1fr; }
	.rating { grid-column: 1 / -1; }
}

/* ---------- Phone ---------- */
@media (max-width: 820px) {
	body { font-size: 16.5px; }
	.wrap { padding: 0 18px; }
	.site-header .wrap { min-height: 68px; gap: 12px; }
	.logo img { width: 190px; }
	.nav { padding: 6px 18px 18px; }
	.section { padding: 56px 0; }

	.hero, .page-hero { grid-template-columns: 1fr; min-height: 0; }
	.hero-media { order: -1; aspect-ratio: 4 / 3; }
	.page-hero-media { order: -1; aspect-ratio: 16 / 10; min-height: 0; }
	.hero-text, .page-hero-text { padding: 30px 18px 36px; }
	.hero-dots { bottom: 14px; left: 14px; }
	.page-head { padding: 44px 0 32px; }
	.person-head .wrap { flex-direction: column; align-items: flex-start; gap: 18px; }
	.head-portrait { width: 120px; height: 120px; }

	.subnav .wrap {
		flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 22px;
		-webkit-mask-image: linear-gradient(90deg, #000 82%, transparent);
		mask-image: linear-gradient(90deg, #000 82%, transparent);
	}
	.subnav .wrap::-webkit-scrollbar { display: none; }
	.subnav .wrap::after { content: ""; flex: none; width: 40px; }
	.page-hero + .subnav .wrap { padding-top: 20px; }

	.cards, .consult, .clinic-cards, .contact-grid, .reviews-grid { grid-template-columns: 1fr; }
	.contact-card.is-call { grid-row: auto; padding: 32px 26px; }
	.person-card { grid-template-columns: 1fr; }
	.person-photo img { aspect-ratio: 4 / 3; min-height: 0; height: auto; }
	.layout, .layout.single { grid-template-columns: 1fr; gap: 24px; }
	.aside { position: static; }
	.paper { padding: 28px 22px; }
	.prose > p:first-child { font-size: 18.5px; }
	.price-row { grid-template-columns: minmax(0, 1fr) auto; }
	.price-row .time { grid-column: 1; grid-row: 2; }
	.price-row .cost { grid-row: 1 / span 2; grid-column: 2; }
	.detail-list > div { grid-template-columns: 1fr; gap: 4px; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.cta-band { padding: 48px 0; }
	.cta-band .btn { width: 100%; }
	.trust { flex-direction: column; text-align: center; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}

/* Long button labels wrap on small screens */
.who > div { min-width: 0; }
@media (max-width: 820px) {
	.btn { white-space: normal; text-align: center; line-height: 1.3; }
}

/* ---------- Round 3 ---------- */
/* Gradient only as a thin strip along the bottom of the page */
.footer-bottom { margin-bottom: 28px; }
.site-footer::after { content: ""; display: block; height: 6px; background: var(--gradient); }
.footer-bacc { display: inline-block; margin: 20px 0 0; }
.footer-bacc img { width: 170px; }

/* Call button: phone icon, long and short labels */
.header-call svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.call-short { display: none; }
@media (max-width: 1180px) {
	.header-call { display: inline-flex; margin-left: auto; }
	.menu-btn { margin-left: 0; }
}
@media (max-width: 560px) {
	.call-long { display: none; }
	.call-short { display: inline; }
	.header-call { padding: 11px 16px; gap: 6px; }
}
@media (max-width: 400px) {
	.logo img { width: 150px; }
	.site-header .wrap { gap: 10px; }
}
@media (max-width: 340px) {
	.call-short { display: none; }
	.header-call { padding: 11px 13px; }
}

/* BAcC strip on white, separated by fine lines */
.bacc-strip { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Solid turquoise panels (matching the header Call button); the gradient stays on the bottom booking band */
.side-book, .contact-card.is-call { background: var(--teal); color: var(--on-teal); }
.side-book h4, .side-book p, .side-book .phone, .side-book .who span,
.contact-card.is-call .label, .contact-card.is-call p, .contact-card.is-call .big { color: var(--on-teal); }
.side-book a:not(.btn), .contact-card.is-call a:not(.btn) { color: var(--on-teal); }
.side-book .who img { border-color: rgba(255, 255, 255, .9); }
.side-book .btn-light, .contact-card.is-call .btn-light { background: var(--white); color: var(--on-teal); }
.side-book .btn-light:hover, .contact-card.is-call .btn-light:hover { background: var(--on-teal); color: var(--white); }

/* ---------- Round 4 ---------- */
/* Accreditation logos */
.footer-logos, .trust-logos, .accred-logos { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-logos { margin-top: 20px; }
.footer-logos img { height: 52px; width: auto; }
.trust-logos img { height: 72px; width: auto; }
.accred-logos { margin: 8px 0 28px; }
.accred-logos img { height: 80px; width: auto; }
.trust img { width: auto; }

/* Treatments list */
.condition-list { list-style: none; padding: 0; margin: 0 0 28px; border-top: 1px solid var(--line); }
.condition-list li { margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; }
.condition-list .cond { font: 400 22px/1.3 var(--serif); color: var(--blue); text-decoration: none; }
.condition-list .cond:hover { color: var(--navy); text-decoration: underline; }
.cond-evidence { font-size: 14.5px; color: var(--muted); }

/* Evidence and "call to discuss" at the end of treatment pages */
.evidence { margin-top: 40px; padding: 26px 28px; border-radius: 12px; background: var(--mint-soft); }
.evidence h3 { margin-top: 0; font-size: 22px; }
.evidence p:last-child { margin-bottom: 0; }
.evidence-links { margin-bottom: 1em; }
.discuss { margin-top: 20px; }
.discuss p { margin: 0; }

/* Home: call to discuss */
.discuss-band { max-width: 720px; text-align: center; }
.discuss-band p { color: var(--muted); font-size: 18px; }
.discuss-band .btn-row { margin: 28px 0 22px; }
.discuss-band .small { font-size: 15px; margin: 0; }
.contact-card .social-link { display: flex; }

/* ---------- Round 5 ---------- */
/* FAQs */
.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
	list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
	font: 400 21px/1.35 var(--serif); color: var(--blue);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 28px/1 var(--sans); color: var(--navy); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--navy); }
.faq p { margin: 0 0 22px; }
/* Note about continuing medical care */
.gp-note { margin-top: 28px; padding: 18px 22px; border-radius: 12px; background: var(--mint-soft); font-size: 16px; }

/* ---------- BETA 03: build pack pages ---------- */
/* Buttons inside page text */
.prose .btn-row { margin: 8px 0 1.4em; }
/* "Not sure whether acupuncture is suitable for you?" box at the end of a page */
.prose .discuss { margin-top: 40px; padding: 26px 28px; border-radius: 12px; background: var(--mint-soft); }
.prose .discuss h3 { margin-top: 0; font-size: 22px; }
.prose .discuss .btn-row { margin: 18px 0 0; }
/* Pain hub: links to the four pain pages */
.link-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 18px 0 8px; }
.link-card { position: relative; display: flex; flex-direction: column; padding: 22px 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.link-card:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.prose .link-card h4 { margin: 0 0 8px; font-size: 20px; }
.link-card h4 a { color: var(--blue); text-decoration: none; }
.link-card h4 a::after { content: ""; position: absolute; inset: 0; }   /* whole card is clickable */
.prose .link-card p { font-size: 15.5px; color: var(--muted); margin: 0 0 14px; }
.link-card .more { margin-top: auto; font-size: 15px; }
/* Treatments hub: first appointment and Evidence A-Z boxes */
.hub-extra { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.hub-box { padding: 32px 34px; border-radius: var(--radius); background: var(--mint-soft); display: flex; flex-direction: column; align-items: flex-start; }
.hub-box h2 { font-size: 26px; margin: 0 0 12px; }
.hub-box p { color: var(--muted); margin: 0 0 22px; }
.hub-box .btn { margin-top: auto; }
@media (max-width: 820px) {
	.link-cards, .hub-extra { grid-template-columns: 1fr; }
	.hub-box { padding: 26px 24px; }
}

/* ---------- BETA 14: treatment cards on tablets and phones ---------- */
@media (min-width: 821px) and (max-width: 1020px) {
	.cards { grid-template-columns: repeat(3, 1fr); gap: 18px; }
	.card-body { padding: 18px 18px 20px; }
	.card h3 { font-size: 19px; }
}
@media (max-width: 820px) {
	.cards { grid-template-columns: 1fr; gap: 12px; }
	.card { flex-direction: row; align-items: stretch; }
	.card img { width: 112px; min-height: 112px; height: auto; aspect-ratio: auto; flex: none; }
	.card-body { padding: 14px 16px; justify-content: center; }
	.card h3 { font-size: 19px; margin-bottom: 4px; }
	.card p { font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* ---------- BETA 17: heading levels (same look as before), cards, mobile ---------- */
/* Section headings are now h2 but keep the size the h3s had */
.prose > h2 { font-size: 24px; margin-top: 1.5em; }
.side-card h2 { font-size: 20px; margin-bottom: 12px; }
.side-book h2 { color: var(--on-teal); }
.site-footer h2 { font: 700 12.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 0 0 14px; }
.note-box h2 { margin-top: 0; font-size: 20px; }
.card h2, .card h3 { font-size: 22px; margin: 0 0 8px; }
.card h2 a, .card h3 a { color: inherit; text-decoration: none; }
.card h2 a::after, .card h3 a::after { content: ""; position: absolute; inset: 0; }
.card .card-meta { margin: 0 0 8px; font-size: 11px; }
/* Pain cards inside the pain overview text */
.prose .cards-in-text { grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 18px 0 8px; }
.prose .cards-in-text .card img { margin: 0; border-radius: 0; }
.prose .cards-in-text .card h3 { margin: 0 0 6px; font-size: 20px; }
.prose .cards-in-text .card p { margin: 0; }
.prose .cards-in-text .card .card-meta { margin: 0 0 8px; }
/* Before you come */
.quick-box { margin: 26px 0 8px; padding: 22px 26px; border-radius: 12px; background: var(--mint-soft); }
.prose .quick-box h2 { margin: 0 0 10px; font-size: 20px; }
.prose .quick-box ul { margin: 0; }
@media (min-width: 821px) and (max-width: 1020px) {
	.card h2 { font-size: 19px; }
}
@media (max-width: 820px) {
	.card h2, .card h3 { font-size: 19px; margin-bottom: 4px; }
	.card p { -webkit-line-clamp: 3; }
	.card .card-meta { -webkit-line-clamp: unset; display: block; margin-bottom: 4px; }
	.prose .cards-in-text { grid-template-columns: 1fr; gap: 12px; }
	/* On phones the "Is acupuncture suitable for you?" panel would sit right above the booking band, so leave it out */
	.aside .side-discuss { display: none; }
	.layout .aside:not(:has(> :not(.side-discuss))) { display: none; }
}

.person-body h2 { font-size: 28px; margin: 0 0 4px; }
.person-body h2 a { color: inherit; text-decoration: none; }

/* ---------- BETA 18: internal vs external links, full card text on phones ---------- */
.more:not(.ext)::after { content: " \2192"; }
.ext-icon { width: .9em; height: .9em; margin-left: .35em; vertical-align: -.08em; fill: currentColor; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 820px) {
	.card p { display: block; -webkit-line-clamp: unset; overflow: visible; }
}

/* ---------- BETA 20: two-layer treatments navigation (pain pages) ---------- */
/* Layer 2 keeps the capsule style: smaller capsules in a white tray under the main row, current page in turquoise */
.subnav:has(+ .subnav-sub) .wrap { padding-bottom: 10px; }
.subnav-sub { background: var(--mint-soft); }
.subnav-sub .wrap { padding-bottom: 28px; }
.sub-tray { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; border-radius: 22px; background: var(--white); box-shadow: 0 1px 2px rgba(20, 50, 60, .06); }
.chip.chip-sub { padding: 7px 15px; font-size: 13.5px; background: var(--mint-soft); }
.chip.chip-sub:hover { background: var(--mint); }
.chip.chip-sub[aria-current="page"] { background: var(--teal); color: var(--on-teal); }
@media (max-width: 820px) {
	.subnav-sub .wrap { padding-bottom: 22px; }
	.sub-tray { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 20px;
		-webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
	.sub-tray::-webkit-scrollbar { display: none; }
	.sub-tray::after { content: ""; flex: none; width: 24px; }
	.chip.chip-sub { flex: none; }
}
@media (min-width: 821px) { .sub-tray { display: inline-flex; max-width: 100%; } }

/* ---------- BETA 22: all treatments in one row ---------- */
.subnav .wrap { gap: 8px; }
.subnav .chip { padding: 10px 15px; }
@media (min-width: 821px) and (max-width: 1140px) {
	.subnav .wrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
		-webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
	.subnav .wrap::-webkit-scrollbar { display: none; }
	.subnav .wrap::after { content: ""; flex: none; width: 40px; }
	.subnav .chip { flex: none; }
}

/* ---------- BETA 23: arrows and fades on scrolling tab bars ---------- */
.subnav { position: relative; }
.subnav .wrap { -webkit-mask-image: none; mask-image: none; }
.subnav .wrap.fade-right { -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
.subnav .wrap.fade-left { -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%); mask-image: linear-gradient(90deg, transparent, #000 20%); }
.subnav .wrap.fade-left.fade-right { -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.nav-more { position: absolute; z-index: 2; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: var(--white); color: var(--navy); font: 700 22px/1 var(--sans); box-shadow: 0 2px 8px rgba(20, 50, 60, .18); cursor: pointer; }
.nav-more[hidden] { display: none; }
.nav-next { right: 8px; }
.nav-prev { left: 8px; }
.nav-more:hover { background: var(--mint); }


/* ---------- BETA 25: intro paragraph size also when a page opens with a heading ---------- */
.prose > h2:first-child + p { font-size: 20px; line-height: 1.6; }
@media (max-width: 820px) { .prose > h2:first-child + p { font-size: 18.5px; } }

/* ---------- BETA 26: treatment pages - opening sentences moved into the banner ---------- */
.prose.no-intro > p:first-child, .prose.no-intro > h2:first-child + p { font-size: inherit; line-height: inherit; }
@media (max-width: 820px) { .aside .hide-mobile { display: none; } }

/* =====================================================================
   BETA 32: mobile refinements (phones). Desktop is unchanged except:
   insurance line on its own line in the BAcC strip, equal-height treatment cards.
   ===================================================================== */
.trust-text { max-width: 540px; }
.trust-text p { margin: 0 0 10px; color: var(--ink); }
.trust-text p:last-child { margin-bottom: 0; }
.cards { grid-auto-rows: 1fr; }   /* every treatment card the same height */

@media (max-width: 820px) {
	/* Slightly smaller type and spacing overall */
	body { font-size: 16px; }
	.prose { font-size: 16px; }
	.prose > p:first-child, .prose > h2:first-child + p { font-size: 17px; }
	.prose > h2 { font-size: 22px; }
	.section { padding-top: 48px; padding-bottom: 48px; }

	/* Home banner: shorter photo and tighter text so both buttons show on the first screen */
	.hero-media { aspect-ratio: 16 / 9; }
	.hero-text { padding: 18px 16px 24px; }
	.hero-text .eyebrow { margin-bottom: 6px; }
	.hero-text .hero-title { font-size: 29px; line-height: 1.15; margin-bottom: 10px; }
	.hero-text .lead { font-size: 15.5px; line-height: 1.55; margin-bottom: 14px; }
	.hero-team { margin-bottom: 16px; font-size: 14px; }
	.hero-team .avatars img { width: 38px; height: 38px; }
	.hero .btn-row { flex-wrap: nowrap; gap: 10px; }
	.hero .btn-row .btn { flex: 1; padding-left: 12px; padding-right: 12px; text-align: center; }

	/* Page banners: shorter photo, smaller heading */
	.page-hero-media { aspect-ratio: 16 / 8; }
	.page-hero-text { padding: 18px 16px 20px; }
	.page-hero-text h1, .page-head h1 { font-size: 29px; line-height: 1.15; }
	.head-lead { font-size: 15.5px; line-height: 1.55; margin-top: 10px; }
	.page-head { padding: 28px 0 20px; }

	/* Tab capsules: straight under the header, in the same place on every page, wrapping onto a few lines */
	main { display: flex; flex-direction: column; }
	main > .subnav { order: -1; }
	.subnav { border-bottom: 1px solid var(--line); }
	.subnav .wrap, .page-hero + .subnav .wrap { flex-wrap: wrap; overflow: visible; gap: 6px; padding-top: 12px; padding-bottom: 12px; -webkit-mask-image: none; mask-image: none; }
	.subnav .wrap::after { content: none; }
	.subnav .chip { padding: 6px 12px; font-size: 13px; }
	.nav-more { display: none !important; }
	.page-hero + .page-main, .subnav + .page-main, .page-main { padding-top: 24px; }

	/* Meet Clare and Tim: compact cards like the treatment cards */
	.people { gap: 14px; }
	.person-card { display: flex; flex-direction: row; align-items: stretch; }
	.person-photo { flex: none; width: 112px; }
	.person-photo img { width: 112px; height: 100%; min-height: 150px; aspect-ratio: auto; }
	.person-body { padding: 14px 16px; }
	.person-body h2, .person-body h3 { font-size: 21px; }
	.person-body .quals { font-size: 12.5px; margin-bottom: 2px; }
	.person-body .where { font-size: 13px; margin-bottom: 6px; }
	.person-body p { font-size: 14px; line-height: 1.5; margin-bottom: 10px; }
	.person-body .btn { padding: 8px 14px; font-size: 13.5px; }

	/* Treatment cards: title on one line where possible, all the same height */
	.card img { width: 96px; }
	.card h2, .card h3 { font-size: 17.5px; }
	.card p { font-size: 13.5px; }

	/* BAcC entry buttons stay on one line */
	.who .btn { white-space: nowrap; padding: 9px 14px; font-size: 13.5px; }

	/* Contact: email address on one line */
	.contact-card .big { font-size: clamp(17px, 5vw, 22px); word-break: normal; overflow-wrap: normal; white-space: nowrap; }

	/* Sidebar cards that repeat the booking band are hidden on phones */
	.aside .hide-mobile { display: none; }

	/* Footer: clinic addresses side by side */
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
	.footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
	.site-footer address, .site-footer li, .site-footer a { font-size: 14px; }
	.site-footer h2 { margin-bottom: 8px; }
	.footer-grid > div:last-child ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
	.footer-bottom { font-size: 13px; }
}

/* ---------- BETA 33: equal Clare and Tim cards, tidier footer ---------- */
.people { grid-auto-rows: 1fr; }   /* Clare and Tim cards always the same height */
.nowrap { white-space: nowrap; }
@media (max-width: 820px) {
	/* Footer: centred on phones */
	.site-footer { text-align: center; padding-top: 44px; }
	.footer-grid > div:first-child { display: flex; flex-direction: column; align-items: center; }
	.footer-grid > div:first-child p { max-width: 34ch; margin-left: auto; margin-right: auto; }
	.footer-logo img { margin-left: auto; margin-right: auto; }
	.site-footer .rating-chip { justify-content: center; }
	.footer-logos, .site-footer .social { justify-content: center; }
	.footer-grid > div:last-child ul { justify-content: center; }
	.footer-grid { padding-bottom: 4px; }
	.footer-grid > div:nth-child(2), .footer-grid > div:nth-child(3) { padding-top: 18px; border-top: 1px solid var(--line); }
	.footer-grid > div:last-child { padding-top: 18px; border-top: 1px solid var(--line); }
	.footer-bottom { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; margin-top: 26px; padding-top: 18px; }
	.footer-bottom .sep { display: none; }
	.footer-bottom .nowrap { display: block; }
}

/* ---------- BETA 35: one size for supporting text on phones (matches the banner intros) ---------- */
@media (max-width: 820px) {
	.hero-text .lead, .head-lead, .discuss-band p, .cta-band p, .reviews-grid .rating p, .hub-box p, .trust-text p {
		font-size: 15.5px; line-height: 1.55;
	}
}

/* ---------- BETA 36: Google reviews as a centred panel on phones and tablets ---------- */
@media (max-width: 1020px) {
	.rating { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: 14px;
		padding: 26px 20px 24px; border-radius: var(--radius); background: var(--mint-soft); text-align: center; }
	.rating .eyebrow { grid-column: 1 / -1; margin-bottom: 10px; }
	.rating .score { font-size: 54px; }
	.rating .stars { margin: 0; font-size: 22px; text-align: left; }
	.rating p { grid-column: 1 / -1; max-width: 32ch; margin: 12px auto 16px; }
	.rating ul { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
	.rating li { font-size: 14px; }
	.rating li a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--white); color: var(--navy); font-weight: 600; text-decoration: none; box-shadow: 0 1px 2px rgba(20, 50, 60, .08); }
	.rating li a:hover { background: var(--mint); }
}

/* ---------- BETA 37: on phones the capsules sit under the photo (or under the heading where there is no photo) ---------- */
@media (max-width: 820px) {
	main > * { order: 10; }
	main > .page-hero { display: contents; }        /* lets the photo, capsules and heading be ordered separately */
	main > .page-hero > .page-hero-media { order: 1; }
	main > .page-head { order: 1; }
	main > .subnav { order: 2; border-bottom: 0; }
	main > .page-hero > .page-hero-text { order: 3; align-self: stretch; background: var(--mint-soft); padding-top: 6px; }
	main > .page-head + .subnav .wrap { padding-top: 0; }
	main > .subnav .wrap { padding-top: 14px; padding-bottom: 10px; }
}

/* ---------- BETA 38: make the capsules obviously tappable on phones ---------- */
.subnav-label { display: none; }
@media (max-width: 820px) {
	.subnav-label { display: block; flex-basis: 100%; margin: 0 0 2px; font: 700 11.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
	.subnav .chip { border: 1px solid #C9DDD6; box-shadow: none; }
	.subnav .chip[aria-current="page"] { border-color: var(--navy); }
	.subnav .chip:active { transform: translateY(1px); }
}

/* BETA 40: banner slideshow on inner pages (first appointment) */
.page-hero-media.slides { overflow: hidden; }
.page-hero-media.slides img { opacity: 0; transition: opacity 1.2s ease; }
.page-hero-media.slides img.is-active { opacity: 1; }

/* BETA 42: Reasons people come to us, related cards under each page */
.related-all { margin: 28px 0 0; text-align: center; }

/* BETA 49: accreditation, gap between Tim's BAcC button and the Giving blood box */
.prose .who + .note-box { margin-top: 32px; }

/* BETA 52: Reasons people come to us, "Don't see your reason" under the cards */
.not-listed { margin: 56px auto 0; }
.not-listed .btn { margin-top: 10px; }
@media (min-width: 821px) {
	.subnav[aria-label="Browse reasons"] .wrap { gap: 6px; }
	.subnav[aria-label="Browse reasons"] .chip { padding-left: 11px; padding-right: 11px; }
}

/* BETA 53: prices, keep "45 mins – 1 hour" on one line */
.price-row .time { white-space: nowrap; }
@media (min-width: 821px) {
	.price-row { grid-template-columns: minmax(0, 1fr) 140px 150px; }
}

/* BETA 56: What we do - one green background from the cards to the end, white boxes like the cards */
.page-main.reasons-main { padding-bottom: 0; }
.hub-section .hub-box { background: var(--white); box-shadow: var(--shadow); }

/* BETA 66: smaller in-text photo (Clare's page) */
.photo-small { max-width: 320px; }

/* BETA 68: medium in-text photo (Clare's page) */
.photo-medium { max-width: 420px; }

/* BETA 69: home hero - H1 "Acupuncture near Liverpool" looks like the eyebrow; "Acupuncture in Formby & Southport" keeps the headline look */
.eyebrow { text-wrap: wrap; }
.hero-title { font-family: var(--serif); font-weight: 400; color: var(--blue); line-height: 1.22; margin: 0 0 .5em; text-wrap: balance; font-size: clamp(34px, 4vw, 52px); }

/* BETA 72: About us page */
.about-intro { margin-bottom: 56px; }
.about-accred .prose { max-width: 760px; margin: 0 auto; }
.about-accred .accred-logos { margin: 8px 0 24px; }
.clinic h3 { font-size: 28px; margin: 0; }
.clinic h3 a { color: inherit; text-decoration: none; }
.clinic h3 a:hover { color: var(--navy); }

/* BETA 73: About page - reviews first, wall of review cards */
.about-reviews .reviews-grid { margin-bottom: 32px; }
.review-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.quote-placeholder { outline: 2px dashed var(--teal); outline-offset: -2px; }
@media (max-width: 1180px) { .review-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .review-wall { grid-template-columns: 1fr; gap: 20px; } .about-reviews .reviews-grid { margin-bottom: 20px; } }

/* BETA 74: clinic pages - H1 styled as the eyebrow, clinic name keeps the heading look */
.page-hero-text h1.eyebrow { margin: 0 0 12px; }
.page-hero-text .page-title { font-family: var(--serif); font-weight: 400; color: var(--blue); line-height: 1.22; margin: 0; text-wrap: balance; font-size: clamp(34px, 4vw, 52px); }
@media (max-width: 820px) {
	.page-hero-text h1.eyebrow { font-size: 12.5px; line-height: 1.2; margin-bottom: 6px; }
	.page-hero-text .page-title { font-size: 29px; line-height: 1.15; }
}

/* BETA 75: clinic pages - no "In this section" label above the capsules */
.subnav-nolabel .subnav-label { display: none !important; }

/* BETA 78: About page - space between the first row of reviews and the rest */
.page-main .reviews-grid + .wrap .review-wall { margin-top: 32px; }
@media (max-width: 820px) { .page-main .reviews-grid + .wrap .review-wall { margin-top: 20px; } }

/* BETA 80: home page - section labels are the H2s; the large lines keep the H2 look */
.section-head p.h2-text, .discuss-band p.h2-text { font-family: var(--serif); font-weight: 400; color: var(--blue); line-height: 1.22; margin: 0 0 .5em; text-wrap: balance; font-size: clamp(27px, 3vw, 36px); }

/* BETA 83: footer links never break mid-link */
.footer-bottom a { white-space: nowrap; }

/* BETA 85: footer - "Clinic details" and "About us" look like links and line up */
.site-footer address { margin-bottom: 0; }
.footer-grid address, .footer-grid > div > ul { min-height: 8.1em; }
.footer-grid > div > ul, .footer-grid address { display: flow-root; }
.footer-grid > div > ul li { line-height: 1.6; margin-bottom: .5333em; }
.footer-grid > div > ul li:last-child { margin-bottom: 0; }
.site-footer .footer-more { display: inline-block; margin-top: 12px; color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.site-footer .footer-more:hover { color: var(--blue); }
@media (max-width: 820px) {
	.footer-grid > div:last-child > ul { min-height: 0; }
	.footer-grid address { min-height: 0; }
}

/* BETA 88: home hero line stays on two lines on wide screens and narrow tablets */
@media (min-width: 821px) {
	.hero-text .hero-title { font-size: clamp(32px, 3.6vw, 48px); }
}

/* BETA 89: keep a phrase on one line */
.keep-together { white-space: nowrap; }
