/*
Theme Name: Butter Be Ready
Theme URI: https://www.butterbeready.com
Author: Butter Be Ready
Author URI: https://www.butterbeready.com
Description: A warm, bold Southern & Caribbean-inspired food blog theme. Features a dark header, cream tones, portrait recipe cards, curated homepage sections, and full recipe card support with schema markup.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: butterbeready
Tags: blog, food, recipe, custom-header, custom-menu, featured-images, threaded-comments, translation-ready, two-columns, right-sidebar
*/

/* ============================================================
   CSS VARIABLES
============================================================ */
:root {
  --navy:          #1a2433;
  --navy-dark:     #111a27;
  --cream:         #faf7f2;
  --cream-dark:    #f0ebe1;
  --gold:          #c8932a;
  --gold-light:    #e8b84b;
  --gold-pale:     #fdf3e0;
  --rust:          #b94c2e;
  --text:          #2a2118;
  --text-muted:    #6b5f52;
  --text-light:    #9a8f83;
  --border:        #e0d8cc;
  --bg:            #ffffff;
  --serif:         'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:          'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --script:        'Dancing Script', cursive;
  --radius:        4px;
  --radius-lg:     8px;
  --shadow:        0 2px 16px rgba(26,36,51,0.10);
  --shadow-hover:  0 6px 28px rgba(26,36,51,0.16);
  --max-width:     1200px;
  --content-width: 780px;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  background: var(--cream);
  margin: 0; padding: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rust); }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 .75rem;
}
p { margin: 0 0 1.1rem; }
ul, ol { padding-left: 1.4rem; margin: 0 0 1.1rem; }
li { margin-bottom: .3rem; }
blockquote {
  border-left: 4px solid var(--gold);
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: var(--gold-pale);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-muted);
}
hr { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0; }

/* ============================================================
   LAYOUT
============================================================ */
.site-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.content-wrap { max-width: var(--content-width); margin: 0 auto; padding: 0 2rem; }

/* ============================================================
   TOP BAR
============================================================ */
.top-bar {
  background: var(--navy-dark);
  color: #8fa0b8;
  font-size: .72rem;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: .45rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.top-bar a { color: #8fa0b8; }
.top-bar a:hover { color: var(--gold-light); }
.top-bar-links { display: flex; gap: 1.5rem; }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: .9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-branding .site-title {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-style: italic;
  color: #fff;
  margin: 0;
  letter-spacing: .5px;
}
.site-branding .site-title a { color: #fff; }
.site-branding .site-title a:hover { color: var(--gold-light); }
.site-branding .site-description {
  font-size: .68rem;
  color: #8fa0b8;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 0;
}
.header-search input {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  padding: .4rem 1rem;
  color: #fff;
  font-size: .82rem;
  font-family: var(--sans);
  width: 180px;
  transition: all .2s;
}
.header-search input::placeholder { color: rgba(255,255,255,.4); }
.header-search input:focus { outline: none; width: 220px; border-color: var(--gold); background: rgba(255,255,255,.12); }
.header-search button { display: none; }

/* ============================================================
   NAVIGATION
============================================================ */
.main-navigation { display: flex; align-items: center; }
.main-navigation ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: .1rem;
}
.main-navigation ul li { position: relative; }
.main-navigation ul li a {
  display: block;
  padding: .45rem .85rem;
  font-size: .78rem;
  letter-spacing: .8px;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  border-radius: var(--radius);
  transition: all .2s;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
  color: var(--gold-light);
  background: rgba(255,255,255,.06);
}
/* Dropdown */
.main-navigation ul li ul {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--navy-dark);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  min-width: 200px;
  flex-direction: column;
  z-index: 100;
  padding: .4rem 0;
}
.main-navigation ul li:hover > ul { display: flex; }
.main-navigation ul li ul li a {
  border-radius: 0;
  padding: .55rem 1.1rem;
  white-space: nowrap;
  color: rgba(255,255,255,.75);
  font-size: .75rem;
}
.main-navigation ul li ul li a:hover { color: var(--gold-light); background: rgba(255,255,255,.05); }
/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: .4rem .75rem;
  cursor: pointer;
  color: #fff;
  font-size: 1.2rem;
}

