/* =========================================================
   OPEN ROADS — US Travel Blog Theme
   ========================================================= */

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

:root {
  /* Brand */
  --forest:         #3D6B5A;
  --forest-dark:    #2F5344;
  --forest-deep:    #1E3528;
  --lime:           #C8E37B;
  --lime-dark:      #A8C55A;
  --cream:          #FFF8F0;
  --sand:           #F5EDE0;
  --sand-dark:      #EAD9C4;
  --warm-brown:     #8B6E4E;
  --earth:          #6B5745;
  --dusk:           #C8764A;   /* sunset accent */

  /* Surfaces */
  --surface:        #FFFFFF;
  --surface-warm:   var(--cream);
  --surface-sand:   var(--sand);
  --dark-bg:        #1A1F1C;
  --dark-surface:   #22281F;

  /* Text */
  --on-surface:       #1E221E;
  --on-surface-muted: #6B7560;
  --text-light:       #9BA89A;
  --on-dark:          #F0EAE2;
  --on-dark-muted:    rgba(240, 234, 226, 0.72);

  /* Borders */
  --border:         #DDD5C8;
  --border-dark:    rgba(255,255,255,0.12);

  /* Radius */
  --radius:         8px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-img:     16px;

  /* Typography */
  --font-headline: "Bitter", Georgia, serif;
  --font-body:     "Montserrat", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container-w:  1200px;
  --section-py:   88px;

  /* Transitions */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--on-surface);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.site-main { flex: 1; }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--forest); text-decoration: none; transition: color .2s; }
a:hover { color: var(--forest-dark); }
button { font-family: var(--font-body); }

/* ── UTILITIES ─────────────────────────────────────────── */
.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, box-shadow .25s;
  border: 2px solid transparent;
  line-height: 1;
}
.btn--accent  {
  background: var(--forest);
  color: #fff;
}
.btn--accent:hover {
  background: var(--forest-dark);
  color: #fff;
  box-shadow: 0 4px 18px rgba(61,107,90,.35);
}
.btn--outline {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}
.btn--outline:hover {
  background: var(--forest);
  color: #fff;
}
.btn--outline-light {
  background: transparent;
  border-color: rgba(255,255,255,.7);
  color: #fff;
}
.btn--outline-light:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
  color: #fff;
}
.btn--full { width: 100%; }

/* Section head row */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.section-head__text { flex: 1; }

/* Eyebrow label */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 8px;
}
.eyebrow--light { color: var(--lime); }

/* Section title */
.section-title {
  font-family: var(--font-headline);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.15;
}

/* Section link  – animated underline */
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--forest);
  border-bottom: 2px solid var(--sand-dark);
  padding-bottom: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color .2s, color .2s;
}
.section-link:hover { border-color: var(--forest); color: var(--forest-dark); }
.section-link svg { transition: transform .2s; }
.section-link:hover svg { transform: translateX(4px); }

/* No-post message */
.no-posts {
  font-style: italic;
  color: var(--on-surface-muted);
  padding: 24px 0;
}


/* ── HEADER ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  transition: box-shadow .3s var(--ease-out);
}
.site-header--scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}

/* Admin bar offset */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

.header-inner {
  max-width: var(--container-w);
  margin-inline: auto;
  padding: 0 28px;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

/* Logo */
.header-logo { display: flex; align-items: center; }
.header-logo img { height: 44px; width: auto; object-fit: contain; }
.header-logo .custom-logo-link { display: flex; align-items: center; }
.site-title-text {
  font-family: var(--font-headline);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--on-surface);
  white-space: nowrap;
  transition: color .25s;
}
.site-title-text:hover { color: var(--forest); }

/* Primary nav */
.header-nav { justify-self: center; }
.header-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
}
.header-nav .nav-list a {
  color: var(--on-surface);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 7px 14px;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
.header-nav .nav-list a:hover { color: var(--forest); background: var(--sand); }

/* Desktop dropdown */
.header-nav .nav-list > li { position: relative; }
.header-nav .nav-list li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  margin-left: 6px;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  vertical-align: 2px;
  transition: transform .2s;
}
.header-nav .nav-list li.menu-item-has-children:hover > a::after { transform: rotate(180deg); }
.header-nav .nav-list li.menu-item-has-children .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 210px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 40px rgba(0,0,0,.11);
  padding: 6px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 200;
}
.header-nav .nav-list li.menu-item-has-children:hover .sub-menu,
.header-nav .nav-list li.menu-item-has-children:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.header-nav .nav-list .sub-menu a {
  display: block;
  padding: 10px 20px;
  font-size: .84rem;
  background: none;
  color: var(--on-surface);
  border-radius: 0;
  white-space: nowrap;
}
.header-nav .nav-list .sub-menu a:hover { color: var(--forest); background: var(--cream); }

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.header-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--on-surface);
  padding: 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: color .2s, background .2s;
}
.header-search-btn:hover { color: var(--forest); background: var(--sand); }

