/*
Theme Name:        Danielle Recipes
Theme URI:         https://daniellerecipes.com
Author:            Danielle Recipes
Author URI:        https://daniellerecipes.com
Description:       A professional, mobile-first recipe theme with custom post types, SEO schema, AdSense-ready layout, and a clean editorial design. No blog — pure recipes.
Version:           4.0
Requires at least: 6.0
Tested up to:      6.7
Requires PHP:      8.0
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       danielle-recipes
Tags:              food-and-drink, custom-menu, featured-images, post-thumbnails, threaded-comments, translation-ready, one-column, two-columns, right-sidebar, responsive-layout, custom-logo
*/

/* ==========================================================================
   0. DESIGN TOKENS / CSS CUSTOM PROPERTIES
   ========================================================================== */
:root {
  /* Brand palette */
  --terracotta:  #c0562b;
  --terra-light: #e07a52;
  --terra-dark:  #8b3a18;
  --cream:       #fdfaf6;
  --cream-mid:   #f5ece0;
  --brown-100:   #f2e8da;
  --brown-200:   #ddc9b0;
  --brown-300:   #b89478;
  --brown-500:   #7a4f32;
  --brown-700:   #4a2d18;
  --brown-900:   #2d1a0e;
  --olive:       #5a6b3a;
  --sage:        #8fa870;

  /* Semantic aliases used across templates */
  --border:      #e8ddd0;
  --pill:        100px;

  /* Typography */
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body:    'Merriweather', 'Georgia', serif;
  --font-ui:      'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --gap:         clamp(16px, 3vw, 28px);
  --section-gap: clamp(48px, 7vw, 96px);

  /* Shadows */
  --shadow-sm:   0 2px 8px rgba(58,35,25,.08);
  --shadow-md:   0 4px 24px rgba(58,35,25,.12);
  --shadow-lg:   0 8px 40px rgba(58,35,25,.16);

  /* Radius */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  22px;

  /* Transitions */
  --ease:  all .22s ease;

  /* Layout */
  --max-w: 1220px;
  --content-w: 760px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--cream);
  color: var(--brown-700);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.25;
  font-weight: 700;
  color: var(--brown-900);
}

/* ==========================================================================
   2. GOOGLE FONTS IMPORT
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300&family=Lato:wght@400;700;900&display=swap');

/* ==========================================================================
   3. UTILITY
   ========================================================================== */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 13px 28px;
  border-radius: var(--pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
}
.btn-primary:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192,86,43,.35);
}

.btn-ghost {
  background: transparent;
  color: var(--brown-700);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--cream-mid);
  border-color: var(--brown-300);
}

.section-eyebrow {
  display: block;
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--brown-900);
  line-height: 1.2;
}

/* ==========================================================================
   4. HEADER
   ========================================================================== */
#site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 64px;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
  gap: 16px;
}

/* Logo */
.logo-zone { flex-shrink: 0; }

.site-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--brown-900);
  letter-spacing: -.01em;
  transition: color .2s;
  white-space: nowrap;
}
.site-logo:hover { color: var(--terracotta); }

.logo-zone img,
.custom-logo { max-height: 44px; width: auto; }

/* Primary nav */
.primary-nav { display: flex; justify-content: center; overflow: hidden; }

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: center;
}
.primary-nav ul::-webkit-scrollbar { display: none; }

.primary-nav a {
  font-family: var(--font-ui);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brown-700);
  padding: 5px 10px;
  border-radius: var(--pill);
  transition: var(--ease);
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a {
  background: var(--cream-mid);
  color: var(--terracotta);
}

/* Search + mobile toggle */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.search-wrap {
  display: flex;
  align-items: center;
  background: var(--cream-mid);
  border: 1.5px solid var(--border);
  border-radius: var(--pill);
  overflow: hidden;
  transition: var(--ease);
}

.search-wrap:focus-within {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(192,86,43,.12);
}

.search-wrap input {
  background: transparent;
  border: none;
  outline: none;
  padding: 7px 12px;
  font-family: var(--font-ui);
  font-size: .82rem;
  color: var(--brown-700);
  width: clamp(100px, 14vw, 180px);
}

.search-wrap input::placeholder { color: var(--brown-300); }

.search-wrap button {
  background: none;
  border: none;
  padding: 7px 12px 7px 6px;
  cursor: pointer;
  color: var(--brown-300);
  display: flex;
  align-items: center;
  transition: color .2s;
}
.search-wrap button:hover { color: var(--terracotta); }

/* Hide mobile search on desktop — it only shows inside the hamburger menu */
.mobile-search { display: none; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--brown-700);
  border-radius: 2px;
  transition: var(--ease);
}

/* ==========================================================================
   5. MOBILE NAV
   ========================================================================== */
@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    height: 56px;
    gap: 10px;
    padding-inline: 16px;
  }

  /* Push hamburger to far right by giving middle column all the space */
  .primary-nav { margin-left: auto; }

  /* Hide desktop search bar on mobile */
  .header-actions .search-wrap { display: none; }

  /* Show hamburger button */
  .nav-toggle { display: flex; margin-left: auto; }

  /* Nav becomes a full-screen drawer */
  .primary-nav {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: var(--cream);
    border-top: 2px solid var(--border);
    padding: 20px 16px 32px;
    box-shadow: var(--shadow-md);
    z-index: 9998;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .primary-nav.open { display: flex; }

  /* Nav links become full-width tappable rows */
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
    overflow-x: hidden;
  }

  .primary-nav ul li { width: 100%; }

  .primary-nav a {
    font-size: 1rem;
    padding: 12px 16px;
    width: 100%;
    display: block;
    border-radius: var(--r-sm);
  }

  /* Search bar at bottom of mobile menu */
  .primary-nav::after {
    content: '';
    display: block;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }

  /* Mobile search form appended by JS */
  .mobile-search-form {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    width: 100%;
  }

  .mobile-search-form .search-wrap {
    display: flex;
    width: 100%;
    max-width: 100%;
  }

  .mobile-search-form .search-wrap input {
    width: 100%;
    flex: 1;
  }
}

/* Extra small phones */
@media (max-width: 400px) {
  .site-logo { font-size: 1rem; }
  .header-inner { padding-inline: 12px; }
}



/* ==========================================================================
   6. BREADCRUMB
   ========================================================================== */
.breadcrumb {
  background: var(--cream-mid);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  font-family: var(--font-ui);
  font-size: .78rem;
  color: var(--brown-300);
}

.breadcrumb a {
  color: var(--terracotta);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }

.breadcrumb .sep {
  margin: 0 6px;
  opacity: .5;
}

.breadcrumb .current { color: var(--brown-500); font-weight: 600; }

/* ==========================================================================
   7. HOMEPAGE — HERO
   ========================================================================== */
.hp-hero {
  background: linear-gradient(150deg, #fdfaf6 0%, #f5ece0 55%, #eeddd0 100%);
  overflow: hidden;
  position: relative;
}

.hp-hero-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(48px,8vw,100px) clamp(16px,4vw,40px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hp-hero-inner { grid-template-columns: 1.1fr 1fr; gap: 64px; }
}

.hp-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.hp-hero-eyebrow-line {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
  flex-shrink: 0;
}

.hp-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem,7vw,4.2rem);
  font-weight: 900;
  color: var(--brown-900);
  line-height: 1.08;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}

.hp-hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.05rem,2.5vw,1.35rem);
  font-style: italic;
  color: var(--terracotta);
  margin-bottom: 18px;
  display: block;
  line-height: 1.4;
}

.hp-hero-desc {
  font-family: var(--font-ui);
  font-size: clamp(.92rem,2vw,1.02rem);
  line-height: 1.75;
  color: var(--brown-500);
  max-width: 460px;
  margin-bottom: 30px;
}

