* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --deep-earth: #5d4037;
  --warm-amber: #c97e5a;
  --soft-sage: #b7b8a3;
  --paper-cream: #fffaf5;
  --dusty-rose: #b87c6e;
  --border-warm: #e8ded5;
  --shadow-soft: 0 20px 35px -12px rgba(0, 0, 0, 0.08);
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --gradient-warm: linear-gradient(135deg, #d9b48b 0%, #c97e5a 100%);
}

body {
  background: var(--paper-cream);
  font-family: var(--font-sans);
  color: #2c2c2c;
  line-height: 1.65;
  font-size: 18px;
}

@keyframes gentleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* ===== UNIVERSAL HEADER STYLES ===== */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e0d6cc;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #3a2e28;
  text-decoration: none;
  border-bottom: none;
}

.logo span {
  color: #c17b5e;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #5f4e44;
  font-weight: 500;
  transition: color 0.2s ease;
  border-bottom: none;
  font-size: 1rem;
}

.nav-links a:hover {
  color: #c17b5e;
}

/* Mobile responsive */
@media (max-width: 640px) {
  .nav-bar {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  .nav-links {
    gap: 1.5rem;
  }
  .logo {
    font-size: 1.5rem;
  }
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== UNIVERSAL HEADER STYLES - FIXED ===== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e0d6cc;
  width: 100%;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.logo {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #3a2e28;
  text-decoration: none;
  border-bottom: none;
  flex-shrink: 0;
}

.logo span {
  color: #c17b5e;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #5f4e44;
  font-weight: 500;
  transition: color 0.2s ease;
  border-bottom: none;
  font-size: 1rem;
}

.nav-links a:hover {
  color: #c17b5e;
}

/* Mobile responsive */
@media (max-width: 640px) {
  .nav-bar {
    flex-direction: column;
    text-align: center;
    padding: 0.8rem 1rem;
  }
  .nav-links {
    gap: 1.5rem;
  }
  .logo {
    font-size: 1.5rem;
  }
}

/* Article Grid */
.article-grid {
  display: flex;
  gap: 3rem;
  margin: 2rem 0 3rem;
  flex-wrap: wrap;
}

.main-content {
  flex: 2;
  min-width: 0;
}

.sidebar {
  flex: 1;
  min-width: 280px;
}

/* Typography */
.breadcrumb {
  font-size: 0.8rem;
  color: #9b8b96;
  margin: 0.5rem 0;
}

.breadcrumb i {
  margin-right: 0.3rem;
}

h1 {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--deep-earth);
  letter-spacing: -0.02em;
  margin: 0.5rem 0 1rem;
}

.subhead {
  font-size: 1.4rem;
  color: #7a5e54;
  font-style: italic;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--warm-amber);
  padding-left: 1.2rem;
}

.meta {
  display: flex;
  gap: 1.8rem;
  font-size: 0.9rem;
  color: #9b8b96;
  border-top: 1px solid var(--border-warm);
  border-bottom: 1px solid var(--border-warm);
  padding: 0.8rem 0;
  margin: 1rem 0 1.5rem;
  flex-wrap: wrap;
}

h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin: 2rem 0 1rem;
  color: var(--deep-earth);
  font-weight: 600;
}

h3 {
  font-weight: 600;
  font-size: 1.4rem;
  margin: 1.8rem 0 0.8rem;
  color: #8b5a4a;
}

p {
  margin-bottom: 1.3rem;
  color: #2c2c2e;
}

/* Interactive Elements */
.interactive-pause {
  background: #faf3ea;
  border-radius: 32px;
  padding: 1.8rem 2rem;
  margin: 2rem 0;
  border-left: 8px solid var(--warm-amber);
  transition: all 0.2s;
}

.pause-question {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--deep-earth);
}

.reflection-box {
  background: white;
  border-radius: 28px;
  padding: 1.8rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-warm);
}

.reflection-box h3 {
  margin-top: 0;
  color: var(--warm-amber);
}

