/*
Theme Name: Find Faraway
Theme URI: https://windtakesmolly.com
Author: Find Faraway
Description: Official theme for windtakesmolly.com — a travel blog built around the open road, golden horizons, and stories from far-off places.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: findfaraway
*/

/* ─── Google Fonts ────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ─── Design tokens ──────────────────────────────────────────────────────── */
:root {
  --ink:        #16261E;
  --ink-muted:  #5D6B64;
  --gold:       #00704A;
  --gold-dark:  #005A3A;
  --coral:      #8F6600;
  --coral-dark: #8A6300;
  --cream:      #F5EFE1;
  --cream-dark: #EDE4CF;
  --sky:        #A8D08D;
  --sky-light:  #DCEBD2;
  --white:      #FFFFFF;
  --shadow-sm:  0 2px 8px rgba(22,38,30,.08);
  --shadow-md:  0 6px 24px rgba(22,38,30,.12);
  --radius:     10px;
  --max-w:      1100px;
  --content-w:  740px;
  --font:       'Nunito', system-ui, sans-serif;
}

/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--coral); }

/* ─── Base ───────────────────────────────────────────────────────────────── */
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

/* ─── Layout helpers ─────────────────────────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.wrap--narrow {
  max-width: var(--content-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.site-header__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.site-logo img {
  height: 46px;
  width: auto;
}

/* Nav */
.site-nav ul {
  list-style: none;
  display: flex;
  gap: .25rem;
}
.site-nav a {
  display: block;
  padding: .4rem .85rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--cream);
  border-radius: 6px;
  transition: background .18s, color .18s;
  letter-spacing: .01em;
}
.site-nav a:hover,
.site-nav a.current-menu-item {
  background: rgba(255,255,255,.12);
  color: var(--gold);
}

/* ─── Nav dropdown (sub-menu) ─────────────────────────────────────────── */
.site-nav .menu-item-has-children { position: relative; }
.site-nav .menu-item-has-children > a::after {
  content: ' ▾';
  font-size: .65em;
  opacity: .7;
  vertical-align: middle;
}
.site-nav .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--ink);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  padding: .35rem;
  min-width: 210px;
  box-shadow: var(--shadow-md);
  z-index: 100;
  flex-direction: column;
  gap: 0;
}
.site-nav .menu-item-has-children:hover > .sub-menu,
.site-nav .menu-item-has-children:focus-within > .sub-menu { display: flex; }
.site-nav .sub-menu a {
  white-space: nowrap;
  font-size: .82rem;
  padding: .4rem .85rem;
  border-radius: 5px;
  color: var(--cream);
}
.site-nav .sub-menu a:hover { background: rgba(255,255,255,.12); color: var(--gold); }

/* ─── Hamburger (mobile) ───────────────────────────────────────────────── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  color: var(--cream);
}
.nav-toggle svg { display: block; }

/* Search toggle button */
.search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  color: var(--cream);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: .85;
  transition: opacity .18s;
}
.search-toggle:hover,
.search-toggle[aria-expanded="true"] { opacity: 1; color: var(--gold); }

/* Search bar (slides down from header) */
.site-search {
  background: #10201A;
  border-top: 1px solid rgba(255,255,255,.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease, padding .28s ease;
}
.site-search.is-open {
  max-height: 80px;
}
.site-search__form {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.site-search__input {
  flex: 1;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: .55rem 1rem;
  color: var(--cream);
  font-family: 'Nunito', sans-serif;
  font-size: .95rem;
  outline: none;
  transition: border-color .18s, background .18s;
}
.site-search__input::placeholder { color: rgba(245,239,225,.45); }
.site-search__input:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,.15);
}
.site-search__submit,
.site-search__close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(245,239,225,.7);
  padding: .4rem;
  display: flex;
  align-items: center;
  transition: color .18s;
}
.site-search__submit:hover { color: var(--gold); }
.site-search__close:hover  { color: var(--cream); }