/* Burger button */
.burger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
  border-radius: 4px;
  transition: background .2s;
}
.burger-btn:hover { background: var(--sand); }
.burger-bar {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: width .2s, transform .3s, opacity .3s;
}
.burger-bar:nth-child(1) { width: 22px; }
.burger-bar:nth-child(2) { width: 16px; }
.burger-bar:nth-child(3) { width: 22px; }
.burger-btn[aria-expanded="true"] .burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 22px; }
.burger-btn[aria-expanded="true"] .burger-bar:nth-child(2) { opacity: 0; }
.burger-btn[aria-expanded="true"] .burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 22px; }

/* Search bar */
.header-search-bar {
  border-top: 1px solid var(--border);
  background: var(--sand);
  padding: 14px 0;
  display: flex;
  justify-content: center;
}
.header-search-bar[hidden] { display: none; }
.header-search-bar .search-form {
  display: flex;
  gap: 0;
  width: 100%;
  max-width: var(--container-w);
  padding-inline: 28px;
}
.header-search-bar input[type="search"] {
  flex: 1;
  border: 2px solid var(--border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 12px 22px;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  outline: none;
  background: var(--surface);
  color: var(--on-surface);
  transition: border-color .2s;
  min-width: 0;
}
.header-search-bar input[type="search"]:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(61,107,90,.1);
}
.header-search-bar input[type="search"]::placeholder { color: var(--text-light); }
.header-search-bar button[type="submit"] {
  background: var(--forest);
  color: #fff;
  border: 2px solid var(--forest);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 28px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.header-search-bar button[type="submit"]:hover {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
}

/* ── MOBILE NAV ─────────────────────────────────────────── */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,31,28,.55);
  z-index: 299;
  backdrop-filter: blur(2px);
}
.nav-backdrop.is-open { display: block; }

.nav-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(320px, 90vw);
  background: var(--cream);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transform: translateX(-110%);
  transition: transform .38s var(--ease-out);
  box-shadow: 6px 0 40px rgba(0,0,0,.15);
  overflow-y: auto;
}
.nav-menu.is-open { transform: translateX(0); }

.nav-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-menu__brand {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--on-surface);
}
.nav-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--on-surface);
  padding: 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  transition: color .2s, background .2s;
}
.nav-close:hover { color: var(--forest); background: var(--sand); }

.nav-menu__body { padding: 8px 0; flex: 1; }
.nav-menu .menu { list-style: none; }
.nav-menu .menu li a {
  display: block;
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 600;
  color: var(--on-surface);
  padding: 14px 24px;
  border-left: 3px solid transparent;
  transition: color .2s, background .2s, border-color .2s;
}
.nav-menu .menu li a:hover {
  color: var(--forest);
  background: var(--sand);
  border-left-color: var(--forest);
}
/* Mobile dropdown expand */
.nav-menu .menu li.menu-item-has-children > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-menu .menu li.menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  flex-shrink: 0;
  transition: transform .25s;
}
.nav-menu .menu li.menu-item-has-children.is-open > a::after { transform: rotate(180deg); }
.nav-menu .menu .sub-menu {
  display: none;
  list-style: none;
  background: var(--sand);
}
.nav-menu .menu li.menu-item-has-children.is-open > .sub-menu { display: block; }
.nav-menu .menu .sub-menu a {
  padding-left: 36px;
  font-size: .9rem;
  border-left: none;
}

.nav-menu__subscribe {
  padding: 20px 24px 28px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════ */
.hero-section {
  position: relative;
  height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--forest-deep);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Gradient overlay — darkens image for text legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(0, 0, 0, .15) 0%,
    rgba(26, 35, 26, .50) 40%,
    rgba(26, 35, 26, .82) 100%
  );
  z-index: 1;
}

/* Compass rose — decorative top-right */
.hero-compass {
  position: absolute;
  top: 80px; right: 60px;
  width: 140px; height: 140px;
  color: #fff;
  opacity: .08;
  z-index: 2;
  pointer-events: none;
}

/* Hero content container */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 48px 32px;
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 20px;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--lime);
  opacity: .6;
}

.hero-heading {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: 20px;
  text-shadow: 0 3px 20px rgba(0,0,0,.3);
}
.hero-heading em {
  font-style: italic;
  color: var(--lime);
  font-weight: 700;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(.88rem, 1.2vw, 1.02rem);
  font-weight: 400;
  color: rgba(255,255,255,.82);
  max-width: 48ch;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--forest);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 2px solid var(--forest);
  transition: background .25s, border-color .25s, box-shadow .25s, transform .2s;
}
.hero-cta:hover {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
  color: #fff;
  box-shadow: 0 8px 32px rgba(61,107,90,.4);
  transform: translateY(-2px);
}
.hero-cta svg { animation: bounce-down 2s ease infinite; }
@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}

/* Scroll hint vertical line */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.hero-scroll-hint__line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,.8), transparent);
  animation: scroll-fade 2.2s ease-in-out infinite;
}
@keyframes scroll-fade {
  0%, 100% { opacity: .8; transform: scaleY(1); transform-origin: top; }
  50%       { opacity: .3; transform: scaleY(.6); transform-origin: top; }
}


