/* ============================================================
   FarmFreshMichigan — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --cream: #f5f0e8;
  --cream-dark: #ede6d6;
  --green-deep: #2a4a2e;
  --green-mid: #3d6b42;
  --green-light: #5a8f60;
  --amber: #c8862a;
  --amber-light: #e8a84a;
  --rust: #b04a2a;
  --text-dark: #1e2d1f;
  --text-mid: #4a5e4c;
  --text-light: #7a8e7c;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(42,74,46,0.1);
  --shadow-lg: 0 12px 48px rgba(42,74,46,0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  min-height: 100vh;
}

/* -- NAV -- */
.site-nav {
  background: #ffffff;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 90px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  position: sticky; top: 0; z-index: 200;
  transition: height 0.3s ease, box-shadow 0.3s ease;
}
.site-nav.nav--scrolled {
  height: 56px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img {
  height: 70px; width: auto; display: block;
  transition: height 0.3s ease;
}
.nav--scrolled .nav-logo-img { height: 40px; }
.nav-logo-icon { font-size: 1.6rem; }
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700; color: var(--green-deep);
}
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-links a {
  color: var(--text-mid); text-decoration: none;
  font-size: 0.875rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--green-deep); }
.nav-submit {
  background: var(--amber); color: var(--white) !important;
  padding: 0.4rem 1rem; border-radius: 8px;
  font-weight: 600 !important; transition: background 0.2s !important;
}
.nav-submit:hover { background: var(--amber-light) !important; }

/* -- HERO -- */
.site-hero {
  position: relative; min-height: 420px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 4rem 2rem 3rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1488459716781-31db52582fe9?w=1600&q=85');
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30,45,31,0.85) 0%, rgba(42,74,46,0.75) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(200,134,42,0.2); border: 1px solid rgba(200,134,42,0.4);
  color: var(--amber-light); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.3rem 0.875rem; border-radius: 100px; margin-bottom: 1.25rem;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 1rem;
}
.hero-title em { color: var(--amber-light); font-style: italic; }
.hero-subtitle {
  color: rgba(255,255,255,0.7); font-size: 1.05rem;
  line-height: 1.65; margin-bottom: 2rem; max-width: 560px; margin-left: auto; margin-right: auto;
}

/* -- SEARCH BAR -- */
.search-bar {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  background: rgba(255,255,255,0.12); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px; padding: 0.625rem;
  max-width: 680px; width: 100%;
}
.search-bar input, .search-bar select {
  border: none; background: rgba(255,255,255,0.9);
  border-radius: 9px; padding: 0.65rem 1rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--text-dark);
  flex: 1; min-width: 140px;
}
.search-bar input:focus, .search-bar select:focus { outline: none; background: #fff; }
.search-bar button {
  background: var(--amber); color: var(--white);
  border: none; border-radius: 9px;
  padding: 0.65rem 1.25rem; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: background 0.2s;
}
.search-bar button:hover { background: var(--amber-light); }

/* -- FILTER TILES -- */
.filters-bar {
  background: var(--white); border-bottom: 1px solid var(--cream-dark);
  padding: 1rem 1.5rem; position: sticky; top: 64px; z-index: 100;
}
.filters-inner { max-width: 1200px; margin: 0 auto; }
.filter-group { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.filter-group:last-child { margin-bottom: 0; }
.filter-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-light);
  margin-right: 0.25rem; white-space: nowrap;
}
.filter-tile {
  background: var(--cream); border: 1.5px solid var(--cream-dark);
  border-radius: 100px; padding: 0.3rem 0.85rem;
  font-size: 0.78rem; font-weight: 500; color: var(--text-mid);
  cursor: pointer; transition: all 0.15s; white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}
.filter-tile:hover { border-color: var(--green-mid); color: var(--green-deep); }
.filter-tile.active {
  background: var(--green-deep); border-color: var(--green-deep);
  color: var(--white); font-weight: 600;
}
.filter-tile.day-tile.active { background: var(--amber); border-color: var(--amber); }
.clear-filters-btn {
  background: none; border: none; font-size: 0.75rem; color: var(--text-light);
  cursor: pointer; text-decoration: underline; margin-left: 0.5rem;
  font-family: 'DM Sans', sans-serif;
}
.clear-filters-btn:hover { color: var(--rust); }
.last-updated {
  font-size: 0.72rem; color: var(--text-light);
  padding: 0.35rem 1.5rem; background: var(--cream);
  border-bottom: 1px solid var(--cream-dark); text-align: center;
}

/* -- STATS BAR -- */
.stats-bar {
  background: var(--amber); padding: 0.875rem 2rem;
  display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num { display: block; font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 900; color: var(--white); line-height: 1; }
.stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; }

