.logo.theme-logo .text-logo a,
.lusalma-footer-logo,
.lusalma-footer-wordmark {
	font-family: 'Unbounded', sans-serif;
	font-weight: 600;
}

/*
 * The theme logo is a <p>, not an <h1> (see the header override in
 * template-parts/headers/nav-style-one.php — Minerva's original markup
 * duplicated the page's real H1 on every page). Restore the sizing that
 * used to come from Bootstrap/theme-fonts' h1 rules.
 */
.logo.theme-logo .text-logo {
	display: block;
	margin: 0 0 8px;
	font-size: 40px;
	font-weight: 700;
	line-height: 40px;
}

/* Keep the primary navigation and its actions available while reading. */
#theme-header-one {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 1px 0 rgba(8, 10, 12, 0.08);
}

@media (min-width: 992px) {
	#theme-header-one .nav-menu-wrapper .mainmenu > nav > ul > li.menu-item-has-children {
		position: relative;
	}

	#theme-header-one .nav-menu-wrapper .mainmenu li > ul.sub-menu,
	#theme-header-one .nav-menu-wrapper .mainmenu li > ul.minerva-submenu {
		top: 100%;
		min-width: 220px;
		padding: 18px 22px;
		border-top: 1px solid #080a0c;
		box-shadow: 0 24px 48px -24px rgba(8, 10, 12, .35);
		transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
	}

	#theme-header-one .nav-menu-wrapper .mainmenu li:hover > ul.sub-menu,
	#theme-header-one .nav-menu-wrapper .mainmenu li:hover > ul.minerva-submenu,
	#theme-header-one .nav-menu-wrapper .mainmenu li:focus-within > ul.sub-menu,
	#theme-header-one .nav-menu-wrapper .mainmenu li:focus-within > ul.minerva-submenu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	#theme-header-one .nav-menu-wrapper .mainmenu li ul.sub-menu li,
	#theme-header-one .nav-menu-wrapper .mainmenu li ul.minerva-submenu li {
		padding: 7px 0;
	}

	#theme-header-one .nav-menu-wrapper .mainmenu li ul.sub-menu li a,
	#theme-header-one .nav-menu-wrapper .mainmenu li ul.minerva-submenu li a {
		display: block;
		font-size: 12px;
		font-weight: 600;
		letter-spacing: .04em;
		text-transform: uppercase;
	}

	#theme-header-one .nav-menu-wrapper .mainmenu li ul.sub-menu li a:hover,
	#theme-header-one .nav-menu-wrapper .mainmenu li ul.minerva-submenu li a:hover,
	#theme-header-one .nav-menu-wrapper .mainmenu li ul.sub-menu li a:focus,
	#theme-header-one .nav-menu-wrapper .mainmenu li ul.minerva-submenu li a:focus {
		text-decoration: underline;
		text-underline-offset: 4px;
	}
}

.admin-bar #theme-header-one {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar #theme-header-one {
		top: 46px;
	}
}

.logo.theme-logo .text-logo a {
	letter-spacing: -0.065em;
}

.header-left-content .logo.theme-logo {
	flex: 0 0 auto;
	margin-right: 0;
}

.lusalma-mega-footer {
	overflow: hidden;
	color: #fff;
	background: #07090c;
}

.lusalma-footer-shell {
	width: min(1320px, calc(100% - 64px));
	max-width: 1320px;
	margin-inline: auto;
}