.hp-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

/* Mini stats row inside hero */
.hp-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(232,221,208,.8);
  border-radius: var(--r-md);
  max-width: 380px;
}
.hp-hero-stat {
  flex: 1;
  text-align: center;
  padding: 4px 8px;
}
.hp-hero-stat strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--brown-900);
  line-height: 1.1;
}
.hp-hero-stat span {
  font-family: var(--font-ui);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brown-300);
}
.hp-hero-stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* Hero image stack */
.hp-hero-imgs {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-template-rows: auto auto;
  gap: 12px;
  align-items: stretch;
}

.hp-hero-img-card {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  display: block;
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.hp-hero-img-card--1 {
  grid-column: 1 / 3;
  grid-row: 1;
  aspect-ratio: 4/3;
}
.hp-hero-img-card--2 { aspect-ratio: 3/4; grid-row: 2; }
.hp-hero-img-card--3 { aspect-ratio: 3/4; grid-row: 2; }

.hp-hero-img-card img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .6s ease;
}
.hp-hero-img-card:hover img { transform: scale(1.05); }

.hp-hero-img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent 0%, rgba(45,26,14,.82) 100%);
  padding: 32px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hp-hero-img-cat {
  font-family: var(--font-ui);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terra-light);
}
.hp-hero-img-title {
  font-family: var(--font-display);
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

/* ==========================================================================
   8. STATS STRIP (redesigned)
   ========================================================================== */
.hp-stats-strip {
  background: var(--brown-900);
  position: relative;
  overflow: hidden;
}
.hp-stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hp-stats-inner {
  position: relative;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(28px,4vw,44px) clamp(16px,4vw,40px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.hp-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 36px;
  flex: 1;
  min-width: 160px;
  justify-content: center;
}

.hp-stat-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--terra-light);
  transition: var(--ease);
}
.hp-stat-item:hover .hp-stat-icon-wrap {
  background: var(--terracotta);
  border-color: var(--terracotta);
}

.hp-stat-text { display: flex; flex-direction: column; gap: 2px; }
.hp-stat-text strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem,3vw,2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.hp-stat-text span {
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.hp-stat-sep {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .hp-stat-item { padding: 12px 20px; min-width: 140px; }
  .hp-stat-sep { display: none; }
}

/* ==========================================================================
   9. FEATURES SECTION (redesigned)
   ========================================================================== */
.hp-features {
  padding: clamp(56px,8vw,96px) 0;
  background: #fff;
}

.hp-section-head {
  text-align: center;
  margin-bottom: clamp(32px,5vw,52px);
}
.hp-section-head--left { text-align: left; margin-bottom: 28px; }

.hp-title-rule {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}
.hp-section-head--left .hp-title-rule { justify-content: flex-start; }
.hp-title-rule span {
  display: block;
  width: 48px; height: 4px;
  background: linear-gradient(90deg, var(--terracotta), var(--terra-light));
  border-radius: 2px;
}

.hp-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 24px;
}

.hp-feature-card {
  padding: 32px 26px 28px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  background: #fff;
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}
.hp-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--terra-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.hp-feature-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.hp-feature-card:hover::before { transform: scaleX(1); }

.hp-feat-svg {
  width: 64px; height: 64px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #fdf4ed, #f5e8d8);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--terracotta);
  transition: var(--ease);
}
.hp-feature-card:hover .hp-feat-svg {
  background: var(--terracotta);
  color: #fff;
}

.hp-feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brown-900);
  margin-bottom: 10px;
}
.hp-feature-card p {
  font-family: var(--font-ui);
  font-size: .88rem;
  line-height: 1.7;
  color: var(--brown-300);
}

/* ==========================================================================
   10. CATEGORY CARDS (redesigned)
   ========================================================================== */
.hp-cats {
  padding: clamp(56px,8vw,96px) 0;
  background: var(--cream);
}

.cat-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px,1fr));
  gap: var(--gap);
}

.cat-card {
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: var(--ease);
  background: var(--cream-mid);
}
.cat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.cat-img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}
.cat-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.cat-card:hover .cat-img-wrap img { transform: scale(1.08); }

.cat-placeholder {
  width: 100%; height: 100%;
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--cream-mid), var(--brown-100));
  color: var(--brown-300);
}

.cat-card-info {
  padding: 12px 14px 14px;
  background: #fff;
  border-top: 1.5px solid var(--border);
}
.cat-card-name {
  display: block;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--brown-900);
  margin-bottom: 2px;
  transition: color .2s;
}
.cat-card:hover .cat-card-name { color: var(--terracotta); }

.cat-card-count {
  display: block;
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brown-300);
}

/* ==========================================================================
   11. RECIPE CARDS SECTION (homepage)
   ========================================================================== */
.recipes-section {
  padding: clamp(56px,8vw,96px) 0;
  background: #fff;
}

.recipes-main { min-width: 0; }

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

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

@media (max-width: 540px) {
  .recipe-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ── Card thumbnail ── */
.rc-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream-mid);
  flex-shrink: 0;
  display: block;
}

.rc-thumb a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.rc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}

article.recipe-card:hover .rc-thumb img {
  transform: scale(1.04);
}

/* ── Card body ── */
/* Full-card link wrapper */
.recipe-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.rc-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

/* Small category label above title */
.rc-cat-label {
  font-family: var(--font-ui);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terracotta);
  opacity: .85;
}

.rc-title {
  font-size: .97rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
  color: var(--brown-900);
  transition: color .2s;
}

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

.rc-excerpt {
  font-size: .88rem;
  color: var(--brown-400, #a07050);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hover overlay on card thumbnail */
.rc-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45,26,14,0);
  transition: background .3s ease;
  pointer-events: none;
  z-index: 1;
}
article.recipe-card:hover .rc-thumb-overlay {
  background: rgba(45,26,14,.12);
}

/* ── Ad space placeholders ── */
.ad-space {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-mid);
  border: 2px dashed var(--border);
  border-radius: var(--r-md);
  min-height: 90px;
  font-family: var(--font-ui);
  font-size: .75rem;
  color: var(--brown-300);
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 32px 0;
  padding: 16px;
  text-align: center;
}

.ad-space--leaderboard { min-height: 90px; }
.ad-space--rectangle   { min-height: 250px; max-width: 336px; }
.ad-space--sidebar     { min-height: 280px; width: 100%; }



.recipes-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 72px 20px;
  color: var(--brown-300);
}
.recipes-empty-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--cream-mid);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--brown-200);
}
.recipes-empty h3 {
  font-size: 1.3rem;
  color: var(--brown-700);
  margin-bottom: 10px;
}
.recipes-empty p {
  font-family: var(--font-ui);
  font-size: .95rem;
  color: var(--brown-300);
  margin-bottom: 20px;
}

/* ==========================================================================
   12. SIDEBAR
   ========================================================================== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.widget {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px 20px;
}

.widget h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.widget h4 svg { flex-shrink: 0; }

.widget-empty {
  font-family: var(--font-ui);
  font-size: .85rem;
  color: var(--brown-300);
  text-align: center;
  padding: 12px 0;
}

.trending-no-img {
  width: 52px; height: 52px;
  border-radius: var(--r-sm);
  background: var(--cream-mid);
  display: flex; align-items: center; justify-content: center;
  color: var(--brown-300);
}

/* ==========================================================================
   13. CHEF SECTION (redesigned)
   ========================================================================== */
.hp-chef {
  padding: clamp(56px,8vw,96px) 0;
  background: linear-gradient(160deg, #fdfaf6 0%, #f0e6da 100%);
  overflow: hidden;
}

.hp-chef-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 860px) {
  .hp-chef-inner { grid-template-columns: 420px 1fr; }
}

