/* ==========================================================
   Prepped Gear - "Field Kit" theme (2026-10-22)
   Night olive + bone + amber signal, Oswald headings.
   Forked from the garageshoplawn stylesheet; class names unchanged
   so the shared build templates keep working.
   ========================================================== */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 200 700; font-display: swap;
  src: url('/assets/fonts/oswald-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Fallback'; src: local('Arial'), local('Liberation Sans'), local('Helvetica');
  size-adjust: 105.33%; ascent-override: 91.98%; descent-override: 22.90%; line-gap-override: 0%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: 'Oswald Fallback'; src: local('Arial Narrow Bold'), local('Arial Bold'), local('Liberation Sans Bold'), local('Arial');
  size-adjust: 85.9%; ascent-override: 139.6%; descent-override: 33.8%; line-gap-override: 0%;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }

:root {
  --ink: #141c17;          /* night olive */
  --steel: #22302a;        /* dark olive panels */
  --steel-2: #3a4148;
  --iron: #5a645c;         /* muted text */
  --concrete: #f3f1ea;     /* bone background */
  --concrete-2: #e7e3da;
  --paper: #ffffff;
  --line: #d8d6c9;
  --orange: #e2a52e;       /* amber signal (was safety orange) */
  --orange-dark: #8a5a00;  /* accessible link/hover amber */
  --yellow: #f2c45a;       /* light amber */
  --green: #3d6b4f;        /* pine, used sparingly */
  --radius: 6px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.06);
  --shadow-lift: 0 2px 4px rgba(0,0,0,.08), 0 12px 28px rgba(0,0,0,.12);
  --head: 'Oswald', 'Oswald Fallback', 'Arial Narrow', sans-serif;
  --body: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hazard: linear-gradient(90deg, var(--orange), var(--yellow));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--concrete);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { color: var(--ink); }
main { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.12; letter-spacing: .2px; color: var(--ink); }

