/*
Theme Name: RezeptWelt
Theme URI: 
Author: Afytix
Description: Deutsches Rezept und Blog Theme
Version: 1.0
*/

/* ============================================================
   1. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: auto;
}

body {
	font-family: "Trebuchet MS", Tahoma, Geneva, Verdana, sans-serif;
	font-size: 18px;
	line-height: 1.7;
	color: #1A1A1A;
	background-color: #FFFFFF;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: #2D6A2D;
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: #1A3A1A;
}

ul,
ol {
	list-style-position: inside;
}

button {
	font-family: inherit;
	cursor: pointer;
}

input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	font-weight: 700;
	line-height: 1.3;
	color: #1A1A1A;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }

/* ============================================================
   15. UTILITY CLASSES (used across the theme)
   ============================================================ */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.btn {
	display: inline-block;
	min-height: 48px;
	padding: 12px 28px;
	border-radius: 8px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	border: 2px solid transparent;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
	cursor: pointer;
}

.btn-primary {
	background-color: #2D6A2D;
	color: #FFFFFF;
	border-color: #2D6A2D;
}

.btn-primary:hover {
	background-color: #1A3A1A;
	border-color: #1A3A1A;
	color: #FFFFFF;
}

.btn-secondary {
	background-color: transparent;
	color: #2D6A2D;
	border-color: #2D6A2D;
}

.btn-secondary:hover {
	background-color: #2D6A2D;
	color: #FFFFFF;
}

.section-title {
	text-align: center;
	font-size: 2rem;
	margin-bottom: 16px;
	position: relative;
	padding-bottom: 16px;
}

.section-title::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	background-color: #F4A623;
	margin: 0 auto;
	border-radius: 2px;
}

.section-subtitle {
	text-align: center;
	color: #666666;
	margin-bottom: 40px;
	font-size: 18px;
}

