/* =============================================================
   The Falls — Ghost Theme
   Design: navy #0d1f3c · Horseshoe blue #1e5fa8 · Sky #5ba4cf
   Type: DM Sans + DM Serif Display
   ============================================================= */

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

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --navy:      #0d1f3c;
  --navy-mid:  #1a3a5c;
  --blue:      #1e5fa8;
  --sky:       #5ba4cf;
  --sky-lt:    #7dc4e8;
  --smile:     #4a9fd4;
  --mist:      #d6eaf8;
  --ice:       #eef4fb;
  --fog:       #f0f5fa;
  --white:     #ffffff;
  --ink:       #1a2633;
  --ink-mid:   #4a5568;
  --ink-lt:    #718096;
  --rule:      #d1dde9;

  --sans:   'DM Sans', system-ui, Arial, sans-serif;
  --serif:  'DM Serif Display', Georgia, serif;

  --radius:    4px;
  --shadow:    0 2px 12px rgba(13,31,60,0.09);
  --shadow-lg: 0 8px 36px rgba(13,31,60,0.16);
  --max:       1280px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--fog);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── ANNOUNCEMENT BAR ──────────────────────────────────────── */
.announcement-bar {
  padding: 0.6rem 0;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
}
.announcement-bar--dark    { background: var(--navy); color: var(--white); }
.announcement-bar--light   { background: #f0f4f8; color: var(--navy); }
.announcement-bar--accent  { background: var(--sky); color: var(--navy); }
.announcement-content a { color: inherit; text-decoration: underline; }
.announcement-content a:hover { opacity: 0.8; }

/* ── SITE HEADER ───────────────────────────────────────────── */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 1.5rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.site-logo svg { display: block; }
.site-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.logo-wordmark {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}
.logo-tagline {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smile);
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.site-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding: 0.35rem 0.7rem;
  transition: color 0.15s;
}
.site-nav a:hover { color: var(--white); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 0.5rem 0;
  min-width: 140px;
  z-index: 200;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 0.4rem 1rem !important;
  white-space: nowrap;
  border-bottom: none !important;
}
.nav-dropdown-menu a:hover { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-cta {
  background: var(--sky) !important;
  color: var(--navy) !important;
  padding: 0.4rem 1rem !important;
  font-weight: 700 !important;
  margin-left: 0.5rem;
}
.nav-cta:hover { background: var(--sky-lt) !important; }

.nav-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.7);
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
  margin-left: 0.25rem;
}
.nav-search-btn:hover { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.7);
  transition: all 0.2s;
}

/* ── SITE HERO ─────────────────────────────────────────────── */
.site-hero {
  background: var(--navy);
  border-bottom: 3px solid var(--blue);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero-title em {
  font-style: italic;
  color: var(--sky);
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 400px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.hero-pill {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(91,164,207,0.35);
  color: rgba(255,255,255,0.6);
}
.hero-newsletter-link {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--sky-lt);
  margin-bottom: 1.25rem;
  text-decoration: underline;
  text-decoration-color: rgba(125,196,232,0.35);
}
.hero-newsletter-link:hover { text-decoration-color: var(--sky-lt); }
.hero-newsletter-link em { font-style: italic; }

.hero-subscribe {
  display: flex;
  gap: 0;
  max-width: 380px;
}
.hero-sub-input {
  flex: 1;
  padding: 0.65rem 1rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  border: none;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  outline: none;
}
.hero-sub-input::placeholder { color: rgba(255,255,255,0.35); }
.hero-sub-input:focus { background: rgba(255,255,255,0.15); }
.hero-sub-btn {
  background: var(--sky);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.1rem;
  white-space: nowrap;
  transition: background 0.15s;
}
.hero-sub-btn:hover { background: var(--sky-lt); }
.hero-fine {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  margin-top: 0.6rem;
}
.hero-fine a {
  color: var(--sky-lt);
  text-decoration: underline;
  text-decoration-color: rgba(125,196,232,0.35);
}
.hero-fine a:hover { color: var(--white); }

/* Hero right card */
.hero-card {
  background: var(--mist);
  border-left: 4px solid var(--sky);
  padding: 2rem 1.75rem;
  box-shadow: inset 0 0 0 1px rgba(91,164,207,0.15);
}
.hero-card-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.hero-card-title {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.hero-card-excerpt {
  font-size: 0.9rem;
  color: var(--navy-mid);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.hero-card-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue);
}
.hero-card-link:hover { color: var(--sky); }

/* ── HOME GRID ─────────────────────────────────────────────── */
.home-wrap { padding-top: 3rem; padding-bottom: 3rem; }
.home-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: stretch;
}
.home-col {
  display: flex;
  flex-direction: column;
}