/* -- MAIN CONTAINER -- */
.main-container { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }
.results-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.75rem;
}
.results-count { font-size: 0.875rem; color: var(--text-light); font-weight: 500; }
.results-count strong { color: var(--text-dark); }
.view-toggle { display: flex; gap: 0.375rem; }
.view-btn {
  background: var(--cream); border: 1.5px solid var(--cream-dark);
  border-radius: 8px; padding: 0.4rem 0.875rem;
  font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 600;
  color: var(--text-mid); cursor: pointer; transition: all 0.15s;
}
.view-btn.active { background: var(--green-deep); border-color: var(--green-deep); color: var(--white); }

/* -- MARKET GRID -- */
.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.market-card {
  background: var(--white); border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: fadeUp 0.4s ease both;
}
.market-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.market-photo { position: relative; height: 180px; overflow: hidden; background: var(--cream-dark); }
.market-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.market-card:hover .market-photo img { transform: scale(1.04); }
.market-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--green-deep); color: var(--white);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: 100px;
}
.market-badge.seasonal { background: var(--amber); }
.market-body { padding: 1.1rem 1.25rem 1.25rem; }
.market-region { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-light); margin-bottom: 0.3rem; }
.market-name { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--text-dark); line-height: 1.2; margin-bottom: 0.6rem; }
.market-address { display: flex; align-items: flex-start; gap: 0.4rem; font-size: 0.8rem; color: var(--text-light); line-height: 1.4; margin-bottom: 0.75rem; }
.market-days { font-size: 0.8rem; color: var(--text-mid); margin-bottom: 0.75rem; line-height: 1.4; }
.market-days-label { font-weight: 600; color: var(--text-dark); }
.market-season { font-size: 0.75rem; color: var(--text-light); margin-bottom: 1rem; }
.market-actions { display: flex; gap: 0.5rem; }
.btn-outline-sm {
  flex: 1; text-align: center; padding: 0.5rem 0.5rem;
  border: 1.5px solid var(--green-deep); border-radius: 8px;
  color: var(--green-deep); font-size: 0.78rem; font-weight: 600;
  text-decoration: none; transition: all 0.15s; font-family: 'DM Sans', sans-serif;
}
.btn-outline-sm:hover { background: var(--green-deep); color: var(--white); }
.btn-primary-sm {
  flex: 1; text-align: center; padding: 0.5rem 0.5rem;
  background: var(--green-deep); border-radius: 8px; border: 1.5px solid var(--green-deep);
  color: var(--white); font-size: 0.78rem; font-weight: 600;
  text-decoration: none; transition: background 0.15s; font-family: 'DM Sans', sans-serif;
}
.btn-primary-sm:hover { background: var(--green-mid); border-color: var(--green-mid); }

/* -- MAP VIEW -- */
#map-view { display: none; }
#map-container { height: 600px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.map-popup h3 { font-family: 'Playfair Display', serif; font-size: 1rem; margin-bottom: 4px; color: var(--text-dark); }
.map-popup p { font-size: 0.8rem; color: var(--text-mid); margin-bottom: 3px; }
.map-popup a { color: var(--green-mid); font-size: 0.8rem; font-weight: 600; }

/* -- NO RESULTS -- */
.no-results { text-align: center; padding: 4rem 2rem; grid-column: 1 / -1; }
.no-results-icon { font-size: 3rem; margin-bottom: 1rem; }
.no-results h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--text-dark); margin-bottom: 0.5rem; }
.no-results p { color: var(--text-light); }

/* -- SCROLL TO TOP -- */
.scroll-top-btn {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  background: var(--green-deep); color: var(--white);
  border: none; border-radius: 50%; width: 44px; height: 44px;
  font-size: 1.1rem; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.2s;
}
.scroll-top-btn.visible { opacity: 1; pointer-events: auto; }
.scroll-top-btn:hover { background: var(--green-mid); transform: translateY(-3px); }