/* ═══════════════════════════════════════════════
   AROUND THE COUNTRY — Section 2
═══════════════════════════════════════════════ */
.guides-section {
  padding: var(--section-py) 0;
  background: var(--cream);
  border-bottom-left-radius: 80px;
  border-bottom-right-radius: 80px;
  position: relative;
  z-index: 1;
}

/* Section header row */
.atc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.atc-head__title {
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--forest-deep);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.atc-head__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--forest);
  border: 2px solid var(--forest);
  padding: 10px 20px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.atc-head__btn:hover { background: var(--forest-dark); border-color: var(--forest-dark); color: #fff; }

/* Divider */
.atc-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 32px;
}

/* Featured post: image left (50%) + meta right (50%) */
.atc-featured {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 0;
}
.atc-featured__img-link {
  display: block;
  border-radius: var(--radius-img);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.atc-featured__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease-out);
}
.atc-featured__img-link:hover .atc-featured__img { transform: scale(1.04); }
.atc-featured__img-placeholder {
  width: 100%; height: 100%;
  background: var(--sand-dark);
}
.atc-featured__body {
  padding-top: 8px;
}
/* Category pill — filled dark green */
.atc-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
  background: var(--forest);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
  transition: background .2s;
}
.atc-tag:hover { background: var(--forest-dark); color: #fff; }

.atc-featured__rule {
  border: none;
  border-top: 1px solid var(--border);
  margin: 12px 0 24px;
}
.atc-featured__title {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--forest-deep);
  margin-bottom: 20px;
}
.atc-featured__title a { color: inherit; transition: color .2s; }
.atc-featured__title a:hover { color: var(--forest); }
.atc-featured__byline {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-light);
}

/* Row of 4 small cards below featured */
.atc-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  margin-top: 32px;
}
.atc-card {
  background: var(--cream);
  padding: 24px 20px;
}
/* Card thumbnail */
.atc-card__thumb-link {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 60%; /* 5:3 ratio = 3/5 = 60% */
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
}
.atc-card__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease-out);
}
.atc-card__thumb-link:hover .atc-card__thumb { transform: scale(1.04); }
.atc-card__thumb-placeholder {
  width: 100%; height: 100%;
  background: var(--sand);
}
.atc-card__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--forest);
  background: transparent;
  border: 1.5px solid var(--forest);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
  transition: background .2s, color .2s;
}
.atc-card__tag:hover { 
  background: var(--forest);
  color: #fff;
}
.atc-card__title {
  font-family: var(--font-body);
  font-size: clamp(.88rem, 1.2vw, 1.02rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--on-surface);
  margin-bottom: 10px;
}
.atc-card__title a { color: inherit; transition: color .2s; }
.atc-card__title a:hover { color: var(--forest); }
.atc-card__byline {
  font-family: var(--font-body);
  font-size: .63rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-light);
}

/* ═══════════════════════════════════════════════
   TRACKS TO TRAILS — Section 3 (dark green bg, 3 cards)
═══════════════════════════════════════════════ */
.trails-section {
  padding: var(--section-py) 0;
  padding-top: calc(var(--section-py) + 80px);
  margin-top: -80px;
  background: var(--forest-deep);
  margin-bottom: -80px;
  padding-bottom: calc(var(--section-py) + 80px);
}

.trails-head {
  text-align: center;
  margin-bottom: 52px;
  padding: 0 40px;
}
.trails-head__title {
  font-family: var(--font-headline);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}
.trails-head__sub {
  font-family: var(--font-body);
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  color: rgba(255,255,255,.7);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

.trails-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.trails-card {
  background: var(--cream);
  border-radius: 12px;
  overflow: hidden;
}
.trails-card__img-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.trails-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease-out);
}
.trails-card__img-link:hover .trails-card__img { transform: scale(1.05); }
.trails-card__img-placeholder {
  width: 100%; height: 100%;
  background: var(--forest);
}
.trails-card__body {
  padding: 20px 22px 24px;
}
.trails-card__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
  background: var(--forest);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
  transition: background .2s;
}
.trails-card__tag:hover { background: var(--forest-dark); color: #fff; }
.trails-card__title {
  font-family: var(--font-body);
  font-size: clamp(.92rem, 1.3vw, 1.08rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--on-surface);
  margin-bottom: 8px;
}
.trails-card__title a { color: inherit; transition: color .2s; }
.trails-card__title a:hover { color: var(--forest); }
.trails-card__byline {
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-light);
}


/* ═══════════════════════════════════════════════
   HAND-PICKED — Section 4 (cream bg, 4 equal cards)
═══════════════════════════════════════════════ */
.handpicked-section {
  padding: var(--section-py) 0;
  background: var(--cream);
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
}

