.recipes-showcase {
	background: var(--color-bg);
	padding-top: 150px;
}

.recipes-showcase__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 80px;
	width: min(100% - 48px, 1464px);
	margin: 0 auto;
}

.recipes-showcase__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	width: min(100%, 968px);
	text-align: center;
}

.recipes-showcase__eyebrow {
	width: 100%;
	margin: 0;
	color: var(--color-text-muted);
	font-family: "Inter Tight", sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 1;
	text-transform: uppercase;
	font-feature-settings: "init" 1, "liga" 0;
}

.recipes-showcase__title {
	width: 100%;
	margin: 0;
	color: var(--color-text);
	font-family: "Nexa Script", "Brush Script MT", cursive;
	font-size: 64px;
	font-style: normal;
	font-weight: 300;
	line-height: 0.9;
	font-feature-settings: "init" 1;
}

.recipes-showcase__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
}

.recipes-showcase__card {
	min-width: 0;
}

.recipes-showcase__card-inner {
	display: flex;
	flex-direction: column;
	gap: 33px;
}

.recipes-showcase__media {
	position: relative;
	overflow: hidden;
	height: 600px;
	background: rgba(255, 255, 255, 0.04);
}

.recipes-showcase__preview {
	position: relative;
	height: 100%;
}

.recipes-showcase__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.recipes-showcase__placeholder,
.recipes-modal__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 24px;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.7);
	font-family: "Inter Tight", sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}

.recipes-showcase__player {
	display: none;
	width: 100%;
	height: 100%;
	background: #000000;
}

.recipes-showcase__player.is-ready {
	display: block;
}

.recipes-showcase__player iframe,
.recipes-showcase__player video {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.recipes-showcase__media.is-playing .recipes-showcase__preview {
	display: none;
}

.recipes-showcase__play-trigger {
	position: absolute;
	inset: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.recipes-showcase__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background: rgba(232, 68, 35, 0.7);
	transform: translate(-50%, -50%);
	transition: background-color 0.2s ease;
}

.recipes-showcase__play::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-left: 12px solid #ffffff;
	transform: translate(-35%, -50%);
}

.recipes-showcase__play-trigger:hover .recipes-showcase__play,
.recipes-showcase__play-trigger:focus-visible .recipes-showcase__play {
	background: var(--color-accent);
}

.recipes-showcase__meta {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.recipes-showcase__card-title {
	margin: 0;
	color: var(--color-text);
	font-family: "Inter Tight", sans-serif;
	font-size: 24px;
	font-style: normal;
	font-weight: 600;
	line-height: 1.1;
	text-transform: uppercase;
}

.recipes-showcase__excerpt {
	margin: 0;
	color: var(--color-text);
	font-family: "Inter Tight", sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.5;
}

.recipes-showcase__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--color-accent);
	cursor: pointer;
	transition: color 0.2s ease;
}

.recipes-showcase__cta-icon {
	display: block;
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	background-color: currentColor;
	-webkit-mask: url("../img/recipes-composition-icon.svg") center / contain no-repeat;
	mask: url("../img/recipes-composition-icon.svg") center / contain no-repeat;
}

.recipes-showcase__cta-label {
	font-family: "Inter Tight", sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: underline;
	text-transform: uppercase;
	text-underline-offset: 2px;
}

.recipes-showcase__button {
	min-width: 169px;
}

.recipes-showcase__button:focus-visible,
.recipes-showcase__play-trigger:focus-visible,
.recipes-showcase__cta:focus-visible,
.recipes-modal__close:focus-visible {
	outline: 2px solid var(--color-text);
	outline-offset: 4px;
}

.recipes-showcase__cta:hover,
.recipes-showcase__cta:focus-visible {
	color: #ff7357;
}

body.has-recipe-modal-open {
	overflow: hidden;
}

.recipes-modal {
	position: fixed;
	inset: 0;
	z-index: 120;
}

.recipes-modal[hidden] {
	display: none;
}

.recipes-modal__backdrop {
	position: absolute;
	inset: 0;
	backdrop-filter: blur(10px);
	background: rgba(9, 0, 3, 0.5);
}

.recipes-modal__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 40px 24px;
}

.recipes-modal__inner {
	position: relative;
	display: block;
	width: min(100%, 630px);
	max-height: min(100vh - 80px, 860px);
	padding: 80px;
	overflow: auto;
	background: #331a1f;
}

.recipes-modal__close {
	position: absolute;
	top: 24px;
	right: 24px;
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent url("../img/modal-close.svg") center / contain no-repeat;
	cursor: pointer;
}

.recipes-modal__content {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.recipes-modal__title {
	margin: 0;
	color: var(--color-text);
	font-family: "Nexa Script", "Brush Script MT", cursive;
	font-size: 64px;
	font-style: normal;
	font-weight: 300;
	line-height: 0.9;
	font-feature-settings: "init" 1;
}

.recipes-modal__excerpt,
.recipes-modal__text {
	color: var(--color-text);
	font-family: "Inter Tight", sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.5;
}

.recipes-modal__excerpt {
	margin: 0;
}

.recipes-modal__text > :first-child {
	margin-top: 0;
}

.recipes-modal__text > :last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.recipes-showcase {
	    padding-top: 80px;
    }

	.recipes-showcase__inner {
		gap: 40px;
		width: min(100% - 32px, 343px);
	}

	.recipes-showcase__head {
		width: 100%;
	}

	.recipes-showcase__eyebrow {
		font-size: 14px;
	}

	.recipes-showcase__title {
		font-size: 40px;
	}

	.recipes-showcase__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.recipes-showcase__card-inner {
		gap: 24px;
	}

	.recipes-showcase__media {
		height: 436px;
	}

	.recipes-showcase__play {
		width: 64px;
		height: 64px;
	}

	.recipes-showcase__card-title {
		font-size: 18px;
	}

	.recipes-showcase__excerpt {
		font-size: 14px;
	}

	.recipes-showcase__button {
		width: 100%;
		min-width: 0;
	}

	.recipes-modal__dialog {
		align-items: flex-start;
		padding: 83px 0 0;
	}

	.recipes-modal__inner {
		width: 100%;
		max-height: calc(100vh - 83px);
		padding: 50px 16px;
	}

	.recipes-modal__close {
		top: 16px;
		right: 16px;
	}

	.recipes-modal__title {
		font-size: 40px;
	}

	.recipes-modal__excerpt,
	.recipes-modal__text {
		font-size: 14px;
	}
}
