/* ============================================================
   DAILY STATS FOOTBALL — Main Stylesheet
   ============================================================ */

/* 1. Custom Properties */
:root {
  --green: #006e2f;
  --green-light: #e8f5ee;
  --green-dark: #005525;
  --surface: #f7f9ff;
  --card-bg: #eff4fd;
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 1rem;
  --radius-sm: 0.5rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --container: 1200px;
}

/* 2. Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--slate-700);
  line-height: 1.6;
  font-size: 1rem;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* 3. Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p { color: var(--slate-600); }

/* 4. Layout */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* 5. Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}
.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.logo span { color: var(--green); }
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.main-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-500);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--green);
  background: var(--green-light);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: 0.2s;
}
@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    gap: 0.25rem;
  }
  .nav-open .main-nav { display: flex; }
  .main-nav a { width: 100%; }
}

/* 6. Hero / Page Banner */
.page-hero {
  background: var(--card-bg);
  border-bottom: 1px solid var(--slate-200);
  padding: 3rem 0;
}
@media (min-width: 768px) { .page-hero { padding: 4rem 0; } }
.page-hero .badge {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
}
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p { font-size: 1.1rem; color: var(--slate-500); max-width: 600px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--slate-400);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.breadcrumb a { transition: color 0.15s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .sep { color: var(--slate-300); }
.breadcrumb .current { color: var(--slate-700); font-weight: 600; }

/* 7. Filter Bar */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--slate-200);
  margin-bottom: 2rem;
}
.filter-btn {
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--slate-200);
  background: var(--white);
  color: var(--slate-600);
  transition: all 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.filter-btn:hover { border-color: var(--green); color: var(--green); }
.filter-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.filter-empty {
  display: none;
  text-align: center;
  padding: 3rem;
  color: var(--slate-400);
  font-size: 1rem;
}

/* 8. Article Cards */
.article-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--card-bg);
}
.card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.card-category {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  font-family: var(--font-heading);
  margin-bottom: 0.6rem;
}
.card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--slate-900);
  line-height: 1.35;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.card-excerpt {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--slate-400);
  font-weight: 500;
  margin-top: auto;
}
.card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--slate-300); }

/* Lead / Featured card */
.lead-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: grid;
  gap: 0;
  transition: box-shadow 0.2s;
}
.lead-card:hover { box-shadow: var(--shadow); }
@media (min-width: 768px) { .lead-card { grid-template-columns: 1fr 1fr; } }
.lead-card-img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}
.lead-card-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.lead-card-body .card-category { font-size: 0.75rem; }
.lead-card-body .card-title { font-size: 1.5rem; margin-bottom: 0.75rem; }
.lead-card-body .card-excerpt { font-size: 0.95rem; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green);
  font-weight: 700;
  font-size: 0.875rem;
  font-family: var(--font-heading);
  margin-top: 1.25rem;
  transition: gap 0.15s;
}
.read-more:hover { gap: 0.6rem; }

/* 9. Article Grid */
.articles-section { padding: 2rem 0 4rem; }
.articles-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .articles-grid { grid-template-columns: repeat(3, 1fr); } }

/* 10. Stats Strip */
.stats-strip {
  background: var(--green);
  color: var(--white);
  padding: 2rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  text-align: center;
}
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item .value {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat-item .label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
}

/* 11. Homepage Hero */
.home-hero {
  background: var(--card-bg);
  border-bottom: 1px solid var(--slate-200);
  padding: 4rem 0 3rem;
}
.home-hero-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) { .home-hero-inner { grid-template-columns: 1fr 420px; gap: 4rem; } }
.home-hero-text .eyebrow {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
}
.home-hero-text h1 { margin-bottom: 1rem; }
.home-hero-text p { font-size: 1.1rem; margin-bottom: 1.5rem; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}
.hero-cta:hover { background: var(--green-dark); }
.home-hero-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.home-hero-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.home-hero-card-body { padding: 1.25rem; }