/* Section header */
.hp-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 20px;
}
.hp-head__left { flex: 1; }
.hp-head__title {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--forest-deep);
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 12px;
}
.hp-head__sub {
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--on-surface-muted);
  line-height: 1.6;
  max-width: 480px;
}
.hp-head__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  padding-top: 8px;
}
.hp-btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 11px 22px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.hp-btn--outline {
  color: var(--on-surface);
  border: 1.5px solid var(--on-surface);
  background: transparent;
}
.hp-btn--outline:hover { background: var(--on-surface); color: #fff; }
.hp-btn--solid {
  color: #fff;
  background: var(--forest);
  border: 1.5px solid var(--forest);
}
.hp-btn--solid:hover { background: var(--forest-dark); border-color: var(--forest-dark); color: #fff; }

.hp-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 32px;
}

/* 4-column card grid */
.hp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.hp-card { }
.hp-card__img-link {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 16px;
}
.hp-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease-out);
}
.hp-card__img-link:hover .hp-card__img { transform: scale(1.05); }
.hp-card__img-placeholder {
  width: 100%; height: 100%;
  background: var(--sand-dark);
}
.hp-card__body { padding: 0; }
.hp-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.hp-card__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #fff;
  background: var(--forest);
  padding: 4px 10px;
  border-radius: 100px;
  transition: background .2s;
}
.hp-card__tag:hover { background: var(--forest-dark); color: #fff; }
.hp-card__title {
  font-family: var(--font-body);
  font-size: clamp(.88rem, 1.2vw, 1.02rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--on-surface);
  margin-bottom: 8px;
}
.hp-card__title a { color: inherit; transition: color .2s; }
.hp-card__title a:hover { color: var(--forest); }
.hp-card__byline {
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-light);
}


/* ═══════════════════════════════════════════════
   REVIEWS — Full-width immersive slider
═══════════════════════════════════════════════ */
.reviews-section {
  position: relative;
  padding: 100px 0;
  background-color: var(--forest-deep);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.reviews-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.38) 0%,
    rgba(30, 53, 40, .38) 100%
  );
  z-index: 1;
}
.reviews-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}
.reviews-head {
  text-align: center;
  margin-bottom: 52px;
}
.reviews-title {
  font-family: var(--font-headline);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}

/* Slider wrapper */
.reviews-slider-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}
.reviews-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.reviews-track {
  display: flex;
  transition: transform .55s var(--ease-out);
}
.review-slide {
  flex: 0 0 100%;
  padding: 48px 52px;
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  text-align: center;
}
.review-slide__quote {
  position: relative;
  margin-bottom: 28px;
}
.review-slide__mark {
  width: 32px;
  height: auto;
  margin: 0 auto 20px;
  color: var(--lime);
  opacity: .7;
}
.review-slide__quote p {
  font-family: var(--font-headline);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,.92);
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 auto;
}
.review-slide__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .06em;
  color: var(--lime);
}
.review-slide__author span {
  font-weight: 400;
  font-size: .78rem;
  color: var(--on-dark-muted);
  letter-spacing: .08em;
}

/* Arrows */
.reviews-arrow {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, transform .2s;
}
.reviews-arrow:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.6);
  transform: scale(1.06);
}

/* Dots */
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.reviews-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.reviews-dot--active {
  background: var(--lime);
  transform: scale(1.25);
}


/* ═══════════════════════════════════════════════
   SUBSCRIBE SECTION
═══════════════════════════════════════════════ */
.subscribe-section {
  padding: var(--section-py) 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
/* Decorative background shape */
.subscribe-section::before {
  content: '';
  position: absolute;
  right: -200px; top: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,227,123,.18) 0%, transparent 70%);
  pointer-events: none;
}
.subscribe-section::after {
  content: '';
  position: absolute;
  left: -120px; bottom: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,107,90,.1) 0%, transparent 70%);
  pointer-events: none;
}

.subscribe-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.subscribe-inner__left .eyebrow { margin-bottom: 12px; }
.subscribe-inner__title {
  font-family: var(--font-headline);
  font-size: clamp(1.65rem, 2.8vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--on-surface);
  margin-bottom: 18px;
}
.subscribe-inner__sub {
  font-size: .92rem;
  color: var(--on-surface-muted);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 44ch;
}
.subscribe-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.subscribe-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--on-surface);
}
.subscribe-perks li svg { color: var(--forest); flex-shrink: 0; }

/* Form card — dark forest */
.subscribe-form-card {
  background: var(--forest-deep);
  border: none;
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
  position: relative;
  overflow: hidden;
}
/* Decorative lime glow — top-left corner */
.subscribe-form-card::before {
  content: '';
  position: absolute;
  top: -80px; left: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,227,123,.18) 0%, transparent 65%);
  pointer-events: none;
}
/* Decorative subtle ring — bottom-right */
.subscribe-form-card::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,227,123,.09) 0%, transparent 65%);
  pointer-events: none;
}
.subscribe-form-card__label {
  font-family: var(--font-headline);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
}
.subscribe-form-card__note {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  font-style: italic;
  position: relative;
}

/* Contact Form 7 overrides */
.subscribe-form-card .wpcf7 { position: relative; }
.subscribe-form-card .wpcf7-form { display: flex; flex-direction: column; gap: 14px; }
.subscribe-form-card .wpcf7-form-control-wrap { display: block; }

/* Email + submit live in the same <p> separated by <br> — lay them out as a column */
.subscribe-form-card .form-fields p {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}
.subscribe-form-card .form-fields p br { display: none; }
.subscribe-form-card .form-privacy p { margin: 0; }

