/* ============================================================
   THE INSIDER BRIEF — Light Premium Intelligence Dashboard
   Brand: Fatiha Chikh / Shift & Lead
   ============================================================ */

/* --- Reset & Global --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #F5F2EB;
  color: #1a1a1a;
  font-family: Georgia, serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: #6B35C2;
  color: #ffffff;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #ebe7df;
}

::-webkit-scrollbar-thumb {
  background: #6B35C2;
  border-radius: 3px;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #6B35C2 #ebe7df;
}


/* ============================================================
   HEADER (sticky)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 242, 235, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #ddd6c8;
  padding: 16px 24px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.header-logo {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-byline {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  color: #888888;
}

.header-subscribe {
  background: #6B35C2;
  color: #ffffff;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.header-subscribe:hover {
  background: #7B45D2;
  box-shadow: 0 0 20px rgba(107, 53, 194, 0.25);
}

/* Success state for form buttons */
.btn-success {
  background: #22C55E !important;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.3) !important;
}

.confirm-msg {
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  color: #16a34a;
  margin-top: 14px;
  text-align: center;
  line-height: 1.5;
}


/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 80px;
  background: linear-gradient(180deg, #F5F2EB 0%, #ede8df 100%);
}

/* --- Topic Bubbles (hero background) --- */
.topic-bubbles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.topic-bubble {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: var(--bubble-size, 100px);
  height: var(--bubble-size, 100px);
  border-radius: 50%;
  border: 1.5px solid rgba(107, 53, 194, 0.2);
  background: rgba(107, 53, 194, 0.04);
  color: rgba(90, 45, 160, 0.55);
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
  padding: 12px;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.4s ease;
  animation: bubbleFloat var(--float-duration, 20s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
  box-shadow: none;
}

.topic-bubble:hover {
  border-color: rgba(107, 53, 194, 0.45);
  background: rgba(107, 53, 194, 0.08);
  color: rgba(74, 31, 144, 0.8);
  transform: scale(1.06);
}

.topic-bubble.size-lg {
  --bubble-size: 130px;
  font-size: 0.82rem;
  font-weight: 800;
  border-color: rgba(107, 53, 194, 0.3);
  background: rgba(107, 53, 194, 0.05);
  color: rgba(74, 31, 144, 0.6);
}

.topic-bubble.size-sm {
  --bubble-size: 80px;
  font-size: 0.65rem;
  font-weight: 700;
  opacity: 0.45;
  border-color: rgba(107, 53, 194, 0.15);
}

@keyframes bubbleFloat {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(var(--drift-x, 15px), var(--drift-y, -20px)) rotate(1deg);
  }
  50% {
    transform: translate(var(--drift-x2, -10px), var(--drift-y2, 15px)) rotate(-1deg);
  }
  75% {
    transform: translate(var(--drift-x3, 20px), var(--drift-y3, -10px)) rotate(0.5deg);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(245, 242, 235, 0.9) 0%, rgba(245, 242, 235, 0.6) 60%, transparent 80%);
  padding: 40px 60px;
  border-radius: 20px;
}

.hero h1 {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 700px;
  color: #1a1a1a;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #666666;
  max-width: 500px;
  margin-top: 20px;
  line-height: 1.6;
  font-family: Georgia, serif;
}

.hero-form {
  margin-top: 40px;
  display: flex;
  gap: 8px;
  max-width: 440px;
  width: 100%;
}

.hero-form input[type="email"] {
  flex: 1;
  background: #ffffff;
  border: 1px solid #d0c9bc;
  border-radius: 10px;
  padding: 14px 18px;
  color: #1a1a1a;
  font-family: Georgia, serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.hero-form input[type="email"]:focus {
  border-color: #6B35C2;
}

.hero-form input[type="email"]::placeholder {
  color: #aaa49a;
}

.hero-form button {
  background: #6B35C2;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.hero-form button:hover {
  background: #7B45D2;
  box-shadow: 0 0 30px rgba(107, 53, 194, 0.2);
}

/* --- Frequency Toggle --- */
.frequency-toggle {
  display: flex;
  gap: 0;
  border: 1px solid #d0c9bc;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
  max-width: 280px;
}

.freq-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  color: #888888;
  cursor: pointer;
  transition: all 0.25s ease;
  background: transparent;
  border: none;
  text-align: center;
}

