/*
Theme Name: AIStackTools
Theme URI: https://aistacktools.xyz
Author: CharTech Industries
Description: Clean, modern affiliate blog theme for AI tools niche
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: aistacktools
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,300&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,300&display=swap');

/* ============================================
   VARIABLES
============================================ */
:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --surface2: #f4f4f0;
  --border: #e8e8e2;
  --text: #1a1a18;
  --muted: #6b6b65;
  --accent: #1a5c3a;
  --accent-light: #e8f4ee;
  --accent2: #c8873a;
  --heading-font: 'Fraunces', Georgia, serif;
  --body-font: 'DM Sans', system-ui, sans-serif;
  --max-width: 1180px;
  --radius: 8px;
}

/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1.4rem; }

/* ============================================
   LAYOUT
============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   HEADER & NAV
============================================ */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.95);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

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

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 18px;
}

.logo-text {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
}

.logo-text span { color: var(--accent); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.15s;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--surface2);
  text-decoration: none;
}

.nav-cta {
  background: var(--accent) !important;
  color: white !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: #154d30 !important;
  color: white !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}

/* ============================================
   HERO SECTION
============================================ */
.hero {
  background: linear-gradient(135deg, #0d3d26 0%, #1a5c3a 50%, #0d3d26 100%);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  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");
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

.hero h1 {
  color: white;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 em {
  font-style: italic;
  color: #7fd8a0;
}

.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-search {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 20px;
  font-size: 15px;
  font-family: var(--body-font);
  background: transparent;
  color: var(--text);
}

.hero-search button {
  background: var(--accent);
  border: none;
  color: white;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--body-font);
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
}

.hero-search button:hover { background: #154d30; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  display: block;
  font-family: var(--heading-font);
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ============================================
   CATEGORY PILLS
============================================ */
.categories-section {
  padding: 40px 0 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.categories-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.categories-inner::-webkit-scrollbar { display: none; }

.cat-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  white-space: nowrap;
  margin-right: 4px;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--surface);
  text-decoration: none;
  transition: all 0.15s;
}

.cat-pill:hover, .cat-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  text-decoration: none;
}

/* ============================================
   MAIN CONTENT GRID
============================================ */
.main-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  padding: 56px 0;
  align-items: start;
}

/* ============================================
   SECTION HEADERS
============================================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.section-title {
  font-family: var(--heading-font);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin-top: 6px;
  border-radius: 2px;
}

.view-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.view-all:hover { text-decoration: underline; }

/* ============================================
   FEATURED POST CARD
============================================ */
.featured-post {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.featured-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.featured-post-image {
  aspect-ratio: 16/7;
  background: linear-gradient(135deg, var(--accent) 0%, #2d8a5c 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.featured-post-image-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 20% 50%, white 1px, transparent 1px),
                    radial-gradient(circle at 80% 20%, white 1px, transparent 1px);
  background-size: 40px 40px;
}

.featured-post-icon {
  font-size: 4rem;
  z-index: 1;
}

.featured-post-body {
  padding: 28px 32px 32px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.post-category {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 4px;
}

.post-date {
  font-size: 13px;
  color: var(--muted);
}

.post-read-time {
  font-size: 13px;
  color: var(--muted);
}

.post-read-time::before { content: '· '; }

.featured-post h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 14px;
  line-height: 1.25;
}

.featured-post h2 a {
  color: var(--text);
  text-decoration: none;
}

.featured-post h2 a:hover { color: var(--accent); }

.post-excerpt {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
}

.read-more-btn:hover {
  background: #154d30;
  text-decoration: none;
  color: white;
}

.read-more-btn::after { content: ' →'; }

/* ============================================
   POST CARD LIST
============================================ */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  padding: 18px;
  transition: transform 0.2s, box-shadow 0.2s;
  align-items: start;
}

.post-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

.post-card-thumb {
  width: 100px;
  height: 80px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, #2d8a5c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.post-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.35;
}

.post-card-body h3 a {
  color: var(--text);
  text-decoration: none;
}

.post-card-body h3 a:hover { color: var(--accent); }

.post-card-body .post-excerpt {
  font-size: 13px;
  margin-bottom: 10px;
  -webkit-line-clamp: 2;
}

.post-card .post-meta { margin-bottom: 0; }

/* ============================================
   SIDEBAR
============================================ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  position: sticky;
  top: 88px;
}

.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.widget-title {
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* Newsletter widget */
.newsletter-widget {
  background: linear-gradient(135deg, #0d3d26, #1a5c3a);
  color: white;
  border-color: transparent;
}

.newsletter-widget .widget-title {
  color: white;
  border-color: rgba(255,255,255,0.15);
}

.newsletter-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
  line-height: 1.6;
}

.newsletter-form input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-family: var(--body-font);
  margin-bottom: 10px;
  outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }

.newsletter-form button {
  width: 100%;
  background: white;
  color: var(--accent);
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--body-font);
  cursor: pointer;
  transition: opacity 0.15s;
}

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

/* Tool spotlight widget */
.tool-spotlight {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tool-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  background: var(--surface2);
  text-decoration: none;
  transition: background 0.15s;
}

.tool-item:hover {
  background: var(--accent-light);
  text-decoration: none;
}

.tool-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.tool-info { flex: 1; min-width: 0; }

.tool-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  display: block;
}

.tool-desc {
  font-size: 12px;
  color: var(--muted);
}

.tool-arrow {
  color: var(--muted);
  font-size: 14px;
}

/* Popular posts widget */
.popular-posts { display: flex; flex-direction: column; gap: 14px; }

.popular-post-item {
  display: flex;
  gap: 12px;
  align-items: start;
}

.popular-post-num {
  font-family: var(--heading-font);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  min-width: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.popular-post-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  text-decoration: none;
}

.popular-post-title:hover { color: var(--accent); }

.popular-post-date {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

/* ============================================
   SINGLE POST / ARTICLE
============================================ */
.article-header {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.article-header-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--accent); }

.breadcrumb-sep { color: var(--border); }

.article-header h1 {
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.article-date, .article-read-time {
  font-size: 13px;
  color: var(--muted);
}

/* ============================================
   ARTICLE CONTENT
============================================ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  padding: 48px 0 80px;
  align-items: start;
}

.article-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
}

.article-content h2 {
  font-size: 1.7rem;
  margin: 48px 0 20px;
  padding-top: 8px;
}

.article-content h3 {
  font-size: 1.3rem;
  margin: 36px 0 16px;
}

.article-content p { margin-bottom: 1.5rem; }

.article-content ul, .article-content ol {
  margin: 0 0 1.5rem 1.5rem;
}

.article-content li { margin-bottom: 0.5rem; }

.article-content a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-light);
}

.article-content a:hover {
  background: var(--accent-light);
  text-decoration: none;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.article-content th {
  background: var(--accent);
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.article-content tr:last-child td { border-bottom: none; }
.article-content tr:nth-child(even) td { background: var(--surface2); }

.article-content blockquote {
  border-left: 4px solid var(--accent);
  background: var(--accent-light);
  padding: 20px 24px;
  margin: 28px 0;
  border-radius: 0 8px 8px 0;
}

.article-content blockquote p {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--accent);
  margin: 0;
}

/* Affiliate callout box */
.affiliate-box {
  background: linear-gradient(135deg, #f8fdf9, #e8f4ee);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.affiliate-box-icon { font-size: 2rem; }

.affiliate-box-text { flex: 1; }

.affiliate-box-text strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 4px;
}

.affiliate-box-text p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.affiliate-cta {
  background: var(--accent);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.15s;
}

.affiliate-cta:hover {
  background: #154d30;
  color: white;
  text-decoration: none;
}

/* Article TOC */
.toc {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 32px 0;
}

.toc-title {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 12px;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
}

.toc li {
  margin-bottom: 6px;
  font-size: 14px;
}

.toc a {
  color: var(--accent);
  text-decoration: none;
  border: none !important;
}

.toc a:hover { text-decoration: underline; }

/* Article sidebar */
.article-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
  background: #0d1a13;
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-text { color: white; }
.footer-brand .logo-mark { margin-bottom: 16px; }

.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-top: 12px;
  max-width: 280px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

.footer-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  max-width: 500px;
  text-align: right;
  line-height: 1.5;
}

/* ============================================
   PAGINATION
============================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.15s;
}

.page-num:hover, .page-num.current {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  text-decoration: none;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 960px) {
  .main-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 99;
  }
  .menu-toggle { display: block; }
  .post-card { grid-template-columns: 80px 1fr; }
  .post-card-thumb { width: 80px; height: 65px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-disclaimer { text-align: left; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .affiliate-box { flex-direction: column; text-align: center; }
}
