/*
Theme Name: GamerDad
Theme URI: https://gamer-dad.de
Author: Elvir Adrovic
Description: Gaming-Blog für Eltern mit wenig Zeit – Dunkelgrün/Creme/Neongrün Design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: gamerdad
*/

/* ─── Design Tokens ──────────────────────────────────────────────── */
:root {
  --font-display: "Syne", "Inter", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;

  --forest-950: #080f08;
  --forest-900: #0d1a0d;
  --forest-800: #162318;
  --forest-700: #1e3220;
  --forest-600: #2a4a2d;
  --forest-400: #5a9060;
  --forest-300: #8ab88e;
  --forest-200: #b8d4ba;
  --forest-100: #daeadb;

  --cream-50:  #fdf6e3;
  --gold-400:  #e5c76b;
  --gold-500:  #c8a14a;
  --neon-400:  #6bff6b;
  --neon-500:  #39ff14;

  --bg:           transparent;
  --bg-card:      rgba(5, 14, 5, 0.72);
  --bg-subtle:    rgba(8, 20, 8, 0.65);
  --bg-muted:     rgba(15, 35, 15, 0.60);
  --text:         var(--cream-50);
  --text-secondary: var(--forest-200);
  --text-muted:   var(--forest-300);
  --border:       rgba(57, 255, 20, 0.18);
  --accent:       var(--neon-500);
  --accent-hover: var(--neon-400);
  --header-bg:    rgba(4, 10, 4, 0.85);
}
.dark {
  --bg-card:    rgba(5, 14, 5, 0.82);
  --bg-subtle:  rgba(8, 20, 8, 0.78);
  --bg-muted:   rgba(15, 35, 15, 0.72);
  --border:     rgba(57, 255, 20, 0.22);
  --header-bg:  rgba(2, 6, 2, 0.92);
}

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

html {
  scroll-behavior: smooth;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-color: #060c06;
}
body {
  background: rgba(3, 8, 3, 0.68);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text);
}
a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-hover); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--gold-400); color: var(--forest-900); }

/* ─── Layout ─────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
@media (min-width: 640px)  { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 3rem; } }

.grid-1  { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-2  { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.grid-3  { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ─── Card (Glasmorphism) ────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(57,255,20,0.12), 0 4px 16px rgba(0,0,0,0.5);
  border-color: var(--accent);
}

/* ─── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  cursor: pointer;
  border: none;
}
.btn:hover { opacity: 0.9; transform: scale(1.03); color: inherit; }
.btn-primary { background: var(--accent); color: #030c03; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Badge ──────────────────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid currentColor;
  text-decoration: none;
}
.badge-review           { color: #60a5fa; }
.badge-empfehlung       { color: #34d399; }
.badge-koop             { color: #fbbf24; }
.badge-news             { color: #a78bfa; }
.badge-schnell          { color: #f97316; }

/* ─── Site Header ────────────────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s, border-color 0.3s;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}
.site-logo:hover { color: var(--text); }
.header-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
@media (min-width: 768px) { .header-nav { display: flex; } }
.header-nav a {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.header-nav a:hover,
.header-nav a.active { color: var(--accent); background: var(--bg-subtle); }
.header-controls { display: flex; align-items: center; gap: 0.5rem; }
.btn-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  transition: opacity 0.15s;
}
.btn-icon:hover { opacity: 0.8; }
.mobile-menu-btn { display: flex; }
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }

#mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
}
#mobile-menu.open { display: block; }
#mobile-menu nav {
  padding: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
#mobile-menu a {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
}
#mobile-menu a:hover { color: var(--accent); background: var(--bg-subtle); }

/* ─── Site Footer ────────────────────────────────────────────────── */
#site-footer {
  margin-top: 5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.footer-inner { padding: 2.5rem 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer-brand p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin-top: 0.5rem; }
.footer-col h3 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.875rem; color: var(--text-secondary); transition: color 0.15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; } }

/* ─── Hero Section ───────────────────────────────────────────────── */
.hero-section {
  min-height: 38vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0 2rem;
}
.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.hero-tagline {
  color: rgba(255,255,255,0.75);
  font-size: 1.125rem;
  max-width: 36rem;
  margin: 0 auto;
}

