/* ============================================================
   redesign_v2.css — SelfHacking v3 "Neon Noir"
   Dark editorial aesthetic (The Verge, after dark)
   Pure-black canvas · neon cyan + magenta + warm amber
   Desktop: 1024px+   Mobile: ≤768px
   ============================================================ */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  color-scheme: dark;
  /* Neon accent system */
  --cyan:           #00d4ff;   /* primary   */
  --cyan-deep:      #00a6c9;
  --magenta:        #ff0080;   /* secondary */
  --magenta-deep:   #c70063;
  --amber:          #ffb020;   /* warm accent */

  /* Canvas + surfaces */
  --bg:             #0a0a0a;   /* pure-black page */
  --bg-elev:        #111111;   /* card surface   */
  --bg-elev-2:      #1a1a1a;   /* raised / hover */
  --bg-rail:        #0f0f0f;

  /* Text */
  --text:           #f0f0f0;   /* body            */
  --text-bright:    #ffffff;   /* headings        */
  --text-2:         #b4b4b4;   /* secondary       */
  --text-3:         #808080;   /* meta            */

  /* Lines */
  --border:         rgba(255,255,255,0.09);
  --border-strong:  rgba(255,255,255,0.16);

  /* Legacy aliases (kept so older rules & sub-templates resolve) */
  --purple:         #6b21ff;
  --brand-purple:   #6b21ff;
  --teal:           var(--magenta);
  --accent-teal:    var(--magenta);
  --bg-dark:        var(--bg);
  --bg-white:       var(--bg-elev);
  --bg-page:        var(--bg);
  --bg-card:        var(--bg-elev);
  --bg-drawer:      #0a0a0a;
  --text-primary:   var(--text);
  --text-secondary: var(--text-2);
  --text-meta:      var(--text-3);
  --text-on-dark:   #ffffff;
  --text-nav:       #e9e9e9;
  --text-teal:      var(--magenta);
  --border-light:   var(--border);
  --border-dark:    var(--border);
  --light-purple-bg: rgba(0,212,255,0.12);

  /* Shared aliases used by category/404/static_page templates */
  --ink:        var(--text-bright);
  --ink-2:      var(--text-2);
  --ink-3:      var(--text-3);
  --bg-soft:    var(--bg-elev);
  --edge:       var(--border);
  --accent-ink: var(--cyan);

  --nav-height:   44px;
  --bottom-nav-h: 56px;
  --page-pad:     16px;

  --font-display: 'Barlow Condensed', Impact, 'Arial Narrow', sans-serif;
  --font-sans:    'Inter', -apple-system, 'Segoe UI', sans-serif;
  --font-serif:   'Lora', Georgia, 'Times New Roman', serif;
  --font-mono:    'JetBrains Mono', 'Inter', 'Courier New', monospace;
  --font-tight:   'Inter Tight', 'Inter', sans-serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
html { overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
::selection { background: var(--cyan); color: #001016; }

/* ============================================================
   DESKTOP NAVIGATION (≥769px)
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-top: 2px solid var(--cyan);
  border-bottom: 1px solid var(--border);
  height: 52px;
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  color: var(--text-bright);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}
.nav-logo::after { content: "."; color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--cyan); }
.nav-links a.active { color: var(--text-bright); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -19px;
  height: 2px; background: var(--cyan);
}
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-search-btn {
  color: var(--text-2); padding: 4px; display: flex; align-items: center;
  transition: color 0.15s;
}
.nav-search-btn:hover { color: var(--cyan); }
.btn-subscribe {
  background: var(--cyan);
  color: #001016;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 7px 16px; border-radius: 2px;
  transition: background 0.15s, transform 0.1s;
}
.btn-subscribe:hover { background: #2ee0ff; }
.btn-subscribe:active { transform: translateY(1px); }

/* ============================================================
   MOBILE NAV ELEMENTS
   ============================================================ */
.overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.7); z-index: 90; opacity: 0;
  transition: opacity 0.25s ease;
}
.overlay.open { display: block; opacity: 1; }

.top-nav {
  display: none; position: sticky; top: 0; z-index: 100;
  height: var(--nav-height); background: var(--bg);
  border-top: 2px solid var(--cyan);
  border-bottom: 1px solid var(--border);
  align-items: center; justify-content: space-between;
  padding: 0 var(--page-pad);
  padding-top: env(safe-area-inset-top, 0px);
}
.mobile-nav-logo { display: flex; align-items: center; min-height: 44px; }
.nav-logo-mark {
  width: 28px; height: 28px; background: var(--cyan); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 16px;
  color: #001016; flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-display); font-weight: 900; font-size: 20px;
  color: var(--text-bright); letter-spacing: 0.5px; text-transform: uppercase;
}
.nav-logo-text span { color: var(--cyan); }