.subscribe-form-card input[type="text"],
.subscribe-form-card input[type="email"],
.subscribe-form-card textarea,
.subscribe-form-card select {
  width: 100%;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: .92rem;
  color: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.subscribe-form-card input:focus,
.subscribe-form-card textarea:focus,
.subscribe-form-card select:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(200,227,123,.18);
  background: rgba(255,255,255,.13);
}
.subscribe-form-card input::placeholder,
.subscribe-form-card textarea::placeholder { color: rgba(255,255,255,.42); }

/* Submit button — lime with dark text */
.subscribe-form-card .wpcf7-submit {
  width: 100%;
  padding: 16px 28px;
  background: var(--lime);
  color: var(--forest-deep);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background .2s, box-shadow .2s, transform .15s;
  position: relative;
}
.subscribe-form-card .wpcf7-submit:hover {
  background: #d5ed8c;
  box-shadow: 0 6px 24px rgba(200,227,123,.4);
  transform: translateY(-1px);
}

/* Acceptance / privacy checkbox */
.subscribe-form-card .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.subscribe-form-card .wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.subscribe-form-card .wpcf7-acceptance input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--lime);
  cursor: pointer;
}
.subscribe-form-card .wpcf7-list-item-label {
  font-size: .8rem;
  color: rgba(255,255,255,.58);
  line-height: 1.65;
}
.subscribe-form-card .wpcf7-list-item-label a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.subscribe-form-card .wpcf7-list-item-label a:hover { color: #d5ed8c; }

/* Validation & response */
.subscribe-form-card .wpcf7-not-valid-tip {
  font-size: .76rem;
  color: #ff9f9f;
  margin-top: 4px;
  display: block;
}
.subscribe-form-card .wpcf7-response-output {
  font-size: .84rem;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.18);
  margin-top: 8px;
  color: rgba(255,255,255,.8);
}
.subscribe-form-card .wpcf7-spinner {
  display: none;
}


/* ═══════════════════════════════════════════════
   ABOUT THE EDITOR
═══════════════════════════════════════════════ */
.editor-section {
  padding: var(--section-py) 0;
  background: var(--forest-deep);
  position: relative;
  overflow: hidden;
}
/* Subtle radial glow top-right */
.editor-section::before {
  content: '';
  position: absolute;
  top: -160px; right: -160px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,227,123,.12) 0%, transparent 65%);
  pointer-events: none;
}
.editor-inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Portrait */
.editor-portrait {
  position: relative;
}
.editor-portrait__frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 16px 60px rgba(0,0,0,.12);
  position: relative;
  z-index: 2;
}
.editor-portrait__frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.4);
  z-index: 2;
  pointer-events: none;
}
.editor-portrait__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* Decorative offset border behind portrait */
.editor-portrait::after {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  border: 3px solid var(--lime);
  border-radius: var(--radius-lg);
  z-index: 1;
  opacity: .55;
}
.editor-portrait__placeholder {
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.06);
  border: 2px dashed rgba(255,255,255,.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,.4);
  font-size: .84rem;
  text-align: center;
  padding: 24px;
}

/* Terrain SVG — background deco */
.editor-terrain {
  position: absolute;
  bottom: -40px; left: -60px;
  width: 340px; height: 220px;
  color: var(--lime);
  z-index: 0;
  pointer-events: none;
  opacity: .12;
}

/* Story text */
.editor-story { position: relative; }
.editor-story .eyebrow { display: block; margin-bottom: 12px; color: var(--lime); }
.editor-story__name {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 6px;
}
.editor-story__role {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(200,227,123,.12);
  border: 1.5px solid rgba(200,227,123,.25);
  padding: 4px 12px;
  border-radius: 3px;
  margin-bottom: 28px;
}
.editor-story__bio {
  font-size: .96rem;
  color: rgba(255,255,255,.72);
  line-height: 1.8;
  margin-bottom: 28px;
}
.editor-story__bio p { margin-bottom: 12px; }
.editor-story__sig {
  font-family: var(--font-headline);
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 400;
  color: var(--lime);
  opacity: .55;
  margin-bottom: 28px;
  letter-spacing: .02em;
}
/* Override btn--outline for dark background */
.editor-story .btn--outline {
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
.editor-story .btn--outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.7);
  color: #fff;
}


/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.site-footer {
  background: #0f1a16;
  color: var(--on-dark);
}

/* Row 1: logo left, nav right */
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 28px;
}

/* Brand */
.footer-brand__name {
  font-family: var(--font-headline);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--on-dark);
  transition: color .2s;
  text-decoration: none;
}
.footer-brand__name:hover { color: var(--lime); }
.footer-brand .custom-logo-link {
  display: block;
  line-height: 0;
}
.footer-brand .custom-logo-link img {
  height: 36px;
  width: auto;
  max-width: 160px;
}

/* Footer nav */
.footer-nav__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  justify-content: flex-end;
}
.footer-nav__list a {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(240,234,226,.6);
  letter-spacing: .04em;
  text-decoration: none;
  transition: color .2s;
}
.footer-nav__list a:hover { color: var(--lime); }