/* -- SINGLE MARKET PAGE -- */
.market-hero {
  position: relative; height: 340px; overflow: hidden; background: var(--green-deep);
}
.market-hero img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.market-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(30,45,31,0.2) 0%, rgba(30,45,31,0.75) 100%);
}
.market-hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem 2.5rem; max-width: 1100px; margin: 0 auto;
}
.hero-region-badge {
  display: inline-block;
  background: rgba(200,134,42,0.25); border: 1px solid rgba(200,134,42,0.5);
  color: var(--amber-light); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.25rem 0.75rem; border-radius: 100px; margin-bottom: 0.6rem;
}
.market-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 900; color: var(--white); line-height: 1.1;
}
.hero-season-badge {
  display: inline-block; margin-top: 0.6rem;
  background: rgba(42,74,46,0.7); border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85); font-size: 0.78rem;
  padding: 0.3rem 0.75rem; border-radius: 100px;
}
.single-layout {
  max-width: 1100px; margin: 0 auto; padding: 2.5rem 1.5rem 5rem;
  display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start;
}
.detail-card {
  background: var(--white); border-radius: 16px; box-shadow: var(--shadow);
  overflow: hidden; margin-bottom: 1.5rem;
}
.detail-card:last-child { margin-bottom: 0; }
.card-header {
  padding: 1.25rem 1.5rem 0; display: flex; align-items: center; gap: 0.6rem;
}
.card-icon {
  width: 32px; height: 32px; border-radius: 8px; background: var(--green-deep);
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem; flex-shrink: 0;
}
.card-title {
  font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--text-dark);
}
.card-body { padding: 1rem 1.5rem 1.5rem; }
.address-line {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9rem; color: var(--text-mid); line-height: 1.5; margin-bottom: 0.75rem;
}
.schedule-row {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--cream-dark);
}
.schedule-row:last-child { border-bottom: none; }
.day-pill {
  background: var(--green-deep); color: var(--white);
  font-size: 0.7rem; font-weight: 700; padding: 0.25rem 0.6rem;
  border-radius: 100px; min-width: 40px; text-align: center;
}
.sched-hours { font-size: 0.88rem; color: var(--text-dark); font-weight: 500; }
.season-note { font-size: 0.8rem; color: var(--text-light); margin-top: 0.75rem; }
.yr-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  padding: 0.2rem 0.55rem; border-radius: 100px;
  background: rgba(42,74,46,0.12); color: var(--green-deep); margin-left: 0.4rem;
}
.yr-badge.seasonal { background: rgba(200,134,42,0.12); color: var(--amber); }
.tags-wrap { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  background: var(--cream); border: 1.5px solid var(--cream-dark);
  color: var(--text-mid); font-size: 0.78rem; font-weight: 500;
  padding: 0.3rem 0.7rem; border-radius: 100px;
}
.contact-item {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.88rem; color: var(--text-mid);
  padding: 0.5rem 0; border-bottom: 1px solid var(--cream-dark);
}
.contact-item:last-child { border-bottom: none; }
.contact-item a { color: var(--green-mid); text-decoration: none; font-weight: 500; }
.contact-item a:hover { color: var(--green-deep); text-decoration: underline; }
#single-map { height: 260px; width: 100%; border-radius: 0 0 16px 16px; }
.action-btns { display: flex; flex-direction: column; gap: 0.6rem; }
.btn-primary {
  display: block; text-align: center; background: var(--green-deep); color: var(--white);
  text-decoration: none; border-radius: 10px; padding: 0.75rem 1.25rem;
  font-size: 0.9rem; font-weight: 600; transition: background 0.2s; font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover { background: var(--green-mid); color: var(--white); }
.btn-outline {
  display: block; text-align: center; background: transparent; color: var(--green-deep);
  border: 1.5px solid var(--green-deep); text-decoration: none; border-radius: 10px;
  padding: 0.7rem 1.25rem; font-size: 0.9rem; font-weight: 600; transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.btn-outline:hover { background: var(--green-deep); color: var(--white); }
.nearby-grid { display: flex; flex-direction: column; gap: 0.75rem; }
.nearby-card {
  display: flex; gap: 1rem; align-items: center; text-decoration: none;
  padding: 0.85rem 1rem; background: var(--cream); border-radius: 10px;
  border: 1.5px solid var(--cream-dark); transition: all 0.15s;
}
.nearby-card:hover { border-color: var(--green-mid); background: var(--white); }
.nearby-thumb { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.nearby-name { font-size: 0.88rem; font-weight: 600; color: var(--text-dark); line-height: 1.3; }
.nearby-meta { font-size: 0.75rem; color: var(--text-light); margin-top: 0.2rem; }
.nearby-arrow { color: var(--text-light); font-size: 1.1rem; margin-left: auto; }

/* -- SUBMIT PAGE -- */
.page-hero {
  background: var(--green-deep);
  background-image: radial-gradient(ellipse at 80% 50%, rgba(90,143,96,0.25) 0%, transparent 60%);
  padding: 3.5rem 2rem; text-align: center;
}
.page-hero-eyebrow {
  display: inline-block;
  background: rgba(200,134,42,0.2); border: 1px solid rgba(200,134,42,0.4);
  color: var(--amber-light); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.3rem 0.875rem; border-radius: 100px; margin-bottom: 1rem;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 0.75rem;
}
.page-hero h1 em { color: var(--amber-light); font-style: italic; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1rem; max-width: 520px; margin: 0 auto; line-height: 1.65; }
.page-body { max-width: 780px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.form-card { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.form-section { padding: 2rem 2.25rem; border-bottom: 1px solid var(--cream-dark); }
.form-section:last-of-type { border-bottom: none; }
.section-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.section-icon {
  width: 36px; height: 36px; border-radius: 10px; background: var(--green-deep);
  display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.section-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--text-dark); }
.section-subtitle { font-size: 0.8rem; color: var(--text-light); margin-top: 0.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.field-row.full { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-light); }
.field label .required { color: var(--rust); margin-left: 2px; }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--cream-dark); border-radius: 10px;
  padding: 0.65rem 0.9rem; font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem; color: var(--text-dark); background: var(--cream);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  appearance: none; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-mid); background: var(--white);
  box-shadow: 0 0 0 3px rgba(61,107,66,0.1);
}
.field input.error, .field select.error, .field textarea.error { border-color: var(--rust); }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.field-hint { font-size: 0.73rem; color: var(--text-light); margin-top: 0.2rem; }
.field-error { font-size: 0.72rem; color: var(--rust); margin-top: 0.2rem; display: none; }
.field-error.visible { display: block; }
.form-footer {
  padding: 1.75rem 2.25rem; background: var(--cream);
  border-top: 1px solid var(--cream-dark);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.form-footer-note { font-size: 0.78rem; color: var(--text-light); line-height: 1.5; }
.submit-btn {
  background: var(--green-deep); color: var(--white); border: none; border-radius: 10px;
  padding: 0.8rem 2.25rem; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s; letter-spacing: 0.02em;
}
.submit-btn:hover { background: var(--green-mid); }
.success-panel { display: none; text-align: center; padding: 4rem 2rem; }
.success-panel.visible { display: block; }
.success-icon {
  width: 72px; height: 72px; border-radius: 50%; background: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 1.5rem;
}
.success-panel h2 { font-family: 'Playfair Display', serif; font-size: 1.75rem; color: var(--text-dark); margin-bottom: 0.75rem; }
.success-panel p { color: var(--text-mid); line-height: 1.65; max-width: 420px; margin: 0 auto 1.5rem; }

/* -- FOOTER -- */
.site-footer {
  background: #ffffff !important; padding: 2.5rem 2rem; text-align: center;
  border-top: 1px solid var(--cream-dark);
}
.footer-logo {
  font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700;
  color: var(--green-deep); margin-bottom: 0.5rem;
}
.site-footer p { color: var(--text-light) !important; font-size: 0.85rem; line-height: 1.6; margin-bottom: 0.5rem; }
.footer-notice { margin-top: 1rem; font-size: 0.78rem; color: var(--text-light) !important; }
.footer-notice a { color: var(--green-mid) !important; text-decoration: none; }
.footer-notice a:hover { color: var(--green-deep) !important; }

/* -- RESPONSIVE -- */
@media (max-width: 768px) {
  .single-layout { grid-template-columns: 1fr; }
  .market-hero { height: 260px; }
  .search-bar { flex-direction: column; }
  .field-row { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: stretch; }
}
/* ---- Hamburger button (hidden on desktop) ---- */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--green-deep); border-radius: 2px;
  transition: all 0.25s;
  transform-origin: center;
}
.nav-hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger--open span:nth-child(2) { opacity: 0; }
.nav-hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 600px) {
  .site-nav { padding: 0 1rem; position: relative; flex-wrap: wrap; height: auto; min-height: 64px; }
  .nav-logo-img { height: 44px; }
  .nav-hamburger { display: flex; margin-left: auto; }
  .nav-links {
    display: none;
    flex-direction: column; align-items: stretch;
    width: 100%; gap: 0;
    background: #ffffff;
    border-top: 1px solid var(--cream-dark);
    padding: 0.5rem 0 0.75rem;
  }
  .nav-links.nav-open { display: flex; }
  .nav-links a {
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 0;
    color: var(--text-mid);
  }
  .nav-links a:hover, .nav-links a.active { color: var(--green-deep); }
  .nav-submit {
    margin: 0.35rem 1rem 0;
    text-align: center;
    border-radius: 8px;
  }
}