/* ---------- Header / Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 4px solid var(--orange);
}
.site-nav::after { /* thin hazard stripe under the orange bar */
  content: ""; display: block; height: 3px; background: var(--hazard); opacity: .9;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none;
  font-family: var(--head); font-weight: 800; font-size: 24px; letter-spacing: 1px; text-transform: uppercase;
}
.nav-logo:hover { color: var(--yellow); }
.nav-logo-img { width: 38px; height: 38px; border-radius: 4px; object-fit: cover; background: var(--steel); }
.nav-logo .logo-accent { color: var(--orange); }
.logo-mark { width: 40px; height: 40px; display: block; flex: none; filter: drop-shadow(0 2px 0 rgba(0,0,0,.35)); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: #d9dde1; text-decoration: none;
  font-family: var(--head); font-weight: 600; font-size: 17px; letter-spacing: .6px; text-transform: uppercase;
  padding: 8px 12px; border-radius: 4px;
}
.nav-links a:hover { color: #fff; background: var(--steel); }
.nav-links a.nav-cta { background: var(--orange); color: var(--ink); margin-left: 6px; }
.nav-links a.nav-cta:hover { background: var(--orange-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 3px; margin: 4px 0; background: #fff; border-radius: 2px; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 71px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 4px solid var(--orange); padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; border-radius: 0; }
  .nav-links a.nav-cta { margin: 8px 24px 4px; text-align: center; border-radius: 4px; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  max-width: 820px; margin: 22px auto 0; padding: 0 20px;
  font-size: 13px; color: var(--iron); text-transform: uppercase; letter-spacing: .5px; font-weight: 600;
}
.breadcrumbs a { color: var(--iron); text-decoration: none; }
.breadcrumbs a:hover { color: var(--orange-dark); }
.breadcrumb-sep { margin: 0 6px; color: var(--line); }

/* ---------- Category chip ---------- */
.post-category {
  display: inline-block;
  font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase;
  color: #fff; background: var(--ink);
  padding: 3px 10px 2px; border-left: 4px solid var(--orange); border-radius: 2px;
  text-decoration: none;
}
a.post-category:hover { background: var(--steel); color: var(--yellow); }

/* ---------- Homepage ---------- */
.home-hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(115deg, rgba(27,30,33,.97) 0%, rgba(27,30,33,.93) 55%, rgba(43,48,54,.88) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 60px),
    var(--ink);
  color: #fff;
  padding: 64px 20px 72px;
}
.home-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--hazard); }
.home-hero-inner { max-width: 1200px; margin: 0 auto; }
.home-hero .eyebrow {
  display: inline-block; font-family: var(--head); font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  font-size: 15px; color: var(--ink); background: var(--yellow); padding: 3px 10px; border-radius: 2px; margin-bottom: 18px;
}
.home-hero h1 {
  color: #fff; margin: 0 0 16px; max-width: 900px;
  font-size: clamp(42px, 6.4vw, 76px); font-weight: 800; text-transform: uppercase; letter-spacing: .5px; line-height: .98;
}
.home-hero h1 .hl { color: var(--orange); }
.home-tagline { max-width: 680px; font-size: 19px; color: #cfd4d9; margin: 0 0 28px; }
.home-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.home-chips a {
  font-family: var(--head); font-weight: 700; font-size: 17px; letter-spacing: .8px; text-transform: uppercase;
  color: #fff; text-decoration: none; padding: 10px 16px; border: 2px solid #4a525a; border-radius: 4px; background: rgba(255,255,255,.03);
}
.home-chips a:hover { border-color: var(--orange); color: var(--orange); }
.home-chips a.primary { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.home-chips a.primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }

.home-trust {
  max-width: 1200px; margin: -26px auto 0; padding: 0 20px; position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.home-trust div {
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 18px; border-top: 4px solid var(--orange); font-size: 15px; color: var(--iron);
}
.home-trust strong { display: block; font-family: var(--head); font-size: 20px; text-transform: uppercase; letter-spacing: .5px; color: var(--ink); }

.home-section-heading {
  max-width: 1200px; margin: 56px auto 20px; padding: 0 20px;
  font-size: 34px; text-transform: uppercase; letter-spacing: .6px;
  display: flex; align-items: center; gap: 14px;
}
.home-section-heading::after { content: ""; flex: 1; height: 4px; background: var(--hazard); border-radius: 2px; opacity: .85; }

.featured-post { max-width: 1200px; margin: 48px auto 0; padding: 0 20px; }
.featured-link {
  display: grid; grid-template-columns: 1.15fr 1fr; text-decoration: none; color: inherit;
  background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.featured-link:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); color: inherit; }
.featured-image { background: #fff; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); }
.featured-image img { width: 100%; height: 100%; max-height: 420px; object-fit: contain; }
.featured-content { padding: 36px 36px 32px; display: flex; flex-direction: column; justify-content: center; background: var(--steel); color: #e6e9ec; }
.featured-content .post-category { align-self: flex-start; background: var(--orange); border-left-color: var(--yellow); color: var(--ink); }
.featured-content h2 { color: #fff; font-size: 38px; margin: 14px 0 12px; }
.featured-content p { color: #c6ccd2; margin: 0 0 18px; font-size: 16px; }
.read-more {
  align-self: flex-start; font-family: var(--head); font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--ink); background: var(--yellow); padding: 8px 16px; border-radius: 3px;
}
@media (max-width: 820px) {
  .featured-link { grid-template-columns: 1fr; }
  .featured-image { border-right: 0; border-bottom: 1px solid var(--line); }
  .featured-content { padding: 26px 22px; }
  .featured-content h2 { font-size: 30px; }
  .home-trust { grid-template-columns: 1fr; margin-top: -20px; }
  .home-hero { padding: 48px 20px 56px; }
}

/* ---------- Post cards (homepage, categories, related) ---------- */
.post-grid, .related-cards {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.related-cards { padding: 0; }
.post-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border-bottom: 4px solid transparent; transition: transform .18s, box-shadow .18s, border-color .18s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-bottom-color: var(--orange); color: inherit; }
.post-card-thumb { background: #fff; aspect-ratio: 1200 / 630; border-bottom: 1px solid var(--line); overflow: hidden; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.post-card:hover .post-card-thumb img { transform: scale(1.03); }
.post-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.post-card-body .post-category { align-self: flex-start; font-size: 12px; }
.post-card h3 { font-size: 23px; margin: 10px 0 8px; }
.post-card p { font-size: 15px; color: var(--iron); margin: 0 0 14px; line-height: 1.55; }
.post-card-meta {
  margin-top: auto; display: flex; gap: 14px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; color: var(--iron);
}
@media (max-width: 960px) { .post-grid, .related-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid, .related-cards { grid-template-columns: 1fr; } }

/* ---------- Home category tiles ---------- */
.home-categories {
  max-width: 1200px; margin: 0 auto 64px; padding: 0 20px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.home-category-card {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 3; background: #fff; text-decoration: none; box-shadow: var(--shadow);
}
.home-category-card img { width: 100%; height: 100%; object-fit: contain; padding: 10px 10px 58px; transition: transform .3s; }
.home-category-card:hover img { transform: scale(1.05); }
.home-category-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--ink); color: #fff; padding: 10px 14px 24px;
  font-family: var(--head); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: .5px; line-height: 1.1;
  border-top: 4px solid var(--orange);
}
.home-category-count {
  position: absolute; left: 14px; bottom: 6px; z-index: 1;
  font-size: 12px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--yellow);
}
.home-category-card:hover .home-category-label { background: var(--steel); }
@media (max-width: 960px) { .home-categories { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Article ---------- */
.post { max-width: 820px; margin: 0 auto; padding: 0 20px 40px; }
.post-header { padding: 18px 0 8px; }
.post-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--iron);
}
.post-meta-sep { color: var(--line); }
.post-header h1 { font-size: clamp(36px, 5vw, 54px); margin: 16px 0 12px; text-transform: none; }
.post-subtitle { font-size: 20px; color: var(--iron); margin: 0; line-height: 1.5; }
.post-disclosure {
  margin: 22px 0 0; padding: 12px 16px; font-size: 13.5px; color: var(--iron);
  background: var(--concrete-2); border-left: 4px solid var(--iron); border-radius: 0 var(--radius) var(--radius) 0;
}
.post-disclosure a { color: var(--ink); }
.post-hero {
  margin: 24px 0 8px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border-bottom: 6px solid var(--ink);
}
.post-hero img { width: 100%; aspect-ratio: 1200 / 630; max-height: 400px; object-fit: contain; }

.post-body { font-size: 18px; }
.post-body h2 {
  font-size: 34px; margin: 48px 0 16px; padding-bottom: 8px; text-transform: uppercase; letter-spacing: .4px;
  border-bottom: 3px solid var(--ink); position: relative;
}
.post-body h2::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 72px; height: 3px; background: var(--orange); }
.post-body h3 { font-size: 26px; margin: 34px 0 10px; }
.post-body p { margin: 0 0 18px; }
.post-body ul, .post-body ol { margin: 0 0 20px; padding-left: 24px; }
.post-body li { margin-bottom: 8px; }
.post-body li::marker { color: var(--orange); font-weight: 700; }
.post-body strong { color: var(--ink); font-weight: 700; }
.post-body a { font-weight: 600; }
.post-body blockquote { margin: 24px 0; padding: 12px 20px; border-left: 4px solid var(--orange); background: var(--paper); color: var(--iron); }

/* Quick answer = spec plate */
.post-body .quick-answer {
  margin: 28px 0; padding: 22px 24px 20px; border-radius: var(--radius);
  background: var(--steel); color: #e3e7ea; font-size: 17px; line-height: 1.6;
  border-left: 8px solid var(--orange); box-shadow: var(--shadow);
}
.post-body .quick-answer strong { color: #fff; }
.post-body .quick-answer strong:first-child {
  display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 2px;
  background: var(--yellow); color: var(--ink); font-family: var(--head); letter-spacing: 1px; text-transform: uppercase;
}
.post-body .quick-answer a { color: var(--yellow); }

.post-body .tip-box {
  margin: 26px 0; padding: 16px 20px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--green); font-size: 16px;
}
.post-body .tip-box strong:first-child { font-family: var(--head); font-size: 18px; text-transform: uppercase; letter-spacing: .5px; color: var(--green); }
.post-body .warning-box {
  position: relative; margin: 26px 0; padding: 22px 20px 16px; border-radius: var(--radius);
  background: #fff8e6; border: 1px solid #f0d58a; font-size: 16px; overflow: hidden;
}
.post-body .warning-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 7px; background: var(--hazard); }
.post-body .warning-box strong:first-child { font-family: var(--head); font-size: 18px; text-transform: uppercase; letter-spacing: .5px; }

/* Tables */
.post-body table {
  width: 100%; border-collapse: collapse; margin: 22px 0 26px; font-size: 15px;
  background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: block; overflow-x: auto;
}
.post-body th {
  background: var(--ink); color: #fff; text-align: left; padding: 11px 14px; white-space: nowrap;
  font-family: var(--head); font-weight: 700; font-size: 16px; letter-spacing: .6px; text-transform: uppercase;
  border-bottom: 3px solid var(--orange);
}
.post-body td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.post-body tr:nth-child(even) td { background: #faf8f4; }
.post-body td:first-child { font-weight: 600; }
@media (min-width: 821px) { .post-body table { display: table; } }

/* ---------- Affiliate product cards ---------- */
.affiliate-picks {
  margin: 30px 0 36px; padding: 24px 22px 26px; border-radius: var(--radius);
  background: var(--concrete-2); border: 1px solid var(--line); position: relative;
}
.affiliate-picks::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--hazard); border-radius: var(--radius) var(--radius) 0 0; }
.affiliate-picks-heading { font-size: 30px; text-transform: uppercase; letter-spacing: .5px; margin: 6px 0 4px; }
.affiliate-picks-sub { font-size: 14px; color: var(--iron); margin: 0 0 18px; }
.affiliate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.affiliate-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 14px 16px;
  border: 1px solid transparent; transition: border-color .18s, box-shadow .18s, transform .18s;
}
.affiliate-card:hover { border-color: var(--orange); box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.affiliate-card-badge {
  position: absolute; top: -10px; left: 12px; z-index: 2;
  font-family: var(--head); font-weight: 800; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase;
  background: var(--yellow); color: var(--ink); padding: 3px 10px; border-radius: 2px; box-shadow: 0 2px 0 var(--ink);
}
.affiliate-card-image {
  display: flex; align-items: center; justify-content: center;
  background: #fff; height: 210px; border-radius: 4px; margin-bottom: 12px; border: 1px solid #efece5;
}
.affiliate-card-image img { max-height: 190px; width: auto; object-fit: contain; }
.affiliate-card-placeholder { font-size: 48px; }
.affiliate-card-body { display: flex; flex-direction: column; flex: 1; }
.affiliate-card h3, .affiliate-card h4 { font-size: 21px; margin: 0 0 6px; line-height: 1.15; }
.affiliate-card h3 a, .affiliate-card h4 a { color: var(--ink); text-decoration: none; }
.affiliate-card h3 a:hover, .affiliate-card h4 a:hover { color: var(--orange-dark); }
.affiliate-card-summary { font-size: 14.5px; color: var(--iron); line-height: 1.55; margin: 0 0 14px; }
.affiliate-card-cta {
  margin-top: auto; display: block; text-align: center; text-decoration: none;
  background: var(--orange); color: var(--ink); padding: 12px 14px; border-radius: 4px;
  font-family: var(--head); font-weight: 700; font-size: 18px; letter-spacing: 1px; text-transform: uppercase;
  box-shadow: 0 3px 0 var(--orange-dark); transition: background .15s, transform .1s, box-shadow .1s;
}
.affiliate-card-cta:hover { background: var(--orange-dark); color: #fff; }
.affiliate-card-cta:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--orange-dark); }
@media (max-width: 620px) {
  .affiliate-grid { grid-template-columns: 1fr; }
  .affiliate-picks { padding: 22px 14px; }
}

