/* ==========================================================================
   Reset Massage: site-wide design layer
   Header, navigation, footer, base typography, buttons, forms and posts.
   Page components (rm-*) follow in the next section of this file.
   Loads on every front-end page and in the editor.
   ========================================================================== */

:root {
	--rm-blue: var(--wp--preset--color--contrast, #0242a9);
	--rm-blue-deep: #01307e;
	--rm-navy: #06173a;
	--rm-yellow: var(--wp--preset--color--contrast-2, #e8c547);
	--rm-text: #172f63;
	--rm-muted: #4a5d86;
	--rm-tint: #f3f6fc;
	--rm-line: rgba(2, 66, 169, 0.13);
	--rm-radius: 12px;
	--rm-display: var(--wp--preset--font-family--mozilla-text, "Mozilla Text"), system-ui, sans-serif;
	--rm-lead: var(--wp--preset--font-family--blinker, "Blinker"), system-ui, sans-serif;
	--rm-body: var(--wp--preset--font-family--body, "Inter"), system-ui, sans-serif;
	--rm-gutter: clamp(16px, 5vw, 40px);
	--rm-pad: clamp(56px, 9vw, 112px);
	--rm-angle: clamp(18px, 3.2vw, 48px);
	--rm-header: 72px;
	--rm-shadow-btn: 6px 6px 9px rgba(0, 0, 0, 0.2);
}

html { scroll-padding-top: calc(var(--rm-header) + 16px); }

body {
	color: var(--rm-text);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* --------------------------------------------------------------------------
   Headings everywhere (posts, archives, plugin blocks): the homepage's heavy
   italic treatment. Amelia's booking widget keeps its own typography.
   The exclusion sits in :where() so it adds no specificity (an ID inside
   :not() would otherwise outrank every component heading style).
   -------------------------------------------------------------------------- */
.wp-site-blocks :is(h1, h2, h3, h4, h5, h6):where(:not(.amelia-v2-booking *, #amelia-container *)) {
	font-family: var(--rm-display);
	font-weight: 700;
	font-style: italic;
	color: var(--rm-blue);
	line-height: 1.12;
	letter-spacing: -0.005em;
	text-wrap: balance;
}

.wp-site-blocks :is(h1, h2):where(:not(.amelia-v2-booking *, #amelia-container *)) {
	text-transform: uppercase;
	line-height: 1.02;
}

.wp-site-blocks :is(h1, h2, h3, h4) strong,
.wp-site-blocks :is(h1, h2, h3, h4) em { font-weight: inherit; font-style: inherit; }

/* --------------------------------------------------------------------------
   Buttons: core, Spectra and form submit buttons all get the homepage look
   -------------------------------------------------------------------------- */
.wp-site-blocks .wp-block-button .wp-block-button__link,
.wp-site-blocks .wp-block-uagb-buttons .uagb-buttons-repeater,
.wp-site-blocks .wp-block-jetpack-contact-form .wp-block-button__link,
.wp-site-blocks .wp-block-search__button,
.wp-site-blocks .wp-block-query-pagination a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4em;
	box-sizing: border-box;
	min-height: 50px;
	padding: 0.85em 1.6em;
	border: 2px solid var(--rm-blue);
	border-radius: 6px;
	background: var(--rm-blue);
	color: #fff;
	font-family: var(--rm-display);
	font-size: clamp(0.95rem, 0.9rem + 0.22vw, 1.08rem);
	font-style: italic;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: var(--rm-shadow-btn);
	transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.wp-site-blocks .wp-block-button .wp-block-button__link:hover,
.wp-site-blocks .wp-block-uagb-buttons .uagb-buttons-repeater:hover,
.wp-site-blocks .wp-block-jetpack-contact-form .wp-block-button__link:hover,
.wp-site-blocks .wp-block-search__button:hover,
.wp-site-blocks .wp-block-query-pagination a:hover {
	border-color: var(--rm-blue-deep);
	background: var(--rm-blue-deep);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 8px 10px 16px rgba(0, 0, 0, 0.22);
}

.wp-site-blocks .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--rm-blue);
	box-shadow: none;
}

.wp-site-blocks .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--rm-blue);
	color: #fff;
}

.wp-site-blocks .uagb-buttons-repeater .uagb-button__link { color: inherit; font: inherit; }

.wp-site-blocks .wp-block-button .wp-block-button__link:focus-visible,
.wp-site-blocks a:focus-visible,
.wp-site-blocks button:focus-visible,
.wp-site-blocks summary:focus-visible {
	outline: 3px solid var(--rm-yellow);
	outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header { transition: background-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease; }

.site-header.scrolled {
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 1px 0 rgba(2, 66, 169, 0.08), 0 8px 24px -12px rgba(2, 30, 80, 0.25);
}

.site-header .wp-block-navigation {
	--rm-nav-size: clamp(0.86rem, 0.78rem + 0.25vw, 1rem);
	gap: clamp(14px, 1.8vw, 28px);
}

.site-header .wp-block-navigation .wp-block-navigation-item__content {
	font-family: var(--rm-display);
	font-size: var(--rm-nav-size);
	font-style: italic;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none !important;
}

/* Current page: yellow bar instead of an underline */
.site-header .wp-block-navigation .wp-block-navigation-item > .wp-block-navigation-item__content { position: relative; }

.site-header .wp-block-navigation :is(.current-menu-item, .current_page_item, .current-menu-ancestor) > .wp-block-navigation-item__content::after,
.site-header .wp-block-navigation .wp-block-navigation-item__content[aria-current="page"]::after,
body.home .site-header .wp-block-navigation .wp-block-navigation-item__content[href="/"]::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 3px;
	background: var(--rm-yellow);
	transform: skewX(-24deg);
}

/* BOOK NOW is the header CTA */
.site-header .wp-block-navigation .wp-block-navigation-item__content[href*="sports-massage-booking"] {
	padding: 0.7em 1.15em;
	border-radius: 6px;
	background: var(--rm-blue);
	color: #fff !important;
	box-shadow: var(--rm-shadow-btn);
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.site-header .wp-block-navigation .wp-block-navigation-item__content[href*="sports-massage-booking"]:hover {
	background: var(--rm-blue-deep);
	transform: translateY(-1px);
}

.site-header .wp-block-navigation .wp-block-navigation-item__content[href*="sports-massage-booking"]::after { display: none; }

/* Over a hero (header not yet solid) the CTA flips to white so it never sinks into blue */
.site-header:not(.scrolled) .wp-block-navigation .wp-block-navigation-item__content[href*="sports-massage-booking"] {
	background: #fff;
	color: var(--rm-blue) !important;
}

.site-header:not(.scrolled) .wp-block-navigation .wp-block-navigation-item__content[href*="sports-massage-booking"]:hover {
	background: var(--rm-yellow);
	color: var(--rm-blue) !important;
}

/* Dropdown (desktop) */
.site-header .wp-block-navigation .wp-block-navigation__submenu-container {
	min-width: 250px !important;
	padding: 8px !important;
	border: 1px solid var(--rm-line) !important;
	border-radius: var(--rm-radius);
	background: #fff !important;
	box-shadow: 0 24px 48px -20px rgba(2, 30, 80, 0.45);
}

.site-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: block;
	padding: 0.7em 0.9em !important;
	border-radius: 8px;
	color: var(--rm-blue) !important;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.site-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background: var(--rm-tint);
}

.site-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }

.site-header .wp-block-navigation .wp-block-navigation__submenu-icon { margin-left: 0.3em; }
.site-header .wp-block-navigation .wp-block-navigation__submenu-icon svg { stroke: currentColor; }

/* Mobile menu overlay */
.site-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--rm-blue) !important;
	color: #fff !important;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open a,
