/*
Theme Name: VerdictPress
Theme URI: https://github.com/shawjerrys1992-hue/gennexus-os
Author: GenNexus Editorial
Description: Ultra-lightweight, zero-Elementor editorial review & affiliate content-site theme with 4 structurally distinct matrix skins (Editorial Magazine, SpecsLab Tech, HomeWarm Lifestyle, FieldTrail Outdoor Journal), WCAG AAA high-contrast buttons, automatic sticky TOC + buy rail, native JSON-LD <head> injection, dynamic /llms.txt + AI search crawler GEO support, and GenNexus remote site-admin REST bridge.
Version: 2.3.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: verdict-press
*/

/* ==========================================================================
   1. RESET & DESIGN TOKENS (3 Structurally Distinct Matrix Skins)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--vp-bg);
  color: var(--vp-ink);
  font-family: var(--vp-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--vp-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--vp-font-display);
  color: var(--vp-ink);
  letter-spacing: var(--vp-head-track);
  font-weight: var(--vp-head-weight);
  line-height: 1.18;
}

p {
  margin: 0;
}

.vp-tabular {
  font-variant-numeric: tabular-nums;
}

/* Skin 1: Editorial Magazine (Afflilux Flagship — Archival Paper + Forest Ink) */
:root,
body.vp-skin-editorial {
  --vp-bg: #f8f7f3;
  --vp-surface: #ffffff;
  --vp-subtle: #f1efe8;
  --vp-ink: #13211b;
  --vp-muted: #55635c;
  --vp-rule: #dcdad1;
  --vp-rule-strong: #13211b;
  --vp-accent: #144d38;
  --vp-accent-hover: #0e3b2a;
  --vp-accent-tint: #eaf3ee;
  --vp-warn-ink: #8a2c17;
  --vp-warn-tint: #fdf2ee;
  --vp-radius: 4px;
  --vp-btn-radius: 5px;
  --vp-font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --vp-font-body: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  --vp-font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --vp-head-track: -0.025em;
  --vp-head-weight: 700;
}

/* Skin 2: SpecsLab Tech (3C / Power / Tools Satellite — Precision Slate & Data) */
body.vp-skin-specslab {
  --vp-bg: #f6f8fa;
  --vp-surface: #ffffff;
  --vp-subtle: #edf1f5;
  --vp-ink: #0f172a;
  --vp-muted: #4b5a6e;
  --vp-rule: #d8e0ea;
  --vp-rule-strong: #0f172a;
  --vp-accent: #1d4ed8;
  --vp-accent-hover: #1e40af;
  --vp-accent-tint: #eff6ff;
  --vp-warn-ink: #991b1b;
  --vp-warn-tint: #fef2f2;
  --vp-radius: 6px;
  --vp-btn-radius: 6px;
  --vp-font-display: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  --vp-font-body: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  --vp-head-track: -0.03em;
  --vp-head-weight: 750;
}

/* Skin 3: HomeWarm Lifestyle (Home / Pet / Kitchen Satellite — Linen & Terracotta) */
body.vp-skin-homewarm {
  --vp-bg: #fbf8f3;
  --vp-surface: #fffefb;
  --vp-subtle: #f3ece2;
  --vp-ink: #241c16;
  --vp-muted: #6c5f55;
  --vp-rule: #e6ddd1;
  --vp-rule-strong: #241c16;
  --vp-accent: #b54722;
  --vp-accent-hover: #96391a;
  --vp-accent-tint: #faeee8;
  --vp-warn-ink: #8a2c17;
  --vp-warn-tint: #fdf2ee;
  --vp-radius: 10px;
  --vp-btn-radius: 999px;
  --vp-font-display: "Iowan Old Style", Georgia, serif;
  --vp-font-body: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  --vp-head-track: -0.02em;
  --vp-head-weight: 600;
}

/* ==========================================================================
   2. SHARED PRIMITIVES & WCAG AAA HIGH-CONTRAST BUTTONS
   ========================================================================== */