/* 12. Single Article */
.single-layout {
  display: grid;
  gap: 2rem;
  padding: 2rem 0 4rem;
  align-items: start;
}
@media (min-width: 1024px) { .single-layout { grid-template-columns: 1fr 320px; } }
.article-content {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.article-hero-img {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
}
.article-body { padding: 2rem; }
@media (min-width: 768px) { .article-body { padding: 2.5rem; } }
.article-header { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--slate-100); }
.article-header .cat-badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}
.article-header h1 { margin-bottom: 0.75rem; font-size: clamp(1.5rem, 4vw, 2.25rem); }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--slate-400);
  font-weight: 500;
}
.article-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--slate-300); }
.article-prose { line-height: 1.8; color: var(--slate-600); }
.article-prose h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
  color: var(--slate-900);
  letter-spacing: -0.02em;
}
.article-prose h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; color: var(--slate-900); }
.article-prose p { margin-bottom: 1.25rem; }
.article-prose ul, .article-prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.article-prose ul { list-style: disc; }
.article-prose ol { list-style: decimal; }
.article-prose li { margin-bottom: 0.4rem; }
.article-prose strong { color: var(--slate-800); font-weight: 600; }
.article-prose a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.article-prose a:hover { color: var(--green-dark); }
.article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  overflow-x: auto;
  display: block;
}
.article-prose th {
  background: var(--card-bg);
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: left;
  padding: 0.6rem 0.9rem;
  border-bottom: 2px solid var(--slate-200);
  color: var(--slate-900);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.article-prose td { padding: 0.6rem 0.9rem; border-bottom: 1px solid var(--slate-100); }
.article-prose tr:hover td { background: var(--slate-50); }
.article-prose blockquote {
  border-left: 3px solid var(--green);
  padding: 0.75rem 1.25rem;
  background: var(--green-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--slate-700);
}
.article-prose code {
  background: var(--slate-100);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.875em;
}

/* FAQ */
.faq-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-100);
}
.faq-section h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.faq-item { margin-bottom: 0.75rem; }
.faq-q {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--slate-900);
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}
.faq-a { font-size: 0.9rem; color: var(--slate-600); }

/* 13. Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}
.sidebar-widget h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-400);
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}
.related-list { display: flex; flex-direction: column; gap: 0.75rem; }
.related-item a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--slate-900);
  line-height: 1.35;
  transition: color 0.15s;
}
.related-item a:hover { color: var(--green); }
.related-item .meta { font-size: 0.75rem; color: var(--slate-400); margin-top: 0.2rem; }

/* 14. Page (Static) Content */
.page-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}
.page-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  padding: 2rem 2.5rem;
  margin-bottom: 1.5rem;
}
.page-card h2 { font-size: 1.35rem; margin-bottom: 1rem; }
.page-card p { margin-bottom: 0.75rem; }
.page-card ul { padding-left: 1.5rem; list-style: disc; }
.page-card li { margin-bottom: 0.4rem; color: var(--slate-600); }
.page-card a { color: var(--green); font-weight: 600; }
.page-card a:hover { text-decoration: underline; }
.contact-highlight {
  background: var(--card-bg);
}

/* 15. Footer */
.site-footer {
  background: var(--card-bg);
  color: var(--slate-600);
  padding: 3rem 0 0;
  border-top: 1px solid var(--slate-200);
}
.footer-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding-bottom: 2.5rem;
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr 1fr; gap: 3rem; } }
@media (min-width: 1024px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }
.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--slate-900);
  display: inline-block;
  margin-bottom: 0.75rem;
}
.footer-logo span { color: var(--green); }
.footer-brand p { font-size: 0.875rem; line-height: 1.6; max-width: 340px; color: var(--slate-500); }
.footer-links { display: contents; }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-900);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col li a {
  font-size: 0.875rem;
  color: var(--slate-500);
  transition: color 0.15s;
}
.footer-col li a:hover { color: var(--green); }
.footer-disclaimer {
  grid-column: 1 / -1;
  font-size: 0.8rem;
  color: var(--slate-400);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
}
.footer-disclaimer a { color: var(--slate-500); text-decoration: underline; }
.footer-disclaimer a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--slate-200);
  padding: 1.25rem 0;
}
.footer-bottom p { font-size: 0.78rem; color: var(--slate-400); text-align: center; }

/* 16. Responsive tweaks */
@media (max-width: 639px) {
  .lead-card-body { padding: 1.25rem; }
  .lead-card-body .card-title { font-size: 1.15rem; }
  .article-body { padding: 1.25rem; }
}

/* ============================================================
   WORLD CUP HUB — Homepage Sections
   ============================================================ */

/* Hub Hero */
.hub-hero {
  position: relative;
  height: 520px;
  overflow: hidden;
}
.hub-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hub-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}
.hub-hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 3.5rem;
}
.hub-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--green);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
}
.hub-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 2rem;
}
.hub-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: background 0.15s, transform 0.15s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); color: var(--white); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: background 0.15s;
  text-decoration: none;
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); color: var(--white); }

/* Hub sections spacing */
.hub-section { padding: 3.5rem 0; }
@media (min-width: 768px) { .hub-section { padding: 4.5rem 0; } }

/* Featured Story */
.featured-story {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  text-decoration: none;
}
@media (min-width: 900px) { .featured-story { grid-template-columns: 7fr 5fr; gap: 4rem; } }
.featured-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.featured-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.featured-story:hover .featured-img { transform: scale(1.03); }
.featured-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.cat-pill {
  background: var(--green-light);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-family: var(--font-heading);
}
.featured-read { font-size: 0.75rem; color: var(--slate-400); font-weight: 500; text-transform: uppercase; }
.featured-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.featured-excerpt { font-size: 1.05rem; color: var(--slate-500); line-height: 1.7; margin-bottom: 0.5rem; }

