/* =====================================================================
   Site chrome — the redesigned header + footer, shared by EVERY page.
   Markup: template-parts/site-header.php + template-parts/site-footer.php
   Enqueued by inc/site-chrome.php (after theme.css so it wins on inner
   pages, after redesign.css on the homepage).

   Moved here from css/redesign.css (Figma node 213:42) so the homepage and
   the inner pages share one source. Everything is scoped to .rd-header /
   .rd-footer: inner pages don't carry body.rd-body, and Foundation +
   theme.css element rules (a, p, ul, img, footer[role]) load there too.
   ===================================================================== */

.rd-header,
.rd-footer,
.rd-callback {
	--rd-yellow: #ffcc00;
	--rd-yellow-hover: #e6b800;
	--rd-blue: #000f71;
	--rd-blue-deep: #000b51;
	--rd-blue-dark: #010c50;
	--rd-blue-band: #0a165c;
	--rd-surface-card: #e9ebf6;
	--rd-text-muted: #5a5e75;
	--rd-max: 1560px;
	/* Logo badge width + breathing room: the primary nav starts after it. */
	--rd-logo-clear: 172px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--rd-blue);
	line-height: 1.5;
	text-align: left;
}

.rd-header *,
.rd-header *::before,
.rd-header *::after,
.rd-footer *,
.rd-footer *::before,
.rd-footer *::after,
.rd-callback *,
.rd-callback *::before,
.rd-callback *::after {
	box-sizing: border-box;
}

.rd-header a,
.rd-footer a {
	text-decoration: none;
}

.rd-header p,
.rd-footer p {
	line-height: 1.65;
	margin: 0;
	font-size: inherit;
}

.rd-header ul,
.rd-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: inherit;
}

/* theme style.css sets `a { outline: none !important }` site-wide, which
   hides keyboard focus. Put a visible ring back inside the chrome only. */
.rd-header a:focus-visible,
.rd-header button:focus-visible,
.rd-footer a:focus-visible {
	outline: 3px solid var(--rd-yellow) !important;
	outline-offset: 2px;
	border-radius: 4px;
}

.rd-header .rd-container,
.rd-footer .rd-container,
.rd-callback .rd-container {
	max-width: var(--rd-max);
	margin: 0 auto;
	padding: 0 24px;
}

@media (min-width: 1600px) {
	.rd-header .rd-container,
	.rd-footer .rd-container,
	.rd-callback .rd-container {
		padding: 0;
	}
}

.rd-header .rd-icon,
.rd-footer .rd-icon,
.rd-callback .rd-icon {
	display: inline-flex;
	width: 1em;
	height: 1em;
	flex-shrink: 0;
}

.rd-header .rd-icon svg,
.rd-footer .rd-icon svg,
.rd-callback .rd-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.rd-header .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ---------------------------------------------------------------------
   HEADER
   --------------------------------------------------------------------- */

.rd-header {
	position: relative;
	z-index: 20;
	background: #fff;
}

.rd-header .rd-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	padding: 0 26px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 15px;
	border: none;
	cursor: pointer;
	white-space: nowrap;
}

.rd-header .rd-btn--primary {
	background: var(--rd-yellow);
	color: var(--rd-blue);
}

.rd-header .rd-btn--primary:hover,
.rd-header .rd-btn--primary:focus {
	background: var(--rd-yellow-hover);
	color: var(--rd-blue);
}

/* Welcome / utility bar */
.rd-welcome {
	background: var(--rd-blue-band);
	color: #fff;
	font-size: 13px;
}

.rd-welcome__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 44px;
	gap: 20px;
}

.rd-welcome__left {
	display: flex;
	align-items: center;
	gap: 14px;
}

.rd-welcome .rd-welcome__brand-text {
	margin: 0;
	font-weight: 700;
	white-space: nowrap;
	color: #fff;
}

.rd-welcome__divider {
	display: inline-block;
	width: 1px;
	height: 14px;
	background: rgba(255, 255, 255, 0.32);
}

.rd-welcome__right {
	display: flex;
	align-items: center;
	gap: 22px;
}

.rd-welcome__hours {
	opacity: 0.9;
	font-weight: 700;
	white-space: nowrap;
}

.rd-welcome__trades {
	display: flex;
	gap: 9px;
}

.rd-header .rd-pill {
	background: var(--rd-yellow);
	color: var(--rd-blue-deep);
	font-weight: 600;
	font-size: 13px;
	line-height: 1.2;
	padding: 7px 15px;
	border-radius: 999px;
	white-space: nowrap;
}