/* Visual side */
.hp-chef-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hp-chef-bg-shape {
  position: absolute;
  top: -20px; left: -20px;
  width: 300px; height: 300px;
  border-radius: 60% 40% 70% 30% / 40% 60% 40% 60%;
  background: linear-gradient(135deg, rgba(192,86,43,.12), rgba(224,122,82,.06));
  z-index: 0;
}

.hp-chef-photo-frame {
  position: relative;
  z-index: 1;
  width: clamp(240px, 50vw, 360px);
}

.hp-chef-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 40% 40% 50% 50% / 30% 30% 50% 50%;
  display: block;
  box-shadow: var(--shadow-lg);
}

.hp-chef-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 40% 40% 50% 50% / 30% 30% 50% 50%;
  background: var(--cream-mid);
  display: flex; align-items: center; justify-content: center;
  color: var(--brown-200);
}

/* Home Chef badge on photo */
.hp-chef-badge-card {
  position: absolute;
  bottom: -14px; right: -20px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-md);
}
.hp-chef-badge-icon {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--terracotta), var(--terra-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.hp-chef-badge-card strong {
  display: block;
  font-family: var(--font-ui);
  font-size: .85rem;
  font-weight: 800;
  color: var(--brown-900);
  line-height: 1.2;
}
.hp-chef-badge-card span {
  font-family: var(--font-ui);
  font-size: .68rem;
  color: var(--brown-300);
  font-weight: 600;
}

/* Floating stat pills */
.hp-chef-float {
  position: absolute;
  background: var(--brown-900);
  color: #fff;
  border-radius: var(--r-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.hp-chef-float svg { flex-shrink: 0; opacity: .75; }
.hp-chef-float strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}
.hp-chef-float span {
  font-family: var(--font-ui);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  opacity: .6;
}
.hp-chef-float--recipes { bottom: 20px; left: -30px; }
.hp-chef-float--years { top: 20px; right: -30px; }
@media (max-width: 860px) {
  .hp-chef-float--recipes { left: 0; }
  .hp-chef-float--years { right: 0; }
}

/* Text side */
.hp-chef-intro { margin: 12px 0 20px; }
.hp-chef-hi-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--terracotta);
  display: block;
  margin-bottom: 4px;
}
.hp-chef-name {
  font-family: var(--font-display);
  font-size: clamp(2rem,5vw,3rem);
  font-weight: 900;
  color: var(--brown-900);
  line-height: 1.1;
  letter-spacing: -.02em;
}

.hp-chef-bio {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--brown-500);
  margin-bottom: 20px;
}

.hp-chef-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
.hp-chef-values li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: .85rem;
  font-weight: 600;
  color: var(--brown-700);
  background: rgba(255,255,255,.8);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
}
.hp-chef-value-icon {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(192,86,43,.12), rgba(224,122,82,.08));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--terracotta);
}

.hp-chef-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 24px;
}

.hp-chef-social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hp-chef-social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--brown-700);
  text-decoration: none;
  transition: var(--ease);
}
.hp-chef-social-link:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   14. TESTIMONIALS (redesigned)
   ========================================================================== */
.hp-testimonials {
  padding: clamp(56px,8vw,96px) 0;
  background: #fff;
}

.hp-testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .hp-testi-grid { grid-template-columns: repeat(3,1fr); }
}

.hp-testi-card {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}
.hp-testi-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--terra-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.hp-testi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}
.hp-testi-card:hover::after { transform: scaleX(1); }

.hp-testi-card--featured {
  background: linear-gradient(145deg, var(--terracotta) 0%, var(--terra-dark) 100%);
  border-color: transparent;
  color: #fff;
}
.hp-testi-card--featured::after { background: rgba(255,255,255,.3); }

.hp-testi-quote-icon {
  color: var(--terracotta);
  opacity: .25;
  line-height: 0;
}
.hp-testi-card--featured .hp-testi-quote-icon { color: #fff; opacity: .3; }

.hp-testi-stars {
  display: flex;
  gap: 3px;
  color: #f5a623;
}
.hp-testi-card--featured .hp-testi-stars { color: rgba(255,255,255,.9); }

.hp-testi-text {
  font-family: var(--font-body);
  font-style: italic;
  font-size: .97rem;
  line-height: 1.75;
  color: var(--brown-700);
  flex: 1;
  margin: 0;
  border: none;
  padding: 0;
}
.hp-testi-card--featured .hp-testi-text { color: rgba(255,255,255,.9); }

.hp-testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.hp-testi-card--featured .hp-testi-author { border-top-color: rgba(255,255,255,.2); }

.hp-testi-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--cream-mid);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--brown-300);
}
.hp-testi-card--featured .hp-testi-avatar {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.3);
  color: rgba(255,255,255,.8);
}

.hp-testi-author strong {
  display: block;
  font-family: var(--font-ui);
  font-size: .88rem;
  font-weight: 800;
  color: var(--brown-900);
  line-height: 1.2;
}
.hp-testi-card--featured .hp-testi-author strong { color: #fff; }

.hp-testi-author span {
  font-family: var(--font-ui);
  font-size: .72rem;
  color: var(--brown-300);
}
.hp-testi-card--featured .hp-testi-author span { color: rgba(255,255,255,.6); }

/* ==========================================================================
   15. NEWSLETTER CTA (redesigned)
   ========================================================================== */
.newsletter {
  background: linear-gradient(135deg, var(--brown-900) 0%, #1a0d06 100%);
  padding: clamp(48px,7vw,80px) 0;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,86,43,.2) 0%, transparent 70%);
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
@media (min-width: 768px) {
  .newsletter-inner { grid-template-columns: 1fr 1fr; gap: 60px; }
}

.newsletter-text { position: relative; }

.newsletter-icon {
  width: 60px; height: 60px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: var(--terra-light);
  margin-bottom: 20px;
}

.newsletter h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem,3.5vw,2.2rem);
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.newsletter p {
  font-family: var(--font-ui);
  font-size: .97rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  max-width: 400px;
}

.newsletter-form-wrap { position: relative; }

/* nl-form: the actual newsletter form */
.nl-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nl-form input[type="text"],
.nl-form input[type="email"] {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--r-md);
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-family: var(--font-ui);
  font-size: .95rem;
  outline: none;
  transition: var(--ease);
}
.nl-form input[type="text"]::placeholder,
.nl-form input[type="email"]::placeholder { color: rgba(255,255,255,.4); }
.nl-form input[type="text"]:focus,
.nl-form input[type="email"]:focus {
  border-color: var(--terra-light);
  background: rgba(255,255,255,.12);
}
.nl-form button[type="submit"],
.nl-form input[type="submit"] {
  width: 100%;
  padding: 16px 28px;
  border-radius: var(--r-md);
  border: none;
  background: linear-gradient(135deg, var(--terracotta), var(--terra-light));
  color: #fff;
  font-family: var(--font-ui);
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--ease);
}
.nl-form button[type="submit"]:hover,
.nl-form input[type="submit"]:hover {
  background: linear-gradient(135deg, var(--terra-dark), var(--terracotta));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192,86,43,.4);
}
.nl-message {
  font-family: var(--font-ui);
  font-size: .88rem;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  margin-bottom: 12px;
}
.nl-message.success { background: rgba(90,107,58,.25); color: #c8e6a0; border: 1px solid rgba(90,107,58,.4); }
.nl-message.error   { background: rgba(192,86,43,.2);  color: #ffb89a; border: 1px solid rgba(192,86,43,.4); }

/* ==========================================================================
   16. ARCHIVE / SEARCH RESULTS PAGE
   ========================================================================== */
.archive-hero {
  background: linear-gradient(135deg, var(--cream-mid) 0%, var(--cream) 100%);
  padding: clamp(32px, 5vw, 60px) 0;
  border-bottom: 1px solid var(--border);
}

.archive-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin-bottom: 8px;
}

.archive-hero p {
  font-family: var(--font-ui);
  font-size: .95rem;
  color: var(--brown-300);
}

/* ==========================================================================
   17. PAGINATION
   ========================================================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 0 0;
  flex-wrap: wrap;
}

.pagination a,
.pagination .page-numbers {
  font-family: var(--font-ui);
  font-size: .85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--pill);
  border: 1.5px solid var(--border);
  color: var(--brown-700);
  background: #fff;
  transition: var(--ease);
}

.pagination a:hover {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
}

.pagination .current {
  background: var(--terracotta);
  color: #fff;
  border-color: var(--terracotta);
}

/* ==========================================================================
   18. RECIPE CARD BOX (single recipe — legacy .rcb classes)
   ========================================================================== */
.rcb {
  background: #fff9f4;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 36px 0;
  box-shadow: var(--shadow-sm);
}

.rcb-head {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terra-dark) 100%);
  padding: 24px 28px;
  color: #fff;
}

