/* ═══════════════════════════════════════════════════════
   Corkscrew Travels — Shared Stylesheet
   v1.0.0
   ═══════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --cream: #F5F0E8;
  --warm-white: #FAF7F2;
  --terracotta: #B85C38;
  --terracotta-light: #D4724E;
  --burgundy: #6B2737;
  --burgundy-light: #8B3548;
  --forest: #2C4A35;
  --forest-light: #3D6B4A;
  --amber: #C8860A;
  --warm-gray: #8C8070;
  --dark: #1E1A16;
  --text: #2E2820;
  --text-muted: #4A4240;
}


/* ── RESET & BASE ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }


/* ── NAV ── */
nav#main-nav,
body > nav:first-of-type {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 92, 56, 0.12);
  transition: all 0.3s ease;
}

.nav-logo {
  font-family: 'Dancing Script', cursive;
  font-size: 28px;
  color: var(--terracotta);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #3A3330;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--terracotta);
}

.nav-search {
  width: 18px; height: 18px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1.5;
  cursor: pointer;
  transition: stroke 0.2s;
}
.nav-search:hover { stroke: var(--terracotta); }

.nav-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--terracotta); }

/* Mobile hamburger (future) */
.nav-hamburger {
  display: none;
  width: 24px; height: 24px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: all 0.3s;
}


/* ── HERO (shared base — pages override specifics) ── */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1.0); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeUp 1s ease-out 0.3s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.08;
}

.hero-title em {
  font-style: italic;
}

.hero-desc {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
}

.hero-breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}
.hero-breadcrumb a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.hero-breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.breadcrumb-sep { margin: 0 6px; opacity: 0.5; }


/* ── SECTION HEADERS ── */
.section-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 8px;
}

.section-title em {
  font-style: italic;
  color: var(--forest);
}

.section-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 32px;
}

.see-all-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  text-decoration: none;
  transition: opacity 0.2s;
}
.see-all-link:hover { opacity: 0.7; }


/* ── STARS / RATINGS ── */
.stars { display: flex; gap: 2px; }
.star { width: 10px; height: 10px; }
.star-full { fill: var(--amber); }
.star-empty { fill: #DDD8CE; }


/* ── VERDICT PILLS ── */
.verdict {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-block;
}

.verdict-go     { background: #E6F0E8; color: var(--forest); }
.verdict-skip   { background: #F5E6E6; color: #8B3333; }
.verdict-pill   { background: rgba(200,134,10,0.12); color: var(--amber); }


/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  padding: 15px 36px;
  background: var(--terracotta);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--terracotta-light); }

.btn-ghost {
  display: inline-block;
  padding: 13px 32px;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.btn-wine {
  display: inline-block;
  padding: 13px 32px;
  border: 1px solid var(--burgundy);
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-wine:hover {
  background: var(--burgundy);
  color: #fff;
}

.btn-load-more {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 1px solid rgba(46,40,32,0.15);
  background: transparent;
  color: var(--text-muted);
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-load-more:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.load-more-wrap {
  text-align: center;
  padding: 16px 0 48px;
}


/* ── SIDEBAR (shared pattern) ── */
.sidebar-card {
  background: var(--warm-white);
  border: 1px solid rgba(46,40,32,0.08);
  border-radius: 4px;
  padding: 22px;
}

.sidebar-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(46,40,32,0.07);
}

.sidebar-list {
  display: flex;
  flex-direction: column;
}

.sidebar-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(46,40,32,0.05);
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.18s;
  cursor: pointer;
}
.sidebar-list-item:last-child { border-bottom: none; }
.sidebar-list-item:hover { color: var(--forest); }

.sidebar-list-count {
  font-size: 11px;
  color: rgba(46,40,32,0.3);
}

.sidebar-ad {
  margin-top: 28px;
}


/* ── AD ZONES ── */
.ad-leaderboard {
  background: var(--warm-white);
  border-top: 1px solid rgba(46,40,32,0.06);
  border-bottom: 1px solid rgba(46,40,32,0.06);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ad-label {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(46,40,32,0.25);
}

.ad-unit {
  background: rgba(46,40,32,0.04);
  border: 1px dashed rgba(46,40,32,0.12);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(46,40,32,0.2);
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* Standard IAB sizes */
.ad-unit-leaderboard { width: 728px; height: 90px; max-width: 100%; }
.ad-unit-rect        { width: 300px; height: 250px; }
.ad-unit-mobile      { width: 320px; height: 50px; max-width: 100%; }

.ad-infeed {
  margin: 8px 0 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(46,40,32,0.08);
  padding-bottom: 20px;
}


/* ── TIPS / NUMBERED LIST (shared between homepage & wine) ── */
.tip-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(46,40,32,0.08);
}
.tip-item:last-child { border-bottom: none; }

.tip-num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 400;
  color: rgba(46,40,32,0.12);
  line-height: 1;
}

.tip-content { }

.tip-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}

.tip-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
}