.tag-pill {
	display: inline-block;
	background-color: #2D6A2D;
	color: #FFFFFF;
	font-size: 14px;
	font-weight: 600;
	padding: 4px 14px;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.back-to-top {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 48px;
	height: 48px;
	min-height: 48px;
	border-radius: 50%;
	background-color: #2D6A2D;
	color: #FFFFFF;
	border: none;
	font-size: 24px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	transition: background-color 0.2s ease;
}

.back-to-top:hover {
	background-color: #1A3A1A;
	color: #FFFFFF;
}

.section-title {
	font-family: "Palatino Linotype", Palatino, Georgia, serif;
	font-weight: 700;
	letter-spacing: -0.3px;
}

/* ============================================================
   2. HEADER
   ============================================================ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background-color: #FFFFFF;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	min-height: 72px;
}

/* Logo */
.site-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
}
.site-logo-img {
	max-height: 56px;
	width: auto;
	display: block;
}
.site-logo-text {
	font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	font-size: 1.8rem;
	font-weight: 700;
	color: #2D6A2D;
	line-height: 1;
}
.site-logo-text em {
	font-style: italic;
	color: #F4A623;
}
.site-logo:hover .site-logo-text { color: #1A3A1A; }

/* Desktop nav — hidden on mobile, shown on desktop */
.main-nav {
	display: none;
}
@media (min-width: 900px) {
	.main-nav {
		display: flex;
		align-items: center;
		order: 2;
	}
}
.main-nav .main-menu {
	display: flex;
	list-style: none;
	gap: 4px;
	align-items: center;
}
.main-nav .main-menu > li {
	position: relative;
}
.main-nav .main-menu > li > a {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 10px 14px;
	color: #1A1A1A;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 6px;
	transition: background 0.15s, color 0.15s;
	white-space: nowrap;
}
.main-nav .main-menu > li > a:hover {
	background: #F0F7F0;
	color: #2D6A2D;
}
.nav-arrow { font-size: 11px; opacity: 0.6; }

/* Dropdown sub-menu */
.main-nav .sub-menu {
	display: none;
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	min-width: 200px;
	background: #fff;
	border: 1px solid #E8E8E8;
	border-radius: 10px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
	list-style: none;
	padding: 8px 0;
	z-index: 500;
}
.main-nav .menu-item-has-children:hover > .sub-menu,
.main-nav .menu-item-has-children:focus-within > .sub-menu {
	display: block;
}
.main-nav .sub-menu li a {
	display: block;
	padding: 10px 18px;
	color: #1A1A1A;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}
.main-nav .sub-menu li a:hover { background: #F0F7F0; color: #2D6A2D; }
.main-nav .sub-menu .sub-menu-all a {
	color: #2D6A2D;
	font-weight: 700;
	border-top: 1px solid #E8E8E8;
	margin-top: 4px;
}

/* Mobile nav (toggled by hamburger) */
@media (max-width: 899px) {
	.main-nav.open {
		display: block;
		width: 100%;
		order: 3;
		padding-bottom: 12px;
		border-top: 1px solid #E8E8E8;
	}
	.main-nav.open .main-menu {
		flex-direction: column;
		gap: 0;
		align-items: stretch;
	}
	.main-nav.open .main-menu > li > a {
		padding: 14px 4px;
		border-bottom: 1px solid #E8E8E8;
		border-radius: 0;
		font-size: 17px;
	}
	.main-nav.open .sub-menu {
		display: block;
		position: static;
		box-shadow: none;
		border: none;
		border-radius: 0;
		padding: 0 0 0 16px;
		background: #F8F8F6;
	}
	.main-nav.open .sub-menu li a {
		padding: 10px 8px;
		font-size: 15px;
		border-bottom: 1px solid #E8E8E8;
	}
}

/* Hide hamburger on desktop */
@media (min-width: 900px) {
	.menu-toggle { display: none !important; }
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.header-search-btn,
.menu-toggle {
	width: 48px;
	height: 48px;
	min-height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: #2D6A2D;
	padding: 0;
	transition: color 0.2s ease;
}

.header-search-btn:hover,
.menu-toggle:hover {
	color: #1A3A1A;
}

.header-search-btn svg,
.menu-toggle svg {
	width: 26px;
	height: 26px;
}

.menu-toggle {
	display: flex;
}

/* Header search form (revealed on toggle) */
.header-search-form {
	display: none;
	width: 100%;
	padding: 12px 0 16px;
	order: 4;
}

.header-search-form.open {
	display: block;
}

.header-search-form form {
	display: flex;
	gap: 8px;
}

.header-search-form input[type="search"] {
	flex: 1;
	min-height: 48px;
	padding: 10px 16px;
	border: 2px solid #E8E8E8;
	border-radius: 8px;
	font-size: 18px;
	background-color: #FFFFFF;
	color: #1A1A1A;
}

.header-search-form input[type="search"]:focus {
	outline: none;
	border-color: #2D6A2D;
}

.header-search-form button {
	min-height: 48px;
}

/* ============================================================
   3. HERO SECTION
   ============================================================ */
.hero {
	background-color: #F8F8F6;
	padding: 64px 0;
	text-align: center;
}

.hero__title {
	font-size: 2.4rem;
	margin-bottom: 16px;
}

.hero__subtitle {
	font-size: 19px;
	color: #555555;
	margin-bottom: 32px;
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

.hero-search {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
}

.hero-search input[type="search"] {
	width: 100%;
	min-height: 52px;
	padding: 12px 20px;
	border: 2px solid #E8E8E8;
	border-radius: 8px;
	font-size: 18px;
	background-color: #FFFFFF;
	color: #1A1A1A;
}

.hero-search input[type="search"]:focus {
	outline: none;
	border-color: #2D6A2D;
}

.hero-search .btn {
	flex-shrink: 0;
}

/* ============================================================
   4. CATEGORY CIRCLES SECTION
   ============================================================ */
.categories-section {
	padding: 64px 0;
}

.categories-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 32px;
}

.category-circle {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: transform 0.2s ease;
}

.category-circle:hover {
	transform: scale(1.05);
}

.category-circle__image {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background-color: #E8E8E8;
	background-size: cover;
	background-position: center;
	border: 3px solid #F4A623;
	margin-bottom: 12px;
}

.category-circle__name {
	font-weight: 700;
	font-size: 16px;
	color: #1A1A1A;
	line-height: 1.4;
}

/* ============================================================
   5. RECIPE GRID
   ============================================================ */
.recipe-grid-section {
	padding: 64px 0;
}

.recipe-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
	.recipe-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.recipe-card {
	background: #FFFFFF;
	border-radius: 4px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	display: block;
	transition: transform 0.2s;
}

.recipe-card:hover {
	transform: translateY(-3px);
}

.recipe-card-image-wrap {
	position: relative;
	aspect-ratio: 4/3;
	overflow: hidden;
}

.recipe-card-image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s;
}

.recipe-card:hover .recipe-card-image-wrap img {
	transform: scale(1.04);
}

.recipe-card-image-placeholder {
	width: 100%;
	aspect-ratio: 4/3;
	background: #2D6A2D;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.3);
	font-size: 3rem;
}

.recipe-card-category-label {
	position: absolute;
	bottom: 0;
	left: 0;
	background: #F4A623;
	color: #FFFFFF;
	padding: 5px 12px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.recipe-card-body {
	padding: 14px 4px 8px 4px;
}

.recipe-card-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: #1A1A1A;
	line-height: 1.4;
	margin-bottom: 8px;
	font-family: "Palatino Linotype", Palatino, Georgia, serif;
}

.recipe-card-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	color: #888;
}

.recipe-card-stars {
	color: #F4A623;
	font-size: 13px;
	letter-spacing: 1px;
}

.recipe-card-time {
	display: flex;
	align-items: center;
	gap: 4px;
}

.tab-pane.active .recipe-card-title {
	font-size: 0.95rem;
}

/* ============================================================
   6. BLOG POST LIST
   ============================================================ */
.blog-list-section {
	padding: 64px 0;
	background-color: #F8F8F6;
}

.blog-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

.blog-card {
	display: flex;
	flex-direction: column;
	background-color: #FFFFFF;
	border: 1px solid #E8E8E8;
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s ease;
}

.blog-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.blog-card__image {
	width: 100%;
	height: 200px;
	object-fit: cover;
	background-color: #E8E8E8;
}

.blog-card__body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.blog-card__title {
	font-size: 20px;
	font-weight: 700;
	color: #1A1A1A;
	line-height: 1.4;
}

.blog-card__excerpt {
	font-size: 17px;
	color: #555555;
}

.blog-card__date {
	font-size: 15px;
	color: #888888;
}

.blog-card__more {
	font-weight: 700;
	color: #2D6A2D;
	margin-top: auto;
}

.blog-card__more:hover {
	color: #1A3A1A;
}

/* ============================================================
   7. NUTRITION CARDS
   ============================================================ */
.nutrition-section {
	padding: 64px 0;
	background-color: #FFFFFF;
}

.nutrition-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.nutrition-card {
	background-color: #F8F8F6;
	border-radius: 12px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.nutrition-card__icon {
	width: 28px;
	height: 28px;
	fill: #2D6A2D;
}

.nutrition-card__value {
	font-family: Georgia, serif;
	font-size: 1.6rem;
	font-weight: 700;
	color: #1A1A1A;
	line-height: 1.2;
}

.nutrition-card__label {
	font-size: 15px;
	color: #888888;
}

/* ============================================================
   8. SERVING ADJUSTER
   ============================================================ */
.serving-adjuster {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	background-color: #F8F8F6;
	border-radius: 12px;
	padding: 16px 20px;
	margin: 32px 0;
	width: 100%;
}

.serving-adjuster__label {
	font-size: 18px;
	font-weight: 600;
}

.serving-adjuster__controls {
	display: flex;
	align-items: center;
	gap: 8px;
}

.serving-adjuster__btn {
	width: 40px;
	height: 40px;
	min-height: 40px;
	border-radius: 50%;
	border: 2px solid #2D6A2D;
	background-color: transparent;
	color: #2D6A2D;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.serving-adjuster__btn:hover {
	background-color: #2D6A2D;
	color: #FFFFFF;
}

.serving-adjuster__count {
	width: 50px;
	text-align: center;
	font-size: 20px;
	font-weight: 700;
	color: #1A1A1A;
	flex-shrink: 0;
}

/* ============================================================
   9. INGREDIENT LIST
   ============================================================ */
.ingredient-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ingredient-row {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #E8E8E8;
}

.ingredient-row__amount {
	font-weight: 700;
	min-width: 80px;
	color: #1A1A1A;
}

.ingredient-row__unit {
	width: 60px;
	color: #888888;
	flex-shrink: 0;
}

.ingredient-row__name {
	color: #1A1A1A;
}

/* ============================================================
   10. STEPS LIST
   ============================================================ */
.steps-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.step-item {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 24px;
	padding-right: 40px;
}

.step-item__number {
	width: 40px;
	height: 40px;
	min-width: 40px;
	border-radius: 50%;
	background-color: #2D6A2D;
	color: #FFFFFF;
	font-size: 20px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.step-item__text {
	font-size: 18px;
	color: #1A1A1A;
	padding-top: 6px;
}

.step-item__checkbox {
	position: absolute;
	top: 4px;
	right: 0;
	width: 28px;
	height: 28px;
	accent-color: #2D6A2D;
	cursor: pointer;
}

.step-item.checked .step-item__text {
	opacity: 0.5;
	text-decoration: line-through;
}

/* ============================================================
   11. SINGLE BLOG POST
   ============================================================ */
.single-post {
	max-width: 780px;
	margin: 0 auto;
	padding: 48px 20px;
}

.single-post__title {
	font-size: 2.2rem;
	margin-bottom: 16px;
}

.single-post__meta {
	font-size: 16px;
	color: #888888;
	margin-bottom: 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.single-post__featured {
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 32px;
}

.single-post__content {
	font-size: 19px;
	line-height: 1.8;
	color: #1A1A1A;
}

.single-post__content p {
	margin-bottom: 24px;
}

.single-post__content h2,
.single-post__content h3 {
	margin-top: 32px;
	margin-bottom: 16px;
}

.single-post__content img {
	border-radius: 8px;
	margin: 24px 0;
}

.single-post__content ul,
.single-post__content ol {
	margin-bottom: 24px;
	padding-left: 24px;
}

.author-box {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-top: 48px;
	padding: 24px;
	background-color: #F8F8F6;
	border-radius: 12px;
}

.author-box__avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	background-color: #E8E8E8;
	flex-shrink: 0;
}

.author-box__name {
	font-size: 18px;
	font-weight: 700;
	color: #1A1A1A;
	margin-bottom: 4px;
}

.author-box__bio {
	font-size: 16px;
	color: #555555;
	line-height: 1.6;
}

/* ============================================================
   12. ARCHIVE PAGES
   ============================================================ */
.archive-header {
	background-color: #F8F8F6;
	padding: 48px 0 32px;
	text-align: center;
}

.archive-header__title {
	font-size: 2.2rem;
	margin-bottom: 8px;
}

.archive-header__description {
	color: #555555;
	max-width: 640px;
	margin: 0 auto 24px;
}

.archive-filter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.archive-filter a {
	display: inline-block;
	min-height: 48px;
	display: flex;
	align-items: center;
	padding: 8px 20px;
	border-radius: 999px;
	border: 2px solid #2D6A2D;
	color: #2D6A2D;
	font-size: 16px;
	font-weight: 600;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.archive-filter a:hover,
.archive-filter a.active {
	background-color: #2D6A2D;
	color: #FFFFFF;
}

/* ============================================================
   13. SEARCH RESULTS
   ============================================================ */
.search-results {
	padding: 48px 0;
}

.search-results__section {
	margin-bottom: 48px;
}

.search-results__title {
	font-size: 1.6rem;
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 3px solid #F4A623;
}

.search-results__count {
	color: #888888;
	font-size: 16px;
	font-weight: 400;
}

.search-results__empty {
	text-align: center;
	padding: 48px 20px;
	color: #555555;
}

/* ============================================================
   14. FOOTER
   ============================================================ */
.site-footer {
	background-color: #1A3A1A;
	color: #FFFFFF;
	padding: 56px 0 0;
	margin-top: 48px;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	padding-bottom: 40px;
}

.site-footer__logo {
	font-family: "Palatino Linotype", Palatino, Georgia, serif;
	font-size: 1.6rem;
	font-weight: 700;
	color: #FFFFFF;
	margin-bottom: 12px;
}

.site-footer__description {
	font-size: 16px;
	color: #B8CCB8;
	margin-top: 12px;
}

.site-footer__heading {
	font-family: Georgia, serif;
	font-size: 1.2rem;
	font-weight: 700;
	color: #FFFFFF;
	margin-bottom: 16px;
}

.site-footer__links {
	list-style: none;
}

.site-footer__links li {
	margin-bottom: 8px;
}

.site-footer__links a {
	color: #B8CCB8;
	font-size: 17px;
	transition: color 0.2s ease;
}

.site-footer__links a:hover {
	color: #FFFFFF;
}

.site-footer__social {
	display: flex;
	gap: 12px;
}

.site-footer__social a {
	width: 44px;
	height: 44px;
	min-height: 44px;
	border-radius: 50%;
	background-color: #2D6A2D;
	color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.2s ease;
}

.site-footer__social a:hover {
	background-color: #F4A623;
	color: #1A3A1A;
}

.site-footer__social svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding: 20px 0;
	text-align: center;
	font-size: 15px;
	color: #B8CCB8;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (min-width: 768px) {
	.menu-toggle {
		display: none;
	}

	.main-nav {
		display: block;
		width: auto;
		order: 0;
		padding: 0;
	}

	.main-nav ul {
		display: flex;
		gap: 24px;
	}

	.main-nav ul li a {
		border-top: none;
		padding: 8px 0;
		justify-content: center;
	}

	.header-search-form {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: #FFFFFF;
		padding: 16px 20px;
		box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
	}

	.header-search-form .container {
		max-width: 600px;
		padding: 0;
	}

	.hero {
		padding: 80px 0;
	}

	.hero-search {
		flex-direction: row;
	}

	.hero-search input[type="search"] {
		width: auto;
		flex: 1;
	}

	.blog-list {
		grid-template-columns: repeat(2, 1fr);
	}

	.nutrition-cards {
		grid-template-columns: repeat(4, 1fr);
	}

	.site-footer__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 768px) and (max-width: 991px) {
	.blog-card {
		flex-direction: column;
	}

	.blog-card__image {
		width: 100%;
		height: 200px;
	}
}

@media (min-width: 992px) {
	.blog-card {
		flex-direction: row;
	}

	.blog-card__image {
		width: 200px;
		height: auto;
		min-height: 100%;
		flex-shrink: 0;
	}
}

/* ============================================================
   16. PRINT STYLES
   ============================================================ */
@media print {
	.site-header,
	.site-footer,
	.nav,
	.main-nav,
	.header-search-btn,
	.menu-toggle,
	.back-to-top,
	.archive-filter,
	.serving-adjuster,
	.step-item__checkbox,
	.search-form,
	.btn,
	.hero-search,
	.categories-section {
		display: none !important;
	}

	body {
		font-size: 12pt;
		color: #000000;
		background: #FFFFFF;
	}

	a {
		color: #000000;
	}

	.recipe-card,
	.blog-card,
	.nutrition-card,
	.author-box {
		box-shadow: none;
		border: none;
	}

	.step-item {
		break-inside: avoid;
	}

	.ingredient-row,
	.step-item {
		border-bottom-color: #cccccc;
	}
}

/* ============================================================
   17. HERO BANNER
   ============================================================ */
.hero-banner {
	margin-bottom: 0;
	background: #1A1A1A;
}

.hero-banner-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}

.hero-banner-item {
	position: relative;
	overflow: hidden;
	text-decoration: none;
	display: block;
}

.hero-banner-image {
	height: 300px;
	overflow: hidden;
}

.hero-banner-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.hero-banner-item:hover .hero-banner-image img {
	transform: scale(1.05);
}

.hero-banner-placeholder {
	height: 300px;
	background: #2D6A2D;
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.3);
	font-size: 3rem;
}

.hero-banner-label {
	position: absolute;
	bottom: 60px;
	left: 0;
	background: #F4A623;
	color: #FFFFFF;
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.hero-banner-title {
	padding: 12px 16px;
	font-size: 15px;
	font-weight: 700;
	color: #1A1A1A;
	background: #FFFFFF;
	border-bottom: 3px solid transparent;
	transition: border-color 0.2s;
}

.hero-banner-item:hover .hero-banner-title {
	border-bottom-color: #F4A623;
}

@media (max-width: 900px) {
	.hero-banner-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 500px) {
	.hero-banner-grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================================
   18. TABBED SECTION
   ============================================================ */
.tabbed-section {
	padding: 60px 20px;
	background: #F8F8F6;
}

.tab-buttons {
	display: flex;
	gap: 0;
	margin-bottom: 32px;
	border-bottom: 2px solid #E8E8E8;
	flex-wrap: wrap;
}

.tab-btn {
	padding: 14px 28px;
	border: none;
	background: none;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	color: #666;
	border-bottom: 3px solid transparent;
	margin-bottom: -2px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.tab-btn.active {
	color: #2D6A2D;
	border-bottom-color: #2D6A2D;
}

.tab-btn:hover {
	color: #2D6A2D;
}

.tab-pane {
	display: none;
}

.tab-pane.active {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

@media (max-width: 900px) {
	.tab-pane.active {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 500px) {
	.tab-pane.active {
		grid-template-columns: 1fr;
	}
}

/* ============================================================
   19. LATEST + SIDEBAR LAYOUT
   ============================================================ */
.latest-sidebar-row {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 40px;
	padding: 60px 20px;
	max-width: 1200px;
	margin: 0 auto;
}

@media (max-width: 900px) {
	.latest-sidebar-row {
		grid-template-columns: 1fr;
	}
}

.latest-recipes-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.latest-recipe-item {
	display: flex;
	gap: 16px;
	background: #FFFFFF;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #E8E8E8;
	text-decoration: none;
	color: inherit;
}

.latest-recipe-image {
	width: 160px;
	height: 130px;
	flex-shrink: 0;
	overflow: hidden;
	position: relative;
}

.latest-recipe-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.latest-recipe-info {
	padding: 16px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
}

.latest-recipe-info .tag-pill {
	font-size: 12px;
}

.latest-recipe-info h3 {
	font-size: 16px;
	margin: 0;
	font-weight: 700;
	line-height: 1.4;
}

.latest-recipe-meta {
	font-size: 13px;
	color: #888;
	display: flex;
	gap: 12px;
}

.sidebar-box {
	background: #FFFFFF;
	border-radius: 12px;
	border: 1px solid #E8E8E8;
	padding: 24px;
	margin-bottom: 24px;
}

.sidebar-box h3 {
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #2D6A2D;
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid #E8E8E8;
}

.sidebar-collection-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-bottom: 1px solid #F0F0F0;
	text-decoration: none;
	color: #1A1A1A;
	font-size: 15px;
}

.sidebar-collection-item:hover {
	color: #2D6A2D;
}

.sidebar-collection-number {
	width: 24px;
	height: 24px;
	background: #2D6A2D;
	color: #FFFFFF;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	flex-shrink: 0;
}

.sidebar-collection-count {
	margin-left: auto;
	color: #888;
	font-size: 13px;
}

.sidebar-blog-list {
	list-style: none;
	padding: 0;
}

.sidebar-blog-list li {
	padding: 10px 0;
	border-bottom: 1px solid #F0F0F0;
}

.sidebar-blog-list a {
	text-decoration: none;
	color: #1A1A1A;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 600;
}

.sidebar-blog-list a:hover {
	color: #2D6A2D;
}

.sidebar-blog-date {
	font-size: 12px;
	color: #888;
	display: block;
	margin-top: 3px;
}

/* ============================================================
   20. NO DATA MESSAGE
   ============================================================ */
.no-data {
	color: #888;
	font-style: italic;
	padding: 16px 0;
	font-size: 16px;
}
