/* =========================================================
   OPEN ROADS — US Travel Blog Theme
   Campfire Americana Redesign
   ========================================================= */

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

:root {
  /* Brand palette */
  --forest:         #355E4B;   /* trail green (text / outlines) */
  --forest-dark:    #254539;   /* dark green hover */
  --forest-deep:    #1A2E22;   /* darkest surface */
  --accent-blue:    #006ceb;   /* primary action blue */
  --accent-pink:    #991e66;   /* category / badge pink */
  --lime:           #006ceb;   /* alias → accent blue (buttons, icons, hovers) */
  --lime-dark:      #991e66;   /* alias → accent pink (badges, borders, nav) */
  --cream:          #F2EEE8;   /* header / hero background */
  --sand:           #EDE8E1;   /* light warm surface */
  --sand-dark:      #D8D2CA;   /* mid surface / placeholder */
  --warm-brown:     #7B5B43;   /* canyon brown */
  --earth:          #5A3E2B;   /* deep earth */
  --dusk:           #0057c7;   /* darker blue (hover on accent-blue) */

  /* Surfaces */
  --surface:        #FFFFFF;
  --surface-warm:   var(--cream);
  --surface-sand:   var(--sand);
  --dark-bg:        #1A2E22;
  --dark-surface:   #22392C;

  /* Text */
  --on-surface:       #1C1008;
  --on-surface-muted: #5A4535;
  --text-light:       #9C8672;
  --on-dark:          #FFF3E6;
  --on-dark-muted:    rgba(255, 243, 230, 0.72);

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

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

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

  /* Layout */
  --container-w:  1440px;
  --section-py:   100px;

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

  /* Wave/divider fills */
  --wave-sand:   #F2EEE8;
  --wave-forest: #1A2E22;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  font-family: var(--font-body);
  background: #fff;
  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); }
/* Sea shimmer keyframe used by wave decorators */
@keyframes wave-shimmer {
  0%   { opacity: .6; transform: translateX(0); }
  50%  { opacity: .8; transform: translateX(-8px); }
  100% { opacity: .6; transform: translateX(0); }
}
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(--accent-blue);
  color: #fff;
}
.btn--accent:hover {
  background: var(--dusk);
  color: #fff;
  box-shadow: 0 4px 18px rgba(0,108,235,.3);
}
.btn--outline {
  background: transparent;
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}
.btn--outline:hover {
  background: var(--accent-blue);
  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(--accent-pink);
  margin-bottom: 8px;
}
.eyebrow--light { color: rgba(255,255,255,.75); }
.eyebrow--amber { color: var(--accent-pink); }

/* 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 {
  width: 100%;
  padding: 0 44px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 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 { margin-left: auto; }
.header-nav .nav-list {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: stretch;
}
.header-nav .nav-list > li { position: relative; }
.header-nav .nav-list a {
  display: block;
  color: var(--on-surface);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 9px 15px;
  transition: color .2s;
}
.header-nav .nav-list > li > a:hover { color: var(--forest-dark); }

/* Active / current page — orange text */
.header-nav .nav-list > li.current-menu-item > a,
.header-nav .nav-list > li.current-page-ancestor > a,
.header-nav .nav-list > li.current-menu-ancestor > a {
  color: var(--lime-dark);
  font-weight: 700;
}
/* Small waypoint dot before active item text */
.header-nav .nav-list > li.current-menu-item > a::before,
.header-nav .nav-list > li.current-page-ancestor > a::before,
.header-nav .nav-list > li.current-menu-ancestor > a::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime-dark);
  margin-right: 6px;
  vertical-align: 1px;
  flex-shrink: 0;
}

/* Animated orange underline — slides in from left */
.header-nav .nav-list > li::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  right: 15px;
  height: 2px;
  background: var(--lime-dark);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease-out);
}
.header-nav .nav-list > li:hover::after,
.header-nav .nav-list > li.current-menu-item::after,
.header-nav .nav-list > li.current-page-ancestor::after,
.header-nav .nav-list > li.current-menu-ancestor::after {
  transform: scaleX(1);
}

/* Desktop dropdown */
.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 subscribe button */
.header-subscribe-btn {
  padding: 9px 20px;
  font-size: .74rem;
  letter-spacing: .08em;
  flex-shrink: 0;
}

/* 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(--accent-blue); 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: #fff;
  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, box-shadow .2s;
  min-width: 0;
}
.header-search-bar input[type="search"]:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0,108,235,.12);
}
.header-search-bar input[type="search"]::placeholder { color: var(--text-light); }
.header-search-bar button[type="submit"] {
  background: var(--accent-blue);
  color: #fff;
  border: 2px solid var(--accent-blue);
  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(--dusk);
  border-color: var(--dusk);
}

/* ── 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: no flex-grow so subscribe follows immediately ── */
.nav-menu__body { padding: 8px 0; }
.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: 16px 24px 24px;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════
   HERO SECTION — Featured post card (Section 1)
