/*
Theme Name: The Fat Poet
Theme URI: https://thefatpoet.com
Author: Owen Sesaldo
Author URI: https://owensesaldo.com
Description: Dark cinematic editorial WordPress theme for The Fat Poet.
Version: 2.3.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thefatpoet
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ═══ VARIABLES ═══ */
:root {
  --black: #0c0a09;
  --night: #141210;
  --dark: #1c1917;
  --charcoal: #292524;
  --stone: #57534e;
  --ash: #78716c;
  --warm: #a8a29e;
  --light: #d6d3d1;
  --cream: #f5f5f4;
  --white: #fafaf9;
  --gold: #c4985a;
  --gold-hover: #d4a86a;
  --gold-dim: rgba(196, 152, 90, 0.15);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Libre Baskerville', Georgia, serif;
  --font-ui: 'Outfit', 'Helvetica Neue', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --max-width: 1200px;
  --content-width: 680px;
}

/* ═══ RESET ═══ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.7;
}

::selection { background: var(--gold); color: var(--black); }

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-hover); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.25;
  color: var(--white);
}

/* Film grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

.tfp-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 3rem;
}

/* ═══ HEADER / NAV ═══ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.5s, padding 0.4s var(--ease-out-expo);
}

.site-header.scrolled {
  background: rgba(12, 10, 9, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  padding: 1rem 3rem;
  border-bottom: 1px solid rgba(196, 152, 90, 0.08);
}

.site-branding a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.site-branding a em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.primary-nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.primary-nav a {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out-expo);
}

.primary-nav a:hover,
.primary-nav .current-menu-item a,
.primary-nav .current_page_item a {
  color: var(--cream);
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item a::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ═══ HERO — FULL VIEWPORT FEATURED POEM ═══ */
.hero-featured {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 0 2rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: saturate(0.4) contrast(1.1);
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(12,10,9,0.3) 0%, transparent 70%),
    linear-gradient(to bottom, rgba(12,10,9,0.4) 0%, rgba(12,10,9,0.1) 40%, rgba(12,10,9,0.7) 85%, var(--black) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 0 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-category {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 0.3s forwards;
}

.hero-category a {
  color: var(--gold);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 0.5s forwards;
}

.hero-title a {
  color: var(--white);
  text-decoration: none;
}

.hero-excerpt {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  line-height: 2;
  color: var(--cream);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 0.7s forwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 3rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 0.85rem 2.2rem;
  border-radius: 0;
  transition: all 0.4s var(--ease-out-expo);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 0.9s forwards;
}

.hero-cta:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  gap: 1rem;
}

.hero-cta svg { transition: transform 0.3s; }
.hero-cta:hover svg { transform: translateX(3px); }

.hero-scroll {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 1.3s forwards;
}

.hero-scroll span {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash);
  font-weight: 300;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ═══ THE POET SECTION ═══ */
.the-poet-section {
  position: relative;
  padding: 8rem 3rem;
  overflow: hidden;
}

.the-poet-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 80px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.poet-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
  align-items: center;
}

.poet-portrait { position: relative; }

.poet-portrait::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1px solid var(--gold-dim);
  border-radius: 2px;
  transform: rotate(-2deg);
}

.poet-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.05);
  border-radius: 2px;
}

.poet-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.poet-content h2 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1.8rem;
}

.poet-content h2 em { font-style: italic; color: var(--gold); }

.poet-content p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--light);
  max-width: 520px;
  margin-bottom: 1.2rem;
}

.poet-influences {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.influence-tag {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--warm);
  border: 1px solid var(--charcoal);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  transition: all 0.3s;
}

.influence-tag:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
}

/* ═══ COLLECTION / EDITORIAL GRID ═══ */
.collection-section {
  padding: 4rem 3rem 6rem;
  position: relative;
}

.collection-section::before {
  content: '';
  position: absolute;
  top: 0; left: 3rem; right: 3rem;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--charcoal), transparent);
}

.section-header {
  max-width: var(--max-width);
  margin: 0 auto 4rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
}

.section-header h2 em { font-style: italic; color: var(--gold); }

.view-all-link {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

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

.poem-grid-editorial {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.poem-card {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
}

.poem-card:nth-child(even) { margin-top: 4rem; }

.poem-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.poem-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.5) contrast(1.05);
  transition: all 0.7s var(--ease-out-expo);
}

.poem-card:hover .poem-card-image img {
  filter: saturate(0.7) contrast(1.1);
  transform: scale(1.04);
}

.poem-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,10,9,0.5) 0%, transparent 50%);
  transition: opacity 0.4s;
}

.poem-card-number {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--warm);
  opacity: 0.5;
  z-index: 1;
}

.poem-card-meta {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.meta-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
}

.poem-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0.8rem;
  transition: color 0.3s;
}

.poem-card:hover h3 { color: var(--gold); }

.poem-card-excerpt {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.8;
  color: var(--warm);
  max-width: 480px;
}

/* Archive CTA on front page */
.archive-cta {
  max-width: var(--max-width);
  margin: 4rem auto 0;
  text-align: center;
}