/* ── TAGS ── */
.route-tag {
  font-size: 10px;
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid rgba(46,40,32,0.1);
  color: var(--text-muted);
  white-space: nowrap;
}


/* ── PULL QUOTE (articles) ── */
.pull-quote {
  border-left: 3px solid var(--terracotta);
  margin: 36px 0;
  padding: 20px 28px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
}


/* ── PAGE LAYOUTS ── */
.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.page-header {
  padding: 140px 72px 48px;
  background: var(--warm-white);
  border-bottom: 1px solid rgba(46,40,32,0.08);
}

.page-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 12px;
}

.page-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 600px;
}

/* Main + sidebar layout */
.content-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 48px 72px;
}

.main-col { min-width: 0; }
.sidebar-col { }


/* ── FILTER / SUB-NAV STRIPS ── */
.filter-bar {
  padding: 28px 72px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(46,40,32,0.08);
  background: var(--warm-white);
  overflow-x: auto;
}

.filter-btn {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 7px 18px;
  border: 1px solid rgba(46,40,32,0.18);
  border-radius: 24px;
  background: transparent;
  color: #3A3330;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.filter-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #3A3330;
  margin-right: 6px;
}

/* Cuisine / Region tab strips */
.cuisine-nav,
.region-nav {
  display: flex;
  gap: 0;
  padding: 0 48px;
  background: var(--warm-white);
  border-bottom: 1px solid rgba(46,40,32,0.08);
  overflow-x: auto;
}

.cuisine-tab,
.region-tab {
  padding: 16px 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3A3330;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}
.cuisine-tab:hover,
.region-tab:hover {
  color: var(--text);
}
.cuisine-tab.active,
.region-tab.active {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}


/* ── FOOTER ── */
footer {
  background: #14100C;
  padding: 48px 48px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-brand {
  font-family: 'Dancing Script', cursive;
  font-size: 26px;
  color: var(--terracotta);
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.35);
  margin-top: 6px;
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

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

.footer-col-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col-links a:hover { color: rgba(255,255,255,0.8); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}


/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1, .reveal-d1 { transition-delay: 0.1s; }
.reveal-delay-2, .reveal-d2 { transition-delay: 0.2s; }
.reveal-delay-3, .reveal-d3 { transition-delay: 0.3s; }
.reveal-delay-4, .reveal-d4 { transition-delay: 0.4s; }


/* ── RESPONSIVE — BASE ── */
@media (max-width: 900px) {
  nav#main-nav,
  body > nav:first-of-type {
    padding: 16px 24px;
  }
  .nav-links { gap: 20px; }

  .page-header { padding: 120px 24px 36px; }
  .page-wrap { padding: 0 24px; }

  .content-wrap {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }

  .sidebar-col { order: 2; }

  .filter-bar { padding: 20px 24px; }
  .cuisine-nav,
  .region-nav { padding: 0 24px; }

  footer { padding: 40px 24px 28px; }

  .ad-unit-leaderboard { width: 100%; }
}

@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-content { padding: 0 24px 48px; }

  .tip-item { grid-template-columns: 36px 1fr; }
  .tip-num { font-size: 24px; }

  .pull-quote { padding: 16px 20px; font-size: 19px; }
}

