/* ── Reaction Engine Frontend CSS ───────────────────────────────────────────── */

/* ── Design Tokens ────────────────────────────────────────────────────────────
   Palette:
   --re-ink      #0B0E1A  Base background (deep navy)
   --re-surface  #13172A  Card / panel surface
   --re-surface2 #1C2038  Elevated surface
   --re-border   #252A42  Subtle borders
   --re-amber    #FFAB00  Primary accent — "breaking / caution" energy
   --re-amber-d  #E09600  Amber hover / pressed
   --re-text     #F0EDE6  Off-white body text (newsprint warmth)
   --re-muted    #7B829A  Secondary text
   --re-x        #E7E9EA  X/Twitter brand
   --re-reddit   #FF4500  Reddit orange
   --re-tiktok   #FE2C55  TikTok pink-red
   --re-ig       #E1306C  Instagram
   --re-yt       #FF0000  YouTube
────────────────────────────────────────────────────────────────────────────── */

:root {
  --re-ink:      #0B0E1A;
  --re-surface:  #13172A;
  --re-surface2: #1C2038;
  --re-border:   #252A42;
  --re-amber:    #FFAB00;
  --re-amber-d:  #E09600;
  --re-text:     #F0EDE6;
  --re-muted:    #7B829A;
  --re-radius:   10px;
  --re-radius-lg:16px;

  /* Platform colours */
  --re-x:       #E7E9EA;
  --re-reddit:  #FF4500;
  --re-tiktok:  #FE2C55;
  --re-ig:      #E1306C;
  --re-yt:      #FF0000;

  /* Typography */
  --re-font-display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --re-font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.re-site {
  background: var(--re-ink);
  color: var(--re-text);
  font-family: var(--re-font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ── HEADER ─────────────────────────────────────────────────────────────────── */
.re-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(11, 14, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--re-border);
}
.re-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.re-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.re-logo-text {
  font-family: var(--re-font-display);
  font-size: 26px;
  letter-spacing: 1px;
  color: var(--re-text);
  line-height: 1;
}
.re-logo-badge {
  background: var(--re-amber);
  color: var(--re-ink);
  font-family: var(--re-font-body);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 2px 6px;
  border-radius: 3px;
  line-height: 1.4;
  animation: re-pulse 2s ease-in-out infinite;
}
@keyframes re-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.55; }
}

.re-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.re-nav::-webkit-scrollbar { display: none; }

.re-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--re-muted);
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.re-nav-link:hover   { color: var(--re-text); background: var(--re-surface2); }
.re-nav-link svg     { flex-shrink: 0; }
.re-nav-active       { color: var(--re-amber) !important; background: rgba(255,171,0,.1) !important; }

.re-back-link {
  margin-left: auto;
  font-size: 13px;
  font-weight: 500;
  color: var(--re-muted);
  transition: color 0.15s;
  white-space: nowrap;
}
.re-back-link:hover { color: var(--re-text); }

/* ── TICKER ─────────────────────────────────────────────────────────────────── */
.re-ticker {
  background: var(--re-amber);
  color: var(--re-ink);
  display: flex;
  align-items: center;
  height: 36px;
  overflow: hidden;
}
.re-ticker-label {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 0 16px;
  border-right: 2px solid rgba(0,0,0,.2);
  height: 100%;
  display: flex;
  align-items: center;
  background: rgba(0,0,0,.1);
  white-space: nowrap;
}
.re-ticker-track {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
}
.re-ticker-inner {
  display: flex;
  align-items: center;
  gap: 0;
  animation: re-ticker-scroll 40s linear infinite;
  width: max-content;
}
.re-ticker-inner:hover { animation-play-state: paused; }
@keyframes re-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.re-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--re-ink);
  padding: 0 4px;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.re-ticker-item:hover { opacity: 0.7; }
.re-ticker-sep { color: rgba(0,0,0,.35); font-size: 8px; margin: 0 8px; }

/* ── MAIN LAYOUT ─────────────────────────────────────────────────────────────── */
.re-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ── FEED HEADER (taxonomy archive title) ────────────────────────────────────── */
.re-feed-header { margin-bottom: 32px; }
.re-feed-eyebrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--re-amber);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.re-feed-title {
  font-family: var(--re-font-display);
  font-size: 48px;
  letter-spacing: 1px;
  line-height: 1;
  color: var(--re-text);
}

/* ── CARD GRID ───────────────────────────────────────────────────────────────── */
.re-grid {
  columns: 4 280px;
  column-gap: 20px;
}

