/*
Theme Name:   Astra Child — ThePalmReading
Template:     astra
Version:      2.0.0
Description:  Mystical dark blog design for ThePalmReading.com (Cormorant Garamond + Inter).
*/

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

:root {
  --bg:           #06000e;
  --bg-2:         #0d0120;
  --bg-card:      rgba(255,255,255,0.035);
  --bg-card-hover:rgba(255,255,255,0.06);
  --gold:         #c9a84c;
  --gold-light:   #e8cc7e;
  --gold-dark:    #9a7530;
  --gold-glow:    rgba(201,168,76,0.18);
  --purple:       #7b3fa0;
  --purple-light: #a855f7;
  --text:         #e8e0f0;
  --text-muted:   #9a8fb0;
  --text-dim:     #665a7a;
  --border:       rgba(201,168,76,0.12);
  --border-hover: rgba(201,168,76,0.35);
  --radius:       14px;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;
  --nav-h:        68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans) !important;
  background: var(--bg) !important;
  color: var(--text) !important;
  min-height: 100vh;
  overflow-x: hidden;
}

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

/* ─── STARFIELD ───────────────────────────────────────────────────── */
#stars-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* ─── NAVBAR ──────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  background: rgba(6,0,14,0.8);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }

.nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text);
  flex-shrink: 0;
}

.nav-logo img { width: 28px; height: 28px; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  list-style: none;
}

.nav-links a {
  padding: 0.45rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

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

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.5rem 1.1rem !important;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold)) !important;
  color: #0d0120 !important;
  font-weight: 600 !important;
  border-radius: 8px;
  font-size: 0.875rem !important;
  transition: opacity 0.2s, transform 0.2s !important;
}

.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ─── MAIN WRAPPER ────────────────────────────────────────────────── */
main {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

/* ─── GOLD GRADIENT TEXT ──────────────────────────────────────────── */
.gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

/* ─── SECTION LABEL ───────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ─── HERO ────────────────────────────────────────────────────────── */
.hero {
  padding: 5rem 0 3.5rem;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(123,63,160,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
  color: var(--text);
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

/* ─── SEARCH BAR ──────────────────────────────────────────────────── */
.search-wrap {
  max-width: 480px;
  margin: 0 auto 1rem;
  position: relative;
  display: block;
}

.search-wrap input {
  width: 100%;
  padding: 0.85rem 1.2rem 0.85rem 3rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.search-wrap input::placeholder { color: var(--text-dim); }
.search-wrap input:focus {
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.07);
}

.search-icon {
  position: absolute;
  left: 1.1rem;
  top: 50%; transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 1rem;
  pointer-events: none;
}

/* ─── CATEGORY PILLS ──────────────────────────────────────────────── */
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  padding: 0 0 3.5rem;
}

.cat-pill {
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.2s;
}

.cat-pill:hover,
.cat-pill.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.07);
}

/* ─── DIVIDER ─────────────────────────────────────────────────────── */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 0 3.5rem;
}

/* ─── FEATURED POST ───────────────────────────────────────────────── */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--border);
}

.featured-visual {
  background: linear-gradient(135deg, #1a053a 0%, #2d0857 40%, #0d001a 100%);
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  position: relative;
  overflow: hidden;
}

.featured-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(201,168,76,0.12) 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(123,63,160,0.2) 0%, transparent 50%);
}

.featured-visual .feat-emoji {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 30px rgba(201,168,76,0.4));
}

.featured-ornament {
  position: absolute;
  font-size: 1rem;
  color: var(--gold);
  opacity: 0.4;
  z-index: 1;
}
.featured-ornament.tl { top: 1rem; left: 1rem; }
.featured-ornament.tr { top: 1rem; right: 1rem; }
.featured-ornament.bl { bottom: 1rem; left: 1rem; }
.featured-ornament.br { bottom: 1rem; right: 1rem; }

.featured-content {
  background: var(--bg-card);
  padding: 2.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  width: fit-content;
}

.featured-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
}

.featured-content h2 a { color: inherit; transition: color 0.2s; }
.featured-content h2 a:hover { color: var(--gold-light); }

.featured-content h2 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.featured-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  flex-wrap: wrap;
}

.featured-meta span::before { content: '·'; margin-right: 1rem; }
.featured-meta span:first-child::before { content: ''; margin: 0; }

.read-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #0d0120;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 8px;
  width: fit-content;
  transition: opacity 0.2s, transform 0.2s;
  margin-top: 0.5rem;
}

.read-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* ─── POST GRID ───────────────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--text);
}

.view-all {
  font-size: 0.82rem;
  color: var(--gold);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}

.view-all:hover { border-color: var(--gold); }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}

/* ─── POST CARD ───────────────────────────────────────────────────── */
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
  position: relative;
}

.post-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.post-card::before,
.post-card::after {
  content: '✦';
  position: absolute;
  font-size: 0.55rem;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 2;
}
.post-card::before { top: 0.6rem; left: 0.6rem; }
.post-card::after  { bottom: 0.6rem; right: 0.6rem; }
.post-card:hover::before,
.post-card:hover::after { opacity: 0.5; }

.card-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.card-thumb .thumb-emoji {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 16px rgba(201,168,76,0.35));
  transition: transform 0.3s;
}

.post-card:hover .thumb-emoji { transform: scale(1.08); }

.card-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
  transition: color 0.2s;
}
.card-title a { color: inherit; }

.post-card:hover .card-title { color: var(--gold-light); }

.card-excerpt {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
}