/* Mobile nav */
@media (max-width: 720px) {
  .site-header__inner { gap: .25rem; }
  .site-logo { margin-right: auto; }
  .nav-toggle { display: block; order: 3; }
  .site-nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--ink);
    border-top: 1px solid rgba(255,255,255,.1);
    padding: .75rem 1.25rem 1rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: .1rem; }
  .site-nav a { font-size: 1rem; padding: .55rem .75rem; }
  /* Sub-menu always visible on mobile (no hover) */
  .site-nav .sub-menu {
    display: flex;
    position: static;
    border: none;
    border-left: 2px solid rgba(255,255,255,.15);
    border-radius: 0;
    padding: 0 0 0 .75rem;
    margin: .15rem 0 .25rem .75rem;
    box-shadow: none;
    background: transparent;
    min-width: 0;
  }
  .site-nav .menu-item-has-children > a::after { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   INDEX MAP STRIP
═══════════════════════════════════════════════════════════════════════════ */
.idx-map-wrap { background: #e8e0d0; border-bottom: 2px solid #d6cdbf; }
#idx-map      { height: 220px; width: 100%; }
.idx-map-tip .leaflet-popup-content-wrapper {
  background: #16261E; color: #F5EFE1; border-radius: 6px;
  padding: 0; box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.idx-map-tip .leaflet-popup-tip { background: #16261E; }
.idx-map-popup {
  display: block; padding: 6px 12px;
  color: #F5EFE1; text-decoration: none;
  font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 600;
  white-space: nowrap;
}
.idx-map-popup:hover { color: #00704A; }

/* ─── CATEGORY PILL BAR
═══════════════════════════════════════════════════════════════════════════ */
.cat-pills {
  background: var(--cream);
  border-bottom: 2px solid var(--cream-dark);
  padding: .8rem 0;
}
.cat-pills__track {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 2px 4px;
}
.cat-pills__track::-webkit-scrollbar { display: none; }
.cat-pill {
  flex-shrink: 0;
  padding: .35rem .95rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  border: 1.5px solid rgba(22,38,30,.2);
  color: var(--ink);
  background: transparent;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}
.cat-pill:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.cat-pill--active { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════════════════
   SITE HERO (home page)
═══════════════════════════════════════════════════════════════════════════ */
.site-hero {
  background: linear-gradient(180deg, #E7DFCF 0%, #EFE8D8 55%, #F5EFE1 100%);
  padding: 5rem 1.25rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.site-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/svg/wtwtm-icon.svg') center 60% / 340px auto no-repeat;
  opacity: .07;
}
.site-hero__logo {
  margin-inline: auto;
  width: min(460px, 86vw);
  position: relative;
}
.site-hero__tagline {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  font-weight: 600;
  color: var(--ink);
  opacity: .75;
  letter-spacing: .02em;
  position: relative;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FRONT PAGE
═══════════════════════════════════════════════════════════════════════════ */

/* ── POLAROID COLLAGE HERO ────────────────────────────────────────────── */
@keyframes ff-floaty {
  0%   { transform: translateY(0)     rotate(var(--rot)); }
  50%  { transform: translateY(-12px) rotate(var(--rot)); }
  100% { transform: translateY(0)     rotate(var(--rot)); }
}

.pc-hero  { max-width: 1240px; margin: 0 auto; padding: 14px 28px 8px; }
.pc-stage {
  position: relative;
  height: 620px;
  overflow: hidden;
  border-radius: 14px;
  background: radial-gradient(120% 90% at 50% 0%, #F0EADC 0%, #E7DFCF 100%);
}

/* Each polaroid */
.pc-shot {
  position: absolute;
  margin: 0;
  background: #fff;
  box-shadow: 0 18px 36px rgba(31,28,22,.20);
}
.pc-shot img   { width: 100%; display: block; }
.pc-shot figcaption {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  color: #5D6B64;
  text-align: center;
}

/* Slot positions and sizes — rotation/top/z-index set via inline style each load */
.pc-1 { left: 4%;   width: 210px; padding: 10px 10px 38px; }
.pc-2 { left: 20%;  width: 184px; padding: 10px 10px 36px; }
.pc-3 { right: 6%;  width: 172px; padding: 10px 10px 36px; }
.pc-4 { right: 9%;  width: 198px; padding: 10px 10px 38px; }
.pc-5 { left: 2%;   width: 158px; padding: 9px  9px  32px; }
.pc-6 { right: 26%; width: 150px; padding: 9px  9px  30px; }
.pc-7 { left: 33%;  width: 155px; padding: 9px  9px  32px; }
.pc-8 { left: 40%;  width: 162px; padding: 9px  9px  34px; }
.pc-9 { right: 2%;  width: 145px; padding: 9px  9px  30px; }

.pc-1 figcaption, .pc-2 figcaption,
.pc-3 figcaption, .pc-4 figcaption { font-size: 14px; padding-top: 10px; }
.pc-5 figcaption, .pc-6 figcaption,
.pc-7 figcaption, .pc-8 figcaption,
.pc-9 figcaption                   { font-size: 13px; padding-top: 8px;  }

/* Float animation — only when user hasn't opted out of motion */
@media (prefers-reduced-motion: no-preference) {
  .pc-1 { animation: ff-floaty 7.0s ease-in-out infinite 0s;    }
  .pc-2 { animation: ff-floaty 8.4s ease-in-out infinite 0.6s;  }
  .pc-3 { animation: ff-floaty 7.6s ease-in-out infinite 0.3s;  }
  .pc-4 { animation: ff-floaty 9.0s ease-in-out infinite 0.9s;  }
  .pc-5 { animation: ff-floaty 8.0s ease-in-out infinite 1.2s;  }
  .pc-6 { animation: ff-floaty 7.2s ease-in-out infinite 0.45s; }
  .pc-7 { animation: ff-floaty 8.8s ease-in-out infinite 0.15s; }
  .pc-8 { animation: ff-floaty 7.4s ease-in-out infinite 0.75s; }
  .pc-9 { animation: ff-floaty 9.2s ease-in-out infinite 1.0s;  }
}

/* Center frosted title card */
.pc-titlewrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  z-index: 10;
}
.pc-titlecard {
  background: rgba(245,239,225,.80);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 14px;
  padding: 30px 40px;
  box-shadow: 0 8px 30px rgba(31,28,22,.08);
}
.pc-logo { width: min(440px, 72vw); height: auto; display: block; margin: 0 auto; }
.pc-h1 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 28px;
  max-width: none;
}
.pc-h1 em { font-style: normal; color: #006A44; white-space: nowrap; }
.pc-cta { display: flex; gap: 13px; justify-content: center; pointer-events: auto; }
.pc-btn {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  transition: opacity .15s;
}
.pc-btn:hover        { opacity: .85; }
.pc-btn--solid       { background: #16261E; color: #F5EFE1; }
.pc-btn--light       { background: #fff; color: #16261E; border: 1px solid rgba(22,38,30,.14); }

/* Mobile: hide slots 5 & 6, shrink stage */
@media (max-width: 767px) {
  .pc-hide-mobile { display: none; }
  .pc-4           { display: none; }
  .pc-stage       { height: 480px; }
  .pc-h1        { font-size: 28px; }
  .pc-titlecard { padding: 22px 28px; }
  .pc-h1        { margin-bottom: 20px; }
}
@media (max-width: 480px) {
  .pc-2 { display: none; }
  .pc-stage { height: 420px; }
}

/* ── LATEST STORIES ───────────────────────────────────────────────────── */
.fh-posts {
  background: var(--cream);
  padding: 2rem 0 6rem;
  margin-top: 1.25rem;
  border-top: 2px solid var(--cream-dark);
}
.fh-posts__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.fh-posts__title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--ink);
}
.fh-posts__more {
  font-size: .85rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.fh-posts__more:hover { color: var(--coral); }

/* ── BLOG HEADER (index / archive) ────────────────────────────────────── */
.blog-header {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3.5rem;
  background: linear-gradient(180deg, #E7DFCF 0%, #EFE8D8 55%, #F5EFE1 100%);
  text-align: center;
}
.blog-header__watermark {
  position: absolute;
  width: clamp(200px, 38vw, 400px);
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: .13;
  pointer-events: none;
  user-select: none;
}
.blog-header__inner { position: relative; }
.blog-header__kicker {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: .5rem;
}
.blog-header__title {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--ink);
}

/* ── POST HERO watermark (no featured image) ───────────────────────────── */
.post-hero__watermark {
  position: absolute;
  width: clamp(180px, 32vw, 340px);
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: .13;
  pointer-events: none;
  user-select: none;
}

/* ── INFINITE SCROLL ──────────────────────────────────────────────────── */
.load-sentinel {
  height: 1px;
  margin-top: 2rem;
}
.load-spinner {
  display: flex;
  justify-content: center;
  gap: .4rem;
  padding: 2rem 0;
}
.load-spinner span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  animation: bounce 1s infinite ease-in-out;
}
.load-spinner span:nth-child(2) { animation-delay: .15s; }
.load-spinner span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: .4; }
  40%            { transform: scale(1);   opacity: 1; }
}
.load-end {
  text-align: center;
  padding: 2rem 0 3rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: .04em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   POST CARDS — index / archive
═══════════════════════════════════════════════════════════════════════════ */
.posts-section {
  padding: 3rem 0 4.5rem;
}
.posts-section__title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 900px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .posts-grid { grid-template-columns: 1fr; } }

/* Card */
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .22s, box-shadow .22s;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.post-card__thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #E7DFCF 0%, #EFE8D8 55%, #F5EFE1 100%);
}
.post-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.post-card:hover .post-card__thumb img { transform: scale(1.04); }

.post-card__thumb-placeholder {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(155deg,#E2D9C6 0%,#EDE4CF 45%,#F5EFE1 100%);
  transition: opacity .2s;
}
.post-card__thumb-placeholder:hover { opacity: .88; }

.post-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card__cats {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .55rem;
}
.post-card__cat {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--coral);
}

.post-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: .55rem;
}
.post-card__title a { color: inherit; }
.post-card__title a:hover { color: var(--gold); }

.post-card__excerpt {
  font-size: .875rem;
  line-height: 1.65;
  color: var(--ink-muted);
  flex: 1;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__meta {
  font-size: .75rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.post-card__meta time { font-weight: 600; }
.post-card__location {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #00704A;
  margin-bottom: .2rem;
}

.post-card__readmore {
  margin-top: .75rem;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--gold);
  text-transform: uppercase;
}
.post-card__readmore:hover { color: var(--coral); }
.post-card__readmore::after { content: ' →'; }

/* ═══════════════════════════════════════════════════════════════════════════
   SINGLE POST
═══════════════════════════════════════════════════════════════════════════ */
.post-hero {
  background: linear-gradient(180deg, #E7DFCF 0%, #EFE8D8 55%, #F5EFE1 100%);
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.post-hero__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,38,30,.72) 0%, rgba(22,38,30,.1) 60%, transparent 100%);
}
.post-hero__content {
  position: relative;
  max-width: var(--content-w);
  margin-inline: auto;
  padding: 2.5rem 1.25rem 2.75rem;
  width: 100%;
}
.post-hero__cats { margin-bottom: .75rem; display: flex; gap: .6rem; flex-wrap: wrap; }
.post-hero__cat {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #F5EFE1;
  background: rgba(22,38,30,.55);
  padding: .2rem .65rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}
.post-hero__title {
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.18;
  color: var(--white);
}
.post-hero__location {
  display: inline-block;
  margin-top: .5rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #FFC83D;
}
.post-hero--no-img .post-hero__location { color: #00704A; }
.post-hero__meta {
  margin-top: 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  font-weight: 600;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* No featured image: use sky gradient only */
.post-hero--no-img {
  min-height: 280px;
  align-items: center;
}
.post-hero--no-img .post-hero__title { color: var(--ink); }
.post-hero--no-img .post-hero__cat { color: var(--coral); background: rgba(22,38,30,.08); }
.post-hero--no-img .post-hero__meta { color: var(--ink-muted); }
.post-hero--no-img .post-hero__content { padding-block: 3rem; }

/* Post content */
.post-content {
  padding: 3rem 0 4rem;
}
.post-content p,
.post-content li {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 1.35rem;
}
.post-content h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
}
.post-content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  margin: 2rem 0 .75rem;
}
.post-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.5rem 0 .5rem;
}
.post-content ul, .post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.35rem;
}
.post-content li { margin-bottom: .35rem; }
.post-content a { color: var(--gold); font-weight: 600; border-bottom: 1px solid transparent; }
.post-content a:hover { color: var(--coral); border-bottom-color: var(--coral); }
.post-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.5rem;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
  font-style: italic;
  color: var(--ink-muted);
}
.post-content img {
  border-radius: var(--radius);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}
.post-content figure { margin: 2rem 0; }
.post-content figcaption {
  font-size: .8rem;
  color: var(--ink-muted);
  text-align: center;
  margin-top: .5rem;
}
.post-content hr {
  border: none;
  border-top: 2px solid var(--cream-dark);
  margin: 2.5rem 0;
}
.post-content code {
  background: var(--cream-dark);
  padding: .1em .4em;
  border-radius: 4px;
  font-size: .9em;
}
.post-content pre {
  background: var(--ink);
  color: var(--cream);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 1.5rem 0;
}
.post-content pre code { background: none; padding: 0; font-size: .9rem; }

/* Post footer navigation */
.post-nav {
  border-top: 2px solid var(--cream-dark);
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.post-nav a {
  font-size: .85rem;
  font-weight: 700;
  color: var(--gold);
}
.post-nav a:hover { color: var(--coral); }
.post-nav__prev::before { content: '← '; }
.post-nav__next::after  { content: ' →'; }

/* ═══════════════════════════════════════════════════════════════════════════
   PAGE
═══════════════════════════════════════════════════════════════════════════ */
.page-header {
  background: linear-gradient(180deg, #E7DFCF 0%, #EFE8D8 55%, #F5EFE1 100%);
  padding: 4rem 1.25rem 3rem;
  text-align: center;
}
.page-header__title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.15;
}
.page-header__subtitle {
  margin-top: .75rem;
  font-size: 1.05rem;
  color: var(--ink-muted);
}
.page-content {
  padding: 3rem 0 4rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ARCHIVE PAGE
═══════════════════════════════════════════════════════════════════════════ */
.archive-header {
  background: var(--ink);
  padding: 3rem 1.25rem;
  text-align: center;
}
.archive-header__kicker {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.archive-header__title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════════════════════════ */
.pagination {
  display: flex;
  justify-content: center;
  gap: .5rem;
  padding: 1rem 0 3rem;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 .75rem;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 700;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: background .18s, color .18s;
}
.pagination a:hover { background: var(--gold); color: var(--white); }
.pagination .current { background: var(--gold); color: var(--white); }

/* ═══════════════════════════════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════════════════════════════ */
.site-main--with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 960px) { .site-main--with-sidebar { grid-template-columns: 1fr; } }

.widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1rem;
  padding-bottom: .65rem;
  border-bottom: 2px solid var(--cream-dark);
}
.widget ul { list-style: none; }
.widget ul li { padding: .4rem 0; border-bottom: 1px solid var(--cream-dark); font-size: .9rem; }
.widget ul li:last-child { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════════════════════
   404
═══════════════════════════════════════════════════════════════════════════ */
.error-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.25rem;
}
.error-404__num {
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold), var(--coral));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.error-404__msg {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  margin: 1rem 0 .5rem;
}
.error-404__sub {
  color: var(--ink-muted);
  margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s, transform .12s;
  text-decoration: none;
  border: none;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--gold); color: var(--white); }
