.tomten-food {
	--food-night: #10271f;
	--food-night-soft: #1f4939;
	--food-cream: #fffaf0;
	--food-paper: #f7f3ec;
	--food-ink: #2d2926;
	--food-red: #8f1d2c;
	--food-red-dark: #64131f;
	--food-gold: #d6aa55;
	max-width: 1040px;
	margin-inline: auto;
}

.tomten-food-hero {
	position: relative;
	overflow: hidden;
	margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
	padding: clamp(1.5rem, 5vw, 3.2rem);
	border: 1px solid rgba(214, 170, 85, .48);
	border-radius: 24px;
	background: linear-gradient(135deg, var(--food-night), var(--food-night-soft));
	box-shadow: 0 24px 60px rgba(7, 20, 16, .2);
	color: var(--food-cream);
}

.tomten-food-hero::after {
	position: absolute;
	top: -7rem;
	right: -4rem;
	width: 22rem;
	height: 22rem;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(242, 207, 134, .22), rgba(242, 207, 134, 0) 68%);
	content: "";
	pointer-events: none;
}

.tomten-food-hero h2 {
	position: relative;
	z-index: 1;
	max-width: 18ch;
	margin: .45rem 0 .8rem !important;
	color: #fff0d3 !important;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 5vw, 4rem) !important;
	line-height: 1.02;
}

.tomten-food-hero > p {
	position: relative;
	z-index: 1;
	max-width: 64ch;
	margin: 0;
	color: #f4e9d0;
	font-size: clamp(1rem, 2.1vw, 1.2rem);
	line-height: 1.65;
}