/* ============================================================
   FOLLOW BAR (below header)
============================================================ */
.follow-bar {
  background: var(--gold);
  padding: .5rem 2rem;
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy-dark);
}
.follow-bar a { color: var(--navy-dark); margin: 0 .6rem; }
.follow-bar a:hover { color: #fff; }

/* ============================================================
   BREADCRUMBS
============================================================ */
.breadcrumbs {
  font-size: .75rem;
  color: var(--text-light);
  padding: .8rem 0;
  margin-bottom: .5rem;
}
.breadcrumbs a { color: var(--text-light); }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs span { margin: 0 .4rem; }

/* ============================================================
   HOMEPAGE HERO
============================================================ */
.home-hero {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(200,147,42,.18) 0%, transparent 70%);
  pointer-events: none;
}
.home-hero-eyebrow {
  font-family: var(--script);
  font-size: 1.6rem;
  color: var(--gold-light);
  margin-bottom: .3rem;
}
.home-hero h1 {
  font-size: 3.4rem;
  color: #fff;
  margin-bottom: .8rem;
  font-style: italic;
}
.home-hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin: 0 auto 2rem;
}
.home-hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  padding: .75rem 2rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background .2s;
}
.btn-primary:hover { background: var(--gold-light); color: var(--navy-dark); }
.btn-outline {
  display: inline-block;
  padding: .75rem 2rem;
  border: 2px solid rgba(255,255,255,.4);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all .2s;
}
.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ============================================================
   CATEGORY PILLS
============================================================ */
.home-cats {
  background: var(--cream-dark);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
}
.cat-pills {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: var(--max-width);
  margin: 0 auto;
}
.cat-pill {
  display: inline-block;
  padding: .35rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all .2s;
}
.cat-pill:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

/* ============================================================
   HOMEPAGE LAYOUT
============================================================ */
.home-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 3rem auto;
  padding: 0 2rem;
  align-items: start;
}

/* ============================================================
   SECTION HEADERS
============================================================ */
.section-hdr {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--navy);
  gap: 1rem;
}
.section-hdr h2 {
  font-size: 1.4rem;
  font-style: italic;
  margin: 0;
}
.section-hdr a {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}
.section-hdr a:hover { color: var(--gold); }

/* ============================================================
   FEATURED POSTS (4-column portrait grid)
============================================================ */
.featured-section { padding: 3rem 2rem; background: var(--bg); border-bottom: 1px solid var(--border); }
.featured-section .section-hdr { max-width: var(--max-width); margin: 0 auto 1.5rem; }
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.featured-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  display: block;
  text-decoration: none;
}
.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.featured-card:hover img { transform: scale(1.05); }
.featured-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,14,8,.85) 0%, rgba(20,14,8,.1) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
}
.featured-card-cat {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: .3rem;
}
.featured-card-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}

/* ============================================================
   PORTRAIT RECIPE CARDS (used in most sections)
============================================================ */
.recipe-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.recipe-card-wrap {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.recipe-card-wrap:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.recipe-card-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--cream-dark);
  position: relative;
}
.recipe-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.recipe-card-wrap:hover .recipe-card-img img { transform: scale(1.04); }
.recipe-card-img .no-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; opacity: .3;
  color: var(--gold);
}
.recipe-card-body { padding: 1rem 1.1rem 1.3rem; flex: 1; display: flex; flex-direction: column; }
.recipe-card-cat {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .35rem;
}
.recipe-card-cat a { color: inherit; }
.recipe-card-cat a:hover { color: var(--rust); }
.recipe-card-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: .5rem;
}
.recipe-card-title a { color: var(--text); }
.recipe-card-title a:hover { color: var(--gold); }
.recipe-card-excerpt {
  font-size: .83rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: .8rem;
  flex: 1;
}
.recipe-card-meta { font-size: .72rem; color: var(--text-light); }

