/*
Theme Name: Ortega
Theme URI: 
Author: Yalo
Author URI: 
Description: Taco Time
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ortega
Tags: 
*/

html {
	overflow-x: clip;
}

/* =====================================================================
 * GLOBAL UTILITIES — edge dividers + theme colors
 *
 * The edge is a rough-cut SVG applied as a CSS mask, so its fill is set
 * with `background-color` (i.e. fully recolorable in CSS). Compose with an
 * orientation class and a color class, e.g.:
 *   <span class="edge top blue" aria-hidden="true"></span>
 *   <span class="edge bottom light-blue" aria-hidden="true"></span>
 *
 * Orientation: `top` (sits above the module, rough edge points up) or
 * `bottom` (sits after the module, rough edge points down). The host module
 * must be `position: relative` and must not clip vertical overflow.
 * ===================================================================== */

:root {
	--ortega-color-blue: #0058a4;
	--ortega-color-blue-dark: #093272;
	--ortega-color-yellow: #ffe400;
	--ortega-color-orange: #f17e08;
	--ortega-color-light-blue: #e9f2f9;

	/* Global horizontal site padding — mobile / tablet / desktop */
	--ortega-site-padding: 16px;
}

@media (min-width: 782px) {
	:root {
		--ortega-site-padding: 32px;
	}
}

@media (min-width: 1200px) {
	:root {
		--ortega-site-padding: 64px;
	}
}

/**
 * Apply theme site padding (16 → 32 → 64).
 * Prefer the token in module CSS: padding-inline: var(--ortega-site-padding);
 */
.ortega-site-padding,
.site-padding {
	padding-inline: var(--ortega-site-padding);
}

/* Separator — Pattern style (yellow ornament SVG) */
.wp-block-separator.is-style-pattern {
	background: transparent !important;
	border: 0 !important;
	height: 13px;
	margin-block: clamp(2rem, 5vw, 3rem);
	max-width: 100%;
	overflow: visible;
	padding: 0;
	position: relative;
	width: 100%;
}

