/* Recipes Hero — ACF block */

.ortega-recipes-hero.is-text-entrance-pending .ortega-recipes-hero__headline,
.ortega-recipes-hero.is-text-entrance-pending .ortega-recipes-hero__ask-bro-text,
.ortega-recipes-hero.is-text-entrance-pending .ortega-recipes-hero__ask-bro-cta,
.ortega-recipes-hero.is-text-entrance-pending .ortega-recipes-hero__ask-bro-cta--static {
	visibility: hidden;
}

.ortega-recipes-hero {
	--ortega-rh-blue: #0058a4;
	--ortega-rh-navy: #092450;
	--ortega-rh-yellow: #ffe400;
	--ortega-rh-yellow-hover: #ffd000;
	--ortega-rh-white: #fff;
	isolation: isolate;
	margin-inline: calc(50% - 50vw);
	max-width: 100vw;
	position: relative;
	width: 100vw;
}

/* Edges span the full-bleed hero — not the global 110vw bleed. */
.ortega-recipes-hero .edge {
	left: 0;
	right: 0;
	width: 100%;
}

.ortega-recipes-hero .edge.top {
	transform: none;
	z-index: 1;
}

.ortega-recipes-hero .edge.navy {
	background-color: var(--ortega-rh-navy);
}

.ortega-recipes-hero__pattern {
	background-color: var(--ortega-rh-blue);
	background-image: url("../images/recipes/bg-pattern-blue.svg");
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	inset: 0;
	position: absolute;
	z-index: 0;
}

.ortega-recipes-hero__mobile {
	display: none;
}

.ortega-recipes-hero__desktop {
	position: relative;
	z-index: 2;
}

.ortega-recipes-hero__inner {
	align-items: end;
	box-sizing: border-box;
	display: grid;
	gap: clamp(1.5rem, 4vw, 2.5rem);
	grid-template-columns: 1fr;
	margin-inline: auto;
	max-width: min(1320px, 100%);
	min-height: clamp(520px, 62vw, 760px);
	padding:
		clamp(6.5rem, 10vw, 8.5rem)
		clamp(1rem, 4vw, 3rem)
		clamp(4.5rem, 8vw, 6.5rem);
	position: relative;
	width: 100%;
	z-index: 2;
}

@media (min-width: 900px) {
	.ortega-recipes-hero__inner {
		align-items: center;
	}
}

.ortega-recipes-hero__content {
	display: flex;
	flex-direction: column;
	gap: clamp(1.25rem, 3vw, 2rem);
	max-width: min(560px, 100%);
	position: relative;
}

.ortega-recipes-hero__headline {
	color: var(--ortega-rh-yellow);
	font-family: var(--ortega-font-display);
	font-size: var(--ortega-type-hero-lg);
	font-weight: 700;
	line-height: 0.88;
	text-transform: uppercase;
}

.ortega-recipes-hero__headline :is(p, h1, h2, h3) {
	color: inherit;
	font-size: inherit;
	line-height: inherit;
	margin: 0;
}

.ortega-recipes-hero__headline :is(p, h1, h2, h3) + :is(p, h1, h2, h3) {
	margin-top: 0.04em;
}

.ortega-recipes-hero__headline :is(span, .ortega-recipes-hero__headline-accent) {
	display: block;
	font-size: var(--ortega-type-hero-sm);
	line-height: 1;
	margin-bottom: 0.08em;
	padding-left: 0.18em;
}

.ortega-recipes-hero__ask-bro {
	box-sizing: border-box;
	max-width: min(555px, 100%);
	min-height: 318px;
	padding: clamp(1.25rem, 3vw, 1.75rem);
	position: relative;
	width: 100%;
}

