/* ============================================================
   LOCAL AI CENTRAL — main.css
   Design: Sky Blue #5BC8E8 | Bold Red #CC2222 | Dark Navy #1A1A2E
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --blue:   #5BC8E8;
  --red:    #CC2222;
  --navy:   #1A1A2E;
  --white:  #FFFFFF;
  --gray:   #F4F4F4;
  --dark:   #111111;
  --muted:  #666666;
  --border: #E2E2E2;

  --font-display: 'Bebas Neue', 'Impact', cursive;
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --container-width: 1200px;
  --nav-height: 64px;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.09);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.15);
  --transition: 0.22s ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--gray);
  padding-top: var(--nav-height);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background var(--transition);
  display: inline-block;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #aa1a1a; text-decoration: none; color: var(--white); }

/* ════════════════════════════════════════════════════════════
   HEADER & NAV
   ════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  height: var(--nav-height);
  border-bottom: 3px solid var(--blue);
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.45); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: 16px;
}

/* Site name wordmark */
.site-name-link {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  line-height: 1;
  text-decoration: none;
}
.site-name-local   { color: var(--red); }
.site-name-ai      { color: var(--blue); }
.site-name-central { color: var(--white); }

/* Custom logo */
.site-branding img { height: 44px; width: auto; }

/* Nav menu */
.primary-nav { flex: 1; }
.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
}
.nav-menu li a {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
  display: block;
  white-space: nowrap;
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item > a,
.nav-menu li.current-category-ancestor > a {
  color: var(--red);
  background: rgba(255,255,255,0.07);
  text-decoration: none;
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 8px; }
.search-toggle {
  background: none; border: none; cursor: pointer;
  color: var(--white); padding: 6px;
  transition: color var(--transition);
}
.search-toggle:hover { color: var(--blue); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; padding: 4px;
}
.nav-toggle span {
  display: block; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search bar */
.header-search {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 12px 0;
}
.header-search .search-form { display: flex; gap: 8px; max-width: 600px; }
.header-search .search-field {
  flex: 1; padding: 10px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 0.95rem;
}
.header-search .search-field::placeholder { color: rgba(255,255,255,0.5); }
.header-search .search-submit {
  background: var(--red); color: var(--white);
  border: none; padding: 10px 16px;
  border-radius: var(--radius); cursor: pointer;
}

/* ════════════════════════════════════════════════════════════
   HERO SECTION
   ════════════════════════════════════════════════════════════ */
.hero {
  background: var(--blue);
  padding: 72px 20px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-deco {
  position: absolute;
  font-size: 80px;
  color: rgba(255,255,255,0.12);
  pointer-events: none;
}
.hero-deco--tl { top: 20px; left: 40px; transform: rotate(-15deg); }
.hero-deco--br { bottom: 20px; right: 40px; transform: rotate(15deg); }

.hero-inner { position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.35);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 110px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  text-shadow: 3px 3px 0 rgba(0,0,0,0.12);
}
.hero-title-local   { color: var(--red);   display: block; }
.hero-title-ai      { color: var(--navy);  display: block; }
.hero-title-central { color: var(--red);   display: block; }

.hero-sub {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--navy);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-tagline {
  font-style: italic;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-pill {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 24px;
  border-radius: 999px;
}

/* ════════════════════════════════════════════════════════════
   HOMEPAGE LAYOUT
   ════════════════════════════════════════════════════════════ */
.homepage-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  padding: 48px 0;
}

/* Section header */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--red);
  padding-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red);
  letter-spacing: 0.04em;
}
.section-sub {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Post Grid ──────────────────────────────────────────────── */
.post-grid { display: grid; gap: 24px; }
.post-grid--3col { grid-template-columns: repeat(3, 1fr); }

/* ── Post Card ──────────────────────────────────────────────── */
.post-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.post-card__thumb-link { display: block; overflow: hidden; aspect-ratio: 16/9; }
.post-card__thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card__thumb { transform: scale(1.04); }

.post-card__body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.post-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.post-card__cat {
  background: var(--blue);
  color: var(--navy);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
  text-decoration: none;
}
.post-card__cat:hover { background: var(--red); color: var(--white); }
.post-card__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}
.post-card__title a { color: var(--navy); }
.post-card__title a:hover { color: var(--red); text-decoration: none; }
.post-card__excerpt {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__read-more {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: auto;
}
.post-card__read-more:hover { text-decoration: underline; }

/* ── Sidebar Ads (Homepage) ─────────────────────────────────── */
.sidebar-ads {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ad-label {
  display: block;
  font-size: 0.68rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  width: 100%;
}
.ad-placeholder {
  background: var(--gray);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-family: var(--font-heading);
  border-radius: var(--radius);
}
.ad-placeholder--300 { width: 300px; height: 250px; }
.ad-placeholder--600 { width: 300px; height: 600px; }
.ad-placeholder--leaderboard { width: 100%; height: 90px; }

/* ── Pagination ─────────────────────────────────────────────── */
.pagination-wrap { margin-top: 32px; }
.pagination-wrap .page-numbers {
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pagination-wrap .page-numbers li { display: inline; }
.pagination-wrap .page-numbers a,
.pagination-wrap .page-numbers span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--border);
  transition: background var(--transition), color var(--transition);
}
.pagination-wrap .page-numbers a:hover { background: var(--red); color: var(--white); border-color: var(--red); text-decoration: none; }
.pagination-wrap .page-numbers .current { background: var(--red); color: var(--white); border-color: var(--red); }

/* ════════════════════════════════════════════════════════════
   SINGLE POST LAYOUT
   ════════════════════════════════════════════════════════════ */

/* Breadcrumb */
.post-crumb {
  font-size: 0.8rem;
  color: var(--muted);
  padding: 16px 0;
  font-family: var(--font-heading);
}
.post-crumb a { color: var(--muted); }
.post-crumb a:hover { color: var(--red); }

/* 3-column layout */
.single-layout {
  display: grid;
  grid-template-columns: 220px 1fr 280px;
  gap: 32px;
  padding-bottom: 60px;
}

/* ── TOC Sidebar ────────────────────────────────────────────── */
.sidebar-toc { padding-top: 4px; }
.sticky-toc {
  position: sticky;
  top: calc(var(--nav-height) + 16px);
  background: var(--white);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 16px;
  box-shadow: var(--shadow);
  max-height: calc(100vh - var(--nav-height) - 32px);
  overflow-y: auto;
}
.toc-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--red);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.toc-list { list-style: none; }
.toc-list li { border-bottom: 1px solid var(--gray); }
.toc-list li a {
  display: block;
  padding: 7px 0;
  font-size: 0.82rem;
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.4;
  transition: color var(--transition), padding-left var(--transition);
}
.toc-list li a:hover,
.toc-list li.toc-active a { color: var(--red); text-decoration: none; padding-left: 4px; }
.toc-list li.toc-h3 { padding-left: 12px; }
.toc-list li.toc-h3 a { font-size: 0.78rem; color: var(--muted); }
.toc-list li.toc-h3 a:hover { color: var(--red); }

