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

.tasty-article-hero {
	color: var(--white);
	text-align: center;
}

.tasty-article-hero__inner {
	align-items: center;
	max-width: 62rem;
	row-gap: var(--space-s);
	width:100%;
}

.tasty-article-hero__category {
	color: var(--clr-primary);
	font-size: var(--text-s);
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.tasty-article-hero h1 {
	font-size: clamp(2.4rem, 5vw, 5rem);
	line-height: 1.15;
	text-wrap: balance;
}

.tasty-article-hero__lede {
	max-width: 48rem;
	margin: 0;
	color: var(--white-80);
	font-size: var(--text-l);
}

.tasty-article-hero time {
	color: var(--clr-primary-l-1);
}

.tasty-article {
	background: #30302f;
	color: #FFF;
}

.tasty-article__inner {
	max-width: 62rem;
	width:100%;
}

.tasty-article__content {
	width: 100%;
	font-size: clamp(1.05rem, 1.3vw, 1.22rem);
	line-height: 1.85;
}
.tasty-article__content img { max-width:100%; height:auto; }

.tasty-article__content > *:first-child {
	margin-top: 0;
}

.tasty-article__content h2,
.tasty-article__content h3,
.tasty-article__content h4 {
	margin: 1.8em 0 .65em;
	color: #ffad48;
	line-height: 1.3;
}

.tasty-article__content h2 { font-size: var(--h3); }
.tasty-article__content h3 { font-size: var(--h4); }

.tasty-article__content p,
.tasty-article__content ul,
.tasty-article__content ol,
.tasty-article__content blockquote {
	margin: 0 0 1.25em;
}

.tasty-article__content ul,
.tasty-article__content ol {
	padding-left: 1.4em;
}

.tasty-article__content img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	margin: var(--space-l) auto;
	border-radius: var(--radius);
}

.tasty-article__content figure {
	max-width: 100%;
	margin: var(--space-l) auto;
}

.tasty-article__content figure img {
	width: 100%;
	margin: 0;
}

.tasty-article__content a {
	color: #9b2e27;
	text-decoration: underline;
	text-underline-offset: .2em;
}

.tasty-article__content blockquote {
	padding: var(--space-m);
	border-left: .3rem solid var(--clr-primary);
	background: #eadcc5;
}

.tasty-article__content table {
	display: block;
	overflow-x: auto;
	width: 100%;
	border-collapse: collapse;
}

.tasty-article__content th,
.tasty-article__content td {
	padding: .75rem;
	border: 1px solid #cdbb9e;
}

.tasty-related {
	color: var(--white);
}

.tasty-related__inner {
	row-gap: var(--space-xl);
}

.tasty-related h2 {
	align-self: center;
	color: var(--clr-primary);
}

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

.tasty-related-card {
	overflow: hidden;
	background: #373737;
	border-radius: var(--radius);
}

.tasty-related-card__image {
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 2;
}

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

.tasty-related-card:hover img {
	transform: scale(1.04);
}

.tasty-related-card__content {
	padding: var(--space-m);
}

.tasty-related-card h3 {
	margin: 0 0 var(--space-s);
	font-size: var(--h5);
	line-height: 1.35;
}

.tasty-related-card time {
	color: var(--clr-primary-l-1);
	font-size: var(--text-s);
}

@media (max-width: 767px) {
	.tasty-related__grid { grid-template-columns: 1fr; }
	.tasty-article-hero h1 { font-size: clamp(2rem, 11vw, 3.2rem); }
}