.hamburger-btn {
  width: 44px; height: 44px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  flex-shrink: 0; border-radius: 4px; transition: background 0.15s;
}
.hamburger-btn:active { background: rgba(255,255,255,0.08); }
.hamburger-btn span {
  display: block; width: 22px; height: 2px; background: var(--cyan);
  border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.hamburger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-drawer {
  position: fixed; top: 0; left: 0; width: 100%; max-width: 320px; height: 100%;
  background: var(--bg-drawer); z-index: 110; transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column; overflow-y: auto;
  border-right: 1px solid var(--cyan);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.nav-drawer.open { transform: translateX(0); }
.drawer-header {
  height: var(--nav-height); display: flex; align-items: center;
  justify-content: space-between; padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.drawer-logo {
  font-family: var(--font-display); font-weight: 900; font-size: 20px;
  color: var(--text-bright); letter-spacing: 0.5px; text-transform: uppercase;
}
.drawer-logo span { color: var(--cyan); }
.drawer-close {
  width: 44px; height: 44px; display: flex; align-items: center;
  justify-content: center; color: var(--text); font-size: 22px; opacity: 0.7;
  transition: opacity 0.15s, color 0.15s;
}
.drawer-close:hover { opacity: 1; color: var(--cyan); }
.drawer-section-label {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-3);
  padding: 20px var(--page-pad) 8px;
}
.drawer-nav-list { list-style: none; flex: 1; }
.drawer-nav-list li a {
  display: flex; align-items: center; min-height: 48px; padding: 0 var(--page-pad);
  font-family: var(--font-sans); font-size: 18px; font-weight: 400; color: var(--text);
  border-bottom: 1px solid var(--border); border-left: 3px solid transparent;
  transition: border-left-color 0.15s, background 0.15s, color 0.15s;
}
.drawer-nav-list li a:hover,
.drawer-nav-list li a:active,
.drawer-nav-list li.active a {
  border-left-color: var(--cyan); color: var(--cyan);
  background: rgba(0,212,255,0.07);
}
.drawer-footer {
  padding: 20px var(--page-pad); border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
}
.drawer-footer a {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.1px;
  text-transform: uppercase; color: var(--text-3);
  min-height: 44px; display: flex; align-items: center;
}
.drawer-subscribe {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 20px; background: var(--cyan); color: #001016 !important;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 1.1px; text-transform: uppercase; border-radius: 2px;
}

/* MOBILE CATEGORY STRIP */
.mobile-cat-strip {
  display: none; background: var(--bg); border-bottom: 1px solid var(--border);
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.mobile-cat-strip::-webkit-scrollbar { display: none; }
.mobile-cat-strip-inner { display: flex; white-space: nowrap; padding: 0 var(--page-pad); }
.mobile-cat-strip-inner a {
  display: inline-flex; align-items: center; height: 38px; padding: 0 14px;
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-2);
  transition: color 0.15s; flex-shrink: 0;
}
.mobile-cat-strip-inner a:hover,
.mobile-cat-strip-inner a.active { color: var(--cyan); }
.mobile-cat-strip-inner a.active { border-bottom: 2px solid var(--cyan); }

/* POSTHOG SURVEY / CART RECOVERY BAR — fix click-blocking on mobile.
   PostHog injects a full-screen fixed container at z-index 9999+ that
   intercepts all touches. We make the wrapper pass through and only
   the actual widget children stay interactive. */
[class*="ph-survey"], [id*="ph-survey"],
.__ph-survey, .__ph_survey_widget,
div[style*="z-index: 9999"], div[style*="z-index:9999"],
div[style*="z-index: 99999"], div[style*="z-index:99999"] {
  pointer-events: none !important;
}
[class*="ph-survey"] *, [id*="ph-survey"] *,
.__ph-survey *, .__ph_survey_widget *,
div[style*="z-index: 9999"] > *,
div[style*="z-index:9999"] > *,
div[style*="z-index: 99999"] > *,
div[style*="z-index:99999"] > * {
  pointer-events: auto !important;
}

/* BOTTOM NAV */
.bottom-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #0c0c0c; border-top: 1px solid var(--cyan);
  align-items: stretch; z-index: 80;
}
.bottom-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 3px; min-height: 44px;
  transition: opacity 0.15s; padding-bottom: 2px;
}
.bottom-nav-item:active { opacity: 0.7; }
.bottom-nav-icon {
  width: 20px; height: 20px; display: flex; align-items: center;
  justify-content: center; color: rgba(255,255,255,0.45);
}
.bottom-nav-item.active .bottom-nav-icon { color: var(--cyan); }
.bottom-nav-label {
  font-family: var(--font-sans); font-size: 10px; font-weight: 400;
  color: rgba(255,255,255,0.45); letter-spacing: 0.3px;
}
.bottom-nav-item.active .bottom-nav-label { color: var(--cyan); }
svg { fill: currentColor; }

