/*
Theme Name:  ExploreHalalVietnam
Theme URI:   https://explorehalalvietnam.com
Author:      ExploreHalalVietnam
Description: Halal travel blog for Muslim travelers exploring Vietnam. Homepage uses clean minimalist layout; article pages use warm editorial style. Features live weather & events sidebar, newsletter block.
Version:     2.0.0
License:     GNU General Public License v2 or later
Text Domain: halal-vietnam
Tags:        blog, two-columns, right-sidebar, custom-colors, custom-menu, featured-images, translation-ready
*/

/* ── Fonts loaded via functions.php ──────────────────────────
   Homepage / UI   : Fraunces (display) + Nunito (body)
   Article pages   : Playfair Display (display) + Source Serif 4 (body)
──────────────────────────────────────────────────────────── */

/* ═══════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════ */
:root {
  /* Homepage palette (Minimal C) */
  --green:        #1F6B4E;
  --green-pale:   #F0F8F4;
  --green-mid:    #2D9E74;
  --amber:        #D4891A;
  --text:         #131313;
  --muted:        #888;
  --border:       #E5E5E5;
  --bg:           #FFFFFF;
  --rail:         4px;
  /* Article palette (Theme 1) */
  --sand:         #F5EFE0;
  --warm-white:   #FDFAF4;
  --terracotta:   #C1683A;
  --terracotta-lt:#E8936B;
  --forest:       #2C4A3E;
  --gold:         #B8973A;
  --art-text:     #1C1C1C;
  --art-muted:    #7A6F5E;
  --art-border:   #DDD4C0;

  /* ── SITE MARGINS ───────────────────────
     Change --site-max-width to make content
     area wider or narrower.
     Change --site-gutter for side whitespace.
  ──────────────────────────────────────── */
  --site-max-width: 1200px;
  --site-gutter:    40px;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
img { max-width:100%; height:auto; display:block; }
a { color:inherit; }

/* ── Page background (shows as side margins) ── */
body {
  background: #FFFFFF;
  color: var(--text);
  line-height: 1.6;
}

/* ── SITE WRAPPER — white card centred on page ── */
.site-wrapper {
  max-width: var(--site-max-width);
  margin: 0 auto;
  background: var(--bg);
}

/* Nav and footer stretch full width WITHIN the wrapper */
.site-header { width: 100%; }
.site-footer  { width: 100%; }


/* ═══════════════════════════════════
   NAV  (forest green, shared)
═══════════════════════════════════ */
.site-header {
  background: var(--forest);
  padding: 0 56px;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top:0; z-index:200;
}
.site-branding a {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700;
  color: #fff; text-decoration: none; letter-spacing: 0.5px;
}
.site-branding a em { font-style: normal; color: var(--gold); }
.main-navigation ul {
  display: flex; gap: 32px; list-style: none; margin:0; padding:0;
}
.main-navigation ul li a {
  text-decoration: none; font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-family: 'Source Serif 4', serif;
  font-weight: 300; letter-spacing: 1.5px;
  text-transform: uppercase; transition: color .2s;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a { color: var(--gold); }
.header-search {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 7px 18px;
  font-family: 'Nunito', sans-serif; font-size: 12px;
  color: rgba(255,255,255,0.8); font-weight:600;
  cursor: pointer; text-decoration: none; letter-spacing: 0.3px;
  transition: background .2s;
}
.header-search:hover { background: rgba(255,255,255,0.18); }


/* ═══════════════════════════════════
   HOMEPAGE HERO
═══════════════════════════════════ */
.site-intro {
  position: relative;
  padding: 96px 56px 88px;
  overflow: hidden;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center 60%;
  font-family: 'Nunito', sans-serif;
}
.site-intro::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.97) 0%,
    rgba(255,255,255,0.92) 38%,
    rgba(255,255,255,0.55) 65%,
    rgba(255,255,255,0.0)  100%
  );
  z-index:1;
}
.site-intro-inner { position:relative; z-index:2; max-width:580px; }
.intro-eyebrow {
  font-size:11px; letter-spacing:2.5px; text-transform:uppercase;
  color:var(--amber); font-weight:700; margin-bottom:20px;
}
.site-intro h1 {
  font-family: 'Fraunces', serif;
  font-size:58px; font-weight:300; line-height:1.08;
  letter-spacing:-1.5px; color:var(--text); margin-bottom:20px;
}
.site-intro h1 em { font-style:italic; color:var(--green); font-weight:400; }
.site-intro p {
  font-family: 'Nunito', sans-serif;
  font-size:16px; color:var(--muted); line-height:1.75;
  font-weight:300; max-width:460px;
}
.section-divider { height:2px; background:var(--text); margin:0 56px; }


