/* ==============================
   DESIGN TOKENS
   ============================== */
:root {
  color-scheme: light dark;
  --red: #ff2d38;
  --red-hover: #e6232d;
  --red-light: #fff0f0;
  --dark: #1a1a1a;
  --dark-card: #242424;
  --dark-border: #333;
  --white: #ffffff;
  --bg: #f5f5f5;
  --text-primary: #1a1a1a;
  --text-secondary: #4b5563;
  --text-muted: #64748b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 50px;
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
  /* category colours */
  --cat-trending: #ff2d38;
  --cat-quizzes: #8b5cf6;
  --cat-lists: #3b82f6;
  --cat-food: #f97316;
  --cat-shopping: #ec4899;
  --cat-entertainment: #22c55e;
  --cat-travel: #14b8a6;
  --cat-lifestyle: #f43f5e;

  /* Adaptive properties */
  --border-color: #eeeeee;
  --pill-border: #e5e7eb;
  --tip-bg: #f0fdf4;
  --tip-border: #bbf7d0;
  --tip-text: #15803d;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f0f;
    --white: #1a1a1a;
    --text-primary: #f3f4f6;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    
    --border-color: #2e2e2e;
    --pill-border: #333333;
    
    --tip-bg: #0d2818;
    --tip-border: #14532d;
    --tip-text: #4ade80;
    
    --red-light: #2d1315;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
  }

  .header-logo img,
  .mobile-nav-header .header-logo img {
    content: url("/Assets/VF Logo White.png");
  }
}

/* ==============================
   RESET & BASE
   ============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; }
ul, ol { list-style: none; }

/* ==============================
   HEADER / NAV
   ============================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  max-width: 1280px;
  margin: 0 auto;
}
.header-logo img {
  height: 36px;
  width: auto;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-search {
  background: none;
  padding: 8px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}
.btn-search svg { width: 20px; height: 20px; }
.btn-subscribe {
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  transition: background var(--transition), transform var(--transition);
}
.btn-subscribe:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}
.hamburger {
  background: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
/* Desktop nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 28px;
}
.desktop-nav a {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition);
  position: relative;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transition: width var(--transition);
}
.desktop-nav a:hover { color: var(--red); }
.desktop-nav a:hover::after { width: 100%; }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--white);
  flex-direction: column;
  padding: 20px;
  animation: slideIn 0.3s ease;
}
.mobile-nav.open { display: flex; }
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.mobile-nav-close {
  background: none;
  font-size: 28px;
  padding: 8px;
  line-height: 1;
}
.mobile-nav a {
  font-size: 22px;
  font-weight: 800;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
  display: block;
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--red); }
@keyframes slideIn {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

/* ==============================
   TRENDING PILLS (mobile)
   ============================== */
.trending-bar {
  padding: 16px;
  overflow-x: auto;
  display: flex;
  gap: 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.trending-bar::-webkit-scrollbar { display: none; }
.pill {
  flex-shrink: 0;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  border: 2px solid var(--pill-border);
  color: var(--text-primary);
  background: var(--white);
  transition: all var(--transition);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pill:hover, .pill.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ==============================
   MAIN LAYOUT
   ============================== */
.main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px 40px;
}

/* ==============================
   HERO CARD
   ============================== */
.hero-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  cursor: pointer;
}
.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-card:hover img { transform: scale(1.03); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0,0,0,0.85));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.hero-overlay .badge {
  align-self: flex-start;
  margin-bottom: 10px;
}
.hero-overlay h1 {
  color: var(--white);
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 10px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
}
.hero-meta span { display: flex; align-items: center; gap: 4px; }

/* ==============================
   BADGES
   ============================== */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--white);
}
.badge--trending { background: var(--cat-trending); }
.badge--quizzes { background: var(--cat-quizzes); }
.badge--lists { background: var(--cat-lists); }
.badge--food { background: var(--cat-food); }
.badge--shopping { background: var(--cat-shopping); }
.badge--entertainment { background: var(--cat-entertainment); }
.badge--travel { background: var(--cat-travel); }
.badge--lifestyle { background: var(--cat-lifestyle); }

/* ==============================
   ARTICLE CARDS
   ============================== */