.rcb-category-pill {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(255,255,255,.2);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--pill);
  margin-bottom: 10px;
}

.rcb-head-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.rcb-head-sub {
  font-family: var(--font-ui);
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  margin-top: 6px;
}

.rcb-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid var(--border);
}

@media (min-width: 480px) {
  .rcb-stats { grid-template-columns: repeat(4, 1fr); }
}

.rcb-stat {
  padding: 16px 10px;
  text-align: center;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.rcb-stat:last-child { border-right: none; }

.rcb-stat-icon { font-size: 1.3rem; }

.rcb-stat-val {
  font-family: var(--font-ui);
  font-size: .97rem;
  font-weight: 800;
  color: var(--brown-900);
}

.rcb-stat-lbl {
  font-family: var(--font-ui);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brown-300);
}

.rcb-info-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: #fff3e8;
  border-bottom: 1px solid var(--border);
  padding: 10px 20px;
}

.rcb-info-item {
  font-family: var(--font-ui);
  font-size: .8rem;
  color: var(--brown-700);
  padding: 4px 14px 4px 0;
}

.rcb-body { padding: 24px 24px 28px; }

.rcb-section-title {
  font-family: var(--font-ui);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

/* Ingredient items */
.ing-group { margin-bottom: 16px; }

.ing-group-label {
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brown-300);
  margin-bottom: 10px;
}

.ing-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-ui);
  font-size: .9rem;
  color: var(--brown-700);
}
.ing-item:last-child { border-bottom: none; }

.ing-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid var(--terracotta);
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  color: transparent;
  transition: var(--ease);
  margin-top: 1px;
}

/* Instruction steps */
.inst-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 0 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-family: var(--font-ui);
  font-size: .95rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-txt {
  font-family: var(--font-ui);
  font-size: .9rem;
  line-height: 1.7;
  color: var(--brown-700);
  padding-top: 8px;
}

/* Notes */
.rcb-notes {
  background: #fff8e8;
  border-radius: var(--r-sm);
  padding: 16px 18px;
  margin-top: 20px;
}

/* Nutrition grid */
.nutri-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 480px) {
  .nutri-grid { grid-template-columns: repeat(4, 1fr); }
}

.nutri-item {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 10px;
  text-align: center;
}

.nutri-item strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--terracotta);
}

.nutri-item span {
  font-family: var(--font-ui);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--brown-300);
}

/* Tags */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

.rcb-tag {
  font-family: var(--font-ui);
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--pill);
  background: var(--cream-mid);
  color: var(--brown-700);
  border: 1.5px solid var(--border);
}

.rcb-tag.alert {
  background: #fff3e0;
  color: #b35200;
  border-color: #ffd08a;
}

/* ==========================================================================
   19. RELATED RECIPES
   ========================================================================== */
.related-section { padding: 32px 0 0; margin: 32px 0 0; border-top: 2px solid var(--border); }

.dr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
}

/* ==========================================================================
   20. 404 PAGE
   ========================================================================== */
.error-404 {
  text-align: center;
  padding: clamp(60px, 10vw, 120px) 20px;
}

.error-404 h1 {
  font-size: clamp(4rem, 15vw, 10rem);
  color: var(--terracotta);
  opacity: .15;
  line-height: 1;
  margin-bottom: 0;
}

.error-404 h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.error-404 p {
  font-family: var(--font-ui);
  color: var(--brown-300);
  max-width: 400px;
  margin: 0 auto 28px;
}

/* ==========================================================================
   21. FOOTER
   ========================================================================== */
#site-footer {
  background: var(--brown-900);
  color: rgba(255,255,255,.75);
  padding: clamp(40px, 6vw, 72px) 0 0;
}

.footer-grid {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 560px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand .f-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: #fff;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-family: var(--font-ui);
  font-size: .82rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
}

.footer-col h5 {
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col a {
  font-family: var(--font-ui);
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-col a:hover { color: var(--terra-light); }

.social-row { display: flex; flex-wrap: wrap; gap: 8px; }

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: .75rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--pill);
  border: 1.5px solid;
  transition: var(--ease);
}
.social-pill:hover { opacity: .8; transform: translateY(-1px); }

.footer-bottom {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 20px clamp(16px, 4vw, 40px);
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: .75rem;
  color: rgba(255,255,255,.4);
}

.footer-bottom a {
  color: rgba(255,255,255,.4);
  transition: color .2s;
}
.footer-bottom a:hover { color: var(--terra-light); }

/* ==========================================================================
   22. FORMS (contact / newsletter admin)
   ========================================================================== */

/* ── Contact form wrapper ── */
.dr-contact-form { width: 100%; }

/* Two-column row on wider screens */
.dr-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .dr-form-row { grid-template-columns: 1fr; }
}

/* Form group = label + input pair */
.dr-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.dr-form-group label,
.dr-form-field label {
  display: block;
  font-family: var(--font-ui);
  font-size: .82rem;
  font-weight: 700;
  color: var(--brown-700);
  margin-bottom: 6px;
}

.dr-form-group .required,
.dr-form-field .required { color: var(--terracotta); }

.dr-form-group input,
.dr-form-group textarea,
.dr-form-group select,
.dr-form-field input,
.dr-form-field textarea,
.dr-form-field select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  background: #fff;
  font-family: var(--font-ui);
  font-size: .9rem;
  color: var(--brown-900);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.dr-form-group input:focus,
.dr-form-group textarea:focus,
.dr-form-group select:focus,
.dr-form-field input:focus,
.dr-form-field textarea:focus,
.dr-form-field select:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(192,86,43,.1);
}

.dr-form-group textarea,
.dr-form-field textarea { min-height: 140px; resize: vertical; }

/* Row inside dr-form-row: remove bottom margin on inner groups */
.dr-form-row .dr-form-group { margin-bottom: 0; }

/* Submit button spacing */
.dr-contact-form .btn { margin-top: 8px; }

.dr-form-field { margin-bottom: 20px; }

/* ==========================================================================
   23. ACCESSIBILITY & FOCUS
   ========================================================================== */
:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--terracotta);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-size: .85rem;
  font-weight: 700;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ==========================================================================
   24. ARCHIVE & CATEGORY PAGES
   ========================================================================== */