.consumables-picks { background: var(--paper); }
.consumables-picks .affiliate-picks-heading::before { content: "\1F527  "; }

.affiliate-bottom-cta {
  margin: 36px 0; padding: 28px 26px; border-radius: var(--radius); text-align: center;
  background: var(--ink); color: #cfd4d9; border-bottom: 6px solid var(--orange);
}
.affiliate-bottom-cta h3 { color: #fff; font-size: 32px; text-transform: uppercase; margin: 0 0 8px; }
.affiliate-bottom-cta p { margin: 0 0 18px; }
.affiliate-bottom-button {
  display: inline-block; text-decoration: none; background: var(--orange); color: var(--ink); padding: 13px 26px; border-radius: 4px;
  font-family: var(--head); font-weight: 700; font-size: 19px; letter-spacing: 1px; text-transform: uppercase;
  box-shadow: 0 3px 0 var(--orange-dark);
}
.affiliate-bottom-button:hover { background: var(--orange-dark); color: #fff; }

.bounty-box {
  margin: 20px 0 30px; padding: 16px 18px; border-radius: var(--radius);
  background: var(--paper); border: 1px dashed var(--iron); font-size: 15px;
}
.bounty-box .bounty-line { margin: 0; }
.bounty-box .bounty-line + .bounty-line { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.bounty-box a { font-weight: 700; }

.methodology-box, .sources-box {
  margin: 30px 0; padding: 20px 22px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line); font-size: 15px; color: var(--iron);
}
.methodology-heading, .sources-heading { font-size: 22px; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 8px; color: var(--ink); }
.methodology-box p { margin: 0; }
.sources-box ul { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.sources-box li { margin-bottom: 6px; break-inside: avoid; }
@media (max-width: 620px) { .sources-box ul { columns: 1; } }

.post-footer { margin-top: 40px; }
.post-share {
  padding: 16px 18px; border-radius: var(--radius); background: var(--concrete-2); font-size: 15px; margin-bottom: 30px;
}
.post-share strong { font-family: var(--head); font-size: 18px; text-transform: uppercase; letter-spacing: .5px; }
.post-related h3 {
  font-size: 30px; text-transform: uppercase; margin: 0 0 16px;
  display: flex; align-items: center; gap: 12px;
}
.post-related h3::after { content: ""; flex: 1; height: 4px; background: var(--hazard); border-radius: 2px; opacity: .85; }
.post-related .related-cards { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .post-related .related-cards { grid-template-columns: 1fr; } }

/* ---------- Category pages ---------- */
.category-header {
  background: var(--ink); color: #cfd4d9; position: relative; margin: 18px 0 30px;
  padding: 44px max(20px, calc((100% - 1160px) / 2)) 50px;
}
.category-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: var(--hazard); }
.category-header h1 { color: #fff; font-size: clamp(38px, 5.5vw, 60px); text-transform: uppercase; margin: 0 0 10px; }
.category-header p { margin: 0; font-size: 18px; }
.category-intro {
  max-width: 1200px; margin: 0 auto 30px; padding: 0 20px;
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; align-items: start;
}
.category-intro p { margin: 0; font-size: 17px; }
.category-intro .start-here {
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; border-top: 5px solid var(--orange);
}
.category-intro .start-here strong { font-family: var(--head); font-size: 22px; text-transform: uppercase; letter-spacing: .5px; }
.category-intro .start-here ul { list-style: none; margin: 10px 0 0; padding: 0; }
.category-intro .start-here li { position: relative; padding-left: 20px; margin-bottom: 10px; font-size: 15.5px; }
.category-intro .start-here li::before { content: "\25B8"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.category-intro .start-here a { color: var(--ink); font-weight: 600; text-decoration: none; }
.category-intro .start-here a:hover { color: var(--orange-dark); text-decoration: underline; }
@media (max-width: 820px) { .category-intro { grid-template-columns: 1fr; } }

.category-grid {
  max-width: 1200px; margin: 0 auto 60px; padding: 0 20px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.category-card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--paper);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border-bottom: 4px solid var(--ink);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-bottom-color: var(--orange); color: inherit; }
.category-card-thumb { background: #fff; aspect-ratio: 1200 / 630; border-bottom: 1px solid var(--line); }
.category-card-thumb img { width: 100%; height: 100%; object-fit: contain; }
.category-card-body { padding: 16px 18px 18px; }
.category-card h3 { font-size: 25px; text-transform: uppercase; margin: 0 0 6px; }
.category-card p { font-size: 15px; color: var(--iron); margin: 0; }
@media (max-width: 960px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .category-grid { grid-template-columns: 1fr; } }

/* ---------- Static pages (about, editorial, privacy, disclosure) use .post ---------- */

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aeb5bc; margin-top: 60px; position: relative; padding-top: 10px; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--hazard); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 40px 20px 34px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; margin-bottom: 26px; }
.footer-brand { font-family: var(--head); font-weight: 800; font-size: 28px; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin: 0 0 8px; }
.footer-brand span { color: var(--orange); }
.footer-col h4, .footer-col .footer-heading { color: #fff; font-size: 18px; text-transform: uppercase; letter-spacing: .8px; margin: 0 0 10px; }
.footer-col a { display: block; color: #aeb5bc; text-decoration: none; padding: 3px 0; }
.footer-col a:hover { color: var(--yellow); }
.footer-inner p { margin: 0 0 10px; }
.footer-disclosure { font-size: 13px; color: #8d959d; border-top: 1px solid var(--steel-2); padding-top: 18px; }
.footer-disclosure a, .footer-inner p a { color: #d9dde1; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; }
.footer-links a { color: #aeb5bc; text-decoration: none; }
.footer-links a:hover { color: var(--yellow); }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Misc embeds (calculator etc.) ---------- */
.post-body input, .post-body select, .post-body button {
  font: inherit;
}
.post-body button {
  background: var(--orange); color: var(--ink); border: 0; border-radius: 4px; padding: 10px 16px; cursor: pointer;
  font-family: var(--head); font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
}
.post-body button:hover { background: var(--orange-dark); }

/* Wider breadcrumbs on hub pages */
.page-category .breadcrumbs, .page-categories .breadcrumbs { max-width: 1200px; }

/* Skip link: hidden until a keyboard user tabs to it. */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--yellow); color: var(--ink);
  padding: 10px 16px; font-weight: 700; text-decoration: none; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* ── Amazon compliance (Oct 8 2026): live Amazon photos, always linked to Amazon ── */
:root { --accent: var(--orange); --on-accent: #fff; }
.post-hero--pick { display: flex; align-items: center; gap: 20px; padding: 12px 28px 12px 8px; }
.post-hero--pick .php-photo { flex: 0 0 400px; height: 400px; display: flex; align-items: center; justify-content: center; }
.post-hero--pick .php-photo img { width: 400px; height: 400px; max-height: none; aspect-ratio: auto; object-fit: contain; }
.post-hero--pick .php-info { flex: 1; min-width: 0; }
.post-hero--pick .affiliate-card-badge { position: static; display: inline-block; }
.post-hero--pick .php-name { font-family: var(--head); font-weight: 700; font-size: 28px; line-height: 1.15; margin: 12px 0 18px; color: var(--ink); }
.post-hero--pick .affiliate-card-cta { display: inline-block; width: auto; padding-left: 22px; padding-right: 22px; }
@media (max-width: 700px) {
  .post-hero--pick { flex-direction: column; padding: 16px 16px 20px; text-align: center; gap: 8px; }
  .post-hero--pick .php-photo { flex: none; width: 100%; height: auto; }
  .post-hero--pick .php-photo img { width: 100%; max-width: 340px; height: auto; aspect-ratio: 1 / 1; }
}
.post-hero--brand { display: flex; align-items: center; justify-content: center; padding: 48px; background: var(--steel); }
.post-card--split .post-card-thumb { display: block; }
.post-card--split .post-card-main { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.post-card--split .post-card-main h3, .post-card--split .post-card-main p, .post-card--split .post-card-main time, .post-card--split .post-card-main span { text-decoration: none; }
.post-card--split .post-card-main:hover { color: inherit; }
.featured-link--split .featured-main { display: flex; color: inherit; text-decoration: none; }
.featured-link--split .featured-main .featured-content { flex: 1; }
.cat-art { background: var(--steel) repeating-linear-gradient(-45deg, rgba(242,106,27,.10) 0 14px, transparent 14px 28px); display: flex; align-items: center; justify-content: center; }
.home-category-card .cat-art { position: absolute; left: 0; right: 0; top: 0; bottom: 58px; }
.home-category-card .cat-art img, .category-card-thumb.cat-art img { width: 84px; height: 84px; padding: 0; object-fit: contain; transform: none; }
/* Category tiles with live Amazon photo (photo -> Amazon, name -> category page) */
.home-category-card--split { display: flex; flex-direction: column; aspect-ratio: auto; }
.home-category-card--split .cat-photo { position: relative; display: block; aspect-ratio: 16 / 10; background: #fff; }
.home-category-card--split .cat-photo img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 10px 10px 8px; object-fit: contain; }
.home-category-card--split .cat-main { position: relative; display: flex; flex-direction: column; flex: 1 0 auto; background: var(--ink); text-decoration: none; }
.home-category-card--split .cat-main:hover { background: var(--steel); }
.home-category-card--split .home-category-label { flex: 1; }
.home-category-card--split .home-category-label { position: static; display: block; padding-bottom: 26px; }
.home-category-card--split .cat-main:hover .home-category-label { background: var(--steel); }
.cat-amz-pill { position: absolute; right: 8px; top: 8px; z-index: 1; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .4px;
  text-transform: uppercase; padding: 4px 9px; border-radius: 999px; opacity: .88; }
.cat-photo:hover .cat-amz-pill { background: var(--orange); opacity: 1; }
.category-card--split .cat-photo { position: relative; display: block; aspect-ratio: 1200 / 630; overflow: hidden; }
.category-card--split .cat-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.category-card--split .cat-main { display: block; flex: 1; color: inherit; text-decoration: none; }
.category-card--split:hover { transform: none; }
.category-card--split:hover .cat-main h3 { color: var(--orange); }
@media (max-width: 620px) {
  .home-categories { gap: 12px; }
  .home-category-card--split .cat-photo { aspect-ratio: 1 / 1; }
  .home-category-card--split .home-category-label { font-size: 16px; padding: 8px 10px 24px; }
  .home-category-card--split .home-category-count { left: 10px; font-size: 11px; }
  .cat-amz-pill { font-size: 9.5px; padding: 3px 7px; right: 6px; top: 6px; }
}

/* Homepage "Winter Prep & Gift Guides" link block (Oct 12 2026): same chips as the hero, on a light background */
.home-chips.home-winter { max-width: 1200px; margin: 0 auto 8px; padding: 0 20px; gap: 8px; box-sizing: border-box; }
.home-chips.home-winter a { color: var(--ink); border-color: #d3d7db; background: #fff; font-size: 15px; padding: 8px 13px; }
.home-chips.home-winter a:hover { border-color: var(--orange); color: var(--orange-dark); }

/* ── Writing-first layout (Oct 15 2026, scripts/writing-first.py) ──────────
   Stock photo header (not a link), product cards inside the article,
   stock photos on guide cards. */
.post-hero--stock { padding: 0; overflow: hidden; background: none; box-shadow: none; border: 0; }
.post-hero--stock img { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: none; object-fit: cover; border-radius: var(--radius); }
.wf-card { display: grid; grid-template-columns: 1fr; gap: 18px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 10px; box-shadow: var(--shadow); padding: 18px; margin: 14px 0 26px; }
.wf-photo { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid #ece8df;
  border-radius: 8px; padding: 14px; aspect-ratio: 4 / 3; }
.wf-photo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.wf-label { font: 700 12px/1 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--orange-dark); margin: 0 0 8px; }
.wf-name { font-family: var(--head); font-weight: 700; font-size: 22px; line-height: 1.2; color: var(--ink); margin: 0 0 10px; }
.wf-specs { list-style: none; margin: 0 0 12px; padding: 0; }
.wf-specs li { position: relative; padding: 3px 0 3px 24px; font-size: 15px; line-height: 1.45; color: var(--steel); margin: 0; }
.wf-specs li::before { content: '✓'; position: absolute; left: 0; top: 3px; color: var(--green); font-weight: 700; }
.wf-line { font-size: 15px; line-height: 1.5; color: var(--iron); margin: 0 0 14px; }
.wf-btn { display: block; text-align: center; background: var(--orange); color: #fff !important; font: 700 16px/1 var(--head);
  letter-spacing: .06em; text-transform: uppercase; padding: 15px 12px; border-radius: var(--radius); text-decoration: none !important; }
.wf-btn:hover { background: var(--orange-dark); }
.wf-seller { font-size: 12px; line-height: 1.4; color: var(--iron); text-align: center; margin: 8px 0 0; }
.wf-where { margin-top: 36px; }
.wf-where-sub { color: var(--iron); margin-top: -4px; }
.wf-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 760px) {
  .wf-card { grid-template-columns: 240px 1fr; align-items: center; }
}