.btn-subtle {
  background: transparent;
  border: 1px solid var(--warm-amber);
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s;
  margin-top: 0.8rem;
}

.btn-subtle:hover {
  background: var(--warm-amber);
  color: white;
}

.expert-quote {
  background: linear-gradient(135deg, #faf3ea 0%, #fff5ed 100%);
  border-radius: 32px;
  padding: 2rem;
  margin: 2rem 0;
  border-left: 6px solid var(--warm-amber);
}

.expert-quote p {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.4;
  color: #4a3a35;
  font-style: italic;
}

.expert-quote .quote-author {
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  color: var(--warm-amber);
}

.quote-context {
  font-size: 0.9rem;
  color: #8b7a6e;
  margin-top: 0.8rem;
}

/* Comparison Table */
.comparison-table {
  background: white;
  border-radius: 28px;
  padding: 1.5rem;
  margin: 2rem 0;
  border: 1px solid var(--border-warm);
}

.comparison-table h4 {
  margin-bottom: 1rem;
  color: var(--deep-earth);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.comparison-card {
  padding: 1.2rem;
  border-radius: 20px;
}

.comparison-card.integrity {
  background: #e8f0e6;
}

.comparison-card.despair {
  background: #fae9e6;
}

.comparison-card h5 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Interactive Journal Prompt */
.journal-prompt {
  background: linear-gradient(135deg, #fff9f0 0%, #fff5e8 100%);
  border-radius: 28px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
  border: 2px dashed var(--warm-amber);
}

.journal-prompt textarea {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--border-warm);
  padding: 1rem;
  font-family: var(--font-sans);
  margin: 1rem 0;
  resize: vertical;
}

/* Ritual Card */
.ritual-card {
  background: white;
  border-radius: 28px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-warm);
}

/* Internal Link */
.internal-link {
  background: #f0e8e0;
  border-radius: 40px;
  padding: 0.2rem 1rem;
  text-decoration: none;
  color: var(--deep-earth);
  font-weight: 500;
  transition: 0.2s;
  display: inline-block;
  margin: 0.2rem 0;
}

.internal-link i {
  margin-right: 0.3rem;
}

.internal-link:hover {
  background: var(--warm-amber);
  color: white;
}

/* Author Card */
.soulspace-author-card {
  display: flex;
  gap: 1.8rem;
  background: white;
  border-radius: 32px;
  padding: 2rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-warm);
  flex-wrap: wrap;
}

.author-initials {
  width: 80px;
  height: 80px;
  background: var(--gradient-warm);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  color: white;
  font-family: var(--font-serif);
}

.author-details {
  flex: 1;
}

.eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--warm-amber);
}

.author-name {
  font-size: 1.5rem;
  margin: 0.2rem 0;
}

.author-subtitle {
  color: #8b7a6e;
  margin-bottom: 0.8rem;
}

/* Related Articles */
.related-articles-section {
  margin: 3rem 0 2rem;
  background: #faf3ea;
  border-radius: 28px;
  padding: 2rem;
}

.section-title-sm {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

.related-card {
  background: white;
  border-radius: 20px;
  padding: 1rem;
  transition: all 0.2s;
  border: 1px solid var(--border-warm);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.related-card a {
  text-decoration: none;
  font-weight: 600;
  color: var(--deep-earth);
  display: block;
}

.related-card p {
  font-size: 0.8rem;
  color: #8b7a6e;
  margin-top: 0.4rem;
  margin-bottom: 0;
}

.related-card:hover {
  transform: translateY(-4px);
  border-color: var(--warm-amber);
}

/* FAQ Section */
.faq-section {
  background: #fff4ec;
  border-radius: 28px;
  padding: 1.8rem;
  margin: 2rem 0;
}

.faq-item {
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px dashed var(--border-warm);
}

.faq-item strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--deep-earth);
}