.vp-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.vp-kicker {
  font-family: var(--vp-font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--vp-accent);
  display: inline-block;
}

.vp-kicker-muted {
  font-family: var(--vp-font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--vp-muted);
  display: inline-block;
}

/* Guaranteed crisp pure white (#ffffff) text on EVERY filled CTA button */
.vp-btn,
a.vp-btn,
a.vp-btn:visited,
button.vp-btn,
.vp-article-body a[data-gn-cta="1"],
.vp-article-body a[data-gn-cta="1"]:visited,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 20px;
  border-radius: var(--vp-btn-radius);
  background-color: var(--vp-accent);
  color: #ffffff !important;
  font-family: var(--vp-font-body);
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.25;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none !important;
  transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.vp-btn:hover,
a.vp-btn:hover,
button.vp-btn:hover,
.vp-article-body a[data-gn-cta="1"]:hover,
.wp-block-button__link:hover {
  background-color: var(--vp-accent-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.14);
  text-decoration: none !important;
}

.vp-btn-outline,
a.vp-btn-outline,
a.vp-btn-outline:visited {
  background-color: transparent;
  color: var(--vp-ink) !important;
  border-color: var(--vp-rule);
}

.vp-btn-outline:hover,
a.vp-btn-outline:hover {
  background-color: var(--vp-subtle);
  color: var(--vp-ink) !important;
  box-shadow: none;
}

.vp-btn-sm,
a.vp-btn-sm {
  padding: 8px 14px;
  font-size: 12.5px;
}

.vp-btn-block,
a.vp-btn-block {
  width: 100%;
}

/* Studio image framing — prevents awkward cropping of white-background product shots */
.vp-media-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--vp-radius);
  background: var(--vp-surface);
  border: 1px solid var(--vp-rule);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.vp-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.vp-hover-zoom:hover .vp-media-frame img {
  transform: scale(1.035);
}

.vp-media-frame.is-cover {
  padding: 0;
  border: 0;
  background: var(--vp-subtle);
}

.vp-media-frame.is-cover img {
  object-fit: cover;
}

.vp-media-placeholder {
  font-size: 12px;
  color: var(--vp-muted);
  text-align: center;
  padding: 16px;
}

/* ==========================================================================
   3. THREE STRUCTURALLY DISTINCT HEADERS
   ========================================================================== */
.vp-hdr-top {
  border-bottom: 1px solid var(--vp-rule);
  padding: 7px 0;
  font-size: 11.5px;
  color: var(--vp-muted);
}

.vp-hdr-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.vp-hdr-editorial {
  border-bottom: 2px solid var(--vp-rule-strong);
  background: var(--vp-bg);
  padding: 15px 0;
}

.vp-hdr-specslab {
  background: #0f172a;
  color: #f8fafc;
  border-bottom: 1px solid #1e293b;
  padding: 13px 0;
}

.vp-hdr-homewarm {
  background: var(--vp-bg);
  border-bottom: 1px solid var(--vp-rule);
  padding: 20px 0 14px;
  text-align: center;
}

.vp-hdr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.vp-wordmark {
  font-family: var(--vp-font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--vp-ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.vp-wordmark:hover {
  text-decoration: none;
}

.vp-wordmark-dot {
  color: var(--vp-accent);
}

.vp-hdr-specslab .vp-wordmark {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
}

.vp-wordmark-badge {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: var(--vp-accent);
  color: #ffffff;
  font-family: var(--vp-font-mono);
  font-size: 12px;
  display: inline-grid;
  place-items: center;
}

.vp-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
  font-weight: 550;
}

.vp-nav a {
  color: var(--vp-muted);
}

.vp-nav a:hover,
.vp-nav .current-menu-item > a {
  color: var(--vp-ink);
  text-decoration: none;
}

.vp-hdr-specslab .vp-nav a {
  color: #cbd5e1;
}

.vp-hdr-specslab .vp-nav a:hover {
  color: #ffffff;
}

.vp-hdr-homewarm .vp-nav {
  justify-content: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

.vp-search-form {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vp-search-form input[type="search"] {
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--vp-rule);
  background: transparent;
  color: var(--vp-ink);
  padding: 6px 4px;
  font-size: 13px;
  width: 175px;
}

.vp-search-form input[type="search"]:focus {
  outline: none;
  border-bottom-color: var(--vp-accent);
}

.vp-hdr-specslab .vp-search-form input[type="search"] {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 6px 10px;
  color: #f8fafc;
}

.vp-menu-toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--vp-rule);
  background: transparent;
  color: inherit;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 13px;
  cursor: pointer;
}