.feed { display: flex; flex-direction: column; gap: 20px; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.card-body {
  padding: 16px;
}
.card-body .badge { margin-bottom: 8px; }
.card-title {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-title:hover { color: var(--red); }
.card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}
.card-meta span { display: flex; align-items: center; gap: 4px; }
.card-meta svg { width: 14px; height: 14px; }
.card-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ==============================
   QUIZ CTA BANNER
   ============================== */
.quiz-banner {
  background: linear-gradient(135deg, var(--cat-quizzes), #6d28d9);
  border-radius: var(--radius);
  padding: 28px 24px;
  color: var(--white);
  text-align: center;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.quiz-banner::before {
  content: '?';
  position: absolute;
  font-size: 200px;
  font-weight: 900;
  opacity: 0.08;
  top: -40px;
  right: -20px;
  line-height: 1;
}
.quiz-banner:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.quiz-banner-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  opacity: 0.9;
}
.quiz-banner h2 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.2;
}
.quiz-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--cat-quizzes);
  font-weight: 800;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  transition: transform var(--transition);
}
.quiz-banner-btn:hover { transform: scale(1.05); }
.quiz-banner-btn svg { width: 18px; height: 18px; }

/* ==============================
   MOST POPULAR SIDEBAR
   ============================== */
.popular-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 3px solid var(--red);
}
.popular-section h2 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.popular-list { display: flex; flex-direction: column; gap: 16px; }
.popular-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  padding: 8px 0;
  transition: opacity var(--transition);
}
.popular-item:hover { opacity: 0.7; }
.popular-rank {
  font-size: 28px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  min-width: 32px;
}
.popular-item-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.popular-item-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==============================
   NEWSLETTER
   ============================== */
.newsletter {
  background: var(--dark);
  padding: 48px 16px;
  text-align: center;
  margin-top: 48px;
}
.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
}
.newsletter-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.newsletter h2 {
  color: var(--white);
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1.2;
}
.newsletter p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.newsletter-form input {
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--dark-border);
  background: var(--dark-card);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { border-color: var(--red); }
.newsletter-form button {
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: var(--red);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  transition: background var(--transition), transform var(--transition);
}
.newsletter-form button:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

/* ==============================
   CATEGORY GRID
   ============================== */
.categories-section {
  background: var(--dark);
  padding: 0 16px 48px;
}
.categories-section h2 {
  color: var(--white);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
.cat-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}
.cat-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}
.cat-icon {
  font-size: 28px;
  margin-bottom: 8px;
}
.cat-name {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==============================
   FOOTER
   ============================== */
.footer {
  background: #111;
  color: var(--text-muted);
  padding: 40px 16px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}
.footer-logo img {
  height: 40px;
  width: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h3 {
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--red); }
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition);
  padding: 0;
}
.social-links a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.social-links svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}

/* ==============================
   ANIMATIONS (on scroll)
   ============================== */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   BACK TO TOP
   ============================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 50;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover { transform: translateY(-2px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ==============================
   COOKIE CONSENT BANNER
   ============================== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--dark);
  border-top: 2px solid var(--red);
  padding: 20px 16px;
  display: none;
  animation: slideUp 0.4s ease;
}
.cookie-consent.show { display: block; }
.cookie-consent-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.cookie-consent-text {
  color: var(--white);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}
.cookie-consent-text a {
  color: var(--red);
  text-decoration: underline;
}
.cookie-consent-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.cookie-consent-buttons button {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  transition: all var(--transition);
}
.cookie-btn-accept {
  background: var(--red);
  color: var(--white);
}
.cookie-btn-accept:hover { background: var(--red-hover); }
.cookie-btn-reject {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--text-muted) !important;
}
.cookie-btn-reject:hover { border-color: var(--white) !important; }
.cookie-btn-settings {
  background: transparent;
  color: var(--text-muted);
  text-decoration: underline;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* ==============================
   ARTICLE PAGE
   ============================== */
.article-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.article-breadcrumb a { color: var(--text-secondary); transition: color var(--transition); }
.article-breadcrumb a:hover { color: var(--red); }
.article-header {
  margin-bottom: 32px;
}
.article-header .badge {
  margin-bottom: 16px;
}
.article-header h1 {
  font-size: clamp(24px, 5vw, 40px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
}
.article-header .article-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
}
.article-author-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.article-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: var(--red);
  flex-shrink: 0;
}
.article-author-info {
  flex: 1;
}
.article-author-name {
  font-weight: 700;
  font-size: 14px;
}
.article-author-name a { color: var(--text-primary); }
.article-author-name a:hover { color: var(--red); }
.article-dates {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.article-share-buttons {
  display: flex;
  gap: 8px;
}
.article-share-buttons button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.article-share-buttons button:hover {
  background: var(--red);
  color: var(--white);
}
.article-share-buttons svg { width: 16px; height: 16px; }
.article-hero-img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 32px;
}
/* Article body prose */
.article-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-primary);
}
.article-body h2 {
  font-size: 24px;
  font-weight: 900;
  margin-top: 40px;
  margin-bottom: 16px;
  line-height: 1.25;
}
.article-body h3 {
  font-size: 20px;
  font-weight: 800;
  margin-top: 32px;
  margin-bottom: 12px;
  line-height: 1.3;
}
.article-body p {
  margin-bottom: 20px;
}
.article-body ul, .article-body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.article-body strong {
  font-weight: 700;
}
.article-body blockquote {
  border-left: 4px solid var(--red);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--red-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-secondary);
}
.article-body .list-item-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.article-body .list-item-card h3 {
  margin-top: 0;
  color: var(--red);
}
.article-body .tip-box {
  background: var(--tip-bg);
  border: 1px solid var(--tip-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
}
.article-body .tip-box strong {
  color: var(--tip-text);
}
/* Article bottom author bio */
.article-author-bio {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 48px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.article-author-bio-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
  color: var(--red);
  flex-shrink: 0;
}
.article-author-bio h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}
.article-author-bio h3 a:hover { color: var(--red); }
.article-author-bio p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
/* Related posts */
.related-posts {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 3px solid var(--red);
}
.related-posts h2 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* ==============================
   CONTENT PAGES (About, Contact, Legal)
   ============================== */
