/*
 * The site header and footer, on every page, in the parent brand
 * (logo kit: Petrol Ink, Signal Teal, Saffron North, Service White).
 */

.rc-site-header {
	background: #FFFFFF;
	border-bottom: 1px solid #E3E8E8;
	position: relative;
	z-index: 60;
}
.rc-site-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	gap: 32px;
}
.rc-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--rc-petrol-ink) !important;
	text-decoration: none !important;
}
.rc-logo__name {
	font-family: var(--rc-font-heading);
	font-weight: 700;
	font-size: 1.3rem;
	letter-spacing: -0.01em;
}
.rc-site-nav {
	display: flex;
	gap: 28px;
	margin-left: auto;
}
.rc-site-header .rc-site-nav a,
.rc-site-header .rc-site-menu nav a {
	color: var(--rc-petrol-ink) !important;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.98rem;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
	transition: border-color 0.2s ease, color 0.2s ease;
}
.rc-site-nav a:hover,
.rc-site-nav a[aria-current="page"] {
	border-bottom-color: var(--rc-saffron-north);
}
.rc-site-cta {
	background: var(--rc-petrol-ink);
	color: #FFFFFF !important;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 0.95rem;
	padding: 11px 20px;
	border-radius: 999px;
	min-height: 44px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.rc-site-cta:hover {
	background: var(--rc-signal-teal);
	transform: translateY(-1px);
}
.rc-site-menu {
	display: none;
	margin-left: auto;
	position: relative;
}
.rc-site-menu summary {
	list-style: none;
	cursor: pointer;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	color: var(--rc-petrol-ink);
	border: 1px solid #D3DCDD;
}
.rc-site-menu summary::-webkit-details-marker {
	display: none;
}
.rc-site-menu nav {
	position: absolute;
	right: 0;
	top: 54px;
	background: #FFFFFF;
	border: 1px solid #E3E8E8;
	border-radius: 16px;
	box-shadow: 0 16px 40px rgb(12 43 49 / 0.16);
	padding: 8px;
	min-width: 230px;
	display: flex;
	flex-direction: column;
}
.rc-site-menu nav a {
	padding: 12px 14px;
	border-radius: 10px;
	border: 0;
}
.rc-site-menu nav a:hover {
	background: #F0F4F4;
}
@media (max-width: 860px) {
	.rc-site-nav,
	.rc-site-cta {
		display: none;
	}
	.rc-site-menu {
		display: block;
	}
	.rc-site-header__inner {
		padding: 10px 16px;
	}
}

/* Footer */
body .rc-site-footer {
	background: var(--rc-petrol-ink);
	color: #C9D6D8;
	padding: 56px 24px 28px;
	font-size: 0.95rem;
}
body .rc-site-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1fr;
	gap: 40px;
}
body .rc-site-footer .rc-logo {
	color: #F5F6F5 !important;
}
body .rc-site-footer__brand p {
	margin: 14px 0 0;
	max-width: 320px;
	line-height: 1.6;
}
body .rc-site-footer__col {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
body .rc-site-footer__col h2 {
	font-family: var(--rc-font-body);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #F0B341;
	margin: 0 0 4px;
}
body .rc-site-footer a {
	color: #E1EBEC;
	text-decoration: none;
}
body .rc-site-footer a:hover {
	color: #FFFFFF;
	text-decoration: underline;
	text-underline-offset: 4px;
}
body .rc-site-footer p.rc-site-footer__legal {
	max-width: 1200px;
	margin: 40px auto 0;
	padding-top: 20px;
	border-top: 1px solid rgb(255 255 255 / 0.12);
	font-size: 0.85rem;
	color: #9FB3B6;
}
/* Narrower: the brand on its own row, the link columns two by two. */
@media (max-width: 960px) {
	body .rc-site-footer__inner {
		grid-template-columns: 1fr 1fr 1fr;
	}
	body .rc-site-footer__brand {
		grid-column: 1 / -1;
	}
}
@media (max-width: 640px) {
	body .rc-site-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 32px 24px;
	}
}

/* GeneratePress leaves an empty footer bar and padding behind ours. */
.site-footer .site-info,
body .site-info {
	display: none;
}