/* Pulse of the Game */
.pulse-section {
  background: var(--card-bg);
  border-radius: 2.5rem;
  padding: 3.5rem 0;
  margin: 0 1rem;
}
@media (min-width: 768px) { .pulse-section { margin: 0 2rem; padding: 4rem 0; } }
.pulse-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.pulse-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.4rem;
}
.view-all {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  white-space: nowrap;
  transition: color 0.15s;
}
.view-all:hover { color: var(--green); }
.pulse-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .pulse-grid { grid-template-columns: repeat(3, 1fr); } }
.pulse-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
}
.pulse-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pulse-card-img-wrap { position: relative; overflow: hidden; }
.pulse-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.5s;
}
.pulse-card:hover .pulse-card-img { transform: scale(1.05); }
.pulse-cat-overlay {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-family: var(--font-heading);
}
.pulse-card-body { padding: 1.5rem 2rem; flex: 1; display: flex; flex-direction: column; }
.pulse-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--slate-900);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  transition: color 0.15s;
}
.pulse-card:hover .pulse-card-title { color: var(--green); }
.pulse-card-excerpt { font-size: 0.875rem; color: var(--slate-500); line-height: 1.6; flex: 1; margin-bottom: 1.5rem; }
.pulse-card-meta {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--slate-100);
  padding-top: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--slate-400);
  letter-spacing: 0.04em;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .bento-grid { grid-template-columns: 1fr 1fr; min-height: 680px; } }
.bento-dark {
  background: var(--slate-900);
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  text-decoration: none;
}
.bento-dark-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  transition: transform 0.8s;
}
.bento-dark:hover .bento-dark-img { transform: scale(1.08); }
.bento-dark-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #030d08 0%, transparent 60%);
}
.bento-dark-body {
  position: relative;
  z-index: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.bento-eyebrow {
  color: #4ade80;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-family: var(--font-heading);
}
.bento-dark-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.bento-dark-text { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.65; max-width: 420px; }
.bento-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.bento-card {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 1.75rem 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
  text-decoration: none;
  flex: 1;
}
.bento-card:hover { box-shadow: var(--shadow); }
.bento-card-img {
  width: 110px;
  height: 110px;
  border-radius: 0.75rem;
  object-fit: cover;
  flex-shrink: 0;
}
.bento-card-body { flex: 1; }
.bento-card-label {
  display: block;
  color: #ef4444;
  font-weight: 700;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.bento-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--slate-900);
  line-height: 1.3;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.bento-card-text { font-size: 0.825rem; color: var(--slate-500); line-height: 1.6; margin-bottom: 0.75rem; }
.bento-card-link {
  font-weight: 700;
  font-size: 0.825rem;
  color: var(--slate-900);
  border-bottom: 2px solid #4ade80;
  padding-bottom: 2px;
}

/* FAQ Accordion */
.faq-wrap { max-width: 768px; margin: 0 auto; }
.faq-heading {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 2rem;
}
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-accordion {
  background: var(--white);
  border-radius: 0.75rem;
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--slate-900);
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  gap: 1rem;
}
.faq-toggle:hover { background: var(--slate-50); }
.faq-icon {
  font-size: 1.25rem;
  color: var(--slate-400);
  transition: transform 0.25s, color 0.15s;
  flex-shrink: 0;
  display: inline-block;
}
.faq-toggle[aria-expanded="true"] .faq-icon {
  transform: rotate(90deg);
  color: var(--green);
}
.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-panel.open { max-height: 300px; border-top: 1px solid var(--slate-100); }
.faq-panel p { padding: 1.25rem 1.5rem; font-size: 0.9rem; color: var(--slate-500); line-height: 1.7; margin: 0; }

/* Newsletter */
.newsletter-section { padding: 1rem 0 4rem; }
.newsletter-card {
  background: #052512;
  border-radius: 2.5rem;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) { .newsletter-card { padding: 5rem 4rem; } }
