/* ==========================================================================
   RWH theme
   ========================================================================== */

/* ---------- Fonts ---------- */

@font-face {
	font-family: "Noto Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/noto-sans-latin-400-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Noto Sans";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/noto-sans-latin-400-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Noto Sans";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/noto-sans-latin-700-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Economica";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/economica-latin-400-normal.woff2") format("woff2");
}

@font-face {
	font-family: "Economica";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/economica-latin-700-normal.woff2") format("woff2");
}

/* Local fallback sized to Economica, so the header doesn't jump when the web font arrives. */
@font-face {
	font-family: "Economica Fallback";
	src: local("Arial Narrow"), local("Roboto Condensed"), local("RobotoCondensed-Regular"), local("Arial"), local("Helvetica");
	size-adjust: 80%;
	ascent-override: 95%;
	descent-override: 22%;
}

/* ---------- Tokens ---------- */

:root {
	--rwh-blue: #4293f5;
	--rwh-blue-dark: #1f6fd6;
	--rwh-blue-bar: #2273d8;
	--rwh-navy: #0e4a96;
	--rwh-light: #eaf6fa;
	--rwh-line: #d6e6f5;
	--rwh-pink: #d42a7f;
	--rwh-accent: #f4a93f;
	--rwh-text: #333;
	--rwh-muted: #5a6b7d;
	--rwh-focus: #ffbf47;
	--rwh-focus-dark: #0b2a55;

	--rwh-font-body: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--rwh-font-head: "Economica", "Economica Fallback", sans-serif;

	--rwh-container: 1240px;
	--rwh-gutter: clamp(1rem, 4vw, 2rem);
	--rwh-radius: 10px;

	/* Overwritten by JS with measured values; these keep anchor links clear before it runs. */
	--rwh-sticky-offset: 120px;
	--rwh-adminbar-h: 0px;
}

@media (min-width: 1024px) {
	:root {
		--rwh-sticky-offset: 64px;
	}
}

/* Height of the logged-in admin bar where it is fixed (it scrolls away below 601px). */
.admin-bar {
	--rwh-adminbar-h: var(--wp-admin--admin-bar--height, 32px);
}

@media (max-width: 600px) {
	.admin-bar {
		--rwh-adminbar-h: 0px;
	}
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--rwh-sticky-offset, 0px) + 1rem);
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
	margin: 0;
	font-family: var(--rwh-font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--rwh-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 .5em;
	font-family: var(--rwh-font-head);
	font-weight: 700;
	line-height: 1.15;
	color: var(--rwh-text);
	text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 4.5vw, 2.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.4rem, 2.6vw, 1.7rem); }
h4 { font-size: 1.3rem; }

p,
ul,
ol,
dl,
blockquote,
figure {
	margin: 0 0 1em;
}

a {
	color: var(--rwh-blue-dark);
	text-underline-offset: .15em;
	text-decoration-thickness: 1px;
}

a:hover {
	color: var(--rwh-navy);
}

:focus-visible {
	outline: 3px solid var(--rwh-focus-dark);
	outline-offset: 2px;
	box-shadow: 0 0 0 6px var(--rwh-focus);
}

/* On blue or photo backgrounds the colours swap so the ring always shows. */
.masthead :focus-visible,
.nav :focus-visible,
.site-footer :focus-visible,
.notice--top :focus-visible,
.to-top:focus-visible,
.rwh-slider :focus-visible,
.rwh-cta--blue :focus-visible {
	outline-color: #fff;
	box-shadow: 0 0 0 6px var(--rwh-focus-dark);
}

address {
	font-style: normal;
}

hr {
	height: 1px;
	margin: 2rem 0;
	border: 0;
	background: var(--rwh-line);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: .5rem;
	left: .5rem;
	z-index: 1000;
	padding: .75rem 1rem;
	background: #fff;
	color: var(--rwh-navy);
	font-weight: 700;
	border-radius: 6px;
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
}