═══════════════════════════════════════════════ */
.hero-section {
  padding: 60px 0 0;
  background-color: var(--cream);
  position: relative;
  z-index: 2;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../bg-pattern.webp');
  background-size: auto;
  background-repeat: repeat;
  z-index: -1;
  pointer-events: none;
}

/* Section heading row */
.hero-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.hero-section__eyebrow { color: var(--lime-dark); }
.hero-section__title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0;
}
.hero-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--forest);
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: 2px solid var(--border);
  padding-bottom: 2px;
  transition: border-color .2s, color .2s;
}
.hero-all-link:hover { border-color: var(--forest); color: var(--forest-dark); }
.hero-all-link svg { transition: transform .2s; }
.hero-all-link:hover svg { transform: translateX(4px); }

/* ── Hero grid: featured left + 2 small right ── */
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Shared hero post card ── */
.hero-post {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Image wrapper — accent-pink background peeks through rounded corner */
.hero-post__img-wrap {
  display: block;
  background: var(--accent-pink);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: box-shadow .3s var(--ease-out);
  flex-shrink: 0;
}
.hero-post__img-wrap:hover { box-shadow: 0 12px 48px rgba(0,0,0,.18); }

/* Image offset left — reveals pink strip at top-left corner */
.hero-post__img {
  display: block;
  margin-left: 14px;
  width: calc(100% - 14px);
  height: 100%;
  object-fit: cover;
  border-radius: 0 14px 0 0;
  transition: transform .55s var(--ease-out);
}
.hero-post__img-wrap:hover .hero-post__img { transform: scale(1.03); }
.hero-post__img-placeholder {
  margin-left: 14px;
  width: calc(100% - 14px);
  height: 100%;
  background: linear-gradient(135deg, var(--sand) 0%, var(--sand-dark) 100%);
  border-radius: 0 14px 0 0;
}

/* Content box — floats up to overlap bottom of image */
.hero-post__body {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 28px rgba(0,0,0,.1), 0 1px 4px rgba(0,0,0,.06);
}

/* Category label */
.hero-post__cat {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #991e66;
  text-decoration: none;
  margin-bottom: 10px;
  transition: opacity .2s;
}
.hero-post__cat:hover { opacity: .75; }

/* Title */
.hero-post__title {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.2;
  color: var(--on-surface);
  margin: 0 0 8px;
}
.hero-post__title a { color: inherit; text-decoration: none; transition: color .2s; }
.hero-post__title a:hover { color: var(--accent-blue); }

/* Date */
.hero-post__date {
  display: block;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: .06em;
}

/* ── Featured post (left, large) ── */
.hero-post--featured .hero-post__img-wrap { aspect-ratio: 16/9; }
.hero-post--featured .hero-post__body {
  padding: 24px 32px 28px;
  margin-top: -88px;
  margin-inline: 32px;
}
.hero-post--featured .hero-post__title {
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
}

/* ── Small posts — horizontal: image left, text right ── */
.hero-post--small {
  flex-direction: row;
  flex: 1 1 0;           /* flex-basis 0 forces exact 50/50 split regardless of content */
  min-height: 0;         /* allow shrinking below content size */
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.hero-post--small .hero-post__img-wrap {
  width: 55%;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 0;
  aspect-ratio: unset;
}
.hero-post--small .hero-post__img {
  height: 100%;
  border-radius: 0;
  margin-left: 10px;
  width: calc(100% - 10px);
}
.hero-post--small .hero-post__img-placeholder {
  height: 100%;
  border-radius: 0;
  margin-left: 10px;
  width: calc(100% - 10px);
}
.hero-post--small .hero-post__body {
  flex: 1;
  margin: 0;
  padding: 20px 18px;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.hero-post--small .hero-post__title {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  margin-bottom: 0;
}

/* Wave dividers (not in use) */
.hero-section__wave,
.posts-grid-section__wave { display: none; }


/* ═══════════════════════════════════════════════
   POSTS GRID — Latest stories (Section 2)
═══════════════════════════════════════════════ */
.posts-grid-section {
  padding: 60px 0 60px;
  background-color: var(--cream);
  position: relative;
  z-index: 1;
}
.posts-grid-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../bg-pattern.webp');
  background-size: auto;
  background-repeat: repeat;
  z-index: -1;
  pointer-events: none;
}
.posts-grid-section__head {
  margin-bottom: 40px;
}
.posts-grid-section__title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  font-style: italic;
  color: var(--on-surface);
  display: inline;
  background-image: linear-gradient(transparent 58%, rgba(153,30,102,.18) 58%);
  padding-right: 6px;
}

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

/* ── Horizontal post card ── */
.posts-card {
  display: flex;
  flex-direction: row;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  align-items: stretch;
  transition: transform .3s var(--ease-out);
}
.posts-card:hover { transform: translateY(-2px); }

/* Image — left, fixed height ensures equal thumbnails across all rows */
.posts-card__img-link {
  display: block;
  flex-shrink: 0;
  width: 44%;
  height: 200px;
  overflow: hidden;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  box-shadow: 8px 0 24px rgba(0,0,0,.18);
}
.posts-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease-out);
}
.posts-card:hover .posts-card__img { transform: scale(1.05); }
.posts-card__img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 130px;
  background: linear-gradient(135deg, var(--sand) 0%, var(--sand-dark) 100%);
}

