/*
Theme Name: PoetrySad
Theme URI: https://poetrysad.com
Author: PoetrySad Team
Version: 1.0.0
Description: Words That Speak to the Heart. A modern, emotional, and fully editable WordPress theme for poetry, elegies, and literary solace.
*/

:root {
  --wp-primary: #c084fc;
  --wp-accent: #f43f5e;
  --wp-bg: #090a0f;
  --wp-surface: #12141e;
  --wp-surface-elevated: #161826;
  --wp-text: #f1f5f9;
  --wp-text-muted: #94a3b8;
  --wp-border: rgba(192, 132, 252, 0.2);
  --wp-base-font-size: 16px;
  --wp-heading-scale: 1.25;
  --wp-stanza-line-height: 1.8;
  --font-heading: 'Cinzel', Georgia, serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background-color: var(--wp-bg);
  color: var(--wp-text);
  font-family: var(--font-body);
  font-size: var(--wp-base-font-size);
  line-height: var(--wp-stanza-line-height);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--wp-primary);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
a:hover {
  color: #ffffff;
}

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

.site-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-container-reader {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Utilities */
.font-serif {
  font-family: var(--font-body);
}
.font-sans {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   Announcement Bar & Header
   ========================================================================== */
.announcement-bar {
  background: linear-gradient(90deg, rgba(88, 28, 135, 0.7), rgba(159, 18, 57, 0.7));
  border-bottom: 1px solid rgba(192, 132, 252, 0.25);
  font-size: 0.75rem;
  padding: 0.35rem 1rem;
  color: #f1f5f9;
  text-align: center;
  font-family: 'Inter', sans-serif;
}
.announcement-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.announcement-contacts a {
  color: #e9d5ff;
  margin-left: 0.75rem;
}
.announcement-contacts a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 10, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(192, 132, 252, 0.15);
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-branding a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.site-branding a:hover {
  color: var(--wp-primary);
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.main-navigation a {
  color: #cbd5e1;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  transition: all 0.2s;
}
.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: #ffffff;
  background: rgba(192, 132, 252, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.btn-submit-nav {
  background: linear-gradient(135deg, #9333ea, #f43f5e);
  color: #ffffff !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
  transition: all 0.2s;
}
.btn-submit-nav:hover {
  transform: scale(1.03);
}

/* ==========================================================================
   Hero Section (Exact 1:1 Parity with AI Studio)
   ========================================================================== */
.section-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  background-color: #090a0f;
  background-size: cover;
  background-position: center center;
}
.hero-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  transform: scale(1.05);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 10, 15, 0.9) 0%, rgba(9, 10, 15, 0.8) 50%, rgba(9, 10, 15, 1) 100%);
  opacity: 0.75;
  pointer-events: none;
}
.hero-glow-1 {
  position: absolute;
  top: -6rem;
  left: 25%;
  width: 24rem;
  height: 24rem;
  background: rgba(147, 51, 234, 0.2);
  border-radius: 9999px;
  filter: blur(64px);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -6rem;
  right: 25%;
  width: 24rem;
  height: 24rem;
  background: rgba(225, 29, 72, 0.15);
  border-radius: 9999px;
  filter: blur(64px);
  pointer-events: none;
}
.hero-container {
  position: relative;
  z-index: 10;
  max-width: 64rem; /* max-w-5xl */
  margin: 0 auto;
  padding: 5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem; /* space-y-8 */
  width: 100%;
}
@media (min-width: 640px) {
  .hero-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .hero-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (max-width: 640px) {
  .hero-container {
    padding: 3.5rem 1rem;
    gap: 1.5rem;
  }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: rgba(59, 7, 100, 0.6);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #e9d5ff;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 10px 25px -5px rgba(59, 7, 100, 0.4);
}
.hero-header-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.15;
  text-shadow: 0 0 35px rgba(192, 132, 252, 0.3);
  margin: 0;
}
.hero-subheadline {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  color: #cbd5e1;
  line-height: 1.625;
  max-width: 42rem;
  margin: 0 auto;
  opacity: 0.9;
}
.hero-cta-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 0.5rem;
  width: 100%;
}
@media (max-width: 640px) {
  .hero-cta-group {
    flex-direction: column;
  }
}
.btn-hero-primary {
  width: auto;
  background: linear-gradient(to right, #9333ea, #e11d48);
  color: #ffffff !important;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 1rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(147, 51, 234, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-hero-primary:hover {
  background: linear-gradient(to right, #a855f7, #f43f5e);
  transform: scale(1.05);
}
.btn-hero-secondary {
  width: auto;
  background: rgba(255, 255, 255, 0.05);
  color: #e2e8f0 !important;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 1rem 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(168, 85, 247, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border-color: #c084fc;
  transform: scale(1.05);
}
@media (max-width: 640px) {
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
  }
}
.hero-quote-box {
  padding-top: 1.5rem;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
}
.hero-quote-card-inner {
  background: rgba(18, 20, 30, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.quote-box-label {
  color: #c084fc;
  font-size: 0.75rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-bottom: 0.25rem;
  opacity: 0.75;
}
.quote-box-text {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: #f3e8ff;
  margin: 0;
  line-height: 1.5;
}
.quote-box-author {
  font-size: 0.6875rem;
  font-family: 'Inter', system-ui, sans-serif;
  color: #d8b4fe;
  font-weight: 500;
  padding-top: 0.25rem;
}
.hero-stats-row {
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  border-top: 1px solid rgba(168, 85, 247, 0.1);
  text-align: center;
}
.stat-col {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
.stat-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: #ffffff;
}
.stat-number.purple {
  color: #d8b4fe;
}
.stat-number.rose {
  color: #fda4af;
}
.stat-label {
  font-size: 0.6875rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Featured Verse of the Moment Section (Exact Parity)
   ========================================================================== */
.section-featured-spotlight {
  padding: 5rem 0;
  background: #090a0f;
  border-bottom: 1px solid rgba(192, 132, 252, 0.1);
}
.section-header-center {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem auto;
}
.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  color: #c084fc;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(88, 28, 135, 0.4);
  border: 1px solid rgba(192, 132, 252, 0.25);
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
}
.section-desc {
  color: #94a3b8;
  font-size: 0.95rem;
  margin: 0;
}

.featured-spotlight-card {
  display: grid;
  grid-template-columns: 5fr 7fr;
  background: linear-gradient(135deg, #12141e, #161826 50%, #0f111a);
  border: 1px solid rgba(192, 132, 252, 0.25);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}
@media (max-width: 900px) {
  .featured-spotlight-card {
    grid-template-columns: 1fr;
  }
}
.spotlight-left {
  position: relative;
  min-height: 320px;
  background-color: #0f172a;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  overflow: hidden;
}
.spotlight-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.5;
  display: block;
}
.spotlight-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #12141e 0%, rgba(18, 20, 30, 0.6) 60%, transparent 100%);
  pointer-events: none;
}
.spotlight-top-tags {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
}
.badge-category {
  background: rgba(88, 28, 135, 0.8);
  color: #e9d5ff;
  border: 1px solid rgba(192, 132, 252, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-time {
  background: rgba(0, 0, 0, 0.6);
  color: #cbd5e1;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
}
.spotlight-poet-info {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.spotlight-poet-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #c084fc;
}
.spotlight-poet-name {
  color: #ffffff;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}
.spotlight-poet-era {
  color: #c084fc;
  font-size: 0.75rem;
  font-style: italic;
  margin: 0;
}
.spotlight-dedication {
  position: relative;
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 0.75rem;
  border: 1px solid rgba(192, 132, 252, 0.2);
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-style: italic;
  color: #e9d5ff;
}

.spotlight-right {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(18, 20, 30, 0.9);
}
.spotlight-title a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
}
.spotlight-title a:hover {
  color: #c084fc;
}
.spotlight-stanzas-box {
  background: #0b0c13;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(192, 132, 252, 0.15);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  font-style: italic;
  color: #e2e8f0;
  white-space: pre-line;
}
.spotlight-player-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Audio Reciter Box */
.audio-reciter-box {
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.25), rgba(18, 20, 30, 0.8));
  border: 1px solid rgba(192, 132, 252, 0.25);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.audio-reciter-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.audio-reciter-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: rgba(147, 51, 234, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.audio-reciter-title {
  margin: 0;
  font-size: 0.9rem;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.audio-reciter-sub {
  margin: 0;
  font-size: 0.75rem;
  color: #94a3b8;
}
.btn-recite-play {
  background: #9333ea;
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.25rem;
  border-radius: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-recite-play:hover {
  background: #a855f7;
}
.btn-recite-stop {
  background: #e11d48;
  color: #ffffff;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-read-full {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(192, 132, 252, 0.3);
  color: #e9d5ff !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.65rem 1.25rem;
  border-radius: 0.75rem;
  transition: all 0.2s;
}
.btn-read-full:hover {
  background: rgba(88, 28, 135, 0.4);
  color: #ffffff !important;
}

/* ==========================================================================
   Grids & Cards Layout
   ========================================================================== */
.poetry-archive-grid,
.latest-poetry-grid,
.popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.categories-grid,
.poets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.poem-card {
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}
.poem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(192, 132, 252, 0.4);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}
.poem-card-image-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.poem-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.poem-card:hover .poem-card-img {
  transform: scale(1.05);
}
.poem-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #12141e, transparent);
}
.poem-card-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
}
.poem-card-poet-pill {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.65rem 0.25rem 0.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.poet-avatar-sm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
.poet-name-sm {
  font-size: 0.75rem;
  color: #f1f5f9;
  font-weight: 500;
}
.poem-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}
.poem-card-title a {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}
.poem-card-title a:hover {
  color: var(--wp-primary);
}
.poem-card-excerpt {
  color: #94a3b8;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0.75rem 0 1.25rem 0;
}
.poem-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}
.btn-action-like {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.btn-action-like.liked {
  background: rgba(225, 29, 72, 0.2);
  border-color: rgba(244, 63, 94, 0.4);
  color: #fda4af;
}
.btn-card-read {
  color: #c084fc;
  font-weight: 600;
  font-size: 0.8rem;
}

/* Category Cards */
.category-card {
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.category-card:hover {
  transform: translateY(-4px);
  border-color: #c084fc;
  background: var(--wp-surface-elevated);
}
.cat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.cat-icon-symbol {
  font-size: 1.5rem;
}
.cat-verses-count {
  font-size: 0.75rem;
  color: #c084fc;
  background: rgba(88, 28, 135, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-family: 'Inter', sans-serif;
}
.cat-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
}
.cat-desc {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 1rem 0;
}
.cat-footer-link {
  font-size: 0.8rem;
  color: #c084fc;
  font-weight: 600;
}

/* Poet Directory Cards */
.poet-card {
  background: var(--wp-surface);
  border: 1px solid var(--wp-border);
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: all 0.3s;
}
.poet-card:hover {
  transform: translateY(-4px);
  border-color: #c084fc;
}
.poet-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.poet-card-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #c084fc;
}
.poet-card-name a {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}
.poet-card-era {
  font-size: 0.75rem;
  color: #c084fc;
  font-style: italic;
  margin: 0;
}
.poet-quote-box {
  background: #090a0f;
  border-left: 2px solid #c084fc;
  padding: 0.75rem 1rem;
  font-style: italic;
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
  border-radius: 0 8px 8px 0;
}
.poet-bio-snippet {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.poet-link-action {
  font-size: 0.8rem;
  font-weight: 600;
  color: #c084fc;
}

/* Popular Podium */
.popular-card-wrap {
  position: relative;
}
.rank-badge {
  position: absolute;
  top: -10px;
  right: 15px;
  z-index: 20;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}
.rank-1 { background: linear-gradient(135deg, #eab308, #ca8a04); border: 2px solid #fef08a; }
.rank-2 { background: linear-gradient(135deg, #94a3b8, #64748b); border: 2px solid #e2e8f0; }
.rank-3 { background: linear-gradient(135deg, #d97706, #b45309); border: 2px solid #fde68a; }

/* ==========================================================================
   Contact Page (Polished & Professional)
   ========================================================================== */
.contact-quick-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.quick-contact-card {
  background: var(--wp-surface);
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: 1.25rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all 0.2s ease;
}
.quick-contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(192, 132, 252, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}
.quick-contact-card.whatsapp-card {
  border-color: rgba(16, 185, 129, 0.25);
}
.quick-contact-card.whatsapp-card:hover {
  border-color: rgba(16, 185, 129, 0.6);
}
.quick-contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid rgba(192, 132, 252, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.whatsapp-card .quick-contact-icon {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
}
.quick-contact-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c084fc;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-bottom: 0.2rem;
}
.whatsapp-card .quick-contact-label {
  color: #34d399;
}
.quick-contact-value {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
  font-family: var(--font-heading);
}
.quick-contact-hint {
  font-size: 0.75rem;
  color: #94a3b8;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 2rem;
}
@media (max-width: 900px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
}
.contact-form-card {
  background: var(--wp-surface);
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: 1.5rem;
  padding: 2.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.contact-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
}
.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .form-row-2col {
    grid-template-columns: 1fr;
  }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-group label {
  font-size: 0.75rem;
  color: #cbd5e1;
  font-family: 'Inter', sans-serif;
}
.form-control {
  background: #0b0c13;
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.2s;
}
.form-control:focus {
  outline: none;
  border-color: #c084fc;
  box-shadow: 0 0 15px rgba(192, 132, 252, 0.2);
}
.btn-submit-poem {
  width: 100%;
  background: linear-gradient(135deg, #9333ea, #7e22ce);
  color: #ffffff;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(147, 51, 234, 0.3);
  transition: all 0.2s;
}
.btn-submit-poem:hover {
  background: #a855f7;
}

.contact-info-card,
.contact-faq-card {
  background: var(--wp-surface);
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: 1.5rem;
  padding: 1.75rem;
}
.contact-meta-list p {
  margin: 0 0 0.5rem 0;
  color: #cbd5e1;
}
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 0;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-item strong {
  color: #e9d5ff;
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
}
.faq-item p {
  color: #94a3b8;
  font-size: 0.8rem;
  margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #06070a;
  border-top: 1px solid rgba(192, 132, 252, 0.15);
  padding: 4rem 0 2rem 0;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer-newsletter-box {
  background: linear-gradient(135deg, rgba(88, 28, 135, 0.3), rgba(18, 20, 30, 0.8));
  border: 1px solid rgba(192, 132, 252, 0.25);
  border-radius: 1.5rem;
  padding: 2.5rem;
  margin-bottom: 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.newsletter-badge {
  color: #c084fc;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Inter', sans-serif;
}
.newsletter-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: #ffffff;
  margin: 0.25rem 0;
}
.newsletter-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  margin: 0;
}
.newsletter-form {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  max-width: 440px;
}
.newsletter-input {
  background: #090a0f;
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: #ffffff;
  flex-grow: 1;
  font-size: 0.85rem;
}
.newsletter-btn {
  background: #9333ea;
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 550px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #ffffff;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.footer-about-text {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #ffffff;
  margin: 0 0 1rem 0;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  color: #94a3b8;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
}
.footer-links a:hover {
  color: #c084fc;
}
.social-chip {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  margin: 0.25rem 0.25rem 0.25rem 0;
}
.social-chip:hover {
  border-color: #c084fc;
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: #64748b;
  font-family: 'Inter', sans-serif;
}
.footer-bottom-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.footer-bottom-links a {
  color: #94a3b8;
}
.footer-bottom-links a:hover {
  color: #c084fc;
}

/* ==========================================================================
   Single Poem Reader & Media Styles (Exact Parity with AI Studio)
   ========================================================================== */
.poem-reader-main {
  padding: 3rem 0 5rem 0;
  min-height: 100vh;
}
.reader-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid rgba(192, 132, 252, 0.15);
  padding-bottom: 1.5rem;
  margin-bottom: 2.5rem;
}
.btn-back-archive {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s;
}
.btn-back-archive:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}
.reader-toolbar-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.font-sizer-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.25rem 0.5rem;
}
.btn-font-control {
  background: none;
  border: none;
  color: #94a3b8;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.8rem;
}
.btn-font-control:hover {
  color: #ffffff;
}
.font-size-label {
  font-size: 0.75rem;
  color: #c084fc;
  font-family: monospace;
  padding: 0 0.25rem;
}
.reader-theme-pickers {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem;
  border-radius: 0.75rem;
}
.btn-theme-swatch {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  opacity: 0.6;
}
.btn-theme-swatch:hover,
.btn-theme-swatch.active {
  opacity: 1;
  transform: scale(1.1);
  outline: 2px solid #c084fc;
}
.btn-theme-swatch.theme-midnight { background: #121422; }
.btn-theme-swatch.theme-sepia    { background: #1f1914; }
.btn-theme-swatch.theme-charcoal { background: #1e1e1e; }
.btn-theme-swatch.theme-crimson  { background: #1c0c11; }

/* Poem Single Cover Banner (Exact Parity with AI Studio) */
.poem-single-cover-wrap {
  position: relative;
  width: 100%;
  height: 18rem !important; /* sm:h-72 = 288px */
  max-height: 18rem !important;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(192, 132, 252, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  margin-bottom: 2.5rem;
  background-color: #0b0c14;
}
@media (max-width: 640px) {
  .poem-single-cover-wrap {
    height: 14rem !important; /* h-56 = 224px */
    max-height: 14rem !important;
  }
}
.poem-single-cover-wrap img.poem-single-cover-img,
img.poem-single-cover-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}
.poem-single-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #121422 0%, rgba(18, 20, 34, 0.4) 50%, transparent 100%);
  pointer-events: none;
}
.poem-single-cover-badges {
  position: absolute;
  bottom: 1rem;
  left: 1.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Main Poem Article */
.poem-reader-article {
  background: #121422;
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
@media (max-width: 640px) {
  .poem-reader-article {
    padding: 2rem 1.5rem;
  }
}
.poem-reader-article.theme-midnight { background: #121422; color: #f1f5f9; border-color: rgba(192, 132, 252, 0.2); }
.poem-reader-article.theme-sepia    { background: #1f1914; color: #faebd7; border-color: rgba(245, 158, 11, 0.2); }
.poem-reader-article.theme-charcoal { background: #121212; color: #e2e8f0; border-color: #27272a; }
.poem-reader-article.theme-crimson  { background: #1c0c11; color: #ffe4e6; border-color: rgba(244, 63, 94, 0.2); }

.poem-reader-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem auto;
}
.poem-reader-tags {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.badge-mood {
  background: rgba(159, 18, 57, 0.8);
  color: #fecdd3;
  border: 1px solid rgba(244, 63, 94, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}
.poem-reader-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 1rem 0;
}
.poem-reader-author-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.author-avatar-md {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #c084fc;
}
.author-text-meta {
  text-align: left;
}
.author-name {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  font-family: var(--font-heading);
}
.author-sub {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  font-family: 'Inter', sans-serif;
}
.poem-reader-dedication {
  font-style: italic;
  color: #c084fc;
  font-size: 0.9rem;
  margin: 0.75rem 0 0 0;
  opacity: 0.9;
}

.poem-content-stanzas {
  padding: 2rem 2.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 2.1;
  white-space: pre-line;
  margin: 2rem 0;
}
@media (max-width: 640px) {
  .poem-content-stanzas {
    padding: 1.5rem 1rem;
    font-size: 1.05rem;
    line-height: 1.9;
  }
}

.poem-reader-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}
.actions-left, .actions-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-reader-like, .btn-reader-save, .btn-reader-copy, .btn-reader-quote {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-reader-like {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}
.btn-reader-like:hover {
  color: #f43f5e;
  border-color: rgba(244, 63, 94, 0.4);
}
.btn-reader-save {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}
.btn-reader-save:hover {
  color: #c084fc;
  border-color: rgba(192, 132, 252, 0.4);
}
.btn-reader-copy {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}
.btn-reader-copy:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}
.btn-reader-quote {
  background: #9333ea;
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}
.btn-reader-quote:hover {
  background: #a855f7;
  transform: scale(1.03);
}

/* Poet Bio Card */
.poet-bio-card {
  background: var(--wp-surface);
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 2.5rem;
}
@media (max-width: 640px) {
  .poet-bio-card {
    flex-direction: column;
    text-align: center;
  }
}
.poet-bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 1rem;
  object-fit: cover;
  border: 2px solid #c084fc;
  flex-shrink: 0;
}
.poet-bio-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
.poet-bio-era {
  font-size: 0.75rem;
  color: #c084fc;
  font-style: italic;
  font-family: 'Inter', sans-serif;
}
.poet-bio-quote {
  font-style: italic;
  color: #e9d5ff;
  font-size: 0.85rem;
  margin: 0.5rem 0;
}
.poet-bio-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* Comments & Reflections Section */
.poem-comments-section {
  background: var(--wp-surface);
  border: 1px solid rgba(192, 132, 252, 0.2);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  margin-bottom: 2.5rem;
}
.related-poetry-section {
  padding-top: 1rem;
}
.related-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

