:root {
	--rv-shell-ink: #14202b;
	--rv-shell-muted: #4b5b66;
	--rv-shell-surface: #ffffff;
	--rv-shell-soft: #f5f7f6;
	--rv-shell-soft-teal: #eef4f2;
	--rv-shell-border: #d9e0de;
	--rv-shell-teal: #176b68;
	--rv-shell-teal-dark: #0f514f;
	--rv-shell-footer: #14202b;
	--rv-shell-focus: #b6842c;
	--rv-shell-radius: 6px;
	--rv-shell-radius-lg: 16px;
	--rv-shell-max: 78rem;
	--rv-shell-gutter: clamp(1.5rem, 5vw, 4.5rem);
}

body.ralenvo-site-shell-enabled {
	color: var(--rv-shell-ink);
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	overflow-x: hidden;
}

body.ralenvo-site-shell-enabled .site-header:not(.rv-site-header),
body.ralenvo-site-shell-enabled header#masthead,
body.ralenvo-site-shell-enabled .hfe-header,
body.ralenvo-site-shell-enabled .site-footer:not(.rv-site-footer),
body.ralenvo-site-shell-enabled footer#colophon,
body.ralenvo-site-shell-enabled .hfe-footer {
	display: none !important;
}

.rv-skip-link {
	background: var(--rv-shell-ink);
	border-radius: 0 0 var(--rv-shell-radius) 0;
	color: #fff;
	font-weight: 800;
	left: 0;
	padding: 0.75rem 1rem;
	position: fixed;
	top: 0;
	transform: translateY(-120%);
	transition: transform 160ms ease;
	z-index: 100000;
}

.rv-skip-link:focus {
	transform: translateY(0);
}

.rv-site-header {
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--rv-shell-border);
	color: var(--rv-shell-ink);
	position: sticky;
	top: 0;
	z-index: 9999;
}

.admin-bar .rv-site-header {
	top: 32px;
}

.rv-site-header__inner {
	align-items: center;
	display: flex;
	gap: 1.5rem;
	justify-content: space-between;
	margin: 0 auto;
	max-width: min(calc(100% - var(--rv-shell-gutter)), var(--rv-shell-max));
	min-height: 4.6rem;
	padding: 0;
}

.rv-site-header__brand {
	align-items: center;
	color: var(--rv-shell-ink);
	display: inline-flex;
	flex-shrink: 0;
	min-width: 0;
	text-decoration: none;
}

.rv-site-header__logo {
	display: block;
	height: auto;
	width: clamp(12rem, 18vw, 14rem);
}

.rv-site-header__nav {
	align-items: center;
	display: flex;
	gap: 0.5rem;
	justify-content: flex-end;
}