.container {
	width: 100%;
	max-width: calc(var(--rwh-container) + var(--rwh-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--rwh-gutter);
}

.site-main {
	display: block;
	min-height: 40vh;
}

.site-main:focus {
	outline: none;
}

/* ---------- Notice ---------- */

.notice {
	background: var(--rwh-light);
	color: var(--rwh-text);
}

.notice__inner {
	display: grid;
	gap: 1.25rem;
	padding-block: 1.75rem;
}

@media (min-width: 900px) {
	.notice__inner:has(> :nth-child(2)) {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}
}

.notice__text {
	font-style: italic;
}

.notice__text > :last-child {
	margin-bottom: 0;
}

.notice--top {
	background: var(--rwh-navy);
	color: #fff;
	font-size: .9rem;
}

.notice--top .notice__inner {
	padding-block: .6rem;
}

.notice--top .notice__text {
	font-style: normal;
}

.notice--top a {
	color: #fff;
}

/* ---------- Header ---------- */

.masthead {
	position: relative;
	overflow: hidden;
	background: var(--rwh-blue-bar);
	color: #fff;
}

/* The white diagonal from the original header, drawn in CSS. */
.masthead::before,
.masthead::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.masthead::before {
	background: rgba(255, 255, 255, .14);
	clip-path: polygon(62% 0, 100% 0, 100% 38%);
}

.masthead::after {
	background: #fff;
	clip-path: polygon(0 100%, 100% 72%, 100% 100%);
}

@media (min-width: 1024px) {
	.masthead::after {
		clip-path: polygon(0 100%, 100% 42%, 100% 100%);
	}
}

.masthead__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 96px;
	padding-block: .85rem 1.6rem;
}

.brand {
	display: flex;
	align-items: center;
	gap: .85rem;
	min-width: 0;
	color: #fff;
	text-decoration: none;
}

.brand:hover {
	color: #fff;
}

.brand__logo {
	display: block;
	flex: none;
	width: 56px;
	height: auto;
	border-radius: 6px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}

.brand__text {
	display: grid;
	min-width: 0;
}

.brand__name {
	font-family: var(--rwh-font-head);
	font-size: clamp(1.35rem, 4.8vw, 2.9rem);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: .01em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .12);
	text-wrap: balance;
}

.brand__tagline {
	margin-top: .15rem;
	font-size: clamp(.8rem, 2.2vw, 1.25rem);
	font-weight: 400;
	line-height: 1.25;
}

.masthead__contact {
	display: none;
}

.masthead__phone,
.masthead__address {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	text-decoration: none;
}

.masthead__phone {
	color: #fff;
	font-size: clamp(1.25rem, 2vw, 1.7rem);
	font-weight: 700;
	letter-spacing: .01em;
}

.masthead__phone:hover {
	color: #fff;
	text-decoration: underline;
}

/* Sits on a light pill so it stays readable wherever the diagonal falls. */
.masthead__address {
	padding: .25rem .8rem .25rem .6rem;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 1px 6px rgba(14, 74, 150, .18);
	color: var(--rwh-navy);
	font-size: 1.05rem;
	white-space: nowrap;
}

.masthead__address .rwh-icon {
	color: var(--rwh-pink);
}

.masthead__address:hover {
	color: var(--rwh-navy);
	text-decoration: underline;
}

.nav-toggle {
	display: inline-grid;
	justify-items: center;
	gap: .1rem;
	flex: none;
	margin-left: auto;
	padding: .4rem .55rem;
	border: 0;
	border-radius: 8px;
	background: var(--rwh-blue-bar);
	color: #fff;
	font: inherit;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	cursor: pointer;
	align-self: flex-start;
}

.nav-toggle .rwh-icon {
	width: 26px;
	height: 26px;
}

.nav-toggle__close,
.nav-open .nav-toggle__open {
	display: none;
}

.nav-open .nav-toggle__close {
	display: block;
}

@media (min-width: 600px) {
	.brand__logo {
		width: 72px;
	}
}