/* ============================================================
   WIDE 4-COL SECTION (Popular, Desserts etc)
============================================================ */
.four-col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

/* ============================================================
   ABOUT SNIPPET (homepage)
============================================================ */
.about-snippet {
  background: var(--navy);
  color: #fff;
  padding: 3rem 2rem;
  text-align: center;
}
.about-snippet h2 {
  font-family: var(--script);
  font-size: 2rem;
  color: var(--gold-light);
  font-weight: 400;
  margin-bottom: .3rem;
}
.about-snippet p { color: rgba(255,255,255,.75); max-width: 520px; margin: 0 auto 1.5rem; }
.about-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.2rem;
  border: 3px solid var(--gold);
  background: var(--navy-dark);
}
.about-avatar img { width: 100%; height: 100%; object-fit: cover; }
.btn-gold {
  display: inline-block;
  padding: .65rem 1.8rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background .2s;
}
.btn-gold:hover { background: var(--gold-light); color: var(--navy-dark); }

/* ============================================================
   PRESS / FEATURED ON
============================================================ */
.press-bar {
  background: var(--cream-dark);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.8rem 2rem;
  text-align: center;
}
.press-bar h3 {
  font-size: .72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-family: var(--sans);
  font-weight: 700;
}
.press-logos {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.press-logos span {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-muted);
  font-weight: 700;
}

/* ============================================================
   SUBSCRIBE STRIP
============================================================ */
.subscribe-strip {
  background: var(--gold-pale);
  border-top: 1px solid #e8d9b0;
  border-bottom: 1px solid #e8d9b0;
  padding: 2.5rem 2rem;
  text-align: center;
}
.subscribe-strip h2 {
  font-family: var(--script);
  font-size: 2rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: .3rem;
}
.subscribe-strip p { font-size: .9rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.subscribe-form {
  display: flex;
  gap: .6rem;
  justify-content: center;
  flex-wrap: wrap;
}
.subscribe-form input[type="email"] {
  padding: .65rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: var(--sans);
  background: #fff;
  color: var(--text);
  width: 260px;
}
.subscribe-form input:focus { outline: none; border-color: var(--gold); }
.subscribe-form button {
  padding: .65rem 1.6rem;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: .78rem;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}
.subscribe-form button:hover { background: var(--navy-dark); }

/* ============================================================
   BLOG / ARCHIVE LAYOUT
============================================================ */
.archive-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 3rem auto;
  padding: 0 2rem;
  align-items: start;
}
.archive-hero {
  background: var(--navy);
  color: #fff;
  padding: 2.5rem 2rem;
  text-align: center;
}
.archive-hero h1 { color: #fff; font-style: italic; font-size: 2.2rem; margin-bottom: .4rem; }
.archive-hero p { color: rgba(255,255,255,.65); margin: 0; font-size: .95rem; }

/* ============================================================
   SINGLE POST
============================================================ */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 2.5rem auto;
  padding: 0 2rem;
  align-items: start;
}
.post-header { margin-bottom: 1.8rem; }
.post-cats { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .6rem; }
.post-cat-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: .67rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.post-cat-tag:hover { background: var(--navy); color: #fff; }
.post-date-byline { font-size: .78rem; color: var(--text-light); margin-bottom: .6rem; }
.post-title { font-size: 2.4rem; font-style: italic; line-height: 1.2; margin-bottom: .8rem; }
.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: .8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.post-meta-bar .author-ava {
  width: 34px; height: 34px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-dark);
  flex-shrink: 0;
}
.post-meta-bar .author-ava img { width: 100%; height: 100%; object-fit: cover; }
.post-featured-img { margin-bottom: .8rem; border-radius: var(--radius-lg); overflow: hidden; }
.post-featured-img img { width: 100%; max-height: 560px; object-fit: cover; }
.post-img-caption { font-size: .78rem; color: var(--text-light); font-style: italic; text-align: center; margin-bottom: 2rem; }
.post-content { font-size: .97rem; line-height: 1.85; color: var(--text-muted); }
.post-content h2 { font-size: 1.55rem; color: var(--text); margin: 2rem 0 .8rem; }
.post-content h3 { font-size: 1.25rem; color: var(--text); margin: 1.6rem 0 .6rem; }
.post-content strong { color: var(--text); }
.post-content em { color: var(--navy); }
.post-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.post-content a { color: var(--gold); font-weight: 700; }
.post-content a:hover { color: var(--rust); }
.post-tags { margin-top: 1.5rem; font-size: .82rem; color: var(--text-light); }
.post-tags a { color: var(--text-muted); font-weight: 700; }
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: .82rem;
  margin: 2.5rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.post-nav a { color: var(--text-muted); font-weight: 700; }