/* -- BREADCRUMBS -- */
.breadcrumbs {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
}
.breadcrumbs-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.3rem;
  font-size: 0.8rem;
}
.breadcrumbs-inner a {
  color: var(--green-mid); text-decoration: none; font-weight: 500;
  transition: color 0.15s;
}
.breadcrumbs-inner a:hover { color: var(--green-deep); text-decoration: underline; }
.bc-sep { color: var(--text-light); font-size: 0.85rem; margin: 0 0.1rem; }
.bc-current { color: var(--text-light); font-weight: 400; }

/* -- REGION HERO -- */
.region-hero {
  position: relative; min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; padding: 3rem 2rem;
}
.region-hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1488459716781-31db52582fe9?w=1600&q=85');
  background-size: cover; background-position: center;
}
.region-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(30,45,31,0.88) 0%, rgba(42,74,46,0.80) 100%);
}
.region-hero-content { position: relative; z-index: 1; max-width: 640px; }
.region-hero-emoji {
  font-size: 2.5rem; line-height: 1; margin-bottom: 0.75rem;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.region-eyebrow {
  display: inline-block;
  background: rgba(200,134,42,0.2); border: 1px solid rgba(200,134,42,0.4);
  color: var(--amber-light); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.3rem 0.875rem; border-radius: 100px; margin-bottom: 0.75rem;
}
.region-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 0.75rem;
}
.region-hero-desc {
  color: rgba(255,255,255,0.72); font-size: 0.95rem; line-height: 1.65;
  max-width: 500px; margin: 0 auto 1.25rem;
}
.region-hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 0.75rem;
  font-size: 0.88rem; color: rgba(255,255,255,0.8);
}
.region-hero-stats strong { color: var(--amber-light); font-weight: 700; }
.rh-stat-divider { color: rgba(255,255,255,0.3); }