.btn--primary:hover { background: var(--gold-dark); color: var(--white); }
.btn--secondary { background: var(--coral); color: var(--white); }
.btn--secondary:hover { background: var(--coral-dark); color: var(--white); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--cream-dark);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.65);
}
.site-footer__top {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 3.5rem 1.25rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 720px) {
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand {}
.footer-brand__logo {
  height: 52px;
  width: auto;
  margin-bottom: 1rem;
}
.footer-brand__tagline {
  font-size: .875rem;
  line-height: 1.65;
  color: rgba(255,255,255,.5);
}

.footer-col__title {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .55rem; }
.footer-col a {
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  font-weight: 600;
  transition: color .18s;
}
.footer-col a:hover { color: var(--gold); }

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 1.25rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer__copy { font-size: .8rem; }
.footer-social { display: flex; gap: .65rem; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: background .18s, color .18s;
}
.footer-social a svg { display: block; flex-shrink: 0; }
.footer-social a:hover { background: var(--gold); color: var(--white); }

/* ═══════════════════════════════════════════════════════════════════════════
   SEARCH FORM
═══════════════════════════════════════════════════════════════════════════ */
.search-form {
  display: flex;
  gap: .5rem;
}
.search-form input[type="search"] {
  flex: 1;
  padding: .6rem 1rem;
  border: 2px solid var(--cream-dark);
  border-radius: 6px;
  font-family: var(--font);
  font-size: .875rem;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color .18s;
}
.search-form input[type="search"]:focus { border-color: var(--gold); }
.search-form button {
  padding: .6rem 1rem;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s;
}
.search-form button:hover { background: var(--coral); }

/* ─── Utilities ──────────────────────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.text-center { text-align: center; }

/* ─── Comments ───────────────────────────────────────────────────────────── */
.comments-section {
  margin-top: 3rem;
  border-top: 2px solid var(--cream-dark);
  padding-top: 2.5rem;
}
.comments-title,
.comment-form-title {
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.comment-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.comment-list .children {
  list-style: none;
  margin-top: 1.25rem;
  margin-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-left: 2px solid var(--cream-dark);
  padding-left: 1.25rem;
}
.comment-body {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}
.comment-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: block;
}
.comment-author-info {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  flex: 1;
}
.comment-author-name {
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
}
.comment-time {
  font-size: .78rem;
  color: var(--ink-muted);
}
.comment-reply a {
  font-size: .78rem;
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 600;
}
.comment-reply a:hover { text-decoration: underline; }
.comment-text { font-size: .95rem; color: var(--ink); line-height: 1.65; }
.comment-text p { margin: 0; }
.comment-awaiting { font-size: .85rem; color: var(--ink-muted); margin-bottom: .5rem; }

/* Comment form */
.comment-form { display: flex; flex-direction: column; gap: 1rem; }
.comment-fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .comment-fields-row { grid-template-columns: 1fr; } }
.comment-form p { display: flex; flex-direction: column; gap: .35rem; }
.comment-form label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink);
}
.comment-form .required { color: var(--coral); }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid rgba(22,38,30,.2);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s;
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.comment-form textarea { resize: vertical; min-height: 130px; }
.comment-email-note {
  font-size: .75rem;
  color: var(--ink-muted);
  margin-top: .2rem;
}
.comment-form .form-submit { margin-top: .5rem; }
.comment-form .btn--primary {
  display: inline-block;
  padding: .65rem 1.75rem;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.comment-form .btn--primary:hover { background: var(--gold-dark); }
/* ─── Travel map page ────────────────────────────────────────────────────── */
.map-page__hero {
  background: var(--ink);
  color: var(--cream);
  padding: 1.5rem 0 1.25rem;
  text-align: center;
}
.map-page__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: .25rem;
}
.map-page__sub {
  color: #EDEBE3;
  font-size: .9rem;
}
.map-wrap { width: 100%; display: block; line-height: 0; font-size: 0; }
#ff-map {
  width: 100%;
  height: 75vh;
  min-height: 480px;
}
/* Leaflet pin override */
.ff-pin { background: none; border: none; }
/* Popup */
.map-popup { min-width: 200px; }
.map-popup__img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  margin: 0;
}
.map-popup__body { padding: 10px 14px 12px; }
.map-popup__location {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #00704A;
  margin-bottom: .35rem;
}
.map-popup__title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.35;
  display: block;
}
.map-popup__title:hover { color: var(--gold-dark); }
/* Leaflet popup chrome tweaks */
/* Keep Leaflet's internal z-indexes (up to 1000) below the sticky header (100).
   The home map box is isolated as a whole so its click overlay and attribution keep their order. */