.site-header .wp-block-navigation__responsive-container.is-menu-open button {
	background: transparent !important;
	color: #fff !important;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__overlay-container .wp-block-navigation {
	gap: 4px;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: clamp(1.9rem, 1.4rem + 3vw, 2.8rem) !important;
	letter-spacing: 0.01em;
	line-height: 1.15;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	min-width: 0 !important;
	margin: 2px 0 10px !important;
	padding: 0 0 0 16px !important;
	border: 0 !important;
	border-left: 3px solid var(--rm-yellow) !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: 0.35em 0 !important;
	color: rgba(255, 255, 255, 0.86) !important;
	font-size: clamp(1.05rem, 0.95rem + 1vw, 1.35rem) !important;
	white-space: normal;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content[href*="sports-massage-booking"] {
	margin-top: 18px;
	padding: 0.6em 1em !important;
	font-size: clamp(1.25rem, 1rem + 2vw, 1.6rem) !important;
	white-space: nowrap;
	background: var(--rm-yellow) !important;
	color: var(--rm-blue) !important;
	box-shadow: none;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-overlay-close {
	font-family: var(--rm-display);
	font-style: italic;
	font-weight: 700;
	letter-spacing: 0.12em;
}

/* --------------------------------------------------------------------------
   Footer: light and clean, brand blue on a pale tint
   -------------------------------------------------------------------------- */
footer.wp-block-template-part {
	margin-top: 0;
	border-top: 1px solid var(--rm-line);
	background: var(--rm-tint);
	color: var(--rm-text);
}

footer.wp-block-template-part > .wp-block-separator { display: none; }

footer.wp-block-template-part > .wp-block-group {
	padding-inline: var(--rm-gutter) !important;
	padding-block: clamp(48px, 7vw, 80px) !important;
}

footer.wp-block-template-part .wp-block-columns {
	gap: clamp(28px, 4vw, 56px);
	max-width: 1200px;
	margin-inline: auto;
}

footer.wp-block-template-part .wp-block-site-title,
footer.wp-block-template-part .wp-block-site-title a {
	color: var(--rm-blue);
	font-family: var(--rm-display);
	font-style: italic;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
}

footer.wp-block-template-part .wp-block-image img { width: min(120px, 36vw) !important; }

/* Spectra prints per-block colour rules, so these need the extra weight */
footer.wp-block-template-part .wp-block-uagb-icon-list .wp-block-uagb-icon-list-child .uagb-icon-list__label,
footer.wp-block-template-part .wp-block-uagb-icon-list .wp-block-uagb-icon-list-child .uagb-icon-list__label :is(a, strong) {
	color: var(--rm-text) !important;
	font-size: 0.98rem;
	text-decoration: none;
}

footer.wp-block-template-part .uagb-icon-list__label a:hover { color: var(--rm-blue) !important; text-decoration: underline; }

footer.wp-block-template-part .wp-block-uagb-icon-list .uagb-icon-list__source-wrap svg { fill: var(--rm-blue) !important; }

footer.wp-block-template-part .wp-block-social-links .wp-social-link {
	background: var(--rm-blue) !important;
	color: #fff !important;
}

footer.wp-block-template-part p.has-medium-font-size strong {
	color: var(--rm-blue);
	font-family: var(--rm-display);
	font-style: italic;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

footer.wp-block-template-part .wp-block-table { margin: 0; }

footer.wp-block-template-part .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

footer.wp-block-template-part .wp-block-table td {
	padding: 9px 4px;
	border: 0;
	border-bottom: 1px solid var(--rm-line);
	color: var(--rm-text);
	font-size: 0.92rem;
}

footer.wp-block-template-part .wp-block-table td:first-child {
	padding-right: 12px;
	white-space: nowrap;
	color: var(--rm-blue);
	font-family: var(--rm-display);
	font-style: italic;
	font-weight: 700;
}

footer.wp-block-template-part .wp-block-uagb-google-map {
	overflow: hidden;
	border: 1px solid var(--rm-line);
	border-radius: var(--rm-radius);
}

footer.wp-block-template-part .wp-block-uagb-google-map iframe { display: block; min-height: 300px; }

/* Desktop: give the opening-hours column room so times stay on one line */
@media (min-width: 782px) {
	footer.wp-block-template-part .wp-block-columns > .wp-block-column:nth-child(1) { flex-basis: 28% !important; }
	footer.wp-block-template-part .wp-block-columns > .wp-block-column:nth-child(2) { flex-basis: 30% !important; }
	footer.wp-block-template-part .wp-block-columns > .wp-block-column:nth-child(3) { flex-basis: 42% !important; }
	footer.wp-block-template-part .wp-block-table td { white-space: nowrap; }
}

@media (max-width: 781px) {
	footer.wp-block-template-part .wp-block-column { text-align: center; }
	footer.wp-block-template-part .wp-block-table { max-width: 360px; margin-inline: auto; }
}

/* --------------------------------------------------------------------------
   Forms (Jetpack contact forms, search)
   -------------------------------------------------------------------------- */
.wp-site-blocks .wp-block-jetpack-contact-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea, select),
.wp-site-blocks .wp-block-search__input {
	box-sizing: border-box;
	width: 100%;
	padding: 14px 16px !important;
	border: 1.5px solid rgba(2, 66, 169, 0.25) !important;
	border-radius: 10px !important;
	background: #fff !important;
	color: var(--rm-text) !important;
	font-family: var(--rm-body);
	font-size: 16px !important; /* 16px stops iOS zooming into the field */
	line-height: 1.4;
	box-shadow: none !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wp-site-blocks .wp-block-jetpack-contact-form :is(input, textarea, select):focus,
.wp-site-blocks .wp-block-search__input:focus {
	border-color: var(--rm-blue) !important;
	outline: none;
	box-shadow: 0 0 0 4px rgba(2, 66, 169, 0.14) !important;
}

.wp-site-blocks .wp-block-jetpack-contact-form label,
.wp-site-blocks .wp-block-jetpack-contact-form .grunion-field-label {
	margin-bottom: 6px;
	color: var(--rm-blue) !important;
	font-family: var(--rm-display);
	font-size: 0.9rem !important;
	font-style: italic;
	font-weight: 700 !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.wp-site-blocks .wp-block-jetpack-contact-form .grunion-label-required { color: var(--rm-muted); font-style: normal; text-transform: none; letter-spacing: 0; }

.wp-site-blocks .wp-block-jetpack-contact-form .wp-block-button { width: 100%; }

.wp-site-blocks .wp-block-jetpack-contact-form .wp-block-button__link {
	width: 100%;
	border-width: 2px !important;
	border-color: var(--rm-blue) !important;
	background: var(--rm-blue) !important;
	color: #fff !important;
}

/* --------------------------------------------------------------------------
   Articles (single posts): readable measure, sporty headings
   -------------------------------------------------------------------------- */
.rm-article { color: var(--rm-text); }

.rm-article > * { max-width: 720px; }

.rm-article :is(p, li) {
	font-size: clamp(1.02rem, 0.98rem + 0.18vw, 1.1rem);
	line-height: 1.75;
}

.rm-article h2 {
	margin-top: 1.9em !important;
	font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.2rem);
}

.rm-article h2::after {
	content: "";
	display: block;
	width: 48px;
	height: 5px;
	margin-top: 0.4em;
	background: var(--rm-yellow);
	transform: skewX(-24deg);
}

.rm-article h3 {
	margin-top: 1.5em !important;
	font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.45rem);
}

.rm-article a:not(.wp-block-button__link):not(.uagb-buttons-repeater) {
	color: var(--rm-blue);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--rm-yellow);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.rm-article .wp-block-image img {
	height: auto;
	border-radius: var(--rm-radius);
	box-shadow: 0 20px 44px -26px rgba(2, 30, 80, 0.55);
}

.rm-article .wp-block-image figcaption,
.rm-article .wp-element-caption {
	color: var(--rm-muted);
	font-size: 0.9rem;
	text-align: center;
}

.rm-article ul:not([class*="uagb"]) li::marker,
.rm-article ol li::marker { color: var(--rm-blue); font-weight: 700; }

.rm-article blockquote,
.rm-article .wp-block-quote {
	margin-inline: 0;
	padding: 18px 22px;
	border-left: 5px solid var(--rm-yellow);
	border-radius: 0 10px 10px 0;
	background: var(--rm-tint);
	font-style: italic;
}

.rm-article .wp-block-table table { border-collapse: collapse; width: 100%; }
.rm-article .wp-block-table :is(td, th) { padding: 10px 12px; border: 1px solid var(--rm-line); }
.rm-article .wp-block-table th { background: var(--rm-blue); color: #fff; }
.rm-article .wp-block-table { overflow-x: auto; }

.rm-article .wp-block-uagb-buttons { margin-block: 1.6em; }

/* --------------------------------------------------------------------------
   Misc theme bits
   -------------------------------------------------------------------------- */
.wp-site-blocks .wp-block-separator.is-style-dots::before { color: var(--rm-blue); }
.am-lite-footer { display: none; }

/* Long unbroken strings (bare URLs in posts) must never widen the page */
.wp-site-blocks :is(p, li, td, h1, h2, h3, h4, figcaption) { overflow-wrap: break-word; }
.wp-site-blocks .rm-article a,
.wp-site-blocks .rm-section a { overflow-wrap: anywhere; }

/* Article rhythm */
.rm-article > * + * { margin-block-start: 1.1em; }
.rm-article > :is(ul, ol) { padding-left: 1.3em; }
.rm-article > :is(ul, ol) li + li { margin-top: 0.35em; }

.wp-site-blocks .wp-block-jetpack-contact-form .grunion-label-required { margin-left: 0.35em; }

/* Spectra's responsive-visibility classes are used in the Header and Footer
   template parts, but Spectra only prints their CSS on pages that contain its
   blocks. Repeat them (same breakpoints) so every page, e.g. 404s, hides the
   header phone number on phones and tablets. */
@media (max-width: 767px) { .uag-hide-mob { display: none !important; } }
@media (min-width: 768px) and (max-width: 1024px) { .uag-hide-tab { display: none !important; } }
@media (min-width: 1025px) { .uag-hide-desktop { display: none !important; } }
/* ==========================================================================
   Page components (rm-*): heroes, sections, cards, prices, FAQs, tables
   ========================================================================== */

/* Shared display face: the homepage's <em><strong> heading treatment. */
.rm-hero__title,
.rm-section h2,
.rm-section h3,
.rm-eyebrow,
.rm-kicker,
.rm-facts strong,
.rm-price__mins,
.rm-price__unit,
.rm-price__amount,
.rm-more,
.rm-ticks strong,
.rm-compare th,
.rm-compare td:first-child,
.rm-hero .wp-block-button__link,
.rm-section .wp-block-button__link {
	font-family: var(--rm-display);
	font-weight: 700;
	font-style: italic;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.rm-section.alignfull,
.rm-hero.alignfull {
	margin-block: 0;
	padding-inline: var(--rm-gutter);
	box-sizing: border-box;
	overflow-x: clip;
}

.rm-section.alignfull {
	padding-block: var(--rm-pad);
	color: var(--rm-text);
	background: #fff;
}

.rm-section--tint.alignfull { background: var(--rm-tint); }

.rm-section--blue.alignfull {
	color: #fff;
	background: var(--rm-blue);
}

/* Diagonal "speed" edges on the blue bands. The band overlaps its
   neighbours by --rm-angle so they show through the cut corners. */
.rm-section--angled.alignfull {
	position: relative;
	z-index: 1;
	margin-block: calc(var(--rm-angle) * -1);
	padding-block: calc(var(--rm-pad) + var(--rm-angle));
	clip-path: polygon(0 var(--rm-angle), 100% 0, 100% calc(100% - var(--rm-angle)), 0 100%);
}

.rm-section--angled:first-child { margin-top: 0; }
.rm-section--angled:last-child { margin-bottom: 0; }

.rm-section--intro.alignfull { padding-block: clamp(40px, 6vw, 72px) 0; }

.rm-section p,
.rm-section li {
	font-size: clamp(1rem, 0.97rem + 0.12vw, 1.0625rem);
	line-height: 1.7;
}

.rm-section p { margin-block: 0; }
.rm-section p + p { margin-block-start: 1em; }

.rm-section a:not(.wp-block-button__link) {
	color: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--rm-blue);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	transition: text-decoration-color 0.15s, color 0.15s;
}

.rm-section a:not(.wp-block-button__link):hover { text-decoration-color: var(--rm-yellow); }
.rm-section--blue a:not(.wp-block-button__link) { text-decoration-color: var(--rm-yellow); }
.rm-section--blue a:not(.wp-block-button__link):hover { text-decoration-color: #fff; }

.rm-section a:focus-visible,
.rm-hero a:focus-visible,
.rm-faq summary:focus-visible {
	outline: 3px solid var(--rm-yellow);
	outline-offset: 3px;
	border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Headings
   -------------------------------------------------------------------------- */
.rm-section h2 {
	margin: 0;
	color: var(--rm-blue);
	font-size: clamp(1.9rem, 1.05rem + 3.4vw, 3.3rem);
	line-height: 1;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	text-wrap: balance;
}

.rm-section h2::after {
	content: "";
	display: block;
	width: 56px;
	height: 6px;
	margin-top: 0.4em;
	background: var(--rm-yellow);
	transform: skewX(-24deg);
}

.rm-section--blue h2 { color: #fff; }

.rm-section h3 {
	margin: 0;
	color: var(--rm-blue);
	font-size: clamp(1.15rem, 1.02rem + 0.5vw, 1.4rem);
	line-height: 1.15;
	letter-spacing: 0.005em;
	text-transform: uppercase;
	text-wrap: balance;
}

.rm-kicker {
	margin: 0 0 0.6em;
	color: var(--rm-blue);
	font-size: clamp(0.74rem, 0.7rem + 0.2vw, 0.85rem);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	opacity: 0.85;
}

.rm-section .rm-kicker { font-size: clamp(0.74rem, 0.7rem + 0.2vw, 0.85rem); line-height: 1.3; }
.rm-section--blue .rm-kicker { color: var(--rm-yellow); opacity: 1; }

/* Centred section header */
.rm-section .rm-head {
	max-width: 780px;
	margin: 0 auto clamp(28px, 4.5vw, 52px);
	text-align: center;
}

.rm-head h2::after { margin-inline: auto; }

.rm-section .rm-intro {
	margin-top: 1.1em;
	color: var(--rm-muted);
	font-family: var(--rm-lead);
	font-size: clamp(1.08rem, 1rem + 0.4vw, 1.28rem);
	line-height: 1.55;
}

.rm-section--blue .rm-intro { color: rgba(255, 255, 255, 0.88); }

/* Heading left, copy right */
.rm-split.wp-block-columns {
	gap: clamp(20px, 5vw, 72px);
	margin: 0;
	align-items: flex-start;
}

@media (min-width: 782px) {
	.rm-split > .wp-block-column:first-child {
		position: sticky;
		top: calc(var(--rm-header) + 24px);
	}
}

.rm-split > .wp-block-column:last-child p:first-child {
	font-family: var(--rm-lead);
	font-size: clamp(1.12rem, 1.02rem + 0.45vw, 1.35rem);
	line-height: 1.55;
	color: var(--rm-blue);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.rm-hero.alignfull {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: min(88vh, 820px);
	min-height: min(88svh, 820px);
	padding-top: calc(var(--rm-header) + clamp(40px, 8vw, 96px));
	padding-bottom: calc(clamp(48px, 8vw, 96px) + var(--rm-angle));
	color: #fff;
	background-color: var(--rm-blue);
	background-image:
		linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), /* flat dim, same as the original homepage video */
		var(--rm-hero-m);
	background-size: cover;
	background-position: var(--rm-hero-pos, center);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--rm-angle)), 0 100%);
}

@media (min-width: 800px) {
	.rm-hero.alignfull {
		background-image:
			linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
			var(--rm-hero-d);
	}
}

.rm-hero--massages    { --rm-hero-m: url(/wp-content/uploads/reset-landing/hero-massages-m.webp);    --rm-hero-d: url(/wp-content/uploads/reset-landing/hero-massages-d.webp); }
.rm-hero--sports      { --rm-hero-m: url(/wp-content/uploads/reset-landing/hero-sports-m.webp);      --rm-hero-d: url(/wp-content/uploads/reset-landing/hero-sports-d.webp);      --rm-hero-pos: 60% 40%; }
.rm-hero--deep-tissue { --rm-hero-m: url(/wp-content/uploads/reset-landing/hero-deep-tissue-m.webp); --rm-hero-d: url(/wp-content/uploads/reset-landing/hero-deep-tissue-d.webp); }
.rm-hero--cupping     { --rm-hero-m: url(/wp-content/uploads/reset-landing/hero-cupping-m.webp);     --rm-hero-d: url(/wp-content/uploads/reset-landing/hero-cupping-d.webp); }

.rm-hero .rm-hero__inner {
	width: 100%;
	margin-inline: auto;
}

.rm-hero .rm-hero__inner > * { margin-block: 0; }

.rm-hero .rm-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.75em;
	color: #fff;
	font-size: clamp(0.72rem, 0.66rem + 0.3vw, 0.9rem);
	letter-spacing: 0.22em;
	line-height: 1.3;
	text-transform: uppercase;
}

.rm-eyebrow::before {
	content: "";
	flex: none;
	width: 32px;
	height: 5px;
	background: var(--rm-yellow);
	transform: skewX(-24deg);
}

.rm-hero .rm-hero__title {
	max-width: 15ch;
	margin-top: 0.3em;
	color: #fff;
	font-size: clamp(2.35rem, 1.1rem + 5.4vw, 5.4rem);
	line-height: 0.94;
	letter-spacing: -0.012em;
	text-transform: uppercase;
	text-wrap: balance;
	text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.rm-hero .rm-hero__lead {
	max-width: 36em;
	margin-top: clamp(16px, 2.2vw, 24px);
	color: rgba(255, 255, 255, 0.92);
	font-family: var(--rm-lead);
	font-size: clamp(1.05rem, 0.96rem + 0.45vw, 1.3rem);
	line-height: 1.5;
}

.rm-hero .rm-hero__cta { margin-top: clamp(22px, 3vw, 32px); }

/* Quick facts strip */
.rm-hero .rm-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	max-width: 640px;
	margin-top: clamp(24px, 3.5vw, 40px);
	padding: 0;
	list-style: none;
}

.rm-facts li {
	margin: 0;
	padding: 0.6em 0.85em;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-left: 3px solid var(--rm-yellow);
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.08);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.86rem;
	line-height: 1.25;
}

.rm-facts strong {
	display: block;
	color: #fff;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

@media (min-width: 700px) {
	.rm-hero .rm-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.rm-hero .wp-block-buttons,
.rm-section .wp-block-buttons { gap: 12px; }

.wp-site-blocks .rm-hero .wp-block-button .wp-block-button__link,
.wp-site-blocks .rm-section .wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 52px;
	padding: 0.85em 1.6em;
	border: 2px solid var(--rm-blue);
	border-radius: 6px;
	background: var(--rm-blue);
	color: #fff;
	font-size: clamp(0.95rem, 0.9rem + 0.22vw, 1.08rem);
	letter-spacing: 0.02em;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: 6px 6px 9px rgba(0, 0, 0, 0.2);
	transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.wp-site-blocks .rm-hero .wp-block-button .wp-block-button__link:hover,
.wp-site-blocks .rm-section .wp-block-button .wp-block-button__link:hover {
	background: var(--rm-blue-deep);
	border-color: var(--rm-blue-deep);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 8px 10px 16px rgba(0, 0, 0, 0.22);
}

.rm-hero .wp-block-button__link:focus-visible,
.rm-section .wp-block-button__link:focus-visible {
	outline: 3px solid var(--rm-yellow);
	outline-offset: 3px;
}

.wp-site-blocks .rm-hero .wp-block-button.is-style-outline > .wp-block-button__link,
.wp-site-blocks .rm-section--blue .wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.85);
	color: #fff;
	box-shadow: none;
}

.wp-site-blocks .rm-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-site-blocks .rm-section--blue .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: #fff;
	border-color: #fff;
	color: var(--rm-blue);
}

