/* =========================================
   FARSILYEZ — Global Stylesheet
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Playfair+Display:wght@700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --maroon:      #6B1A1A;
  --maroon-dark: #4A1010;
  --maroon-soft: #8C2424;
  --gold:        #C89B2A;
  --gold-light:  #F0D080;
  --gold-pale:   #FDF6E3;
  --bg:          #F7F6F3;
  --surface:     #FFFFFF;
  --surface-2:   #F2F1EE;
  --text:        #1A1A1A;
  --text-muted:  #6B6B6B;
  --text-subtle: #9A9A9A;
  --border:      rgba(0,0,0,0.09);
  --border-med:  rgba(0,0,0,0.14);
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.12);
  --max-w:       1100px;
  --nav-h:       64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
}

/* ---- LAYOUT ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity 0.18s, background 0.18s, transform 0.12s;
  white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--maroon);
  color: #fff;
}
.btn-primary:hover { background: var(--maroon-soft); }

.btn-gold {
  background: var(--gold);
  color: #3D2800;
  font-weight: 600;
}
.btn-gold:hover { opacity: 0.88; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-med);
}
.btn-outline:hover { border-color: #999; }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  padding: 11px 0;
  font-size: 13px;
}
.btn-ghost:hover { color: var(--text); }

/* ---- TAGS / BADGES ---- */
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
  padding: 3px 9px;
  border-radius: 4px;
}

.tag-maroon { background: #F5EAEA; color: var(--maroon); }
.tag-gold   { background: var(--gold-pale); color: #7A5C00; }
.tag-gray   { background: var(--surface-2); color: var(--text-muted); }
.tag-red    { background: #FEF0F0; color: #B91C1C; }
.tag-orange { background: #FFF4ED; color: #C2410C; }

/* ---- SEVERITY DOTS ---- */
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.dot-crit { background: #C0392B; }
.dot-high { background: #E67E22; }
.dot-med  { background: var(--gold); }
.dot-low  { background: #27AE60; }

/* =========================================
   NAVIGATION
   ========================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(247,246,243,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img { width: 36px; height: 36px; }

.nav-logo-text {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.2px;
  font-family: 'DM Sans', sans-serif;
}

.nav-logo-text .f { color: var(--maroon); }
.nav-logo-text .l { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-links .nav-cta {
  background: var(--maroon);
  color: #fff;
  padding: 7px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  transition: background 0.18s;
}

.nav-links .nav-cta:hover { background: var(--maroon-soft); color: #fff; }

/* hamburger - hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  display: block;
  transition: transform 0.2s, opacity 0.2s;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  padding: 96px 2.5rem 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow { margin-bottom: 1.1rem; }

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin-bottom: 1.3rem;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  color: var(--maroon);
}

.hero-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.2rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Threat card */
.threat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.threat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.threat-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-subtle);
}

.threat-live-dot {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-subtle);
}

.pulse {
  width: 7px; height: 7px;
  background: #27AE60;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.threat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}

.threat-row:last-child { border-bottom: none; }

.threat-row-name {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

/* =========================================
   STATS STRIP
   ========================================= */
.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.2rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat { text-align: center; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: var(--maroon);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* =========================================
   SECTION TITLES
   ========================================= */
.section-head {
  padding: 72px 0 1.2rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.section-head h2 {
  font-size: 2rem;
  color: var(--text);
}

.section-head a {
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  transition: color 0.15s;
}

.section-head a:hover { color: var(--maroon); }

/* =========================================
   BLOG GRID
   ========================================= */
.blog-grid {
  padding: 2.5rem 0 5rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Featured post */
.post-featured {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.2s, transform 0.2s;
}

.post-featured:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.post-featured-thumb {
  width: 100%;
  height: 220px;
  background: linear-gradient(140deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.post-featured-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.post-featured-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gold);
  color: #3D2800;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
}

.post-featured-body { padding: 1.6rem; }

.post-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
  font-family: 'DM Sans', sans-serif;
}

.post-meta-sep { color: var(--border-med); }

.post-featured h2 {
  font-size: 1.45rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.post-featured p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Sidebar cards */
.post-sidebar { display: flex; flex-direction: column; gap: 1rem; }

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.3rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.2s, transform 0.2s;
}

.post-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.post-card-tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 0.45rem;
  font-family: 'DM Sans', sans-serif;
}

.post-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.post-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.post-card-foot {
  margin-top: 0.75rem;
  font-size: 12px;
  color: var(--text-subtle);
  display: flex;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
}

/* =========================================
   NEWSLETTER STRIP
   ========================================= */
.newsletter {
  background: var(--maroon);
  padding: 4rem 2.5rem;
}

.newsletter-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.newsletter h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.6rem;
}

.newsletter p {
  font-size: 15px;
  color: rgba(255,255,255,0.62);
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.18s;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.42); }
.newsletter-form input:focus { border-color: rgba(255,255,255,0.55); }

.newsletter-form button {
  background: var(--gold);
  color: #3D2800;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  white-space: nowrap;
  transition: opacity 0.18s;
}

.newsletter-form button:hover { opacity: 0.88; }

/* =========================================
   FOOTER
   ========================================= */
footer {
  background: #111;
  padding: 3rem 2.5rem 2rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 1.8rem;
}

.footer-brand-text {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 0.5rem;
}

.footer-brand-text .f { color: #E05555; }
.footer-brand-text .l { color: var(--gold); }

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col ul a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-col ul a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 12.5px;
  color: rgba(255,255,255,0.28);
}

.footer-socials {
  display: flex;
  gap: 1.2rem;
}

.footer-socials a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-socials a:hover { color: rgba(255,255,255,0.7); }

/* =========================================
   BLOG / RESEARCH PAGE
   ========================================= */
.page-hero {
  background: var(--maroon);
  padding: 64px 2.5rem;
  text-align: center;
}

.page-hero .eyebrow { color: var(--gold-light); margin-bottom: 0.8rem; }

.page-hero h1 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  margin: 0 auto;
}

/* Filter bar */
.filter-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 2.5rem;
  display: flex;
  gap: 0;
  max-width: 100%;
  overflow-x: auto;
}

.filter-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 0;
  width: 100%;
}

.filter-btn {
  padding: 14px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  transition: color 0.15s, border-color 0.15s;
}

.filter-btn:hover { color: var(--text); }
.filter-btn.active { color: var(--maroon); border-bottom-color: var(--maroon); font-weight: 600; }

/* Posts listing */
.posts-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 2.5rem 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.post-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.post-tile:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.post-tile-thumb {
  height: 140px;
  background: linear-gradient(140deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  position: relative;
  overflow: hidden;
}

.post-tile-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.post-tile-body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-tile-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 0.45rem;
  font-family: 'DM Sans', sans-serif;
}

.post-tile h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  color: var(--text);
  flex: 1;
}

.post-tile p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.post-tile-foot {
  font-size: 12px;
  color: var(--text-subtle);
  display: flex;
  gap: 6px;
  font-family: 'DM Sans', sans-serif;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* =========================================
   ARTICLE PAGE
   ========================================= */
.article-hero {
  background: var(--maroon);
  padding: 60px 2.5rem 56px;
}

.article-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.article-hero .eyebrow { color: var(--gold-light); margin-bottom: 1rem; }

.article-hero h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  color: #fff;
  margin-bottom: 1.1rem;
  line-height: 1.2;
}

.article-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.52);
  font-family: 'DM Sans', sans-serif;
}