.rd-header .rd-pill:hover,
.rd-header .rd-pill:focus {
	background: var(--rd-yellow-hover);
	color: var(--rd-blue-deep);
}

.rd-welcome__social {
	display: flex;
	gap: 12px;
}

.rd-welcome__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 27px;
	height: 27px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.rd-welcome__social a:hover,
.rd-welcome__social a:focus {
	background: rgba(255, 255, 255, 0.26);
	color: #fff;
}

.rd-welcome__social .rd-icon {
	width: 16px;
	height: 16px;
}

/* Main header row: logo (overlaps the welcome bar above + nav below) +
   tagline + rating / phone / CTA */
.rd-masthead {
	background: #fff;
	padding: 12px 0;
	min-height: 96px;
}

.rd-masthead__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 72px;
}

/* The badge breaks out of the white row (Figma node 347:27): it overlaps
   the welcome bar above and dips into the primary nav below, positioned
   against the 1560px container edge. */
.rd-brand {
	position: absolute;
	left: 0;
	top: -10px;
	z-index: 5;
	display: block;
	line-height: 0;
}

.rd-header .rd-brand img {
	display: block;
	width: 160px;
	height: 160px;
	max-width: none;
	object-fit: contain;
}

.rd-masthead .rd-header-tagline {
	margin: 0 0 0 174px;
	font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: var(--rd-blue);
	white-space: nowrap;
	line-height: 1.3;
}

.rd-header-actions {
	display: flex;
	align-items: center;
	gap: 28px;
	flex-shrink: 0;
}

.rd-header-actions > * {
	flex-shrink: 0;
}

.rd-rating {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	white-space: nowrap;
	font-weight: 600;
}

.rd-rating__stars {
	display: inline-flex;
	color: var(--rd-yellow);
	font-size: 14px;
	letter-spacing: 2px;
}

.rd-header .rd-phone {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
	white-space: nowrap;
}

.rd-phone__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	color: var(--rd-text-muted);
}

.rd-phone__number {
	font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
	font-weight: 800;
	font-size: 22px;
	color: var(--rd-blue);
}

.rd-header .rd-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0 9px;
	margin: 0;
	background: none;
	border: none;
	border-radius: 6px;
	cursor: pointer;
}

.rd-nav-toggle span:not(.screen-reader-text) {
	display: block;
	height: 2px;
	background: var(--rd-blue);
	border-radius: 2px;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.rd-nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.rd-nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.rd-nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Primary navigation */
.rd-nav {
	background: var(--rd-blue);
	position: relative;
}

/* Starts after the logo badge (which dips into this bar) instead of
   centring under it — centred, the first item sat behind the badge. */
.rd-header .rd-nav__inner {
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 32px;
	height: 60px;
	padding-left: calc(24px + var(--rd-logo-clear));
}

@media (min-width: 1600px) {
	.rd-header .rd-nav__inner {
		padding-left: var(--rd-logo-clear);
	}
}

.rd-nav__cta {
	align-self: center;
}

/* align-items:stretch so each <li> fills the full 60px bar — a dropdown's
   top:100% then anchors to the bar's bottom edge, not mid-bar. */
.rd-nav__list {
	display: flex;
	align-items: stretch;
	gap: 26px;
}

.rd-nav__list li {
	display: flex;
	align-items: center;
	margin: 0;
}

.rd-nav__list li li {
	display: block;
}

.rd-nav__list a {
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: 0.3px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	opacity: 0.9;
	white-space: nowrap;
}

.rd-nav__list a:hover,
.rd-nav__list a:focus {
	opacity: 1;
	color: #fff;
}

.rd-header .rd-nav__chevron {
	width: 10px;
	height: 6px;
}

/* Current page / section: yellow bar on the bottom edge of the nav. */
.rd-nav__list > li {
	position: relative;
}

.rd-nav__list > li.is-current::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--rd-yellow);
	border-radius: 3px 3px 0 0;
}

.rd-nav__list > li.is-current > a {
	opacity: 1;
}

/* Home stays in the mobile drawer only: on desktop the logo is the home
   link and the badge covers the start of the bar. */
.rd-nav__home {
	display: none !important;
}

.rd-nav__has-dropdown {
	position: relative;
	display: flex;
	align-items: center;
}