@media (min-width: 1024px) {
	.masthead__inner {
		min-height: 184px;
		padding-block: 1.1rem;
		align-items: flex-start;
	}

	.brand {
		gap: 1.5rem;
		padding-top: .25rem;
	}

	.brand__logo {
		width: 104px;
	}

	.masthead__contact {
		display: grid;
		justify-items: end;
		align-content: space-between;
		gap: 1rem;
		align-self: stretch;
		margin-left: auto;
		padding-bottom: .35rem;
		text-align: right;
	}

	.nav-toggle {
		display: none;
	}
}

/* ---------- Sticky header ---------- */

.nav__brand {
	display: none;
}

@media (max-width: 1023px) {
	.site-header {
		position: sticky;
		top: var(--rwh-adminbar-h, 0px);
		z-index: 100;
	}


	.is-scrolled .masthead__inner {
		min-height: 60px;
		padding-block: .5rem .75rem;
	}

	.is-scrolled .brand__logo {
		width: 40px;
	}

	.is-scrolled .brand__name {
		font-size: 1.25rem;
	}

	.is-scrolled .brand__tagline {
		display: none;
	}

	.is-scrolled .nav-toggle {
		align-self: center;
	}

	.is-scrolled .masthead::after {
		clip-path: polygon(0 100%, 100% 86%, 100% 100%);
	}

	.nav-open .nav {
		max-height: calc(100vh - var(--rwh-masthead-h, 120px) - var(--rwh-adminbar-h, 0px));
		max-height: calc(100dvh - var(--rwh-masthead-h, 120px) - var(--rwh-adminbar-h, 0px));
		overflow-y: auto;
		overscroll-behavior: contain;
	}
}

@media (min-width: 1240px) {
	.nav > .container {
		position: relative;
	}

	.nav__brand {
		position: absolute;
		top: 50%;
		left: var(--rwh-gutter);
		display: flex;
		opacity: 0;
		visibility: hidden;
		transform: translate(-8px, -50%);
		transition: opacity .2s, transform .2s, visibility .2s;
	}

	.is-scrolled .nav__brand {
		opacity: 1;
		visibility: visible;
		transform: translate(0, -50%);
	}

	/* Make room for the logo once it shows. */
	.nav__menu {
		transition: padding-left .2s;
	}

	.is-scrolled .nav__menu {
		padding-left: 52px;
	}

	.nav__brand-logo {
		display: block;
		width: 38px;
		height: auto;
		border-radius: 4px;
	}
}

/* ---------- Navigation ---------- */

.nav {
	background: var(--rwh-blue-bar);
	color: #fff;
}

.nav > .container {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 1rem;
}

.nav__menu,
.nav__menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav__menu a {
	display: block;
	color: #fff;
	text-decoration: none;
}

.nav__portal {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
}