.post-nav a:hover { color: var(--gold); }

/* ============================================================
   RECIPE CARD (in-post)
============================================================ */
.recipe-box {
  border: 2px solid var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 2.5rem 0;
}
.recipe-box-header {
  background: var(--navy);
  color: #fff;
  padding: 1.5rem 1.8rem;
}
.recipe-box-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: .67rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .5rem;
}
.recipe-box-title { font-size: 1.5rem; font-style: italic; color: #fff; margin-bottom: .3rem; }
.recipe-box-desc { font-size: .85rem; color: rgba(255,255,255,.65); }
.recipe-box-body { padding: 1.8rem; background: var(--bg); }
.recipe-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 2rem;
}
.recipe-stat {
  text-align: center;
  padding: .8rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.recipe-stat-label { font-size: .65rem; text-transform: uppercase; letter-spacing: .6px; color: var(--text-light); margin-bottom: 3px; }
.recipe-stat-val { font-size: 1.25rem; font-weight: 700; color: var(--navy); font-family: var(--serif); }
.recipe-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.recipe-section-title {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--gold);
  padding-bottom: .4rem;
  margin-bottom: 1rem;
}
.recipe-ingredients li, .recipe-instructions li {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding: .3rem 0;
  border-bottom: 1px solid var(--border);
}
.recipe-ingredients li:last-child,
.recipe-instructions li:last-child { border-bottom: none; }
.recipe-ingredients li strong, .recipe-instructions li strong { color: var(--text); }
.recipe-notes {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: var(--gold-pale);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  font-size: .88rem;
  color: var(--text-muted);
}
.recipe-notes strong { color: var(--text); }
.recipe-actions { margin-top: 1.2rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.btn-print {
  padding: .5rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  font-family: var(--sans);
  transition: all .2s;
}
.btn-print:hover { background: var(--cream); color: var(--text); }

/* ============================================================
   SIDEBAR
============================================================ */
.sidebar { position: sticky; top: 80px; }
.widget { margin-bottom: 2.5rem; }
.widget-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--navy);
}

/* About widget */
.widget-about { text-align: center; }
.widget-about-img {
  width: 90px; height: 90px; border-radius: 50%;
  overflow: hidden; margin: 0 auto 1rem;
  border: 3px solid var(--gold);
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
}
.widget-about-img img { width: 100%; height: 100%; object-fit: cover; }
.widget-about p { font-size: .85rem; color: var(--text-muted); }
.widget-about a { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--gold); }

/* Search widget */
.widget-search { display: flex; gap: 6px; }
.widget-search input[type="search"] {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .85rem;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
}
.widget-search input:focus { outline: none; border-color: var(--gold); }
.widget-search button {
  padding: 8px 14px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: .85rem;
}

