/******/
/*** PAGE SECTIONS ***/
/******/

.section-heading {
	margin-inline: auto;
}

.section-heading h2 {
	max-width: 52rem;
	margin-inline: auto;
}

.single-featured {
	aspect-ratio: 16 / 9;
	margin-block: 3rem;
}

/** Hero **/

.home-hero__copy {
	min-height: clamp(21rem, 32vw, 31rem);
}

.home-hero__copy .jumbo {
	max-width: 7ch;
}

.home-hero__restaurant {
	width: 100%;
	aspect-ratio: 1.535 / 1;
}

.home-hero__promotion {
	display: block;
	text-decoration: none;
}

.home-hero__lto {
	width: 100%;
	aspect-ratio: 2.629 / 1;
}

/** Marquee **/

.bueno-marquee {
	width: 100%;
	overflow: hidden;
}

.bueno-marquee__track,
.bueno-marquee__group {
	display: flex;
	align-items: center;
	width: max-content;
}

.bueno-marquee__track {
	animation: bueno-marquee 34s linear infinite;
}

.bueno-marquee__group span {
	display: inline-flex;
	align-items: center;
	gap: 1.25rem;
	padding: 0.45rem 0.65rem;
	font-family: var(--font-condensed);
	font-size: 1.1rem;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.bueno-marquee__group i {
	display: block;
	width: 4.5rem;
	height: 0.13rem;
	background: currentColor;
}

@keyframes bueno-marquee {
	to { transform: translateX(-50%); }
}

/** Deals **/

.deals-section {
	border-radius: 0 0 var(--radius-section) var(--radius-section);
}

.deals-grid {
	max-width: 82rem;
	margin-inline: auto;
}

.deals-grid > *,
.favorites-grid > * {
	flex: 1 1 0;
	min-width: 0;
}

.deal-card {
	border-radius: var(--radius-media);
	overflow: clip;
}

.deal-card__media {
	width: 100%;
	aspect-ratio: 1.279 / 1;
	border-radius: var(--radius-media) var(--radius-media) 0 0;
}

.deal-card__content {
	flex: 1 1 auto;
	width: 100%;
	padding: clamp(1.2rem, 2.5vw, 2.25rem);
}

.deal-card__content h3 {
	max-width: 16ch;
}

.deal-card__link {
	margin-top: auto;
	font-family: var(--font-condensed);
	font-size: 1.35rem;
	letter-spacing: 0.08em;
	text-decoration: none;
	text-transform: uppercase;
}

.deal-card--yellow {
	background: var(--color-yellow);
	color: var(--color-black);
}

.deal-card--red {
	background: var(--color-red);
	color: var(--color-cream);
}

/** Testimonial **/

.testimonial-section {
	min-height: clamp(34rem, 58vw, 49rem);
}

.testimonial-section .grid-container-full {
	min-height: inherit;
}

.testimonial__sign {
	align-self: flex-end;
	margin: 0;
}

.testimonial__sign-image {
	width: min(100%, 24rem);
	margin-inline: auto;
}

.testimonial__content {
	margin: 0;
}

.testimonial__content figcaption {
	display: flex;
	flex-direction: column;
	font-family: var(--font-condensed);
	font-size: 1.15rem;
	line-height: 1.15;
}

/** Ingredients + favorites **/

.ingredients-section {
	border-radius: var(--radius-section) var(--radius-section) 0 0;
}

.ingredients__copy .jumbo {
	font-size: clamp(4rem, 7vw, 7.5rem);
}

.ingredients__image {
	width: 100%;
	aspect-ratio: 1.18 / 1;
}

.favorites-section {
	border-radius: 0 0 var(--radius-section) var(--radius-section);
}

.favorites-grid {
	width: 100%;
}

.favorite-card__media {
	width: 100%;
	aspect-ratio: 0.96 / 1;
	background: var(--color-white);
}

.favorite-card h3 {
	max-width: 13ch;
	margin-top: 0.35rem;
}

.favorite-card__price {
	font-family: var(--font-display);
	font-size: clamp(2rem, 3vw, 3.25rem);
	letter-spacing: var(--tracking-tight);
	line-height: 1;
}

.favorite-card .button {
	margin-top: auto;
}

/** News **/

.news-section__mark {
	width: clamp(5.5rem, 10vw, 8.25rem);
	height: auto;
}

.news-section h2 {
	text-align: center;
}

.news-grid {
	width: 100%;
	max-width: 82rem;
}

.news-card h3 {
	font-size: clamp(1.45rem, 2.6vw, 2.4rem);
}

.news-card a {
	text-decoration: none;
}

.news-card a:hover {
	text-decoration: underline;
}

/** FAQs **/

.faqs-section .grid-container-full {
	align-items: center;
}

.faq-feature {
	aspect-ratio: 0.83 / 1;
}

.faq-feature::after,
.about-feature::after,
.split-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, transparent 36%, rgba(35, 31, 32, 0.8) 100%);
	pointer-events: none;
}