.wp-block-separator.is-style-pattern::before {
	background-color: transparent;
	background-image: url("assets/images/separator-pattern.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	content: "";
	display: block;
	height: 13px;
	width: 100%;
}

.wp-block-separator.is-style-pattern.has-background,
.wp-block-separator.is-style-pattern.has-text-color {
	background: transparent !important;
	color: transparent !important;
}

.edge {
	-webkit-mask-image: url("assets/images/edges/edge.svg");
	mask-image: url("assets/images/edges/edge.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center bottom;
	mask-position: center bottom;
	-webkit-mask-size: 100% 100%;
	mask-size: 110% 100%;
	/* Keep the SVG's native ratio so the rough edge isn't squashed and the
	   shape spans the full width cleanly (matches the source artwork). */
	aspect-ratio: 1440 / 70;
	display: block;
	left: 50%;
	pointer-events: none;
	position: absolute;
	width: 110vw;
	z-index: 2;
}

/* Top: above the module, solid edge meets the module, rough edge points up. */
.edge.top {
	bottom: 100%;
	/* Overlap the module by 2px to avoid a sub-pixel seam on some zoom levels. */
	margin-bottom: -2px;
	transform: translateX(-50%);
}

/* Bottom: after the module, solid edge meets the module, rough edge points down. */
.edge.bottom {
	top: 100%;
	/* Overlap the module by 2px to avoid a sub-pixel seam on some zoom levels. */
	margin-top: -2px;
	transform: translateX(-50%) scaleY(-1);
}

.edge.blue {
	background-color: var(--ortega-color-blue);
}

.edge.blue-dark {
	background-color: var(--ortega-color-blue-dark);
}

.edge.yellow {
	background-color: var(--ortega-color-yellow);
}

.edge.orange {
	background-color: var(--ortega-color-orange);
}

.edge.light-blue {
	background-color: var(--ortega-color-light-blue);
}

.edge.black {
	background-color: #000;
}

.ortega-btn {
	align-items: center;
	background-color: #ffe400;
	border: 0;
	border-radius: 999px;
	box-sizing: border-box;
	color: #093272;
	display: inline-flex;
	font-family: var(--ortega-font-body);
	font-size: var(--ortega-type-btn);
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0.02em;
	line-height: 1.2;
	min-height: clamp(44px, 5vw, 54px);
	padding: 0 clamp(1.35rem, 3vw, 2rem);
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.ortega-btn:hover,
.ortega-btn:focus-visible {
	background-color: #ffd000;
}

.ortega-btn:focus-visible {
	outline: 2px solid #093272;
	outline-offset: 3px;
}

/* Shared text mask-slide used by solid buttons and desktop nav labels. */
.ortega-text-roll {
	display: inline-flex;
	max-width: 100%;
	overflow: hidden;
	position: relative;
	vertical-align: top;
}

.ortega-text-roll > :first-child {
	display: block;
	position: relative;
	transform: translate3d(0, 0, 0);
	transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
	white-space: nowrap;
	will-change: transform;
	z-index: 1;
}

.ortega-text-roll::after {
	color: inherit;
	content: attr(data-text);
	display: block;
	font: inherit;
	letter-spacing: inherit;
	left: 0;
	position: absolute;
	text-transform: inherit;
	top: 0;
	transform: translate3d(0, -110%, 0);
	transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
	white-space: nowrap;
	will-change: transform;
	z-index: 1;
}

:is(a, button):hover .ortega-text-roll > :first-child,
:is(a, button):focus-visible .ortega-text-roll > :first-child {
	transform: translate3d(0, 110%, 0);
}

:is(a, button):hover .ortega-text-roll::after,
:is(a, button):focus-visible .ortega-text-roll::after {
	transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
	.ortega-text-roll > :first-child,
	.ortega-text-roll::after {
		transition: none;
	}

	:is(a, button):hover .ortega-text-roll > :first-child,
	:is(a, button):focus-visible .ortega-text-roll > :first-child {
		transform: none;
	}

	:is(a, button):hover .ortega-text-roll::after,
	:is(a, button):focus-visible .ortega-text-roll::after {
		transform: translate3d(0, -110%, 0);
	}
}

@media (min-width: 782px) {
	.ortega-btn {
		font-size: var(--ortega-type-btn-md);
	}
}

/* Global wavy underline link — tiles wave-x.svg across the link width */
.ortega-link-wavy {
	padding-bottom: 0.45rem;
	position: relative;
	text-decoration: none;
}

.ortega-link-wavy::after {
	background-image: url("/wp-content/themes/ortega/assets/images/wave-x.svg");
	background-position: left bottom;
	background-repeat: repeat-x;
	background-size: 9px 5px;
	bottom: 0;
	content: "";
	height: 5px;
	left: 0;
	position: absolute;
	width: 100%;
}

.ortega-nav {
	display: none;
}

.wp-site-blocks > main {
	margin-block-start: 0;
	margin-top: 0;
}

.wp-site-blocks > header {
	max-width: 100%;
	overflow-x: clip;
	position: sticky;
	top: 0;
	z-index: 200;
}

button:hover,
button:focus-visible,
input[type="button"]:hover,
input[type="button"]:focus-visible,
input[type="submit"]:hover,
input[type="submit"]:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
.ortega-fse-nav__cta:hover,
.ortega-fse-nav__cta:focus-visible,
.ortega-fse-nav__icon:hover,
.ortega-fse-nav__icon:focus-visible,
.ortega-fse-nav__icon-image-wrap:hover,
.ortega-fse-nav__icon-image-wrap:focus-within,
.ortega-fse-nav__mobile-menu .ortega-fse-nav__mobile-cta .wp-block-navigation-item__content:hover,
.ortega-fse-nav__mobile-menu .ortega-fse-nav__mobile-cta .wp-block-navigation-item__content:focus-visible,
.ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-container-open:hover,
.ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-container-open:focus-visible,
.ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-container-close:hover,
.ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-container-close:focus-visible {
	background-color: #ffd000;
}

.ortega-fse-nav {
	background: #0058a4;
	color: #ffe400;
	overflow: visible;
	padding: 13px 16px 26px;
	position: sticky;
	top: 0;
	z-index: 100;
}

.ortega-hero-nav-scroll .wp-site-blocks > header {
	background-color: transparent;
}

.ortega-hero-nav-scroll .ortega-fse-nav {
	--ortega-nav-blue-height: 0px;
	--ortega-nav-edge-height: 10px;
	--ortega-nav-edge-top: calc(-1 * var(--ortega-nav-edge-height));
	--ortega-nav-scroll: 0;
	background-color: transparent;
}

.ortega-hero-nav-scroll .ortega-fse-nav::before {
	background-color: #0058a4;
	content: "";
	height: var(--ortega-nav-blue-height);
	left: 50%;
	pointer-events: none;
	position: absolute;
	top: 0;
	transform: translateX(-50%);
	width: 110vw;
	z-index: 0;
}

.ortega-hero-nav-scroll .ortega-fse-nav__shell {
	position: relative;
	z-index: 1;
}

.ortega-hero-nav-scroll .ortega-fse-nav::after {
	bottom: auto;
	height: var(--ortega-nav-edge-height);
	left: 50%;
	opacity: 1;
	pointer-events: none;
	position: absolute;
	top: var(--ortega-nav-edge-top);
	transform: translateX(-50%);
	width: 110vw;
	z-index: 0;
}

.ortega-hero-nav-scroll .ortega-fse-nav.ortega-nav-scroll-ready.is-nav-scroll-solid::before {
	height: 100%;
}

.ortega-hero-nav-scroll .ortega-fse-nav.ortega-nav-scroll-ready.is-nav-scroll-solid::after {
	top: 100%;
}

@media (min-width: 782px) {
	.ortega-hero-nav-scroll .ortega-fse-nav {
		--ortega-nav-edge-height: 28px;
	}

}

@media (min-width: 2200px) {
	.ortega-hero-nav-scroll .ortega-fse-nav {
		--ortega-nav-edge-height: 35px;
	}
}

.ortega-hero-nav-scroll .wp-site-blocks > main {
	margin-top: -112px;
}

@media (max-width: 781px) {
	.ortega-hero-nav-scroll .wp-site-blocks > header {
		/* Overlap viewport top by 1px to avoid a sub-pixel seam showing body background. */
		top: -1px;
	}

	.ortega-hero-nav-scroll .wp-site-blocks > main {
		margin-top: -74px;
	}
}

.ortega-fse-nav__shell {
	position: relative;
}

.ortega-fse-nav::after {
	background-image: url("/wp-content/themes/ortega/assets/images/nav-mobile-edge.svg");
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	bottom: 0;
	content: "";
	height: 10px;
	left: 50%;
	opacity: 1;
	pointer-events: none;
	position: absolute;
	transform: translate(-50%, 100%);
	width: 110vw;
	z-index: 1;
}

/* Legacy injected edge markup (replaced by ::after). */
.ortega-fse-nav__edge-picture {
	display: none !important;
}

/* Support FSE-serialized figure/image output for logo, icon and edges. */
.ortega-fse-nav__logo-image-wrap,
.ortega-fse-nav__icon-image-wrap,
.ortega-fse-nav__edge-image-wrap {
	margin: 0;
}

.ortega-fse-nav__logo-image-wrap {
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
}

.ortega-fse-nav__logo-image-wrap img {
	display: block;
	height: 53px;
	margin-top: -16px;
	width: auto;
}

.ortega-fse-nav__icon-image-wrap {
	align-items: center;
	background: #ffe400;
	border-radius: 999px;
	display: inline-flex;
	height: 48px;
	justify-content: center;
	width: 48px;
}

.ortega-fse-nav__icon-image-wrap a {
	align-items: center;
	display: inline-flex;
	justify-content: center;
}

.ortega-fse-nav__icon-image-wrap img {
	display: block;
	height: 23px;
	width: 18px;
}

.ortega-fse-nav__edge-image-wrap {
	display: block;
	line-height: 0;
	margin-left: calc(50% - 50vw);
	width: 100vw;
}

.ortega-fse-nav__edge-image-wrap img {
	display: block;
	height: auto;
	width: 100%;
}

.ortega-fse-nav__edge-image-wrap--desktop {
	display: none;
}

.ortega-fse-nav__logo-wrap {
	align-items: center;
	display: flex;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
}

.ortega-fse-nav__logo-link {
	display: inline-flex;
	text-decoration: none;
}

.ortega-fse-nav__logo-image,
.ortega-fse-nav__logo-link img {
	display: block;
	height: 53px;
	margin-top: -16px;
	width: auto;
}

.ortega-fse-nav__desktop-menu {
	display: none;
	flex: 0 0 auto;
}

.ortega-fse-nav__mobile-menu {
	flex: 0 0 auto;
	margin-right: auto;
}

.ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-container-open {
	align-items: center;
	background: #ffe400;
	border: 0;
	border-radius: 999px;
	color: #0058a4;
	display: inline-flex;
	height: 48px;
	justify-content: center;
	padding: 0;
	width: 48px;
}

.ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-container-open svg {
	height: 24px;
	width: 24px;
}

/* Overlay shell + list: styled only under @media (max-width: 781px) to avoid duplicating flex vs grid. */

.ortega-fse-nav__mobile-menu .wp-block-navigation-item__content {
	color: #ffe400;
	font-family: var(--ortega-font-body);
	font-size: var(--ortega-type-nav-mobile);
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.ortega-fse-nav__mobile-menu .ortega-fse-nav__mobile-cta {
	width: min(356px, calc(100vw - 36px));
}

.ortega-fse-nav__mobile-menu .ortega-fse-nav__mobile-cta .wp-block-navigation-item__content {
	background: #ffe400;
	border-radius: 10px;
	color: #093272;
	display: block;
	font-family: var(--ortega-font-display);
	font-size: var(--ortega-type-nav-mobile);
	letter-spacing: 0.02em;
	line-height: 1;
	padding: 14px 24px;
	text-align: center;
	text-transform: uppercase;
	width: 100%;
}

.ortega-fse-nav__cta-wrap {
	flex: 0 0 auto;
	margin-left: auto;
}

.ortega-fse-nav__cta-wrap .wp-block-html {
	margin: 0;
}

/* Mobile: map-pin icon (desktop CTA hidden until 782px). */
.ortega-fse-nav__icon {
	align-items: center;
	background: #ffe400;
	border-radius: 999px;
	display: inline-flex;
	height: 48px;
	justify-content: center;
	text-decoration: none;
	width: 48px;
}

.ortega-fse-nav__pin {
	display: block;
	height: 23px;
	width: 18px;
}

.ortega-fse-nav .ortega-fse-nav__cta {
	display: none;
}

@media (min-width: 782px) {
	.ortega-fse-nav {
		padding: 20px 40px 14px;
	}

	.ortega-fse-nav__shell,
	.ortega-fse-nav__shell.is-layout-flex {
		align-items: center;
		display: grid !important;
		grid-template-columns: 1fr auto 1fr;
		width: 100%;
	}

	.ortega-fse-nav__logo-wrap {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
		left: auto;
		margin-left: 0;
		position: static;
		transform: none;
	}

	.ortega-fse-nav__mobile-menu {
		display: none !important;
	}

	.ortega-fse-nav__desktop-menu {
		display: flex;
		grid-column: 2;
		grid-row: 1;
		justify-self: center;
	}

	.ortega-fse-nav__cta-wrap,
	.ortega-fse-nav__shell > .wp-block-html:has(.ortega-fse-nav__cta) {
		grid-column: 3;
		grid-row: 1;
		justify-self: end;
		margin-left: 0;
	}

	.ortega-fse-nav__desktop-menu .wp-block-navigation__container {
		gap: 16px;
	}

	.ortega-fse-nav__desktop-menu .wp-block-navigation-item__content,
	.ortega-fse-nav__desktop-menu .wp-block-navigation-item__label {
		color: #ffe400;
		font-family: var(--ortega-font-display);
		text-transform: uppercase;
		font-size: var(--ortega-type-nav-desktop);
		font-weight: 700;
		line-height: 1;
		text-decoration: none;
	}

	.ortega-fse-nav__desktop-menu .wp-block-navigation-item__content {
		padding: 8px 0;
	}

	.ortega-fse-nav__desktop-menu .wp-block-navigation-item__content:hover,
	.ortega-fse-nav__desktop-menu .wp-block-navigation-item__content:focus-visible,
	.ortega-fse-nav__desktop-menu .wp-block-navigation-item__label:hover,
	.ortega-fse-nav__desktop-menu .wp-block-navigation-item__label:focus-visible {
		background-color: transparent;
		color: #fff;
	}

	.ortega-fse-nav__desktop-menu .current-menu-item .wp-block-navigation-item__content,
	.ortega-fse-nav__desktop-menu .current-menu-item .wp-block-navigation-item__label {
		text-decoration: underline;
		text-underline-offset: 4px;
	}

	/* Desktop "More" dropdown */
	.ortega-fse-nav__desktop-menu .ortega-fse-nav__home-pill {
		position: relative;
	}

	.ortega-fse-nav__desktop-menu .ortega-fse-nav__home-pill > .wp-block-navigation__submenu-icon {
		display: none;
	}

	.ortega-fse-nav__desktop-menu .ortega-fse-nav__home-pill .wp-block-navigation__submenu-container,
	.ortega-fse-nav__desktop-menu .ortega-fse-nav__home-pill .wp-block-navigation-submenu__toggle[aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
		background: #ffe400 !important;
		border: 0;
		border-radius: 8px;
		box-shadow: none;
		display: flex;
		flex-direction: column;
		left: auto !important;
		min-width: 170px !important;
		padding: 10px;
		right: 0 !important;
		top: calc(100% + 12px) !important;
		width: auto !important;
	}

	.ortega-fse-nav__desktop-menu .ortega-fse-nav__home-pill .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		background: transparent;
		color: #0058a4;
		font-family: var(--ortega-font-body);
		font-size: var(--ortega-type-nav-desktop);
		font-weight: 700;
		line-height: 1.2;
		padding: 6px 12px;
		text-decoration: none;
		text-transform: capitalize;
	}

	.ortega-fse-nav__desktop-menu .ortega-fse-nav__home-pill .wp-block-navigation__submenu-container .wp-block-navigation-item__label {
		background: transparent;
		color: inherit;
		font-family: inherit;
		font-size: inherit;
		font-weight: inherit;
		line-height: inherit;
		padding: 0;
		text-decoration: none;
		text-transform: capitalize;
	}

	.ortega-fse-nav__desktop-menu .ortega-fse-nav__home-pill .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
	.ortega-fse-nav__desktop-menu .ortega-fse-nav__home-pill .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible,
	.ortega-fse-nav__desktop-menu .ortega-fse-nav__home-pill .wp-block-navigation__submenu-container .wp-block-navigation-item__label:hover,
	.ortega-fse-nav__desktop-menu .ortega-fse-nav__home-pill .wp-block-navigation__submenu-container .wp-block-navigation-item__label:focus-visible {
		background-color: transparent;
		color: #093272;
	}

	.ortega-fse-nav__logo-image-wrap {
		left: auto;
		position: static;
		transform: none;
	}

	.ortega-fse-nav__icon {
		display: none;
	}

	.ortega-fse-nav .ortega-fse-nav__cta {
		align-items: center;
		background-color: #ffe400;
		border-radius: 8px;
		box-sizing: border-box;
		color: #0058a4;
		display: inline-flex;
		width: max-content;
		font-family: var(--ortega-font-display);
		font-size: var(--ortega-type-nav-desktop);
		font-weight: 700;
		gap: 0.5rem;
		letter-spacing: 0.02em;
		line-height: 1;
		padding: 6px 12px;
		text-decoration: none;
		text-transform: uppercase;
		transition: background-color 0.2s ease;
		justify-self:end;
	}

	.ortega-fse-nav .ortega-fse-nav__cta:hover,
	.ortega-fse-nav .ortega-fse-nav__cta:focus-visible {
		background-color: #ffd000;
	}

	.ortega-fse-nav .ortega-fse-nav__cta:focus-visible {
		outline: 2px solid #ffe400;
		outline-offset: 2px;
	}

	.ortega-fse-nav .ortega-fse-nav__cta-label {
		color: #0058a4;
		display: inline;
		flex: 0 1 auto;
	}

	.ortega-fse-nav__cta-icon {
		align-items: center;
		display: inline-flex;
		flex-shrink: 0;
		justify-content: center;
	}

	.ortega-fse-nav__cta-icon svg {
		display: block;
		height: 24px;
		width: 24px;
	}

	.ortega-fse-nav__icon-image-wrap {
		height: 54px;
		width: 54px;
	}

	.ortega-fse-nav__edge-image-wrap--mobile {
		display: none;
	}

	.ortega-fse-nav__edge-image-wrap--desktop {
		display: block;
	}

	.ortega-fse-nav::after {
		background-image: url("/wp-content/themes/ortega/assets/images/nav-desktop-edge.svg");
		height: 28px;
	}
}

@media (min-width: 1001px) {
	.ortega-fse-nav {
		padding: 20px 40px 14px;
	}

	.ortega-fse-nav__desktop-menu .wp-block-navigation__container {
		gap: 32px;
	}

	.ortega-fse-nav__desktop-menu .wp-block-navigation-item__content,
	.ortega-fse-nav__desktop-menu .wp-block-navigation-item__label {
		font-size: var(--ortega-type-nav-desktop-lg);
	}

	.ortega-fse-nav__desktop-menu .ortega-fse-nav__home-pill .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
	.ortega-fse-nav__desktop-menu .ortega-fse-nav__home-pill .wp-block-navigation__submenu-container .wp-block-navigation-item__label {
		font-size: var(--ortega-type-nav-desktop);
	}

	.ortega-fse-nav .ortega-fse-nav__cta {
		font-size: var(--ortega-type-nav-desktop-lg);
		padding: 12px 20px;
	}

	.ortega-fse-nav__cta-icon svg {
		height: 34px;
		width: 34px;
	}
}

@media (min-width: 2200px) {
	.ortega-fse-nav::after {
		height: 35px;
	}
}

@media (max-width: 781px) {
	.ortega-fse-nav {
		padding: 13px 16px;
	}

	html.has-modal-open .ortega-fse-nav {
		overflow: visible !important;
		z-index: 500000;
	}

	.ortega-fse-nav.alignfull {
		overflow: visible !important;
	}

	/* Before nav-mobile-animation.js runs, keep overlay off-screen (no GSAP yet). */
	.ortega-fse-nav__mobile-menu:not(.ortega-nav-mobile-gsap-inited) .wp-block-navigation__responsive-container {
		transform: translateY(calc(-100% - 13px));
	}

	.ortega-fse-nav__desktop-menu {
		clip: rect(0, 0, 0, 0) !important;
		display: none !important;
		height: 0 !important;
		margin: 0 !important;
		overflow: hidden !important;
		padding: 0 !important;
		pointer-events: none !important;
		position: absolute !important;
		visibility: hidden !important;
		width: 0 !important;
	}

	/*
	 * Keep the mobile nav wrapper minimal/in-flow.
	 * Core overlay wrappers stay in DOM; display:contents flattens them for one-column grid.
	 */
	.ortega-fse-nav__mobile-menu {
		display: grid !important;
		align-content: center;
		align-self: center;
	}

	.ortega-fse-nav__shell {
		overflow: visible !important;
	}

	.ortega-fse-nav__logo-wrap {
		top: 14px;
		z-index: 500011;
	}

	.ortega-fse-nav__cta-wrap,
	.ortega-fse-nav__shell > .wp-block-html:has(.ortega-fse-nav__cta) {
		margin-left: 0;
		position: fixed;
		right: 16px;
		top: 13px;
		z-index: 500010;
	}

	.ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-container-open,
	.ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-container-close {
		align-items: center;
		background: #ffe400;
		border: 0;
		border-radius: 999px;
		color: #0058a4;
		display: inline-flex;
		height: 48px;
		justify-content: center;
		pointer-events: auto;
		position: fixed;
		left: 16px;
		top: 13px;
		width: 48px;
		z-index: 500010;
	}

	.ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-container-open svg {
		height: 24px;
		opacity: 0;
		width: 24px;
	}

	.ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-container-open::before,
	.ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-container-open::after {
		background: #0058a4;
		border-radius: 2px;
		content: "";
		height: 2px;
		left: 50%;
		position: absolute;
		top: 50%;
		transform: translate(-50%, -50%) translateY(-5px);
		transition: transform 220ms ease;
		width: 24px;
	}

	.ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-container-open::after {
		transform: translate(-50%, -50%) translateY(5px);
	}

	.ortega-fse-nav__mobile-menu.is-mobile-open .wp-block-navigation__responsive-container-open::before {
		transform: translate(-50%, -50%) rotate(45deg);
	}

	.ortega-fse-nav__mobile-menu.is-mobile-open .wp-block-navigation__responsive-container-open::after {
		transform: translate(-50%, -50%) rotate(-45deg);
	}

	.ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-container-close {
		display: none;
	}

	.ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-container {
		animation: none !important;
		background-color: #0058a4 !important;
		color: #ffe400 !important;
		display: grid !important;
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: 1fr;
		left: 0;
		max-height: 620px;
		min-height: min(100dvh, 620px);
		overflow: visible !important;
		pointer-events: none;
		position: fixed;
		right: 0;
		top: 0;
		transform-origin: top center;
		visibility: visible;
		width: 100%;
		z-index: 500001;
	}

	.ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-container.is-menu-open {
		padding-left: 0 !important;
		padding-right: 0 !important;
		pointer-events: auto;
	}

	.ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-container::after {
		background-image: url("/wp-content/themes/ortega/assets/images/nav-mobile-edge.svg");
		background-position: center top;
		background-repeat: no-repeat;
		background-size: cover;
		bottom: -12px;
		content: "";
		display: block;
		height: 13px;
		left: 0;
		opacity: 0;
		position: absolute;
		right: 0;
		visibility: hidden;
	}

	.ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-container.is-menu-open::after {
		opacity: 1;
		visibility: visible;
	}

	.ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-close,
	.ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-dialog {
		display: contents;
	}

	.ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-container-content {
		align-content: center;
		box-sizing: border-box;
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		min-height: 100%;
		padding: 120px 24px 40px;
	}

	.ortega-fse-nav__mobile-menu .wp-block-navigation__container {
		display: grid;
		gap: 18px;
		list-style: none;
		margin: 0;
		min-width: 0;
		padding: 60px 0 0;
		text-align: center;
	}

	.ortega-fse-nav__mobile-menu .wp-block-navigation-item {
		display: block;
	}

	.ortega-fse-nav__mobile-menu .wp-block-navigation-item:not(.ortega-fse-nav__mobile-cta) .wp-block-navigation-item__content {
		display: block;
		font-size: var(--ortega-type-nav-mobile-list);
		line-height: 1.12;
		text-align: center;
		width: 100%;
	}

	.ortega-fse-nav__mobile-menu .ortega-fse-nav__mobile-cta {
		justify-self: center;
		width: min(281px, calc(100vw - 48px));
	}

	.ortega-fse-nav__mobile-menu .wp-block-navigation__container > .ortega-fse-nav__mobile-cta:nth-last-child(2) {
		margin-top: 40px;
	  }

	.ortega-fse-nav__mobile-menu .ortega-fse-nav__mobile-cta .wp-block-navigation-item__content {
		background: url("/wp-content/themes/ortega/assets/images/nav-mobile-cta-bg.svg") center / 100% 100% no-repeat;
		display: grid;
		font-size: var(--ortega-type-nav-mobile-cta);
		line-height: 1.2;
		min-height: 54px;
		padding: 12px 16px;
		place-items: center;
	}

}

/*
 * Block editor — keep sticky/fixed nav from covering editable blocks.
 * Front-end sticky behavior is unchanged.
 */
.editor-styles-wrapper .wp-site-blocks > header,
.block-editor-iframe__body .wp-site-blocks > header,
.editor-styles-wrapper .ortega-fse-nav,
.block-editor-iframe__body .ortega-fse-nav {
	position: relative !important;
	top: auto !important;
	z-index: 1 !important;
}

.editor-styles-wrapper .ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-container,
.block-editor-iframe__body .ortega-fse-nav__mobile-menu .wp-block-navigation__responsive-container,
.editor-styles-wrapper html.has-modal-open .ortega-fse-nav,
.block-editor-iframe__body html.has-modal-open .ortega-fse-nav {
	position: relative !important;
	z-index: 1 !important;
}