.archive-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 0.95rem 2.5rem;
  transition: all 0.4s var(--ease-out-expo);
}

.archive-cta-link:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  gap: 1rem;
}

.archive-cta-link svg {
  transition: transform 0.3s;
}

.archive-cta-link:hover svg {
  transform: translateX(3px);
}

/* ═══ SINGLE POST — HERO ═══ */
.single-hero {
  position: relative;
  height: 65vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.single-hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.35);
}

.single-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12,10,9,0.2) 0%, var(--black) 95%);
}

.single-hero--no-image {
  padding-top: 120px;
}

.single-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 4rem 4rem;
}

.single-hero-content .back-link {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-weight: 400;
  transition: color 0.3s;
}

.single-hero-content .back-link:hover { color: var(--gold); }

.single-hero-content .post-category {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.single-hero-content .post-category a { color: var(--gold); }

.single-hero-content h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.single-hero-content .post-meta {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm);
  margin-top: 1rem;
}

.single-hero-content .post-meta a { color: var(--warm); }
.single-hero-content .post-meta a:hover { color: var(--gold); }

/* ═══ POST CONTENT ═══ */
.post-content {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 5rem 2.5rem 4rem;
}

.post-content p {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 2.2;
  color: var(--cream);
  margin-bottom: 2.5rem;
}

.post-content h2 {
  font-size: 2rem;
  margin: 3rem 0 1.2rem;
}

.post-content h3 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
}

.post-content blockquote {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.65;
  color: var(--gold);
  border-left: 2px solid var(--gold-dim);
  padding-left: 2rem;
  margin: 2.5rem 0 2.5rem -0.5rem;
}

.post-content blockquote p {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin-bottom: 0;
}

.post-content em { color: var(--gold); }

.post-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold-dim);
}

.post-content a:hover { text-decoration-color: var(--gold); }

.post-content img { border-radius: 2px; margin: 2rem 0; }

.post-content ul, .post-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  color: var(--light);
}

.post-content li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.wp-caption-text {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--ash);
  margin-top: 0.5rem;
  text-align: center;
}

/* ═══ POST TAGS ═══ */
.post-tags {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 2.5rem 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.post-tags a {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--warm);
  border: 1px solid var(--charcoal);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  transition: all 0.25s;
  text-decoration: none;
}

.post-tags a:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
}

/* ═══ POST NAV ═══ */
.post-navigation {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 3rem;
  border-top: 1px solid var(--charcoal);
}

.post-navigation-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0;
}

.post-nav-link {
  text-decoration: none;
  color: inherit;
}

.post-nav-link .nav-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 0.5rem;
  display: block;
}

.post-nav-link .nav-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--cream);
  transition: color 0.25s;
}

.post-nav-link:hover .nav-title { color: var(--gold); }
.post-nav-link--next { text-align: right; }

/* ═══ RELATED POSTS ═══ */
.related-posts {
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--charcoal);
}

.related-posts h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.related-posts h2 em { font-style: italic; color: var(--gold); }

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

.related-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.related-card-image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.related-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.5);
  transition: all 0.5s var(--ease-out-expo);
}

.related-card:hover .related-card-image img {
  filter: saturate(0.7);
  transform: scale(1.04);
}

.related-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--cream);
  transition: color 0.25s;
}

.related-card:hover h4 { color: var(--gold); }

.related-card .related-date {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  color: var(--ash);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

/* ═══ ARCHIVE PAGES ═══ */
.archive-header {
  padding: 10rem 0 3rem;
  text-align: center;
}

.archive-header .archive-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.archive-header h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
}

.archive-header .archive-description {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--warm);
  max-width: 540px;
  margin: 1rem auto 0;
  line-height: 1.8;
}

.archive-content {
  padding: 4rem 3rem 5rem;
}

/* ═══ PAGE TEMPLATE ═══ */
.page-header-section {
  padding: 10rem 0 3rem;
  text-align: center;
  position: relative;
}

.page-header-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

.page-header-section h1 {
  font-size: 2.8rem;
  font-weight: 300;
}

.page-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 2.5rem 5rem;
}

.page-content p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--light);
  margin-bottom: 1.4rem;
}

.page-content h2 {
  font-size: 1.8rem;
  margin: 3rem 0 1rem;
  color: var(--cream);
  padding-top: 2rem;
  border-top: 1px solid var(--charcoal);
}

.page-content h3 {
  font-size: 1.4rem;
  margin: 2.5rem 0 0.8rem;
  color: var(--cream);
}

.page-content h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 2rem 0 0.6rem;
  color: var(--cream);
}

.page-content strong {
  color: var(--cream);
  font-weight: 700;
}

.page-content em {
  color: var(--gold);
}

.page-content img {
  border-radius: 3px;
  margin: 2.5rem auto;
  max-width: 100%;
}

.page-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold-dim);
}

.page-content a:hover {
  text-decoration-color: var(--gold);
}

.page-content ul,
.page-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  color: var(--light);
}

.page-content li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

/* Jetpack share / like widgets on pages */
.page-content .sharedaddy,
.page-content .sd-sharing-enabled,
.page-content .likes-master {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--charcoal);
}