/* Archive hero banner */
.arch-hero {
  background: linear-gradient(135deg, #fdfaf6 0%, #f5ece0 100%);
  border-bottom: 1px solid var(--border);
  padding: clamp(36px, 6vw, 72px) clamp(16px, 4vw, 40px);
  text-align: center;
}

.arch-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--brown-900);
  margin-bottom: 12px;
  line-height: 1.2;
}

.arch-hero > p {
  font-family: var(--font-ui);
  font-size: .97rem;
  color: var(--brown-300);
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

/* Category filter pills */
.arch-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.arch-filter-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-ui);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: var(--pill);
  border: 2px solid var(--border);
  background: #fff;
  color: var(--brown-700);
  cursor: pointer;
  text-decoration: none;
  transition: var(--ease);
  white-space: nowrap;
}

.arch-filter-btn:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background: rgba(192,86,43,.06);
}

.arch-filter-btn.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
}

/* Archive recipe grid layout */
.all-recipes-layout {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 60px) clamp(16px, 4vw, 40px);
}

/* ==========================================================================
   25. RECIPE CARD COMPONENT (used in archive, homepage, related)
   ========================================================================== */

/* Override: article wraps the card */
article.recipe-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: var(--ease);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  max-width: 100%;
}

article.recipe-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

/* Category badge on card thumbnail */
.rc-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-ui);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #fff;
  background: var(--terracotta);
  padding: 4px 11px;
  border-radius: var(--pill);
  z-index: 1;
  text-decoration: none;
  transition: background .2s;
}
.rc-badge:hover { background: var(--terra-dark); }

/* Transparent link overlay for no-image cards */
.rc-thumb-link {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 3;
  /* Transparent clickable overlay — does NOT hide anything below it */
}

/* No-image: random food photo fills the space */
.rc-no-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.rc-no-image img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 1;
}

/* Difficulty badge */
.rc-difficulty {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-ui);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--pill);
  z-index: 1;
  background: rgba(255,255,255,.9);
  color: var(--brown-700);
}

.rc-diff-easy   { background: #dcf5e0; color: #2d7a3a; }
.rc-diff-medium { background: #fff3d6; color: #a06000; }
.rc-diff-hard   { background: #fde8e8; color: #c0392b; }

/* No image placeholder — styles are defined with .rc-thumb-link above */

/* Meta items inside card */
.rc-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-ui);
  font-size: .78rem;
  font-weight: 600;
  color: var(--brown-500);
}

/* ==========================================================================
   26. SCROLL REVEAL
   ========================================================================== */

.will-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s ease, transform .5s ease;
}

.will-reveal.revealed {
  opacity: 1;
  transform: none;
}

/* Stagger siblings */
.will-reveal:nth-child(2) { transition-delay: .08s; }
.will-reveal:nth-child(3) { transition-delay: .16s; }
.will-reveal:nth-child(4) { transition-delay: .24s; }
.will-reveal:nth-child(5) { transition-delay: .32s; }
.will-reveal:nth-child(6) { transition-delay: .40s; }

/* ==========================================================================
   27. SIDEBAR ADDITIONS
   ========================================================================== */

/* Trending row (homepage sidebar) */
.trending-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.trending-row:last-child { border-bottom: none; }

.trending-row .trending-thumb {
  width: 52px; height: 52px;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex-shrink: 0;
}
.trending-row .trending-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}

.trending-row .trending-info { flex: 1; min-width: 0; }

.trending-row .trending-info a {
  font-family: var(--font-ui);
  font-size: .82rem;
  font-weight: 700;
  color: var(--brown-900);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  transition: color .2s;
  margin-bottom: 3px;
}
.trending-row .trending-info a:hover { color: var(--terracotta); }

.trending-row .trending-info small {
  font-family: var(--font-ui);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brown-300);
}

/* Sidebar category list */
.sidebar-cat-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-cat-list li:last-child { border-bottom: none; }

.sidebar-cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-ui);
  font-size: .85rem;
  color: var(--brown-700);
  text-decoration: none;
  transition: color .2s;
}
.sidebar-cat-list a:hover { color: var(--terracotta); }

.sidebar-cat-list em {
  font-style: normal;
  font-size: .72rem;
  font-weight: 700;
  color: var(--brown-300);
  background: var(--cream-mid);
  padding: 2px 8px;
  border-radius: var(--pill);
}

/* ==========================================================================
   28. HOMEPAGE EXTRAS
   ========================================================================== */

/* Underline accent below section titles */
.underline-accent {
  width: 52px;
  height: 4px;
  background: var(--terracotta);
  border-radius: 2px;
  margin: 12px 0 36px;
}

/* Chef section badge overlay on photo */
.hp-chef-photo-wrap {
  position: relative;
}

.hp-chef-badge {
  position: absolute;
  bottom: -14px;
  right: -14px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--r-md);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-ui);
  font-size: .82rem;
  font-weight: 800;
  color: var(--brown-900);
  white-space: nowrap;
}

/* Recipe cards grid — homepage uses same class */
.recipes-with-sidebar {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
  padding-top: 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 900px) {
  .recipes-with-sidebar {
    grid-template-columns: 1fr 320px;
  }
}

/* hp-chef-values list items */
.hp-chef-values li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: .85rem;
  color: var(--brown-700);
  background: #fff;
  padding: 8px 16px;
  border-radius: var(--pill);
  border: 1.5px solid var(--border);
}

/* Testimonial cite */
.hp-testi-card cite {
  display: block;
  font-family: var(--font-ui);
  font-size: .75rem;
  font-weight: 700;
  color: var(--brown-300);
  font-style: normal;
}
.hp-testi-card--featured cite { color: rgba(255,255,255,.6); }

/* Header scrolled state */
#site-header.scrolled {
  box-shadow: 0 4px 24px rgba(58,35,25,.12);
}

/* ==========================================================================
   24. PRINT STYLES
   ========================================================================== */
@media print {
  #site-header,
  #site-footer,
  .sr-share,
  .pagination,
  .newsletter,
  .sidebar,
  .sr-ad-slot {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a::after { content: " (" attr(href) ")"; font-size: .8em; }
}

/* ==========================================================================
   DEMO RECIPE PREVIEW SECTION (homepage)
   ========================================================================== */

.hp-demo-recipe {
  padding: 80px 0 90px;
  background: var(--cream);
}

.hp-section-desc {
  text-align: center;
  color: var(--brown-400);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  margin-top: 8px;
}

/* Recipe keyword tags */
.demo-recipe-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}

.demo-kw {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brown-600, #5c4a32);
  letter-spacing: .01em;
  transition: background 0.2s, border-color 0.2s;
}

.demo-kw:hover {
  background: var(--sage, #f0f5f0);
  border-color: var(--green, #4a7c59);
}

/* Shell / frame */
.demo-recipe-shell {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 40px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-top: 40px;
}

/* Meta bar */
.demo-recipe-meta-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px 28px;
  background: var(--brown-800);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 0;
}

.demo-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.85);
  font-size: .88rem;
  padding: 4px 18px 4px 0;
}

.demo-meta-item svg { opacity: .7; flex-shrink: 0; }
.demo-meta-item strong { font-weight: 600; color: #fff; }

.demo-meta-sep {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,.18);
  margin: 0 18px 0 0;
  flex-shrink: 0;
}

.demo-meta-stars { gap: 3px; }
.demo-meta-stars svg { fill: var(--terra); stroke: none; opacity: 1; }
.demo-meta-stars span { margin-left: 4px; }

/* Body layout */
.demo-recipe-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  align-items: start;
}

/* Column label */
.demo-col-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 18px;
}

.demo-col-label svg { flex-shrink: 0; }

/* Ingredients column */
.demo-ingredients-col {
  padding: 32px 24px;
  border-right: 1px solid var(--border);
  position: sticky;
  top: 80px;
  background: var(--cream-light, #fdf9f5);
}

.demo-ing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.demo-ing-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: opacity .25s;
}

