/* ==========================================================================
   A KONYHA RITMUSA - Editorial Food Magazine Style
   Warm European rustic home kitchen meets modern high-end food editorial.
   Palette: Warm cream, scalded milk, deep charcoal, muted olive sage,
            terracotta, mustard ochre, rich natural walnut/wood.
   ========================================================================== */

:root {
  --bg-cream: #FAF6F0;
  --bg-cream-card: #FFFFFF;
  --bg-cream-tint: #F3EBDD;
  --bg-scalded-milk: #F7F2EA;
  --charcoal: #25221F;
  --charcoal-soft: #383430;
  --charcoal-muted: #59534C;
  --charcoal-subtle: #7A7268;
  --line-color: #E2D9CC;
  --line-subtle: #EDE5D8;
  
  --terracotta: #B85032;
  --terracotta-dark: #983E24;
  --olive: #566443;
  --olive-light: #EFF3EA;
  --mustard: #C88D2D;
  --mustard-light: #FBF4E6;
  --wood-warm: #8C5D39;
  
  --font-serif: "Playfair Display", "Georgia", "Cambria", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-editorial: "Bodoni MT", "Didot", "Playfair Display", serif;
  
  --transition-smooth: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-editorial: 0 4px 20px rgba(37, 34, 31, 0.06);
  --shadow-hover: 0 12px 32px rgba(37, 34, 31, 0.12);
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 14px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-cream);
  color: var(--charcoal);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

/* Base typography */
h1, h2, h3, h4, .serif-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.25;
  letter-spacing: -0.015em;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
}

p {
  color: var(--charcoal-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 860px;
}

.container-wide {
  max-width: 1360px;
}

/* Buttons */
.btn-editorial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background-color: var(--charcoal);
  color: #FAF6F0;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--charcoal);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.btn-editorial:hover {
  background-color: var(--terracotta);
  border-color: var(--terracotta);
  color: #FFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-editorial);
}

.btn-secondary {
  background-color: transparent;
  color: var(--charcoal);
  border: 1px solid var(--line-color);
}

.btn-secondary:hover {
  background-color: var(--charcoal);
  color: #FFF;
  border-color: var(--charcoal);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(250, 246, 240, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-color);
  transition: padding 0.25s ease, box-shadow 0.25s ease;
  padding: 20px 0;
}

.site-header.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 16px rgba(37, 34, 31, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.brand-logo {
  display: flex;
  flex-direction: column;
}

.brand-logo .brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-logo .brand-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-subtle);
  margin-top: 3px;
  white-space: nowrap;
}

/* Navigation */
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--terracotta);
  transition: width 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--charcoal);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--charcoal);
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   HERO - Editorial Culinary Magazine Cover
   ========================================================================== */
.hero-editorial {
  padding: 60px 0 80px;
  border-bottom: 1px solid var(--line-color);
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-scalded-milk) 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-issue-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 24px;
}

.hero-issue-tag::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--terracotta);
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--charcoal);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--charcoal-soft);
  margin-bottom: 32px;
  border-left: 3px solid var(--mustard);
  padding-left: 20px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 36px;
  padding: 16px 0;
  border-top: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
}

.hero-badge-item {
  display: flex;
  flex-direction: column;
}

.hero-badge-item .badge-val {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
}

.hero-badge-item .badge-lbl {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-subtle);
}

.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(37, 34, 31, 0.12);
  border: 1px solid var(--line-color);
  background-color: #FFF;
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 9/7;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-frame:hover img {
  transform: scale(1.02);
}

.hero-caption {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: rgba(250, 246, 240, 0.94);
  backdrop-filter: blur(6px);
  padding: 12px 20px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--line-color);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 600;
  box-shadow: var(--shadow-editorial);
}

/* ==========================================================================
   STORYTELLING BLOCK: NEM LETTEM SÉF
   ========================================================================== */
.story-spotlight {
  padding: 90px 0;
  border-bottom: 1px solid var(--line-color);
  background-color: var(--bg-cream);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-visual-wrap {
  position: relative;
}

.story-photo-box {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-editorial);
  border: 1px solid var(--line-color);
  background-color: #FFF;
}