.ortega-recipes-hero__ask-bro-shape {
	background-image: url("../images/recipes/ask-bro-background.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	inset: 0;
	position: absolute;
}

.ortega-recipes-hero__ask-bro-inner {
	display: flex;
	flex-direction: column;
	gap: clamp(0.85rem, 2vw, 1.15rem);
	height: 100%;
	position: relative;
	z-index: 1;
}

.ortega-recipes-hero__ask-bro-header {
	margin: clamp(-2.5rem, -5.5vw, -1.25rem) 0 0;
	max-width: 100%;
}

.ortega-recipes-hero__ask-bro-header-graphic {
	display: block;
	height: auto;
	max-width: min(100%, 500px);
	width: 100%;
}

.ortega-recipes-hero__ask-bro-body {
	display: flex;
	flex-direction: column;
	gap: clamp(0.85rem, 2vw, 1.15rem);
}

@media (min-width: 900px) {
	.ortega-recipes-hero__ask-bro-body {
		align-items: flex-end;
		flex-direction: row;
		gap: clamp(1rem, 2.5vw, 1.5rem);
		justify-content: space-between;
	}

	.ortega-recipes-hero__ask-bro-text {
		flex: 1 1 auto;
		max-width: min(28ch, 62%);
		text-align: left;
	}

	.ortega-recipes-hero__ask-bro-cta,
	.ortega-recipes-hero__ask-bro-cta--static {
		align-self: flex-end;
		flex: 0 0 auto;
		margin-left: auto;
	}
}

.ortega-recipes-hero__ask-bro-text {
	color: var(--ortega-rh-white);
	font-family: var(--ortega-font-body);
	font-size: var(--ortega-type-body);
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
	max-width: 34ch;
}

.ortega-recipes-hero__ask-bro-cta,
.ortega-recipes-hero__ask-bro-cta--static {
	align-items: center;
	align-self: flex-start;
	background: var(--ortega-rh-yellow);
	border: 0;
	border-radius: 999px;
	box-sizing: border-box;
	color: var(--ortega-rh-navy);
	cursor: pointer;
	display: inline-flex;
	font-family: var(--ortega-font-body);
	font-size: var(--ortega-type-cta-ask);
	font-weight: 700;
	line-height: 1;
	min-height: 48px;
	padding: 0.85rem 1.5rem;
	text-decoration: none;
	width: max-content;
}

.ortega-recipes-hero__ask-bro-cta:hover,
.ortega-recipes-hero__ask-bro-cta:focus-visible {
	background: var(--ortega-rh-yellow-hover);
}

.ortega-recipes-hero__figure {
	align-items: flex-end;
	bottom: 0;
	display: flex;
	justify-content: flex-end;
	position: absolute;
	right: -10px;
	width: min(62vw, 860px);
	z-index: 1;
}

.ortega-recipes-hero__character {
	display: block;
	height: auto;
	max-height: clamp(380px, 56vw, 720px);
	object-fit: contain;
	object-position: bottom right;
	width: 100%;
}

.ortega-recipes-hero-placeholder {
	background: #f7f7f8;
	border: 1px dashed #0058a4;
	color: #0058a4;
	padding: 24px;
	text-align: center;
}

@media (min-width: 782px) {
	.ortega-recipes-hero {
		overflow: hidden;
	}
}

@media (min-width: 782px) and (max-width: 899px) {
	.ortega-recipes-hero__inner {
		min-height: clamp(480px, 58vw, 640px);
		padding-bottom: clamp(3rem, 6vw, 4.5rem);
	}

	.ortega-recipes-hero__figure {
		width: min(52vw, 500px);
	}

	.ortega-recipes-hero__character {
		max-height: clamp(320px, 48vw, 560px);
	}
}

@media (max-width: 781px) {
	.ortega-recipes-hero {
		overflow: visible;
	}

	.ortega-recipes-hero__pattern {
		bottom: auto;
		height: 55%;
	}

	.ortega-recipes-hero__desktop {
		display: none;
	}

	.ortega-recipes-hero__mobile {
		display: block;
		position: relative;
		width: 100%;
		z-index: 2;
	}

	.ortega-recipes-hero__mobile-top {
		padding:
			clamp(5.5rem, 18vw, 6.5rem)
			clamp(1rem, 4vw, 1.25rem)
			clamp(0.75rem, 3vw, 1rem);
		padding-bottom: 130px;
		position: relative;
	}

	.ortega-recipes-hero__headline-wrap {
		margin-inline: auto;
		max-width: 100%;
		text-align: center;
	}

	.ortega-recipes-hero__headline--mobile :is(p, h1, h2, h3):has(.ortega-recipes-hero__headline-accent) {
		align-items: flex-end;
		display: flex;
		gap: clamp(0.1rem, 1.2vw, 0.3rem);
		margin-bottom: 0.04em;
	}

	.ortega-recipes-hero__headline--mobile .ortega-recipes-hero__headline-accent {
		display: inline-block;
		margin-bottom: 0;
		padding-left: 0;
		transform: rotate(-3deg);
		transform-origin: 50% 100%;
	}

	.ortega-recipes-hero__headline-burst {
		width: 52px;
		margin-left: -25px;
		margin-bottom: 10px;
	}

	.ortega-recipes-hero__mobile .ortega-recipes-hero__headline {
		font-size: var(--ortega-type-hero-lg--mobile);
		width: max-content;
		margin-inline: auto;
		text-align: left;
	}

	.ortega-recipes-hero__mobile .ortega-recipes-hero__headline :is(span, .ortega-recipes-hero__headline-accent) {
		font-size: var(--ortega-type-hero-sm--mobile);
	}

	.ortega-recipes-hero__mobile-lower {
		background-color: var(--ortega-rh-navy);
		margin-top: clamp(0.25rem, 2vw, 0.75rem);
		overflow: visible;
		padding-bottom: clamp(0.75rem, 3vw, 1.25rem);
		padding-top: clamp(2rem, 8vw, 3rem);
		position: relative;
		width: 100%;
	}

	.ortega-recipes-hero__mobile-feature {
		box-sizing: border-box;
		padding: 0 16px;
		margin-top: -150px;
		position: relative;
		width: 100%;
		z-index: 2;
	}

	.ortega-recipes-hero__mobile-header-graphic {
		display: block;
		height: auto;
		margin-inline: auto;
		max-width: 430px;
		width: 100%;
	}

	.ortega-recipes-hero__mobile-panel-inner {
		align-items: center;
		display: flex;
		flex-direction: column;
		gap: clamp(1rem, 4vw, 1.5rem);
		margin-inline: auto;
		max-width: min(100%, 420px);
		padding:
			clamp(1.25rem, 4vw, 2rem)
			clamp(1.25rem, 5vw, 2rem)
			clamp(2rem, 8vw, 3rem);
		position: relative;
		text-align: center;
		z-index: 2;
	}

	.ortega-recipes-hero__mobile .ortega-recipes-hero__ask-bro-text {
		margin-inline: auto;
		max-width: 28ch;
		text-align: center;
	}

	.ortega-recipes-hero__mobile .ortega-recipes-hero__ask-bro-cta,
	.ortega-recipes-hero__mobile .ortega-recipes-hero__ask-bro-cta--static {
		align-self: center;
		justify-content: center;
		margin-inline: auto;
		padding-inline: clamp(1.5rem, 6vw, 2rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ortega-recipes-hero.is-text-entrance-pending .ortega-recipes-hero__headline,
	.ortega-recipes-hero.is-text-entrance-pending .ortega-recipes-hero__ask-bro-text,
	.ortega-recipes-hero.is-text-entrance-pending .ortega-recipes-hero__ask-bro-cta,
	.ortega-recipes-hero.is-text-entrance-pending .ortega-recipes-hero__ask-bro-cta--static {
		visibility: visible;
	}
}