/* ==========================================================================
   4. THREE STRUCTURALLY DISTINCT HOMEPAGE SKELETONS
   ========================================================================== */
/* Editorial Broadsheet Lead + Numbered Desk Briefs */
.vp-ed-lead {
  display: grid;
  grid-template-columns: minmax(0, 7.6fr) minmax(0, 4.4fr);
  gap: 36px;
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--vp-rule);
}

.vp-ed-lead-main h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  margin: 12px 0 14px;
}

.vp-ed-lead-main h1 a {
  color: var(--vp-ink);
}

.vp-ed-lead-main h1 a:hover {
  color: var(--vp-accent);
  text-decoration: none;
}

.vp-standfirst {
  font-size: 16px;
  line-height: 1.62;
  color: var(--vp-muted);
  max-width: 58ch;
  margin-bottom: 16px;
}

.vp-meta-line {
  font-size: 12.5px;
  color: var(--vp-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vp-ed-briefs {
  border-left: 1px solid var(--vp-rule);
  padding-left: 32px;
  display: flex;
  flex-direction: column;
}

.vp-brief-item {
  padding: 15px 0;
  border-bottom: 1px solid var(--vp-rule);
}

.vp-brief-item:last-child {
  border-bottom: 0;
}

.vp-brief-num {
  font-family: var(--vp-font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--vp-accent);
  margin-bottom: 5px;
}

.vp-brief-item h3 {
  font-size: 18px;
  line-height: 1.26;
  margin-bottom: 6px;
}

.vp-brief-item h3 a {
  color: var(--vp-ink);
}

.vp-brief-item h3 a:hover {
  color: var(--vp-accent);
  text-decoration: none;
}

.vp-brief-item p {
  font-size: 13.5px;
  color: var(--vp-muted);
  line-height: 1.55;
}

/* Section Shelf + Unboxed 4-Column Grid */
.vp-shelf-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 34px 0 18px;
}

.vp-shelf-head h2 {
  font-size: 26px;
}

.vp-cat-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow-x: auto;
  max-width: 100%;
}

.vp-cat-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--vp-muted);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.vp-cat-link:hover,
.vp-cat-link.is-active {
  color: var(--vp-ink);
  border-bottom-color: var(--vp-accent);
  text-decoration: none;
}

.vp-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  padding-bottom: 44px;
}

.vp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding-bottom: 44px;
}

.vp-story-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vp-story-tile h3 {
  font-size: 18px;
  line-height: 1.28;
}

.vp-story-tile h3 a {
  color: var(--vp-ink);
}

.vp-story-tile h3 a:hover {
  color: var(--vp-accent);
  text-decoration: none;
}

.vp-story-tile p {
  font-size: 13.5px;
  color: var(--vp-muted);
  line-height: 1.55;
}

/* SpecsLab Homepage Skeleton */
.vp-lab-cats {
  background: var(--vp-surface);
  border-bottom: 1px solid var(--vp-rule);
  padding: 10px 0;
}

.vp-lab-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--vp-rule);
  align-items: center;
}

.vp-lab-hero h1 {
  font-size: clamp(26px, 3.2vw, 36px);
  margin: 10px 0 12px;
}

.vp-lab-ledger-wrap {
  overflow-x: auto;
  margin: 14px 0 44px;
}

.vp-lab-ledger {
  width: 100%;
  border-collapse: collapse;
  background: var(--vp-surface);
  border: 1px solid var(--vp-rule);
  font-size: 13.5px;
  min-width: 560px;
}