.story-photo-box img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.story-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 16px;
  display: block;
}

.story-title {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.story-text {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--charcoal-muted);
  margin-bottom: 20px;
}

.story-ingredients-pill {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.pill-item {
  display: inline-block;
  padding: 6px 14px;
  background-color: var(--bg-scalded-milk);
  border: 1px solid var(--line-color);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--charcoal-soft);
  white-space: nowrap;
}

/* ==========================================================================
   RECIPES CATALOG - Magazine Editorial Layout
   ========================================================================== */
.recipes-catalog-section {
  padding: 90px 0;
  border-bottom: 1px solid var(--line-color);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 48px;
}

.section-head.align-left {
  align-items: flex-start;
  text-align: left;
}

.section-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--charcoal-subtle);
  max-width: 650px;
}

/* Categories Filter Bar */
.category-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-color);
}

.category-tab-btn {
  padding: 8px 20px;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 24px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.category-tab-btn:hover {
  color: var(--charcoal);
  background-color: var(--bg-cream-tint);
}

.category-tab-btn.active {
  color: #FFF;
  background-color: var(--charcoal);
  border-color: var(--charcoal);
}

/* Magazine Recipe Layout (varied sizing, hero cards, standard cards, compact cards) */
.magazine-recipe-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px 28px;
}

.recipe-card {
  background-color: var(--bg-cream-card);
  border: 1px solid var(--line-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-editorial);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--terracotta);
}

/* Featured / Large card */
.recipe-card.card-featured {
  grid-column: span 8;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.recipe-card.card-featured .recipe-thumb-wrap {
  height: 100%;
}

.recipe-card.card-featured .recipe-thumb {
  height: 100%;
}

/* Medium Card */
.recipe-card.card-medium {
  grid-column: span 4;
}

/* Standard Card (3-column) */
.recipe-card.card-standard {
  grid-column: span 4;
}

/* Full Width Banner Card */
.recipe-card.card-banner {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.recipe-thumb-wrap {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-scalded-milk);
}

.recipe-thumb {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.recipe-card:hover .recipe-thumb {
  transform: scale(1.03);
}

.recipe-badge-time {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(37, 34, 31, 0.85);
  color: #FFF;
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.recipe-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.recipe-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.recipe-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--terracotta);
  text-transform: uppercase;
}

.recipe-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-subtle);
}

.recipe-card-title {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.recipe-snippet {
  font-size: 0.92rem;
  color: var(--charcoal-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.recipe-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line-subtle);
  font-size: 0.8rem;
  color: var(--charcoal-subtle);
}

.recipe-link-arrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.recipe-card:hover .recipe-link-arrow {
  color: var(--terracotta);
}

/* ==========================================================================
   INTERACTIVE "MIT FŐZZEK MA?" MEAL PLANNER
   ========================================================================== */
.meal-finder-section {
  padding: 80px 0;
  background-color: var(--bg-scalded-milk);
  border-bottom: 1px solid var(--line-color);
}

.finder-box {
  background-color: var(--bg-cream-card);
  border: 1px solid var(--line-color);
  border-radius: var(--border-radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-editorial);
}

.finder-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-color);
}

.finder-step-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--charcoal);
}

.finder-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.finder-opt-btn {
  padding: 12px 24px;
  background-color: var(--bg-scalded-milk);
  border: 1px solid var(--line-color);
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.finder-opt-btn:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.finder-opt-btn.active {
  background-color: var(--terracotta);
  border-color: var(--terracotta);
  color: #FFF;
}

.finder-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ==========================================================================
   ALAPANYAGOK (INGREDIENTS CATALOG)
   ========================================================================== */
.ingredients-section {
  padding: 90px 0;
  border-bottom: 1px solid var(--line-color);
  background-color: var(--bg-cream);
}

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.ingredient-card {
  background-color: var(--bg-cream-card);
  border: 1px solid var(--line-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-editorial);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.ingredient-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--olive);
}

.ingredient-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background-color: var(--bg-scalded-milk);
}

.ingredient-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ingredient-category-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 8px;
}