/* ─── Featured Post ──────────────────────────────────────────────── */
.featured-post {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .featured-post { flex-direction: row; } }
.featured-post__image {
  position: relative;
  min-height: 200px;
  flex-shrink: 0;
}
@media (min-width: 768px) { .featured-post__image { width: 20rem; } }
.featured-post__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
}
.featured-post__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
}
.featured-post__body { padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.featured-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.featured-post__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.3;
  font-family: var(--font-display);
}
.featured-post__title a { color: var(--text); }
.featured-post__title a:hover { text-decoration: underline; color: var(--text); }
.featured-post__desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1rem; }
.featured-post__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* ─── Category Pills ─────────────────────────────────────────────── */
.cat-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 2.5rem 0 0;
}
.cat-pill-label { font-size: 0.875rem; font-weight: 600; color: var(--text-muted); margin-right: 0.5rem; }
.cat-pill {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-subtle);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.cat-pill:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Section Headings ───────────────────────────────────────────── */
.section-heading {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  color: var(--text);
}

/* ─── Post Card ──────────────────────────────────────────────────── */
.post-card { display: flex; flex-direction: column; }
.post-card__image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .post-card__image img { transform: scale(1.05); }
.post-card__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
}
.post-card__coop-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #d97706;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
}
.post-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.post-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.post-card__date { font-size: 0.75rem; color: var(--text-muted); }
.post-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}
.post-card__title a { color: var(--text); transition: text-decoration 0.15s; }
.post-card__title a:hover { text-decoration: underline; color: var(--text); }
.post-card__excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.post-card__playtime { font-size: 0.75rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.25rem; }

/* ─── Rating Bar ─────────────────────────────────────────────────── */
.rating-bar { display: flex; align-items: center; gap: 3px; }
.rating-bar .seg {
  width: 18px; height: 8px; border-radius: 2px;
  background: var(--bg-muted);
}
.rating-bar .seg.on { background: var(--neon-500); box-shadow: 0 0 6px var(--neon-500); }
.rating-bar .label { margin-left: 6px; font-size: 0.875rem; font-weight: 700; color: var(--accent); }

/* ─── USK Badge ──────────────────────────────────────────────────── */
.usk {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 0.375rem;
  font-weight: 800; font-size: 0.8rem; color: white; flex-shrink: 0;
}
.usk-0  { background: #1e7e34; }
.usk-6  { background: #e6b800; color: #111; }
.usk-12 { background: #e67e00; }
.usk-16 { background: #c0392b; }
.usk-18 { background: #111; border: 1px solid #555; }

/* ─── Meta Box (Spiel-Details) ───────────────────────────────────── */
.meta-box {
  margin: 1.5rem 0;
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
}
.meta-box__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) { .meta-box__grid { grid-template-columns: repeat(4, 1fr); } }
.meta-item__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
  display: block;
}
.meta-item__value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.platform-tag {
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  background: var(--bg-muted);
  color: var(--text-secondary);
  font-weight: 500;
}
.meta-coop {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  color: #d97706;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ─── Koop Section ───────────────────────────────────────────────── */
.koop-section {
  background: var(--bg-subtle);
  margin-top: 4rem;
  padding: 3rem 0;
}
.koop-section__header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.koop-section__desc { font-size: 0.875rem; color: var(--text-secondary); max-width: 36rem; margin-bottom: 2rem; }

/* ─── About Teaser ───────────────────────────────────────────────── */
.about-teaser {
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  margin: 4rem 0 2.5rem;
}
@media (min-width: 640px) { .about-teaser { flex-direction: row; text-align: left; } }
.about-teaser__icon { font-size: 3.5rem; flex-shrink: 0; }
.about-teaser__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; font-family: var(--font-display); }
.about-teaser__text { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1rem; }

/* ─── Single Post ────────────────────────────────────────────────── */
.post-hero {
  position: relative;
  width: 100%;
  height: min(55vh, 480px);
  overflow: hidden;
}
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
.post-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(4,10,4,0.45);
}
.post-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 2rem;
}
.post-hero__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  line-height: 1.2;
  max-width: 48rem;
  margin-top: 0.75rem;
  font-family: var(--font-display);
}
.post-meta { display: flex; align-items: center; gap: 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.75); flex-wrap: wrap; margin-top: 0.75rem; }

.post-layout { display: flex; gap: 3rem; max-width: 62rem; margin: 0 auto; padding: 2.5rem 0; }
.post-content { flex: 1; min-width: 0; }
.post-description { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 1.5rem; }
.post-sidebar { display: none; width: 16rem; flex-shrink: 0; }
@media (min-width: 1024px) { .post-sidebar { display: block; } }
.post-sidebar__sticky { position: sticky; top: 6rem; }