/* White content box — margin makes image appear taller, no left radius */
.posts-card__body {
  flex: 1;
  background: #fff;
  margin: 10px 0 10px 0;
  border-radius: 0 10px 10px 0;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* Category label — same style as hero section */
.posts-card__cat {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #991e66;
  text-decoration: none;
  transition: opacity .2s;
}
.posts-card__cat:hover { opacity: .75; }

/* Title */
.posts-card__title {
  font-family: var(--font-headline);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--on-surface);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}
.posts-card__title a { color: inherit; text-decoration: none; transition: color .2s; }
.posts-card__title a:hover { color: var(--accent-blue); }

/* Date */
.posts-card__date {
  font-family: var(--font-body);
  font-size: .67rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: .04em;
}


/* ═══════════════════════════════════════════════
   CATEGORIES — Section 3
═══════════════════════════════════════════════ */
.categories-section {
  background: #EBF3FF;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}
.categories-section.has-bg-image {
  background-size: cover;
  background-position: center;
}
.categories-section.has-bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 0;
}
.categories-section.has-bg-image .container {
  position: relative;
  z-index: 1;
}
.categories-head {
  text-align: center;
  margin-bottom: 52px;
}
.categories-title {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.1;
  margin-bottom: 12px;
}
.categories-section.has-bg-image .categories-title {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.65);
}
.categories-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--on-surface-muted);
  max-width: 520px;
  margin-inline: auto;
  line-height: 1.6;
}
.categories-section.has-bg-image .categories-subtitle {
  color: rgba(255,255,255,.88);
  text-shadow: 0 1px 6px rgba(0,0,0,.55);
}

/* Trail cards row */
.trail-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.trail-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border-radius: 20px;
  padding: 0;
  flex: 1;
  max-width: 240px;
  text-decoration: none;
  color: var(--on-surface);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,108,235,.08);
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.trail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 36px rgba(0,108,235,.16);
}

/* Full-width image — ~70% of card height */
.trail-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  flex-shrink: 0;
  overflow: hidden;
  background: #d4e6fb;
}
.trail-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s var(--ease-out);
}
.trail-card:hover .trail-card__img img { transform: scale(1.06); }
.trail-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
}

.trail-card__name {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--on-surface);
  text-align: center;
  line-height: 1.25;
  padding: 16px 16px 20px;
}

/* Explore More button */
.categories-footer {
  text-align: center;
  margin-top: 44px;
}


/* ═══════════════════════════════════════════════
   AROUND THE COUNTRY — was guides-section, now journal
   Effect: Wave bottom edge → dark reviews section
═══════════════════════════════════════════════ */
.guides-section {
  padding: var(--section-py) 0;
  padding-bottom: calc(var(--section-py) + 60px);
  background: var(--cream);
  position: relative;
  z-index: 2;
}
/* Keep old wave for compat but override via journal-section */
.guides-section::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%231A2E22' d='M0,20 C180,60 360,0 540,30 C720,60 900,10 1080,35 C1260,60 1380,15 1440,25 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
  z-index: 3;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════
   TRAVEL JOURNAL STACK — Section 3
═══════════════════════════════════════════════ */
.journal-section {
  padding: var(--section-py) 0;
  background: var(--cream);
  position: relative;
  z-index: 2;
}

.journal-section .vr-badge {
  margin-bottom: 5px;
}

.journal-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.journal-head__text { flex: 1; }
.journal-head .eyebrow { color: var(--lime-dark); }
.journal-title {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.1;
  margin: 0;
}
.journal-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--forest);
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: 2px solid var(--border);
  padding-bottom: 2px;
  transition: border-color .2s, color .2s;
}
.journal-all-link:hover { border-color: var(--forest); }
.journal-all-link svg { transition: transform .2s; }
.journal-all-link:hover svg { transform: translateX(4px); }

/* 2-col layout: featured 60% + stack 40% */
.journal-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: start;
}