.lusalma-footer-intro {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding: 50px 0 34px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.lusalma-footer-eyebrow,
.lusalma-footer-title {
	margin: 0;
	color: rgba(255, 255, 255, 0.52);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.lusalma-footer-eyebrow {
	display: flex;
	align-items: center;
	gap: 11px;
}

.lusalma-footer-eyebrow::before {
	display: inline-block;
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	content: '';
	background: currentColor;
	clip-path: polygon(50% 0%, 58% 35%, 85% 15%, 65% 42%, 100% 50%, 65% 58%, 85% 85%, 58% 65%, 50% 100%, 42% 65%, 15% 85%, 35% 58%, 0% 50%, 35% 42%, 15% 15%, 42% 35%);
}

.lusalma-footer-contact {
	display: inline-flex;
	align-items: center;
	gap: 18px;
	color: #fff;
	font-size: clamp(1.4rem, 2.2vw, 2.3rem);
	letter-spacing: -0.03em;
}

.lusalma-footer-contact:hover {
	color: #fff;
}

.lusalma-footer-contact span {
	transition: transform 180ms ease;
}

.lusalma-footer-contact:hover span {
	transform: translate(3px, -3px);
}

.lusalma-footer-grid {
	display: grid;
	grid-template-columns: minmax(280px, 2fr) minmax(130px, 0.8fr) minmax(130px, 0.8fr) minmax(250px, 1.35fr);
	gap: clamp(35px, 6vw, 90px);
	padding: 76px 0 88px;
}

.lusalma-footer-logo {
	display: inline-block;
	margin-bottom: 26px;
	color: #fff;
	font-size: clamp(2.8rem, 5vw, 5.2rem);
	font-weight: 600;
	letter-spacing: -0.065em;
	line-height: 0.9;
}

.lusalma-footer-logo:hover {
	color: #fff;
}

.lusalma-footer-brand > p,
.lusalma-footer-newsletter > p:not(.lusalma-footer-title) {
	max-width: 390px;
	margin: 0;
	color: rgba(255, 255, 255, 0.58);
	font-size: 0.9rem;
	line-height: 1.7;
}

.lusalma-footer-column,
.lusalma-footer-newsletter {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
}

.lusalma-footer-column .lusalma-footer-title,
.lusalma-footer-newsletter .lusalma-footer-title {
	margin-bottom: 13px;
}

.lusalma-footer-column a {
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.9rem;
}

.lusalma-footer-column a:hover {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.lusalma-footer-form {
	display: flex;
	width: 100%;
	margin-top: 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.lusalma-footer-form input {
	min-width: 0;
	flex: 1;
	padding: 13px 0;
	border: 0;
	color: #fff;
	background: transparent;
	font-size: 0.86rem;
}

.lusalma-footer-form input::placeholder {
	color: rgba(255, 255, 255, 0.5);
}

.lusalma-footer-form button {
	padding: 0 4px 0 18px;
	border: 0;
	color: #fff;
	background: transparent;
	font-size: 1.35rem;
}

.lusalma-footer-bottom {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 28px;
	padding: 24px 0 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.lusalma-footer-bottom p,
.lusalma-footer-bottom a {
	margin: 0;
	color: rgba(255, 255, 255, 0.46);
	font-size: 0.68rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.lusalma-footer-bottom > div {
	display: flex;
	gap: 24px;
}

.lusalma-footer-bottom > p:last-child {
	text-align: right;
}

.lusalma-footer-wordmark {
	display: block;
	width: calc(100% - 32px);
	margin: clamp(34px, 5vw, 72px) auto -0.1em;
	overflow: hidden;
	color: #fff;
	font-size: clamp(5.5rem, 19vw, 22rem);
	font-weight: 700;
	letter-spacing: -0.085em;
	line-height: 0.72;
	text-align: center;
	white-space: nowrap;
}

.lusalma-footer-wordmark:hover,
.lusalma-footer-wordmark:focus-visible {
	color: #fff;
}

.lusalma-footer-wordmark span {
	display: inline-block;
	transform: scaleX(1.04);
	transform-origin: center bottom;
}

@media (max-width: 900px) {
	.lusalma-footer-shell {
		width: min(100% - 36px, 1320px);
	}

	.lusalma-footer-intro {
		align-items: flex-start;
		flex-direction: column;
	}

	.lusalma-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lusalma-footer-brand,
	.lusalma-footer-newsletter {
		grid-column: 1 / -1;
	}

	.lusalma-footer-bottom {
		grid-template-columns: 1fr;
	}

	.lusalma-footer-bottom > p:last-child {
		text-align: left;
	}

	.lusalma-footer-wordmark {
		width: calc(100% - 18px);
		font-size: clamp(5rem, 19vw, 10rem);
	}
}

@media (min-width: 992px) and (max-width: 1200px) {
	.logo.theme-logo .text-logo {
		font-size: 33px;
	}

	.nav-menu-wrapper .mainmenu ul li a {
		padding-right: 12px;
		padding-left: 12px;
		font-size: 14px;
	}
}

@media (min-width: 992px) {
	.logo.theme-logo .text-logo {
		font-size: 28px;
		white-space: nowrap;
	}
}