/* Row 2: copyright */
.footer-bottom {
  background: #0f1a16;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
}
.footer-copy {
  font-size: .78rem;
  color: rgba(240,234,226,.38);
  text-align: center;
}
.footer-copy a { color: rgba(240,234,226,.55); transition: color .2s; text-decoration: none; }
.footer-copy a:hover { color: var(--lime); }


/* ═══════════════════════════════════════════════
   SINGLE POST
═══════════════════════════════════════════════ */
/* .single-post padding only applies to <main>, not body */
main.single-post {
  padding: 32px 0 60px;
}
.single-container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 28px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 64px;
  align-items: start;
}

/* Post header */
.post-header { margin-bottom: 40px; }
.post-header .or-chip {
  display: inline-block;
  background: var(--forest);
  border: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 5px 14px;
  border-radius: 100px;
  margin: 0 6px 16px 0;
  transition: background .2s;
}
.post-header .or-chip:hover { background: var(--forest-dark); }
.post-title {
  font-family: var(--font-headline);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--on-surface);
  letter-spacing: -.01em;
  margin-bottom: 20px;
}
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: .8rem;
  color: var(--text-light);
  font-weight: 500;
}
.post-meta__item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.post-meta__item svg { flex-shrink: 0; }
.post-meta__sep { display: none; }
.post-meta__sep--show { display: inline; color: var(--border); }

/* Featured image */
.post-featured-img {
  width: 100%;
  border-radius: var(--radius-img);
  overflow: hidden;
  margin-bottom: 40px;
  aspect-ratio: 16/9;
}
.post-featured-img img { width: 100%; height: 100%; object-fit: cover; }

/* Post content typography */
.post-content {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--on-surface);
}
.post-content h2 {
  font-family: var(--font-headline);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--on-surface);
  margin: 44px 0 18px;
}
.post-content h3 {
  font-family: var(--font-headline);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  margin: 36px 0 14px;
}
.post-content p { margin-bottom: 22px; }
.post-content a { color: var(--forest); border-bottom: 1px solid rgba(61,107,90,.3); transition: border-color .2s; }
.post-content a:hover { border-color: var(--forest); }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 22px; }
.post-content li { margin-bottom: 8px; line-height: 1.75; }
.post-content blockquote {
  border-left: 4px solid var(--forest);
  padding: 18px 24px;
  margin: 32px 0;
  background: var(--cream);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--on-surface-muted);
}
.post-content img {
  border-radius: var(--radius-img);
  margin: 28px 0;
}
.post-content figure {
  width: 100% !important;
  margin: 28px 0;
}
.post-content figcaption {
  width: 100% !important;
  font-size: .8rem;
  color: var(--on-surface-muted);
  font-style: italic;
  text-align: center;
  padding: 8px 4px 0;
  line-height: 1.6;
}

/* Post sidebar */
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: sticky;
  top: 100px;
  align-self: start;
}

/* Sidebar widget */
.sidebar-widget__title {
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--on-surface);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--forest);
  display: inline-block;
}

/* Recent posts list */
.sidebar-recent {
  list-style: none;
}
.sidebar-recent__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-recent__item:first-child { padding-top: 0; }
.sidebar-recent__item:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-recent__thumb-link {
  flex-shrink: 0;
  display: block;
  width: 72px; height: 60px;
  border-radius: var(--radius);
  overflow: hidden;
}
.sidebar-recent__thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s var(--ease-out);
}
.sidebar-recent__thumb-link:hover .sidebar-recent__thumb { transform: scale(1.06); }
.sidebar-recent__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.sidebar-recent__title {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--on-surface);
}
.sidebar-recent__title a { color: inherit; transition: color .2s; }
.sidebar-recent__title a:hover { color: var(--forest); }
.sidebar-recent__date {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-light);
}
.sidebar-empty { font-size: .84rem; color: var(--text-light); }