/* Featured story */
.journal-featured {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius-img);
  overflow: hidden;
  box-shadow: 0 2px 0 0 var(--sand-dark), 0 6px 24px rgba(0,0,0,.06);
  transform: rotate(-0.8deg);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.journal-featured:hover {
  transform: rotate(0deg);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.journal-featured__img-link {
  display: block;
  aspect-ratio: 5/3;
  overflow: hidden;
}
.journal-featured__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease-out);
}
.journal-featured:hover .journal-featured__img { transform: scale(1.04); }
.journal-featured__img-placeholder {
  width: 100%; height: 100%; min-height: 280px;
  background: linear-gradient(135deg, var(--sand) 0%, var(--sand-dark) 100%);
}
.journal-featured__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.journal-featured__title {
  font-family: var(--font-headline);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--on-surface);
}
.journal-featured__title a { color: inherit; transition: color .2s; }
.journal-featured__title a:hover { color: var(--forest); }
.journal-featured__date {
  font-size: .62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-light);
}

/* Stacked rows */
.journal-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.journal-row {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  transition: background .2s;
  border-left: 3px solid var(--lime);
  background: var(--surface);
}
.journal-row:first-child { border-radius: var(--radius-md) var(--radius-md) 0 0; overflow: hidden; }
.journal-row:last-child {
  border-bottom: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  overflow: hidden;
}
.journal-row:hover { background: var(--cream); }
.journal-row__img-link {
  display: block;
  flex-shrink: 0;
  width: 125px; height: 100px;
  overflow: hidden;
  padding: 5px;
}
.journal-row__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  transition: transform .4s var(--ease-out);
}
.journal-row__img-link:hover .journal-row__img { transform: scale(1.07); }
.journal-row__img-placeholder {
  width: 100%; height: 100%;
  background: var(--sand-dark);
  border-radius: var(--radius);
}
.journal-row__body {
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 5px;
  flex: 1;
  min-width: 0;
}
.journal-row__title {
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--on-surface);
  margin: 0;
}
.journal-row__title a { color: inherit; transition: color .2s; }
.journal-row__title a:hover { color: var(--forest); }
.journal-row__date {
  font-size: .6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--text-light);
}

/* Wave bottom of journal into reviews */
.journal-section__wave {
  line-height: 0;
  margin-top: 80px;
}
.journal-section__wave svg { display: block; width: 100%; height: 90px; }

/* ── SHARED CATEGORY BADGE ─────────────────────────────────── */
.vr-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: .58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent-pink);
  background: transparent;
  border: 1.5px solid var(--accent-pink);
  padding: 3px 10px 3px 8px;
  border-radius: 3px;
  margin-bottom: 10px;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.vr-badge::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-pink);
  flex-shrink: 0;
  transition: background .2s;
}
.vr-badge:hover { background: var(--accent-pink); color: #fff; }
.vr-badge:hover::before { background: #fff; }

/* Light variant — on dark image overlay */
.vr-badge--light {
  color: #fff;
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(4px);
}
.vr-badge--light::before { background: #fff; }
.vr-badge--light:hover { background: rgba(255,255,255,.25); color: #fff; border-color: #fff; }

/* Ocean variant — for dark section */
.vr-badge--ocean {
  color: var(--lime);
  border-color: rgba(240,192,64,.45);
  background: rgba(240,192,64,.08);
}
.vr-badge--ocean::before { background: var(--lime); }
.vr-badge--ocean:hover { background: var(--lime); color: var(--forest-deep); border-color: var(--lime); }
.vr-badge--ocean:hover::before { background: var(--forest-deep); }

/* Gold variant — on dark image overlay */
.vr-badge--gold {
  color: var(--lime);
  border-color: rgba(240,192,64,.6);
  background: rgba(10,45,69,.45);
  backdrop-filter: blur(4px);
}
.vr-badge--gold::before { background: var(--lime); }
.vr-badge--gold:hover { background: var(--lime); color: var(--forest-deep); }
.vr-badge--gold:hover::before { background: var(--forest-deep); }

/* ── VOYAGE REPORT layout ───────────────────────────── */
.vr-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
/* Old vr-* layout classes hidden — replaced by journal-section */
.vr-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-img);
  overflow: hidden;
}

/* Hero card */
.vr-hero {
  position: relative;
  display: flex;
  flex-direction: column;
}
.vr-hero__img-link {
  display: block;
  position: relative;
  flex: 1;
  overflow: hidden;
  min-height: 320px;
}
.vr-hero__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease-out);
}
.vr-hero__img-link:hover .vr-hero__img { transform: scale(1.04); }
.vr-hero__img-placeholder {
  width: 100%; height: 100%; min-height: 320px;
  background: var(--sand-dark);
}
/* Gradient overlay on image for text */
.vr-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,45,69,.82) 0%, rgba(10,45,69,.15) 55%, transparent 100%);
  pointer-events: none;
}
/* Text pinned to bottom of image */
.vr-hero__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 28px 24px;
  z-index: 2;
}
.vr-hero__title {
  font-family: var(--font-headline);
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}
/* ═══════════════════════════════════════════════
   POSTCARDS FROM THE ROAD — Section 5
═══════════════════════════════════════════════ */
.postcard-section {
  padding: var(--section-py) 0 0;
  position: relative;
  z-index: 2;
}
.postcard-head {
  text-align: center;
  margin-bottom: 52px;
}
.postcard-head .eyebrow { color: var(--lime-dark); }
.postcard-title {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.1;
  margin-top: 8px;
}
.postcard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 52px;
}
.postcard-card {
  background: #f0f2f4;
  border-radius: var(--radius-md);
  border: 3px solid var(--lime-dark);
  box-shadow: 4px 4px 0 0 var(--sand-dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.postcard-card--green { border-color: var(--forest); }
.postcard-card--tilted { transform: rotate(1.2deg); }
.postcard-card:hover {
  transform: rotate(0deg) translateY(-4px) !important;
  box-shadow: 6px 8px 0 0 var(--sand-dark);
}
.postcard-card__img-link {
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.postcard-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease-out);
}
.postcard-card:hover .postcard-card__img { transform: scale(1.04); }
.postcard-card__img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--sand) 0%, var(--sand-dark) 100%);
}
.postcard-stamp {
  position: absolute;
  top: 10px; right: 10px;
  width: 36px; height: 36px;
  color: var(--lime);
  opacity: .75;
}
.postcard-card__body {
  background: #fff;
  margin: 0 10px 10px;
  border-radius: 0 0 8px 8px;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.postcard-card__cat {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #991e66;
  text-decoration: none;
  transition: opacity .2s;
}
.postcard-card__cat:hover { opacity: .75; }
.postcard-card__title {
  font-family: var(--font-headline);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--on-surface);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}