.nav__toggle-sub {
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.nav__toggle-sub .rwh-icon {
	transition: transform .2s;
}

.is-open > .nav__toggle-sub .rwh-icon {
	transform: rotate(180deg);
}

/* Mobile: collapsible panel */
@media (max-width: 1023px) {
	.nav {
		display: none;
	}

	.nav-open .nav {
		display: block;
	}

	.nav > .container {
		flex-direction: column;
		gap: 0;
		padding-block: .5rem 1rem;
	}

	.nav__menu > li {
		border-bottom: 1px solid rgba(255, 255, 255, .18);
	}

	.nav__menu li {
		position: relative;
	}

	.nav__menu a {
		padding: .85rem 3.25rem .85rem .25rem;
		font-size: 1.05rem;
		text-transform: uppercase;
		letter-spacing: .03em;
	}

	.nav__menu .sub-menu {
		display: none;
		padding: 0 0 .5rem 1rem;
	}

	.nav__menu .is-open > .sub-menu {
		display: block;
	}

	.nav__menu .sub-menu a {
		padding-block: .6rem;
		text-transform: none;
		font-size: 1rem;
	}

	.nav__toggle-sub {
		position: absolute;
		top: .3rem;
		right: 0;
		width: 44px;
		height: 44px;
		border-radius: 6px;
	}

	.nav__toggle-sub:hover {
		background: rgba(255, 255, 255, .12);
	}

	.nav__menu .current-menu-item > a,
	.nav__menu .current-menu-ancestor > a {
		font-weight: 700;
	}

	.nav__portal {
		justify-content: center;
		margin-top: 1rem;
		padding: .8rem 1rem;
		border-radius: 999px;
		background: #fff;
		color: var(--rwh-navy);
	}
}

/* Desktop: horizontal bar with dropdowns */
@media (min-width: 1024px) {
	/* The header sticks with the masthead pushed above the screen, so only the menu bar stays. */
	.site-header {
		position: sticky;
		top: calc(var(--rwh-adminbar-h, 0px) - var(--rwh-masthead-h, 184px));
		z-index: 100;
	}

	.nav {
		position: relative;
		z-index: 50;
		transition: box-shadow .2s;
	}

	.is-scrolled .nav {
		box-shadow: 0 2px 10px rgba(14, 74, 150, .18);
	}

	.nav__menu {
		display: flex;
		flex-wrap: nowrap;
		justify-content: center;
	}

	.nav__menu > li {
		position: relative;
		display: flex;
		align-items: center;
	}

	.nav__menu > li + li {
		border-left: 1px solid rgba(255, 255, 255, .22);
	}

	.nav__menu > li > a {
		display: flex;
		align-items: center;
		min-height: 64px;
		padding: 0 1.05rem;
		font-size: .95rem;
		text-transform: uppercase;
		letter-spacing: .02em;
		transition: background-color .15s;
	}

	.nav__menu > li:hover > a,
	.nav__menu > li > a:focus-visible,
	.nav__menu > .current-menu-item > a,
	.nav__menu > .current-menu-ancestor > a,
	.nav__menu > .current_page_item > a {
		background: rgba(0, 0, 0, .14);
	}

	.nav__menu > .current-menu-item > a,
	.nav__menu > .current-menu-ancestor > a,
	.nav__menu > .current_page_item > a {
		box-shadow: inset 0 -3px 0 #fff;
	}

	.nav__menu > li.menu-item-has-children > a {
		padding-right: .35rem;
	}

	.nav__toggle-sub {
		width: 28px;
		height: 64px;
		margin-right: .4rem;
	}

	.nav__menu .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 60;
		min-width: 240px;
		padding: .4rem 0;
		border-radius: 0 0 8px 8px;
		background: #fff;
		box-shadow: 0 10px 30px rgba(14, 74, 150, .2);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity .15s, transform .15s, visibility .15s;
	}

	.nav__menu li:hover:not(.is-dismissed) > .sub-menu,
	.nav__menu li:focus-within:not(.is-dismissed) > .sub-menu,
	.nav__menu li.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.nav__menu .sub-menu a {
		padding: .7rem 1.25rem;
		color: var(--rwh-text);
	}

	.nav .sub-menu :focus-visible {
		outline-color: var(--rwh-focus-dark);
		outline-offset: -3px;
		box-shadow: inset 0 0 0 6px var(--rwh-focus);
	}

	.nav__menu .sub-menu a:hover,
	.nav__menu .sub-menu a:focus-visible,
	.nav__menu .sub-menu .current-menu-item > a {
		background: var(--rwh-light);
		color: var(--rwh-navy);
	}

	.nav__portal {
		margin-left: auto;
		padding-inline: 1rem;
		font-size: .9rem;
		white-space: nowrap;
	}

	.nav__portal:hover {
		color: #fff;
		background: rgba(0, 0, 0, .14);
	}
}

@media (min-width: 1024px) and (max-width: 1239px) {
	.masthead__address {
		font-size: .95rem;
	}

	.nav__menu > li > a {
		padding-inline: .7rem;
		font-size: .875rem;
	}

	.nav__portal span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}
}