.newsletter-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.newsletter-glow-tr { top: -100px; right: -100px; background: rgba(0,110,47,0.25); }
.newsletter-glow-bl { bottom: -100px; left: -100px; background: rgba(74,222,128,0.1); }
.newsletter-body { position: relative; z-index: 1; max-width: 580px; margin: 0 auto; }
.newsletter-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}
.newsletter-sub { color: rgba(255,255,255,0.55); margin-bottom: 2rem; font-size: 1rem; }
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) { .newsletter-form { flex-direction: row; } }
.newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 0.9rem 1.75rem;
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.15s;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-input:focus { border-color: rgba(74,222,128,0.6); }
.newsletter-btn {
  background: #22c55e;
  color: var(--white);
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
}
.newsletter-btn:hover { background: #16a34a; transform: scale(1.03); }

/* ============================================================
   NEWS PAGE — Full Layout
   ============================================================ */

.news-page-header {
  padding: 2.5rem 0 1.5rem;
}
.news-page-header h1 { margin-bottom: 0.5rem; }
.news-page-header p { font-size: 1.05rem; color: var(--slate-500); max-width: 600px; }

/* Sticky filter bar wrapper */
.news-filter-sticky {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: rgba(247,249,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.7);
}
.news-filter-bar {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.75rem 0;
  scrollbar-width: none;
}
.news-filter-bar::-webkit-scrollbar { display: none; }

/* 2-column news layout */
.news-layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-top: 2rem;
  padding-bottom: 4rem;
}
@media (min-width: 1024px) {
  .news-layout { grid-template-columns: 2fr 1fr; align-items: start; }
}

/* Lead article */
.news-lead {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--slate-100);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
  text-decoration: none;
}
@media (min-width: 640px) { .news-lead { grid-template-columns: 1fr 1fr; } }
.news-lead:hover { box-shadow: var(--shadow); }
.news-lead-img-wrap { position: relative; overflow: hidden; }
.news-lead-img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-lead:hover .news-lead-img { transform: scale(1.04); }
.news-lead-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-family: var(--font-heading);
}
.news-lead-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-lead-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  transition: color 0.15s;
}
.news-lead:hover .news-lead-title { color: var(--green); }
.news-lead-excerpt { font-size: 0.875rem; color: var(--slate-500); line-height: 1.65; margin-bottom: 1.25rem; }
.news-lead-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--slate-400);
  margin-bottom: 1.25rem;
}

/* News article grid (2 columns) */
.news-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }

.news-card-img-wrap { position: relative; overflow: hidden; }
.news-card-cat {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-family: var(--font-heading);
}

/* Hidden cards (load more) */
.hidden-card { display: none !important; }

/* Load More */
.load-more-wrap { text-align: center; margin-top: 2.5rem; }
.load-more-btn {
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  color: var(--slate-900);
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 1rem 3rem;
  border-radius: 999px;
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}
.load-more-btn:hover { box-shadow: var(--shadow); border-color: var(--green); }

/* Most Read list */
.most-read-list { display: flex; flex-direction: column; gap: 1.25rem; list-style: none; padding: 0; }
.most-read-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}
.most-read-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: rgba(0,110,47,0.15);
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.15s;
}
.most-read-item:hover .most-read-num { color: var(--green); }
.most-read-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.35;
  transition: color 0.15s;
}
.most-read-item:hover .most-read-title { color: var(--green); }
.most-read-meta { font-size: 0.7rem; color: var(--slate-400); font-weight: 600; margin-top: 0.25rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* Sidebar Newsletter */
.news-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-newsletter {
  background: #052512;
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sidebar-nl-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: rgba(0,110,47,0.25);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}
.sidebar-nl-body { position: relative; z-index: 1; }
.sidebar-nl-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.sidebar-nl-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.sidebar-nl-sub { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-bottom: 1.25rem; }
.sidebar-nl-form { display: flex; flex-direction: column; gap: 0.6rem; }
.sidebar-nl-input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  color: var(--white);
  font-size: 0.85rem;
  font-family: var(--font-body);
  outline: none;
}
.sidebar-nl-input::placeholder { color: rgba(255,255,255,0.35); }
.sidebar-nl-input:focus { border-color: rgba(74,222,128,0.5); }
.sidebar-nl-btn {
  width: 100%;
  background: #22c55e;
  color: var(--white);
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 0.7rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.sidebar-nl-btn:hover { background: #16a34a; }

/* Statistics Page Layout */
.filter-bar {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.stats-page-layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  padding-top: 0;
  padding-bottom: 2rem;
}
@media (min-width: 1024px) {
  .stats-page-layout { grid-template-columns: 2fr 1fr; align-items: start; }
}
.stats-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.stats-page-layout .articles-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* Stat of the Day */
.stat-of-day {
  background: var(--slate-900);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--white);
}
.stat-of-day-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green);
  font-family: var(--font-heading);
  margin-bottom: 0.75rem;
}
.stat-of-day-value {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: #4ade80;
  line-height: 1;
  margin-bottom: 1rem;
}
.stat-of-day-text {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.stat-of-day-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: #4ade80;
  text-decoration: none;
  transition: color 0.15s;
}
.stat-of-day-link:hover { color: var(--white); }

/* Stats Cards Grid */
.stats-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .stats-cards-grid { grid-template-columns: repeat(4, 1fr); } }
.stats-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--slate-100);
  padding: 1.5rem;
  text-align: center;
}
.stats-card .value {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stats-card .label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
}