/* Hover dropdown — a compact block hanging off the trigger link. Also opens
   for keyboard users (:focus-within); Escape dismisses it (site-chrome.js). */
.rd-nav__submenu {
	margin: 0;
	padding: 10px 0;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	display: block;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
	z-index: 30;
}

.rd-nav__has-dropdown:hover > .rd-nav__submenu,
.rd-nav__has-dropdown:focus-within > .rd-nav__submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s;
}

.rd-nav__has-dropdown.is-dismissed > .rd-nav__submenu {
	opacity: 0;
	visibility: hidden;
}

.rd-nav__list .rd-nav__submenu a {
	display: block;
	color: var(--rd-blue);
	font-weight: 500;
	font-size: 13.5px;
	letter-spacing: 0;
	padding: 10px 20px;
	border-radius: 8px;
	opacity: 1;
	white-space: nowrap;
}

.rd-nav__list .rd-nav__submenu a:hover,
.rd-nav__list .rd-nav__submenu a:focus,
.rd-nav__list .rd-nav__submenu a[aria-current="page"] {
	background: var(--rd-surface-card);
	color: var(--rd-blue);
}

.rd-header .rd-nav__cta {
	background: var(--rd-yellow);
	color: var(--rd-blue);
	font-weight: 700;
	font-size: 13px;
	line-height: 1.2;
	padding: 9px 20px;
	border-radius: 6px;
	white-space: nowrap;
}

.rd-header .rd-nav__cta:hover,
.rd-header .rd-nav__cta:focus {
	background: var(--rd-yellow-hover);
	color: var(--rd-blue);
}

/* ---------------------------------------------------------------------
   FOOTER
   --------------------------------------------------------------------- */

.rd-footer {
	background: var(--rd-blue-dark);
	color: #fff;
	padding-top: 60px;
	clear: both;
}

.rd-footer__columns {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 44px;
}

.rd-footer__brand > * + * {
	margin-top: 14px;
}

.rd-footer .rd-footer__logo {
	display: block;
	height: 80px;
	width: 80px;
	max-width: none;
	object-fit: contain;
}

.rd-footer .rd-footer__brand p {
	color: rgba(255, 255, 255, 0.78);
	font-size: 14px;
	max-width: 470px;
}