/* -- REGION FILTER BAR -- */
.region-filter-bar {
  background: var(--white); border-bottom: 1px solid var(--cream-dark);
  position: sticky; top: 64px; z-index: 100;
  box-shadow: 0 2px 8px rgba(42,74,46,0.06);
}
.region-filter-inner {
  max-width: 1100px; margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem;
}

/* -- REGION BODY -- */
.region-body {
  max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem 4rem;
}
.region-results-bar {
  font-size: 0.85rem; color: var(--text-mid); margin-bottom: 1.5rem;
}

/* -- REGION MARKET CARDS -- */
.market-card {
  background: var(--white); border-radius: 16px;
  box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.market-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-img-link { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.market-card:hover .card-img { transform: scale(1.04); }
.card-img-placeholder {
  width: 100%; height: 100%; background: var(--green-deep);
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
}
.card-badge {
  position: absolute; top: 0.6rem; right: 0.6rem;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.25rem 0.6rem; border-radius: 100px;
}
.year-round-badge { background: var(--green-deep); color: var(--white); }
.seasonal-badge { background: rgba(200,134,42,0.9); color: var(--white); }
.market-card .card-body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.card-name { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.card-name a { color: var(--text-dark); text-decoration: none; }
.card-name a:hover { color: var(--green-mid); }
.card-city { font-size: 0.78rem; color: var(--text-light); margin-bottom: 0.3rem; }
.card-days { font-size: 0.78rem; color: var(--green-mid); font-weight: 600; margin-bottom: 0.6rem; }
.card-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.85rem; }
.card-cta {
  margin-top: auto; font-size: 0.82rem; font-weight: 600;
  color: var(--green-deep); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.25rem;
  transition: gap 0.15s;
}
.card-cta:hover { gap: 0.5rem; color: var(--green-mid); }

/* -- EXPLORE OTHER REGIONS -- */
.explore-regions {
  background: var(--green-deep);
  background-image: radial-gradient(ellipse at 80% 50%, rgba(90,143,96,0.2) 0%, transparent 60%);
  padding: 3rem 2rem;
}
.explore-regions-inner { max-width: 1100px; margin: 0 auto; }
.explore-title {
  font-family: 'Playfair Display', serif; font-size: 1.4rem;
  color: var(--white); margin-bottom: 1.5rem; text-align: center;
}
.region-chips { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.region-chip {
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85); text-decoration: none;
  padding: 0.55rem 1rem; border-radius: 100px;
  font-size: 0.85rem; font-weight: 500;
  transition: all 0.2s;
}
.region-chip:hover {
  background: rgba(255,255,255,0.16); border-color: var(--amber-light);
  color: var(--amber-light); transform: translateY(-2px);
}
.region-chip-emoji { font-size: 1rem; }
.region-chip-count {
  background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.6);
  font-size: 0.7rem; font-weight: 700;
  padding: 0.1rem 0.45rem; border-radius: 100px; margin-left: 0.1rem;
}

/* -- MISC HELPERS -- */
.link-btn {
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--green-mid); font-size: inherit; font-family: inherit;
  font-weight: 600; text-decoration: underline;
}
.link-btn:hover { color: var(--green-deep); }

/* -- RESPONSIVE: REGION -- */
@media (max-width: 768px) {
  .region-hero { min-height: 260px; }
  .region-filter-inner { padding: 0.6rem 1rem; }
  .region-body { padding: 1.5rem 1rem 3rem; }
}


/* ============================================================
   FLUENT FORMS SKIN — matches FarmFreshMichigan design system
   ============================================================ */

/* Form wrapper */
.wpf-card .fluentform,
.wpf-card .ff_form_wrapper { margin: 0; padding: 0; }