.vp-lab-ledger th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vp-muted);
  padding: 11px 14px;
  background: var(--vp-subtle);
  border-bottom: 1px solid var(--vp-rule);
}

.vp-lab-ledger td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--vp-rule);
  vertical-align: middle;
}

.vp-lab-ledger tr:hover td {
  background: var(--vp-bg);
}

/* HomeWarm Homepage Skeleton */
.vp-warm-banner {
  background: var(--vp-subtle);
  border-bottom: 1px solid var(--vp-rule);
  padding: 40px 0;
}

.vp-warm-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.vp-warm-grid h1 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin: 10px 0 14px;
}

.vp-warm-stream {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 34px;
  padding: 40px 0 48px;
}

.vp-warm-stream .vp-story-tile h3 {
  font-size: 22px;
}

/* ==========================================================================
   5. SINGLE ARTICLE PAGE + HAIRLINE STICKY BUY RAIL + TOC
   ========================================================================== */
.vp-article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 295px;
  gap: 52px;
  padding: 32px 0 56px;
  align-items: start;
}

body.vp-skin-homewarm .vp-article-shell,
.vp-article-shell.is-no-rail {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.vp-breadcrumb {
  font-size: 12px;
  color: var(--vp-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vp-breadcrumb a {
  color: var(--vp-muted);
}

.vp-article-header h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12;
  margin: 10px 0 14px;
}

.vp-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--vp-rule);
  border-bottom: 1px solid var(--vp-rule);
  font-size: 13px;
  color: var(--vp-muted);
}

.vp-byline strong {
  color: var(--vp-ink);
}

.vp-disclosure-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--vp-muted);
  font-style: italic;
}

.vp-article-hero-img {
  margin: 22px 0 26px;
}

/* Article Body Typography */
.vp-article-body {
  margin-top: 22px;
  max-width: 68ch;
  font-size: 16.5px;
  line-height: 1.76;
  color: var(--vp-ink);
}

.vp-article-body > * + * {
  margin-top: 18px;
}

.vp-article-body h2 {
  font-size: 26px;
  line-height: 1.24;
  margin-top: 38px;
  margin-bottom: 12px;
  scroll-margin-top: 24px;
}

.vp-article-body h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-top: 26px;
  margin-bottom: 8px;
}

.vp-article-body ul,
.vp-article-body ol {
  padding-left: 22px;
  margin: 12px 0;
}

.vp-article-body li {
  margin-bottom: 8px;
}

.vp-article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.vp-article-body th {
  text-align: left;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vp-muted);
  padding: 10px 12px;
  border-bottom: 2px solid var(--vp-rule-strong);
  background: var(--vp-subtle);
}

.vp-article-body td {
  padding: 12px;
  border-bottom: 1px solid var(--vp-rule);
  vertical-align: middle;
}

/* Author E-E-A-T Box */
.vp-author-box {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px solid var(--vp-rule-strong);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.vp-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--vp-accent);
  color: #ffffff;
  font-family: var(--vp-font-display);
  font-size: 20px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.vp-author-box p {
  font-size: 13.5px;
  color: var(--vp-muted);
  margin-top: 5px;
  line-height: 1.6;
}

/* Quiet Hairline Sticky Right Rail */
.vp-sticky-rail {
  position: sticky;
  top: 28px;
  border-left: 1px solid var(--vp-rule);
  padding-left: 26px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vp-rail-section {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--vp-rule);
}