/* Sidebar */
.sidebar-newsletter {
  background: var(--deep-earth);
  color: white;
  border-radius: 24px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.sidebar-newsletter input {
  width: 100%;
  padding: 0.8rem;
  border-radius: 60px;
  border: none;
  margin: 0.8rem 0;
}

.sidebar-newsletter button {
  background: var(--warm-amber);
  border: none;
  padding: 0.8rem;
  width: 100%;
  border-radius: 60px;
  font-weight: 600;
  cursor: pointer;
  color: white;
  transition: 0.2s;
}

.sidebar-newsletter button:hover {
  background: #b56a48;
}

.sidebar-module {
  background: white;
  border-radius: 28px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-warm);
}

.sidebar-module h4 {
  margin-bottom: 0.8rem;
  color: var(--deep-earth);
}

/* Sidebar Module Styling */
.sidebar-module {
  background: white;
  border-radius: 28px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-warm);
}

.sidebar-module h4 {
  margin-bottom: 1rem;
  color: var(--deep-earth);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-module ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-module li {
  margin-bottom: 0.75rem;
}

.sidebar-module li a {
  text-decoration: none;
  color: #5a4a3a;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

.sidebar-module li a i {
  font-size: 0.5rem;
  color: var(--warm-amber);
  transition: transform 0.2s ease;
}

.sidebar-module li a:hover {
  color: var(--warm-amber);
  transform: translateX(5px);
}

.sidebar-module li a:hover i {
  transform: scale(1.2);
}

/* Progress Tracker - Fixed */
.progress-tracker label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  font-size: 0.9rem;
  cursor: pointer;
  color: #3a2e28;
}

.progress-tracker label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--warm-amber);
  cursor: pointer;
  flex-shrink: 0;
}

button.small-save {
  margin-top: 1rem;
  background: var(--warm-amber);
  border: none;
  padding: 0.7rem 1rem;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  color: white;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

button.small-save:hover {
  background: #b56a48;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(201, 126, 90, 0.3);
}

button.small-save:active {
  transform: translateY(0);
}

button.small-save {
  margin-top: 1rem;
  background: #e3dbd0;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 500;
  width: 100%;
}

.audio-player {
  background: #ece3db;
  border-radius: 60px;
  padding: 0.8rem 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  cursor: pointer;
  border: none;
  font-weight: 500;
  transition: 0.2s;
}

.audio-player:hover {
  background: #e0d5c8;
}

.hero-img {
  width: 100%;
  border-radius: 32px;
  object-fit: cover;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-soft);
}

/* ---- Reading Mode Selector ---- */
.reading-mode-selector {
  background: #f9f5f0;
  border-radius: 60px;
  padding: 0.6rem 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-warm);
  flex-wrap: wrap;
}
.mode-label {
  font-size: 0.85rem;
  color: #8b7a6e;
  font-weight: 500;
}
.mode-btn {
  background: transparent;
  border: none;
  padding: 0.4rem 1rem;
  border-radius: 40px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  color: #5a4a3a;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
}
.mode-btn i {
  margin-right: 0.3rem;
}
.mode-btn.active {
  background: var(--warm-amber);
  color: white;
}
.mode-btn:hover:not(.active) {
  background: #f0e8e0;
}
@media (max-width: 480px) {
  .reading-mode-selector {
    border-radius: 20px;
    padding: 0.5rem 0.8rem;
    gap: 0.4rem;
  }
  .mode-btn {
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
  }
  .mode-label {
    font-size: 0.75rem;
  }
}