.demo-ing-item:last-child { border-bottom: none; }

.demo-ing-item.checked-item { opacity: .45; }
.demo-ing-item.checked-item .demo-ing-text { text-decoration: line-through; }

.demo-ing-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--brown-400);
  margin-top: 1px;
  transition: color .2s;
}

.demo-ing-check:hover { color: var(--terra); }
.demo-ing-check .check-icon-done { display: none; color: var(--terra); }

.demo-ing-check.checked { color: var(--terra); }
.demo-ing-check.checked .check-icon-empty { display: none; }
.demo-ing-check.checked .check-icon-done { display: block; }

.demo-ing-text {
  font-size: .92rem;
  color: var(--brown-800);
  line-height: 1.45;
  transition: color .25s;
}

.demo-ing-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: .78rem;
  color: var(--brown-400);
  background: rgba(165,98,60,.07);
  border-radius: 8px;
  padding: 9px 12px;
  line-height: 1.5;
}

.demo-ing-note svg { flex-shrink: 0; margin-top: 1px; color: var(--terra); }

/* Steps column */
.demo-steps-col {
  padding: 32px 36px 36px;
}

/* Individual step */
.demo-step {
  display: flex;
  gap: 18px;
  margin-bottom: 32px;
}

.demo-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--terra);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .92rem;
  margin-top: 2px;
}

.demo-step-content { flex: 1; min-width: 0; }
.demo-step-content h4 { font-size: 1rem; margin: 0 0 6px; color: var(--brown-800); }
.demo-step-content p { font-size: .93rem; color: var(--brown-600); margin: 0 0 14px; line-height: 1.6; }

.demo-step-img {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--border);
}

.demo-step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.demo-step-img:hover img { transform: scale(1.03); }

/* Chef tip */
.demo-chef-tip {
  display: flex;
  gap: 14px;
  background: linear-gradient(135deg, rgba(165,98,60,.08) 0%, rgba(165,98,60,.04) 100%);
  border-left: 3px solid var(--terra);
  border-radius: 0 12px 12px 0;
  padding: 16px 20px;
  margin-bottom: 36px;
}

.demo-chef-tip-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--terra);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-chef-tip strong {
  display: block;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--terra);
  margin-bottom: 4px;
}

.demo-chef-tip p {
  margin: 0;
  font-size: .92rem;
  color: var(--brown-700, #5a3e2b);
  line-height: 1.6;
}

/* FAQ */
.demo-faq { margin-top: 4px; }

.demo-faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: box-shadow .2s;
}

.demo-faq-item.open {
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  border-color: rgba(165,98,60,.3);
}

.demo-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: .93rem;
  font-weight: 600;
  color: var(--brown-800);
  font-family: inherit;
  transition: background .15s;
}

.demo-faq-q:hover { background: rgba(165,98,60,.04); }
.demo-faq-item.open .demo-faq-q { background: rgba(165,98,60,.05); color: var(--terra); }

.demo-faq-chevron {
  flex-shrink: 0;
  transition: transform .25s ease;
}

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

.demo-faq-a {
  padding: 0 18px 16px;
}

.demo-faq-a p {
  margin: 0;
  font-size: .9rem;
  color: var(--brown-600);
  line-height: 1.65;
}

/* CTA bar */
.demo-recipe-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 32px;
  border-top: 1px solid var(--border);
  background: var(--brown-800);
}

.demo-recipe-cta p {
  margin: 0;
  font-size: .93rem;
  color: rgba(255,255,255,.75);
  max-width: 400px;
}

/* Responsive */
@media (max-width: 900px) {
  .demo-recipe-body { grid-template-columns: 1fr; }
  .demo-ingredients-col {
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .demo-recipe-cta {
    flex-direction: column;
    text-align: center;
  }
  .demo-recipe-cta p { max-width: 100%; }
  .demo-recipe-meta-bar { padding: 12px 18px; }
  .demo-meta-sep { margin: 0 10px 0 0; }
}

@media (max-width: 600px) {
  .demo-steps-col { padding: 24px 20px 28px; }
  .demo-ingredients-col { padding: 24px 18px; }
  .demo-recipe-shell { border-radius: 14px; }
  .hp-demo-recipe { padding: 50px 0 60px; }
}

/* ==========================================================================
   MOBILE IMPROVEMENTS (phones)
   ========================================================================== */
@media (max-width: 540px) {
  /* Reduce section padding on mobile */
  .recipes-section { padding: 40px 0 48px; }
  .container { padding-inline: 16px; }

  /* Recipe card — tighter on small screens */
  .rc-body { padding: 16px 16px 18px; }
  .rc-title { font-size: 1rem; }
  .rc-excerpt { font-size: .84rem; }
  .rc-meta-item { font-size: .74rem; }
  .rc-cta { font-size: .76rem; }

  /* Pagination easier to tap */
  .pagination a,
  .pagination .page-numbers {
    padding: 10px 14px;
    font-size: .8rem;
    min-width: 40px;
    text-align: center;
  }

  /* Hero area tighter */
  .hp-hero-inner { gap: 32px !important; }

  /* Category cards single column */
  .cat-cards-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }

  /* Features grid */
  .hp-features-grid { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }

  /* Ad space on mobile */
  .ad-space--leaderboard { min-height: 60px; font-size: .65rem; }

  /* Section headings tighter */
  .section-title { font-size: clamp(1.3rem, 5vw, 1.8rem); }

  /* Sidebar full width below content on mobile */
  .sidebar { width: 100%; }
  .ad-space--sidebar { min-height: 200px; }
}


/* ==========================================================================
   MOBILE GLOBAL FIXES — comprehensive phone layout
   ========================================================================== */