/* Section heads */
.section-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-lt);
  white-space: nowrap;
}
.section-line {
  flex: 1;
  height: 1px;
  background: var(--rule);
}

/* Featured card (large, left col) */
.featured-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-left: 3px solid var(--blue);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
  height: 100%;
}
.featured-card:hover { box-shadow: var(--shadow-lg); }
.featured-card-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
  display: block;
  margin-bottom: 0.5rem;
}
.featured-card-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.featured-card-excerpt {
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.read-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue);
}

/* List cards (right col) */
.list-card {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  transition: color 0.15s;
}
.list-card:first-child { border-top: 1px solid var(--rule); }
.list-card:hover .list-card-title { color: var(--blue); }
.list-card-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.3rem;
}
.list-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  transition: color 0.15s;
}

/* ── POST GRID ─────────────────────────────────────────────── */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-top: 2px solid var(--blue);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.post-card-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.5rem;
}
.post-card-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  flex: 1;
}
.post-card-excerpt {
  font-size: 0.82rem;
  color: var(--ink-mid);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.post-card-link {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: auto;
}

/* ── CATEGORY ROWS ────────────────────────────────────────── */
.category-rows {
  padding-top: 3rem;
  padding-bottom: 1rem;
}
.category-row {
  margin-bottom: 3.5rem;
}
.section-more {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
  flex-shrink: 0;
}
.section-more:hover { color: var(--sky); }

/* ── SUBSCRIBE CTA ─────────────────────────────────────────── */
.subscribe-cta {
  background: var(--navy);
  padding: 5rem 0;
  margin-top: 3rem;
}
.subscribe-cta-inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.subscribe-cta-logo { margin: 0 auto 1.5rem; }
.subscribe-cta-head {
  font-family: var(--serif);
  font-size: 2.75rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.subscribe-cta-head em { font-style: italic; color: var(--sky); }
.subscribe-cta-sub {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.subscribe-cta-form {
  display: flex;
  gap: 0;
  max-width: 400px;
  margin: 0 auto 0.75rem;
}
.subscribe-cta-input {
  flex: 1;
  padding: 0.7rem 1rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  border: none;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  outline: none;
}
.subscribe-cta-input::placeholder { color: rgba(255,255,255,0.35); }
.subscribe-cta-input:focus { background: rgba(255,255,255,0.15); }
.subscribe-cta-btn {
  background: var(--sky);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.7rem 1.25rem;
  white-space: nowrap;
  transition: background 0.15s;
}
.subscribe-cta-btn:hover { background: var(--sky-lt); }
.subscribe-cta-fine {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.25);
}
.subscribe-cta-guide {
  font-size: 0.85rem;
  color: var(--sky-lt);
  margin: 0.5rem 0 1rem;
}
.subscribe-cta-guide a {
  color: var(--sky-lt);
  text-decoration: underline;
  text-decoration-color: rgba(125,196,232,0.4);
}
.subscribe-cta-guide a:hover {
  color: var(--white);
  text-decoration-color: var(--white);
}

/* ── TAG PAGE ──────────────────────────────────────────────── */
.tag-hero {
  background: var(--navy);
  padding: 3.5rem 0 3rem;
  overflow: hidden;
}
.tag-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.tag-hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.75rem;
}
.tag-hero-title {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.tag-hero-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  max-width: 460px;
  line-height: 1.7;
}
.tag-hero-mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 9rem;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  user-select: none;
  flex-shrink: 0;
}
.tag-wrap { padding-top: 3rem; padding-bottom: 3rem; }

