/**
 * Global header and footer (parts/site-header.php, parts/site-footer.php).
 * Standalone: does not depend on ad-landing.css. Ad landings keep their own chrome.
 * Colors use !important on links because Hello Elementor and the Elementor kit
 * style every `a`. Classes start with rheo- because Hello Elementor already
 * styles .site-header and .site-footer.
 *
 * Below 1280px the menu is a panel opened by the burger button.
 * From 1280px up it is a row with hover dropdowns.
 */

.rheo-skip {
	position: absolute;
	left: -999px;
	top: 0;
}

.rheo-skip:focus {
	left: 16px;
	top: 16px;
	z-index: 20;
	padding: 8px 12px;
	background: #ffffff;
	color: #0d2b33;
}

/* Header */
.rheo-header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: #ffffff;
	border-bottom: 1px solid #e0e0e0;
	font-family: Archivo, sans-serif;
	line-height: 1.4;
}

.rheo-header__inner {
	width: min(1240px, calc(100% - 48px));
	min-height: 88px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.rheo-header__brand {
	display: block;
	flex: none;
	line-height: 0;
}

.rheo-header__brand img {
	display: block;
	width: auto;
	height: 52px;
}

.rheo-header__cta {
	display: flex;
	align-items: center;
	flex: none;
	gap: 12px 20px;
}

body .rheo-header a.rheo-header__phone {
	font-family: Archivo, sans-serif;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.2;
	color: #2e798c !important;
	text-decoration: none;
	white-space: nowrap;
}

body a.rheo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 22px;
	border-radius: 8px;
	background: #2e798c !important;
	color: #ffffff !important;
	font-family: Archivo, sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
}

body a.rheo-btn:hover,
body a.rheo-btn:focus {
	background: #0a3c49 !important;
	color: #ffffff !important;
}

/* Burger (below 1280px) */
body .rheo-burger,
body .rheo-burger:hover,
body .rheo-burger:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	background: #ffffff !important;
	cursor: pointer;
}

.rheo-burger__bars,
.rheo-burger__bars::before,
.rheo-burger__bars::after {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: #0a3c49;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.rheo-burger__bars {
	position: relative;
}

.rheo-burger__bars::before,
.rheo-burger__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.rheo-burger__bars::before {
	top: -6px;
}

.rheo-burger__bars::after {
	top: 6px;
}

.rheo-header.is-open .rheo-burger__bars {
	background: transparent;
}

.rheo-header.is-open .rheo-burger__bars::before {
	transform: translateY(6px) rotate(45deg);
}

.rheo-header.is-open .rheo-burger__bars::after {
	transform: translateY(-6px) rotate(-45deg);
}

/* Menu: panel under the header on small screens */
.rheo-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	max-height: calc(100vh - 100px);
	overflow-y: auto;
	background: #ffffff;
	border-bottom: 1px solid #e0e0e0;
	box-shadow: 0 18px 30px rgba(13, 43, 51, 0.12);
	padding: 8px 0 16px;
}

.rheo-header.is-open .rheo-nav {
	display: block;
}

.rheo-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rheo-nav .rheo-nav__list {
	width: min(1240px, calc(100% - 48px));
	margin: 0 auto;
}

.rheo-nav__item {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	border-bottom: 1px solid #f0ece4;
}

body .rheo-nav__link {
	flex: 1 1 auto;
	padding: 14px 0;
	font-family: Forum, serif;
	font-size: 18px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #0a3c49 !important;
	text-decoration: none;
}

body .rheo-nav__link:hover,
body .rheo-nav__link:focus {
	color: #2e798c !important;
}

body .rheo-nav__toggle,
body .rheo-nav__toggle:hover,
body .rheo-nav__toggle:focus {
	flex: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent !important;
	cursor: pointer;
	position: relative;
}

.rheo-nav__toggle::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid #0a3c49;
	border-bottom: 2px solid #0a3c49;
	transform: translate(-50%, -70%) rotate(45deg);
	transition: transform 0.2s ease;
}

.rheo-nav__item.is-open > .rheo-nav__toggle::before {
	transform: translate(-50%, -30%) rotate(225deg);
}

.rheo-nav .rheo-nav__sub {
	display: none;
	flex: 0 0 100%;
	padding: 0 0 10px 16px;
}

.rheo-nav .rheo-nav__item.is-open > .rheo-nav__sub {
	display: block;
}

body .rheo-nav__sub a {
	display: block;
	padding: 8px 0;
	font-family: Archivo, sans-serif;
	font-size: 15px;
	color: #333839 !important;
	text-decoration: none;
}

body .rheo-nav__sub a:hover,
body .rheo-nav__sub a:focus {
	color: #2e798c !important;
}