/* ---- Regular field groups ---- */
.wpf-card .ff-el-group {
  padding: 0 2.25rem 1.25rem;
  margin-bottom: 0;
}

/* ---- Section header groups (ff-custom_html — underscore) ---- */
.wpf-card .ff-el-group.ff-custom_html {
  padding: 2rem 2.25rem 0.75rem;
  border-top: 1px solid var(--cream-dark);
  margin-top: 0.5rem;
}
/* Very first element in the form — no border, no extra margin */
.wpf-card .ff-el-group.ff-custom_html:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 2rem;
}

/* Section header inner elements */
.ffm-section-header { display: flex; align-items: center; gap: 0.75rem; }
.ffm-section-icon   { font-size: 1.5rem; line-height: 1; }
.ffm-section-icon img.emoji { width: 1.5rem; height: 1.5rem; vertical-align: middle; }
.ffm-section-title  { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--text-dark); }
.ffm-section-sub    { font-size: 0.78rem; color: var(--text-light); margin-top: 0.1rem; }

/* ---- Labels ---- */
.wpf-card .ff-el-input--label label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.35rem;
  display: block;
}
/* Required asterisk */
.wpf-card .ff-el-is-required.asterisk-right .ff-el-input--label label:after {
  content: ' *';
  color: var(--rust);
}

/* ---- Inputs, selects, textareas ---- */
.wpf-card .ff-el-form-control {
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: 8px;
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}
.wpf-card .ff-el-form-control:focus {
  outline: none;
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(90,143,96,0.15);
}
.wpf-card textarea.ff-el-form-control {
  resize: vertical;
  min-height: 110px;
  line-height: 1.55;
}