.ingredient-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.ingredient-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--charcoal-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.ingredient-link {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ingredient-card:hover .ingredient-link {
  color: var(--olive);
}

/* ==========================================================================
   MI KERÜL A TÁNYÉRRA? (NUTRITION & VARIETY)
   ========================================================================== */
.nutrition-philosophy-section {
  padding: 90px 0;
  border-bottom: 1px solid var(--line-color);
  background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-scalded-milk) 100%);
}

.nutrition-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.nutrition-card {
  background-color: var(--bg-cream-card);
  border: 1px solid var(--line-color);
  border-radius: var(--border-radius-md);
  padding: 32px;
  box-shadow: var(--shadow-editorial);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.nutrition-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--mustard);
}

.nutrition-card-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--mustard);
  line-height: 1;
  margin-bottom: 14px;
}

.nutrition-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.nutrition-card-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--charcoal-muted);
}

/* ==========================================================================
   A NAGYAPÁM KONYHÁJA (GRANDFATHER'S STORIES)
   ========================================================================== */
.grandfather-stories-section {
  padding: 90px 0;
  border-bottom: 1px solid var(--line-color);
  background-color: var(--bg-cream);
}

.stories-feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
  padding: 40px;
  background-color: var(--bg-scalded-milk);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--line-color);
}

.stories-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.story-card {
  background-color: var(--bg-cream-card);
  border: 1px solid var(--line-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-editorial);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--wood-warm);
}

.story-card-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background-color: var(--bg-scalded-milk);
}

.story-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.story-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.story-card-text {
  font-size: 0.92rem;
  color: var(--charcoal-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* ==========================================================================
   BEVÁSÁRLÓLISTA (CHECKLIST)
   ========================================================================== */
.shopping-list-section {
  padding: 80px 0;
  background-color: var(--bg-cream);
  border-bottom: 1px solid var(--line-color);
}

.shopping-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.shopping-category-card {
  background-color: var(--bg-cream-card);
  border: 1px solid var(--line-color);
  border-radius: var(--border-radius-md);
  padding: 28px;
  box-shadow: var(--shadow-editorial);
}

.shopping-cat-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shopping-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shopping-item-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  cursor: pointer;
  user-select: none;
}

.shopping-item-checkbox {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--line-color);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
  flex-shrink: 0;
  background-color: #FFF;
}

.shopping-item-checkbox:checked {
  background-color: var(--olive);
  border-color: var(--olive);
}

.shopping-item-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid #FFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.shopping-item-checkbox:checked + span {
  text-decoration: line-through;
  color: var(--charcoal-subtle);
}

/* ==========================================================================
   HETI MENÜ (WEEKLY MEAL PLAN)
   ========================================================================== */
.weekly-menu-section {
  padding: 90px 0;
  border-bottom: 1px solid var(--line-color);
  background-color: var(--bg-scalded-milk);
}

.weekly-scroll-container {
  display: grid;
  grid-template-columns: repeat(7, minmax(240px, 1fr));
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: var(--line-color) transparent;
}

.weekly-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.weekly-scroll-container::-webkit-scrollbar-thumb {
  background-color: var(--line-color);
  border-radius: 3px;
}

.day-column-card {
  background-color: var(--bg-cream-card);
  border: 1px solid var(--line-color);
  border-radius: var(--border-radius-md);
  padding: 24px 20px;
  box-shadow: var(--shadow-editorial);
  display: flex;
  flex-direction: column;
}

.day-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--terracotta);
}

.meal-slot {
  margin-bottom: 16px;
}

.meal-slot:last-child {
  margin-bottom: 0;
}

.meal-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: block;
  margin-bottom: 4px;
}

.meal-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--charcoal-soft);
  line-height: 1.35;
}

/* ==========================================================================
   RECIPE DETAIL PAGE SPECIFIC STYLES
   ========================================================================== */
.recipe-hero-article {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--line-color);
  background-color: var(--bg-cream);
}

.recipe-header-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.recipe-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 32px;
}

.recipe-main-image {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-editorial);
  border: 1px solid var(--line-color);
}

.recipe-main-image img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
}

.recipe-meta-badges-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  background-color: var(--bg-scalded-milk);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--line-color);
  margin-bottom: 24px;
}

.meta-badge-unit {
  display: flex;
  flex-direction: column;
}