/* Desktop: menu in a row, dropdowns on hover or focus */
@media (min-width: 1280px) {
	body .rheo-burger,
	body .rheo-burger:hover,
	body .rheo-burger:focus {
		display: none;
	}

	.rheo-nav {
		display: block;
		position: static;
		flex: 1 1 auto;
		max-height: none;
		overflow: visible;
		padding: 0;
		border: 0;
		box-shadow: none;
		background: transparent;
		align-self: stretch;
	}

	.rheo-nav .rheo-nav__list {
		display: flex;
		align-items: stretch;
		justify-content: center;
		gap: 20px;
		width: auto;
		height: 100%;
	}

	.rheo-nav__item {
		flex-wrap: nowrap;
		border: 0;
	}

	body .rheo-nav__link {
		padding: 0;
		font-size: 15px;
		white-space: nowrap;
	}

	body .rheo-nav__toggle,
	body .rheo-nav__toggle:hover,
	body .rheo-nav__toggle:focus {
		width: 20px;
		height: 20px;
		margin-left: 2px;
	}

	.rheo-nav .rheo-nav__sub {
		position: absolute;
		top: 100%;
		left: -16px;
		z-index: 12;
		min-width: 260px;
		padding: 8px 0;
		background: #ffffff;
		border: 1px solid #e0e0e0;
		border-radius: 8px;
		box-shadow: 0 18px 30px rgba(13, 43, 51, 0.14);
	}

	.rheo-nav__item--parent:hover > .rheo-nav__sub,
	.rheo-nav__item--parent:focus-within > .rheo-nav__sub {
		display: block;
	}

	body .rheo-nav__sub a {
		padding: 8px 20px;
	}

	body .rheo-nav__sub a:hover,
	body .rheo-nav__sub a:focus {
		background: #f4f0ea;
	}
}

/* Footer */
.rheo-footer {
	background: #0d2b33;
	color: #f4f0ea;
	padding: 36px 0;
	font-family: Archivo, sans-serif;
	font-size: 16px;
	line-height: 1.7;
}

.rheo-footer__inner {
	width: min(1240px, calc(100% - 48px));
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}

.rheo-footer p {
	margin: 0 0 6px;
}

.rheo-footer__logo {
	display: block;
	width: auto;
	height: 52px;
	margin: 0 0 14px;
}

.rheo-footer__nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	columns: 2;
	column-gap: 32px;
}

.rheo-footer__nav li {
	margin: 0 0 6px;
	break-inside: avoid;
}

body .rheo-footer a {
	color: #f4f0ea !important;
	text-decoration: none;
}

body .rheo-footer a:hover,
body .rheo-footer a:focus {
	color: #f7e5cd !important;
	text-decoration: underline;
}

.rheo-footer .rheo-footer__heading {
	margin: 0 0 10px;
	font-family: Forum, serif;
	font-size: 20px;
	line-height: 1.2;
	color: #ffffff;
}

.rheo-footer__about {
	flex: 1 1 30%;
}

.rheo-footer__nav {
	flex: 1.4 1 0;
}

.rheo-footer__contact {
	flex: 0 1 260px;
}

.rheo-social {
	display: flex;
	gap: 10px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

body .rheo-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(244, 240, 234, 0.45);
	border-radius: 50%;
	color: #f4f0ea !important;
	text-decoration: none;
}

body .rheo-social a:hover,
body .rheo-social a:focus {
	background: #2e798c;
	border-color: #2e798c;
	color: #ffffff !important;
	text-decoration: none;
}

.rheo-footer__bar {
	margin-top: 32px;
	border-top: 1px solid rgba(244, 240, 234, 0.2);
}

.rheo-footer__bar-inner {
	width: min(1240px, calc(100% - 48px));
	margin: 0 auto;
	padding-top: 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 14px;
}

.rheo-footer__bar p {
	margin: 0;
}

.rheo-footer__credit {
	display: flex;
	align-items: center;
	gap: 10px;
}

.rheo-footer__credit img {
	display: block;
	width: auto;
	height: 34px;
}

@media (max-width: 800px) {
	.rheo-footer__inner {
		flex-direction: column;
		gap: 20px;
	}

	.rheo-footer__about,
	.rheo-footer__contact,
	.rheo-footer__nav {
		flex: none;
	}
}

@media (max-width: 600px) {
	.rheo-header__inner,
	.rheo-footer__inner,
	.rheo-footer__bar-inner,
	.rheo-nav .rheo-nav__list {
		width: calc(100% - 32px);
	}

	.rheo-header__inner {
		min-height: 72px;
		gap: 12px;
	}

	.rheo-header__brand img {
		height: 36px;
	}

	.rheo-footer__logo {
		height: 44px;
	}

	.rheo-header__cta {
		gap: 10px;
	}

	body .rheo-header a.rheo-header__phone {
		font-size: 20px;
	}

	body a.rheo-btn {
		min-height: 42px;
		padding: 8px 16px;
	}

	body .rheo-burger,
	body .rheo-burger:hover,
	body .rheo-burger:focus {
		width: 42px;
		height: 42px;
	}
}

/* Very narrow phones: logo on the first row, phone, Book Now and menu on the second. */
@media (max-width: 480px) {
	.rheo-header__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding-top: 10px;
	}

	.rheo-header__cta {
		justify-content: space-between;
		margin-top: 8px;
		padding: 8px 0 10px;
		border-top: 1px solid #e0e0e0;
	}

	body .rheo-header a.rheo-header__phone {
		font-size: 20px;
	}
}