.page-content .sd-title {
  font-family: var(--font-ui) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--warm) !important;
}

/* ═══ PAGINATION ═══ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  padding: 2rem 0 4rem;
}

.pagination a, .pagination span {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 400;
  padding: 0.5rem 1rem;
  border-radius: 2px;
  color: var(--warm);
  transition: all 0.2s;
}

.pagination a:hover { background: var(--charcoal); color: var(--cream); }
.pagination .current { background: var(--gold); color: var(--black); }

/* ═══ SEARCH ═══ */
.search-header {
  padding: 10rem 0 3rem;
  text-align: center;
}

.search-header h1 { font-size: 2.2rem; font-weight: 300; }
.search-header h1 em { font-style: italic; color: var(--gold); }

/* ═══ 404 ═══ */
.error-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2.5rem;
}

.error-404 h1 {
  font-size: 6rem;
  font-weight: 300;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.error-404 p {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--stone);
  margin-bottom: 2rem;
}

.error-404 a {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 0.8rem 2rem;
  border-radius: 0;
  transition: all 0.3s;
}

.error-404 a:hover {
  background: var(--gold);
  color: var(--black);
}

/* ═══ COMMENTS ═══ */
.comments-area {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 3rem 2.5rem 4rem;
  border-top: 1px solid var(--charcoal);
}

.comments-area h2 { font-size: 1.5rem; margin-bottom: 2rem; }
.comment-list { list-style: none; }

.comment-body {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--charcoal);
}

.comment-author {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--cream);
}

.comment-content p { font-size: 0.95rem; color: var(--light); line-height: 1.7; }

.comment-respond label {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--warm);
  display: block;
  margin-bottom: 0.3rem;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--charcoal);
  border-radius: 2px;
  background: var(--dark);
  color: var(--cream);
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.comment-respond input:focus,
.comment-respond textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.comment-respond .submit {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  border: none;
  padding: 0.8rem 2rem;
  cursor: pointer;
  transition: background 0.25s;
}

.comment-respond .submit:hover { background: var(--gold-hover); }

/* ═══ FOOTER ═══ */
.site-footer {
  border-top: 1px solid var(--charcoal);
  padding: 3rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--stone);
}

.footer-logo em { color: var(--gold); font-weight: 300; }

.footer-copy {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--warm);
  text-align: right;
  max-width: 400px;
  line-height: 1.6;
}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 960px) {
  .poet-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; justify-items: center; }
  .poet-portrait { width: 220px; }
  .poet-portrait::before { display: none; }
  .poet-content p { max-width: 100%; }
  .poet-influences { justify-content: center; }
  .poem-grid-editorial { grid-template-columns: 1fr; gap: 4rem; }
  .poem-card:nth-child(even) { margin-top: 0; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .post-navigation-inner { grid-template-columns: 1fr; gap: 2rem; }
  .post-nav-link--next { text-align: left; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--black);
    border-bottom: 1px solid var(--charcoal);
    padding: 1.5rem 3rem;
  }
  .primary-nav.active { display: block; }
  .primary-nav ul { flex-direction: column; gap: 1.2rem; }
  .site-header { padding: 1rem 1.5rem; }
  .site-header.scrolled { padding: 0.8rem 1.5rem; }
  .hero-featured { padding: 5rem 0 2rem; min-height: auto; }
  .hero-title { font-size: 2.8rem; margin-bottom: 1.8rem; }
  .hero-excerpt { font-size: 1.15rem; line-height: 1.9; }
  .hero-cta { margin-top: 2rem; }
  .hero-scroll { margin-top: 2rem; }
  .hero-content { padding: 0 1.5rem; }
  .the-poet-section { padding: 5rem 1.5rem; }
  .collection-section { padding: 3rem 1.5rem 4rem; }
  .collection-section::before { left: 1.5rem; right: 1.5rem; }
  .archive-content { padding: 3rem 1.5rem 4rem; }
  .single-hero-content { padding: 0 1.5rem 3rem; }
  .single-hero-content h1 { font-size: 2.4rem; }
  .post-content { padding: 3rem 1.5rem 3rem; }
  .related-grid { grid-template-columns: 1fr; gap: 2rem; }
  .tfp-container { padding: 0 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-copy { text-align: center; }
}

@media (max-width: 480px) {
  .hero-featured { padding: 4rem 0 1.5rem; }
  .hero-title { font-size: 2.2rem; margin-bottom: 1.5rem; }
  .hero-excerpt { font-size: 1.05rem; line-height: 1.85; }
  .hero-category { font-size: 0.6rem; margin-bottom: 1.2rem; letter-spacing: 0.2em; }
  .hero-cta { font-size: 0.68rem; padding: 0.75rem 1.8rem; margin-top: 1.5rem; }
  .hero-scroll { margin-top: 1.5rem; }
  .hero-content { padding: 0 1.2rem; }
  .single-hero-content h1 { font-size: 1.9rem; }
  .post-content p { font-size: 1.15rem; }
  .archive-header h1 { font-size: 2rem; }
  .section-header h2 { font-size: 1.6rem; }
  .poem-card h3 { font-size: 1.4rem; }
}