.meta-badge-unit .unit-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-subtle);
}

.meta-badge-unit .unit-val {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  font-family: var(--font-serif);
}

/* Recipe Content Layout */
.recipe-content-body {
  padding: 70px 0 90px;
}

.recipe-body-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
}

/* Ingredients Sidebar */
.ingredients-sidebar {
  background-color: var(--bg-cream-card);
  border: 1px solid var(--line-color);
  border-radius: var(--border-radius-md);
  padding: 32px;
  box-shadow: var(--shadow-editorial);
  position: sticky;
  top: 100px;
}

.sidebar-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--terracotta);
}

.ingredients-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ingredients-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line-subtle);
  color: var(--charcoal-soft);
}

.ingredient-amount {
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
  margin-left: 12px;
}

/* Steps Process */
.recipe-steps-flow {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step-card {
  display: flex;
  gap: 24px;
  padding: 28px;
  background-color: var(--bg-cream-card);
  border: 1px solid var(--line-color);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-editorial);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--terracotta);
  line-height: 1;
  flex-shrink: 0;
}

.step-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--charcoal-soft);
}

/* Grandfather Tip Note */
.grandfather-tip-box {
  background-color: #F8F5EE;
  border-left: 4px solid var(--mustard);
  border-radius: var(--border-radius-sm);
  padding: 24px 28px;
  margin-top: 36px;
  box-shadow: var(--shadow-editorial);
}

.tip-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tip-quote {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--charcoal-muted);
}

/* Serving, Substitutions & Why It's on table blocks */
.recipe-extra-section {
  margin-top: 40px;
  padding: 32px;
  background-color: var(--bg-cream-card);
  border: 1px solid var(--line-color);
  border-radius: var(--border-radius-md);
}

.recipe-extra-section h3 {
  margin-bottom: 14px;
}

/* ==========================================================================
   FAQ & GUIDE ARTICLES
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-cream-card);
  border: 1px solid var(--line-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-editorial);
  transition: var(--transition-smooth);
}

.faq-question-btn {
  width: 100%;
  padding: 22px 28px;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 28px;
  color: var(--charcoal-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 28px 24px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--charcoal);
  color: #FAF6F0;
  padding: 80px 0 40px;
  border-top: 1px solid #3E3832;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFF;
  margin-bottom: 12px;
}

.footer-brand p {
  color: #B5ACA0;
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 360px;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #D4CBBC;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: #FFF;
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.8rem;
  color: #8C8376;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a:hover {
  color: #FFF;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Mobile First & Breakpoints)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .magazine-recipe-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .recipe-card.card-featured,
  .recipe-card.card-banner {
    grid-column: span 6;
    grid-template-columns: 1fr;
  }
  
  .recipe-card.card-medium,
  .recipe-card.card-standard {
    grid-column: span 3;
  }
  
  .ingredients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .nutrition-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stories-feature-grid {
    grid-template-columns: 1fr;
  }
  
  .recipe-body-grid {
    grid-template-columns: 1fr;
  }
  
  .ingredients-sidebar {
    position: static;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-cream);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--line-color);
    box-shadow: 0 12px 24px rgba(37, 34, 31, 0.08);
  }
  
  .header-nav.mobile-active {
    display: flex;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .recipe-card.card-medium,
  .recipe-card.card-standard {
    grid-column: span 6;
  }
  
  .finder-controls {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .finder-results-grid {
    grid-template-columns: 1fr;
  }
  
  .nutrition-grid {
    grid-template-columns: 1fr;
  }
  
  .shopping-grid {
    grid-template-columns: 1fr;
  }
  
  .stories-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .recipe-hero-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2.2rem;
  }
  
  .hero-badges {
    flex-direction: column;
    gap: 16px;
  }
  
  .magazine-recipe-grid {
    grid-template-columns: 1fr;
  }
  
  .recipe-card.card-featured,
  .recipe-card.card-medium,
  .recipe-card.card-standard,
  .recipe-card.card-banner {
    grid-column: span 1;
  }
  
  .ingredients-grid {
    grid-template-columns: 1fr;
  }
  
  .finder-box {
    padding: 24px 16px;
  }
}