.postcard-card__title a { color: inherit; text-decoration: none; transition: color .2s; }
.postcard-card__title a:hover { color: var(--accent-blue); }
.postcard-card__date {
  font-family: var(--font-body);
  font-size: .67rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: .04em;
}
.postcard-footer {
  text-align: center;
  margin-bottom: 80px;
}
.postcard-section__wave { display: block; line-height: 0; }
.postcard-section__wave svg { display: block; width: 100%; height: 80px; }


/* ═══════════════════════════════════════════════
   SECTION DIVIDER
═══════════════════════════════════════════════ */
.section-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 28px;
}
.section-divider__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-pink) 40%, var(--accent-pink) 60%, transparent);
}
.section-divider__icon {
  color: var(--accent-pink);
  flex-shrink: 0;
  display: block;
  opacity: .8;
}


/* ═══════════════════════════════════════════════
   REVIEWS — White-background slider
═══════════════════════════════════════════════ */
.reviews-section {
  background: #fff;
  padding: 100px 0;
}
.reviews-head {
  text-align: center;
  margin-bottom: 48px;
}
.reviews-title {
  font-family: var(--font-headline);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.15;
  margin: 0;
}

/* Slider wrapper */
.reviews-slider-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.reviews-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
}
.reviews-track {
  display: flex;
  transition: transform .55s var(--ease-out);
}
.review-slide {
  flex: 0 0 100%;
  background: #f7f8fa;
  border-radius: 16px;
  padding: 44px 52px;
  position: relative;
  overflow: hidden;
}
.review-slide::before {
  content: '\201C';
  position: absolute;
  top: 10px; left: 32px;
  font-family: var(--font-headline);
  font-size: 7rem;
  line-height: 1;
  color: var(--accent-pink);
  opacity: .1;
  pointer-events: none;
}
.review-slide__quote { margin-bottom: 0; }
.review-slide__quote p {
  font-family: var(--font-headline);
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  font-style: italic;
  font-weight: 400;
  color: var(--on-surface);
  line-height: 1.8;
  margin: 0 0 24px;
}
.review-slide__author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .88rem;
  color: var(--on-surface);
  padding-top: 20px;
  border-top: 2px solid var(--accent-pink);
}
.review-slide__author::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--accent-pink);
  flex-shrink: 0;
}
.review-slide__author span {
  font-weight: 400;
  font-size: .78rem;
  color: var(--text-light);
  letter-spacing: .06em;
}

/* Arrows */
.reviews-arrow {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--on-surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, color .2s;
}
.reviews-arrow:hover {
  background: var(--accent-pink);
  border-color: var(--accent-pink);
  color: #fff;
}

/* Dots */
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.reviews-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background .3s, width .3s, border-radius .3s;
}
.reviews-dot--active {
  background: var(--accent-pink);
  width: 24px;
  border-radius: 4px;
}