/* ============================================================
   NEON SECTION DIVIDER + HEADERS
   ============================================================ */
.section-header { margin-bottom: 26px; padding-top: 14px; position: relative; }
.section-header::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 72px; height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  border-radius: 2px;
}
.section-label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--cyan);
  display: block; margin-bottom: 4px;
}
.section-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(34px, 4.6vw, 50px); line-height: 0.96;
  color: var(--text-bright); text-transform: uppercase; letter-spacing: 0.5px;
}
/* standalone neon bar element */
.neon-bar {
  height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--magenta) 60%, var(--amber) 100%);
  border-radius: 2px; margin: 0 0 28px;
}

/* ============================================================
   HERO — LEAD GRID (1 big feature + 3 stacked rail cards)
   ============================================================ */
.lead-wrap { background: var(--bg); padding: 36px 0 8px; }
.lead-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.7fr 1fr; gap: 28px;
}

/* big feature */
.lead-feature {
  position: relative; display: block; min-height: 700px;
  border: 1px solid var(--border); overflow: hidden; border-radius: 4px;
  background: #14141c;
}
.lead-feature .lead-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.lead-feature:hover .lead-img { transform: scale(1.04); }
.lead-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(8,8,10,0.97) 0%, rgba(8,8,10,0.82) 32%,
    rgba(8,8,10,0.28) 62%, rgba(8,8,10,0.05) 100%);
}
.lead-feature::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  z-index: 3;
}
.lead-content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 44px 48px 48px;
}
.lead-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(48px, 6vw, 76px); line-height: 0.88;
  text-transform: uppercase; letter-spacing: -0.015em;
  color: var(--text-bright); margin: 18px 0 16px; max-width: 15ch;
}
.lead-dek {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(16px, 1.5vw, 21px); line-height: 1.5;
  color: rgba(255,255,255,0.86); max-width: 56ch; margin-bottom: 18px;
}