.leaflet-container { isolation: isolate; }
.ffh-map .leaflet-container { isolation: auto; }
.ffh-map__box { isolation: isolate; }
.leaflet-popup-content-wrapper { border-radius: 10px; padding: 0; overflow: hidden; }
.leaflet-popup-content { margin: 0; padding: 0; }

/* ─── Series banner (top of series posts) ───────────────────────────────── */
.series-banner {
  background: var(--ink);
  color: var(--cream);
  padding: .6rem 0;
  font-family: var(--font);
  font-size: .8rem;
}
.series-banner .wrap { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.series-banner__label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .68rem;
  color: var(--gold);
}
.series-banner__name {
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
}
.series-banner__name:hover { color: var(--gold); }
.series-banner__day {
  background: var(--coral);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .1rem .55rem;
  border-radius: 999px;
  letter-spacing: .04em;
}

/* ─── Series navigation (bottom of series posts) ────────────────────────── */
.series-nav {
  margin: 2.5rem 0 1.5rem;
  border-top: 2px solid var(--cream-dark);
  padding-top: 1.25rem;
}
.series-nav__label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-muted);
  margin-bottom: .8rem;
}
.series-nav__label a { color: var(--gold); }
.series-nav__links { display: flex; gap: 1rem; justify-content: space-between; }
.series-nav__prev,
.series-nav__next {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  max-width: 48%;
  text-decoration: none;
  background: var(--cream);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  transition: box-shadow .15s;
}
.series-nav__prev:hover,
.series-nav__next:hover { box-shadow: var(--shadow-sm); }
.series-nav__next { align-items: flex-end; }
.series-nav__day {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--coral);
}
.series-nav__title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