/* ═══════════════════════════════════════════════════════
   SHARED PAGE COMPONENTS
   (previously duplicated in per-page $extra_head blocks)
   ═══════════════════════════════════════════════════════ */

/* ── Section padding ── */
.section-pad { padding: 96px 72px; }
@media(max-width:900px) { .section-pad { padding: 64px 24px; } }

/* ── Stop / article cards ── */
.stop-card { background: var(--warm-white); border-radius: 3px; overflow: hidden; cursor: pointer; transition: transform .25s, box-shadow .25s; text-decoration: none; display: block; }
.stop-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(30,26,22,.1); }
.stop-card-img-wrap { position: relative; overflow: hidden; }
.stop-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform .4s; }
.stop-card:hover .stop-card-img { transform: scale(1.04); }
.stop-type-badge { position: absolute; top: 12px; left: 12px; font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; border-radius: 2px; color: #fff; }
.badge-winery  { background: var(--burgundy); }
.badge-restaurant { background: var(--forest); }
.badge-scenic  { background: #185FA5; }
.badge-route   { background: var(--terracotta); }
.badge-tip     { background: var(--amber); }
.stop-card-body { padding: 18px 20px 22px; }
.stop-card-name { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 400; color: var(--text); line-height: 1.3; margin-bottom: 4px; }
.stop-card-location { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.stop-card-note { font-family: 'Cormorant Garamond', serif; font-size: 15px; font-weight: 300; font-style: italic; color: var(--text-muted); line-height: 1.55; margin-bottom: 12px; }
.stop-card-footer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid rgba(46,40,32,.06); }

/* ── Verdict pills (full set) ── */
.verdict-pill          { font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; }
.verdict-go            { background: rgba(44,74,53,.1); color: var(--forest); }
.verdict-worth         { background: rgba(44,74,53,.07); color: var(--forest); }
.verdict-skip          { background: rgba(180,50,50,.08); color: #B33; }
.verdict-mixed         { background: rgba(200,134,10,.1); color: var(--amber); }

/* ── Route card type bars ── */
.bar-wine    { background: var(--burgundy); }
.bar-food    { background: var(--forest); }
.bar-sports  { background: #185FA5; }
.bar-city    { background: var(--amber); }
.bar-nature  { background: #3D6B4A; }
.type-wine   { color: var(--burgundy); }
.type-food   { color: var(--forest); }
.type-sports { color: #185FA5; }
.type-city   { color: var(--amber); }
.type-nature { color: #3D6B4A; }
.dot-wine    { background: var(--burgundy); }
.dot-food    { background: var(--forest); }
.dot-sports  { background: #185FA5; }
.dot-city    { background: var(--amber); }
.dot-nature  { background: #3D6B4A; }

/* ── Page headers (routes, restaurants, wine) ── */
.page-header { padding: 140px 72px 64px; background: var(--warm-white); border-bottom: 1px solid rgba(46,40,32,.08); display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.page-header-left { max-width: 560px; }
.page-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.page-stat { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.page-stat-num { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 400; color: var(--text); line-height: 1; }
.page-stat-label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
@media(max-width:900px) { .page-header { padding: 100px 24px 48px; } .page-stats { display: none; } }

/* ── Content layout (routes, wine, restaurants) ── */
.content-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 0; max-width: 1200px; margin: 0 auto; padding: 0 48px; align-items: start; }
.main-col  { padding: 48px 48px 80px 0; }
.sidebar-col { padding: 48px 0 80px; position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }
@media(max-width:960px) {
  .content-wrap { grid-template-columns: 1fr; padding: 0 24px; }
  .main-col { padding: 32px 0 48px; }
  .sidebar-col { position: static; padding: 0 0 48px; }
}

/* ── Featured route card (routes page) ── */
.route-card-featured { display: grid; grid-template-columns: 1.1fr 1fr; background: var(--dark); border-radius: 4px; overflow: hidden; cursor: pointer; transition: transform .3s, box-shadow .3s; margin-bottom: 20px; text-decoration: none; }
.route-card-featured:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(30,26,22,.18); }
.featured-img-wrap { overflow: hidden; position: relative; }
.featured-img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; opacity: .82; transition: transform .5s, opacity .3s; display: block; }
.route-card-featured:hover .featured-img { transform: scale(1.04); opacity: .92; }
.featured-badge { position: absolute; top: 16px; left: 16px; font-size: 9px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; background: var(--terracotta); color: #fff; border-radius: 2px; }
.featured-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; gap: 16px; background: #1A1510; }
.featured-type  { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #F2C896; }
.featured-title { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 400; color: #fff; line-height: 1.2; }
.featured-title em { font-style: italic; }
.featured-desc  { font-family: 'Cormorant Garamond', serif; font-size: 17px; font-weight: 300; font-style: italic; color: rgba(255,255,255,.55); line-height: 1.6; }
.featured-meta  { display: flex; gap: 16px; font-size: 12px; color: rgba(255,255,255,.4); flex-wrap: wrap; }
.featured-meta-item { display: flex; align-items: center; gap: 5px; }
.featured-meta-item svg { width: 12px; height: 12px; stroke: rgba(255,255,255,.3); fill: none; stroke-width: 1.5; stroke-linecap: round; }
.featured-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.featured-tag  { font-size: 10px; padding: 3px 9px; border-radius: 20px; border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.5); }
.featured-cta  { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #F2C896; margin-top: 4px; transition: gap .2s; }
.route-card-featured:hover .featured-cta { gap: 12px; }
@media(max-width:960px) { .route-card-featured { grid-template-columns: 1fr; } .featured-img { min-height: 240px; } }

/* ── Standard route cards (routes page list) ── */
.route-row { display: grid; grid-template-columns: 220px 1fr; background: var(--warm-white); border: 1px solid rgba(46,40,32,.08); border-radius: 4px; overflow: hidden; cursor: pointer; transition: transform .25s, box-shadow .25s; text-decoration: none; margin-bottom: 14px; }
.route-row:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(30,26,22,.09); }
.route-row-img-wrap { overflow: hidden; position: relative; }
.route-row-img { width: 100%; height: 100%; min-height: 160px; object-fit: cover; display: block; transition: transform .4s; }
.route-row:hover .route-row-img { transform: scale(1.05); }
.route-row-type-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; }
.route-row-body { padding: 20px 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.route-row-type    { font-size: 9px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.route-row-name    { font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 400; color: var(--text); line-height: 1.25; }
.route-row-excerpt { font-family: 'Cormorant Garamond', serif; font-size: 15px; font-weight: 300; font-style: italic; color: var(--text-muted); line-height: 1.55; }
.route-row-footer  { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; border-top: 1px solid rgba(46,40,32,.06); flex-wrap: wrap; gap: 8px; }
.route-row-meta    { display: flex; gap: 12px; font-size: 11px; color: var(--text-muted); flex-wrap: wrap; }
.route-row-meta-item { display: flex; align-items: center; gap: 4px; }
.route-row-meta-item svg { width: 11px; height: 11px; stroke: var(--text-muted); fill: none; stroke-width: 1.5; stroke-linecap: round; }
.route-row-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.route-tag { font-size: 10px; padding: 2px 8px; border-radius: 20px; border: 1px solid rgba(46,40,32,.1); color: var(--text-muted); }
@media(max-width:960px) { .route-row { grid-template-columns: 140px 1fr; } .route-row-img { min-height: 120px; } }

/* ── Sidebar highlight list ── */
.highlight-list { display: flex; flex-direction: column; gap: 12px; }
.highlight-item { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px solid rgba(46,40,32,.05); cursor: pointer; transition: opacity .2s; text-decoration: none; }
.highlight-item:last-child { border-bottom: none; padding-bottom: 0; }
.highlight-item:hover { opacity: .75; }
.highlight-img  { width: 52px; height: 52px; border-radius: 3px; object-fit: cover; flex-shrink: 0; }
.highlight-body { flex: 1; min-width: 0; }
.highlight-type { font-size: 9px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 2px; }
.highlight-name { font-family: 'Playfair Display', serif; font-size: 14px; font-weight: 400; color: var(--text); line-height: 1.3; margin-bottom: 2px; }
.highlight-meta { font-size: 11px; color: var(--text-muted); }

/* ── Category list (sidebar) ── */
.cat-list { display: flex; flex-direction: column; gap: 8px; }
.cat-item { display: flex; align-items: center; justify-content: space-between; font-size: 13px; padding: 6px 0; border-bottom: 1px solid rgba(46,40,32,.05); cursor: pointer; transition: color .18s; text-decoration: none; color: var(--text-muted); }
.cat-item:last-child { border-bottom: none; }
.cat-item:hover { color: var(--terracotta); }
.cat-item-left { display: flex; align-items: center; gap: 8px; }
.cat-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.cat-count { font-size: 12px; color: var(--text-muted); background: rgba(46,40,32,.06); padding: 1px 7px; border-radius: 20px; }

/* ── Routes count + grid ── */
.routes-count { font-size: 12px; color: var(--text-muted); margin-bottom: 28px; letter-spacing: .03em; }
.routes-grid  { display: flex; flex-direction: column; gap: 2px; }

/* ═══════════════════════════════════════════════════════
   SEARCH
   ═══════════════════════════════════════════════════════ */

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,26,22,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.search-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.search-box {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-12px);
  width: min(640px, calc(100vw - 32px));
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(30,26,22,0.2), 0 4px 16px rgba(30,26,22,0.1);
  z-index: 301;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  overflow: hidden;
}
.search-box.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(46,40,32,0.08);
}
.search-input-icon {
  width: 18px; height: 18px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}
.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: var(--text);
  background: transparent;
}
.search-input::placeholder { color: var(--text-muted); }
.search-close {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(46,40,32,0.07);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  flex-shrink: 0;
  transition: background 0.15s;
}
.search-close:hover { background: rgba(46,40,32,0.14); }

.search-results {
  max-height: 420px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  text-decoration: none;
  transition: background 0.15s;
  border-bottom: 1px solid rgba(46,40,32,0.05);
}
.search-result:last-child { border-bottom: none; }
.search-result:hover, .search-result.active {
  background: var(--warm-white);
}

.search-result-img {
  width: 48px; height: 48px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--parchment);
}
.search-result-placeholder {
  width: 48px; height: 48px;
  border-radius: 4px;
  background: var(--warm-white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.search-result-body { flex: 1; min-width: 0; }
.search-result-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-sub {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result-type {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  flex-shrink: 0;
}
.search-type-article { background: rgba(44,74,53,0.1); color: var(--forest); }
.search-type-place   { background: rgba(184,92,56,0.1); color: var(--terracotta); }
.search-type-winery  { background: rgba(107,39,55,0.1); color: var(--burgundy); }

.search-empty {
  padding: 32px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}
.search-empty strong { display: block; font-size: 16px; color: var(--text); margin-bottom: 6px; }

.search-footer {
  padding: 10px 20px;
  border-top: 1px solid rgba(46,40,32,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--warm-white);
}
.search-kbd {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.search-kbd kbd {
  font-size: 10px;
  padding: 2px 6px;
  background: #fff;
  border: 1px solid rgba(46,40,32,0.15);
  border-radius: 3px;
  font-family: inherit;
  color: var(--text-muted);
}