/* Author box */
.author-box {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}
.author-avatar { border-radius: 50%; width: 40px; height: 40px; flex-shrink: 0; }
.author-info { display: flex; flex-direction: column; }
.author-name { font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; color: var(--navy); }
.author-bio { font-size: 0.75rem; color: var(--muted); margin-top: 2px; line-height: 1.4; }

/* ── Post Content Area ──────────────────────────────────────── */
.post-content-area { min-width: 0; }

.post-cat-chip {
  display: inline-block;
  background: var(--blue);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  text-decoration: none;
}
.post-cat-chip:hover { background: var(--red); color: var(--white); }

.post-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 12px;
}

.post-meta {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--font-heading);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray);
}

.post-featured-img {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

/* Entry content typography */
.entry-content { color: var(--dark); line-height: 1.8; font-size: 1.02rem; }
.entry-content h2 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2em 0 0.6em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue);
}
.entry-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.6em 0 0.5em;
}
.entry-content h4 { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; margin: 1.4em 0 0.4em; }
.entry-content p { margin-bottom: 1.2em; }
.entry-content ul, .entry-content ol { padding-left: 1.6em; margin-bottom: 1.2em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content a { color: var(--red); font-weight: 500; }
.entry-content a:hover { color: #aa1a1a; }
.entry-content blockquote {
  border-left: 4px solid var(--blue);
  padding: 12px 20px;
  margin: 1.5em 0;
  background: rgba(91,200,232,0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--navy);
}
.entry-content code {
  background: var(--gray);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.88em;
  color: var(--red);
}
.entry-content pre {
  background: var(--navy);
  color: #e8f4f8;
  padding: 20px 24px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 1.5em 0;
  font-size: 0.88rem;
  line-height: 1.6;
}
.entry-content pre code { background: none; color: inherit; padding: 0; }
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.9rem;
}
.entry-content th {
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  text-align: left;
  font-family: var(--font-heading);
}
.entry-content td {
  padding: 9px 14px;
  border-bottom: 1px solid var(--border);
}
.entry-content tr:nth-child(even) td { background: var(--gray); }
.entry-content img { border-radius: var(--radius); margin: 1.5em 0; box-shadow: var(--shadow); }

/* In-content ad zone */
.ad-zone--in-content { margin: 32px 0; }
.ad-zone--bottom { padding: 24px 0; background: var(--white); border-top: 1px solid var(--border); }

/* Post nav */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 32px 0;
}
.post-nav a { font-family: var(--font-heading); font-size: 0.88rem; font-weight: 600; color: var(--navy); }
.post-nav a:hover { color: var(--red); }