/* ═══════════════════════════════════════════════
   CTA BANNER — Full-width image section
═══════════════════════════════════════════════ */
.cta-banner {
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--forest-deep);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.48);
}
.cta-banner__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  padding: 0 28px;
}
.cta-banner__title {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: 8px 0 16px;
}
.cta-banner__sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 32px;
  line-height: 1.6;
}


/* ═══════════════════════════════════════════════
   SUBSCRIBE SECTION
═══════════════════════════════════════════════ */
.subscribe-section {
  background: #fff;
  padding: var(--section-py) 0;
}

.subscribe-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.subscribe-inner__left .eyebrow { display: block; margin-bottom: 12px; }
.subscribe-inner__title {
  font-family: var(--font-headline);
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
  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;
}
.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(--accent-pink); flex-shrink: 0; }

/* Form card — light surface */
.subscribe-form-card {
  background: #f7f8fa;
  border-radius: 16px;
  padding: 36px;
}
.subscribe-form-card__label {
  font-family: var(--font-headline);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 24px;
}
.subscribe-form-card__note {
  font-size: .85rem;
  color: var(--text-light);
  font-style: italic;
}

/* CF7 overrides — light background */
.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; }
.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: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--on-surface);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.subscribe-form-card input:focus,
.subscribe-form-card textarea:focus,
.subscribe-form-card select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0,108,235,.12);
}
.subscribe-form-card input::placeholder,
.subscribe-form-card textarea::placeholder { color: var(--text-light); }

.subscribe-form-card .wpcf7-submit {
  width: 100%;
  padding: 16px 28px;
  background: var(--accent-blue);
  color: #fff;
  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;
}
.subscribe-form-card .wpcf7-submit:hover {
  background: var(--dusk);
  box-shadow: 0 6px 24px rgba(0,108,235,.28);
  transform: translateY(-1px);
}
.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(--accent-blue);
  cursor: pointer;
}
.subscribe-form-card .wpcf7-list-item-label {
  font-size: .8rem;
  color: var(--on-surface-muted);
  line-height: 1.65;
}
.subscribe-form-card .wpcf7-list-item-label a {
  color: var(--accent-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.subscribe-form-card .wpcf7-list-item-label a:hover { color: var(--dusk); }
.subscribe-form-card .wpcf7-not-valid-tip {
  font-size: .76rem;
  color: #c0392b;
  margin-top: 4px;
  display: block;
}
.subscribe-form-card .wpcf7-response-output {
  font-size: .84rem;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-top: 8px;
  color: var(--on-surface);
}
.subscribe-form-card .wpcf7-spinner { display: none; }


/* ═══════════════════════════════════════════════
   ABOUT THE EDITOR — Split card layout
═══════════════════════════════════════════════ */
.editor-section {
  padding: var(--section-py) 0;
  background: #fff;
}

.editor-card {
  display: grid;
  grid-template-columns: 1fr 360px;
  background: #f7f8fa;
  border-radius: 24px;
  overflow: hidden;
  border-top: 4px solid var(--accent-pink);
}

.editor-card__content {
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.editor-card__content .eyebrow { margin-bottom: 14px; }

.editor-card__name {
  font-family: var(--font-headline);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  color: var(--on-surface);
  line-height: 1.05;
  margin: 0 0 20px;
}

.editor-card__tagline {
  font-family: var(--font-headline);
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--accent-pink);
  line-height: 1.6;
  margin-bottom: 28px;
  padding-left: 18px;
  border-left: 3px solid var(--accent-pink);
}

.editor-card__bio {
  font-size: .96rem;
  color: var(--on-surface-muted);
  line-height: 1.85;
  margin-bottom: 36px;
  flex: 1;
}
.editor-card__bio p { margin-bottom: 14px; }
.editor-card__bio p:last-child { margin-bottom: 0; }

/* Photo column — fills full card height */
.editor-card__photo {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}
.editor-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.editor-card__photo-name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.62));
  padding: 32px 20px 18px;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  color: rgba(255,255,255,.88);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.editor-card__photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 500px;
  background: linear-gradient(160deg, var(--sand) 0%, var(--sand-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--on-surface-muted);
  font-size: .84rem;
  text-align: center;
  padding: 24px;
}


/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.site-footer {
  background: #0d1b36;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* 3-column grid: logo | nav-left | nav-right */
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding: 20px 25px 60px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.home .footer-wave {
  background-color: #fff !important;
}

/* Brand / Logo column */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.footer-brand__name {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  transition: color .2s;
  text-decoration: none;
  line-height: 1.1;
}
.footer-brand__name:hover { color: var(--lime); }
.footer-brand .custom-logo-link,
.footer-brand__logo-link {
  display: block;
  line-height: 0;
}
.footer-brand .custom-logo-link img,
.footer-brand__logo {
  height: 44px;
  width: auto;
  max-width: 200px;
}
.footer-brand__desc {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,.48);
  max-width: 230px;
}