/* ---- Mood Tracker ---- */
.mood-tracker {
  background: white;
  border-radius: 28px;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  border: 1px solid var(--border-warm);
  box-shadow: var(--shadow-soft);
}
.mood-tracker h4 {
  margin: 0 0 0.2rem 0;
  color: var(--deep-earth);
  font-family: var(--font-serif);
}
.mood-sub {
  color: #8b7a6e;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.mood-slider-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.mood-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 10px;
  background: #e8ddd5;
  outline: none;
  transition: background 0.3s;
}
.mood-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--warm-amber);
  cursor: pointer;
  transition: 0.2s;
}
.mood-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}
.mood-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--warm-amber);
  cursor: pointer;
  border: none;
}
.mood-label-left,
.mood-label-right {
  font-size: 0.7rem;
  color: #8b7a6e;
  white-space: nowrap;
}
.mood-value-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.mood-value-display span {
  font-size: 0.9rem;
  color: #5a4a3a;
}
.mood-save-btn {
  margin-top: 0;
  font-size: 0.85rem;
}
.mood-saved-confirm {
  margin-top: 0.8rem;
  color: var(--warm-amber);
  font-size: 0.9rem;
}
.mood-comparison {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-warm);
}
.mood-comparison-results {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}
.mood-comparison-results strong {
  color: var(--deep-earth);
}
.mood-shift {
  padding: 0.2rem 0.8rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.85rem;
}
.mood-shift.improved {
  background: #d4edda;
  color: #155724;
}
.mood-shift.same {
  background: #fff3cd;
  color: #856404;
}
.mood-shift.worsened {
  background: #f8d7da;
  color: #721c24;
}
.mood-progress-bar {
  margin-top: 0.8rem;
  height: 8px;
  background: #e8ddd5;
  border-radius: 10px;
  overflow: hidden;
}
.mood-progress-fill {
  height: 100%;
  border-radius: 10px;
  background: var(--warm-amber);
  transition: width 0.8s ease;
}
@media (max-width: 480px) {
  .mood-tracker {
    padding: 1rem;
  }
  .mood-slider-container {
    flex-direction: column;
    gap: 0.5rem;
  }
  .mood-label-left,
  .mood-label-right {
    width: 100%;
    text-align: center;
  }
  .mood-value-display {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ---- Live Poll ---- */
.live-poll {
  background: white;
  border-radius: 28px;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  border: 1px solid var(--border-warm);
  box-shadow: var(--shadow-soft);
}
.poll-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.poll-header i {
  color: var(--warm-amber);
  font-size: 1.2rem;
}
.poll-header span {
  font-weight: 600;
  color: var(--deep-earth);
}
.poll-vote-count {
  font-size: 0.85rem;
  font-weight: 400;
  color: #8b7a6e;
}
.poll-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.poll-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  border-radius: 40px;
  border: 1px solid var(--border-warm);
  background: #faf7f4;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #3a2e28;
  width: 100%;
  text-align: left;
}
.poll-option:hover {
  background: #f0e8e0;
  border-color: var(--warm-amber);
}
.poll-option.voted {
  background: var(--warm-amber);
  color: white;
  border-color: var(--warm-amber);
}
.poll-option .poll-emoji {
  font-size: 1.2rem;
}
.poll-vote-badge {
  margin-left: auto;
  background: #e8ddd5;
  padding: 0.1rem 0.8rem;
  border-radius: 40px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #5a4a3a;
}
.poll-option.voted .poll-vote-badge {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}
.poll-note {
  font-size: 0.7rem;
  color: #8b7a6e;
  margin-top: 0.8rem;
  margin-bottom: 0;
}
@media (max-width: 480px) {
  .live-poll {
    padding: 1rem;
  }
  .poll-option {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }
  .poll-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---- Future Self Letter ---- */
.future-self-letter {
  background: linear-gradient(135deg, #faf3ea 0%, #fff8f0 100%);
  border-radius: 28px;
  padding: 2rem;
  margin: 2rem 0;
  border-left: 6px solid var(--warm-amber);
  position: relative;
}
.letter-icon {
  position: absolute;
  top: -15px;
  right: 30px;
  background: var(--warm-amber);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.future-self-letter h4 {
  font-family: var(--font-serif);
  color: var(--deep-earth);
  margin: 0 0 1rem 0;
  font-size: 1.6rem;
}
.letter-body {
  font-family: var(--font-serif);
  font-style: italic;
  color: #4a3a35;
  line-height: 1.8;
}
.letter-body p {
  margin-bottom: 1rem;
}
.letter-greeting {
  font-size: 1.2rem;
  font-weight: 600;
}
.letter-signature {
  font-style: normal;
  font-weight: 500;
  margin-top: 1.5rem;
}
.letter-signature span {
  color: var(--warm-amber);
}
@media (max-width: 480px) {
  .future-self-letter {
    padding: 1.2rem;
  }
  .letter-icon {
    top: -12px;
    right: 15px;
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  .future-self-letter h4 {
    font-size: 1.3rem;
  }
  .letter-body {
    font-size: 0.95rem;
  }
}

/* ---- Reaction Buttons ---- */
.reaction-buttons {
  background: #faf7f4;
  border-radius: 28px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  text-align: center;
  border: 1px solid var(--border-warm);
}
.reaction-label {
  display: block;
  font-weight: 600;
  color: var(--deep-earth);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.reaction-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.reaction-btn {
  background: white;
  border: 1px solid var(--border-warm);
  padding: 0.6rem 1.2rem;
  border-radius: 40px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: #3a2e28;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.reaction-btn i {
  font-size: 1.1rem;
  color: var(--warm-amber);
}
.reaction-btn:hover {
  background: #f0e8e0;
  border-color: var(--warm-amber);
  transform: translateY(-2px);
}
.reaction-btn.reacted {
  background: var(--warm-amber);
  color: white;
  border-color: var(--warm-amber);
}
.reaction-btn.reacted i {
  color: white;
}
.reaction-count {
  background: #e8ddd5;
  padding: 0.1rem 0.6rem;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #5a4a3a;
  min-width: 20px;
  text-align: center;
}
.reaction-btn.reacted .reaction-count {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}
@media (max-width: 480px) {
  .reaction-buttons {
    padding: 1rem;
  }
  .reaction-group {
    gap: 0.5rem;
  }
  .reaction-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  .reaction-btn span:not(.reaction-count) {
    display: none;
  }
}

/* ---- Skip to Solutions Button ---- */
.skip-solutions-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--warm-amber);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 60px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(201, 126, 90, 0.35);
  transition: all 0.3s ease;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease 4s forwards;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.skip-solutions-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 35px rgba(201, 126, 90, 0.45);
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 480px) {
  .skip-solutions-btn {
    bottom: 20px;
    right: 20px;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  .skip-solutions-btn span {
    display: none;
  }
}

/* ---- Break Interstitial ---- */
.break-interstitial {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
  padding: 2rem;
}
.break-interstitial.active {
  opacity: 1;
  pointer-events: all;
}
.break-content {
  background: white;
  border-radius: 32px;
  padding: 3rem 4rem;
  max-width: 520px;
  text-align: center;
  animation: scaleIn 0.6s ease;
}
@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.break-icon {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}
.break-content h3 {
  font-family: var(--font-serif);
  color: var(--deep-earth);
  font-size: 2rem;
  margin: 0.5rem 0;
}
.break-content p {
  color: #5a4a3a;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}
.break-continue-btn {
  background: var(--warm-amber);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 60px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.break-continue-btn:hover {
  background: #b56a48;
  transform: scale(1.02);
}
@media (max-width: 480px) {
  .break-content {
    padding: 2rem 1.5rem;
  }
  .break-content h3 {
    font-size: 1.5rem;
  }
  .break-content p {
    font-size: 1rem;
  }
  .break-icon {
    font-size: 3rem;
  }
}

/* ---- Printable Summary Card ---- */
.printable-summary {
  background: white;
  border-radius: 28px;
  padding: 2rem;
  margin: 2rem 0;
  border: 2px solid var(--warm-amber);
  box-shadow: var(--shadow-soft);
}
.summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--border-warm);
}
.summary-header i {
  color: var(--warm-amber);
  font-size: 1.4rem;
}
.summary-header span {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--deep-earth);
}
.print-btn {
  background: var(--deep-earth);
  color: white;
  border: none;
  padding: 0.4rem 1.2rem;
  border-radius: 40px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.print-btn:hover {
  background: var(--warm-amber);
}
.summary-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.summary-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.8rem;
  background: #faf7f4;
  border-radius: 16px;
}
.summary-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.summary-item strong {
  color: var(--deep-earth);
  display: block;
  font-size: 0.95rem;
}
.summary-item p {
  margin: 0.2rem 0 0 0;
  font-size: 0.85rem;
  color: #5a4a3a;
  line-height: 1.4;
}
.summary-footer {
  text-align: center;
  font-size: 0.8rem;
  color: #8b7a6e;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-warm);
}
@media (max-width: 640px) {
  .printable-summary {
    padding: 1.2rem;
  }
  .summary-body {
    grid-template-columns: 1fr;
  }
  .summary-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .summary-header span {
    font-size: 1.1rem;
  }
}

/* ===== REFERENCE STYLING ===== */
.references-section ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
}

.references-section ol li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

.references-section ol li a {
  word-break: break-all;
}

.references-section .fair-use {
  font-style: italic;
}

/* ===== INTERNAL LINK STYLING ===== */
.internal-link {
  background: #f0e8e0;
  border-radius: 40px;
  padding: 0.2rem 1rem;
  text-decoration: none;
  color: var(--deep-earth);
  font-weight: 500;
  transition: 0.2s;
  display: inline-block;
  margin: 0.2rem 0;
  border: 1px solid transparent;
}

.internal-link i {
  margin-right: 0.3rem;
}

.internal-link:hover {
  background: var(--warm-amber);
  color: white;
  border-color: var(--warm-amber);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 126, 90, 0.2);
}

/* ===== RECOMMENDATION ENGINE STYLING ===== */
.recommendation-engine {
  margin: 2rem 0;
  background: #faf3ea;
  border-radius: 28px;
  padding: 2rem;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.rec-card {
  background: white;
  border-radius: 20px;
  padding: 1.2rem;
  border: 1px solid var(--border-warm);
  transition: all 0.3s ease;
}

.rec-card:hover {
  transform: translateY(-4px);
  border-color: var(--warm-amber);
  box-shadow: var(--shadow-soft);
}

.rec-card a {
  text-decoration: none;
  font-weight: 600;
  color: var(--deep-earth);
  display: block;
  font-size: 1rem;
}

.rec-card a i {
  color: var(--warm-amber);
  margin-right: 0.4rem;
}

.rec-card p {
  font-size: 0.85rem;
  color: #8b7a6e;
  margin-top: 0.4rem;
  margin-bottom: 0;
}

/* ===== RESPONSIVE REFINEMENTS ===== */
@media (max-width: 640px) {
  .references-section {
    padding: 1.2rem !important;
  }

  .references-section ol {
    padding-left: 1rem;
    font-size: 0.85rem;
  }

  .references-section ol li {
    margin-bottom: 0.6rem;
    word-break: break-word;
  }

  .recommendation-engine {
    padding: 1rem;
  }

  .recommendation-grid {
    grid-template-columns: 1fr;
  }

  .rec-card {
    padding: 0.8rem;
  }

  .internal-link {
    padding: 0.15rem 0.7rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .references-section {
    padding: 1rem !important;
    border-radius: 20px;
  }

  .references-section ol {
    font-size: 0.8rem;
    padding-left: 0.8rem;
  }

  .references-section h3 {
    font-size: 1.2rem;
  }

  .references-section ol li a {
    font-size: 0.75rem;
  }

  .rec-card a {
    font-size: 0.9rem;
  }

  .rec-card p {
    font-size: 0.75rem;
  }
}

/* ===== PRINT STYLES FOR REFERENCES ===== */
@media print {
  .references-section {
    background: white !important;
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
  }

  .references-section ol li a {
    color: #0066cc !important;
    text-decoration: underline !important;
  }

  .rec-card {
    break-inside: avoid;
    border: 1px solid #ddd !important;
  }
}

/* ---- Recommendation Engine ---- */
.recommendation-engine {
  margin: 2rem 0;
  background: #faf3ea;
  border-radius: 28px;
  padding: 2rem;
}
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.rec-card {
  background: white;
  border-radius: 20px;
  padding: 1.2rem;
  border: 1px solid var(--border-warm);
  transition: all 0.3s ease;
}
.rec-card:hover {
  transform: translateY(-4px);
  border-color: var(--warm-amber);
  box-shadow: var(--shadow-soft);
}
.rec-card a {
  text-decoration: none;
  font-weight: 600;
  color: var(--deep-earth);
  display: block;
  font-size: 1rem;
}
.rec-card a i {
  color: var(--warm-amber);
  margin-right: 0.4rem;
}
.rec-card p {
  font-size: 0.85rem;
  color: #8b7a6e;
  margin-top: 0.4rem;
  margin-bottom: 0;
}
@media (max-width: 480px) {
  .recommendation-engine {
    padding: 1rem;
  }
  .recommendation-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== RECOMMENDATION ENGINE ===== */
.recommendations-section {
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  background: #fafafa;
  border-radius: 24px;
  padding: 2rem;
}

.recommendations-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  text-align: center;
  position: relative;
}

.recommendations-section h3:after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #6c5ce7;
  margin: 12px auto 0;
  border-radius: 2px;
}

#development-recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .recommendations-section {
    padding: 1.5rem;
    margin: 2rem 0;
  }

  #development-recommendations {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .recommendations-section h3 {
    font-size: 1.25rem;
  }
}