.tomten-food-eyebrow,
.tomten-food-source > span,
.tomten-food-card > span,
.tomten-food-planner > span,
.tomten-lucia-grid > div > span {
	position: relative;
	z-index: 1;
	display: block;
	color: #f2cf86;
	font-size: .74rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.tomten-food-breadcrumb {
	display: flex;
	gap: .55rem;
	align-items: center;
	margin: 0 0 1rem;
	color: #f4e9d0;
	font-size: .88rem;
}

.tomten-food-breadcrumb a {
	color: #f2cf86;
}

.tomten-recipe-meta {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: .75rem;
	margin: 1.7rem 0 0;
	padding: 0;
	list-style: none;
}

.tomten-recipe-meta li {
	padding: .8rem .9rem;
	border: 1px solid rgba(255, 250, 240, .17);
	border-radius: 12px;
	background: rgba(5, 24, 18, .28);
}

.tomten-recipe-meta span,
.tomten-recipe-meta strong {
	display: block;
}

.tomten-recipe-meta span {
	margin-bottom: .25rem;
	color: #c9dccf;
	font-size: .7rem;
	font-weight: 750;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.tomten-recipe-meta strong {
	color: #fffaf0;
	font-size: .9rem;
}

.tomten-recipe-toolbar {
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 1.3rem;
	padding: .9rem 1rem;
	border: 1px solid rgba(214, 170, 85, .34);
	border-radius: 16px;
	background: rgba(16, 39, 31, .62);
	color: #f4e9d0;
}

.tomten-recipe-scale {
	display: flex;
	flex-wrap: wrap;
	gap: .45rem;
	align-items: center;
}

.tomten-recipe-scale > span {
	margin-right: .25rem;
	font-weight: 750;
}

.tomten-recipe-scale button,
.tomten-recipe-print {
	min-height: 42px;
	padding: .6rem .9rem;
	border: 1px solid rgba(255, 250, 240, .48);
	border-radius: 999px;
	background: transparent;
	color: #fffaf0;
	font: inherit;
	font-weight: 750;
	cursor: pointer;
}

.tomten-recipe-scale button[aria-pressed="true"],
.tomten-recipe-scale button:hover,
.tomten-recipe-scale button:focus-visible,
.tomten-recipe-print:hover,
.tomten-recipe-print:focus-visible {
	border-color: var(--food-gold);
	background: var(--food-gold);
	color: #231b12;
}

.tomten-recipe-columns {
	display: grid;
	grid-template-columns: minmax(240px, .82fr) minmax(0, 1.18fr);
	gap: 1rem;
}

.tomten-recipe-panel,
.tomten-recipe-notes,
.tomten-food-source,
.tomten-food-more,
.tomten-lucia-guide {
	padding: clamp(1.2rem, 3vw, 2rem);
	border-radius: 18px;
	background: var(--food-paper);
	color: var(--food-ink);
}

.tomten-recipe-panel h2,
.tomten-recipe-notes h2,
.tomten-food-source h2,
.tomten-food-more h2,
.tomten-lucia-guide h2,
.tomten-food-planner h2,
.tomten-lucia-fika h2 {
	margin-top: 0 !important;
	color: var(--food-ink) !important;
}

.tomten-recipe-ingredients,
.tomten-recipe-method,
.tomten-recipe-notes ul,
.tomten-food-source ul {
	margin: 1rem 0 0;
}

.tomten-recipe-ingredients {
	padding: 0;
	list-style: none;
}

.tomten-recipe-ingredients li {
	padding: .65rem 0;
	border-bottom: 1px solid #ddd1c0;
	line-height: 1.5;
}

.tomten-recipe-ingredients li:last-child {
	border-bottom: 0;
}

.tomten-recipe-amount {
	color: var(--food-red-dark);
}

.tomten-recipe-method {
	display: grid;
	gap: .95rem;
	padding-left: 2.1rem;
	counter-reset: recipe-step;
	list-style: none;
}

.tomten-recipe-method li {
	position: relative;
	line-height: 1.65;
}

.tomten-recipe-method li::before {
	position: absolute;
	top: -.12rem;
	left: -2.2rem;
	display: grid;
	width: 1.55rem;
	height: 1.55rem;
	place-items: center;
	border-radius: 50%;
	background: var(--food-red);
	color: #fff;
	content: counter(list-item);
	font-size: .76rem;
	font-weight: 800;
}

.tomten-recipe-notes,
.tomten-food-source,
.tomten-food-more,
.tomten-lucia-guide {
	margin-top: 1rem;
}

.tomten-recipe-notes {
	border-left: 5px solid var(--food-gold);
}

.tomten-recipe-notes li,
.tomten-lucia-guide li {
	margin-bottom: .65rem;
	line-height: 1.6;
}

.tomten-recipe-notes p {
	margin-bottom: 0;
	padding-top: .8rem;
	border-top: 1px solid #ddd1c0;
}

.tomten-food-source {
	border: 1px solid #d9ccb8;
	background: #fffaf0;
}

.tomten-food-source > span,
.tomten-food-card > span,
.tomten-lucia-grid > div > span {
	color: var(--food-red-dark);
}

.tomten-food-source > p {
	margin: .55rem 0 0;
	line-height: 1.6;
}

.tomten-food-source ul {
	display: grid;
	gap: .8rem;
	padding: 0;
	list-style: none;
}

.tomten-food-source li {
	display: grid;
	gap: .2rem;
}

.tomten-food-source a,
.tomten-food-more a,
.tomten-food-planner a,
.tomten-lucia-fika a {
	color: var(--food-red-dark);
	font-weight: 750;
	text-decoration: underline;
	text-underline-offset: .14em;
}

.tomten-food-source small {
	color: #554c44;
	line-height: 1.45;
}

.tomten-food-more > div {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.tomten-food-more > div a {
	padding: .5rem .7rem;
	border: 1px solid #d7c9b5;
	border-radius: 999px;
	background: #fff;
	text-decoration: none;
}

.tomten-food-more > p {
	margin-bottom: 0;
}

.tomten-food-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.tomten-food-hub > section > h2 {
	color: #fff0d3;
}

.tomten-food-card {
	display: flex;
	min-height: 12rem;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.2rem;
	border: 1px solid #d9ccb8;
	border-radius: 18px;
	background: linear-gradient(150deg, #fffaf0, #f1dfc1);
	color: var(--food-ink);
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.tomten-food-card:hover,
.tomten-food-card:focus-visible {
	border-color: var(--food-red);
	box-shadow: 0 16px 34px rgba(6, 20, 15, .17);
	transform: translateY(-3px);
}

.tomten-food-card strong {
	margin: .45rem 0;
	color: var(--food-ink);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.45rem;
}

.tomten-food-card small {
	color: #554c44;
}

.tomten-food-planner,
.tomten-lucia-fika {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr);
	gap: 1.25rem;
	align-items: center;
	margin-top: 2rem;
	padding: clamp(1.2rem, 4vw, 2rem);
	border-radius: 18px;
	background: #fff4d8;
	color: var(--food-ink);
}

.tomten-food-planner > span {
	grid-column: 1 / -1;
	color: var(--food-red-dark);
}

.tomten-food-planner h2,
.tomten-food-planner p {
	margin: 0;
}

.tomten-lucia-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.tomten-lucia-grid > div {
	padding: 1.3rem;
	border: 1px solid #d9ccb8;
	border-radius: 16px;
	background: #fffaf0;
	color: var(--food-ink);
}

.tomten-lucia-grid h2 {
	margin: .45rem 0 .55rem !important;
	color: var(--food-ink) !important;
	font-size: 1.3rem !important;
}

.tomten-lucia-grid p {
	margin: 0;
	line-height: 1.62;
}

.tomten-lucia-guide {
	margin-top: 2rem;
}

.tomten-lucia-guide .tomten-food-eyebrow {
	color: var(--food-red-dark);
}

.tomten-lucia-guide ol {
	display: grid;
	gap: .8rem;
	margin-bottom: 0;
}

.tomten-lucia-guide li strong,
.tomten-lucia-guide li span {
	display: block;
}

.tomten-lucia-guide li strong {
	color: var(--food-red-dark);
}

.tomten-lucia-fika {
	grid-template-columns: minmax(0, 1fr) auto;
}

.tomten-lucia-fika nav {
	display: grid;
	gap: .55rem;
}

@media (max-width: 780px) {
	.tomten-recipe-meta,
	.tomten-food-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tomten-recipe-columns,
	.tomten-food-planner,
	.tomten-lucia-fika {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.tomten-recipe-meta,
	.tomten-food-grid,
	.tomten-lucia-grid {
		grid-template-columns: 1fr;
	}

	.tomten-recipe-toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.tomten-recipe-scale button,
	.tomten-recipe-print {
		flex: 1 1 auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tomten-food-card {
		transition: none;
	}
}

@media print {
	.tomten-food-breadcrumb,
	.tomten-recipe-toolbar,
	.tomten-food-source,
	.tomten-food-more,
	header,
	footer {
		display: none !important;
	}

	.tomten-recipe .tomten-food-hero {
		display: block !important;
		padding: 0;
		border: 0;
		background: none;
		box-shadow: none;
		color: #000;
	}

	.tomten-recipe .tomten-food-hero h2,
	.tomten-recipe .tomten-food-hero p,
	.tomten-recipe-meta strong,
	.tomten-recipe-meta span {
		color: #000 !important;
	}

	.tomten-recipe-meta li,
	.tomten-recipe-panel,
	.tomten-recipe-notes {
		border-color: #777;
		background: #fff;
		box-shadow: none;
	}
}