.article-meta-sep { color: rgba(255,255,255,0.22); }

.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 2.5rem 6rem;
}

.article-body p {
  font-size: 17px;
  line-height: 1.85;
  color: #2A2A2A;
  margin-bottom: 1.5rem;
}

.article-body h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
  color: var(--text);
}

.article-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2rem 0 0.6rem;
  color: var(--text);
}

.article-body ul, .article-body ol {
  padding-left: 1.4rem;
  margin-bottom: 1.5rem;
  font-size: 16px;
  color: #2A2A2A;
  line-height: 1.8;
}

.article-body li { margin-bottom: 0.4rem; }

.article-body code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13.5px;
  font-family: 'Courier New', monospace;
  color: var(--maroon);
}

.article-body pre {
  background: #1A1A1A;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  overflow-x: auto;
  margin-bottom: 1.8rem;
}

.article-body pre code {
  background: none;
  border: none;
  color: #A8D8A8;
  font-size: 13.5px;
  padding: 0;
}

.article-body blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1.2rem;
  margin: 1.8rem 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: 16.5px;
}

.article-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

/* Related posts */
.related {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 3.5rem 2.5rem;
}

.related-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.related h2 {
  font-size: 1.6rem;
  margin-bottom: 2rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 64px 1.5rem 56px;
    gap: 2.5rem;
  }

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

  .hero-visual { justify-content: flex-start; }

  .threat-card { max-width: 100%; }

  .stats-inner { grid-template-columns: repeat(3,1fr); gap: 1rem; padding: 1.8rem 1.5rem; }

  .container { padding: 0 1.5rem; }

  .newsletter-inner { grid-template-columns: 1fr; gap: 1.5rem; }

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

  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .blog-grid { grid-template-columns: 1fr; }

  .posts-grid { grid-template-columns: 1fr 1fr; }

  .related-grid { grid-template-columns: 1fr 1fr; }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 600px) {
  .stats-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .posts-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 2rem; }
}