/* ---------- Page header & content ---------- */

.page-header {
	padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem);
	background: var(--rwh-light);
	text-align: center;
}

.page-header__title {
	margin: 0;
}

.prose {
	max-width: 50rem;
	margin-inline: auto;
	padding-block: clamp(2rem, 5vw, 3.5rem);
}

.prose > :last-child {
	margin-bottom: 0;
}

.prose h2,
.prose h3 {
	margin-top: 1.5em;
}

.prose ul,
.prose ol {
	padding-left: 1.25em;
}

.prose li + li {
	margin-top: .35em;
}

.post-list {
	display: grid;
	gap: 1.5rem;
	padding-block: 2.5rem;
}

.post-card {
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--rwh-line);
}

.post-card__title a {
	color: var(--rwh-navy);
	text-decoration: none;
}

/* Elementor pages: let Elementor control width, keep theme typography. */
.entry--builder {
	overflow-x: clip;
}

/* Section headings inside a text block sit below the page's H1, so they stay smaller than a full H2. */
.entry--builder .elementor-widget-text-editor h2 {
	margin-top: 1.1em;
	font-size: clamp(1.45rem, 2.7vw, 1.8rem);
}

.entry--builder .elementor-widget-text-editor h2:first-child {
	margin-top: 0;
}

.entry--builder .elementor-widget-text-editor ul,
.entry--builder .elementor-widget-text-editor ol {
	padding-left: 1.25em;
}

@media (max-width: 767px) {
	.entry--builder .elementor-widget-image-box .elementor-image-box-img img {
		aspect-ratio: 16/10;
	}
}

/* Image boxes (cards): full-width image, consistent shape */
.entry--builder .elementor-widget-image-box .elementor-image-box-img {
	width: 100% !important;
	margin: 0 0 1rem !important;
}

.entry--builder .elementor-widget-image-box .elementor-image-box-img img {
	display: block;
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	border-radius: 8px;
}

.entry--builder .elementor-widget-image-box .elementor-image-box-title a {
	color: inherit;
	text-decoration: none;
}

.entry--builder .elementor-widget-image-box .elementor-image-box-title a::after {
	content: " →";
}

/* ---------- Footer ---------- */

.site-footer {
	background: var(--rwh-blue-bar);
	color: #fff;
}

.site-footer a {
	color: #fff;
}

.site-footer a:hover {
	color: #fff;
	text-decoration-thickness: 2px;
}

.footer__grid {
	display: grid;
	gap: 2.5rem;
	padding-block: 3rem;
}

@media (min-width: 700px) {
	.footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.footer__grid {
		grid-template-columns: 1fr 1.1fr 1.2fr .9fr;
		gap: 2.5rem;
	}
}

.footer__title {
	margin: 0 0 1rem;
	color: #fff;
	font-size: 1.6rem;
	font-weight: 400;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer__links li {
	border-bottom: 1px solid rgba(255, 255, 255, .25);
}

.footer__links a {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding-block: .35rem;
	font-family: var(--rwh-font-head);
	font-size: 1.35rem;
	text-decoration: none;
}

.footer__links a::after {
	content: "→";
	margin-left: auto;
	padding-left: .75rem;
	font-family: var(--rwh-font-body);
	font-size: 1rem;
	opacity: .7;
	transition: transform .2s;
}

.footer__links a:hover::after {
	transform: translateX(3px);
}

.site-footer .rwh-info__icon {
	background: rgba(0, 0, 0, .25);
	color: #fff;
}

.site-footer .rwh-info__label {
	opacity: 1;
}

.site-footer .rwh-hours-list dt {
	min-width: 8.5rem;
}

.footer__col--brand {
	display: grid;
	justify-items: center;
	align-content: start;
	gap: 1.5rem;
	text-align: center;
}

@media (min-width: 700px) and (max-width: 1099px) {
	.footer__col--brand {
		justify-items: start;
		text-align: left;
	}
}

.footer__logo-img {
	display: block;
	width: 110px;
	height: auto;
	border-radius: 6px;
}

.footer__affiliate {
	display: inline-block;
	padding: .75rem;
	border-radius: 8px;
	background: #fff;
}

.footer__affiliate-img {
	display: block;
	width: 150px;
	height: auto;
}

.footer__bottom {
	background: rgba(0, 0, 0, .18);
	font-size: .9rem;
}

.footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .5rem 1.5rem;
	padding-block: 1rem;
}