/* ── POST LAYOUT ───────────────────────────────────────────── */
.post-layout { padding: 3rem 0 2rem; max-width: 1280px; margin: 0 auto; }
.post-kicker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.kicker-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
}
.kicker-dot { color: var(--rule); }
.kicker-date {
  font-size: 0.72rem;
  color: var(--ink-lt);
  letter-spacing: 0.04em;
}
.post-title {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.15;
  max-width: 860px;
  margin-bottom: 1rem;
}
.post-deck {
  font-size: 1.15rem;
  color: var(--ink-mid);
  line-height: 1.65;
  max-width: 760px;
  margin-bottom: 2rem;
  font-weight: 300;
}
.post-feature-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  margin-bottom: 2rem;
}
.post-feature-caption {
  font-size: 0.72rem;
  color: var(--ink-lt);
  text-align: center;
  letter-spacing: 0.05em;
  font-family: var(--sans);
  margin-top: -1.5rem;
  margin-bottom: 2rem;
}

/* Post content */
.post-content {
  max-width: 860px;
  margin: 0 auto 3rem;
}
.gh-content h2 {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}
.gh-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
}
.gh-content p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-mid);
  margin-bottom: 1.25rem;
}
.gh-content a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(30,95,168,0.3);
}
.gh-content a:hover { text-decoration-color: var(--blue); }
.gh-content ul, .gh-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.gh-content li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-mid);
  margin-bottom: 0.4rem;
}
.gh-content blockquote {
  border-left: 3px solid var(--sky);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0;
  color: var(--ink-mid);
  font-style: italic;
}
.gh-content hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 2.5rem 0;
}
.gh-content figure { margin: 2rem 0; }
.gh-content figcaption {
  font-size: 0.72rem;
  color: var(--ink-lt);
  text-align: center;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}

/* Key takeaway / callout / internal link boxes injected by publisher */
.gh-content .callout,
.gh-content .key-takeaway,
.gh-content p:has(> a[href]):has(> strong) {
  background: var(--ice);
  border-left: 3px solid var(--sky);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.gh-content blockquote:has(a) {
  background: var(--ice);
  border-left: 4px solid var(--sky);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 2rem 0;
  font-style: normal;
}

/* Injected "Part of our complete guide" link blocks */
.gh-content blockquote {
  font-style: normal;
}
.gh-content blockquote p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-mid);
}
.gh-content blockquote a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(30,95,168,0.3);
}
.gh-content blockquote a:hover {
  text-decoration-color: var(--blue);
}

/* Post gate (paywall) */
.post-gate {
  background: var(--navy);
  padding: 2.5rem;
  text-align: center;
  margin: 3rem 0;
}
.post-gate h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.post-gate p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
}
.gate-btn {
  display: inline-block;
  background: var(--sky);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
}
.gate-btn:hover { background: var(--sky-lt); }

/* Byline */
.post-byline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.byline-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.byline-name {
  font-size: 0.875rem;
  color: var(--ink-mid);
}
.byline-name a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}
.byline-name a:hover { color: var(--sky); }

/* Author card */
.author-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: #e8eef5;
  border: 1px solid #d0dae6;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 2.5rem 0 1.5rem;
  max-width: 860px;
}
.author-card-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.author-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-lt);
}
.author-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.author-card-name:hover { color: var(--sky); }
.author-card-bio {
  font-size: 0.875rem;
  color: var(--ink-mid);
  margin: 0.25rem 0 0;
  line-height: 1.5;
}

/* Post footer */
.post-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 860px;
  margin: 0 auto;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
}
.post-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.post-footer-logo svg rect { fill: var(--navy); }
.post-footer-logo svg rect:last-child { fill: var(--sky); }
.post-footer-logo span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.post-footer-date {
  font-size: 0.72rem;
  color: var(--ink-lt);
  letter-spacing: 0.04em;
}

/* Related posts */
.related-wrap {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* ── GEAR STRIP ────────────────────────────────────────────── */
.gear-strip {
  background: var(--navy-mid);
  border-top: 3px solid var(--blue);
  padding: 2.5rem 0 2rem;
}
.gear-strip-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1.4rem;
}
.gear-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.gear-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 0.8rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.gear-item:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--sky);
}
.gear-icon {
  font-size: 1.4rem;
  line-height: 1;
}
.gear-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}
.gear-note {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.4;
}
.gear-disclosure {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.2);
}
@media (max-width: 900px) {
  .gear-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .gear-grid { grid-template-columns: repeat(2, 1fr); }
  .gear-strip { padding: 2rem 0 1.5rem; }
  .gear-item:nth-child(n+3) { display: none; }
}