.freq-option input[type="radio"] {
  display: none;
}

.freq-option:first-child {
  border-right: 1px solid #d0c9bc;
}

.freq-option.freq-active {
  background: #6B35C2;
  color: #ffffff;
  font-weight: 600;
}

.freq-option:hover:not(.freq-active) {
  background: rgba(107, 53, 194, 0.06);
  color: #1a1a1a;
}

/* Center frequency toggles in hero and gate */
.hero-content .frequency-toggle,
.content-gate-inner .frequency-toggle {
  margin-left: auto;
  margin-right: auto;
}

.site-footer .frequency-toggle {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 12px;
}

/* Hero social proof line */
.hero-proof {
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  color: #aaa49a;
  margin-top: 16px;
  letter-spacing: 0.02em;
}



/* ============================================================
   CONTENT GATE (subscribe to unlock)
   ============================================================ */
.content-gate {
  position: relative;
  max-width: 1200px;
  margin: -60px auto 0;
  padding: 80px 24px 60px;
  text-align: center;
  background: linear-gradient(180deg, rgba(245, 242, 235, 0) 0%, #F5F2EB 30%);
}

.content-gate-inner {
  max-width: 480px;
  margin: 0 auto;
}

.content-gate-headline {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.4rem;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.content-gate-sub {
  font-family: Georgia, serif;
  font-size: 0.92rem;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.gate-accent {
  color: #6B35C2;
  font-weight: 700;
}

.content-gate-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
}

.content-gate-form input[type="email"] {
  flex: 1;
  background: #ffffff;
  border: 1px solid #d0c9bc;
  border-radius: 10px;
  padding: 14px 18px;
  color: #1a1a1a;
  font-family: Georgia, serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.content-gate-form input[type="email"]:focus {
  border-color: #6B35C2;
}

.content-gate-form input[type="email"]::placeholder {
  color: #aaa49a;
}

.content-gate-form button {
  background: #6B35C2;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 14px 24px;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.content-gate-form button:hover {
  background: #7B45D2;
  box-shadow: 0 0 30px rgba(107, 53, 194, 0.2);
}

/* Fade effect on last visible row */
.feed-card.gated-fade {
  opacity: 0.3;
  pointer-events: none;
  filter: blur(2px);
}


/* ============================================================
   CATEGORY BAR (sticky)
   ============================================================ */
.category-bar {
  position: sticky;
  top: 60px;
  z-index: 90;
  background: rgba(245, 242, 235, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #ddd6c8;
  padding: 14px 24px;
}

.category-bar-inner {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  display: flex;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
}

.category-bar-inner::-webkit-scrollbar {
  display: none;
}

.category-bar-inner {
  scrollbar-width: none;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 24px;
  border: 1px solid #d0c9bc;
  background: transparent;
  color: #888888;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.category-pill:hover {
  border-color: #6B35C2;
  color: #1a1a1a;
}

.category-pill.active {
  background: #6B35C2;
  border-color: #6B35C2;
  color: #ffffff;
}

.breaking-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6B35C2;
  animation: breakingPulse 2s ease-in-out infinite;
}


/* ============================================================
   FEED — TILE GRID LAYOUT
   ============================================================ */
.feed-section {
  padding: 0 24px;
}

.feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================================
   INTELLIGENCE CARDS — SQUARE TILES
   ============================================================ */
.feed-card {
  background: #ffffff;
  border: 1px solid #e2ddd4;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  cursor: default;
  animation: fadeInUp 0.5s ease-out backwards;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.feed-card:hover {
  transform: translateY(-4px);
  border-color: rgba(107, 53, 194, 0.35);
  box-shadow: 0 12px 40px rgba(107, 53, 194, 0.08);
}

/* Card Header */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.category-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-family: Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(107, 53, 194, 0.08);
  color: #6B35C2;
}

.card-timestamp {
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  color: #aaa49a;
}

/* Category-specific badge colors */
.feed-card[data-category="Marketing"] .category-badge {
  background: rgba(234, 88, 12, 0.08);
  color: #EA580C;
}
.feed-card[data-category="Health"] .category-badge {
  background: rgba(22, 163, 74, 0.08);
  color: #16A34A;
}
.feed-card[data-category="Finance"] .category-badge {
  background: rgba(37, 99, 235, 0.08);
  color: #2563EB;
}
.feed-card[data-category="Real Estate"] .category-badge {
  background: rgba(168, 85, 247, 0.08);
  color: #A855F7;
}
.feed-card[data-category="Education"] .category-badge {
  background: rgba(6, 182, 212, 0.08);
  color: #0891B2;
}
.feed-card[data-category="Media"] .category-badge {
  background: rgba(236, 72, 153, 0.08);
  color: #DB2777;
}

/* Card Headline */
.card-headline {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  color: #1a1a1a;
  margin-top: 14px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  flex-shrink: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Narrative */
.card-narrative {
  font-family: Georgia, serif;
  font-size: 0.85rem;
  color: #666666;
  line-height: 1.6;
  margin-top: 10px;
  flex: 1;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Verdict Bar */
.verdict-bar {
  margin-top: auto;
  padding: 10px 14px;
  border-radius: 10px;
  border-left: 3px solid;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.verdict-act {
  border-left-color: #16a34a;
  background: rgba(34, 197, 94, 0.06);
}

.verdict-watch {
  border-left-color: #6B35C2;
  background: rgba(107, 53, 194, 0.04);
}

.verdict-ignore {
  border-left-color: #c0b9ad;
  background: rgba(138, 138, 138, 0.04);
}

.verdict-label {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.verdict-act .verdict-label {
  color: #16a34a;
}

.verdict-watch .verdict-label {
  color: #6B35C2;
}

.verdict-ignore .verdict-label {
  color: #999999;
}

.verdict-text {
  color: #888888;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Footer */
.card-footer {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}

.share-btn {
  background: none;
  border: 1px solid #e2ddd4;
  border-radius: 8px;
  padding: 5px 12px;
  color: #aaa49a;
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.share-btn:hover {
  border-color: #6B35C2;
  color: #6B35C2;
}

.source-link {
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  color: #aaa49a;
  text-decoration: none;
  border: 1px solid #e2ddd4;
  border-radius: 8px;
  padding: 5px 12px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
}

.source-link:hover {
  border-color: #6B35C2;
  color: #6B35C2;
}

/* Breaking Card State */
.feed-card.breaking {
  border-color: rgba(107, 53, 194, 0.25);
  animation: fadeInUp 0.5s ease-out backwards, breakingGlow 3s ease-in-out infinite;
}


/* ============================================================
   DATE SEPARATORS — full width across grid
   ============================================================ */
.date-separator {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}

.date-separator::before,
.date-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #ddd6c8;
}

.date-separator span {
  font-family: Arial, sans-serif;
  font-size: 0.7rem;
  color: #aaa49a;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}


/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes breakingPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.5);
  }
}

@keyframes breakingGlow {
  0%, 100% {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }
  50% {
    box-shadow: 0 0 24px rgba(107, 53, 194, 0.1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}


/* ============================================================
   SHIMMER LOADING PLACEHOLDERS
   ============================================================ */
.shimmer-card {
  background: #ffffff;
  border: 1px solid #e2ddd4;
  border-radius: 16px;
  padding: 24px;
  aspect-ratio: 1 / 1;
}

.shimmer-line {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, #ebe7df 25%, #f0ece4 50%, #ebe7df 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  margin-bottom: 12px;
}

.shimmer-line.short {
  width: 40%;
}

.shimmer-line.medium {
  width: 70%;
}

.shimmer-line.long {
  width: 100%;
}


/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  color: #aaa49a;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1rem;
}

/* --- Topic Filter Indicator --- */
.topic-filter-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  max-width: 1200px;
  margin: 16px auto 8px;
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  color: #6B35C2;
  background: rgba(107, 53, 194, 0.05);
  border: 1px solid rgba(107, 53, 194, 0.15);
  border-radius: 10px;
}

.topic-filter-clear {
  background: none;
  border: none;
  color: #aaa49a;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s;
}

.topic-filter-clear:hover {
  color: #1a1a1a;
}


/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #6B35C2;
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 80;
  box-shadow: 0 4px 16px rgba(107, 53, 194, 0.2);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: #7B45D2;
  transform: scale(1.1);
}


/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #ffffff;
  border: 1px solid #e2ddd4;
  color: #1a1a1a;
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  padding: 12px 24px;
  border-radius: 10px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 200;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid #ddd6c8;
  padding: 60px 24px;
  text-align: center;
  background: #ede8df;
}

.footer-brand {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
}

.footer-socials a {
  color: #aaa49a;
  transition: color 0.25s ease;
  text-decoration: none;
}

.footer-socials a:hover {
  color: #6B35C2;
}

.footer-trust {
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  color: #b0a89c;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 28px;
}

.footer-form {
  max-width: 360px;
  margin: 24px auto;
  display: flex;
  gap: 8px;
}

.footer-form input[type="email"] {
  flex: 1;
  background: #ffffff;
  border: 1px solid #d0c9bc;
  border-radius: 10px;
  padding: 12px 16px;
  color: #1a1a1a;
  font-family: Georgia, serif;
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.footer-form input[type="email"]:focus {
  border-color: #6B35C2;
}

.footer-form input[type="email"]::placeholder {
  color: #aaa49a;
}

.footer-form button {
  background: #6B35C2;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.footer-form button:hover {
  background: #7B45D2;
  box-shadow: 0 0 20px rgba(107, 53, 194, 0.2);
}


/* ============================================================
   RESPONSIVE — Tablet (max-width: 900px)
   ============================================================ */
@media (max-width: 900px) {
  .feed {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .feed-card {
    padding: 14px;
    border-radius: 10px;
  }

  .card-headline {
    font-size: 0.82rem;
    margin-top: 8px;
  }

  .card-narrative {
    font-size: 0.72rem;
    margin-top: 6px;
    -webkit-line-clamp: 3;
  }

  .category-badge {
    font-size: 0.58rem;
    padding: 3px 8px;
  }

  .card-timestamp {
    font-size: 0.6rem;
  }

  .verdict-bar {
    padding: 6px 10px;
    font-size: 0.68rem;
  }

  .verdict-label {
    font-size: 0.58rem;
  }

  .verdict-text {
    font-size: 0.65rem;
    -webkit-line-clamp: 1;
  }

  .card-footer {
    margin-top: 6px;
  }

  .source-link,
  .share-btn {
    font-size: 0.62rem;
    padding: 3px 8px;
  }
}


/* ============================================================
   RESPONSIVE — Tablet small (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {
  .site-header {
    padding: 12px 16px;
  }

  .header-logo {
    font-size: 1rem;
  }

  .hero {
    min-height: 45vh;
    padding: 0 20px;
  }

  .hero-form {
    flex-direction: column;
  }

  .hero-form button {
    width: 100%;
  }

  .content-gate-form {
    flex-direction: column;
  }

  .content-gate-form button {
    width: 100%;
  }

  .category-bar {
    padding: 10px 16px;
  }

  .feed-section {
    padding: 0 16px;
  }

  .feed-card {
    padding: 20px;
    border-radius: 12px;
  }

  .card-headline {
    font-size: 1rem;
  }

  .site-footer {
    padding: 40px 20px;
  }

  .scroll-top {
    bottom: 20px;
    right: 20px;
  }

  .footer-form {
    flex-direction: column;
  }

  .footer-form button {
    width: 100%;
  }
}


/* ============================================================
   RESPONSIVE — Small Mobile (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {
  .feed {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .feed-card {
    aspect-ratio: auto;
    min-height: auto;
    padding: 10px;
    border-radius: 8px;
  }

  .card-headline {
    font-size: 0.7rem;
    margin-top: 6px;
    -webkit-line-clamp: 2;
  }

  .card-narrative {
    font-size: 0.62rem;
    margin-top: 4px;
    -webkit-line-clamp: 2;
  }

  .category-badge {
    font-size: 0.52rem;
    padding: 2px 6px;
  }

  .card-timestamp {
    font-size: 0.52rem;
  }

  .verdict-bar {
    padding: 5px 8px;
    border-radius: 6px;
  }

  .verdict-label {
    font-size: 0.5rem;
  }

  .verdict-text {
    font-size: 0.58rem;
    -webkit-line-clamp: 1;
  }

  .source-link,
  .share-btn {
    font-size: 0.55rem;
    padding: 2px 6px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }
}