.vp-rail-section:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.vp-rail-buy-title {
  font-family: var(--vp-font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.28;
  margin: 10px 0 6px;
}

.vp-rail-price {
  font-size: 20px;
  font-weight: 750;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.vp-toc-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.vp-toc-list a {
  color: var(--vp-muted);
  display: block;
  line-height: 1.4;
}

.vp-toc-list a:hover,
.vp-toc-list a.is-active {
  color: var(--vp-accent);
  font-weight: 650;
  text-decoration: none;
}

.vp-related-list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.vp-related-list a {
  color: var(--vp-ink);
  font-weight: 550;
  line-height: 1.4;
  display: block;
}

.vp-related-list a:hover {
  color: var(--vp-accent);
}

/* Mobile Sticky Bottom Conversion Bar (auto-hydrated by article-enhance.js) */
.vp-mobile-sticky {
  display: none;
}

/* ==========================================================================
   6. FOOTER & ARCHIVES
   ========================================================================== */
.vp-archive-head {
  padding: 34px 0 24px;
  border-bottom: 1px solid var(--vp-rule);
  margin-bottom: 30px;
}

.vp-archive-head h1 {
  font-size: clamp(26px, 3.2vw, 36px);
  margin-top: 8px;
}

.vp-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px 0 48px;
  font-size: 13.5px;
}

.vp-pagination .page-numbers {
  padding: 7px 13px;
  border: 1px solid var(--vp-rule);
  border-radius: var(--vp-radius);
  color: var(--vp-ink);
}

.vp-pagination .page-numbers.current {
  background: var(--vp-accent);
  border-color: var(--vp-accent);
  color: #ffffff;
  font-weight: 700;
}

.vp-footer {
  border-top: 2px solid var(--vp-rule-strong);
  background: var(--vp-subtle);
  padding: 42px 0 32px;
  font-size: 13px;
  color: var(--vp-muted);
}

.vp-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}

.vp-footer h4 {
  font-family: var(--vp-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vp-ink);
  margin-bottom: 10px;
}

.vp-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.vp-footer a {
  color: var(--vp-muted);
}

.vp-footer a:hover {
  color: var(--vp-accent);
}

.vp-footer-bottom {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--vp-rule);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   7. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 980px) {
  .vp-ed-lead,
  .vp-lab-hero,
  .vp-warm-grid,
  .vp-article-shell {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .vp-ed-briefs {
    border-left: 0;
    border-top: 1px solid var(--vp-rule);
    padding-left: 0;
    padding-top: 22px;
  }

  .vp-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vp-sticky-rail {
    position: static;
    border-left: 0;
    border-top: 1px solid var(--vp-rule);
    padding-left: 0;
    padding-top: 24px;
  }

  .vp-mobile-sticky.is-ready {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    background: var(--vp-surface);
    border-top: 1px solid var(--vp-rule);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.12);
  }

  body.has-mobile-cta {
    padding-bottom: 70px;
  }
}

@media (max-width: 720px) {
  .vp-container {
    padding: 0 16px;
  }

  .vp-hdr-top {
    display: none;
  }

  .vp-nav,
  .vp-search-form {
    display: none;
  }

  .vp-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-top: 14px;
    gap: 12px;
  }

  .vp-hdr-row {
    flex-wrap: wrap;
  }

  .vp-menu-toggle {
    display: inline-flex;
  }

  .vp-grid-4,
  .vp-grid-3,
  .vp-warm-stream,
  .vp-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   Skin 4: FieldTrail Outdoor Journal (Camping / Overlanding / Trail Gear)
   ========================================================================== */
body.vp-skin-fieldtrail {
  --vp-bg: #f4f2ec;
  --vp-surface: #ffffff;
  --vp-subtle: #e9e5db;
  --vp-ink: #17231c;
  --vp-muted: #525f57;
  --vp-rule: #d7d2c5;
  --vp-rule-strong: #1c3125;
  --vp-accent: #166534;
  --vp-accent-hover: #14532d;
  --vp-accent-tint: #e8f3ec;
  --vp-amber: #d97706;
  --vp-amber-soft: #fef3c7;
  --vp-warn-ink: #92400e;
  --vp-warn-tint: #fef3c7;
  --vp-radius: 6px;
  --vp-btn-radius: 5px;
  --vp-font-display: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  --vp-font-body: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  --vp-font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --vp-head-track: -0.025em;
  --vp-head-weight: 800;
}