.rv-site-header__link,
.rv-site-header__cta,
.rv-local-nav__link {
	border-radius: 999px;
	color: var(--rv-shell-muted);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.rv-site-header__link,
.rv-local-nav__link {
	border-radius: var(--rv-shell-radius);
	padding: 0.62rem 0.72rem;
}

.rv-site-header__link:hover,
.rv-site-header__link:focus-visible,
.rv-local-nav__link:hover,
.rv-local-nav__link:focus-visible {
	background: var(--rv-shell-soft);
	color: var(--rv-shell-teal-dark);
}

.rv-site-header__link.is-active,
.rv-local-nav__link.is-active {
	background: var(--rv-shell-soft-teal);
	color: var(--rv-shell-teal-dark);
}

.rv-site-header__cta {
	background: transparent;
	border: 1px solid var(--rv-shell-border);
	border-radius: var(--rv-shell-radius);
	color: var(--rv-shell-ink);
	margin-left: 0.35rem;
	padding: 0.76rem 1rem;
}

.rv-site-header__cta:hover,
.rv-site-header__cta:focus-visible {
	background: var(--rv-shell-soft-teal);
	color: var(--rv-shell-ink);
}

.rv-site-header a:focus-visible,
.rv-site-header button:focus-visible,
.rv-site-footer a:focus-visible,
.rv-local-nav a:focus-visible {
	outline: 3px solid var(--rv-shell-focus);
	outline-offset: 3px;
}

.rv-site-header__menu-button {
	align-items: center;
	background: var(--rv-shell-soft);
	border: 1px solid var(--rv-shell-border);
	border-radius: var(--rv-shell-radius);
	color: var(--rv-shell-ink);
	cursor: pointer;
	display: none;
	height: 44px;
	justify-content: center;
	padding: 0;
	width: 44px;
}

.rv-site-header__menu-icon,
.rv-site-header__menu-icon::before,
.rv-site-header__menu-icon::after {
	background: currentColor;
	border-radius: 999px;
	content: "";
	display: block;
	height: 2px;
	position: relative;
	width: 18px;
}

.rv-site-header__menu-icon::before {
	position: absolute;
	top: -6px;
}

.rv-site-header__menu-icon::after {
	position: absolute;
	top: 6px;
}

.rv-local-nav {
	background: var(--rv-shell-surface);
	border-bottom: 1px solid var(--rv-shell-border);
}

.admin-bar .rv-local-nav {
	top: auto;
}

.rv-local-nav__inner {
	display: flex;
	gap: 0.5rem;
	margin: 0 auto;
	max-width: min(calc(100% - var(--rv-shell-gutter)), var(--rv-shell-max));
	overflow-x: auto;
	padding: 0.5rem 0;
	scrollbar-width: thin;
}

.rv-site-footer {
	background: var(--rv-shell-footer);
	color: #fff;
}

.rv-site-footer__inner {
	display: grid;
	gap: 2rem;
	grid-template-columns: minmax(16rem, 1.15fr) repeat(3, minmax(0, 0.85fr));
	margin: 0 auto;
	max-width: min(calc(100% - var(--rv-shell-gutter)), var(--rv-shell-max));
	padding: 3rem 0 2rem;
}

.rv-site-footer__brand p {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.98rem;
	line-height: 1.62;
	margin: 1rem 0 0;
	max-width: 25rem;
}

.rv-site-footer__brand .rv-site-footer__note {
	color: #b9c8c5;
	font-size: 0.9375rem;
}

.rv-site-footer__logo {
	display: block;
	height: auto;
	max-width: 172px;
	width: 172px;
}

.rv-site-footer__nav {
	display: contents;
}

.rv-site-footer__group h2 {
	color: #fff;
	font-size: 1.125rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0 0 0.75rem;
	text-transform: none;
}

.rv-site-footer__group a {
	color: rgba(255, 255, 255, 0.82);
	display: block;
	font-size: 0.98rem;
	line-height: 1.35;
	margin-top: 0.72rem;
	text-decoration: none;
}

.rv-site-footer__group a:hover,
.rv-site-footer__group a:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.rv-site-footer__base {
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	margin: 0 auto;
	max-width: min(calc(100% - var(--rv-shell-gutter)), var(--rv-shell-max));
	padding: 1rem 0 1.25rem;
}

.rv-site-footer__base p {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.88rem;
	line-height: 1.4;
	margin: 0;
}

@media (max-width: 782px) {
	.admin-bar .rv-site-header {
		top: 46px;
	}

	.admin-bar .rv-local-nav {
		top: 118px;
	}
}

@media (max-width: 860px) {
	.rv-site-header__inner {
		gap: 0.75rem;
		min-height: 3.95rem;
		padding: 0;
		position: relative;
	}

	.rv-site-header__logo {
		width: clamp(10rem, 49vw, 12rem);
	}

	body.ralenvo-site-shell-enabled .rv-site-header__menu-button {
		display: inline-flex !important;
		flex-shrink: 0;
		opacity: 1 !important;
		position: fixed;
		right: 1rem;
		top: 0.62rem;
		visibility: visible !important;
		z-index: 10001;
	}

	.admin-bar.ralenvo-site-shell-enabled .rv-site-header__menu-button {
		top: calc(46px + 0.62rem);
	}

	.rv-site-header__nav {
		align-items: stretch;
		background: #fff;
		border-bottom: 1px solid var(--rv-shell-border);
		box-shadow: 0 18px 32px rgba(20, 32, 43, 0.1);
		display: none;
		flex-direction: column;
		gap: 0.2rem;
		left: 0;
		padding: 0.75rem 1rem 1rem;
		position: absolute;
		right: 0;
		top: 100%;
	}

	.rv-site-header.is-menu-open .rv-site-header__nav {
		display: flex;
	}

	.rv-site-header__link,
	.rv-site-header__cta {
		border-radius: var(--rv-shell-radius);
		margin-left: 0;
		padding: 0.9rem 1rem;
	}

	.rv-local-nav {
		top: auto;
	}

	.rv-local-nav__inner {
		max-width: min(calc(100% - 2rem), var(--rv-shell-max));
		padding: 0.5rem 0;
	}

	.rv-site-footer__inner {
		grid-template-columns: 1fr;
		max-width: min(calc(100% - 2rem), var(--rv-shell-max));
	}

	.rv-site-footer__base {
		align-items: flex-start;
		max-width: min(calc(100% - 2rem), var(--rv-shell-max));
	}
}

@media (prefers-reduced-motion: reduce) {
	.rv-skip-link {
		transition: none;
	}
}