/* ─── Series archive page ───────────────────────────────────────────────── */
.series-archive-hero {
  background: var(--ink);
  color: var(--cream);
  padding: 3rem 0 2.5rem;
  text-align: center;
}
.series-archive-hero__eyebrow {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: .5rem;
}
.series-archive-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: .5rem;
}
.series-archive-hero__desc {
  color: #EDEBE3;
  font-size: .95rem;
  max-width: 520px;
  margin: 0 auto;
}
.series-archive-wrap { padding: 3rem 0; }
.series-archive-list { display: flex; flex-direction: column; gap: 1.5rem; max-width: 720px; margin: 0 auto; }
.series-card {
  display: flex;
  gap: 1.25rem;
  text-decoration: none;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .15s;
}
.series-card:hover { box-shadow: var(--shadow-md); }
.series-card__img-wrap { flex-shrink: 0; width: 200px; }
.series-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.series-card__body { padding: 1.2rem 1.25rem 1.2rem 0; display: flex; flex-direction: column; gap: .3rem; }
.series-card__day {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--coral);
}
.series-card__title { font-size: 1.1rem; font-weight: 800; color: var(--ink); line-height: 1.3; }
.series-card__loc { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--gold); }
.series-card__excerpt { font-size: .88rem; color: var(--ink-muted); line-height: 1.5; }
@media (max-width: 600px) {
  .series-card { flex-direction: column; }
  .series-card__img-wrap { width: 100%; height: 160px; }
  .series-card__body { padding: 1rem; }
}