.faq-feature__content,
.about-feature__content,
.split-cta__content {
	position: absolute;
	right: clamp(1.25rem, 3vw, 3rem);
	bottom: clamp(1.25rem, 3vw, 3rem);
	left: clamp(1.25rem, 3vw, 3rem);
	z-index: 2;
}

.faq-feature__content h2 {
	font-size: clamp(2.4rem, 4vw, 4.75rem);
}

/** About **/

.about-feature {
	aspect-ratio: 2.42 / 1;
}

.about-feature__content h2 {
	max-width: 14ch;
}

/** Split CTAs **/

.split-ctas {
	border-bottom: 0.3rem solid var(--color-black);
}

.split-ctas .grid-container-full > * {
	flex: 1 1 0;
	min-width: 0;
}

.split-cta {
	aspect-ratio: 1.28 / 1;
}

.split-cta h2 {
	font-size: clamp(2.25rem, 4vw, 4.25rem);
}

@media (min-width: 48rem) {
	.home-hero__media {
		align-self: center;
	}
}

@media (max-width: 47.999rem) {
	.home-hero .grid-container-full {
		padding-top: 1.5rem;
	}

	.home-hero__copy {
		min-height: auto;
	}

	.home-hero__copy .jumbo {
		max-width: 6ch;
	}

	.home-hero__copy .button-container,
	.ingredients__copy .button-container {
		flex-direction: column;
		align-items: flex-start;
	}

	.home-hero__restaurant,
	.home-hero__lto,
	.ingredients__image,
	.favorite-card__media,
	.faq-feature,
	.about-feature,
	.split-cta {
		max-width: 100%;
		min-width: 100%;
	}

	.bueno-marquee__group span {
		font-size: 0.9rem;
	}

	.deals-section,
	.ingredients-section,
	.favorites-section {
		padding-top: 3.5rem;
		padding-bottom: 3.5rem;
	}

	.deals-grid,
	.favorites-grid,
	.news-grid {
		gap: 2rem;
	}

	.deal-card,
	.favorite-card,
	.news-card {
		max-width: 100%;
		min-width: 100%;
	}

	.deal-card__content h3 {
		font-size: 1.75rem;
	}

	.testimonial-section {
		min-height: auto;
		padding-top: 3.5rem;
		padding-bottom: 0;
	}

	.testimonial__content { order: 1; }
	.testimonial__sign { order: 2; align-self: center; }
	.testimonial__sign-image { width: min(88%, 19rem); }
	.testimonial__content blockquote { max-width: none; }

	.ingredients__copy,
	.ingredients__media,
	.faq-feature,
	.accordion {
		max-width: 100%;
		min-width: 100%;
	}

	.favorite-card__media {
		aspect-ratio: 0.92 / 1;
	}

	.ingredients__image {
		aspect-ratio: 0.96 / 1;
	}

	.news-section {
		padding-top: 4rem;
		padding-bottom: 4rem;
	}

	.news-card h3 {
		font-size: 1.65rem;
	}

	.faq-feature {
		aspect-ratio: 0.78 / 1;
	}

	.about-feature {
		aspect-ratio: 0.9 / 1;
	}

	.about-feature__content h2 {
		font-size: 2.4rem;
	}

	.split-cta {
		aspect-ratio: 1.08 / 1;
	}
}