/* ── FOOTER ────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3.5rem 0 2rem;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}
.footer-wordmark {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}
.footer-tagline {
  display: block;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--smile);
  line-height: 1;
  margin-top: 2px;
}
.footer-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
}
.footer-col h5 {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}
.footer-col a {
  display: block;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.6rem;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.22);
}

/* ── PAGINATION ────────────────────────────────────────────── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 0 2rem;
}
.pagination .newer-posts,
.pagination .older-posts,
.pagination .page-number {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 0.5rem 1rem;
  border: 1px solid var(--rule);
  background: var(--white);
}
.pagination .newer-posts:hover,
.pagination .older-posts:hover { background: var(--ice); }

/* ── 404 / ERROR ───────────────────────────────────────────── */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}
.error-code {
  font-family: var(--serif);
  font-size: 6rem;
  color: var(--rule);
  line-height: 1;
  margin-bottom: 1rem;
}
.error-title {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.error-message {
  font-size: 0.95rem;
  color: var(--ink-mid);
  margin-bottom: 2rem;
}
.error-link {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
}

/* ── GHOST PORTAL / MEMBERSHIP ─────────────────────────────── */
.gh-subscribe-success,
.gh-subscribe-error {
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
  display: none;
}
.gh-subscribe-success { background: rgba(91,164,207,0.15); color: var(--blue); }
.gh-subscribe-error   { background: rgba(220,50,50,0.1);   color: #c0392b; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-title { font-size: 2.4rem; }
  .home-cols  { grid-template-columns: 1fr; gap: 2rem; }
  .post-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .tag-hero-mark { font-size: 5rem; }
}

@media (max-width: 640px) {
  .container { padding: 0 1.25rem; }
  .site-nav { display: none; flex-direction: column; gap: 0; position: absolute; top: 62px; left: 0; right: 0; background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08); z-index: 199; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 1rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); text-align: center; }
  .nav-dropdown { width: 100%; text-align: center; }
  .nav-dropdown-toggle { width: 100%; display: block; }
  .nav-dropdown-menu { display: none !important; position: static; border: none; box-shadow: none; padding: 0; background: rgba(255,255,255,0.04); border-radius: 0; min-width: 0; }
  .nav-dropdown-menu.open { display: block !important; }
  .nav-dropdown-menu a { padding: 0.75rem 1.5rem !important; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-cta { margin: 0.75rem 1.5rem; text-align: center; }
  .nav-search-btn { padding: 1rem 1.5rem; width: 100%; justify-content: flex-start; border-bottom: 1px solid rgba(255,255,255,0.05); margin-left: 0; }
  .nav-toggle { display: flex; }
  .site-header .container { position: relative; }
  .border-bar { position: sticky; top: 62px; z-index: 199; }
  .border-bar .container { gap: 0.4rem; }
  .border-bar-sep { display: none; }
  .border-bar-source { display: none; }
  .border-bar-data { min-width: 0; flex: 1; }
  .hero-border-card { display: none; }
  .hero-title { font-size: 2rem; }
  .post-title { font-size: 2rem; }
  .post-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero-subscribe { flex-direction: column; }
  .subscribe-cta-form { flex-direction: column; }
  .hero-border-card { margin-bottom: 1.5rem; }
  .tag-hero-mark { display: none; }
}

/* ── GHOST CARD WIDTHS (required by GScan) ─────────────────── */
.kg-width-wide {
  margin-left: calc(50% - 50vw + 2rem);
  margin-right: calc(50% - 50vw + 2rem);
  max-width: none;
}
.kg-width-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none;
}
.kg-image-card img { width: 100%; }
.kg-gallery-container { display: flex; flex-direction: column; }
.kg-gallery-row { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; }