/* ─── Route stats box (in post content) ────────────────────────────────── */
.route-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: .75rem;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.route-stat { text-align: center; }
.route-stat__val {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}
.route-stat__label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink-muted);
  margin-top: .2rem;
}

/* ─── Elevation profile chart ───────────────────────────────────────────── */
.elev-wrap {
  margin: 1.5rem 0;
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1rem 1rem .5rem;
}
.elev-chart { width: 100%; height: auto; display: block; }

/* ─── Route map (Leaflet, in post content) ──────────────────────────────── */
.route-map-wrap {
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
}
/* overflow:hidden must sit on the map div itself, not a wrapper —
   putting it on a wrapper creates a stacking context that mis-aligns
   Leaflet's tile pane against its vector/marker panes. */
.route-map {
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
}
.rmap-pin {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 800;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.rmap-pin--s { background: var(--coral); color: #fff; }
.rmap-pin--e { background: var(--ink); color: var(--cream); }
.rmap-pin--w {
  width: 10px; height: 10px;
  background: var(--gold);
  border-width: 1.5px;
}

/* ─── Post content figure captions ─────────────────────────────────────── */
.post-content figure { margin: 1.75rem 0; }
.post-content figure img { border-radius: var(--radius); width: 100%; }
.post-content figcaption {
  font-size: .78rem;
  color: var(--ink-muted);
  text-align: center;
  margin-top: .4rem;
  font-style: italic;
}

/* ─── Practical info box ────────────────────────────────────────────────── */
.info-box {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
  margin: 2rem 0;
}
.info-box h3 {
  font-size: .9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink);
  margin-bottom: .65rem;
}
.info-box ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.info-box li { font-size: .88rem; color: var(--ink); padding-left: 1.1rem; position: relative; }
.info-box li::before { content: '→'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* honeypot — off-screen, not display:none (some bots skip those) */
.comment-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.comments-closed {
  color: var(--ink-muted);
  font-size: .9rem;
  font-style: italic;
}


/* Header: one-line wordmark (the clover is the favicon). */
.site-header .site-logo img.site-logo__wordmark { height: 28px; width: auto; max-width: 100%; }
@media (max-width: 600px) { .site-header .site-logo img.site-logo__wordmark { height: 18px; } }

/* Footer: one-line name, a little smaller than the header. */
.footer-brand img.footer-brand__logo { height: auto; width: 100%; max-width: 240px; }

/* Header logo click: a quick gust and a flash of shamrock before going home. */
.site-logo { position: relative; }
.site-logo.is-gust .site-logo__wordmark { animation: ff-gust .55s ease-out; transform-origin: left center; }
.ff-gust-streak { position: absolute; left: -30px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(251,246,236,0), rgba(251,246,236,.95)); pointer-events: none; animation: ff-streak .5s ease-out forwards; }
.ff-gust-clover { position: absolute; top: 50%; left: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; pointer-events: none; animation: ff-clover .6s cubic-bezier(.3,.1,.4,1) forwards; }
@keyframes ff-gust { 0% { transform: none; } 30% { transform: translateX(6px) skewX(-8deg); } 60% { transform: translateX(-2px) skewX(3deg); } 100% { transform: none; } }
@keyframes ff-streak { 0% { transform: translateX(0) scaleX(.3); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateX(340px) scaleX(1); opacity: 0; } }
@keyframes ff-clover { 0% { left: 0; transform: translateY(2px) scale(.4) rotate(-60deg); opacity: 0; } 15% { opacity: 1; } 50% { transform: translateY(-5px) scale(1) rotate(120deg); } 85% { opacity: 1; } 100% { left: 100%; transform: translateY(1px) scale(.85) rotate(300deg); opacity: 0; } }

/* The same gust on the home hero buttons. */
.pc-btn { position: relative; overflow: visible; }
.pc-btn.is-gust { animation: ff-gust .55s ease-out; }
.pc-btn .ff-gust-streak { background: linear-gradient(90deg, rgba(62,134,180,0), rgba(62,134,180,.9)); }
.pc-btn.pc-btn--solid .ff-gust-streak { background: linear-gradient(90deg, rgba(251,246,236,0), rgba(251,246,236,.95)); }

/* Same gust on the links page "Visit windtakesmolly.com" button. */
a.ffl-site { position: relative; overflow: visible; }
a.ffl-site.is-gust { animation: ff-gust .55s ease-out; }

/* ── Home on phones: postcards above the title, compact story list ───── */
@media (max-width: 600px) {
  .pc-hero { padding: 10px 14px 0; }
  .pc-stage { height: auto; padding: 238px 0 26px; }
  .pc-2 { display: block; }
  .pc-1 { left: 3%;  width: 146px; padding: 8px 8px 28px; top: 40px !important; }
  .pc-2 { left: 50%; width: 140px; padding: 8px 8px 28px; top: 16px !important; margin-left: -70px; }
  .pc-3 { right: 3%; width: 146px; padding: 8px 8px 28px; top: 48px !important; }
  .pc-1 figcaption, .pc-2 figcaption, .pc-3 figcaption { font-size: 12px; padding-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pc-shot img { aspect-ratio: 4 / 3; object-fit: cover; }
  .pc-titlewrap { position: relative; inset: auto; }
  .pc-titlecard { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; padding: 0 12px; }
  .pc-logo { width: min(330px, 84vw); }
  .pc-h1 { margin-bottom: 16px; }

  .fh-posts .posts-grid { gap: .75rem; }
  .fh-posts .post-card { flex-direction: row; align-items: stretch; }
  .fh-posts .post-card:hover { transform: none; }
  .fh-posts .post-card__thumb { flex: none; width: 112px; aspect-ratio: auto; min-height: 112px; }
  .fh-posts .post-card__thumb img { position: absolute; inset: 0; }
  .fh-posts .post-card__body { padding: .8rem 1rem; justify-content: center; }
  .fh-posts .post-card__title { font-size: 1rem; line-height: 1.3; margin-bottom: .3rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .home .fh-posts .post-card__body > p, .fh-posts .post-card__readmore, .fh-posts .post-card__cats { display: none; }
  .fh-posts .post-card__thumb img { height: 100%; }
}

/* ── Palette G: on dark header/footer/banners, accents use flag gold ─── */
:root { --sun: #FFC83D; }
.site-nav a:hover, .site-nav a.current-menu-item,
.site-nav .sub-menu a:hover, .search-toggle[aria-expanded="true"],
.footer-col__title, .footer-col a:hover,
.series-banner__label, .series-banner__label a, .series-banner__name:hover { color: var(--sun); }
.footer-social a:hover { background: var(--sun); color: #16261E; }
.series-archive-hero__eyebrow { color: var(--sun); }

/* Search bar: drops over the page instead of pushing it down; one magnifier only
   (the submit button is an arrow); 16px text so iPhones don't zoom on focus. */
.site-header { position: sticky; }
.site-search { position: absolute; left: 0; right: 0; top: 100%; z-index: 99; box-shadow: 0 8px 18px rgba(0,0,0,.25); }
.site-search:not(.is-open) { box-shadow: none; }
.site-search__input { font-size: 16px; }
