:root {
	--ra-green: #174b3e;
	--ra-ivory: #f5f1e8;
	--ra-terracotta: #bf6747;
	--ra-ink: #23312b;
	--ra-border: #d8dfd3;
	--ra-white: #fffdfa;
}

.ra-site-header,
.ra-site-header *,
.ra-site-footer,
.ra-site-footer * {
	box-sizing: border-box;
}

.ra-site-header {
	position: sticky;
	top: 0;
	z-index: 9999;
	width: 100%;
	background: var(--ra-ivory);
	border-bottom: 1px solid var(--ra-border);
	box-shadow: 0 2px 12px rgba(35, 49, 43, .06);
}

.ra-site-header__inner {
	width: 100%;
	max-width: 1500px;
	min-width: 0;
	margin: 0 auto;
	padding: 11px clamp(14px, 2.4vw, 34px);
	display: grid;
	grid-template-columns: minmax(180px, 260px) minmax(220px, 410px) auto;
	align-items: center;
	justify-content: space-between;
	gap: clamp(14px, 2vw, 30px);
}

.ra-site-header__brand-row {
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ra-site-header__brand {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
}

.ra-site-header__brand img {
	display: block;
	width: clamp(148px, 18vw, 252px);
	max-width: 100%;
	height: auto;
}

.ra-site-header__menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 1px solid var(--ra-border);
	border-radius: 12px;
	background: var(--ra-white);
	cursor: pointer;
}

.ra-site-header__menu-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	margin: 4px auto;
	background: var(--ra-green);
	border-radius: 2px;
}

.ra-site-search {
	position: relative;
	min-width: 0;
	width: 100%;
}

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

.ra-site-search__icon {
	position: absolute;
	top: 50%;
	left: 15px;
	width: 20px;
	height: 20px;
	transform: translateY(-50%);
	fill: none;
	stroke: #52645c;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	pointer-events: none;
}

.ra-site-search input[type="search"] {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	height: 46px;
	margin: 0;
	padding: 0 16px 0 46px;
	border: 1px solid var(--ra-border);
	border-radius: 14px;
	background: var(--ra-white);
	color: var(--ra-ink);
	font: inherit;
	font-size: 15px;
	line-height: 1.35;
	box-shadow: none;
}

.ra-site-search input[type="search"]:focus {
	border-color: var(--ra-green);
	outline: 3px solid rgba(23, 75, 62, .15);
	outline-offset: 1px;
}

.ra-site-search__results[hidden] {
	display: none !important;
}

.ra-site-search__results {
	position: absolute;
	top: calc(100% + 7px);
	left: 0;
	right: 0;
	z-index: 10001;
	max-height: min(340px, 60vh);
	margin: 0;
	padding: 6px;
	list-style: none;
	overflow-y: auto;
	border: 1px solid var(--ra-border);
	border-radius: 14px;
	background: var(--ra-white);
	box-shadow: 0 12px 28px rgba(35, 49, 43, .16);
}

.ra-site-search__results li {
	margin: 0;
	padding: 0;
}

.ra-site-search__option {
	display: block;
	min-width: 0;
	padding: 11px 13px;
	border-radius: 9px;
	color: var(--ra-ink);
	font-size: 15px;
	line-height: 1.4;
	text-decoration: none;
	 overflow-wrap: anywhere;
}

.ra-site-search__option:hover,
.ra-site-search__option:focus,
.ra-site-search__option.is-active {
	background: var(--ra-ivory);
	color: var(--ra-green);
	outline: none;
}

.ra-site-search__no-result {
	padding: 11px 13px !important;
	color: #5b665f;
	font-size: 14px;
}

.ra-site-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(12px, 1.5vw, 24px);
	min-width: 0;
}

.ra-site-nav a,
.ra-site-footer a {
	text-decoration: none;
}

.ra-site-nav__link {
	color: var(--ra-green);
	font-size: 16px;
	font-weight: 600;
	white-space: nowrap;
}

.ra-site-nav__link:hover,
.ra-site-footer a:hover {
	color: var(--ra-terracotta);
}

.ra-site-nav__cta {
	display: inline-flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	padding: 0 19px;
	border: 1px solid var(--ra-green);
	border-radius: 999px;
	background: var(--ra-green);
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
	white-space: nowrap;
}

.ra-site-nav__cta:hover {
	background: #10392f;
	border-color: #10392f;
}

.ra-site-footer {
	width: 100%;
	margin-top: 0;
	background: var(--ra-ivory);
	border-top: 1px solid var(--ra-border);
	color: var(--ra-ink);
}

.ra-site-footer__inner {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: clamp(28px, 4vw, 54px) clamp(16px, 3vw, 36px) 20px;
	display: grid;
	grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(0, 1fr));
	gap: clamp(22px, 4vw, 56px);
}

.ra-site-footer__brand-column,
.ra-site-footer__links-column {
	min-width: 0;
}

.ra-site-footer__brand {
	display: inline-block;
	margin: 0 0 12px;
	color: var(--ra-green);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 26px;
	font-weight: 700;
}

.ra-site-footer p {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.65;
}

.ra-site-footer__links-column h2 {
	margin: 3px 0 13px;
	color: var(--ra-terracotta);
	font-family: inherit;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .09em;
	line-height: 1.4;
}

.ra-site-footer__links-column ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ra-site-footer__links-column li {
	margin: 0 0 9px;
	padding: 0;
	line-height: 1.45;
}

.ra-site-footer a {
	color: var(--ra-green);
	font-size: 14px;
	overflow-wrap: anywhere;
}

.ra-site-footer__bottom {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 17px;
	border-top: 1px solid var(--ra-border);
}

.ra-site-footer__bottom nav {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.ra-site-footer__bottom p {
	margin: 0;
	font-size: 13px;
}

/* The homepage currently stores its old header and footer in Elementor content. */
body.page-id-15 .elementor-element.elementor-element-5de3f6d1,
body.page-id-15 .elementor-element.elementor-element-502fabf2 {
	display: none !important;
}

@media (max-width: 1024px) {
	.ra-site-header__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 10px 14px;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.ra-site-header__brand-row {
		grid-column: 1 / -1;
	}

	.ra-site-header__brand img {
		width: clamp(148px, 30vw, 220px);
	}

	.ra-site-header__menu-toggle {
		display: inline-block;
		flex: 0 0 auto;
	}

	.ra-site-search {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.ra-site-nav {
		grid-column: 1 / -1;
		grid-row: 3;
		display: none;
		align-items: stretch;
		justify-content: flex-start;
		flex-direction: column;
		gap: 4px;
		padding: 8px 0 2px;
	}

	.ra-site-nav.is-open {
		display: flex;
	}

	.ra-site-nav__link,
	.ra-site-nav__cta {
		width: 100%;
		min-height: 44px;
		justify-content: flex-start;
		padding: 10px 14px;
		white-space: normal;
	}

	.ra-site-nav__cta {
		justify-content: center;
	}

	.ra-site-footer__inner {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.ra-site-header__inner {
		padding-right: 14px;
		padding-left: 14px;
	}

	.ra-site-header__brand img {
		width: clamp(148px, 48vw, 196px);
	}

	.ra-site-search input[type="search"] {
		height: 44px;
		font-size: 16px;
	}

	.ra-site-footer__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
		padding: 30px 18px 18px;
	}

	.ra-site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ra-site-header *,
	.ra-site-footer * {
		scroll-behavior: auto !important;
	}
}