.content-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 16px 60px;
}
.content-page h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1.15;
}
.content-page .page-updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.content-page h2 {
  font-size: 22px;
  font-weight: 800;
  margin-top: 36px;
  margin-bottom: 12px;
  line-height: 1.3;
}
.content-page h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
}
.content-page p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.content-page ul, .content-page ol {
  margin-bottom: 16px;
  padding-left: 24px;
}
.content-page ul { list-style: disc; }
.content-page ol { list-style: decimal; }
.content-page li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.content-page strong { font-weight: 700; }
.content-page a {
  color: var(--red);
  text-decoration: underline;
}
.content-page a:hover { color: var(--red-hover); }
/* Contact form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
}
.form-group textarea {
  resize: vertical;
  min-height: 140px;
}
.form-submit {
  background: var(--red);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  width: 100%;
}
.form-submit:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

/* Author profile page */
.author-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 16px 60px;
}
.author-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #eee;
}
.author-avatar-lg {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 36px;
  color: var(--red);
  margin-bottom: 16px;
}
.author-hero h1 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 4px;
}
.author-hero .author-title {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.author-hero .author-bio-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  max-width: 600px;
}
.author-articles h2 {
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.author-articles .feed { gap: 16px; }

/* 404 page */
.error-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 80px 16px;
  text-align: center;
}
.error-page .error-code {
  font-size: 120px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 16px;
}
.error-page h1 {
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 12px;
}
.error-page p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}
.error-page .error-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.error-page .error-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 15px;
  transition: all var(--transition);
}
.error-btn-primary {
  background: var(--red);
  color: var(--white);
}
.error-btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}
.error-btn-secondary {
  background: var(--white);
  color: var(--text-primary);
  border: 2px solid var(--pill-border);
}
.error-btn-secondary:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ==============================
   RESPONSIVE: TABLET 768px+
   ============================== */
@media (min-width: 768px) {
  .header-inner { padding: 14px 24px; }
  .header-logo img { height: 42px; }
  .main { padding: 0 24px 48px; }
  .hero-card img { aspect-ratio: 21 / 9; }
  .hero-overlay { padding: 32px; }
  .feed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .quiz-banner { grid-column: 1 / -1; }
  .newsletter { padding: 64px 24px; }
  .newsletter-form { flex-direction: row; }
  .newsletter-form input { flex: 1; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .cookie-consent-inner { flex-direction: row; text-align: left; }
  .cookie-consent-text { text-align: left; }
  .article-author-bio { flex-direction: row; }
  .content-page { padding: 48px 24px 72px; }
  .article-page { padding: 32px 24px 60px; }
}

/* ==============================
   RESPONSIVE: DESKTOP 1024px+
   ============================== */
@media (min-width: 1024px) {
  .hamburger { display: none; }
  .desktop-nav { display: flex; }
  .trending-bar { display: none; }
  .header-inner { padding: 16px 32px; }
  .header-logo img { height: 46px; }
  .main {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    padding: 24px 32px 60px;
  }
  .main-content { min-width: 0; }
  .feed { grid-template-columns: repeat(2, 1fr); }
  .sidebar { display: block; }
  .hero-overlay { padding: 40px; }
  .newsletter { padding: 72px 32px; }
}
@media (min-width: 1280px) {
  .feed { grid-template-columns: repeat(3, 1fr); }
}

/* Sidebar hidden on mobile */
.sidebar { display: none; }

/* Single-column layouts ignore grid on all screens */
.main--single {
  display: block;
  max-width: 1280px;
}