/* Prevent any horizontal overflow on mobile */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  /* All sections respect phone width */
  .container,
  .hp-hero-inner,
  .hp-stats-inner,
  .hp-features,
  .hp-cats,
  .recipes-section,
  .hp-chef-inner,
  .hp-testimonials,
  .newsletter-inner,
  .all-recipes-layout,
  .arch-hero,
  .recipes-with-sidebar {
    padding-inline: 16px;
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Hero: stack text on top of images */
  .hp-hero-inner {
    grid-template-columns: 1fr !important;
    padding: 32px 16px !important;
    gap: 28px !important;
  }

  /* Hero images: show only 1 big image on mobile */
  .hp-hero-imgs {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
  .hp-hero-img-card--2,
  .hp-hero-img-card--3 { display: none; }
  .hp-hero-img-card--1 {
    grid-column: 1 !important;
    aspect-ratio: 16/9 !important;
  }

  /* Hero text */
  .hp-hero-title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .hp-hero-btns { flex-direction: column; gap: 10px; }
  .hp-hero-btns .btn { width: 100%; justify-content: center; }
  .hp-hero-stats { max-width: 100%; }

  /* Stats strip — horizontal scroll if needed */
  .hp-stats-inner {
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
  }
  .hp-stat-item { min-width: 130px; padding: 12px 16px; }
  .hp-stat-sep { display: none; }

  /* Features: 1 column on small phones */
  .hp-features-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  /* Category cards: 2 columns */
  .cat-cards-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px;
  }

  /* Recipe grid: 1 column on phones */
  .recipe-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  /* Chef section: stack */
  .hp-chef-inner {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
  .hp-chef-visual { max-width: 320px; margin-inline: auto; }
  .hp-chef-float--recipes,
  .hp-chef-float--years { display: none; }
  .hp-chef-values { grid-template-columns: 1fr !important; }
  .hp-chef-actions { flex-direction: column; }
  .hp-chef-actions .btn { width: 100%; justify-content: center; }

  /* Testimonials: 1 column */
  .hp-testi-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  /* Newsletter */
  .newsletter-inner {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  /* Single recipe page */
  .sr-layout {
    grid-template-columns: 1fr !important;
  }
  .sr-share { flex-wrap: wrap; gap: 8px; }
  .sr-share a, .sr-share button { flex: 1; min-width: 120px; justify-content: center; }

  /* Archive hero */
  .arch-hero { padding: 28px 16px; }
  .arch-filters { flex-wrap: wrap; gap: 6px; }

  /* Buttons full width on mobile */
  .arch-hero .btn { width: 100%; justify-content: center; }

  /* Pagination easier to tap */
  .pagination { flex-wrap: wrap; gap: 4px; justify-content: center; }
  .pagination a,
  .pagination .page-numbers {
    padding: 10px 14px;
    font-size: .85rem;
    min-width: 42px;
    text-align: center;
  }

  /* Sidebar full width below content */
  .sidebar { width: 100%; }

  /* Section spacing tighter */
  .hp-features,
  .hp-cats,
  .recipes-section,
  .hp-chef,
  .hp-testimonials { padding: 40px 0; }

  /* Footer */
  .footer-inner,
  .footer-cols { grid-template-columns: 1fr 1fr !important; gap: 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Very small phones (< 400px) */
@media (max-width: 400px) {
  .cat-cards-grid {
    grid-template-columns: 1fr !important;
  }
  .footer-cols { grid-template-columns: 1fr !important; }
  .hp-hero-btns .btn { font-size: .82rem; padding: 11px 20px; }
}

/* ==========================================================================
   STATIC PAGES — About, Contact, Privacy, Disclaimer, Terms, etc.
   ========================================================================== */

/* ── Shared static page hero ── */
.static-hero {
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-mid) 100%);
  border-bottom: 1px solid var(--border);
  padding: clamp(48px, 8vw, 80px) clamp(16px, 4vw, 40px);
  text-align: center;
  max-width: 100%;
}
.static-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 900;
  color: var(--brown-900);
  margin-bottom: 14px;
}
.static-hero p {
  font-family: var(--font-ui);
  font-size: 1rem;
  color: var(--brown-500);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.7;
}
.static-hero .page-meta {
  font-family: var(--font-ui);
  font-size: .78rem;
  color: var(--brown-300);
  margin-top: 10px;
}

/* ── Shared static page content wrapper ── */
.static-wrap {
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) clamp(16px, 4vw, 40px);
}
.static-wrap h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  color: var(--brown-900);
  margin-top: 2.2rem;
  margin-bottom: .8rem;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.static-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--brown-700);
  margin-top: 1.6rem;
  margin-bottom: .6rem;
}
.static-wrap p {
  font-family: var(--font-body);
  font-size: .96rem;
  line-height: 1.85;
  color: var(--brown-500);
  margin-bottom: 1rem;
}
.static-wrap ul, .static-wrap ol {
  padding-left: 1.4rem;
  margin-bottom: 1.2rem;
}
.static-wrap ul { list-style: disc; }
.static-wrap ol { list-style: decimal; }
.static-wrap li {
  font-family: var(--font-body);
  font-size: .94rem;
  line-height: 1.8;
  color: var(--brown-500);
  margin-bottom: .4rem;
}
.static-wrap a { color: var(--terracotta); }
.static-wrap a:hover { text-decoration: underline; }
.static-wrap strong { color: var(--brown-700); }
.post-body { font-family: var(--font-body); font-size: .96rem; line-height: 1.85; color: var(--brown-500); }

/* ── Highlight / info box ── */
.highlight-box {
  background: var(--cream-mid);
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--r-sm);
  padding: 18px 22px;
  margin-bottom: 2rem;
  font-family: var(--font-ui);
  font-size: .9rem;
  color: var(--brown-700);
  line-height: 1.7;
}

/* ── 404 Error page ── */
.err-page {
  max-width: 540px;
  margin: clamp(60px, 10vw, 120px) auto;
  padding: 0 20px;
  text-align: center;
}
.err-num {
  font-family: var(--font-display);
  font-size: clamp(6rem, 20vw, 10rem);
  font-weight: 900;
  color: var(--terracotta);
  line-height: 1;
  opacity: .18;
  margin-bottom: -20px;
}
.err-page h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  color: var(--brown-900);
  margin-bottom: 12px;
}
.err-page p {
  font-size: .96rem;
  color: var(--brown-500);
  margin-bottom: 28px;
  line-height: 1.7;
}
.err-search {
  display: flex;
  max-width: 380px;
  margin: 0 auto;
  gap: 8px;
}
.err-search input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: var(--pill);
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: .88rem;
  outline: none;
  background: #fff;
  transition: border-color .2s;
}
.err-search input:focus { border-color: var(--terracotta); }

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */

/* ── About Hero ── */
.about-hero {
  background: linear-gradient(150deg, #fdfaf6 0%, #f5ece0 55%, #eeddd0 100%);
  padding: clamp(56px, 8vw, 96px) 0;
  overflow: hidden;
}
.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 860px) {
  .about-hero-inner { grid-template-columns: 400px 1fr; gap: 64px; }
}

/* Photo */
.about-hero-photo { position: relative; display: flex; justify-content: center; }
.about-photo-frame {
  width: 320px;
  height: 380px;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.about-photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--cream-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-photo-badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(45,26,14,.85);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-ui);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--pill);
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.about-float {
  position: absolute;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-float strong {
  display: block;
  font-family: var(--font-ui);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--brown-900);
  line-height: 1.1;
}
.about-float span {
  font-family: var(--font-ui);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brown-300);
}
.about-float--a { bottom: 30px; left: -10px; }
.about-float--b { top: 30px; right: -10px; }

/* Hero text */
.about-hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 900;
  color: var(--brown-900);
  line-height: 1.08;
  margin: 8px 0 6px;
  letter-spacing: -.02em;
}
.about-hero-tagline {
  font-family: var(--font-ui);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--brown-300);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}
.about-hero-bio {
  font-family: var(--font-body);
  font-size: .98rem;
  line-height: 1.85;
  color: var(--brown-500);
  margin-bottom: 28px;
}
.about-hero-bio p { margin-bottom: .9rem; }
.about-hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 16px 20px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(232,221,208,.8);
  border-radius: var(--r-md);
  margin-bottom: 28px;
  max-width: 380px;
  flex-wrap: wrap;
}
.about-stat { flex: 1; text-align: center; padding: 4px 8px; }
.about-stat strong { display: block; font-family: var(--font-ui); font-size: 1.3rem; font-weight: 900; color: var(--brown-900); line-height: 1.1; }
.about-stat span { font-family: var(--font-ui); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brown-300); }
.about-stat-sep { width: 1px; height: 36px; background: var(--border); flex-shrink: 0; }
.about-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── My Story ── */
.about-story {
  padding: clamp(56px, 8vw, 96px) 0;
  background: #fff;
}
.about-section-head { text-align: center; margin-bottom: 48px; }
.about-title-rule {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.about-title-rule span {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--terracotta);
  border-radius: 2px;
}
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 860px) {
  .about-story-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
}
.about-story-text p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--brown-500);
  margin-bottom: 1.2rem;
}
/* Timeline milestones */
.about-story-milestones { display: flex; flex-direction: column; gap: 24px; }
.about-milestone {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.about-milestone-year {
  font-family: var(--font-ui);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .06em;
  color: #fff;
  background: var(--terracotta);
  padding: 6px 12px;
  border-radius: var(--pill);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}
.about-milestone-content strong {
  display: block;
  font-family: var(--font-ui);
  font-size: .9rem;
  font-weight: 800;
  color: var(--brown-900);
  margin-bottom: 4px;
}
.about-milestone-content p {
  font-family: var(--font-ui);
  font-size: .82rem;
  color: var(--brown-300);
  line-height: 1.5;
  margin: 0;
}

/* ── Values ── */
.about-values {
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--cream);
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) {
  .about-values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .about-values-grid { grid-template-columns: 1fr; }
}
.about-value-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: var(--ease);
}
.about-value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}
.about-value-icon {
  width: 56px;
  height: 56px;
  background: var(--cream-mid);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  margin-bottom: 18px;
}
.about-value-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brown-900);
  margin-bottom: 8px;
}
.about-value-card p {
  font-family: var(--font-ui);
  font-size: .85rem;
  line-height: 1.65;
  color: var(--brown-300);
  margin: 0;
}