/* ── CARD ────────────────────────────────────────────────────────────────────── */
.re-card {
  break-inside: avoid;
  display: block;
  background: var(--re-surface);
  border: 1px solid var(--re-border);
  border-radius: var(--re-radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}
.re-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 0 1px var(--re-amber);
  border-color: var(--re-amber);
}
.re-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Card thumbnail */
.re-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: var(--re-surface2);
}
.re-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.re-card:hover .re-card-thumb img { transform: scale(1.04); }
.re-card-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/9;
}
.re-card-plat-icon { font-size: 40px; opacity: 0.12; }

/* Platform badge on thumb */
.re-card-platform-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

/* Card body */
.re-card-body { padding: 16px; }
.re-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 12px;
  color: var(--re-muted);
  margin-bottom: 8px;
}
.re-card-meta-sep { opacity: 0.4; }
.re-card-author { font-weight: 600; color: var(--re-amber); }
.re-card-reactions { font-weight: 600; }

.re-card-title {
  font-family: var(--re-font-display);
  font-size: 22px;
  letter-spacing: 0.5px;
  line-height: 1.15;
  color: var(--re-text);
  margin-bottom: 10px;
}
.re-card-title a {
  position: relative;
  z-index: 2;
  transition: color 0.15s;
}
.re-card-title a:hover { color: var(--re-amber); }

/* Spicy comment preview */
.re-card-preview-comment {
  background: var(--re-surface2);
  border-left: 3px solid var(--re-amber);
  border-radius: 0 6px 6px 0;
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.5;
}
.re-preview-quote { font-style: italic; color: var(--re-text); }
.re-preview-author { display: block; font-size: 11px; color: var(--re-muted); margin-top: 3px; font-weight: 600; }

.re-card-excerpt { font-size: 13px; color: var(--re-muted); line-height: 1.5; margin-bottom: 12px; }

.re-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
.re-card-cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--re-amber);
  position: relative;
  z-index: 2;
  transition: gap 0.15s;
}
.re-card-cta:hover { text-decoration: underline; }
.re-card-spicy-badge {
  font-size: 11px;
  background: rgba(255,77,79,.12);
  color: #ff6b6b;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
}

/* ── Platform colour overrides ───────────────────────────────────────────────── */
.re-plat-x         { color: var(--re-x);      background: rgba(231,233,234,.12); }
.re-plat-reddit    { color: var(--re-reddit);  background: rgba(255,69,0,.15);   }
.re-plat-tiktok    { color: var(--re-tiktok);  background: rgba(254,44,85,.15);  }
.re-plat-instagram { color: var(--re-ig);      background: rgba(225,48,108,.15); }
.re-plat-youtube   { color: var(--re-yt);      background: rgba(255,0,0,.15);    }

.re-plat-bg-x         { background: rgba(231,233,234,.06); }
.re-plat-bg-reddit    { background: rgba(255,69,0,.07);    }
.re-plat-bg-tiktok    { background: rgba(254,44,85,.07);   }
.re-plat-bg-instagram { background: rgba(225,48,108,.07);  }
.re-plat-bg-youtube   { background: rgba(255,0,0,.07);     }

/* ── PAGINATION ──────────────────────────────────────────────────────────────── */
.re-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
}
.re-page-btn {
  padding: 10px 22px;
  background: var(--re-surface);
  border: 1px solid var(--re-border);
  border-radius: var(--re-radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--re-text);
  transition: border-color 0.15s, background 0.15s;
}
.re-page-btn:hover { border-color: var(--re-amber); background: var(--re-surface2); }
.re-page-info { font-size: 13px; color: var(--re-muted); }

/* ── EMPTY STATE ─────────────────────────────────────────────────────────────── */
.re-empty-state { text-align: center; padding: 80px 20px; }
.re-empty-icon  { font-size: 48px; margin-bottom: 16px; }
.re-empty-state h2 { font-family: var(--re-font-display); font-size: 32px; margin-bottom: 8px; }
.re-empty-state p  { color: var(--re-muted); font-size: 15px; }

/* ── ARTICLE PAGE LAYOUT ─────────────────────────────────────────────────────── */
.re-article-page .re-main { padding: 0; max-width: none; }

.re-article-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 1fr 320px;
  grid-template-rows: auto;
  gap: 0 48px;
  align-items: start;
}

.re-article-wrap {
  grid-column: 1;
  padding-top: 40px;
  min-width: 0;
}