/* ---- Section Image ---- */
.section-image {
  width: 100%;
  border-radius: 24px;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-soft);
  object-fit: cover;
  max-height: 400px;
}

/* ---- Author Bio Update ---- */
.author-bio {
  background: white;
  border-radius: 28px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border: 1px solid var(--border-warm);
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.author-info h4 {
  margin: 0 0 0.3rem 0;
  color: var(--deep-earth);
  font-family: var(--font-serif);
  font-size: 1.2rem;
}
.author-info p {
  margin: 0 0 0.3rem 0;
  font-size: 0.9rem;
  color: #4a3a35;
  line-height: 1.5;
}
.author-credentials {
  font-size: 0.75rem !important;
  color: #8b7a6e !important;
}
@media (max-width: 550px) {
  .author-bio {
    flex-direction: column;
    text-align: center;
    padding: 1.2rem;
  }
}

/* ---- Print Styles ---- */
@media print {
  .site-header,
  .sidebar,
  .skip-solutions-btn,
  .break-interstitial,
  #universal-comments,
  .site-footer,
  .live-poll,
  .mood-tracker,
  .reading-mode-selector,
  .reaction-buttons,
  .future-self-letter,
  .recommendation-engine,
  .related-articles-section {
    display: none !important;
  }
  .printable-summary {
    border: 2px solid #333 !important;
    box-shadow: none !important;
  }
  .print-btn {
    display: none !important;
  }
  .main-content {
    max-width: 100% !important;
    padding: 0 !important;
  }
  body {
    font-size: 12px !important;
    background: white !important;
  }
  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
  .article-grid {
    display: block !important;
  }
  .summary-body {
    grid-template-columns: 1fr 1fr !important;
  }
  .disclaimer-box,
  .references-section {
    display: block !important;
  }
}

/* ---- Utility: What To Do About It section anchor ---- */
#whatToDoAboutIt {
  scroll-margin-top: 100px;
}