/* Sidebar subscribe widget */
.sidebar-subscribe {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.sidebar-subscribe .sidebar-widget__title {
  color: var(--on-surface);
  border-bottom-color: var(--forest);
}
.sidebar-subscribe__sub {
  font-size: .84rem;
  color: var(--on-surface-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.sidebar-subscribe .wpcf7 { position: relative; }
.sidebar-subscribe .wpcf7-form { display: flex; flex-direction: column; gap: 10px; }
.sidebar-subscribe .wpcf7-form-control-wrap { display: block; }
.sidebar-subscribe .form-fields p { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.sidebar-subscribe .form-fields p br { display: none; }
.sidebar-subscribe .form-privacy p { margin: 0; }
.sidebar-subscribe input[type="email"] {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: .84rem;
  color: var(--on-surface);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.sidebar-subscribe input[type="email"]:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(61,107,90,.1);
}
.sidebar-subscribe input[type="email"]::placeholder { color: var(--text-light); }
.sidebar-subscribe .wpcf7-submit {
  width: 100%;
  padding: 13px 20px;
  background: var(--forest);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background .2s, box-shadow .2s;
}
.sidebar-subscribe .wpcf7-submit:hover {
  background: var(--forest-dark);
  box-shadow: 0 4px 16px rgba(61,107,90,.25);
}
.sidebar-subscribe .wpcf7-acceptance .wpcf7-list-item { margin: 0; }
.sidebar-subscribe .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.sidebar-subscribe .wpcf7-acceptance input[type="checkbox"] { flex-shrink: 0; margin-top: 3px; accent-color: var(--forest); }
.sidebar-subscribe .wpcf7-list-item-label { font-size: .73rem; color: var(--on-surface-muted); line-height: 1.55; }
.sidebar-subscribe .wpcf7-list-item-label a { color: var(--forest); text-decoration: underline; }
.sidebar-subscribe .wpcf7-not-valid-tip { font-size: .73rem; color: #c0392b; }
.sidebar-subscribe .wpcf7-response-output { font-size: .78rem; padding: 10px 14px; border-radius: var(--radius); border: 1px solid var(--border); color: var(--on-surface-muted); }
.sidebar-subscribe .wpcf7-spinner { display: none; }

/* Related posts */
.related-posts {
  margin-top: 60px;
  padding-top: 44px;
  border-top: 1px solid var(--border);
}
.related-posts__title {
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-surface);
  margin-bottom: 28px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--forest);
  display: inline-block;
}
.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,.09);
}
.related-card__img-link {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.related-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease-out);
}
.related-card:hover .related-card__img { transform: scale(1.05); }
.related-card__img-placeholder {
  width: 100%; height: 100%;
  min-height: 140px;
  background: var(--sand);
}
.related-card__body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
}
.related-card__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--forest);
  background: transparent;
  border: 1.5px solid var(--forest);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.related-card__tag:hover { background: var(--forest); color: #fff; }
.related-card__title {
  font-family: var(--font-headline);
  font-size: clamp(.9rem, 1.2vw, 1.08rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--on-surface);
  margin-bottom: 10px;
  flex: 1;
}
.related-card__title a { color: inherit; transition: color .2s; }
.related-card__title a:hover { color: var(--forest); }
.related-card__date {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
}


/* ═══════════════════════════════════════════════
   ARCHIVE / INDEX BLOG GRID
═══════════════════════════════════════════════ */
.archive-page { padding: 60px 0 100px; }
.archive-header {
  margin-bottom: 52px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.archive-header__eyebrow { display: block; margin-bottom: 8px; }
.archive-header__title {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--on-surface);
  line-height: 1.1;
}
.archive-header__desc {
  margin-top: 12px;
  font-size: .96rem;
  color: var(--on-surface-muted);
  max-width: 55ch;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 52px;
}
.post-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
}
.post-card__img-link {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.post-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.post-card:hover .post-card__img { transform: scale(1.05); }
.post-card__img-placeholder { width: 100%; height: 220px; background: var(--sand-dark); }
.post-card__body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
}
.post-card__cat {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--forest);
  border: 1.5px solid var(--forest);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.post-card__cat:hover { background: var(--forest); color: #fff; }
.post-card__title {
  font-family: var(--font-headline);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--on-surface);
  margin-bottom: 12px;
}
.post-card__title a { color: inherit; transition: color .2s; }
.post-card__title a:hover { color: var(--forest); }
.post-card__excerpt {
  font-size: .875rem;
  color: var(--on-surface-muted);
  line-height: 1.68;
  flex: 1;
  margin-bottom: 18px;
}
.post-card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--forest);
  align-self: flex-start;
  border-bottom: 2px solid rgba(61,107,90,.25);
  padding-bottom: 2px;
  transition: border-color .2s, color .2s;
}
.post-card__link:hover { border-color: var(--forest); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: .85rem;
  font-weight: 700;
  border: 2px solid var(--border);
  color: var(--on-surface);
  transition: background .2s, border-color .2s, color .2s;
}
.pagination a:hover, .pagination .current {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}


/* ═══════════════════════════════════════════════
   PAGE TEMPLATE
═══════════════════════════════════════════════ */
.page-content-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 28px 80px;
}
.page-header {
  margin-bottom: 32px;
}
.page-header .or-chip {
  display: inline-block;
  background: var(--forest);
  color: #fff;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 5px 14px;
  border-radius: 100px;
  margin: 0 6px 14px 0;
  transition: background .2s;
  text-decoration: none;
}
.page-header .or-chip:hover { background: var(--forest-dark); }
.page-header__title {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--on-surface);
  margin-bottom: 0;
  line-height: 1.1;
}
.page-content-wrap h1 {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--on-surface);
  margin-bottom: 28px;
  line-height: 1.1;
}
.page-content-wrap .entry-content { font-size: .97rem; line-height: 1.85; color: var(--on-surface); }
.page-content-wrap .entry-content h2 {
  font-family: var(--font-headline);
  font-size: clamp(1.3rem, 2.5vw, 1.85rem);
  font-weight: 700;
  margin: 40px 0 16px;
}
.page-content-wrap .entry-content p { margin-bottom: 20px; }
.page-content-wrap .entry-content a { color: var(--forest); border-bottom: 1px solid rgba(61,107,90,.3); }
.page-content-wrap .entry-content a:hover { border-color: var(--forest); }
.page-content-wrap .entry-content ul,
.page-content-wrap .entry-content ol { padding-left: 28px; margin-bottom: 20px; }
.page-content-wrap .entry-content li { margin-bottom: 8px; line-height: 1.75; }