.vp-hdr-fieldtrail {
  background: #162920;
  color: #f8faf8;
  border-bottom: 3px solid #d97706;
  padding: 14px 0;
}

.vp-hdr-fieldtrail .vp-wordmark {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.vp-trail-emblem {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: #d97706;
  color: #ffffff;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.vp-hdr-fieldtrail .vp-nav a {
  color: #d6e4dc;
  font-weight: 600;
}

.vp-hdr-fieldtrail .vp-nav a:hover,
.vp-hdr-fieldtrail .vp-nav .current-menu-item > a {
  color: #ffffff;
  box-shadow: inset 0 -2px 0 #d97706;
}

.vp-hdr-fieldtrail .vp-search-form input[type="search"] {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 5px;
  padding: 6px 10px;
  color: #ffffff;
}

.vp-hdr-fieldtrail .vp-search-form input[type="search"]::placeholder {
  color: #b7cbc0;
}

.vp-hdr-fieldtrail .vp-menu-toggle {
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.vp-trail-bar {
  background: #eae6dc;
  border-bottom: 1px solid var(--vp-rule);
  padding: 10px 0;
}

.vp-trail-hero {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  background: #182a21;
  color: #f4f7f5;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 26px;
  box-shadow: 0 12px 30px rgba(22, 41, 32, 0.14);
}

.vp-trail-hero-media {
  position: relative;
  display: block;
  min-height: 330px;
  background: #233a2f;
  overflow: hidden;
}

.vp-trail-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vp-trail-hero-copy {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.vp-trail-kicker {
  display: inline-block;
  font-family: var(--vp-font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fbbf24;
  text-transform: uppercase;
}

.vp-trail-hero-copy h1 {
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.16;
  color: #ffffff;
}

.vp-trail-hero-copy h1 a {
  color: #ffffff;
}

.vp-trail-hero-copy h1 a:hover {
  color: #fde68a;
  text-decoration: none;
}

.vp-trail-standfirst {
  font-size: 15px;
  line-height: 1.62;
  color: #d4e0d9;
}

.vp-trail-hero-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.vp-trail-cta {
  background: #d97706;
  border-color: #d97706;
  color: #ffffff;
}

.vp-trail-cta:hover {
  background: #b45309;
  border-color: #b45309;
  color: #ffffff;
  text-decoration: none;
}

.vp-trail-date {
  font-family: var(--vp-font-mono);
  font-size: 12px;
  color: #b7cbc0;
}

.vp-trail-section {
  padding-top: 34px;
}

.vp-trail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.vp-trail-card {
  display: flex;
  flex-direction: column;
  background: var(--vp-surface);
  border: 1px solid var(--vp-rule);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.vp-trail-card:hover {
  transform: translateY(-2px);
  border-color: #a8b7ad;
  box-shadow: 0 10px 24px rgba(22, 41, 32, 0.08);
}

.vp-trail-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #e5e1d6;
  overflow: hidden;
}

.vp-trail-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vp-trail-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 9px;
  border-radius: 4px;
  background: rgba(22, 41, 32, 0.88);
  color: #ffffff;
  font-family: var(--vp-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vp-trail-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.vp-trail-card-body h3 {
  font-size: 18px;
  line-height: 1.28;
}

.vp-trail-card-body h3 a {
  color: var(--vp-ink);
}

.vp-trail-card-body h3 a:hover {
  color: var(--vp-accent);
  text-decoration: none;
}

.vp-trail-card-body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--vp-muted);
}

.vp-trail-card-meta {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--vp-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--vp-font-mono);
  font-size: 12px;
  color: var(--vp-muted);
}

.vp-trail-card-meta a {
  font-weight: 700;
  color: var(--vp-accent);
}

@media (max-width: 960px) {
  .vp-trail-hero {
    grid-template-columns: 1fr;
  }

  .vp-trail-hero-media {
    min-height: 230px;
  }

  .vp-trail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .vp-trail-grid {
    grid-template-columns: 1fr;
  }

  .vp-trail-hero-copy {
    padding: 22px 18px;
  }
}

