@charset "UTF-8";

.file-rezepte-detail {
	--rezept-detail-accent: #203a1d;
	--rezept-detail-accent-soft: #79ad4b;
	--rezept-detail-muted: #5c6b58;
	--rezept-detail-surface: #f8f6f1;
	--rezept-detail-border: rgba(32, 58, 29, 0.12);
	--rezept-detail-radius: 12px;
}

.rezept-detail-article {
	max-width: 52rem;
	margin: 0 auto;
}

.rezept-detail-aside-wrap {
	max-width: 52rem;
	margin: 2.5rem auto 0;
}

.rezept-detail-aside-wrap aside {
	position: static;
	width: 100%;
	max-width: none;
	padding: 0;
}

.rezept-detail-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin: 2rem 0 0;
	padding: 1.15rem 1.25rem;
	border: 1px solid var(--rezept-detail-border);
	border-radius: var(--rezept-detail-radius);
	background: #fff;
}

.rezept-detail-actions__share {
	flex: 1 1 auto;
	min-width: min(100%, 16rem);
}

.rezept-detail-actions__share .share-box {
	margin: 0;
}

.rezept-detail-print-btn {
	flex: 0 0 auto;
	white-space: nowrap;
}

.rezept-detail-ingredients-list--checkable {
	list-style: none;
	padding-left: 0;
}

.rezept-detail-ingredient-item {
	margin-bottom: 0.55rem;
}

.rezept-detail-ingredient-item:last-child {
	margin-bottom: 0;
}

.rezept-detail-ingredient-item--heading {
	margin-top: 0.75rem;
}

.rezept-detail-ingredient-item--heading:first-child {
	margin-top: 0;
}

.rezept-detail-ingredient-check {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin: 0;
	cursor: pointer;
}

.rezept-detail-ingredient-input {
	flex: 0 0 auto;
	width: 1.05rem;
	height: 1.05rem;
	margin-top: 0.2rem;
	accent-color: var(--rezept-detail-accent-soft);
	cursor: pointer;
}

.rezept-detail-ingredient-text {
	flex: 1 1 auto;
	line-height: 1.55;
}

.rezept-detail-ingredient-check:has(.rezept-detail-ingredient-input:checked) .rezept-detail-ingredient-text {
	color: var(--rezept-detail-muted);
	text-decoration: line-through;
	text-decoration-thickness: 1px;
}

.rezept-detail-ingredient-heading {
	display: block;
	color: var(--rezept-detail-accent);
	font-weight: 700;
}

.rezept-detail-ingredient-heading strong {
	font-weight: inherit;
}

.rezept-detail-categories {
	margin: 2rem 0 0;
	padding-top: 2rem;
	border-top: 1px solid var(--rezept-detail-border);
}

.rezept-detail-cat-scroll {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.5rem;
	overflow-x: auto;
	padding-bottom: 0.35rem;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}

.rezept-detail-cat-scroll .rezept-detail-cat-chip {
	flex: 0 0 auto;
	white-space: nowrap;
}

.rezept-detail-cat-chip--active {
	background: rgba(121, 173, 75, 0.14);
	border-color: rgba(121, 173, 75, 0.45);
	color: var(--rezept-detail-accent);
}

.rezept-detail-related {
	margin: 2.5rem 0 0;
	padding-top: 2rem;
	border-top: 1px solid var(--rezept-detail-border);
}

.rezept-detail-related-lazy {
	min-height: 12rem;
	margin: 2.5rem 0 0;
	padding-top: 2rem;
	border-top: 1px solid var(--rezept-detail-border);
}

.rezept-detail-related-title {
	margin: 0 0 1rem;
	color: var(--rezept-detail-accent);
	font-size: clamp(1.1rem, 2.4vw, 1.35rem);
	font-weight: 700;
}

.rezept-detail-related-card {
	border: 1px solid var(--rezept-detail-border) !important;
	border-radius: var(--rezept-detail-radius);
	overflow: hidden;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rezept-detail-related-card:hover,
.rezept-detail-related-card:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 0.65rem 1.35rem rgba(32, 58, 29, 0.12) !important;
}

.rezept-detail-related-card__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.rezept-detail-related-more {
	display: flex;
	justify-content: center;
	margin-top: 1.25rem;
}

.file-rezepte-detail #sidebar-widgets-wrap .widget {
	margin-top: 0;
}

.rezept-detail-back {
	margin-bottom: 1.5rem;
}

.rezept-detail-back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--rezept-detail-accent);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.rezept-detail-back-link:hover,
.rezept-detail-back-link:focus-visible {
	color: #2f5a28;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.rezept-detail-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.75rem;
	margin-bottom: 1.5rem;
}

