/* ==========================================================================
   Site header — Cooper Landing
   Figma: Landing › Header — desktop 961:23331, mobile 961:23436.
   ========================================================================== */

/* Solid by default, so the (white) logo reads on any page. */
.site-header {
	position: relative;
	z-index: 100;
	color: var(--color-text-inverse);
	background-color: var(--color-background-inverse);
}

/* Over a full-screen first module (body class added by the plugin). */
.has-overlay-header {
	position: relative; /* Keeps the header below the admin bar. */
}

.has-overlay-header .site-header {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	background-color: transparent;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--gutter);
	padding: 24px var(--gutter);
}

.site-header__logo .custom-logo-link {
	display: block;
}

.site-header__logo .custom-logo {
	display: block;
	width: auto;
	height: 32px;
}

.site-header__site-name {
	font-size: var(--fs-body-1);
	font-weight: var(--font-weight-semibold);
	color: inherit;
	text-decoration: none;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 32px;
}

.site-nav__list {
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__list a {
	font-size: var(--font-size-3xl);
	font-weight: var(--font-weight-medium);
	line-height: 1;
	letter-spacing: -0.01em;
	color: inherit;
	text-decoration: none;
}

.site-nav__list a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

/* Mobile — logo + CTA only; the design has no mobile navigation. */
@media (max-width: 767px) {
	.site-header__inner {
		padding-block: 16px;
	}

	.site-header__logo .custom-logo {
		height: 24px;
	}

	.site-header__nav {
		display: none;
	}
}