/* ── About recent recipes ── */
.about-recipes {
  padding: clamp(56px, 8vw, 96px) 0;
  background: #fff;
}

/* ── About contact CTA ── */
.about-contact-cta {
  padding: clamp(48px, 7vw, 80px) 0;
  background: var(--cream-mid);
  border-top: 1px solid var(--border);
}
.about-cta-inner {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
}
.about-cta-icon {
  width: 76px;
  height: 76px;
  background: var(--terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #fff;
}
.about-cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--brown-900);
  margin-bottom: 14px;
}
.about-cta-inner p {
  font-family: var(--font-body);
  font-size: .96rem;
  line-height: 1.8;
  color: var(--brown-500);
  margin-bottom: 28px;
}
.about-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── Mobile about page ── */
@media (max-width: 768px) {
  .about-photo-frame { width: 260px; height: 310px; }
  .about-float--a { left: 0; bottom: 15px; }
  .about-float--b { right: 0; top: 15px; }
  .about-hero-stats { max-width: 100%; }
  .about-hero-actions { flex-direction: column; }
  .about-hero-actions .btn { width: 100%; justify-content: center; }
  .about-cta-actions { flex-direction: column; }
  .about-cta-actions .btn { width: 100%; justify-content: center; }
  .err-search { flex-direction: column; }
  .err-search input { width: 100%; }
  .err-search .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   CARD & PAGE ENTRANCE ANIMATIONS
   ========================================================================== */

/* Fade-up animation keyframe */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Cards animate in when they enter viewport (JS adds .revealed) */
article.recipe-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .45s ease, transform .45s ease, box-shadow .22s ease, border-color .22s ease;
}
article.recipe-card.revealed {
  opacity: 1;
  transform: translateY(0);
}
/* Stagger delay for grid children */
article.recipe-card:nth-child(2) { transition-delay: .08s; }
article.recipe-card:nth-child(3) { transition-delay: .16s; }
article.recipe-card:nth-child(4) { transition-delay: .06s; }
article.recipe-card:nth-child(5) { transition-delay: .12s; }
article.recipe-card:nth-child(6) { transition-delay: .18s; }

/* Hover lift — only when already revealed */
article.recipe-card.revealed:hover {
  box-shadow: 0 8px 32px rgba(58,35,25,.14);
  transform: translateY(-4px);
  border-color: transparent;
}

/* Image zoom on hover */
article.recipe-card:hover .rc-thumb img {
  transform: scale(1.06);
}

/* will-reveal elements (category cards, feature cards, etc.) */
.will-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}
.will-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  article.recipe-card,
  .will-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ─────────────────────────────────────────────────────────
   RECIPE CARD ENHANCEMENTS — Chef tip & ingredient bar
   ───────────────────────────────────────────────────────── */
.rc-tip {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: .82rem;
  color: var(--brown-400, #8b5e3c);
  line-height: 1.55;
  margin: 0 0 10px;
  padding: 8px 12px;
  background: rgba(192, 86, 43, 0.06);
  border-left: 3px solid var(--terracotta, #c0562b);
  border-radius: 0 6px 6px 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.rc-tip svg { flex-shrink: 0; margin-top: 2px; color: var(--terracotta, #c0562b); }
.rc-ing-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  padding-top: 10px;
  border-top: 1px solid var(--cream-300, #e8ddd0);
}
.rc-ing-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: .71rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brown-400, #8b5e3c);
  background: var(--cream-200, #f9f5f0);
  border: 1px solid var(--cream-300, #e8ddd0);
  padding: 3px 9px;
  border-radius: 100px;
}
.rc-ing-dietary {
  color: #3a6b3a;
  background: #f0f8f0;
  border-color: #c4dcc4;
}

/* ─────────────────────────────────────────────────────────
   HOME PAGE HERO — Enhanced editorial design
   ───────────────────────────────────────────────────────── */
.hp-hero {
  background: linear-gradient(135deg, #2c1a0f 0%, #3a2319 40%, #5a3520 100%);
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(192, 86, 43, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 30% 60% at 0% 100%, rgba(90, 53, 32, 0.4) 0%, transparent 60%);
  pointer-events: none;
}
/* Subtle grain texture overlay */
.hp-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px 80px 60px;
  position: relative;
  z-index: 1;
  align-items: center;
}
.hp-hero-text {
  color: #fff;
  padding-right: 40px;
}
.hp-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #e07a52;
  margin-bottom: 18px;
}
.hp-hero-eyebrow-line {
  display: inline-block;
  width: 36px;
  height: 2px;
  background: #e07a52;
  flex-shrink: 0;
}
.hp-hero-title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -.02em;
}
.hp-hero-tagline {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-style: italic;
  color: rgba(255,255,255,.72);
  margin: 0 0 20px;
}
.hp-hero-desc {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(.9rem, 1.6vw, 1.05rem);
  line-height: 1.75;
  color: rgba(255,255,255,.62);
  margin: 0 0 36px;
  max-width: 480px;
}
.hp-hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hp-hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hp-hero-stat strong {
  display: block;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 3px;
}
.hp-hero-stat span {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.48);
}
.hp-hero-stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
}
/* Images panel */
.hp-hero-imgs {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 580px;
  padding-left: 20px;
}
.hp-hero-img-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transform-origin: center;
  transition: transform .4s ease, box-shadow .4s ease;
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
}
.hp-hero-img-card:hover { transform: scale(1.02); box-shadow: 0 16px 50px rgba(0,0,0,.5); }
.hp-hero-img-card--1 {
  grid-column: 1;
  grid-row: 1 / 3;
}
.hp-hero-img-card--2 { grid-column: 2; grid-row: 1; }
.hp-hero-img-card--3 { grid-column: 2; grid-row: 2; }
.hp-hero-img-card img,
.hp-hero-img-card .post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.hp-hero-img-card:hover img,
.hp-hero-img-card:hover .post-thumbnail img { transform: scale(1.05); }
.hp-hero-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hp-hero-img-cat {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #e07a52;
}
.hp-hero-img-title {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: .92rem;
  color: #fff;
  font-weight: 700;
  line-height: 1.25;
}
@media (max-width: 900px) {
  .hp-hero { min-height: auto; }
  .hp-hero-inner {
    grid-template-columns: 1fr;
    padding: 60px 24px 40px;
    gap: 40px;
  }
  .hp-hero-text { padding-right: 0; }
  .hp-hero-imgs {
    height: 280px;
    padding-left: 0;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }
  .hp-hero-img-card--1 { grid-column: 1; grid-row: 1; }
  .hp-hero-img-card--2 { grid-column: 2; grid-row: 1; }
  .hp-hero-img-card--3 { display: none; }
}
@media (max-width: 600px) {
  .hp-hero-inner { padding: 40px 20px 32px; }
  .hp-hero-stats { gap: 16px; }
}