/* ═══════════════════════════════════════════════
   404 PAGE
═══════════════════════════════════════════════ */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 28px;
}
.error-page__num {
  font-family: var(--font-headline);
  font-size: clamp(6rem, 16vw, 12rem);
  font-weight: 800;
  color: var(--forest);
  opacity: .12;
  line-height: 1;
  margin-bottom: -20px;
}
.error-page__icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  line-height: 1;
}
.error-page__title {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 14px;
}
.error-page__text {
  font-size: .97rem;
  color: var(--on-surface-muted);
  max-width: 44ch;
  margin: 0 auto 36px;
  line-height: 1.75;
}


/* ═══════════════════════════════════════════════
   SEARCH RESULTS
═══════════════════════════════════════════════ */
.search-page { padding: 60px 0 100px; }
.search-header { margin-bottom: 44px; }
.search-header__title {
  font-family: var(--font-headline);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 8px;
}
.search-header__count { font-size: .88rem; color: var(--text-light); }
.search-header__count strong { color: var(--on-surface); font-weight: 700; }


/* ═══════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════ */

/* ── Tablet wide: 1024px ── */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }

  .atc-featured { grid-template-columns: 1fr; gap: 24px; }
  .atc-row { grid-template-columns: repeat(2, 1fr); }

  .trails-grid { grid-template-columns: 1fr; }
  .hp-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-head { flex-direction: column; gap: 16px; }

  .editor-inner { grid-template-columns: 340px 1fr; gap: 60px; }
  .single-container { grid-template-columns: 1fr 280px; gap: 44px; }
}

/* ── Tablet: 768px ── */
@media (max-width: 768px) {
  :root {
    --section-py: 60px;
    --container-w: 100%;
  }

  /* Header */
  .header-inner { grid-template-columns: 1fr auto; }
  .header-nav { display: none; }
  .burger-btn { display: flex; }

  /* Hero */
  .hero-section { height: 560px; }
  .hero-heading { font-size: clamp(1.8rem, 7vw, 3rem); }
  .hero-compass { width: 80px; height: 80px; top: 40px; right: 20px; }
  .hero-content { padding: 36px 24px; }

  /* Around the Country */
  .atc-featured { grid-template-columns: 1fr; }
  .atc-row { grid-template-columns: 1fr 1fr; }

  /* Trails */
  .trails-grid { grid-template-columns: 1fr; }

  /* Section curve: reduce radius on tablet */
  .guides-section { border-bottom-left-radius: 40px; border-bottom-right-radius: 40px; }
  .handpicked-section { border-top-left-radius: 40px; border-top-right-radius: 40px; }
  .trails-section { margin-top: -40px; padding-top: calc(var(--section-py) + 40px); margin-bottom: -40px; padding-bottom: calc(var(--section-py) + 40px); }

  /* Hand-Picked */
  .hp-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-head { flex-direction: column; gap: 20px; }

  /* Reviews */
  .review-slide { padding: 36px 28px; }
  .reviews-arrow { width: 42px; height: 42px; }

  /* Subscribe */
  .subscribe-inner { grid-template-columns: 1fr; gap: 40px; }
  .subscribe-inner__sub { max-width: 100%; }

  /* Editor */
  .editor-inner { grid-template-columns: 1fr; gap: 44px; }
  .editor-portrait { max-width: 340px; margin: 0 auto; }
  .editor-terrain { display: none; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: center; gap: 20px; }
  .footer-nav__list { justify-content: center; }

  /* Single post */
  .single-container { grid-template-columns: 1fr; }
  .post-sidebar { display: flex; position: static; }
  .related-posts__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Archive */
  .post-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  /* Section head: stack */
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ── Mobile: 480px ── */
@media (max-width: 480px) {
  .hero-section { height: 480px; }
  .hero-heading { font-size: clamp(1.6rem, 9vw, 2.4rem); }
  .hero-cta { padding: 12px 24px; font-size: .78rem; }

  .post-grid { grid-template-columns: 1fr; }

  .related-posts__grid { grid-template-columns: 1fr; }

  .atc-row { grid-template-columns: 1fr; }

  .hp-grid { grid-template-columns: 1fr; }

  .reviews-slider-wrap {
    display: grid;
    grid-template-areas: "viewport viewport" "prev next";
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .reviews-viewport { grid-area: viewport; width: 100%; }
  .reviews-prev { grid-area: prev; justify-self: end; }
  .reviews-next { grid-area: next; justify-self: start; }
  .reviews-arrow { width: 44px; height: 44px; }

  .subscribe-form-card { padding: 32px 24px; }
  .editor-portrait::after { display: none; }
 

  /* Footer nav: stack vertically on phone */
  .footer-nav__list { flex-direction: column; align-items: center; gap: 12px; }
}

/* ── Narrow: 1000px — hide 3rd related post card, expand 2-col grid ── */
@media (max-width: 1000px) {
  .related-card:nth-child(3) { display: none; }
  .related-posts__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Accessibility: reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reviews-section { background-attachment: scroll; }
}

/* ── Screen reader text ── */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  white-space: nowrap;
  width: 1px;
}