/* ─── TOC ────────────────────────────────────────────────────────── */
.toc {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
}
.toc__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.toc ul { list-style: none; }
.toc li { margin-bottom: 0.25rem; }
.toc a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  padding: 0.1rem 0 0.1rem 0.625rem;
  border-left: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.toc a:hover { color: var(--accent); border-left-color: var(--accent); }
.toc li.depth-3 a { padding-left: 1.5rem; font-size: 0.8rem; }

/* ─── Prose (Article Body) ───────────────────────────────────────── */
.prose { color: var(--text); max-width: 70ch; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 {
  font-size: 1.5rem; font-weight: 800; margin-top: 2.5rem; margin-bottom: 0.75rem;
  font-family: var(--font-display); padding-bottom: 0.5rem; border-bottom: 2px solid var(--border);
}
.prose h3 { font-size: 1.2rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.5rem; font-family: var(--font-display); }
.prose p { margin-bottom: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.75rem; margin-bottom: 1.25rem; }
.prose li { margin-bottom: 0.375rem; }
.prose ul li { list-style-type: disc; }
.prose ol li { list-style-type: decimal; }
.prose blockquote {
  border-left: 4px solid var(--accent); padding: 0.75rem 1.5rem;
  margin: 2rem 0; background: var(--bg-subtle);
  border-radius: 0 0.5rem 0.5rem 0; color: var(--text-secondary); font-style: italic;
}
.prose code { background: var(--bg-subtle); padding: 0.15em 0.4em; border-radius: 0.25rem; font-size: 0.875em; }
.prose pre { background: var(--bg-subtle); padding: 1.25rem; border-radius: 0.5rem; overflow-x: auto; margin: 1.5rem 0; }
.prose pre code { background: none; padding: 0; }
.prose img { border-radius: 0.75rem; margin: 2rem 0; width: 100%; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 700; }
.prose em { font-style: italic; }
.prose hr { border: none; border-top: 2px solid var(--border); margin: 2.5rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9rem; }
.prose th, .prose td { padding: 0.625rem 1rem; border: 1px solid var(--border); text-align: left; }
.prose th { background: var(--bg-subtle); font-weight: 600; }

/* ─── Post Navigation ────────────────────────────────────────────── */
.post-nav {
  max-width: 62rem;
  margin: 3.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.post-nav__item {
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  transition: border-color 0.15s;
}
.post-nav__item:hover { border-color: var(--accent); }
.post-nav__item.next { text-align: right; }
.post-nav__label { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.375rem; }
.post-nav__title { font-size: 0.875rem; font-weight: 600; color: var(--text); line-height: 1.4; }

/* ─── Related Posts ──────────────────────────────────────────────── */
.related-posts { max-width: 62rem; margin: 3.5rem auto 0; }
.related-posts h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; font-family: var(--font-display); }

/* ─── Page (Static) ──────────────────────────────────────────────── */
.page-layout { max-width: 48rem; margin: 0 auto; padding: 4rem 0; }
.page-layout h1 { font-size: 2.25rem; font-weight: 800; margin-bottom: 2rem; font-family: var(--font-display); }

/* ─── Archive ────────────────────────────────────────────────────── */
.archive-header { padding: 3rem 0 2rem; }
.archive-header .eyebrow { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 0.5rem; }
.archive-header h1 { font-size: 2rem; font-weight: 800; font-family: var(--font-display); }
.archive-header p { color: var(--text-secondary); margin-top: 0.5rem; }

/* ─── Pagination ─────────────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 3rem; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.5rem; height: 2.5rem; padding: 0 0.75rem;
  border-radius: 0.5rem; font-size: 0.875rem; font-weight: 600;
  border: 1px solid var(--border); color: var(--text-secondary); text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current { background: var(--accent); color: #030c03; border-color: var(--accent); }

/* ─── 404 ────────────────────────────────────────────────────────── */
.page-404 { text-align: center; padding: 6rem 0; }
.page-404 .code { font-size: 6rem; font-weight: 800; font-family: var(--font-display); color: var(--accent); line-height: 1; }
.page-404 h1 { font-size: 1.75rem; margin: 1rem 0 0.75rem; }
.page-404 p { color: var(--text-secondary); margin-bottom: 2rem; }

/* ─── WordPress Core Overrides ───────────────────────────────────── */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin-top: 0.375rem; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1.5rem auto; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