/* Phones: full-width, thumb-sized buttons */
@media (max-width: 599px) {
	.rm-hero .wp-block-buttons,
	.rm-section .wp-block-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.rm-hero .wp-block-button,
	.rm-section .wp-block-button { width: 100%; }

	.wp-site-blocks .rm-hero .wp-block-button .wp-block-button__link,
	.wp-site-blocks .rm-section .wp-block-button .wp-block-button__link { width: 100%; }
}

/* --------------------------------------------------------------------------
   Grids and cards
   -------------------------------------------------------------------------- */
.rm-section .rm-grid.is-layout-grid,
.rm-section .rm-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(14px, 2.2vw, 28px);
}

@media (min-width: 640px) {
	.rm-section .rm-grid.is-layout-grid,
	.rm-section .rm-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.rm-section .rm-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (min-width: 980px) {
	.rm-section .rm-grid:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rm-section .rm-grid:has(> :nth-child(3)) > :last-child:nth-child(odd) { grid-column: auto; }
}

.rm-section .rm-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.7em;
	box-sizing: border-box;
	height: 100%;
	margin: 0;
	padding: clamp(22px, 3vw, 34px);
	overflow: hidden;
	border: 1px solid var(--rm-line);
	border-radius: var(--rm-radius);
	background: #fff;
	box-shadow: 0 1px 2px rgba(2, 30, 80, 0.05), 0 16px 36px -22px rgba(2, 30, 80, 0.4);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rm-section .rm-card > * { margin: 0; }
.rm-section .rm-card p + p { margin: 0; }

.rm-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: linear-gradient(90deg, var(--rm-blue), #3a78e6);
}

@media (hover: hover) {
	.rm-section .rm-card:hover {
		transform: translateY(-4px);
		box-shadow: 0 1px 2px rgba(2, 30, 80, 0.05), 0 24px 44px -22px rgba(2, 30, 80, 0.5);
	}
}

.rm-section .rm-more {
	margin-top: auto;
	padding-top: 0.4em;
	font-size: 0.92rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.rm-section .rm-more a {
	color: var(--rm-blue);
	text-decoration: none;
}

.rm-section .rm-more a:hover { text-decoration: underline; text-decoration-color: var(--rm-yellow); }

/* Cards sitting on a blue band */
.rm-section--blue .rm-card {
	border-color: rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.07);
	box-shadow: none;
	color: rgba(255, 255, 255, 0.9);
}

.rm-section--blue .rm-card::before { background: var(--rm-yellow); }
.rm-section--blue .rm-card h3 { color: #fff; }

/* Numbered steps: 01 / 02 / 03 */
.rm-steps { counter-reset: rm-step; }
.rm-steps > .rm-card { counter-increment: rm-step; }

.rm-steps > .rm-card::after {
	content: counter(rm-step, decimal-leading-zero);
	position: absolute;
	top: 0.12em;
	right: 0.22em;
	color: transparent;
	font: italic 700 clamp(3.4rem, 2.6rem + 3vw, 5rem) / 1 var(--rm-display);
	-webkit-text-stroke: 1.5px rgba(2, 66, 169, 0.2);
	pointer-events: none;
}

.rm-steps > .rm-card h3 { padding-right: 3.2rem; }

/* --------------------------------------------------------------------------
   Tick list
   -------------------------------------------------------------------------- */
.rm-section .rm-ticks {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
	max-width: 980px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

@media (min-width: 700px) {
	.rm-section .rm-ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rm-section .rm-ticks > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.rm-ticks > li {
	position: relative;
	margin: 0;
	padding: 18px 20px 18px 62px;
	border: 1px solid var(--rm-line);
	border-radius: var(--rm-radius);
	background: #fff;
}

.rm-section--light .rm-ticks > li { background: var(--rm-tint); }

.rm-ticks > li::before {
	content: "";
	position: absolute;
	top: 18px;
	left: 18px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--rm-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}

.rm-ticks strong {
	display: block;
	margin-bottom: 0.15em;
	color: var(--rm-blue);
	font-size: 1.05rem;
	letter-spacing: 0.01em;
	text-transform: uppercase;
}

/* Inline reading links */
.rm-section .rm-related {
	max-width: 980px;
	margin: clamp(20px, 3vw, 32px) auto 0;
	padding: 14px 18px;
	border-left: 4px solid var(--rm-yellow);
	border-radius: 0 8px 8px 0;
	background: var(--rm-tint);
	font-size: 0.95rem;
	line-height: 1.6;
}

.rm-section--tint .rm-related { background: #fff; }
.rm-section--blue .rm-related { background: rgba(255, 255, 255, 0.08); }

.rm-section .rm-note {
	max-width: 760px;
	margin: clamp(22px, 3vw, 36px) auto 0;
	text-align: center;
	opacity: 0.92;
}

.rm-section .rm-note + .rm-note { margin-top: 0.9em; }

.rm-section .rm-lede {
	color: var(--rm-blue);
	font-family: var(--rm-lead);
	font-size: clamp(1.15rem, 1rem + 0.75vw, 1.5rem);
	line-height: 1.5;
	text-align: center;
}

.rm-section .rm-prose { max-width: 760px; margin-inline: auto; }
.rm-section .rm-prose > * { margin-block: 0; }
.rm-section .rm-prose > * + * { margin-block-start: 1em; }
.rm-section--blue .rm-prose p { color: rgba(255, 255, 255, 0.92); }
.rm-section .rm-cta-row { margin-top: 1.6em; }

/* --------------------------------------------------------------------------
   Price cards (mirrors the homepage "Choose your massage session" cards)
   -------------------------------------------------------------------------- */
.rm-section .rm-grid--prices { max-width: 820px; margin-inline: auto; }

@media (min-width: 640px) {
	.rm-section .rm-grid--prices > :last-child:nth-child(odd) { grid-column: auto; }
}

.rm-section .rm-price {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
	height: 100%;
	margin: 0;
	padding: clamp(26px, 4vw, 40px) clamp(20px, 3vw, 32px);
	overflow: hidden;
	border-radius: var(--rm-radius);
	background: #fff;
	color: var(--rm-text);
	text-align: center;
	box-shadow: 0 24px 50px -24px rgba(0, 10, 40, 0.55);
}

.rm-section .rm-price > * { margin: 0; }

.rm-price::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 6px;
	background: var(--rm-blue);
}

.rm-price--featured::before { background: var(--rm-yellow); }

.rm-section .rm-price__mins {
	color: var(--rm-blue);
	font-size: clamp(4rem, 3rem + 4vw, 6rem);
	line-height: 0.85;
	letter-spacing: -0.02em;
}

.rm-section .rm-price__unit {
	margin-top: 0.35em;
	color: var(--rm-blue);
	font-size: 0.82rem;
	letter-spacing: 0.32em;
}

.rm-section .rm-price__name {
	margin-top: 1.1em;
	font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
}

.rm-section .rm-price__amount {
	margin-top: 0.2em;
	color: var(--rm-text);
	font-size: clamp(1.9rem, 1.6rem + 1vw, 2.4rem);
	line-height: 1.1;
}

.rm-section .rm-price__desc {
	margin-top: 0.6em;
	margin-bottom: 1.4em;
	color: var(--rm-muted);
}

.rm-section .rm-price .wp-block-buttons {
	width: 100%;
	margin-top: auto;
	justify-content: center;
}

.rm-section .rm-price .wp-block-button { width: 100%; }
.wp-site-blocks .rm-section .rm-price .wp-block-button .wp-block-button__link { width: 100%; }

/* --------------------------------------------------------------------------
   FAQ accordion
   -------------------------------------------------------------------------- */
.rm-section .rm-faqs > * + * { margin-top: 12px; }

.rm-section .rm-faq {
	margin: 0;
	border: 1px solid var(--rm-line);
	border-radius: var(--rm-radius);
	background: #fff;
	transition: box-shadow 0.2s ease;
}

.rm-section .rm-faq[open] { box-shadow: 0 16px 36px -24px rgba(2, 30, 80, 0.45); }

.rm-faq summary {
	position: relative;
	display: block;
	padding: 18px 60px 18px 20px;
	color: var(--rm-blue);
	font-family: var(--rm-display);
	font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem);
	font-weight: 700;
	line-height: 1.3;
	list-style: none;
	cursor: pointer;
}

.rm-faq summary::-webkit-details-marker { display: none; }

.rm-faq summary::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 18px;
	width: 28px;
	height: 28px;
	margin-top: -14px;
	border-radius: 50%;
	background: var(--rm-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230242a9' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.rm-faq[open] summary::after {
	transform: rotate(45deg);
	background-color: var(--rm-yellow);
}

.rm-section .rm-faq > p { padding: 0 20px 20px; }

/* --------------------------------------------------------------------------
   Comparison table (deep tissue page)
   -------------------------------------------------------------------------- */
.rm-section .rm-compare {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--rm-line);
	border-radius: var(--rm-radius);
	background: #fff;
	box-shadow: 0 16px 36px -24px rgba(2, 30, 80, 0.45);
}

.rm-compare table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 1rem;
}

.rm-compare th,
.rm-compare td {
	padding: 14px 18px;
	border: 0;
	text-align: left;
	vertical-align: top;
	line-height: 1.5;
}

.rm-compare thead th {
	background: var(--rm-blue);
	color: #fff;
	font-size: 0.95rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.rm-compare tbody tr + tr td { border-top: 1px solid var(--rm-line); }

.rm-compare td:first-child {
	color: var(--rm-blue);
	font-size: 0.9rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

@media (min-width: 640px) {
	.rm-compare th:first-child,
	.rm-compare td:first-child { width: 22%; }
}

/* Phones: each row becomes a mini card with labelled cells */
@media (max-width: 639px) {
	.rm-compare table,
	.rm-compare tbody { display: block; }

	.rm-compare thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}

	.rm-compare tr {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.rm-compare tbody tr + tr td { border-top: 0; }
	.rm-compare tbody tr + tr { border-top: 1px solid var(--rm-line); }

	.rm-compare td { padding: 12px 14px; font-size: 0.95rem; }

	.rm-compare td:first-child {
		grid-column: 1 / -1;
		padding-bottom: 0;
	}

	.rm-compare td:nth-child(2) { border-right: 1px solid var(--rm-line); }

	.rm-compare td:nth-child(2)::before,
	.rm-compare td:nth-child(3)::before {
		display: block;
		margin-bottom: 2px;
		color: var(--rm-muted);
		font-size: 0.72rem;
		font-weight: 700;
		letter-spacing: 0.12em;
		text-transform: uppercase;
	}

	.rm-compare td:nth-child(2)::before { content: "Deep tissue"; }
	.rm-compare td:nth-child(3)::before { content: "Sports"; }
}

/* --------------------------------------------------------------------------
   Visit / hours
   -------------------------------------------------------------------------- */
.rm-section .rm-card--visit { background: var(--rm-tint); box-shadow: none; }
.rm-section .rm-card--visit h3 { font-size: 1.05rem; letter-spacing: 0.06em; }
.rm-section .rm-card--visit p { line-height: 1.65; }

.rm-section .rm-hours {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rm-hours > li {
	margin: 0;
	padding: 8px 0;
	border-bottom: 1px dashed rgba(2, 66, 169, 0.2);
	font-size: 0.98rem;
	line-height: 1.4;
}

.rm-hours > li:first-child { padding-top: 0; }

/* --------------------------------------------------------------------------
   Motion: gentle rise-in on scroll, only where natively supported and wanted
   -------------------------------------------------------------------------- */
@keyframes rm-rise {
	from { opacity: 0; translate: 0 22px; }
	to { opacity: 1; translate: 0 0; }
}

@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.rm-section .rm-card,
		.rm-section .rm-price,
		.rm-section .rm-ticks > li,
		.rm-section .rm-faq,
		.rm-section .rm-compare {
			animation: rm-rise linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 35%;
		}
	}
}

@media (prefers-reduced-motion: reduce) {
	.rm-section .rm-card,
	.rm-section .wp-block-button__link,
	.rm-hero .wp-block-button__link { transition: none; }
}
/* ==========================================================================
   Page-specific components: homepage, booking, contact, blog, posts
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero variants
   -------------------------------------------------------------------------- */
.rm-hero--booking  { --rm-hero-m: url(/wp-content/uploads/reset-landing/hero-booking-m.webp);  --rm-hero-d: url(/wp-content/uploads/reset-landing/hero-booking-d.webp); }
.rm-hero--sixty    { --rm-hero-m: url(/wp-content/uploads/reset-landing/hero-deep-tissue-m.webp); --rm-hero-d: url(/wp-content/uploads/reset-landing/hero-deep-tissue-d.webp); }
.rm-hero--ninety   { --rm-hero-m: url(/wp-content/uploads/reset-landing/hero-sports-m.webp);  --rm-hero-d: url(/wp-content/uploads/reset-landing/hero-sports-d.webp); --rm-hero-pos: 60% 40%; }
.rm-hero--contact  { --rm-hero-m: url(/wp-content/uploads/reset-landing/hero-contact-m.webp);  --rm-hero-d: url(/wp-content/uploads/reset-landing/hero-contact-d.webp); }
.rm-hero--blog     { --rm-hero-m: url(/wp-content/uploads/reset-landing/hero-blog-m.webp);     --rm-hero-d: url(/wp-content/uploads/reset-landing/hero-blog-d.webp); }

/* Shorter hero for utility pages (booking, contact, blog, posts) */
.rm-hero.rm-hero--short.alignfull {
	min-height: 0;
	padding-top: calc(var(--rm-header) + clamp(36px, 7vw, 80px));
	padding-bottom: calc(clamp(40px, 6vw, 72px) + var(--rm-angle));
}

.rm-hero--short .rm-hero__title { font-size: clamp(2rem, 1.1rem + 3.8vw, 4.2rem); max-width: 20ch; }

/* Photo-free hero (posts, archives) */
.rm-hero.rm-hero--plain.alignfull,
.rm-hero.rm-hero--plain.alignfull:is(*) {
	background-color: var(--rm-blue);
	background-image: none;
}

/* Homepage hero: a cover block carrying the (deferred) video */
.rm-hero--home.wp-block-cover {
	align-items: stretch;
	padding-left: var(--rm-gutter);
	padding-right: var(--rm-gutter);
}

.rm-hero--home.wp-block-cover .wp-block-cover__video-background {
	object-fit: cover;
	object-position: center;
}

.rm-hero--home.wp-block-cover .wp-block-cover__inner-container {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 100%;
	max-width: 1120px;
	margin-inline: auto;
	color: #fff;
}

.rm-hero--home .rm-hero__inner { max-width: none; }

.rm-hero h1.rm-eyebrow { margin: 0; font-family: var(--rm-display); font-weight: 700; font-style: italic; }

.rm-hero .rm-hero__display {
	margin-top: 0.25em;
	color: #fff;
	font-family: var(--rm-display);
	font-size: clamp(3.1rem, 1.4rem + 7.6vw, 7.4rem);
	font-style: italic;
	font-weight: 700;
	line-height: 0.88;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.rm-hero .rm-hero__display em { font-style: inherit; }

/* --------------------------------------------------------------------------
   Media
   -------------------------------------------------------------------------- */
.rm-section .rm-media,
.rm-section .rm-media img {
	display: block;
	width: 100%;
	margin: 0;
}

.rm-section .rm-media img {
	height: auto;
	border-radius: var(--rm-radius);
	box-shadow: 0 28px 56px -28px rgba(2, 30, 80, 0.6);
}

.rm-section .rm-video {
	overflow: hidden;
	margin: 0;
	border-radius: var(--rm-radius);
	background: var(--rm-blue);
	box-shadow: 0 28px 56px -28px rgba(2, 30, 80, 0.6);
}

.rm-section .rm-video iframe { display: block; }

/* Image on top of a card or price card, bleeding to the edges */
.rm-section .rm-card > .rm-card__media,
.rm-section .rm-price > .rm-card__media {
	width: auto;
	margin: calc(clamp(22px, 3vw, 34px) * -1) calc(clamp(22px, 3vw, 34px) * -1) 0.4em;
}

.rm-section .rm-price > .rm-card__media {
	align-self: stretch;
	margin: calc(clamp(26px, 4vw, 40px) * -1) calc(clamp(20px, 3vw, 32px) * -1) 1.2em;
}

.rm-section .rm-card__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 0;
}

/* --------------------------------------------------------------------------
   Homepage bits
   -------------------------------------------------------------------------- */
/* Four-up grid ("Why sports massage?") */
@media (min-width: 640px) {
	.rm-section .rm-grid.rm-grid--four > :last-child:nth-child(odd) { grid-column: auto; }
}

@media (min-width: 1100px) {
	.rm-section .rm-grid.rm-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Numbered steps as a list: "ASSESSMENT: ..." */
.rm-section .rm-steps-list {
	counter-reset: rm-li;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rm-steps-list > li {
	position: relative;
	margin: 0;
	padding: 0 0 0 64px;
	counter-increment: rm-li;
}

.rm-steps-list > li + li { margin-top: 22px; }

.rm-steps-list > li::before {
	content: counter(rm-li, decimal-leading-zero);
	position: absolute;
	top: -0.12em;
	left: 0;
	color: var(--rm-blue);
	font: italic 700 2.2rem / 1 var(--rm-display);
}

.rm-steps-list strong {
	display: block;
	margin-bottom: 0.2em;
	color: var(--rm-blue);
	font-family: var(--rm-display);
	font-style: italic;
	letter-spacing: 0.04em;
}

/* Founder story */
.rm-story.wp-block-columns { gap: clamp(24px, 5vw, 72px); margin: 0; align-items: flex-start; }

@media (min-width: 782px) {
	.rm-story > .wp-block-column:first-child {
		position: sticky;
		top: calc(var(--rm-header) + 24px);
	}
}

.rm-story .rm-media + .rm-media { margin-top: 18px; }

@media (max-width: 781px) {
	.rm-story .rm-media--secondary { display: none; }
	.rm-story .rm-media img { max-height: 520px; object-fit: cover; }
}

.rm-section .rm-story p {
	font-family: var(--rm-lead);
	font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem);
	line-height: 1.6;
}

.rm-section .rm-signature {
	margin-top: 1.4em !important;
	color: var(--rm-yellow);
	font-family: var(--rm-display);
	font-style: italic;
	font-weight: 700;
	letter-spacing: 0.1em;
}

/* Reviews: swipeable row of quote cards */
.rm-section .rm-reviews {
	display: flex;
	gap: clamp(14px, 2vw, 24px);
	max-width: none;
	margin-inline: calc(var(--rm-gutter) * -1);
	padding: 8px var(--rm-gutter) 20px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--rm-gutter);
	scrollbar-width: thin;
	scrollbar-color: var(--rm-blue) transparent;
	-webkit-overflow-scrolling: touch;
}

@media (min-width: 1200px) {
	.rm-section .rm-reviews { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
}

.rm-section .rm-review {
	position: relative;
	display: flex;
	flex: 0 0 min(86%, 380px);
	flex-direction: column;
	gap: 14px;
	box-sizing: border-box;
	margin: 0;
	padding: clamp(22px, 3vw, 30px);
	border: 1px solid var(--rm-line);
	border-radius: var(--rm-radius);
	background: #fff;
	box-shadow: 0 16px 36px -24px rgba(2, 30, 80, 0.45);
	scroll-snap-align: start;
}

.rm-section .rm-review > * { margin: 0; }

.rm-review::before {
	content: "★★★★★";
	color: var(--rm-yellow);
	font-size: 1.15rem;
	letter-spacing: 0.12em;
}

.rm-section .rm-review__quote {
	color: var(--rm-text);
	font-family: var(--rm-lead);
	font-size: clamp(1.05rem, 1rem + 0.2vw, 1.15rem);
	line-height: 1.55;
}

.rm-section .rm-review__name {
	margin-top: auto !important;
	color: var(--rm-blue);
	font-family: var(--rm-display);
	font-style: italic;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.rm-section .rm-swipe-hint {
	margin-top: 4px;
	color: var(--rm-muted);
	font-size: 0.85rem;
	text-align: center;
}

@media (min-width: 1200px) { .rm-section .rm-swipe-hint { display: none; } }

/* Contact form card */
.rm-section .rm-form-card {
	box-sizing: border-box;
	margin: 0;
	padding: clamp(22px, 4vw, 40px);
	border-radius: var(--rm-radius);
	background: #fff;
	color: var(--rm-text);
	box-shadow: 0 30px 60px -30px rgba(0, 10, 40, 0.6);
}

.rm-section .rm-form-card .wp-block-jetpack-contact-form { gap: 16px; padding: 0; color: var(--rm-text) !important; }
.rm-section .rm-form-card .wp-block-jetpack-contact-form > div { flex: 1 1 100%; }

.rm-section--blue .rm-contact-list p { color: rgba(255, 255, 255, 0.92); }

/* --------------------------------------------------------------------------
   Booking pages
   -------------------------------------------------------------------------- */
.rm-section .rm-booking {
	box-sizing: border-box;
	max-width: 860px;
	margin: 0 auto;
	padding: clamp(20px, 4vw, 40px);
	border: 1px solid var(--rm-line);
	border-radius: var(--rm-radius);
	background: #fff;
	box-shadow: 0 24px 50px -28px rgba(2, 30, 80, 0.5);
	scroll-margin-top: calc(var(--rm-header) + 16px);
}

.rm-section .rm-booking + .rm-booking { margin-top: clamp(20px, 3vw, 32px); }

.rm-section .rm-booking > * { margin-block: 0; }
.rm-section .rm-booking > * + * { margin-block-start: 0.9em; }

.rm-section .rm-booking__title {
	display: inline-block;
	padding: 0.45em 0.9em;
	border-radius: 6px;
	background: var(--rm-blue);
	color: #fff;
	font-family: var(--rm-display);
	font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem);
	font-style: italic;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.rm-section .rm-booking__note {
	color: var(--rm-muted);
	font-size: 0.92rem;
	font-style: italic;
}

.rm-section .rm-booking .amelia-v2-booking,
.rm-section .rm-booking #amelia-container { margin-top: 1.4em; }

/* Related article links as tiles */
.rm-section .rm-links {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	max-width: 980px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

@media (min-width: 700px) {
	.rm-section .rm-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rm-section .rm-links > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.rm-links > li { margin: 0; }

.rm-section .rm-links a:not(.wp-block-button__link) {
	position: relative;
	display: block;
	height: 100%;
	box-sizing: border-box;
	padding: 16px 48px 16px 18px;
	border: 1px solid var(--rm-line);
	border-radius: 10px;
	background: #fff;
	color: var(--rm-blue);
	font-family: var(--rm-display);
	font-style: italic;
	font-weight: 700;
	text-decoration: none;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.rm-section--light .rm-links a:not(.wp-block-button__link) { background: var(--rm-tint); }

.rm-section .rm-links a:not(.wp-block-button__link)::after {
	content: "→";
	position: absolute;
	top: 50%;
	right: 18px;
	transform: translateY(-50%);
	color: var(--rm-yellow);
	font-style: normal;
	font-size: 1.2rem;
}

.rm-section .rm-links a:not(.wp-block-button__link):hover { border-color: var(--rm-blue); transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   Blog: category chips and post cards
   -------------------------------------------------------------------------- */
.rm-section .rm-chips,
.rm-hero .rm-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rm-section .rm-chips { justify-content: center; }

.rm-chips li { margin: 0; }

.rm-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0.45em 1em;
	border: 1.5px solid var(--rm-line);
	border-radius: 999px;
	background: #fff;
	color: var(--rm-blue);
	font-family: var(--rm-display);
	font-size: 0.9rem;
	font-style: italic;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-decoration: none !important;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.rm-chips a:hover { border-color: var(--rm-blue); background: var(--rm-blue); color: #fff; }

.rm-hero .rm-chips a { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.08); color: #fff; }
.rm-hero .rm-chips a:hover { background: #fff; color: var(--rm-blue); }

.rm-query .wp-block-post-template {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: clamp(16px, 2.4vw, 28px);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 640px) {
	.rm-query .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (min-width: 1000px) {
	.rm-query .wp-block-post-template { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

.rm-query .wp-block-post-template > li { margin: 0; }

.rm-query .rm-post-card {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	height: 100%;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--rm-line);
	border-radius: var(--rm-radius);
	background: #fff;
	box-shadow: 0 1px 2px rgba(2, 30, 80, 0.05), 0 16px 36px -22px rgba(2, 30, 80, 0.4);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
	.rm-query .rm-post-card:hover {
		transform: translateY(-4px);
		box-shadow: 0 1px 2px rgba(2, 30, 80, 0.05), 0 24px 44px -22px rgba(2, 30, 80, 0.5);
	}
}

.rm-query .rm-post-card > * { margin: 0; }

.rm-query .rm-post-card .wp-block-post-featured-image { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--rm-tint); }
.rm-query .rm-post-card .wp-block-post-featured-image a,
.rm-query .rm-post-card .wp-block-post-featured-image img { display: block; width: 100%; height: 100%; object-fit: cover; }

.rm-query .rm-post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: clamp(18px, 2.4vw, 26px);
}

.rm-query .rm-post-card__body > * { margin: 0; }

.rm-query .wp-block-post-terms {
	font-family: var(--rm-display);
	font-size: 0.78rem;
	font-style: italic;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.rm-query .wp-block-post-terms a { color: var(--rm-muted); text-decoration: none; }

.wp-site-blocks .rm-query .wp-block-post-title {
	font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
	line-height: 1.2;
	text-transform: none;
}

.rm-query .wp-block-post-title a { color: var(--rm-blue); text-decoration: none; }
.rm-query .wp-block-post-title a:hover { text-decoration: underline; text-decoration-color: var(--rm-yellow); }

.rm-query .wp-block-post-excerpt { flex: 1; display: flex; flex-direction: column; }
.rm-query .wp-block-post-excerpt__excerpt { margin: 0; color: var(--rm-muted); font-size: 0.97rem; line-height: 1.6; }

.rm-query .wp-block-post-excerpt__more-text { margin: auto 0 0; padding-top: 14px; }

.rm-query .wp-block-post-excerpt__more-link {
	color: var(--rm-blue);
	font-family: var(--rm-display);
	font-size: 0.9rem;
	font-style: italic;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
}

.rm-query .wp-block-post-date { color: var(--rm-muted); font-size: 0.85rem; }

.rm-query .wp-block-query-pagination {
	justify-content: center;
	gap: 8px;
	margin-top: clamp(28px, 4vw, 48px);
}

.wp-site-blocks .rm-query .wp-block-query-pagination a,
.wp-site-blocks .rm-query .wp-block-query-pagination .page-numbers {
	min-width: 48px;
	min-height: 48px;
	padding: 0.5em 1em;
}

.rm-query .wp-block-query-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; font-family: var(--rm-display); font-style: italic; font-weight: 700; }
.rm-query .wp-block-query-pagination .page-numbers.current { background: var(--rm-tint); color: var(--rm-blue); }

.rm-query .wp-block-query-no-results { text-align: center; }

/* --------------------------------------------------------------------------
   Single posts
   -------------------------------------------------------------------------- */
.rm-hero .wp-block-post-title {
	max-width: 22ch;
	margin: 0.3em 0 0;
	color: #fff;
	font-size: clamp(2rem, 1.1rem + 3.6vw, 4rem);
	line-height: 0.98;
}

.rm-hero .rm-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 16px;
	margin-top: clamp(16px, 2vw, 22px);
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.95rem;
}

.rm-hero .rm-post-meta > * { margin: 0; }
.rm-hero .rm-post-meta a { color: #fff; }

.rm-hero .wp-block-post-terms {
	font-family: var(--rm-display);
	font-size: clamp(0.72rem, 0.66rem + 0.3vw, 0.9rem);
	font-style: italic;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.rm-hero .wp-block-post-terms a { color: var(--rm-yellow); text-decoration: none; }

.rm-post-media.wp-block-post-featured-image {
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	max-width: 960px;
	margin: calc(var(--rm-angle) * -1 - clamp(24px, 5vw, 64px)) auto 0 !important;
	padding-inline: var(--rm-gutter);
}

.rm-post-media.wp-block-post-featured-image img {
	width: 100%;
	height: auto;
	max-height: 560px;
	object-fit: cover;
	border-radius: var(--rm-radius);
	box-shadow: 0 30px 60px -30px rgba(2, 30, 80, 0.7);
}

.rm-article.wp-block-post-content {
	padding: clamp(40px, 6vw, 72px) var(--rm-gutter) clamp(48px, 7vw, 88px);
}

/* Archive / search headings inside the plain hero */
.rm-hero .wp-block-query-title {
	margin: 0.3em 0 0;
	color: #fff;
	font-size: clamp(2rem, 1.1rem + 3.6vw, 4rem);
}

.rm-hero .wp-block-term-description { margin-top: 1em; color: rgba(255, 255, 255, 0.88); max-width: 40em; }
.rm-hero .wp-block-term-description p { margin: 0; }

/* --------------------------------------------------------------------------
   Small helpers
   -------------------------------------------------------------------------- */
.rm-split.rm-split--media { align-items: center; }

.rm-section .rm-stack { display: grid; gap: 14px; }
.rm-section .rm-stack > * { margin: 0; }

.rm-section .rm-cta-row--center { justify-content: center; margin-top: clamp(24px, 3.5vw, 40px); }

.rm-section .rm-checklist {
	margin: 1.2em 0 0;
	padding: 0;
	list-style: none;
}

.rm-checklist > li {
	position: relative;
	margin: 0;
	padding-left: 38px;
}

.rm-checklist > li + li { margin-top: 14px; }

.rm-checklist > li::before {
	content: "";
	position: absolute;
	top: 0.25em;
	left: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--rm-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.rm-section--blue .rm-checklist > li::before { background-color: var(--rm-yellow); }

/* Four-up step cards: smaller numerals so they clear the headings */
.rm-grid--four.rm-steps > .rm-card::after { font-size: clamp(2.6rem, 2.2rem + 1.4vw, 3.4rem); }
.rm-grid--four.rm-steps > .rm-card h3 { padding-right: 2.6rem; }

/* Reviews: natural heights on phones, equal heights once three sit side by side */
.rm-section .rm-reviews { align-items: flex-start; }
@media (min-width: 1000px) { .rm-section .rm-reviews { align-items: stretch; } }

/* Keep the message box a sensible size */
.wp-site-blocks .wp-block-jetpack-contact-form textarea {
	height: 150px !important;
	min-height: 120px;
	max-height: 320px;
	resize: vertical;
}

/* Phones: give Amelia's calendar the full card width (it needs ~340px for seven days) */
@media (max-width: 599px) {
	.rm-section.alignfull:has(.rm-booking) { padding-inline: 10px; }
	.rm-section .rm-booking { padding: 18px 12px; }
	.rm-section .rm-booking > .amelia-v2-booking { margin-inline: -12px; }
}

/* Pagination links are buttons: beat the in-section link colour */
.wp-site-blocks .rm-section .rm-query .wp-block-query-pagination a,
.wp-site-blocks .rm-section .rm-query .wp-block-query-pagination a:hover {
	color: #fff;
	text-decoration: none;
}

/* --------------------------------------------------------------------------
   YouTube click-to-play preview (see reset-landing-pages.php)
   -------------------------------------------------------------------------- */
.wp-block-embed .rm-yt,
.wp-block-embed .rm-yt__frame {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border: 0;
}

.wp-block-embed.wp-has-aspect-ratio .rm-yt,
.wp-block-embed.wp-has-aspect-ratio .rm-yt__frame {
	position: absolute;
	inset: 0;
	height: 100%;
	aspect-ratio: auto;
}

.rm-yt {
	position: relative;
	overflow: hidden;
	padding: 0;
	background: #000;
	cursor: pointer;
}

.rm-yt img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.rm-yt:hover img { transform: scale(1.03); opacity: 0.9; }

.rm-yt__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: var(--rm-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E") 55% 50% / 34px no-repeat;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease, background-color 0.2s ease;
}

.rm-yt:hover .rm-yt__play,
.rm-yt:focus-visible .rm-yt__play { transform: translate(-50%, -50%) scale(1.08); }

.rm-yt:focus-visible { outline: 3px solid var(--rm-yellow); outline-offset: 3px; }

/* ==========================================================================
   Spacing and polish fixes (client feedback, 24 Sept)
   ========================================================================== */

/* Homepage hero: no yellow bar before the eyebrow */
.rm-hero--home .rm-eyebrow::before { display: none; }

/* Room between a heading in a column and whatever follows it
   (homepage "Sports massage explained", contact "Find Reset Massage…") */
.rm-section .wp-block-column > :is(h2, h3) + * { margin-top: clamp(22px, 2.6vw, 32px); }

/* Room below a heading/copy split before the next block (e.g. cards on /massages/) */
.rm-section .rm-split.wp-block-columns + * { margin-top: clamp(36px, 5vw, 60px); }

/* FAQ accordions: consistent gap between cards */
.rm-section .rm-faqs {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* Step numbers sit on their own line above the heading, not beside it */
.rm-section .rm-steps > .rm-card::after {
	position: static;
	order: -1;
	display: block;
	margin: 0 0 -0.15em;
	font-size: clamp(2.6rem, 2.2rem + 1.4vw, 3.4rem);
	line-height: 0.9;
}

.rm-section .rm-steps > .rm-card h3,
.rm-section .rm-grid--four.rm-steps > .rm-card h3 { padding-right: 0; }

.rm-section--blue .rm-steps > .rm-card::after { -webkit-text-stroke-color: rgba(255, 255, 255, 0.35); }

/* Reviews: make the side scroll obvious. The script in reset-landing-pages.php
   adds is-scrollable / is-start / is-end, arrow buttons and a counter. The edge
   fades show there is more to either side. */
.rm-section .rm-reviews.is-scrollable.is-start {
	-webkit-mask-image: linear-gradient(to right, #000 80%, transparent);
	mask-image: linear-gradient(to right, #000 80%, transparent);
}

.rm-section .rm-reviews.is-scrollable:not(.is-start):not(.is-end) {
	-webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 80%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 8%, #000 80%, transparent);
}

.rm-section .rm-reviews.is-scrollable.is-end {
	-webkit-mask-image: linear-gradient(to right, transparent, #000 12%);
	mask-image: linear-gradient(to right, transparent, #000 12%);
}

.rm-reviews-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 18px;
}

.rm-reviews-nav button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 2px solid var(--rm-blue);
	border-radius: 50%;
	background: var(--rm-blue);
	color: #fff;
	cursor: pointer;
	box-shadow: var(--rm-shadow-btn);
	transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease;
}

.rm-reviews-nav button:hover:not(:disabled) { transform: translateY(-2px); background: var(--rm-blue-deep); }
.rm-reviews-nav button:disabled { opacity: 0.3; cursor: default; box-shadow: none; }
.rm-reviews-nav button svg { width: 22px; height: 22px; }
.rm-reviews-nav button:focus-visible { outline: 3px solid var(--rm-yellow); outline-offset: 3px; }

.rm-reviews-nav__count {
	min-width: 5.5em;
	color: var(--rm-blue);
	font-family: var(--rm-display);
	font-size: 0.95rem;
	font-style: italic;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

/* The arrows replace the text hint */
.rm-section .rm-reviews-nav + .rm-swipe-hint,
.rm-section .rm-swipe-hint { display: none; }

/* Card links on a blue band */
.rm-section--blue .rm-more a { color: #fff; text-decoration: underline; text-decoration-color: var(--rm-yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.rm-section--blue .rm-more a:hover { color: var(--rm-yellow); }