/* ---- Help text ---- */
.wpf-card .ff-el-help-message {
  font-size: 0.73rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

/* ---- Validation errors ---- */
.wpf-card .error.text-danger {
  font-size: 0.72rem;
  color: var(--rust);
  margin-top: 0.2rem;
  padding: 0;
  border: none;
  background: none;
  display: block;
}
.wpf-card .ff-el-is-error .ff-el-form-control { border-color: var(--rust); }

/* ---- Submit button ---- */
.wpf-card .ff-el-group.ff_submit_btn_wrapper {
  padding: 0.5rem 2.25rem 2rem;
  border-top: none;
  margin-top: 0;
}
.wpf-card .ff-btn-submit {
  display: inline-flex;
  align-items: center;
  background: var(--green-deep);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.85rem 2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: none;
}
.wpf-card .ff-btn-submit:hover { background: var(--green-mid); }

/* ---- Success message ---- */
.wpf-card .ff-message-success {
  text-align: center;
  padding: 3rem 2rem;
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.65;
  box-shadow: none;
  border: none;
  background: none;
}

/* ---- Not active notice ---- */
.wpf-missing-notice { padding: 2.5rem 2.25rem; color: var(--text-mid); }

/* ---- Mobile ---- */
@media (max-width: 600px) {
  .wpf-card .ff-el-group,
  .wpf-card .ff-el-group.ff-custom_html,
  .wpf-card .ff-el-group.ff_submit_btn_wrapper {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* ---- Targeted spacing fixes ---- */
.wpf-card .fluentform .ff-el-group { margin: 0 !important; }
.wpf-card .fluentform .ff-el-group:first-child { padding-top: 2rem !important; }

/* ---- Mobile filter dropdowns ---- */
.filter-group--mobile { display: none; }

@media (max-width: 640px) {
  /* Hide tile buttons, show dropdowns */
  .filter-group--tiles { display: none !important; }
  .filter-group--mobile {
    display: flex; gap: 0.5rem; flex-wrap: nowrap; width: 100%;
  }
  .mobile-filter-select {
    flex: 1; min-width: 0;
    background: var(--cream); border: 1.5px solid var(--cream-dark);
    border-radius: 8px; padding: 0.5rem 0.75rem;
    font-family: 'DM Sans', sans-serif; font-size: 0.85rem;
    color: var(--text-dark); cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232a4a2e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.6rem center;
    padding-right: 2rem;
  }
  .mobile-filter-select:focus { outline: 2px solid var(--green-mid); }
  .mobile-clear-btn {
    background: none; border: 1.5px solid var(--cream-dark);
    border-radius: 8px; padding: 0.5rem 0.75rem;
    font-size: 0.8rem; color: var(--text-light);
    cursor: pointer; white-space: nowrap;
    font-family: 'DM Sans', sans-serif;
  }
  .mobile-clear-btn:active { color: var(--rust); border-color: var(--rust); }

  /* Tighten search bar on mobile */
  .search-bar {
    flex-direction: column; gap: 0.4rem;
  }
  .search-bar select { display: none; } /* hidden — filters-bar handles it */
  .search-bar input { min-width: unset; width: 100%; }
  .search-bar button { width: 100%; }

  /* Stats bar */
  .stats-bar { flex-wrap: wrap; gap: 0.5rem; padding: 0.75rem 1rem; }
  .stat-item { font-size: 0.8rem; }
}

/* ============================================================
   BLOG STYLES
   ============================================================ */

/* -- Post content typography -- */
.entry-content { color: var(--text-mid); font-size: 0.95rem; line-height: 1.85; }
.entry-content p { margin: 0 0 1.25rem; }
.entry-content h2 { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; color: var(--text-dark); margin: 2rem 0 0.75rem; }
.entry-content h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin: 1.75rem 0 0.6rem; }
.entry-content h4 { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: var(--text-dark); margin: 1.5rem 0 0.5rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin: 0 0 1.25rem; }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content a { color: var(--green-mid); text-decoration: underline; }
.entry-content a:hover { color: var(--green-deep); }
.entry-content strong { color: var(--text-dark); font-weight: 600; }
.entry-content img { max-width: 100%; border-radius: 10px; margin: 1rem 0; display: block; }
.entry-content blockquote { border-left: 3px solid var(--amber); padding: 0.5rem 0 0.5rem 1.25rem; margin: 1.5rem 0; color: var(--text-light); font-style: italic; }
.entry-content hr { border: none; border-top: 1px solid var(--cream-dark); margin: 2rem 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: 0.88rem; }
.entry-content th { background: var(--green-deep); color: #fff; padding: 0.6rem 0.9rem; text-align: left; font-weight: 600; }
.entry-content td { padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--cream-dark); }
.entry-content tr:nth-child(even) td { background: var(--cream); }
.entry-content .product-box { background: var(--cream); border: 1px solid var(--cream-dark); border-radius: 10px; padding: 1.1rem 1.25rem; margin: 1.5rem 0; display: flex; gap: 1rem; align-items: flex-start; }
.entry-content .product-box img { width: 80px; height: 80px; object-fit: contain; border-radius: 6px; flex-shrink: 0; margin: 0; }
.entry-content .product-box-title { font-weight: 600; color: var(--text-dark); font-size: 0.9rem; margin-bottom: 0.25rem; }
.entry-content .product-box-desc { font-size: 0.82rem; color: var(--text-light); margin-bottom: 0.5rem; line-height: 1.5; }
.entry-content .product-box-btn { display: inline-block; background: var(--amber); color: #fff; font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.9rem; border-radius: 50px; text-decoration: none; }
.entry-content .product-box-btn:hover { background: var(--amber-light); color: #fff; }

/* -- Blog hero (shared by single.php and home.php) -- */
.blog-hero { padding: 2.5rem 2rem; }
.blog-hero-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.blog-hero-eyebrow { margin-bottom: 0.75rem; }
.blog-hero-eyebrow a,
.blog-hero-label {
  display: inline-block;
  background: rgba(200,134,42,0.25); color: #e8a84a;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 0.3rem 0.85rem;
  border-radius: 50px; text-decoration: none;
}
.blog-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900; color: #fff; line-height: 1.2; margin: 0;
}
.blog-hero-date { margin-top: 1rem; color: rgba(255,255,255,0.6); font-size: 0.82rem; }

/* -- Single post featured image -- */
.post-featured-img-wrap {
  max-width: 860px; margin: 0 auto; padding: 0 1.5rem;
}
.post-featured-img-wrap > div {
  border-radius: 16px; overflow: hidden; max-height: 440px;
}
.post-featured-img-wrap img {
  width: 100%; height: 440px; object-fit: cover; display: block;
}

/* -- Single post body -- */
.post-body-wrap {
  max-width: 760px; margin: 0 auto; padding: 2.5rem 1.5rem 5rem;
}
.post-card {
  background: #fff; border-radius: 16px;
  box-shadow: 0 4px 24px rgba(42,74,46,0.1); padding: 2.5rem 2.75rem;
}
.post-tags {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--cream-dark);
  display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center;
}
.post-tag {
  font-size: 0.78rem; background: var(--cream); color: var(--green-deep);
  padding: 0.3rem 0.8rem; border-radius: 50px; text-decoration: none;
  border: 1px solid var(--cream-dark);
}
.post-edit-link { margin-left: auto; font-size: 0.78rem; color: var(--text-light); text-decoration: none; }

/* -- Related posts -- */
.related-posts { margin-top: 3rem; }
.related-posts h2 {
  font-family: 'Playfair Display', serif; font-size: 1.3rem;
  font-weight: 800; color: var(--text-dark); margin-bottom: 1.25rem;
}
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem;
}
.related-card {
  display: block; background: #fff; border-radius: 12px;
  box-shadow: 0 2px 12px rgba(42,74,46,0.08);
  overflow: hidden; text-decoration: none; transition: transform 0.2s;
}
.related-card:hover { transform: translateY(-2px); }
.related-card img { width: 100%; height: 140px; object-fit: cover; display: block; }
.related-card-placeholder {
  width: 100%; height: 140px; background: var(--green-deep);
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
}
.related-card-body { padding: 1rem; }
.related-card-title {
  font-family: 'Playfair Display', serif; font-weight: 700;
  font-size: 0.95rem; color: var(--text-dark); line-height: 1.35;
}
.related-card-date { font-size: 0.78rem; color: var(--text-light); margin-top: 0.4rem; }

/* -- Blog archive (home.php) -- */
.blog-archive-wrap { max-width: 1100px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.blog-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 0.6rem;
}
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.blog-card--featured {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
}
.blog-card--featured .blog-card__img { height: 340px; border-radius: 16px 0 0 16px; }
.blog-card--featured .blog-card__img--placeholder { border-radius: 16px 0 0 16px; }
.blog-card--featured .blog-card__body { padding: 2.25rem 2rem; border-radius: 0 16px 16px 0; }
.blog-card--featured .blog-card__title { font-size: 1.5rem; }
.blog-card--featured .blog-card__excerpt { display: block; }
.blog-card {
  display: flex; flex-direction: column; background: #fff;
  border-radius: 16px; overflow: hidden; text-decoration: none;
  box-shadow: 0 2px 14px rgba(42,74,46,0.07); transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(42,74,46,0.13); }
.blog-card__img { width: 100%; height: 200px; object-fit: cover; display: block; }
.blog-card__img--placeholder {
  height: 200px; background: var(--green-deep);
  display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
}
.blog-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.4rem; flex: 1;
}
.blog-cat {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--amber);
}
.blog-card__title {
  font-family: 'Playfair Display', serif; font-size: 1.05rem;
  font-weight: 800; color: var(--text-dark); line-height: 1.3; margin: 0;
}
.blog-card__excerpt { display: none; font-size: 0.88rem; color: var(--text-light); line-height: 1.65; margin: 0.35rem 0 0; }
.blog-card__meta { font-size: 0.76rem; color: var(--text-light); margin-top: auto; padding-top: 0.5rem; }
.blog-pagination { margin-top: 3rem; text-align: center; }
.blog-empty { text-align: center; padding: 4rem 1rem; color: var(--text-light); }
.blog-empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.page-numbers {
  display: inline-block; padding: 0.45rem 0.9rem; margin: 0 0.2rem;
  background: #fff; border: 1px solid var(--cream-dark); border-radius: 8px;
  color: var(--green-deep); text-decoration: none; font-size: 0.85rem; font-weight: 600;
}
.page-numbers.current, .page-numbers:hover { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }

/* -- Homepage blog section -- */
.home-blog-section { background: var(--cream); border-top: 1px solid var(--cream-dark); padding: 4rem 1.5rem; }
.home-blog-inner { max-width: 1100px; margin: 0 auto; }
.home-blog-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 1.75rem; gap: 1rem;
}
.home-blog-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--amber); margin-bottom: 0.3rem;
}
.home-blog-title {
  font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900; color: var(--green-deep); margin: 0; line-height: 1.1;
}
.home-blog-all { font-size: 0.85rem; font-weight: 600; color: var(--green-mid); text-decoration: none; white-space: nowrap; }
.home-blog-all:hover { color: var(--green-deep); text-decoration: underline; }
.home-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.hb-card {
  background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none;
  box-shadow: 0 2px 12px rgba(42,74,46,0.07); transition: transform 0.2s, box-shadow 0.2s;
  display: flex; flex-direction: column;
}
.hb-card:hover { transform: translateY(-3px); box-shadow: 0 6px 24px rgba(42,74,46,0.13); }
.hb-card__img { width: 100%; height: 190px; object-fit: cover; display: block; }
.hb-card__img--placeholder {
  height: 190px; background: var(--green-deep);
  display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
}
.hb-card__body { padding: 1.1rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.hb-cat { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--amber); }
.hb-card__title { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1rem; color: var(--text-dark); line-height: 1.35; }
.hb-card__meta { font-size: 0.75rem; color: var(--text-light); margin-top: auto; padding-top: 0.4rem; }

@media (max-width: 800px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-card--featured { grid-template-columns: 1fr; }
  .blog-card--featured .blog-card__img { border-radius: 16px 16px 0 0; height: 220px; }
  .blog-card--featured .blog-card__body { border-radius: 0 0 16px 16px; }
  .home-blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .blog-grid { grid-template-columns: 1fr; }
  .home-blog-grid { grid-template-columns: 1fr; }
  .home-blog-header { flex-direction: column; align-items: flex-start; }
  .post-card { padding: 1.5rem 1.25rem; }
}