/* ── Right Ad Sidebar ────────────────────────────────────────── */
.sidebar-ads--sticky .sticky-ads-inner {
  position: sticky;
  top: calc(var(--nav-height) + 16px);
}

/* Related posts */
.related-posts { margin-top: 24px; }
.related-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--red);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
}
.related-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.related-thumb { width: 64px; height: 48px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.related-item__title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}
.related-item__title:hover { color: var(--red); }

/* ════════════════════════════════════════════════════════════
   ARCHIVE / CATEGORY PAGES
   ════════════════════════════════════════════════════════════ */
.archive-hero {
  background: var(--navy);
  padding: 48px 0;
  margin-bottom: 0;
}
.archive-type {
  display: inline-block;
  background: var(--blue);
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.archive-title {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--white);
  letter-spacing: 0.03em;
}
.archive-desc { color: rgba(255,255,255,0.7); margin-top: 8px; }

/* ════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 48px 0 32px;
  margin-top: 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}
.footer-brand .site-name-link { font-size: 1.4rem; }
.footer-tagline { color: rgba(255,255,255,0.6); font-style: italic; font-size: 0.88rem; margin-top: 4px; }
.footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.footer-menu a { color: rgba(255,255,255,0.7); font-family: var(--font-heading); font-size: 0.78rem; font-weight: 600; padding: 4px 10px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-menu a:hover { color: var(--blue); background: rgba(255,255,255,0.07); text-decoration: none; }
.footer-copy { color: rgba(255,255,255,0.4); font-size: 0.78rem; text-align: right; white-space: nowrap; }
.footer-copy a { color: rgba(255,255,255,0.6); }

/* ════════════════════════════════════════════════════════════
   SEARCH FORM
   ════════════════════════════════════════════════════════════ */
.search-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--white);
}
.search-field {
  flex: 1;
  padding: 10px 16px;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: var(--dark);
  font-family: var(--font-body);
}
.search-submit {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  transition: background var(--transition);
}
.search-submit:hover { background: #aa1a1a; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .single-layout {
    grid-template-columns: 200px 1fr 260px;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  /* Collapse single post to 2-col: hide TOC sidebar */
  .single-layout {
    grid-template-columns: 1fr 240px;
    gap: 20px;
  }
  .sidebar-toc { display: none; }

  /* 2-col grid on tablets */
  .post-grid--3col { grid-template-columns: repeat(2, 1fr); }

  /* Homepage layout */
  .homepage-layout { grid-template-columns: 1fr 240px; }
}

@media (max-width: 768px) {
  body { padding-top: var(--nav-height); }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 3px solid var(--blue);
    padding: 12px 20px;
    display: none;
  }
  .primary-nav.is-open { display: block; }
  .nav-menu { flex-direction: column; align-items: flex-start; gap: 2px; }
  .nav-menu li a { padding: 10px 8px; font-size: 0.9rem; width: 100%; }

  /* Single post: full width */
  .single-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sidebar-ads--sticky { order: -1; }
  .sidebar-ads--sticky .sticky-ads-inner { position: static; }
  .ad-placeholder--300 { width: 100%; height: 120px; }

  /* Homepage: full width */
  .homepage-layout { grid-template-columns: 1fr; }
  .sidebar-ads { display: none; }

  /* Single column grid */
  .post-grid--3col { grid-template-columns: 1fr; }

  /* Hero */
  .hero { padding: 48px 20px; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .footer-copy { text-align: center; white-space: normal; }
  .footer-menu { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 56px; }
}

/* ── Utilities ──────────────────────────────────────────────── */
.no-posts { padding: 40px; text-align: center; color: var(--muted); font-family: var(--font-heading); grid-column: 1/-1; }
.page-content { background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.page-content-wrap { padding: 48px 0; }
.page-title { font-family: var(--font-display); font-size: 2.5rem; color: var(--red); margin-bottom: 24px; letter-spacing: 0.03em; }