/* Recent posts widget */
.widget-recent-list { list-style: none; padding: 0; margin: 0; }
.widget-recent-list li {
  display: flex; gap: 10px;
  padding: .65rem 0;
  border-bottom: 1px solid var(--border);
}
.widget-recent-list li:last-child { border-bottom: none; }
.widget-recent-thumb {
  width: 60px; height: 60px;
  border-radius: var(--radius);
  overflow: hidden; flex-shrink: 0;
  background: var(--cream-dark);
}
.widget-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-recent-info a {
  font-size: .83rem; font-weight: 700;
  color: var(--text); display: block;
  line-height: 1.3; margin-bottom: 3px;
}
.widget-recent-info a:hover { color: var(--gold); }
.widget-recent-info span { font-size: .72rem; color: var(--text-light); }

/* Categories widget */
.widget-cats { list-style: none; padding: 0; margin: 0; }
.widget-cats li {
  display: flex; justify-content: space-between;
  padding: .4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
}
.widget-cats li:last-child { border-bottom: none; }
.widget-cats a { color: var(--text-muted); }
.widget-cats a:hover { color: var(--gold); }
.widget-cats .count { color: var(--text-light); }

/* Popular posts widget */
.widget-popular { list-style: none; padding: 0; margin: 0; }
.widget-popular li {
  display: flex; gap: 10px;
  padding: .65rem 0;
  border-bottom: 1px solid var(--border);
}
.widget-popular li:last-child { border-bottom: none; }

/* Social widget */
.widget-social { display: flex; flex-wrap: wrap; gap: .5rem; }
.widget-social a {
  display: inline-block;
  padding: .38rem .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all .2s;
}
.widget-social a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ============================================================
   COMMENTS
============================================================ */
.comments-wrap { margin-top: 3rem; padding-top: 2rem; border-top: 2px solid var(--navy); }
.comments-heading { font-size: 1.3rem; font-style: italic; margin-bottom: 2rem; }
.comment-list { list-style: none; padding: 0; margin: 0 0 2.5rem; }
.comment-item {
  display: flex; gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.comment-item:last-child { border-bottom: none; }
.comment-ava {
  width: 50px; height: 50px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--gold); font-size: 1rem;
}
.comment-ava img { width: 100%; height: 100%; object-fit: cover; }
.comment-body { flex: 1; }
.comment-author-name { font-weight: 700; font-size: .92rem; margin-bottom: 2px; }
.comment-date { font-size: .75rem; color: var(--text-light); margin-bottom: .6rem; }
.comment-text { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }
.comment-reply-link { display: inline-block; margin-top: .5rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: var(--text-light); }
.comment-reply-link:hover { color: var(--gold); }
.comment-form-title { font-family: var(--serif); font-size: 1.15rem; font-style: italic; margin-bottom: 1.5rem; }
.comment-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.comment-form .form-group { margin-bottom: 1rem; }
.comment-form label { display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: 5px; }
.comment-form input,
.comment-form textarea {
  width: 100%; padding: .6rem .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem; font-family: var(--sans);
  color: var(--text); background: var(--bg);
  transition: border-color .2s;
}
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--gold); }
.comment-form textarea { min-height: 130px; resize: vertical; }
.btn-submit {
  padding: .65rem 2rem;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: .78rem; font-family: var(--sans);
  font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; cursor: pointer;
  transition: background .2s;
}
.btn-submit:hover { background: var(--gold); color: var(--navy-dark); }