.rezept-detail-cat-chip {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.75rem;
	border: 1px solid var(--rezept-detail-border);
	border-radius: 999px;
	background: #fff;
	color: var(--rezept-detail-accent);
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.rezept-detail-cat-chip:hover,
.rezept-detail-cat-chip:focus-visible {
	background: var(--rezept-detail-surface);
	border-color: rgba(32, 58, 29, 0.22);
	color: var(--rezept-detail-accent);
	text-decoration: none;
}

.rezept-detail-hero {
	margin-bottom: 2rem;
	max-width: 100%;
	overflow: hidden;
}

.rezept-detail-figure {
	margin: 0;
	max-width: 100%;
}

.rezept-detail-image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border: 1px solid var(--rezept-detail-border);
	border-radius: var(--rezept-detail-radius);
	box-shadow: 0 0.5rem 1.5rem rgba(32, 58, 29, 0.1);
}

.rezept-detail-body {
	margin-bottom: 2rem;
}

.rezept-detail-section-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	color: var(--rezept-detail-accent);
	font-size: clamp(1.1rem, 2.4vw, 1.35rem);
	font-weight: 700;
}

.rezept-detail-section-title .bi {
	color: var(--rezept-detail-accent-soft);
	font-size: 1.1rem;
}

.rezept-detail-ingredients-card {
	height: 100%;
	padding: 1.25rem 1.35rem;
	border: 1px solid var(--rezept-detail-border);
	border-left: 4px solid var(--rezept-detail-accent-soft);
	border-radius: var(--rezept-detail-radius);
	background: var(--rezept-detail-surface);
}

.rezept-detail-ingredients-list {
	margin: 0;
	padding-left: 1.15rem;
	color: #2f3a2c;
	line-height: 1.65;
}

.rezept-detail-ingredients-list li {
	margin-bottom: 0.45rem;
}

.rezept-detail-ingredients-list li:last-child {
	margin-bottom: 0;
}

.rezept-detail-ingredients-list a {
	color: var(--rezept-detail-accent);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.rezept-detail-steps-section {
	height: 100%;
}

.rezept-detail-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: rezept-step;
}

.rezept-detail-steps > li {
	position: relative;
	margin: 0 0 1.35rem;
	padding: 0 0 0 3rem;
	color: #2f3a2c;
	line-height: 1.65;
	counter-increment: rezept-step;
}

.rezept-detail-steps > li:last-child {
	margin-bottom: 0;
}

.rezept-detail-steps > li::before {
	content: counter(rezept-step);
	position: absolute;
	left: 0;
	top: 0.05rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	background: rgba(121, 173, 75, 0.16);
	color: var(--rezept-detail-accent);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1;
}

.rezept-detail-footer {
	margin: 2rem 0 1.5rem;
	padding: 1.15rem 1.25rem;
	border: 1px solid var(--rezept-detail-border);
	border-radius: var(--rezept-detail-radius);
	background: #fff;
	color: var(--rezept-detail-muted);
	font-size: 0.92rem;
}

.rezept-detail-footer-row + .rezept-detail-footer-row {
	margin-top: 0.35rem;
}

.rezept-detail-footer a {
	color: var(--rezept-detail-accent);
	font-weight: 600;
}

.rezept-detail-cta {
	margin-top: 2rem;
	padding: 1.5rem 1.35rem;
	border: 1px solid var(--rezept-detail-border);
	border-radius: var(--rezept-detail-radius);
	background: linear-gradient(135deg, rgba(121, 173, 75, 0.08), rgba(32, 58, 29, 0.04));
	text-align: center;
}

.rezept-detail-cta-title {
	margin: 0 0 0.35rem;
	color: var(--rezept-detail-accent);
	font-size: clamp(1.1rem, 2.4vw, 1.3rem);
	font-weight: 700;
}

.rezept-detail-cta-text {
	margin: 0 0 1rem;
	color: var(--rezept-detail-muted);
	font-size: 0.95rem;
	line-height: 1.55;
}

.rezept-detail-extras {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--rezept-detail-border);
	color: var(--rezept-detail-muted);
	font-size: 0.88rem;
	line-height: 1.6;
}

.rezept-detail-extras a {
	color: var(--rezept-detail-accent);
	font-weight: 600;
}

@media print {
	.rezept-detail-no-print,
	.file-rezepte-detail .rezept-detail-related,
	.file-rezepte-detail .rezept-detail-categories {
		display: none !important;
	}

	.file-rezepte-detail {
		padding: 0 !important;
	}

	.rezept-detail-article {
		max-width: none;
		margin: 0;
	}

	.rezept-detail-ingredients-card {
		position: static;
		break-inside: avoid;
	}

	.rezept-detail-ingredient-input {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}

	.rezept-detail-hero,
	.rezept-detail-image {
		box-shadow: none;
	}
}

@media (min-width: 992px) {
	.rezept-detail-ingredients-card {
		position: sticky;
		top: 1.25rem;
	}
}
