@import url("/tasty/index.css");

.hero-menu {
	position: relative;
	z-index: 0;
	min-height: 720px;
	padding: 0;
	color: var(--white);
}

.hero-menu__inner {
	display: flex;
	min-height: 720px;
}

.hero-menu__content-wrap {
	display: flex;
	flex-direction: column;
	align-self: flex-end;
	row-gap: var(--content-gap);
	max-width: 35rem;
	margin-left: auto;
	padding: calc(var(--section-padding-y) * 2) var(--section-padding-x);
	background-color: rgba(0, 0, 0, .5);
	-webkit-backdrop-filter: blur(5px);
	backdrop-filter: blur(5px);
}

.hero-menu__heading {
	margin: 0;
	font-size: var(--h5);
	font-weight: 600;
}

.hero-menu__lede p {
	margin: 0;
}

.background-alpha,
.background-alpha__slider__wrapper,
.background-alpha__overlay {
	position: absolute;
	inset: 0;
}

.background-alpha {
	z-index: -2;
}

.background-alpha__slider__wrapper {
	z-index: -1;
	width: 100%;
	height: 100%;
	margin: 0;
}

.background-alpha__slider__wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 55%;
}

.background-alpha__overlay {
	z-index: -1;
	background-image: radial-gradient(ellipse farthest-corner at center, transparent 30%, rgba(0, 0, 0, .36) 70%);
}

.menu {
	position: relative;
	row-gap: var(--content-gap);
	color: var(--white);
}

.bg-dragon {
	background-image: url("/tasty/wp-content/uploads/Dragon_background_small.webp");
	background-repeat: repeat;
	background-size: 40%;
}

.bg-dragon::before {
	position: absolute;
	inset: 0;
	content: "";
	pointer-events: none;
	background-image: linear-gradient(rgba(0, 0, 0, .85), rgba(0, 0, 0, .75), rgba(0, 0, 0, .85));
}

.bg-dragon > * {
	position: relative;
}

.menu__inner {
	align-items: center;
}

.menu__heading {
	color: var(--clr-primary);
}

.menu-grid {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: initial;
	gap: var(--space-xl);
	width: var(--width-xl);
}

.menu-card {
	display: flex;
	flex: 0 1 calc((100% - (var(--space-xl) * 2)) / 3);
	width: calc((100% - (var(--space-xl) * 2)) / 3);
	max-width: calc((100% - (var(--space-xl) * 2)) / 3);
	flex-direction: column;
	align-items: center;
	row-gap: var(--content-gap);
	color: inherit;
	text-align: center;
	text-decoration: none;
}

.menu-card__dish-name {
	margin: 0;
	font-size: var(--h4);
}

.menu-card__dish-image {
	order: -1;
	overflow: hidden;
	width: 100%;
	height: auto;
	margin: 0;
	padding: .45rem;
	border: .9rem solid transparent;
	border-image: url("/tasty/wp-content/uploads/border_image_style_01.svg") 20 stretch;
	border-radius: 0;
	background-color: rgba(0, 0, 0, .45);
	aspect-ratio: 1;
}

.menu-card__dish-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 80%;
	transition: transform .35s ease;
}

.menu-card:hover .menu-card__dish-image img {
	transform: scale(1.04);
}

.menu__empty {
	width: 100%;
	margin: 0;
	text-align: center;
}

.product-guides {
	color: var(--white);
}

.product-guides__inner {
	row-gap: var(--space-xl);
}

.product-guides__heading {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	width: 100%;
	gap: .5rem var(--space-l);
}

.product-guides__heading h2 {
	color: var(--clr-primary);
}

.product-guides__heading > a {
	grid-column: 2;
	grid-row: 1 / 3;
	color: var(--clr-primary);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: .3em;
}

.product-guides__eyebrow {
	margin: 0;
	color: var(--clr-primary-l-1);
	font-size: var(--text-s);
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.product-guides__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-l);
	width: 100%;
}

.product-guide-card {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	background: #373737;
	border-radius: var(--radius);
	box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, .22);
}

.product-guide-card__image {
	display: block;
	overflow: hidden;
	border-radius: var(--radius) var(--radius) 0 0;
	aspect-ratio: 3 / 2;
}

.product-guide-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.product-guide-card:hover .product-guide-card__image img {
	transform: scale(1.04);
}

.product-guide-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: var(--space-l);
}

.product-guide-card h3 {
	margin: 0 0 var(--space-s);
	color: var(--white);
	font-size: var(--h3);
	font-weight: 400;
	line-height: 1.3;
}

.product-guide-card__content > p {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 var(--space-m);
	color: var(--white);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.product-guide-card time {
	margin-top: auto;
	color: var(--white);
	font-size: var(--text-m);
	font-weight: 600;
}

.product-guides__empty {
	width: 100%;
	text-align: center;
}

@media (max-width: 991px) {
	.menu-card {
		flex-basis: calc((100% - var(--space-xl)) / 2);
		width: calc((100% - var(--space-xl)) / 2);
		max-width: calc((100% - var(--space-xl)) / 2);
	}

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

@media (max-width: 767px) {
	.hero-menu,
	.hero-menu__inner {
		min-height: 620px;
	}

	.hero-menu__content-wrap {
		width: 100%;
		max-width: none;
	}

	.background-alpha__overlay {
		background-color: rgba(0, 0, 0, .28);
	}

	.menu-card {
		flex-basis: 100%;
		width: 100%;
		max-width: 100%;
	}

	.product-guides__heading {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}

	.product-guides__grid {
		grid-template-columns: 1fr;
	}
}