/* Nav columns — vertical stacked links */
.footer-nav {
  position: relative;
  z-index: 1;
}
.footer-nav--left  { justify-self: center; text-align: center; }
.footer-nav--right { justify-self: end;    text-align: center; }

.footer-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-nav__list a {
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.68);
  letter-spacing: .03em;
  text-decoration: none;
  transition: color .2s;
}
.footer-nav__list a:hover { color: var(--lime); }

/* Copyright bar */
.footer-bottom {
  background: rgba(0,0,0,.22);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  position: relative;
  z-index: 1;
}
.footer-copy {
  font-size: .78rem;
  color: rgba(255,255,255,.38);
  text-align: center;
}
.footer-copy a { color: rgba(255,255,255,.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;
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-pink);
  text-decoration: none;
  margin: 0 8px 14px 0;
  transition: opacity .2s;
}
.post-header .or-chip::before { display: none; }
.post-header .or-chip:hover { background: transparent; color: var(--accent-pink); opacity: .75; }
.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(--accent-blue); border-bottom: 1px solid rgba(0,108,235,.25); transition: border-color .2s; }
.post-content a:hover { border-color: var(--accent-blue); }
.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(--accent-pink);
  padding: 18px 24px;
  margin: 32px 0;
  background: var(--sand);
  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(--accent-pink);
}
.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(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0,108,235,.12);
}
.sidebar-subscribe input[type="email"]::placeholder { color: var(--text-light); }
.sidebar-subscribe .wpcf7-submit {
  width: 100%;
  padding: 13px 20px;
  background: var(--accent-blue);
  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(--dusk);
  box-shadow: 0 4px 16px rgba(0,108,235,.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(--accent-blue); }
.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(--accent-blue); 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(--accent-pink);
  display: inline-block;
}
.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* related-card — same style as post-card (archive/category) */
.related-card {
  background: #f0f2f4;
  border-radius: var(--radius-md);
  overflow: hidden;
  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: 4/3;
  overflow: hidden;
}
.related-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease-out);
}
.related-card:hover .related-card__img { transform: scale(1.04); }
.related-card__img-placeholder {
  width: 100%; height: 100%;
  min-height: 160px;
  background: linear-gradient(135deg, var(--sand) 0%, var(--sand-dark) 100%);
}
.related-card__body {
  background: #fff;
  margin: 0 10px 10px;
  border-radius: 0 0 8px 8px;
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.related-card__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-pink);
  text-decoration: none;
  transition: opacity .2s;
}
.related-card__tag:hover { opacity: .75; }
.related-card__title {
  font-family: var(--font-headline);
  font-size: clamp(.9rem, 1.2vw, 1.05rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--on-surface);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}
.related-card__title a { color: inherit; text-decoration: none; transition: color .2s; }
.related-card__title a:hover { color: var(--accent-blue); }
.related-card__date {
  font-family: var(--font-body);
  font-size: .67rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: .04em;
}


/* ═══════════════════════════════════════════════
   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 {
  background: #f0f2f4;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,.09);
}
.post-card__img-link {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.post-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s var(--ease-out);
}
.post-card:hover .post-card__img { transform: scale(1.04); }
.post-card__img-placeholder {
  width: 100%; height: 100%;
  min-height: 160px;
  background: linear-gradient(135deg, var(--sand) 0%, var(--sand-dark) 100%);
}
.post-card__body {
  background: #fff;
  margin: 0 10px 10px;
  border-radius: 0 0 8px 8px;
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.post-card__cat {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-pink);
  text-decoration: none;
  transition: opacity .2s;
}
.post-card__cat:hover { opacity: .75; }
.post-card__title {
  font-family: var(--font-headline);
  font-size: clamp(.9rem, 1.3vw, 1.1rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--on-surface);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}
.post-card__title a { color: inherit; text-decoration: none; transition: color .2s; }
.post-card__title a:hover { color: var(--accent-blue); }
.post-card__excerpt {
  font-size: .84rem;
  color: var(--text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  margin: 0;
}
.post-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-blue);
  text-decoration: none;
  transition: color .2s;
  align-self: flex-start;
}
.post-card__link:hover { color: var(--dusk); }

/* 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(--accent-blue);
  border-color: var(--accent-blue);
  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;
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-pink);
  text-decoration: none;
  margin: 0 8px 14px 0;
  transition: opacity .2s;
}
.page-header .or-chip::before { display: none; }
.page-header .or-chip:hover { background: transparent; color: var(--accent-pink); opacity: .75; }
.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(--accent-blue); border-bottom: 1px solid rgba(0,108,235,.25); }
.page-content-wrap .entry-content a:hover { border-color: var(--accent-blue); }
.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
═══════════════════════════════════════════════ */