/* ═══════════════════════════════════
   HOMEPAGE CONTENT GRID
═══════════════════════════════════ */
.content-area {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
}
.main-feed { border-right: 1px solid var(--border); }

/* Featured post — ALL posts use this layout */
.post-featured {
  padding: 40px 48px 40px 56px;
  border-bottom: 1px solid var(--border);
  border-left: var(--rail) solid var(--green);
  transition: background .15s;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 32px;
  align-items: center;
  font-family: 'Nunito', sans-serif;
  text-decoration: none;
}
.post-featured:hover { background: var(--green-pale); }

/* Alternate image to the LEFT on even posts */
.post-featured:nth-child(even) {
  grid-template-columns: 220px 1fr;
}
.post-featured:nth-child(even) .pf-img  { order: -1; }
.post-featured:nth-child(even) .pf-left { order:  1; }

/* Category kicker for non-first posts */
.pf-kicker {
  display: inline-block;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--amber); font-weight: 700; margin-bottom: 14px;
}
/* Placeholder when no featured image */
.pf-img-placeholder {
  display: block; width: 100%; aspect-ratio: 3/4;
  border-radius: 6px;
  background: linear-gradient(145deg, var(--green-pale), var(--green-rim, #C5E5D5));
}
.pf-badge {
  display:inline-flex; align-items:center; gap:6px;
  background:var(--green); color:#fff;
  font-size:10px; letter-spacing:2px; text-transform:uppercase;
  font-weight:700; padding:5px 12px; border-radius:100px; margin-bottom:18px;
}
.pf-title {
  font-family: 'Fraunces', serif;
  font-size:34px; font-weight:400; line-height:1.15;
  letter-spacing:-0.5px; color:var(--text);
  margin-bottom:14px; text-decoration:none; display:block; transition:color .15s;
}
.pf-title em { font-style:italic; color:var(--green); }
.pf-title:hover { color:var(--green); }
.pf-desc { font-size:14px; color:var(--muted); line-height:1.7; font-weight:300; margin-bottom:18px; }
.pf-meta { display:flex; gap:20px; font-size:12px; color:var(--muted); align-items:center; }
.pf-meta .read-link { color:var(--green); font-weight:700; text-decoration:none; display:flex; align-items:center; gap:5px; transition:gap .2s; }
.pf-meta .read-link:hover { gap:8px; }
.pf-img { aspect-ratio:3/4; border-radius:6px; overflow:hidden; background:linear-gradient(145deg,#0f3d28,#2d9e74); }
.pf-img img { width:100%; height:100%; object-fit:cover; }

/* Regular post item */
.post-item {
  padding: 28px 48px 28px 56px;
  border-bottom: 1px solid var(--border);
  border-left: var(--rail) solid transparent;
  display: grid; grid-template-columns: 1fr 100px;
  gap: 24px; align-items: center;
  transition: border-color .15s, background .15s;
  font-family: 'Nunito', sans-serif;
}
.post-item:hover { border-left-color:var(--green); background:var(--green-pale); }
.post-item:last-child { border-bottom:none; }
.pi-kicker { font-size:10px; letter-spacing:2px; text-transform:uppercase; color:var(--amber); font-weight:700; margin-bottom:7px; }
.pi-title {
  font-family: 'Fraunces', serif;
  font-size:21px; font-weight:400; line-height:1.25;
  letter-spacing:-0.3px; color:var(--text); margin-bottom:6px;
  text-decoration:none; display:block; transition:color .15s;
}
.post-item:hover .pi-title { color:var(--green); }
.pi-excerpt { font-size:13px; color:var(--muted); line-height:1.6; font-weight:300; }
.pi-foot { font-size:11px; color:#BBB; margin-top:8px; }
.pi-thumb { width:100px; aspect-ratio:1; border-radius:6px; overflow:hidden; background:var(--green-pale); }
.pi-thumb img { width:100%; height:100%; object-fit:cover; }

.posts-navigation { padding:32px 56px; border-top:1px solid var(--border); display:flex; justify-content:space-between; }
.posts-navigation a { font-size:13px; color:var(--green); font-weight:700; text-decoration:none; }


/* ═══════════════════════════════════
   HOMEPAGE SIDEBAR
═══════════════════════════════════ */
.widget-area { padding:40px; font-family:'Nunito',sans-serif; }
.widget { margin-bottom:40px; }
.widget-title { font-size:10px; letter-spacing:2.5px; text-transform:uppercase; color:var(--text); font-weight:700; padding-bottom:12px; border-bottom:2px solid var(--text); margin-bottom:20px; }

.events-block { border:1px solid var(--border); border-radius:8px; overflow:hidden; margin-bottom:28px; }
.eb-header { background:var(--text); padding:12px 16px; display:flex; align-items:center; justify-content:space-between; }
.eb-header-title { font-size:10px; letter-spacing:2px; text-transform:uppercase; color:#fff; font-weight:700; }
.eb-live { display:flex; align-items:center; gap:6px; font-size:10px; color:rgba(255,255,255,0.55); }
.eb-dot { width:6px; height:6px; border-radius:50%; background:#4ADE80; animation:pulse 2s ease infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.event-item { padding:14px 16px; border-bottom:1px solid var(--border); cursor:pointer; transition:background .15s; }
.event-item:last-child { border-bottom:none; }
.event-item:hover { background:var(--green-pale); }
.ei-date { font-size:10px; letter-spacing:1px; text-transform:uppercase; color:var(--amber); font-weight:700; margin-bottom:4px; }
.ei-name { font-family:'Fraunces',serif; font-size:15px; font-weight:400; color:var(--text); line-height:1.3; margin-bottom:3px; }
.ei-loc { font-size:11px; color:var(--muted); }
.ei-tag { display:inline-block; margin-top:5px; background:var(--green-pale); color:var(--green); font-size:9px; font-weight:700; letter-spacing:1px; text-transform:uppercase; padding:2px 8px; border-radius:100px; }

.weather-block { border:1px solid var(--border); border-radius:8px; overflow:hidden; margin-bottom:28px; }
.wb-header { padding:12px 16px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; }
.wb-title { font-size:10px; letter-spacing:2px; text-transform:uppercase; color:var(--text); font-weight:700; }
.wb-date { font-size:11px; color:var(--muted); }
.weather-row { display:flex; align-items:center; padding:11px 16px; border-bottom:1px solid var(--border); gap:10px; }
.weather-row:last-child { border-bottom:none; }
.wr-icon { font-size:22px; flex-shrink:0; width:32px; text-align:center; }
.wr-city { flex:1; font-size:14px; font-weight:600; color:var(--text); }
.wr-desc { font-size:11px; color:var(--muted); font-weight:300; }
.wr-temp { font-family:'Fraunces',serif; font-size:20px; font-weight:400; color:var(--text); flex-shrink:0; }
.wr-temp span { font-size:12px; color:var(--muted); }
.wr-note { font-size:10px; color:var(--green); font-weight:600; background:var(--green-pale); padding:2px 7px; border-radius:100px; white-space:nowrap; flex-shrink:0; }
.loading-spinner { padding:20px 16px; text-align:center; font-size:13px; color:var(--muted); display:flex; align-items:center; justify-content:center; gap:8px; }
.spin { width:14px; height:14px; border-radius:50%; border:2px solid var(--border); border-top-color:var(--green); animation:spin .7s linear infinite; }
@keyframes spin { to{transform:rotate(360deg)} }

.about-box { background:var(--green); padding:24px; border-radius:8px; margin-bottom:32px; }
.ab-title { font-family:'Fraunces',serif; font-size:20px; font-weight:400; color:#fff; font-style:italic; margin-bottom:10px; }
.ab-text { font-size:13px; color:rgba(255,255,255,0.65); line-height:1.65; }
.ab-link { display:inline-block; margin-top:16px; font-size:12px; color:#fff; font-weight:700; text-decoration:none; border-bottom:1px solid rgba(255,255,255,0.3); }

.dest-list { display:flex; flex-direction:column; }
.dest-row { display:flex; align-items:center; justify-content:space-between; padding:12px 0; border-bottom:1px solid var(--border); text-decoration:none; color:var(--text); transition:color .15s; }
.dest-row:last-child { border-bottom:none; }
.dest-row:hover { color:var(--green); }
.dest-name { font-size:15px; font-family:'Fraunces',serif; font-weight:400; }
.dest-count { font-size:11px; color:var(--muted); background:var(--green-pale); padding:3px 10px; border-radius:100px; }

.cat-list { display:flex; flex-wrap:wrap; gap:8px; }
.cat-tag { background:none; border:1px solid var(--border); color:var(--muted); padding:6px 14px; border-radius:100px; font-size:12px; font-weight:600; text-decoration:none; transition:border-color .15s, color .15s; display:inline-block; }
.cat-tag:hover { border-color:var(--green); color:var(--green); }


/* ═══════════════════════════════════
   SINGLE POST HERO  (Theme 1 editorial)
═══════════════════════════════════ */
.single-post-hero {
  background: var(--sand);
  padding: 64px 56px 52px;
}
.single-hero-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 400px;
  gap: 64px; align-items: center;
}
.sh-eyebrow { display:flex; align-items:center; gap:12px; margin-bottom:24px; }
.sh-tag { background:var(--terracotta); color:#fff; font-size:11px; letter-spacing:2px; text-transform:uppercase; padding:5px 14px; font-weight:600; font-family:'Source Serif 4',serif; }
.sh-category { color:var(--art-muted); font-size:13px; letter-spacing:1px; text-transform:uppercase; font-family:'Source Serif 4',serif; }
.single-post-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px; line-height: 1.15;
  color: var(--forest); margin-bottom: 20px; font-weight:700;
}
.single-post-hero h1 em { font-style:italic; color:var(--terracotta); }
.sh-subtitle { font-size:18px; color:var(--art-muted); font-weight:300; margin-bottom:32px; max-width:480px; font-family:'Source Serif 4',serif; }
.sh-meta { display:flex; align-items:center; gap:20px; padding-top:24px; border-top:1px solid var(--art-border); }
.sh-avatar { width:40px; height:40px; border-radius:50%; background:var(--terracotta-lt); display:flex; align-items:center; justify-content:center; color:white; font-size:16px; }
.sh-meta-text { font-size:13px; color:var(--art-muted); font-family:'Source Serif 4',serif; }
.sh-meta-text strong { color:var(--art-text); display:block; font-size:14px; }
.sh-image { position:relative; }
.sh-img-box { width:100%; aspect-ratio:4/5; border-radius:4px; overflow:hidden; background:linear-gradient(135deg,#C1683A 0%,#8B4513 40%,#2C4A3E 100%); }
.sh-img-box img { width:100%; height:100%; object-fit:cover; }
.sh-badge { position:absolute; top:-16px; right:-16px; width:84px; height:84px; background:var(--gold); border-radius:50%; display:flex; flex-direction:column; align-items:center; justify-content:center; font-family:'Playfair Display',serif; font-size:11px; color:white; text-align:center; line-height:1.4; font-weight:700; }
.single-divider { max-width:1100px; margin:0 auto; padding:0 56px; border-top:1px solid var(--art-border); }


/* ═══════════════════════════════════
   SINGLE POST BODY  (Theme 1 editorial)
═══════════════════════════════════ */
.single-layout {
  max-width: 1100px; margin: 0 auto;
  padding: 60px 56px 80px;
  display: grid; grid-template-columns: 1fr 280px;
  gap: 72px;
}
.article-body { font-family:'Source Serif 4',serif; }
.article-body p { font-size:17px; margin-bottom:22px; color:#2A2A2A; font-weight:300; line-height:1.8; }
.article-body p:first-of-type::first-letter { font-family:'Playfair Display',serif; font-size:64px; float:left; line-height:0.8; margin:8px 12px 0 0; color:var(--terracotta); }
.article-body h2 { font-family:'Playfair Display',serif; font-size:28px; color:var(--forest); margin:48px 0 16px; padding-bottom:12px; border-bottom:2px solid var(--terracotta); display:inline-block; }
.article-body h3 { font-family:'Playfair Display',serif; font-size:22px; color:var(--forest); margin:32px 0 12px; }
.article-body ul, .article-body ol { margin:0 0 22px 24px; }
.article-body li { font-size:16px; color:#2A2A2A; line-height:1.75; margin-bottom:8px; font-weight:300; }
.article-body a { color:var(--terracotta); }
.article-body strong { color:var(--art-text); font-weight:600; }
.article-body img { border-radius:4px; margin:32px 0; }
.single-featured-img { margin-bottom:40px; border-radius:4px; overflow:hidden; }
.single-featured-img img { width:100%; }

/* Blockquote → pull quote */
.pull-quote, .article-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 20px 28px; margin: 36px 0;
  background: var(--sand);
}
.pull-quote p, .article-body blockquote p {
  font-family:'Playfair Display',serif;
  font-size:22px; font-style:italic; color:var(--forest); margin:0;
}
.pull-quote p::first-letter,
.article-body blockquote p::first-letter { all:unset; }

/* Restaurant cards */
.rest-card { border:1px solid var(--art-border); border-radius:4px; padding:20px 24px; margin:12px 0; display:flex; gap:16px; align-items:flex-start; background:#fff; transition:box-shadow .2s; }
.rest-card:hover { box-shadow:0 4px 20px rgba(0,0,0,.08); }
.rest-icon { width:44px; height:44px; flex-shrink:0; background:var(--sand); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:20px; }
.rest-name { font-family:'Playfair Display',serif; font-size:17px; color:var(--forest); margin-bottom:4px; }
.rest-tag { display:inline-block; background:#EAF2EE; color:var(--forest); font-size:10px; letter-spacing:1.5px; text-transform:uppercase; padding:3px 8px; border-radius:2px; margin-bottom:8px; font-weight:600; }
.rest-desc { font-size:14px; color:var(--art-muted); font-weight:300; }

/* Single post sidebar */
.single-sidebar { font-family:'Source Serif 4',serif; }
.sidebar-card { background:var(--sand); padding:24px; margin-bottom:20px; border-radius:4px; }
.sidebar-card h3 { font-family:'Playfair Display',serif; font-size:16px; color:var(--forest); margin-bottom:14px; padding-bottom:10px; border-bottom:1px solid var(--art-border); }
.sidebar-list { list-style:none; }
.sidebar-list li { padding:9px 0; border-bottom:1px solid var(--art-border); font-size:13px; color:var(--art-muted); display:flex; align-items:center; gap:10px; }
.sidebar-list li:last-child { border-bottom:none; }
.sidebar-list li::before { content:'→'; color:var(--terracotta); }
.tip-box { background:var(--forest); color:rgba(255,255,255,.85); padding:24px; border-radius:4px; margin-bottom:20px; }
.tip-box h3 { color:var(--gold); font-family:'Playfair Display',serif; font-size:15px; margin-bottom:12px; }
.tip-box p { font-size:13px; line-height:1.7; font-weight:300; }

/* Post nav */
.post-nav-row { padding:28px 0; border-top:1px solid var(--art-border); margin-top:48px; display:flex; justify-content:space-between; font-family:'Playfair Display',serif; }
.post-nav-row a { color:var(--forest); text-decoration:none; font-size:14px; }
.post-nav-row a:hover { color:var(--terracotta); }


/* ═══════════════════════════════════
   NEWSLETTER  (shared)
═══════════════════════════════════ */
.newsletter-section { border-top:2px solid var(--text); padding:56px; display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; background:#FAFAFA; font-family:'Nunito',sans-serif; }
.nl-eyebrow { font-size:10px; letter-spacing:2.5px; text-transform:uppercase; color:var(--amber); font-weight:700; margin-bottom:16px; }
.nl-title { font-family:'Fraunces',serif; font-size:34px; font-weight:400; line-height:1.15; letter-spacing:-0.5px; color:var(--text); margin-bottom:12px; }
.nl-title em { font-style:italic; color:var(--green); }
.nl-desc { font-size:14px; color:var(--muted); line-height:1.7; font-weight:300; }
.nl-bullets { margin-top:20px; display:flex; flex-direction:column; gap:8px; }
.nl-bullet { display:flex; align-items:center; gap:10px; font-size:13px; color:var(--muted); }
.nl-bullet::before { content:'✓'; color:var(--green); font-weight:700; }
.nl-form { display:flex; flex-direction:column; gap:12px; }
.nl-input { width:100%; padding:14px 18px; border-radius:6px; border:1px solid var(--border); font-family:'Nunito',sans-serif; font-size:14px; color:var(--text); background:var(--bg); outline:none; transition:border-color .15s; }
.nl-input:focus { border-color:var(--green); }
.nl-input::placeholder { color:#BBB; }
.nl-freq { display:flex; gap:8px; }
.nl-freq-opt { flex:1; padding:10px; border:1px solid var(--border); border-radius:6px; text-align:center; font-family:'Nunito',sans-serif; font-size:12px; font-weight:600; color:var(--muted); cursor:pointer; transition:border-color .15s, color .15s, background .15s; }
.nl-freq-opt.selected, .nl-freq-opt:hover { border-color:var(--green); color:var(--green); background:var(--green-pale); }
.nl-submit { width:100%; padding:14px; border-radius:6px; border:none; background:var(--green); color:#fff; font-family:'Nunito',sans-serif; font-size:14px; font-weight:700; cursor:pointer; transition:background .15s, transform .15s; }
.nl-submit:hover { background:#186040; transform:translateY(-1px); }
.nl-note { font-size:11px; color:#BBB; text-align:center; }


/* ═══════════════════════════════════
   FOOTER  (shared)
═══════════════════════════════════ */
.site-footer { background:var(--forest); color:rgba(255,255,255,0.6); padding:28px 56px; display:flex; align-items:center; justify-content:space-between; font-family:'Nunito',sans-serif; font-size:13px; }
.footer-logo { font-family:'Playfair Display',serif; font-size:18px; font-weight:700; color:#fff; text-decoration:none; }
.footer-logo em { font-style:normal; color:var(--gold); }
.footer-nav { display:flex; gap:24px; }
.footer-nav a { color:rgba(255,255,255,0.6); text-decoration:none; font-size:13px; transition:color .15s; }
.footer-nav a:hover { color:var(--gold); }
.footer-copy { color:rgba(255,255,255,0.35); font-size:12px; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET  (max 1024px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {

  /* Reduce horizontal padding */
  .site-header       { padding: 0 32px; }
  .site-intro        { padding: 72px 32px 64px; }
  .section-divider   { margin: 0 32px; }
  .post-featured     { padding: 32px 32px 32px 40px; }
  .post-item         { padding: 24px 32px 24px 40px; }
  .widget-area       { padding: 32px 28px; }
  .single-post-hero  { padding: 48px 32px 40px; }
  .single-layout     { padding: 48px 32px 64px; gap: 48px; }
  .newsletter-section{ padding: 48px 32px; gap: 48px; }
  .site-footer       { padding: 24px 32px; }

  /* Narrower sidebar */
  .content-area { grid-template-columns: 1fr 280px; }

  /* Single hero — slightly smaller image */
  .single-hero-inner { gap: 40px; }
  .single-post-hero h1 { font-size: 40px; }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE  (max 768px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── NAV: hide links, show logo + search only ── */
  .site-header {
    padding: 0 20px;
    height: 56px;
  }
  .main-navigation { display: none; } /* replace with hamburger menu later */
  .site-branding a { font-size: 17px; }

  /* ── HERO ── */
  .site-intro {
    padding: 56px 20px 48px;
    background-position: center right;
  }
  .site-intro::before {
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0.97) 0%,
      rgba(255,255,255,0.95) 60%,
      rgba(255,255,255,0.85) 100%
    );
  }
  .site-intro h1   { font-size: 40px; letter-spacing: -1px; }
  .site-intro p    { font-size: 15px; }
  .section-divider { margin: 0 20px; }

  /* ── CONTENT: stack feed + sidebar vertically ── */
  .content-area {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .main-feed { border-right: none; border-bottom: 2px solid var(--text); }

  /* All featured posts: stack to 1 col, image always on top */
  .post-featured,
  .post-featured:nth-child(even) {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    border-left-width: 3px;
  }
  .post-featured .pf-img,
  .post-featured:nth-child(even) .pf-img  { order: -1; }
  .post-featured .pf-left,
  .post-featured:nth-child(even) .pf-left { order:  1; }
  .pf-title { font-size: 26px; }
  .pf-meta  { flex-wrap: wrap; gap: 8px; font-size: 11px; }

  /* Regular post items */
  .post-item {
    padding: 20px 20px 20px 28px;
    grid-template-columns: 1fr 80px;
    gap: 16px;
    border-left-width: 3px;
  }
  .pi-title   { font-size: 18px; }
  .pi-thumb   { width: 80px; }
  .pi-excerpt { display: none; } /* hide excerpt on small screens */

  /* Sidebar: full width below feed */
  .widget-area { padding: 28px 20px; }
  .weather-row { flex-wrap: wrap; gap: 6px; }
  .wr-note     { margin-top: 4px; }

  /* ── SINGLE POST HERO ── */
  .single-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0;
  }
  .single-post-hero { padding: 40px 20px 32px; }
  .single-post-hero h1 { font-size: 32px; }
  .sh-subtitle { font-size: 16px; }
  .sh-image { order: -1; } /* image above title on mobile */
  .sh-img-box { aspect-ratio: 16/9; }
  .sh-badge { display: none; } /* hide badge on mobile */

  /* ── SINGLE POST BODY ── */
  .single-layout {
    grid-template-columns: 1fr;
    padding: 32px 20px 48px;
    gap: 40px;
  }
  .article-body p             { font-size: 16px; }
  .article-body h2            { font-size: 24px; }
  .article-body p:first-of-type::first-letter {
    font-size: 48px;
    margin: 6px 8px 0 0;
  }
  .single-divider { padding: 0 20px; }

  /* ── NEWSLETTER ── */
  .newsletter-section {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 32px;
  }
  .nl-title  { font-size: 26px; }
  .nl-freq   { flex-direction: column; }

  /* ── FOOTER ── */
  .site-footer {
    flex-direction: column;
    gap: 16px;
    padding: 28px 20px;
    text-align: center;
  }
  .footer-nav { flex-wrap: wrap; justify-content: center; gap: 16px; }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE  (max 480px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  .site-intro h1   { font-size: 34px; }
  .pf-title        { font-size: 22px; }
  .pi-title        { font-size: 17px; }
  .single-post-hero h1 { font-size: 28px; }

  /* Stack weather note below temp on very small screens */
  .weather-row     { flex-wrap: wrap; }
  .wr-note         { width: 100%; margin-top: 4px; }

  /* Restaurant cards */
  .rest-card       { flex-direction: column; gap: 10px; }
  .rest-icon       { width: 36px; height: 36px; font-size: 17px; }
}

/* ═══════════════════════════════════════════════════════════
   HAMBURGER MENU  (mobile nav toggle)
═══════════════════════════════════════════════════════════ */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  padding: 7px 10px;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  line-height: 1;
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-navigation {
    display: none;
    position: absolute;
    top: 56px; left: 0; right: 0;
    background: var(--forest);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 8px 0;
    z-index: 300;
  }
  .main-navigation.is-open { display: block; }
  .main-navigation ul {
    flex-direction: column;
    gap: 0;
  }
  .main-navigation ul li a {
    display: block;
    padding: 13px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 14px;
    letter-spacing: 1px;
  }
}

/* ── Mailchimp response messages ── */
.nl-mc-msg {
  padding: 12px 16px;
  border-radius: 6px;
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.nl-mc-error {
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}
.nl-mc-success {
  background: var(--green-pale);
  color: var(--green);
  border: 1px solid var(--green-rim, #C5E5D5);
}

/* Hide Mailchimp default styles that might leak in */
#mc_embed_signup { all: unset; }

/* ── Newsletter name row (First / Last side by side) ── */
.nl-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .nl-name-row { grid-template-columns: 1fr; }
}