/* ============================================================
   UNIVERSAL FOOTER — full-bleed, responsive, article-safe
   Works whether footer is inside .main-wrapper or not
   ============================================================ */

/* 1) Force full viewport width, ignore any parent max-width */
.site-footer {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  background: #2c2826;
  color: #dacbc0;
  padding: 3rem 1.5rem 0;
  margin-top: 4rem;
  position: relative;
  overflow-x: hidden;
}

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

.footer-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0;
}

/* 2) Fluid 4-column grid */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
  width: 100%;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* Brand */
.footer-logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.footer-logo span {
  color: #c87a5a;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #dacbc0;
  margin: 0;
}

/* Column headings */
.footer-col h4 {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.25rem 0;
  letter-spacing: 0.02em;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #dacbc0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #c87a5a;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.footer-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #dacbc0;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.footer-social .social-link:hover {
  background: #c87a5a;
  color: #fff;
}

/* Newsletter form */
.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.footer-newsletter-form input[type="email"] {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.footer-newsletter-form input[type="email"]::placeholder {
  color: rgba(218, 203, 192, 0.6);
}

.footer-newsletter-form input[type="email"]:focus {
  border-color: #c87a5a;
}

/* Newsletter submit button */
.footer-newsletter-form button,
.footer-col form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 40px;
  background: #6f8e7e;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  transition:
    background 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.footer-newsletter-form button:hover,
.footer-col form button:hover {
  background: #6f8e7e;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.footer-newsletter-form button:active,
.footer-col form button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.footer-newsletter-form button:focus-visible,
.footer-col form button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Trust badges */
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #dacbc0;
  white-space: nowrap;
}

.trust-badge i {
  color: #c87a5a;
  flex-shrink: 0;
}

/* Disclaimer */
.footer-disclaimer {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.6rem;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #dacbc0;
  text-align: left;
}

.footer-disclaimer i {
  color: #c87a5a;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Copyright */
.footer-copyright {
  text-align: center;
  padding: 0.5rem 0 1rem;
  width: 100%;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.82rem;
  color: #dacbc0;
  opacity: 0.85;
}

/* Email contact bar */
.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  width: 100%;
  flex-wrap: wrap;
}

.footer-contact i {
  color: #c87a5a;
  flex-shrink: 0;
}

.footer-contact a {
  color: #dacbc0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  word-break: break-word;
}

.footer-contact a:hover {
  color: #c87a5a;
}

/* ============================================================
   RESPONSIVE — footer
   ============================================================ */

/* Tablet: 2 columns */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile: 1 column, centered */
@media (max-width: 560px) {
  .site-footer {
    padding: 2.5rem 1rem 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
  }

  .footer-col {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-newsletter-form {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .footer-trust {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-disclaimer {
    text-align: left;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 800px) {
  .footer-container {
    padding: 1.5rem 1.5rem 1rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-trust {
    gap: 1rem;
  }

  .trust-badge {
    font-size: 0.65rem;
  }

  .footer-disclaimer {
    flex-direction: column;
    text-align: center;
    gap: 0.3rem;
  }
}

@media (max-width: 550px) {
  .footer-container {
    padding: 1.2rem 1rem 0.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-newsletter-form {
    max-width: 280px;
    margin: 0 auto;
  }

  .footer-trust {
    gap: 0.8rem;
  }

  .trust-badge {
    font-size: 0.6rem;
  }

  .footer-copyright p {
    font-size: 0.65rem;
  }
}

/* Animation */
@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-once {
  animation: fadeSlide 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 900px) {
  .article-grid {
    flex-direction: column;
    gap: 2rem;
  }
  h1 {
    font-size: 2.4rem;
  }
  .sidebar {
    width: 100%;
    min-width: auto;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  h1 {
    font-size: 2rem;
  }
  .subhead {
    font-size: 1.2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  body {
    font-size: 16px;
  }
  .nav-bar {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }
  .nav-links {
    justify-content: center;
  }
  .soulspace-author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  h1 {
    font-size: 1.8rem;
  }
  .interactive-pause {
    padding: 1.2rem;
  }
  .reflection-box {
    padding: 1.2rem;
  }
  .expert-quote p {
    font-size: 1.1rem;
  }
}