.card-date {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.card-read-more {
  font-size: 0.78rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}

.post-card:hover .card-read-more { gap: 0.5rem; }

/* Card background colours by category */
.thumb-palmistry { background: linear-gradient(135deg, #120330 0%, #1f0550 100%); }
.thumb-love      { background: linear-gradient(135deg, #2a0520 0%, #450a35 100%); }
.thumb-career    { background: linear-gradient(135deg, #081428 0%, #0d2448 100%); }
.thumb-guide     { background: linear-gradient(135deg, #0e1a04 0%, #1a2e07 100%); }
.thumb-history   { background: linear-gradient(135deg, #1e1000 0%, #3a2000 100%); }
.thumb-ai        { background: linear-gradient(135deg, #001a1a 0%, #002e2e 100%); }

/* ─── NEWSLETTER BANNER ───────────────────────────────────────────── */
.newsletter {
  margin-bottom: 5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-hover);
  background: linear-gradient(135deg, rgba(123,63,160,0.12) 0%, rgba(201,168,76,0.06) 100%);
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter-ornaments span {
  position: absolute;
  font-size: 0.7rem;
  color: var(--gold);
  opacity: 0.4;
}

.newsletter h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 400;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.newsletter p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-hover);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form input::placeholder { color: var(--text-dim); }

.newsletter-form button {
  padding: 0.75rem 1.4rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #0d0120;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
  font-family: var(--font-sans);
}

.newsletter-form button:hover { opacity: 0.85; transform: translateY(-1px); }

/* ─── POPULAR TOPICS ──────────────────────────────────────────────── */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 5rem;
}

.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s;
}

.topic-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201,168,76,0.35);
}

.topic-icon { font-size: 2rem; flex-shrink: 0; }

.topic-text h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.topic-text p { font-size: 0.78rem; color: var(--text-muted); }

/* ─── CTA STRIP ───────────────────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, #14003a 0%, #0d0120 50%, #1a0440 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
  text-align: center;
  margin-bottom: 0;
}

.cta-strip h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  color: var(--text);
}

.cta-strip p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #0d0120;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  transition: opacity 0.2s, transform 0.2s;
}

.cta-btn:hover { opacity: 0.85; transform: translateY(-2px); }

/* ─── FOOTER ──────────────────────────────────────────────────────── */
.site-footer-tpr {
  position: relative;
  z-index: 1;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand .logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.footer-brand .logo-wrap img { width: 26px; height: 26px; object-fit: contain; }

.footer-brand p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 260px;
}

.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

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

.footer-col ul a { font-size: 0.85rem; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--text); }

.footer-cta-row {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-cta-row p { font-size: 0.875rem; color: var(--text-muted); }

.footer-cta-row a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.2rem;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: #0d0120;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.footer-cta-row a:hover { opacity: 0.85; }

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

.footer-bottom p { font-size: 0.78rem; color: var(--text-dim); }

/* ─── PAGINATION (WP paginate_links) ──────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5rem;
}

.pagination ul {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination .page-numbers {
  min-width: 38px;
  height: 38px;
  padding: 0 0.5rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-sans);
}

.pagination a.page-numbers:hover,
.pagination .page-numbers.current {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.07);
}

.pagination .page-numbers.dots {
  border-color: transparent;
  background: transparent;
}

/* ─── SINGLE POST ─────────────────────────────────────────────────── */
.single-wrap { max-width: 760px; margin: 0 auto; padding-top: 3rem; }

.back-link {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.back-link:hover { color: var(--gold); }

.single-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0.6rem 0 1rem;
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.single-meta span::before { content: '·'; margin-right: 1rem; }
.single-meta span:first-child::before { content: ''; margin: 0; }

.single-hero {
  height: 320px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  position: relative;
  border: 1px solid var(--border);
}
.single-hero img { width: 100%; height: 100%; object-fit: cover; }
.single-hero .feat-emoji { filter: drop-shadow(0 0 30px rgba(201,168,76,0.4)); }

.single-content {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.75;
  color: #cabfdc;
}
.single-content p { margin-bottom: 1.5rem; }
.single-content h2, .single-content h3 {
  font-family: var(--font-serif);
  color: var(--text);
  font-weight: 500;
  margin: 2.5rem 0 1rem;
  line-height: 1.25;
}
.single-content h2 { font-size: 1.9rem; }
.single-content h3 { font-size: 1.5rem; }
.single-content a { color: var(--gold-light); border-bottom: 1px solid rgba(201,168,76,0.3); }
.single-content a:hover { border-color: var(--gold); }
.single-content ul, .single-content ol { margin: 0 0 1.5rem 1.4rem; }
.single-content li { margin-bottom: 0.5rem; }
.single-content blockquote {
  border-left: 3px solid var(--gold);
  background: rgba(255,255,255,0.03);
  padding: 1rem 1.5rem;
  margin: 1.75rem 0;
  font-style: italic;
  color: var(--text-muted);
  border-radius: 0 8px 8px 0;
}
.single-content img { border-radius: var(--radius); margin: 1.5rem 0; }

.single-footer-cta {
  margin: 3.5rem 0 1rem;
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--border-hover);
  background: linear-gradient(135deg, rgba(123,63,160,0.12) 0%, rgba(201,168,76,0.06) 100%);
}
.single-footer-cta h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.6rem; margin-bottom: 1rem; color: var(--text); }

/* ─── ARCHIVE / SEARCH HEADER ─────────────────────────────────────── */
.archive-head { padding: 3.5rem 0 1rem; text-align: center; }

/* ─── ACCESSIBILITY ───────────────────────────────────────────────── */
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .featured-grid { grid-template-columns: 1fr; }
  .featured-visual { min-height: 240px; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
  .posts-grid { grid-template-columns: 1fr; }
  .topics-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .newsletter-form { flex-direction: column; }
  .nav-links li:not(:last-child) { display: none; }
  .section-header { flex-direction: column; gap: 0.5rem; }
}