/* ── BORDER WAIT TIMES BAR ─────────────────────────────────── */
.border-bar {
  background: #1a2a3a;
  color: #cbd5e1;
  font-size: 0.78em;
  padding: 0.45rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: sticky;
  top: 62px;
  z-index: 199;
}
.border-bar .container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
  overflow: hidden;
}
.border-bar-label {
  font-weight: 700;
  color: #7dc4e8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  text-decoration: none;
}
.border-bar-label:hover { text-decoration: underline; }
.border-bar-data {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.border-bar-link {
  color: #7dc4e8;
  text-decoration: none;
  flex-shrink: 0;
  font-weight: 600;
}
.border-bar-link:hover { text-decoration: underline; }

/* ── HERO BORDER CARD ───────────────────────────────────────── */
.hero-border-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.hero-border-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}
.hero-border-label {
  font-size: 0.72em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2563eb;
  text-decoration: none;
  margin: 0;
}
.hero-border-label:hover { text-decoration: underline; }
.hero-border-rows {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.hero-border-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.35rem;
  font-size: 0.92em;
}
.hero-border-row:last-child { border-bottom: none; }
.hbr-name { color: #1e293b; font-weight: 500; }
.hbr-wait { color: #0f172a; font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-border-updated {
  font-size: 0.75em;
  color: #94a3b8;
  margin: 0;
}
.hero-border-link {
  font-size: 0.85em;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}
.hero-border-link:hover { text-decoration: underline; }
.hero-quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.6rem;
  border-top: 1px solid #e2e8f0;
}
.hero-quick-links a {
  font-size: 0.82em;
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.4;
}
.hero-quick-links a:hover { text-decoration: underline; }

/* ── CBP source attribution ─────────────────────────────────── */
.border-bar-source {
  color: #475569;
  text-decoration: none;
  font-size: 0.9em;
  flex-shrink: 0;
}
.border-bar-source:hover { text-decoration: underline; }
.border-bar-sep {
  color: #475569;
  flex-shrink: 0;
}
.hero-border-source {
  font-size: 0.72em;
  color: #94a3b8;
  text-decoration: none;
}
.hero-border-source:hover { text-decoration: underline; }

/* ── Gas price teaser ───────────────────────────────────────── */
.hero-gas-teaser {
  padding-top: 0.75rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.hero-gas-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.hero-gas-label {
  font-size: 0.72em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1e293b;
}
.hero-gas-link {
  font-size: 0.72em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2563eb;
  text-decoration: none;
}
.hero-gas-link:hover { text-decoration: underline; }
.hero-gas-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.92em;
  font-weight: 500;
  color: #1e293b;
}
.hero-gas-sep {
  color: #94a3b8;
}
.hero-gas-note {
  font-size: 0.72em;
  color: #94a3b8;
  margin: 0;
}
.hero-gas-cross {
  font-size: 0.8em;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  display: block;
}
.hero-gas-cross:hover { text-decoration: underline; }

/* ── WING-TO-GAS STRIP ─────────────────────────────────── */
.wtg-strip {
  background: var(--ice);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.1rem 0;
}
.wtg-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.wtg-wing {
  font-size: 2.8rem;
  line-height: 1;
  flex-shrink: 0;
  animation: wtg-wobble 2.5s ease-in-out infinite;
}
@keyframes wtg-wobble {
  0%, 100% { transform: rotate(-8deg); }
  50%       { transform: rotate(8deg); }
}
.wtg-content {
  flex: 1;
  min-width: 200px;
}
.wtg-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 0.2rem;
}
.wtg-headline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.wtg-headline strong {
  color: var(--navy);
  font-size: 1.2rem;
}
.wtg-verdict {
  font-size: 0.8rem;
  color: var(--ink-mid);
  margin-top: 0.2rem;
}
.wtg-cta {
  flex-shrink: 0;
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.wtg-cta:hover { background: var(--navy-mid); }
.wtg-share {
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--rule);
  color: var(--ink-mid);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--sans);
  letter-spacing: 0.04em;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.wtg-share:hover { border-color: var(--sky); color: var(--ink); }
@media (max-width: 640px) {
  .wtg-wing { font-size: 2.2rem; }
  .wtg-cta { width: 100%; text-align: center; }
}