/* ── ARTICLE HEADER ──────────────────────────────────────────────────────────── */
.re-article-meta-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.re-article-platform {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 4px 10px;
  border-radius: 999px;
}
.re-article-by { font-size: 13px; color: var(--re-muted); }
.re-article-by strong { color: var(--re-amber); font-weight: 600; }
.re-article-time { font-size: 13px; color: var(--re-muted); }
.re-article-reaction-pill {
  margin-left: auto;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255,171,0,.1);
  color: var(--re-amber);
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,171,0,.25);
}

.re-article-title {
  font-family: var(--re-font-display);
  font-size: clamp(32px, 5vw, 58px);
  letter-spacing: 0.5px;
  line-height: 1.05;
  color: var(--re-text);
  margin-bottom: 32px;
}

/* ── SECTION EYEBROW ─────────────────────────────────────────────────────────── */
.re-section-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--re-amber);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.re-section-eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--re-border);
}

/* ── FACT BOX ────────────────────────────────────────────────────────────────── */
.re-fact-box {
  border-left: 4px solid var(--re-amber);
  background: var(--re-surface);
  border-radius: 0 var(--re-radius) var(--re-radius) 0;
  padding: 20px 24px;
  margin-bottom: 40px;
  position: relative;
}
.re-fact-box-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--re-amber);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.re-fact-box-icon { font-size: 14px; }
.re-fact-box-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--re-text);
  margin-bottom: 14px;
}
.re-fact-source {
  font-size: 12px;
  color: var(--re-muted);
  font-weight: 600;
  transition: color 0.15s;
}
.re-fact-source:hover { color: var(--re-amber); }

/* ── TRIGGER SECTION ─────────────────────────────────────────────────────────── */
.re-trigger-section { margin-bottom: 48px; }

.re-embed-wrap {
  background: var(--re-surface);
  border: 1px solid var(--re-border);
  border-radius: var(--re-radius-lg);
  overflow: hidden;
  padding: 16px;
}
/* Let embedded iframes / tweets be responsive */
.re-embed-wrap iframe,
.re-embed-wrap blockquote { max-width: 100% !important; }

.re-screenshot-wrap { margin: 0; }
.re-screenshot-img {
  width: 100%;
  max-width: 600px;
  border-radius: var(--re-radius-lg);
  border: 1px solid var(--re-border);
}
.re-screenshot-caption {
  font-size: 12px;
  color: var(--re-muted);
  margin-top: 8px;
}
.re-screenshot-caption a { color: var(--re-amber); }

/* ── WAR ZONE ────────────────────────────────────────────────────────────────── */
.re-warzone { margin-bottom: 48px; }
.re-warzone-title {
  font-family: var(--re-font-display);
  font-size: 28px;
  letter-spacing: 0.5px;
  color: var(--re-text);
  margin-bottom: 24px;
}

.re-comment-feed { display: flex; flex-direction: column; gap: 12px; }

.re-comment-card {
  background: var(--re-surface);
  border: 1px solid var(--re-border);
  border-radius: var(--re-radius-lg);
  overflow: hidden;
  /* Scroll-triggered fade-in */
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease var(--re-anim-delay, 0s),
              transform 0.4s ease var(--re-anim-delay, 0s),
              border-color 0.2s;
}
.re-comment-card.re-visible {
  opacity: 1;
  transform: translateY(0);
}
.re-comment-card:hover { border-color: var(--re-border); }

/* Featured card (every 4th) — slightly larger, amber left border */
.re-comment-card-featured {
  border-left: 3px solid var(--re-amber);
}
.re-comment-card-featured .re-comment-card-inner { background: rgba(255,171,0,.03); }

.re-comment-card-inner { padding: 16px 20px; }

.re-comment-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.re-comment-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--re-surface2);
  border: 1px solid var(--re-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--re-amber);
  flex-shrink: 0;
  font-family: var(--re-font-body);
}
.re-comment-identity { flex: 1; min-width: 0; }
.re-comment-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--re-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.re-comment-plat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  margin-top: 2px;
}

.re-comment-likes {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
}
.re-likes-icon { font-size: 13px; }
.re-likes-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--re-muted);
}

.re-comment-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--re-text);
  border: none;
  padding: 0;
  margin: 0;
  font-style: normal;
  quotes: none;
}

.re-warzone-disclaimer {
  font-size: 11px;
  color: var(--re-muted);
  margin-top: 20px;
  line-height: 1.6;
}
.re-warzone-disclaimer a { color: var(--re-amber); }

/* ── FAQ ─────────────────────────────────────────────────────────────────────── */
.re-faq-section { margin-bottom: 48px; }
.re-faq-list { display: flex; flex-direction: column; gap: 2px; }