.rd-footer__sister-sites {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.rd-footer .rd-footer__sister-sites a {
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #fff;
	padding: 9px 15px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

.rd-footer .rd-footer__sister-sites a:hover,
.rd-footer .rd-footer__sister-sites a:focus {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.rd-footer p.rd-footer__heading {
	color: var(--rd-yellow);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 1.2px;
	margin-bottom: 14px;
}

.rd-footer__links li {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.5;
}

.rd-footer .rd-footer__links a {
	color: rgba(255, 255, 255, 0.78);
	font-size: 14px;
}

.rd-footer .rd-footer__links a:hover,
.rd-footer .rd-footer__links a:focus {
	color: #fff;
}

.rd-footer__detail {
	display: flex;
	gap: 10px;
	margin-bottom: 14px;
	align-items: flex-start;
}

.rd-footer__detail .rd-icon {
	margin-top: 3px;
	color: var(--rd-yellow);
	width: 17px;
	height: 17px;
}

.rd-footer__detail strong {
	display: block;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
}

.rd-footer .rd-footer__detail strong a {
	color: #fff;
}

.rd-footer__detail span {
	color: rgba(255, 255, 255, 0.68);
	font-size: 13px;
}

.rd-footer__bar {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 20px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	flex-wrap: wrap;
	gap: 8px 24px;
}

.rd-footer .rd-footer__bar p {
	color: rgba(255, 255, 255, 0.7);
}

/* Legal line from Theme Settings → footer_privacy_links (Terms & Conditions). */
.rd-footer .rd-footer__legal,
.rd-footer .rd-footer__legal a {
	color: rgba(255, 255, 255, 0.7);
}

.rd-footer .rd-footer__legal a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rd-footer .rd-footer__legal a:hover,
.rd-footer .rd-footer__legal a:focus {
	color: #fff;
}

/* ---------------------------------------------------------------------
   REQUEST A CALL BACK (template-parts/site-callback.php, form #209)
   Same values as the homepage section in redesign.css, scoped so it also
   renders on inner pages (no body.rd-body there).
   --------------------------------------------------------------------- */

.rd-callback {
	padding: 90px 0;
	background: var(--rd-blue);
	color: #fff;
	clear: both;
}

.rd-callback__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}

.rd-callback h2,
.rd-callback h3 {
	font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
	font-weight: 800;
	text-transform: none;
	font-style: normal;
	line-height: 1.15;
}

.rd-callback h2 {
	font-size: 46px;
	letter-spacing: -1.15px;
	color: #fff;
	margin: 0 0 12px;
}

.rd-callback .rd-callback__accent {
	color: var(--rd-yellow);
}

.rd-callback p {
	line-height: 1.65;
	font-size: 16px;
	margin: 0 0 14px;
}

.rd-callback__intro > p {
	color: rgba(255, 255, 255, 0.9);
}

.rd-callback__intro p strong {
	color: var(--rd-yellow);
}

.rd-callback .rd-callback__list {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
}

.rd-callback__list li {
	display: flex;
	align-items: center;
	gap: 11px;
	margin: 0 0 12px;
	font-weight: 700;
	font-size: 15.5px;
	line-height: 1.4;
	color: #fff;
}

.rd-callback__list .rd-icon {
	color: var(--rd-yellow);
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.rd-callback__form {
	background: #fff;
	border-radius: 22px;
	padding: 36px 38px;
	color: var(--rd-blue);
}

.rd-callback .rd-callback__form h3 {
	font-size: 26px;
	letter-spacing: -0.52px;
	color: var(--rd-blue);
	margin: 0 0 4px;
}

.rd-callback .rd-callback__form > p {
	color: var(--rd-text-muted);
	font-size: 14.5px;
	margin-bottom: 0;
}

.rd-callback__form form.wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 16px;
}

.rd-callback .rd-callback__form form.wpcf7-form p {
	margin: 0;
	font-size: 14px;
}

.rd-callback__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.rd-callback__field label,
.rd-callback__form label {
	display: block;
	font-weight: 700;
	font-size: 13px;
	line-height: 1.3;
	color: var(--rd-blue);
	margin-bottom: 7px;
}

.rd-callback__form .wpcf7-form-control.wpcf7-text,
.rd-callback__form .wpcf7-form-control.wpcf7-tel,
.rd-callback__form .wpcf7-form-control.wpcf7-email {
	width: 100%;
	height: 48px;
	border-radius: 9px;
	border: 1.5px solid #d9dcea;
	background: #fbfbfe;
	box-shadow: none;
	padding: 0 15px;
	font-family: inherit;
	font-size: 15px;
	color: var(--rd-blue);
	margin: 0;
}

.rd-callback__form .wpcf7-form-control.wpcf7-textarea {
	width: 100%;
	height: 112px;
	min-height: 112px !important;
	border-radius: 9px;
	border: 1.5px solid #d9dcea;
	background: #fbfbfe;
	box-shadow: none;
	padding: 13px 15px;
	font-family: inherit;
	font-size: 15px;
	color: var(--rd-blue);
	margin: 0;
}

.rd-callback__form .wpcf7-form-control:focus {
	border-color: var(--rd-blue);
	outline: 2px solid var(--rd-yellow);
	outline-offset: 1px;
}

.rd-callback__form ::placeholder {
	color: rgba(90, 94, 117, 0.75);
}

.rd-callback__form .wpcf7-form-control.wpcf7-submit {
	display: block;
	width: 100%;
	height: 52px;
	margin: 4px 0 0;
	padding: 0 20px;
	border: none;
	border-radius: 6px;
	background: var(--rd-yellow);
	color: var(--rd-blue);
	font-family: inherit;
	font-weight: 700;
	font-size: 16px;
	font-style: normal;
	text-transform: none;
	cursor: pointer;
}

.rd-callback__form .wpcf7-form-control.wpcf7-submit:hover,
.rd-callback__form .wpcf7-form-control.wpcf7-submit:focus {
	background: var(--rd-yellow-hover);
	color: var(--rd-blue);
}

/* CF7 Honeypot field: keep it in the DOM (spam check) but invisible. */
.rd-callback__form .cf7apps-honeypot-wrap {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.rd-callback .rd-callback__note {
	font-size: 12.5px;
	text-align: center;
	color: var(--rd-text-muted);
	margin: 14px 0 0;
}

.rd-callback .rd-callback__note a {
	color: var(--rd-blue);
	font-weight: 700;
	text-decoration: none;
}

.rd-callback a:focus-visible,
.rd-callback input:focus-visible {
	outline: 3px solid var(--rd-yellow) !important;
	outline-offset: 2px;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */

/* Below the 1560px container cap the container fills the viewport, so nudge
   the badge in from the browser edge. */
@media (max-width: 1599px) {
	.rd-brand {
		left: 22px;
	}
}

/* The header row stops wrapping/shrinking by design — drop the rating first.
   Measured: tagline + rating + phone + button need ~1420px (the old 1300px
   breakpoint let the row overflow on 1366px laptops). */
@media (max-width: 1420px) {
	.rd-header-actions .rd-rating {
		display: none;
	}
}

/* Measured: the full bar (9 links + its own "Book a Plumber") needs ~1460px.
   Below that, drop the nav's CTA (it repeats the masthead button) and tighten
   the links so the single row still fits down to the drawer breakpoint. */
@media (max-width: 1480px) {
	.rd-header .rd-nav__cta {
		display: none;
	}

	.rd-nav__list {
		gap: 20px;
	}

	.rd-nav__list > li > a {
		font-size: 13px;
		letter-spacing: 0.2px;
	}
}

@media (max-width: 1100px) {
	.rd-footer__columns {
		grid-template-columns: 1fr 1fr;
	}

	.rd-callback__grid {
		grid-template-columns: 1fr;
	}
}

/* Mobile drawer. 1220px, not the old 900px: between ~900 and 1220 the
   single-row nav no longer fits and ran off-screen. */
@media (max-width: 1220px) {
	.rd-welcome__hours {
		display: none;
	}

	.rd-brand {
		position: static;
		left: auto;
		top: auto;
	}

	.rd-header .rd-brand img {
		width: 64px;
		height: 64px;
	}

	.rd-masthead {
		min-height: 0;
		padding: 10px 0;
	}

	.rd-masthead__inner {
		min-height: 0;
	}

	.rd-masthead .rd-header-tagline {
		display: none;
	}

	.rd-header-actions {
		gap: 18px;
	}

	.rd-header .rd-nav-toggle {
		display: flex;
	}

	.rd-nav {
		display: none;
	}

	.rd-nav.is-open {
		display: block;
	}

	.rd-header .rd-nav__inner {
		flex-direction: column;
		align-items: stretch;
		height: auto;
		padding: 12px 24px 20px;
		gap: 14px;
	}

	.rd-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
	}

	.rd-nav__list > li {
		flex-direction: column;
		align-items: stretch;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	}

	.rd-nav__list > li.is-current::after {
		display: none;
	}

	.rd-nav__list > li > a {
		padding: 14px 4px;
		min-height: 48px;
		font-size: 15px;
	}

	.rd-nav__home {
		display: flex !important;
	}

	/* No hover on touch: show the submenu inline under its trigger. */
	.rd-nav__submenu,
	.rd-nav__has-dropdown.is-dismissed > .rd-nav__submenu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		min-width: 0;
		background: rgba(255, 255, 255, 0.06);
		margin: 0 0 12px;
		padding: 6px 0;
		transition: none;
	}

	.rd-nav__list .rd-nav__submenu a {
		color: #fff;
		font-size: 14px;
		padding: 11px 16px;
		white-space: normal;
		border-radius: 0;
	}

	.rd-nav__list .rd-nav__submenu a:hover,
	.rd-nav__list .rd-nav__submenu a:focus,
	.rd-nav__list .rd-nav__submenu a[aria-current="page"] {
		background: rgba(255, 255, 255, 0.12);
		color: #fff;
	}

	.rd-header .rd-nav__cta {
		display: block;
		align-self: stretch;
		text-align: center;
		padding: 14px 20px;
		font-size: 15px;
	}
}

@media (max-width: 900px) {
	.rd-header-actions .rd-btn--primary {
		display: none;
	}
}

@media (max-width: 640px) {
	/* Keep the cross-sell pills on phones; drop the welcome text + socials. */
	.rd-welcome .rd-welcome__brand-text,
	.rd-welcome__divider,
	.rd-welcome__right {
		display: none;
	}

	.rd-welcome__inner {
		justify-content: center;
	}

	.rd-phone__number {
		font-size: 19px;
	}

	.rd-footer__columns {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.rd-callback {
		padding: 56px 0;
	}

	.rd-callback h2 {
		font-size: 34px;
	}

	.rd-callback__form {
		padding: 26px 20px;
	}

	.rd-callback__row {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rd-nav__submenu,
	.rd-nav-toggle span {
		transition: none !important;
	}
}