/* category chip + byline (shared) */
.chip {
  display: inline-block; font-family: var(--font-mono);
  font-size: 11px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: #001016; padding: 4px 11px;
  border-radius: 2px; background: var(--cyan);
}
.chip--cyan    { background: var(--cyan); }
.chip--magenta { background: var(--magenta); color:#fff; }
.chip--amber   { background: var(--amber); }
.byline {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.1px;
  text-transform: uppercase; color: var(--text-3); margin-top: 14px;
}
.byline span { color: var(--text-2); }
.byline .dot { color: var(--border-strong); margin: 0 6px; }

/* neon kicker text colors */
.k-cyan    { color: var(--cyan); }
.k-magenta { color: var(--magenta); }
.k-amber   { color: var(--amber); }

/* rail of 3 small stacked cards */
.lead-rail { display: flex; flex-direction: column; gap: 18px; }
.rail-card {
  display: grid; grid-template-columns: 120px 1fr; gap: 14px;
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden; padding: 0;
  transition: border-color 0.15s, transform 0.15s;
}
.rail-card:hover { border-color: var(--cyan); transform: translateY(-2px); }
.rail-thumb { position: relative; aspect-ratio: 1/1; overflow: hidden; background:#14141c; }
.rail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rail-body { padding: 14px 14px 14px 0; display: flex; flex-direction: column; justify-content: center; }
.rail-kicker {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 6px;
}
.rail-title {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  line-height: 1.0; text-transform: uppercase; color: var(--text-bright);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.rail-card:hover .rail-title { color: var(--cyan); }
.rail-meta {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--text-3); margin-top: 8px;
}

/* ============================================================
   SECONDARY — 4-COLUMN DENSE FEED
   ============================================================ */
.feed-wrap { max-width: 1280px; margin: 0 auto; padding: 56px 24px 8px; }
.dense-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px;
}
.dense-card {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden; display: flex; flex-direction: column;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.dense-card:hover {
  border-color: var(--cyan); transform: translateY(-3px);
}
.dense-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background:#14141c; }
.dense-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.dense-card:hover .dense-img img { transform: scale(1.05); }
.dense-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.dense-kicker {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 1.3px; text-transform: uppercase; margin-bottom: 9px;
}
.dense-title {
  font-family: var(--font-display); font-weight: 700; font-size: 24px;
  line-height: 1.02; text-transform: uppercase; color: var(--text-bright);
  margin-bottom: 9px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.dense-card:hover .dense-title { color: var(--cyan); }
.dense-dek {
  font-family: var(--font-serif); font-size: 14px; line-height: 1.5;
  color: var(--text-2); margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dense-meta {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--text-3); margin-top: auto;
}

/* ============================================================
   HORIZONTAL SCROLL RAIL  (river variety — breaks the grid)
   ============================================================ */
.hscroll-wrap { max-width: 1280px; margin: 0 auto; padding: 60px 24px 8px; }
.hscroll-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 26px;
}
.hscroll-head .section-header { margin-bottom: 0; }
.hscroll-head .section-see-all { margin-top: 0; }
.hscroll-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 300px;
  gap: 22px; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; padding-bottom: 14px;
}
.hscroll-track::-webkit-scrollbar { display: none; }
.hs-card {
  scroll-snap-align: start; background: var(--bg-elev);
  border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
}
.hs-card:hover { border-color: var(--cyan); transform: translateY(-3px); }
.hs-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #14141c; }
.hs-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.hs-card:hover .hs-img img { transform: scale(1.05); }
.hs-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.hs-kicker {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 1.3px; text-transform: uppercase; margin-bottom: 9px;
}
.hs-title {
  font-family: var(--font-display); font-weight: 700; font-size: 24px;
  line-height: 1.02; text-transform: uppercase; color: var(--text-bright);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hs-card:hover .hs-title { color: var(--cyan); }
.hs-meta {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--text-3); margin-top: 10px;
}

/* ============================================================
   FULL-WIDTH FEATURED SPOTLIGHT  (image left · text right)
   ============================================================ */
.spotlight-wrap { max-width: 1280px; margin: 0 auto; padding: 60px 24px 8px; }
.spotlight {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 0;
  border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
  background: var(--bg-elev);
  transition: border-color 0.15s;
}
.spotlight:hover { border-color: var(--cyan); }
.spotlight-media { position: relative; min-height: 440px; overflow: hidden; background: #14141c; }
.spotlight-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.spotlight:hover .spotlight-media img { transform: scale(1.04); }
.spotlight-body { padding: 48px 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.spotlight-body .chip { align-self: flex-start; }
.spotlight-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(36px, 4vw, 56px); line-height: 0.92;
  text-transform: uppercase; letter-spacing: -0.012em;
  color: var(--text-bright); margin: 18px 0 18px;
}
.spotlight:hover .spotlight-title { color: var(--cyan); }
.spotlight-dek {
  font-family: var(--font-serif); font-style: italic;
  font-size: 18px; line-height: 1.6; color: var(--text-2);
  margin-bottom: 8px; max-width: 50ch;
}
.spotlight-cta {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--cyan);
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  transition: color 0.15s;
}
.spotlight:hover .spotlight-cta { color: var(--magenta); }

/* ============================================================
   LOWER GRID — main list + tabbed sidebar
   ============================================================ */
.lower-wrap {
  max-width: 1280px; margin: 0 auto; padding: 64px 24px 16px;
  display: grid; grid-template-columns: 1fr 340px; gap: 56px;
  align-items: start;
}
.lower-main { min-width: 0; }

/* two-up list of row cards */
.row-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row-card {
  display: grid; grid-template-columns: 150px 1fr; gap: 16px;
  border-top: 1px solid var(--border); padding-top: 20px;
  overflow: hidden;
  transition: opacity 0.15s;
}
.row-card:hover { opacity: 0.95; }
.row-thumb { aspect-ratio: 4/3; overflow: hidden; background:#14141c; border-radius: 3px; }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.row-card:hover .row-thumb img { transform: scale(1.05); }
.row-kicker {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 6px;
}
.row-title {
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  line-height: 1.05; text-transform: uppercase; color: var(--text-bright);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.row-card:hover .row-title { color: var(--cyan); }
.row-meta {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--text-3); margin-top: 8px;
}

/* ============================================================
   TABBED SIDEBAR
   ============================================================ */
.sidebar { position: sticky; top: 70px; }
.sidebar-widget { margin-bottom: 36px; }
.side-tabs {
  display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 8px;
}
.side-tab {
  flex: 1; font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-3);
  padding: 12px 0; background: none; border-bottom: 3px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.side-tab:hover { color: var(--text-2); }
.side-tab.is-active { color: var(--cyan); border-bottom-color: var(--cyan); }
.side-panel { display: none; }
.side-panel.is-active { display: block; }

.numbered-list { list-style: none; }
.numbered-item {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.item-number {
  font-family: var(--font-display); font-size: 30px; font-weight: 900;
  line-height: 1; color: transparent;
  -webkit-text-stroke: 1px var(--cyan); flex-shrink: 0;
}
.numbered-item:nth-child(even) .item-number { -webkit-text-stroke-color: var(--magenta); }
.item-title {
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  line-height: 1.35; color: var(--text);
}
.numbered-item:hover .item-title { color: var(--cyan); }
.item-meta {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--text-3); margin-top: 5px;
}

/* Newsletter CTA */
.newsletter-cta {
  background: linear-gradient(135deg, #12121a 0%, #0d0d0d 100%);
  border: 1px solid var(--border-strong);
  border-top: 2px solid var(--cyan);
  padding: 28px 24px; border-radius: 4px;
}
.newsletter-cta .cta-headline {
  font-family: var(--font-display); font-weight: 900; font-size: 32px; line-height: 0.95;
  color: var(--text-bright); text-transform: uppercase; margin-bottom: 12px;
}
.newsletter-cta .cta-headline span { color: var(--cyan); }
.newsletter-cta .cta-body {
  font-family: var(--font-serif); font-size: 14px; line-height: 1.6;
  color: var(--text-2); margin-bottom: 20px;
}
.newsletter-cta .cta-input {
  width: 100%; padding: 12px 12px; font-family: var(--font-sans); font-size: 13px;
  background: #000; color: var(--text); border: 1px solid var(--border-strong);
  border-radius: 2px; margin-bottom: 10px; outline: none;
}
.newsletter-cta .cta-input:focus { border-color: var(--cyan); }
.newsletter-cta .cta-input::placeholder { color: var(--text-3); }
.newsletter-cta .cta-btn {
  background: var(--cyan); color: #001016; font-family: var(--font-mono);
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 12px 20px; width: 100%; border-radius: 2px;
  transition: background 0.15s;
}
.newsletter-cta .cta-btn:hover { background: #2ee0ff; }

.section-see-all {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 1.1px; text-transform: uppercase; color: var(--cyan);
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 28px; border-bottom: 1px solid var(--cyan); padding-bottom: 3px;
  transition: color 0.15s, border-color 0.15s;
}
.section-see-all:hover { color: var(--magenta); border-color: var(--magenta); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #070707; border-top: 1px solid var(--cyan);
  padding: 56px 24px 36px; margin-top: 72px;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto; display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px;
}
.footer-brand .footer-logo {
  font-family: var(--font-display); font-weight: 900; font-size: 30px;
  color: var(--text-bright); text-transform: uppercase; margin-bottom: 12px;
}
.footer-brand .footer-logo::after { content: "."; color: var(--cyan); }
.footer-brand p {
  font-family: var(--font-serif); font-size: 14px; color: var(--text-2);
  line-height: 1.7; max-width: 300px;
}
.footer-col h4 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a {
  font-family: var(--font-sans); font-size: 13px; color: var(--text-2);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: 1280px; margin: 36px auto 0; padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.footer-bottom p {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.8px;
  text-transform: uppercase; color: var(--text-3);
}
.footer-bottom a { color: var(--text-2); }
.footer-bottom a:hover { color: var(--cyan); }

/* Mobile-only bits hidden on desktop */
.tab-pills { display: none; }
.newsletter-band { display: none; }

/* ============================================================
   HOVER TEXT HIGHLIGHT — gradient text on card titles
   ============================================================ */
.lead-title,
.rail-title,
.dense-title,
.hs-title,
.row-title,
.item-title,
.spotlight-title {
  display: inline;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: inherit;
  background-image: none;
  transition: -webkit-text-fill-color 0.2s ease, background-image 0.2s ease;
}

.lead-feature:hover .lead-title,
.rail-card:hover .rail-title,
.dense-card:hover .dense-title,
.hs-card:hover .hs-title,
.row-card:hover .row-title,
.numbered-item:hover .item-title,
.spotlight:hover .spotlight-title {
  background-image: linear-gradient(90deg, #00d4ff 0%, #a855f7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Clear any leftover span overrides */
.lead-feature:hover .lead-title span,
.rail-card:hover .rail-title span,
.dense-card:hover .dense-title span,
.hs-card:hover .hs-title span,
.row-card:hover .row-title span,
.numbered-item:hover .item-title span,
.spotlight:hover .spotlight-title span {
  background-color: transparent;
  box-shadow: none;
  padding: 0;
  color: inherit;
}

/* ============================================================
   @media — TABLET (769px–1023px)
   ============================================================ */
@media (min-width: 769px) and (max-width: 1023px) {
  .lead-grid { grid-template-columns: 1fr; }
  .lead-feature { min-height: 460px; }
  .lead-rail { display: grid; grid-template-columns: 1fr 1fr 1fr; }
  .dense-grid { grid-template-columns: repeat(2, 1fr); }
  .lower-wrap { grid-template-columns: 1fr; gap: 40px; }
  .row-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .sidebar { position: static; }
  .hscroll-track { grid-auto-columns: 290px; }
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-media { min-height: 320px; }
  .spotlight-body { padding: 32px 32px 30px; }
}

/* ============================================================
   @media — MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  body { padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px)); }

  .site-nav { display: none; }
  .top-nav { display: flex; }
  .mobile-cat-strip { display: block; }
  .bottom-nav { display: flex; }

  /* Lead block */
  .lead-wrap { padding: 0; }
  .lead-grid { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .lead-feature { min-height: 560px; border: none; border-radius: 0; }
  .lead-content { padding: 0 var(--page-pad) 26px; }
  .lead-title { font-size: clamp(28px, 8vw, 44px); margin: 8px 0 10px; }
  .lead-dek { display: none; }
  .lead-rail { display: flex; padding: 6px 0; gap: 0; }
  .rail-card {
    grid-template-columns: 110px 1fr; border: none;
    border-bottom: 1px solid var(--border); border-radius: 0;
  }
  .rail-card:hover { transform: none; }
  .rail-body { padding: 12px 14px 12px 0; }
  .rail-title { font-size: 18px; }

  /* tab pills */
  .tab-pills {
    display: flex; gap: 8px; padding: 14px var(--page-pad); overflow-x: auto;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; background: var(--bg);
    border-bottom: 1px solid var(--border);
  }
  .tab-pills::-webkit-scrollbar { display: none; }
  .tab-pill {
    display: inline-flex; align-items: center; height: 34px; padding: 0 16px;
    border-radius: 24px; font-family: var(--font-mono); font-size: 11px; font-weight: 700;
    letter-spacing: 1.3px; text-transform: uppercase; white-space: nowrap; flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
  }
  .tab-pill-inactive { background: transparent; border: 1px solid var(--border-strong); color: var(--text-2); }
  .tab-pill-active { background: var(--cyan); color: #001016; border: 1px solid var(--cyan); }

  /* dense + feed */
  .feed-wrap { padding: 28px var(--page-pad) 0; }
  .dense-grid { grid-template-columns: 1fr; gap: 0; }
  .dense-card {
    border: none; border-bottom: 1px solid var(--border); border-radius: 0;
    flex-direction: row; gap: 14px; padding: 16px 0;
  }
  .dense-card:hover { transform: none; box-shadow: none; }
  .dense-img { width: 120px; flex-shrink: 0; aspect-ratio: 1/1; border-radius: 3px; }
  .dense-body { padding: 0; }
  .dense-title { font-size: 18px; }
  .dense-dek { display: none; }

  /* horizontal scroll rail */
  .hscroll-wrap { padding: 30px 0 0; }
  .hscroll-head { padding: 0 var(--page-pad); margin-bottom: 16px; }
  .hscroll-track { grid-auto-columns: 78vw; gap: 14px; padding: 0 var(--page-pad) 14px; }
  .hs-title { font-size: 21px; }

  /* full-width spotlight */
  .spotlight-wrap { padding: 30px var(--page-pad) 0; }
  .spotlight { grid-template-columns: 1fr; }
  .spotlight-media { min-height: 0; aspect-ratio: 16/10; }
  .spotlight-body { padding: 22px 18px 24px; }
  .spotlight-title { font-size: clamp(28px, 8.5vw, 40px); margin: 14px 0 14px; }
  .spotlight-dek { font-size: 15px; }
  .spotlight-cta { margin-top: 16px; }

  /* lower */
  .lower-wrap { grid-template-columns: 1fr; gap: 32px; padding: 36px var(--page-pad) 0; }
  .row-grid { grid-template-columns: 1fr; gap: 0; }
  .row-card { grid-template-columns: 110px 1fr; border-top: none; border-bottom: 1px solid var(--border); padding: 16px 0; }
  .row-title { font-size: 17px; }
  .sidebar { position: static; }

  .section-header { margin: 0 0 18px; }
  .section-title { font-size: 24px; }

  /* mobile newsletter band */
  .newsletter-band {
    display: block; margin: 8px var(--page-pad) 0;
    background: linear-gradient(135deg, #12121a, #0a0a0a);
    border: 1px solid var(--border-strong); border-top: 2px solid var(--cyan);
    padding: 26px 18px; text-align: center; border-radius: 4px;
  }
  .newsletter-band h3 {
    font-family: var(--font-display); font-weight: 900; font-size: 28px; line-height: 1.0;
    color: var(--text-bright); text-transform: uppercase; margin-bottom: 8px;
  }
  .newsletter-band p {
    font-family: var(--font-sans); font-size: 14px; color: var(--text-2);
    line-height: 1.5; margin-bottom: 16px;
  }
  .newsletter-form { display: flex; flex-direction: column; gap: 10px; max-width: 340px; margin: 0 auto; }
  .newsletter-input {
    height: 46px; padding: 0 16px; background: #000; border: 1px solid var(--border-strong);
    border-radius: 2px; font-family: var(--font-sans); font-size: 15px; color: var(--text);
  }
  .newsletter-input::placeholder { color: var(--text-3); }
  .newsletter-btn {
    height: 46px; background: var(--cyan); color: #001016; font-family: var(--font-mono);
    font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
    border-radius: 2px;
  }

  /* footer */
  .site-footer { padding: 32px var(--page-pad) 24px; margin-top: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 420px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   Utility
   ============================================================ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.btn-pill {
  display: inline-block; font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: #001016; background: var(--cyan);
  padding: 12px 24px; border-radius: 2px;
}

/* ============================================================
   Quick Post Card (post_type === 'quick_post')
   Text-only — no hero image. 3px brand-accent left border.
   ============================================================ */
.quick-card {
  display: block;
  position: relative;
  background: var(--surface-1, #111);
  border-left: 3px solid var(--cyan);
  border-radius: 0 4px 4px 0;
  padding: 18px 20px 16px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.quick-card:hover {
  background: var(--surface-2, #181818);
  border-left-color: var(--magenta);
}

/* category chip — top-left (reuse .chip pattern) */
.quick-card .quick-chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 2px;
  margin-bottom: 10px;
  background: var(--cyan);
  color: #001016;
}
.quick-card .quick-chip.chip--magenta { background: var(--magenta); color: #fff; }
.quick-card .quick-chip.chip--amber   { background: var(--amber, #f59e0b); color: #001016; }

/* author row */
.quick-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.quick-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-2, #181818);
  border: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.quick-avatar-placeholder {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #001016;
  flex-shrink: 0;
}
.quick-author-name {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-2, #888);
  text-transform: uppercase;
}
.quick-timestamp {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3, #555);
}

/* bold lead sentence */
.quick-lead {
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-1, #f0f0f0);
  margin-bottom: 8px;
}

/* body copy */
.quick-body {
  font-family: var(--font-serif, 'Lora', serif);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2, #999);
  margin-bottom: 12px;
}

/* optional source card */
.quick-source {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  text-decoration: none;
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.12s ease;
  margin-top: 4px;
}
.quick-source:hover { background: rgba(0,212,255,0.07); }
.quick-source-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* Dense-grid integration: quick card fills the same cell but no image wrapper */
.dense-grid .quick-card {
  height: 100%;
  box-sizing: border-box;
}
.btn-pill:hover { background: #2ee0ff; }

/* Back to Top Button */
.back-to-top {
  width: 52px;
  height: 52px;
  background: #00d4ff;
  color: #0a0a0a;
  border: none;
  border-radius: 50%;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
  transition: all 0.3s ease;
  z-index: 9000;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top:hover {
  background: #2ee0ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 212, 255, 0.6);
}

.back-to-top:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.4);
}

@media (max-width: 768px) {
  .back-to-top {
    width: 52px;
    height: 52px;
    font-size: 28px;
    right: 16px;
    bottom: calc(85px + env(safe-area-inset-bottom));
  }
}

/* ── Comments ────────────────────────────────────────────────────────────── */
.art-comments {
  max-width: 720px;
  margin: 64px auto 0;
  padding: 0 24px 80px;
}
.art-comments-heading {
  font-size: 15px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}
.art-comments-heading svg { opacity: 0.5; }
.art-comments-sub {
  font-size: 15px;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0 0 20px;
}

/* Single comment row */
.art-comment {
  display: flex !important;
  flex-direction: row !important;
  gap: 14px !important;
  margin-bottom: 32px !important;
  align-items: flex-start !important;
}
.art-comment-reply {
  margin-left: 52px !important;
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  padding-top: 20px;
  border-top: 1px solid #1e293b;
}

/* Avatar circle */
.art-comment-avatar {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  border-radius: 50% !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  color: rgba(255,255,255,0.9) !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}
.art-comment-avatar.reply-avatar {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  font-size: 13px !important;
}

/* Comment content */
.art-comment-body {
  flex: 1 !important;
  min-width: 0 !important;
}
.art-comment-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.art-comment-author {
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1;
}
.art-comment-date {
  font-size: 12px;
  color: #475569;
}
.art-comment-text {
  font-size: 14px;
  line-height: 1.7;
  color: #94a3b8;
  margin: 0 0 10px;
  word-break: break-word;
}
.art-comment-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

/* Like button */
.art-like-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  color: #475569 !important;
  font-size: 12px !important;
  padding: 0 !important;
  transition: color 0.15s !important;
  font-family: inherit !important;
}
.art-like-btn:hover { color: #f43f5e !important; }
.art-like-btn.art-liked { color: #f43f5e !important; }
.art-like-btn svg { flex-shrink: 0; }

/* Reply button */
.art-reply-btn {
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  color: #00d4ff !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 0 !important;
  font-family: inherit !important;
  opacity: 0.7;
  transition: opacity 0.15s !important;
}
.art-reply-btn:hover { opacity: 1 !important; }

/* Divider between top-level comments */
.art-comment + .art-comment {
  padding-top: 32px;
  border-top: 1px solid #1e293b;
}

/* Comment form */
.art-comment-new {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid #1e293b;
}
.art-comment-form { margin-top: 0; }
.art-reply-form { margin-top: 16px; }
.art-comment-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.art-comment-input {
  width: 100%;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 11px 14px;
  color: #e2e8f0;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
  font-family: inherit;
}
.art-comment-input:focus { border-color: #00d4ff; }
.art-comment-input::placeholder { color: #334155; }
.art-comment-textarea {
  width: 100%;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 12px 14px;
  color: #e2e8f0;
  font-size: 14px;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  box-sizing: border-box;
  margin-bottom: 14px;
  display: block;
  min-height: 100px;
}
.art-comment-textarea:focus { border-color: #00d4ff; }
.art-comment-textarea::placeholder { color: #334155; }
.art-comment-submit {
  background: #00d4ff;
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 11px 24px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.03em;
  font-family: inherit;
}
.art-comment-submit:hover { background: #00bfea; }
.art-comment-cancel {
  background: none;
  border: 1px solid #1e293b;
  border-radius: 8px;
  padding: 11px 18px;
  font-size: 13px;
  color: #475569;
  cursor: pointer;
  margin-left: 10px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.art-comment-cancel:hover { border-color: #334155; color: #94a3b8; }
.art-comment-form-actions { display: flex; align-items: center; }

@media (max-width: 640px) {
  .art-comment-form-row { grid-template-columns: 1fr; }
  .art-comment-reply { margin-left: 28px !important; }
  .art-comments { padding: 0 16px 60px; }
}

/* ============================================================
   HIERARCHICAL NAV DROPDOWNS
   ============================================================ */
.nav-has-dropdown { position: relative; }

.nav-parent {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-caret {
  font-size: 9px;
  opacity: 0.5;
  transition: transform 0.2s;
  line-height: 1;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #111318;
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 4px;
  min-width: 190px;
  padding: 6px 0;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  list-style: none;
  margin: 0;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 10px;
}

.nav-dropdown li a {
  display: block;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 500;
  color: #b0b8c1;
  letter-spacing: 0.03em;
  text-transform: none;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
  font-family: var(--font-sans, 'Inter', sans-serif);
}

.nav-dropdown li a:hover {
  color: #00d4ff;
  background: rgba(0,212,255,0.06);
}

.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  display: block;
}

.nav-has-dropdown:hover .nav-caret {
  transform: rotate(180deg);
  opacity: 0.9;
}

/* Mobile */
@media (max-width: 900px) {
  .nav-dropdown {
    position: static;
    transform: none;
    border: none;
    box-shadow: none;
    background: rgba(0,212,255,0.04);
    border-left: 2px solid rgba(0,212,255,0.2);
    padding: 4px 0;
    margin: 4px 0 4px 12px;
    display: none;
    min-width: unset;
  }
  .nav-has-dropdown.open .nav-dropdown { display: block; }
  .nav-has-dropdown.open .nav-caret { transform: rotate(180deg); }
  .nav-dropdown li a { padding: 6px 14px; font-size: 13px; }
}