/* ── Nav collapses to hamburger at 1200px ── */
@media (max-width: 1200px) {
  .header-nav { display: none; }
  .header-subscribe-btn { display: none; }
  .burger-btn { display: flex; }

  .header-inner {
    justify-content: space-between;
    padding: 0px 28px;
  }
}

/* ── Mosaic + categories: 1100px ── */
@media (max-width: 1100px) {
  /* Hero — tighten featured body margins at 1100px */
  .hero-post--featured .hero-post__body { margin-inline: 20px; }

  /* Categories — tighten gap at 1100px */
  .trail-cards { gap: 12px; }
  .trail-card { max-width: none; }
}

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

  /* Journal — narrow the stack column */
  .journal-layout { grid-template-columns: 1fr 340px; gap: 20px; }

  /* Postcard — reduce gap */
  .postcard-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .editor-card { grid-template-columns: 1fr 300px; }
  .single-container { grid-template-columns: 1fr 280px; gap: 44px; }
}

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

  /* Hero — stack at 991px */
  .hero-all-link { display: none; }
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-post--small { flex: none; }
  .hero-post--small .hero-post__img-wrap { width: 40%; min-height: 140px; }
  .hero-post--featured .hero-post__body { margin-inline: 20px; margin-top: -72px; padding: 20px 22px 24px; }

  /* Categories — 2-up grid on tablet/phone */
  .trail-cards { flex-wrap: wrap; gap: 14px; }
  .trail-card { min-width: calc(50% - 7px); max-width: calc(50% - 7px); }

  /* Journal — stack right part below */
  .journal-layout { grid-template-columns: 1fr; }
  .journal-featured { transform: rotate(0deg); }

  /* Posts grid — cards flip vertical on tablet */
  .posts-card { flex-direction: column; }
  .posts-card__img-link { width: 100%; height: auto; border-radius: 12px 12px 0 0; aspect-ratio: 16/9; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
  .posts-card__body { border-radius: 0 0 10px 10px; margin: 0; }

  /* Postcard — 2 per row */
  .postcard-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .postcard-card--tilted { transform: none; }

  /* Reviews slider — tighter on tablet */
  .reviews-slider-wrap { gap: 8px; }
  .review-slide { padding: 36px 28px; }
  .reviews-arrow { width: 40px; height: 40px; }

  /* Subscribe */
  .subscribe-inner { grid-template-columns: 1fr; gap: 40px; }
  .subscribe-inner__left { padding-bottom: 40px; border-bottom: 1px solid var(--border); }

  /* Editor */
  .editor-card { grid-template-columns: 1fr; }
  .editor-card__photo { min-height: 280px; aspect-ratio: 16/9; order: -1; }
  .editor-card__content { padding: 40px 36px; }

  /* Footer — logo centered on top, 2 menus in one row below */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-block: 48px; }
  .footer-brand { grid-column: 1 / -1; align-items: center; text-align: center; }
  .footer-nav--left  { justify-self: center; text-align: center; }
  .footer-nav--right { justify-self: center; text-align: 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: 560px ── */
@media (max-width: 560px) {

  .container { padding-inline: 20px; }
  .reviews-section { padding: 60px 0; }

  /* Hero — phones: featured 4/3, small cards go full horizontal */
  .hero-post--featured .hero-post__img-wrap { aspect-ratio: 4/3; }
  .hero-post--featured .hero-post__body { margin-inline: 12px; margin-top: -56px; padding: 16px 16px 20px; }
  /* Small hero posts — vertical on phones (image top, content bottom) */
  .hero-post--small { flex-direction: column; flex: none; }
  .hero-post--small .hero-post__img-wrap { width: 100%; aspect-ratio: 16/9; align-self: auto; min-height: 0; }
  .hero-post--small .hero-post__body { justify-content: flex-start; }

  /* Journal stack — single column */
  .journal-layout { gap: 16px; }

  /* Posts grid — 1 col on phone */
  .posts-grid { grid-template-columns: 1fr; }

  /* Postcard — 1 per row */
  .postcard-grid { grid-template-columns: 1fr; }

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

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

  /* Reviews slider — arrows below on phone */
  .reviews-slider-wrap {
    display: grid;
    grid-template-areas: "viewport viewport" "prev next";
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .reviews-viewport { grid-area: viewport; }
  .reviews-prev { grid-area: prev; justify-self: end; }
  .reviews-next { grid-area: next; justify-self: start; }
  .review-slide { padding: 28px 24px; }

  .subscribe-form-card { padding: 28px 24px; }
  .editor-card__content { padding: 28px 24px; }
  .editor-card__photo { aspect-ratio: 4/3; min-height: 0; }

  .journal-head {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .related-posts__grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }

  /* Footer — keep 2-column layout on phones (same as tablet) */
}

/* ── Narrow: 1000px — hide 3rd related post card ── */
@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; }
}

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