.footer__bottom p {
	margin: 0;
}

/* Map (loads Google Maps only when tapped) */
.map {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4/3;
	border-radius: var(--rwh-radius);
	background:
		linear-gradient(rgba(234, 246, 250, .92), rgba(234, 246, 250, .92)),
		repeating-linear-gradient(0deg, transparent 0 38px, #c9dff2 38px 40px),
		repeating-linear-gradient(90deg, transparent 0 38px, #c9dff2 38px 40px),
		#eaf6fa;
}

.map__load {
	display: grid;
	place-content: center;
	justify-items: center;
	gap: .35rem;
	width: 100%;
	height: 100%;
	padding: 1rem;
	border: 0;
	background: none;
	color: var(--rwh-navy);
	font: inherit;
	text-align: center;
	cursor: pointer;
}

.map__pin {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--rwh-pink);
	color: #fff;
	box-shadow: 0 4px 14px rgba(212, 42, 127, .35);
}

.map__pin .rwh-icon {
	width: 26px;
	height: 26px;
}

.map__label {
	font-weight: 700;
}

.map__address {
	font-size: .875rem;
}

.map__note {
	max-width: 22rem;
	margin-top: .25rem;
	color: var(--rwh-muted);
	font-size: .75rem;
	line-height: 1.4;
}

/* The map box clips overflow, so its focus ring sits inside. */
.site-footer .map__load:focus-visible {
	outline-color: var(--rwh-focus-dark);
	outline-offset: -6px;
	box-shadow: inset 0 0 0 9px var(--rwh-focus);
}

.map iframe:focus-visible {
	outline-offset: -3px;
}

.map__open {
	position: absolute;
	right: .5rem;
	bottom: .5rem;
	padding: .3rem .6rem;
	border-radius: 6px;
	background: #fff;
	font-size: .8rem;
	color: var(--rwh-navy) !important;
	text-decoration: none;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}

.map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.map.is-loaded .map__load {
	display: none;
}

/* Back to top with scroll progress ring */
.to-top {
	position: fixed;
	right: calc(1rem + env(safe-area-inset-right));
	bottom: calc(1rem + env(safe-area-inset-bottom));
	z-index: 40;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--rwh-navy);
	color: #fff;
	box-shadow: 0 4px 14px rgba(14, 74, 150, .35);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .2s, transform .2s, visibility .2s;
}

.to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.to-top:hover {
	color: #fff;
	background: var(--rwh-blue-dark);
}

.to-top .rwh-icon {
	position: relative;
	width: 22px;
	height: 22px;
}

.to-top__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.to-top__track,
.to-top__progress {
	fill: none;
	stroke-width: 3;
}

.to-top__track {
	stroke: rgba(255, 255, 255, .22);
}

.to-top__progress {
	stroke: var(--rwh-pink);
	stroke-linecap: round;
	transition: stroke-dashoffset .1s linear;
}

@media (prefers-reduced-motion: reduce) {
	.to-top__progress {
		transition: none;
	}
}

/* Not found */
.not-found {
	text-align: center;
}

/* Reduced motion: no animated transitions anywhere. */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
	}
}

/* Print */
@media print {
	.nav,
	.nav-toggle,
	.notice,
	.footer__col--map,
	.to-top {
		display: none !important;
	}

	.masthead,
	.site-footer {
		background: none;
		color: #000;
	}

	.masthead::before,
	.masthead::after {
		display: none;
	}

	.brand,
	.masthead__phone,
	.site-footer a {
		color: #000;
	}
}