/* ============================================================
   PAGINATION
============================================================ */
.pagination { display: flex; gap: 6px; justify-content: center; margin: 2.5rem 0; flex-wrap: wrap; }
.pagination a,
.pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 .5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .85rem; color: var(--text-muted);
  text-decoration: none; transition: all .2s;
}
.pagination a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-dark); }
.pagination .current { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ============================================================
   RECIPE INDEX PAGE
============================================================ */
.recipe-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
}
.recipe-index-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  text-decoration: none;
}
.recipe-index-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.recipe-index-card:hover img { transform: scale(1.06); }
.recipe-index-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,14,8,.8) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem;
}
.recipe-index-cat { font-size: .62rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-light); margin-bottom: .25rem; }
.recipe-index-title { font-family: var(--serif); font-size: .92rem; font-weight: 700; color: #fff; line-height: 1.25; margin: 0; }

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-hero { background: var(--navy); color: #fff; padding: 4rem 2rem; text-align: center; }
.about-hero h1 { color: #fff; font-style: italic; font-size: 2.8rem; margin-bottom: .5rem; }
.about-hero p { color: rgba(255,255,255,.7); max-width: 500px; margin: 0 auto; }
.about-content { max-width: 760px; margin: 3rem auto; padding: 0 2rem; font-size: 1rem; line-height: 1.85; color: var(--text-muted); }
.about-content h2 { color: var(--text); font-size: 1.6rem; margin: 2rem 0 .8rem; }
.about-content strong { color: var(--text); }

/* ============================================================
   404 PAGE
============================================================ */
.page-404 { text-align: center; padding: 6rem 2rem; }
.page-404 .big-num { font-family: var(--serif); font-size: 8rem; color: var(--cream-dark); line-height: 1; margin-bottom: .5rem; font-style: italic; }
.page-404 h1 { font-size: 2rem; margin-bottom: .8rem; }
.page-404 p { color: var(--text-muted); margin-bottom: 2rem; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer { background: var(--navy-dark); color: #8fa0b8; margin-top: auto; }
.footer-top { padding: 3rem 2rem 2rem; max-width: var(--max-width); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2rem; }
.footer-col h3 { font-family: var(--serif); font-size: 1rem; font-style: italic; color: #fff; margin-bottom: 1rem; }
.footer-col p { font-size: .85rem; line-height: 1.7; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: .45rem; }
.footer-col ul li a { color: #8fa0b8; font-size: .85rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-logo { font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--gold-light); margin-bottom: .8rem; display: block; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.2rem 2rem;
  max-width: var(--max-width); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .5rem;
  font-size: .72rem;
}
.footer-bottom a { color: var(--gold-light); }
.footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ============================================================
   UTILITY
============================================================ */
.screen-reader-text { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.text-center { text-align: center; }
.gold-divider { width: 50px; height: 3px; background: var(--gold); margin: 0 auto 1.5rem; border-radius: 2px; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .featured-grid, .four-col-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .archive-layout, .home-layout, .single-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 720px) {
  .header-inner { padding: .7rem 1rem; flex-wrap: wrap; }
  .main-navigation { display: none; }
  .main-navigation.toggled {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy-dark); z-index: 9999;
    justify-content: center; align-items: center; gap: 1.5rem;
  }
  .main-navigation.toggled ul { flex-direction: column; text-align: center; gap: .5rem; }
  .main-navigation.toggled ul li a { font-size: 1.2rem; }
  .main-navigation.toggled .nav-close { display: block; }
  .menu-toggle { display: block; }
  .header-search { display: none; }
  .home-hero h1 { font-size: 2.2rem; }
  .featured-grid, .four-col-grid { grid-template-columns: repeat(2, 1fr); }
  .recipe-two-col { grid-template-columns: 1fr; }
  .recipe-stats-row { grid-template-columns: repeat(2, 1fr); }
  .comment-form .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .archive-layout, .single-layout, .home-layout { margin: 1.5rem auto; padding: 0 1rem; }
  .post-title { font-size: 1.8rem; }
  .container { padding: 0 1rem; }
}
@media (max-width: 480px) {
  .featured-grid, .four-col-grid, .recipe-index-grid { grid-template-columns: 1fr; }
  .recipe-cards-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PRINT
============================================================ */
@media print {
  .site-header, .top-bar, .follow-bar, .sidebar, .site-footer, .comments-wrap, .subscribe-strip, .press-bar { display: none !important; }
  .single-layout { grid-template-columns: 1fr; }
  .recipe-box { border: 1px solid #ccc; }
}