.re-faq-item {
  background: var(--re-surface);
  border: 1px solid var(--re-border);
  border-radius: var(--re-radius);
  overflow: hidden;
  transition: border-color 0.15s;
}
.re-faq-item[open] { border-color: var(--re-amber); }
.re-faq-item + .re-faq-item { border-top-left-radius: var(--re-radius); border-top-right-radius: var(--re-radius); }

.re-faq-question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--re-text);
  cursor: pointer;
  user-select: none;
  transition: color 0.15s;
}
.re-faq-question:hover { color: var(--re-amber); }
.re-faq-question::-webkit-details-marker { display: none; }
.re-faq-chevron {
  font-size: 20px;
  font-weight: 300;
  color: var(--re-amber);
  flex-shrink: 0;
  transition: transform 0.25s;
}
.re-faq-item[open] .re-faq-chevron { transform: rotate(45deg); }

.re-faq-answer {
  padding: 0 20px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--re-muted);
}

/* ── SHARE BAR ───────────────────────────────────────────────────────────────── */
.re-share-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--re-border);
  border-bottom: 1px solid var(--re-border);
  margin-bottom: 48px;
}
.re-share-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--re-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.re-share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.re-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--re-border);
  background: var(--re-surface);
  color: var(--re-text);
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.re-share-btn:hover {
  background: var(--re-surface2);
  transform: translateY(-1px);
}
.re-share-btn svg { flex-shrink: 0; }
.re-share-x:hover      { border-color: var(--re-x);      color: var(--re-x); }
.re-share-reddit:hover { border-color: var(--re-reddit); color: var(--re-reddit); }
.re-share-copy:hover   { border-color: var(--re-amber);  color: var(--re-amber); }
.re-share-copy.re-copied { border-color: #22c55e !important; color: #22c55e !important; }

/* ── RELATED ARTICLES SIDEBAR ────────────────────────────────────────────────── */
.re-related {
  grid-column: 2;
  padding-top: 40px;
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--re-border) transparent;
}
.re-related::-webkit-scrollbar { width: 4px; }
.re-related::-webkit-scrollbar-thumb { background: var(--re-border); border-radius: 2px; }

.re-related-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--re-border);
  transition: opacity 0.15s;
}
.re-related-card:first-of-type { padding-top: 0; }
.re-related-card:last-child { border-bottom: none; }
.re-related-card:hover { opacity: 0.75; }

.re-related-thumb {
  width: 72px;
  height: 50px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--re-surface2);
}
.re-related-thumb-placeholder {
  width: 72px;
  height: 50px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0.5;
}
.re-related-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.re-related-author { font-size: 11px; font-weight: 700; color: var(--re-amber); }
.re-related-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--re-text);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.re-related-time { font-size: 11px; color: var(--re-muted); }

/* ── FOOTER ──────────────────────────────────────────────────────────────────── */
.re-footer {
  border-top: 1px solid var(--re-border);
  background: var(--re-surface);
  padding: 28px 24px;
  grid-column: 1 / -1;
}
.re-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.re-footer-name {
  font-family: var(--re-font-display);
  font-size: 20px;
  letter-spacing: 1px;
  color: var(--re-text);
}
.re-footer-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
}
.re-footer-links a {
  font-size: 13px;
  color: var(--re-muted);
  transition: color 0.15s;
}
.re-footer-links a:hover { color: var(--re-amber); }
.re-footer-copy {
  font-size: 12px;
  color: var(--re-muted);
  width: 100%;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .re-article-main {
    grid-template-columns: 1fr;
  }
  .re-related {
    grid-column: 1;
    position: static;
    max-height: none;
    border-top: 1px solid var(--re-border);
    padding-top: 32px;
  }
  .re-grid { columns: 2 240px; }
}

@media (max-width: 600px) {
  .re-header-inner { padding: 0 16px; gap: 12px; }
  .re-logo-text { font-size: 22px; }
  .re-nav { display: none; }
  .re-main { padding: 24px 16px 60px; }
  .re-article-main { padding: 0 16px 60px; }
  .re-article-wrap { padding-top: 24px; }
  .re-article-title { font-size: 30px; }
  .re-grid { columns: 1; }
  .re-feed-title { font-size: 32px; }
  .re-share-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .re-footer-inner { flex-direction: column; align-items: flex-start; }
  .re-footer-links { margin-left: 0; }
  .re-ticker-label { padding: 0 10px; }
}

/* ── Reduced motion ──────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .re-ticker-inner { animation: none; }
  .re-logo-badge   { animation: none; }
  .re-comment-card { opacity: 1; transform: none; transition: none; }
  .re-card         { transition: none; }
}
