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

:root {
  /* Warm, nurturing color palette */
  --bg-warm: #fdf8f2;
  --bg-soft-cream: #f9efe5;
  --text-deep-earth: #4a3b2f;
  --text-soft-clay: #7a6a5c;
  --primary-terracotta: #e07d5b;
  --primary-sunset: #f0b7a4;
  --accent-sage-soft: #b7c9b1;
  --accent-honey: #e8b87a;
  --border-gentle: #eadacb;
  --card-warm: #ffffffec;
  --quote-warm: #f9eee6;
  --shadow-warm: 0 15px 35px rgba(166, 126, 96, 0.08);

  /* Typography */
  --font-serif: "Source Serif 4", Georgia, serif;
  --font-sans: "Karla", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --container-width: 1200px;
  --content-width: 760px;
  --sidebar-width: 280px;
  --border-radius-xl: 36px;
  --border-radius-lg: 28px;
  --border-radius-md: 18px;
  --border-radius-sm: 12px;
}

/* ===== BASE STYLES ===== */
body {
  background-color: var(--bg-warm);
  font-family: var(--font-sans);
  color: var(--text-deep-earth);
  line-height: 1.8;
  font-size: 18px;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* Focus states for accessibility */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary-terracotta);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Smooth transitions */
a,
button,
.card-hover,
.nav-link,
.technique-card,
.rec-card {
  transition: all 0.25s ease;
}

/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.3;
  color: #3e2f23;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 52px;
  margin-bottom: 0.75rem;
  font-weight: 600;
  background: linear-gradient(135deg, #4a3b2f 0%, #b45f3a 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 34px;
  margin: 3.5rem 0 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-terracotta),
    var(--accent-honey)
  );
  border-radius: 3px;
}

h3 {
  font-size: 26px;
  margin: 2.2rem 0 1rem;
  font-weight: 600;
  color: #5b4a3a;
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-deep-earth);
}

a {
  color: var(--primary-terracotta);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

a:hover {
  border-bottom-color: var(--primary-terracotta);
}

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

/* ===== 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;
}

/* ===== LAYOUT ===== */
.main-wrapper {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 2rem 2rem 0;
}

.article-grid {
  display: flex;
  gap: 3.5rem;
  position: relative;
}

.article-content {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  background: transparent;
}

.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  display: none;
}

/* ===== META & HEADER ===== */
.meta-category {
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #a48d7a;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-category i {
  color: var(--primary-terracotta);
  font-size: 14px;
}

.title-block {
  margin: 0.5rem 0 0.8rem;
}

.subhead {
  font-size: 24px;
  font-family: var(--font-serif);
  color: #b07a5a;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 15px;
  margin: 1.5rem 0 1.2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-gentle);
  border-bottom: 1px solid var(--border-gentle);
  color: #7a6a5c;
}

.byline i {
  color: var(--primary-terracotta);
  margin-right: 0.4rem;
}

.reading-time {
  display: flex;
  align-items: center;
}

/* ===== AUDIO PLAYER ===== */
.audio-player-container {
  background: #f9eee6;
  border-radius: 60px;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  margin: 1rem 0 2rem;
  border: 2px solid var(--primary-terracotta);
}

.audio-player-btn {
  background: var(--primary-terracotta);
  border: none;
  border-radius: 60px;
  padding: 0.8rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: all 0.25s;
}

.audio-player-btn:hover {
  background: #c55d3b;
  transform: scale(1.02) translateY(-2px);
}

.audio-player-btn i {
  font-size: 1.4rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 380px;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  margin: 1.5rem 0 2.5rem;
  box-shadow: var(--shadow-warm);
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, #f9e3d6 0%, #f7d0bc 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  width: 100%;
  background: linear-gradient(
    to top,
    rgba(74, 59, 47, 0.7) 0%,
    transparent 100%
  );
  color: white;
}

.hero-quote {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-style: italic;
  max-width: 70%;
  line-height: 1.4;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  margin-bottom: 0.5rem;
}

.hero-caption {
  font-size: 0.9rem;
  opacity: 0.8;
}

.floating-toddlers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.float-item {
  position: absolute;
  opacity: 0.2;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.float-1 {
  bottom: 20px;
  right: 30px;
  font-size: 5rem;
  animation-delay: 0s;
}
.float-2 {
  top: 40px;
  left: 20px;
  font-size: 4rem;
  animation-delay: 1s;
}
.float-3 {
  top: 100px;
  right: 150px;
  font-size: 3rem;
  animation-delay: 2s;
}
.float-4 {
  bottom: 100px;
  left: 100px;
  font-size: 3.5rem;
  animation-delay: 1.5s;
}

/* ===== HERO SECTION WITH IMAGE ===== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 420px;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  margin: 1.5rem 0 2.5rem;
  box-shadow: var(--shadow-warm);
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hero-section:hover .hero-main-image {
  transform: scale(1.03);
}

.hero-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(74, 59, 47, 0.2) 0%,
    rgba(74, 59, 47, 0.7) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 2.5rem;
  width: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
}

.hero-quote {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-style: italic;
  max-width: 80%;
  line-height: 1.4;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.75rem;
}

.hero-caption {
  font-size: 0.95rem;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-caption i {
  margin-right: 0.4rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section {
    min-height: 320px;
  }
  .hero-content {
    min-height: 320px;
    padding: 1.5rem;
  }
  .hero-quote {
    font-size: 1.3rem;
    max-width: 100%;
  }
  .hero-caption {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: 260px;
  }
  .hero-content {
    min-height: 260px;
    padding: 1.2rem;
  }
  .hero-quote {
    font-size: 1.1rem;
  }
}

/* ===== EMOTIONAL HOOK ===== */
.emotional-hook {
  font-size: 1.3rem;
  line-height: 1.7;
  background: #fef7f0;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  border-left: 8px solid var(--primary-terracotta);
  margin: 2.5rem 0;
  box-shadow: var(--shadow-warm);
  font-family: var(--font-serif);
  color: #5e4d3d;
}

/* ===== AUTHOR'S NOTE ===== */
.authors-note {
  background: #fff7e8;
  padding: 1.5rem 2rem;
  border-radius: 60px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--accent-honey);
  margin: 2rem 0;
}

.authors-note i {
  font-size: 2rem;
  color: var(--primary-terracotta);
}

/* ===== STORY CARD ===== */
.story-card {
  background: var(--card-warm);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  margin: 2.8rem 0;
  border: 1px solid var(--border-gentle);
  box-shadow: var(--shadow-warm);
  position: relative;
}

.story-card:before {
  content: "👂";
  position: absolute;
  top: -18px;
  left: 30px;
  background: white;
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  font-size: 1.4rem;
  border: 1px solid var(--primary-terracotta);
}

.story-card p {
  font-size: 1.2rem;
  font-style: italic;
}

/* ===== MELTDOWN ANATOMY ===== */
.meltdown-anatomy {
  background: #ffeede;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  margin: 3rem 0;
}

.meltdown-step {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.meltdown-step:hover {
  border-color: var(--primary-terracotta);
  background: white;
  transform: translateX(10px);
}

.step-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-title {
  font-weight: 600;
  font-size: 1.2rem;
  color: #4a3b2f;
}

.step-reveal {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: #7a6a5c;
  margin-top: 0;
}

.meltdown-step.active .step-reveal {
  max-height: 100px;
  margin-top: 0.5rem;
}

/* ===== TECHNIQUE CARDS ===== */
.technique-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.technique-card {
  background: white;
  border-radius: var(--border-radius-md);
  padding: 2rem 1.8rem;
  border: 1px solid var(--border-gentle);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.technique-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-terracotta);
  box-shadow: 0 15px 30px rgba(224, 125, 91, 0.1);
}

.technique-card:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-terracotta),
    var(--accent-honey)
  );
  transform: scaleX(0);
  transition: transform 0.3s;
}

.technique-card:hover:after {
  transform: scaleX(1);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-terracotta);
}

.technique-card h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #4a3b2f;
}

/* ===== EXPERT QUOTES ===== */
.expert-quote {
  margin: 2.8rem 0;
  padding: 2rem 2rem 2rem 3rem;
  background: #fdf1e9;
  border-radius: var(--border-radius-lg);
  position: relative;
  border-left: 8px solid var(--primary-terracotta);
}

.expert-quote p {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.6;
  font-style: italic;
  color: #5e4d3d;
  margin-bottom: 1rem;
}

.quote-source {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: #b07a5a;
}

.quote-context {
  margin-top: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 60px;
  font-size: 0.95rem;
  color: #7a6a5c;
}

/* ===== SCENARIO SLIDER ===== */
.scenario-slider {
  background: #fff2e8;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  margin: 3rem 0;
}

.scenario-tabs {
  display: flex;
  gap: 0.8rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.scenario-tab {
  padding: 0.8rem 1.8rem;
  background: white;
  border-radius: 40px;
  border: 2px solid var(--border-gentle);
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.scenario-tab.active {
  background: var(--primary-terracotta);
  color: white;
  border-color: var(--primary-terracotta);
}

.scenario-tab:hover {
  border-color: var(--primary-terracotta);
}

.scenario-content {
  background: white;
  border-radius: var(--border-radius-md);
  padding: 2rem;
  margin-top: 1.5rem;
  display: none;
}

.scenario-content.active {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.response-bad {
  background: #fff1f0;
  border-left: 4px solid #e87a7a;
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  border-radius: 12px;
}

.response-good {
  background: #f0f7ea;
  border-left: 4px solid var(--accent-sage-soft);
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  border-radius: 12px;
}

/* ===== REFLECTION PROMPT ===== */
.reflection-prompt {
  background: linear-gradient(135deg, #fff9f0 0%, #fdf3e7 100%);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  margin: 3rem 0;
  text-align: center;
  border: 2px dashed var(--accent-honey);
}

.prompt-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.prompt-btn {
  background: white;
  border: 2px solid var(--primary-terracotta);
  color: var(--text-deep-earth);
  padding: 0.8rem 1.8rem;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.prompt-btn:hover {
  background: var(--primary-terracotta);
  color: white;
  transform: scale(1.05);
}

.reflection-response {
  background: white;
  border-radius: 60px;
  padding: 1.2rem;
  margin-top: 1.5rem;
  color: #7a6a5c;
  font-style: italic;
  border: 1px solid var(--border-gentle);
}

/* ===== ANONYMOUS SHARING ===== */
.anonymous-sharing {
  background: #faeede;
  border-radius: var(--border-radius-xl);
  padding: 3rem;
  margin: 3rem 0;
  text-align: center;
  border: 3px solid white;
  box-shadow: var(--shadow-warm);
}

.sharing-icons {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.sharing-icons i {
  color: var(--primary-terracotta);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.anonymous-sharing textarea {
  width: 100%;
  padding: 1.5rem;
  border-radius: var(--border-radius-md);
  border: 2px solid var(--border-gentle);
  font-family: var(--font-sans);
  font-size: 1.1rem;
  margin: 1.5rem 0;
  resize: vertical;
}

.anonymous-sharing textarea:focus {
  border-color: var(--primary-terracotta);
  outline: none;
}

.share-btn {
  background: var(--primary-terracotta);
  border: none;
  color: white;
  padding: 1rem 3rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
}

.share-btn:hover {
  background: #c55d3b;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(224, 125, 91, 0.3);
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background: #fcf3ea;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  margin: 3rem 0;
}

.faq-item {
  margin: 2rem 0;
  border-bottom: 1px dashed #dacaba;
  padding-bottom: 1.8rem;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #5e4d3d;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
}

.faq-question i {
  color: var(--primary-terracotta);
  transition: transform 0.3s;
}

.faq-question.open i {
  transform: rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding-left: 2.5rem;
  color: #7a6a5c;
}

.faq-answer.show {
  max-height: 200px;
}

/* ===== AUTHOR BIO ===== */
.author-bio {
  background: #fff4e8;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  margin: 3rem 0 2rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid var(--primary-terracotta);
}

.author-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--primary-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3.5rem;
  box-shadow: 0 8px 20px rgba(224, 125, 91, 0.3);
}

.author-info {
  flex: 1;
}

.author-info h4 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #4a3b2f;
}

.author-credentials {
  font-size: 0.95rem;
  color: #b07a5a;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid #eaceba;
}

/* ===== RECOMMENDATION ENGINE ===== */
.recommendation-engine {
  background: #fff8f2;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  margin: 3rem 0 2rem;
  border: 1px solid var(--border-gentle);
}

.rec-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.rec-header h4 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #4a3b2f;
}

.rec-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.8rem 0;
}

.rec-tab {
  padding: 0.5rem 1.5rem;
  background: white;
  border-radius: 40px;
  border: 2px solid var(--border-gentle);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.rec-tab.active {
  background: var(--primary-terracotta);
  color: white;
  border-color: var(--primary-terracotta);
}

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

.rec-card {
  background: white;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  border: 1px solid var(--border-gentle);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  cursor: pointer;
  transition: all 0.3s;
}

.rec-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-terracotta);
  box-shadow: 0 15px 30px rgba(224, 125, 91, 0.1);
}

.rec-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #a48d7a;
  margin-bottom: 0.5rem;
}

.rec-title {
  font-weight: 600;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.rec-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: #a48d7a;
}

/* ===== 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;
  }
}

/* ===== SIDEBAR ===== */
.sidebar-module {
  background: #fff9f2;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-gentle);
}

.sidebar-module h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #4a3b2f;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  color: var(--text-deep-earth);
  text-decoration: none;
  width: 100%;
  font-size: 0.9rem;
}

.nav-link:hover {
  background: rgba(224, 125, 91, 0.1);
  transform: translateX(5px);
}

.newsletter-form input {
  width: 100%;
  padding: 0.8rem 1.2rem;
  border-radius: 40px;
  border: 1px solid var(--border-gentle);
  margin-bottom: 0.8rem;
  font-family: var(--font-sans);
}

.newsletter-form button {
  width: 100%;
  padding: 0.8rem;
  background: var(--primary-terracotta);
  border: none;
  border-radius: 40px;
  font-weight: 600;
  color: white;
  cursor: pointer;
}

/* ===== UNIQUE ELEMENTS STYLES ===== */
.reading-mode-selector {
  background: white;
  border-radius: 60px;
  padding: 0.5rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-gentle);
  flex-wrap: wrap;
}

.mode-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.mode-btn.active {
  background: var(--primary-terracotta);
  color: white;
}

.essentials-only .expert-quote,
.essentials-only .meltdown-anatomy,
.essentials-only .scenario-slider,
.essentials-only .reflection-prompt,
.essentials-only .future-self-letter {
  display: none !important;
}

.mood-tracker-container {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
  border: 2px solid var(--accent-sage-soft);
}

.mood-tracker-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.mood-tracker-header h4 {
  margin: 0;
  font-size: 1.2rem;
}

.mood-slider-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.mood-slider {
  flex: 1;
  min-width: 150px;
  height: 6px;
  -webkit-appearance: none;
  background: linear-gradient(90deg, #e07d5b, #b7c9b1);
  border-radius: 10px;
  outline: none;
}

.mood-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary-terracotta);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid white;
}

.mood-label-left,
.mood-label-right {
  font-size: 0.85rem;
  color: var(--text-soft-clay);
}

.mood-value {
  text-align: center;
  font-weight: 600;
  margin: 0.5rem 0;
  color: var(--primary-terracotta);
}

.mood-save-btn {
  background: var(--accent-sage-soft);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
}

.mood-save-btn:hover {
  background: #a0ba98;
  transform: translateY(-2px);
}

.mood-feedback {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: var(--text-soft-clay);
  text-align: center;
}

.live-poll {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
  border: 2px solid var(--accent-honey);
}

.poll-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.poll-header h4 {
  margin: 0;
  font-size: 1.2rem;
}

.poll-options {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.poll-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.2rem;
  background: var(--bg-soft-cream);
  border: 1px solid var(--border-gentle);
  border-radius: 60px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  text-align: left;
}

.poll-option:hover {
  background: var(--primary-sunset);
  transform: translateX(4px);
}

.poll-emoji {
  font-size: 1.2rem;
}

.poll-count {
  margin-left: auto;
  background: var(--primary-terracotta);
  padding: 0.2rem 0.6rem;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
}

.poll-footer {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-soft-clay);
  text-align: center;
}

.future-self-letter {
  background: linear-gradient(135deg, #f5e6d8 0%, #fdf1e9 100%);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin: 3rem 0;
  border: 1px solid var(--border-gentle);
}

.letter-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.letter-header h4 {
  margin: 0;
  font-size: 1.5rem;
  color: #4a3b2f;
}

.letter-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.letter-seal {
  text-align: center;
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  color: #8b735f;
}

.reaction-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.reaction-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background: white;
  border: 2px solid var(--border-gentle);
  border-radius: 60px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.reaction-btn:hover {
  background: var(--primary-sunset);
  transform: translateY(-2px);
  border-color: var(--primary-terracotta);
}

.reaction-count {
  margin-left: 0.3rem;
  color: var(--primary-terracotta);
}

.skip-solutions-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-terracotta);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 60px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
}

.skip-solutions-btn.visible {
  opacity: 1;
  visibility: visible;
}

.skip-solutions-btn:hover {
  transform: scale(1.05);
  background: #c55d3b;
}

.break-interstitial {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(74, 59, 47, 0.95);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.break-interstitial.active {
  opacity: 1;
  visibility: visible;
}

.break-content {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: 2.5rem;
  max-width: 450px;
  text-align: center;
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.break-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.break-content h3 {
  margin-bottom: 1rem;
}

.break-continue-btn,
.break-pause-btn {
  margin: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 60px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.break-continue-btn {
  background: var(--primary-terracotta);
  color: white;
}

.break-pause-btn {
  background: transparent;
  border: 2px solid var(--border-gentle);
  color: var(--text-soft-clay);
}

.printable-summary {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
  border: 2px solid var(--accent-honey);
  box-shadow: var(--shadow-warm);
}

.summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.summary-header h4 {
  margin: 0;
}

.print-hint {
  font-size: 0.75rem;
  color: var(--text-soft-clay);
  cursor: pointer;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.summary-item {
  background: var(--bg-soft-cream);
  padding: 0.8rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
}

.summary-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-soft-clay);
  border-top: 1px solid var(--border-gentle);
}

/* ===== SENSORY SENSITIVITIES IMAGE ===== */
.sensory-image-container {
  margin: 2rem 0 1.5rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-warm);
  position: relative;
}

.sensory-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.sensory-image:hover {
  transform: scale(1.02);
}

.sensory-caption {
  background: rgba(74, 59, 47, 0.85);
  color: white;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  backdrop-filter: blur(8px);
}

.sensory-caption i {
  margin-right: 0.5rem;
  color: var(--accent-honey);
}

@media (max-width: 768px) {
  .sensory-caption {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
}

/* Essentials-only content wrapper */
.essentials-only {
  display: none;
}

body.essentials-mode .full-depth-content {
  display: none !important;
}

body.essentials-mode .essentials-only {
  display: block !important;
}

/* Essentials mode content styling */
.essentials-only .essentials-hero {
  background: linear-gradient(135deg, #fdf3e0, #fff5ea);
  border-radius: 24px;
  padding: 2rem;
  margin: 1.5rem 0 2rem;
  text-align: center;
  border: 2px solid var(--primary-terracotta);
}

.essentials-only .essentials-hero h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #4a3b2f;
  margin-bottom: 0.5rem;
  border-bottom: none;
}

.essentials-only .essentials-hero p {
  font-size: 1.1rem;
  margin-bottom: 0;
  color: #7a6a5c;
}

.essentials-only .essentials-list {
  background: white;
  border-radius: 20px;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  border: 1px solid var(--border-gentle);
  box-shadow: var(--shadow-warm);
}

.essentials-only .essentials-list li {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  padding-left: 1.8rem;
  position: relative;
  list-style: none;
  line-height: 1.6;
  color: var(--text-deep-earth);
}

.essentials-only .essentials-list li:before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--primary-terracotta);
  font-weight: 700;
}

.essentials-only .essentials-quote {
  background: #f9eee6;
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--primary-terracotta);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-deep-earth);
}

.essentials-only .essentials-summary {
  background: linear-gradient(135deg, #fef3e0, #fff5ea);
  border-radius: 24px;
  padding: 2rem;
  margin: 2rem 0;
  border: 2px solid var(--accent-honey);
  text-align: center;
}

.essentials-only .essentials-summary h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
  color: #4a3b2f;
}

.essentials-only .essentials-summary .big-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* Reading mode selector enhanced */
.reading-mode-selector {
  background: white;
  border-radius: 60px;
  padding: 0.5rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-gentle);
  flex-wrap: wrap;
  width: 100%;
  box-shadow: var(--shadow-warm);
}

.mode-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft-clay);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mode-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-deep-earth);
}

.mode-btn.active {
  background: var(--primary-terracotta);
  color: white;
  box-shadow: 0 4px 12px rgba(224, 125, 91, 0.3);
}

.mode-btn:hover:not(.active) {
  background: var(--primary-sunset);
  transform: translateY(-2px);
}

/* Skip to Solutions Button */
.skip-solutions-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-terracotta);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 60px;
  font-weight: 600;
  color: white;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transform: translateY(20px);
}

.skip-solutions-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.skip-solutions-btn:hover {
  transform: scale(1.05) translateY(-3px);
  background: #c55d3b;
  box-shadow: 0 8px 30px rgba(224, 125, 91, 0.4);
}

/* Live Poll */
.live-poll {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
  border: 2px solid var(--accent-honey);
  box-shadow: var(--shadow-warm);
}

.poll-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.poll-header h4 {
  margin: 0;
  font-size: 1.15rem;
  font-family: var(--font-serif);
  color: #4a3b2f;
}

.poll-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.poll-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 1.2rem;
  background: var(--bg-soft-cream);
  border: 2px solid transparent;
  border-radius: 60px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-deep-earth);
  transition: all 0.3s ease;
  font-weight: 500;
}

.poll-option:hover {
  background: var(--primary-sunset);
  border-color: var(--primary-terracotta);
  transform: translateX(5px);
}

.poll-option .poll-emoji {
  font-size: 1.2rem;
}

.poll-count {
  margin-left: auto;
  background: var(--primary-terracotta);
  padding: 0.15rem 0.7rem;
  border-radius: 40px;
  font-size: 0.75rem;
  color: white;
  font-weight: 700;
}

.poll-footer {
  margin-top: 1rem;
  font-size: 0.75rem;
  text-align: center;
  color: var(--text-soft-clay);
}

.poll-footer i {
  margin-right: 0.3rem;
  color: var(--accent-sage-soft);
}

/* Letter from Future Self */
.future-self-letter {
  background: linear-gradient(135deg, #f5e6d8 0%, #fdf1e9 100%);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  margin: 3rem 0;
  border: 2px solid var(--primary-sunset);
  position: relative;
  box-shadow: var(--shadow-warm);
}

.future-self-letter:before {
  content: "✧";
  font-size: 4rem;
  position: absolute;
  top: -25px;
  left: 30px;
  background: var(--bg-warm);
  padding: 0 15px;
  color: var(--accent-honey);
  line-height: 1;
}

.letter-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.letter-header h4 {
  margin: 0;
  font-size: 1.5rem;
  color: #4a3b2f;
  font-family: var(--font-serif);
}

.letter-content p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-deep-earth);
}

.letter-content p:last-child {
  margin-bottom: 0;
}

.letter-seal {
  text-align: center;
  margin-top: 1.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-soft-clay);
  font-size: 1rem;
}

/* Reaction Buttons */
.reaction-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2.5rem 0;
  flex-wrap: wrap;
}

.reaction-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.8rem;
  background: white;
  border: 2px solid var(--border-gentle);
  border-radius: 60px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-deep-earth);
}

.reaction-btn:hover {
  background: var(--primary-sunset);
  transform: translateY(-3px);
  border-color: var(--primary-terracotta);
  box-shadow: 0 6px 16px rgba(224, 125, 91, 0.15);
}

.reaction-btn i {
  color: var(--primary-terracotta);
  font-size: 1.1rem;
}

.reaction-count {
  margin-left: 0.3rem;
  background: var(--accent-sage-soft);
  padding: 0.1rem 0.6rem;
  border-radius: 30px;
  font-size: 0.75rem;
  color: #2f443b;
  font-weight: 700;
}

/* Mood Tracker Enhanced */
.mood-tracker-container {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  margin: 2rem 0;
  border: 2px solid var(--accent-sage-soft);
  box-shadow: var(--shadow-warm);
}

.mood-tracker-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.mood-tracker-header h4 {
  margin: 0;
  font-size: 1.15rem;
  font-family: var(--font-serif);
  color: var(--text-deep-earth);
}

.mood-tracker-header i {
  color: var(--primary-terracotta);
  font-size: 1.5rem;
}

.mood-slider-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.mood-slider {
  flex: 1;
  min-width: 150px;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, #e07d5b, #b7c9b1);
  border-radius: 10px;
  outline: none;
}

.mood-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: var(--primary-terracotta);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mood-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--primary-terracotta);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mood-label-left,
.mood-label-right {
  font-size: 0.8rem;
  color: var(--text-soft-clay);
  white-space: nowrap;
}

.mood-value {
  text-align: center;
  font-weight: 700;
  margin: 0.5rem 0;
  color: var(--primary-terracotta);
  font-size: 1.05rem;
}

.mood-save-btn {
  background: var(--accent-sage-soft);
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 60px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  color: #2f443b;
}

.mood-save-btn:hover {
  background: #a0ba98;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(183, 201, 177, 0.3);
}

.mood-feedback {
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-soft-clay);
  text-align: center;
  font-weight: 500;
}

/* Break Interstitial */
.break-interstitial {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(74, 59, 47, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  padding: 1.5rem;
}

.break-interstitial.active {
  opacity: 1;
  visibility: visible;
}

.break-content {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: 2.5rem 2.5rem 2rem;
  max-width: 450px;
  width: 100%;
  text-align: center;
  animation: bounceIn 0.5s ease;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

@keyframes bounceIn {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  60% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.break-icon {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.break-content h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #4a3b2f;
  margin-bottom: 0.8rem;
}

.break-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0.8rem;
  color: var(--text-deep-earth);
}

.break-content .break-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.break-continue-btn,
.break-pause-btn {
  padding: 0.8rem 1.8rem;
  border-radius: 60px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.break-continue-btn {
  background: var(--primary-terracotta);
  color: white;
}

.break-continue-btn:hover {
  background: #c55d3b;
  transform: scale(1.02);
}

.break-pause-btn {
  background: transparent;
  border: 2px solid var(--border-gentle);
  color: var(--text-deep-earth);
}

.break-pause-btn:hover {
  background: var(--bg-soft-cream);
  border-color: var(--primary-terracotta);
}

/* Printable Summary Card */
.printable-summary {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  margin: 2.5rem 0;
  border: 2px solid var(--accent-honey);
  box-shadow: var(--shadow-warm);
}

.summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.summary-header h4 {
  margin: 0;
  font-family: var(--font-serif);
  color: #4a3b2f;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.print-hint {
  font-size: 0.75rem;
  color: var(--text-soft-clay);
  cursor: pointer;
  background: var(--bg-soft-cream);
  padding: 0.3rem 1rem;
  border-radius: 40px;
  border: 1px solid var(--border-gentle);
}

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

.summary-item {
  background: var(--bg-soft-cream);
  padding: 0.8rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
  border: 1px solid var(--border-gentle);
}

.summary-item strong {
  display: block;
  color: var(--primary-terracotta);
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
}

.summary-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  border-top: 1px solid var(--border-gentle);
  color: var(--text-soft-clay);
}

.print-btn {
  background: var(--accent-sage-soft);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 60px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.5rem;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.3s ease;
  color: #2f443b;
}

.print-btn:hover {
  background: #a0ba98;
  transform: translateY(-2px);
}

/* Newsletter in sidebar */
.sidebar-module .newsletter-form {
  background: white;
  padding: 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--border-gentle);
  margin-top: 0.8rem;
}

.sidebar-module .newsletter-form input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 60px;
  border: 2px solid var(--border-gentle);
  background: #fffcf8;
  margin-bottom: 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
}

.sidebar-module .newsletter-form input:focus {
  border-color: var(--primary-terracotta);
  outline: none;
}

.sidebar-module .newsletter-form button {
  background: var(--primary-terracotta);
  border: none;
  color: white;
  padding: 0.8rem;
  border-radius: 60px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

.sidebar-module .newsletter-form button:hover {
  background: #c55d3b;
  transform: scale(1.02);
}

/* Additional image styling */
.additional-image-container {
  margin: 2.5rem 0;
  text-align: center;
  position: relative;
}

.additional-image-container img {
  width: 100%;
  max-width: 700px;
  border-radius: 24px;
  box-shadow: 0 15px 30px rgba(166, 126, 96, 0.12);
  transition: transform 0.5s ease;
  display: block;
  margin: 0 auto;
}

.additional-image-container img:hover {
  transform: scale(1.01);
}

.additional-image-container .image-caption {
  font-size: 0.85rem;
  color: #8b735f;
  margin-top: 0.6rem;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.additional-image-container .image-caption i {
  color: var(--primary-terracotta);
}

/* Internal links styling */
.internal-link {
  background: #f9eee6;
  padding: 0.3rem 1.2rem;
  border-radius: 40px;
  display: inline-block;
  font-weight: 600;
  margin: 0.2rem 0;
  border: 2px solid var(--primary-sunset);
  text-decoration: none;
  color: var(--primary-terracotta);
  transition: all 0.3s ease;
}

.internal-link:hover {
  background: #f0dccf;
  transform: translateY(-2px);
  border-color: var(--primary-terracotta);
}

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

/* Ensure proper spacing for all devices */
@media (max-width: 768px) {
  .footer-container {
    padding: 0 1.5rem;
  }
  .reading-mode-selector {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 0 1rem;
  }
  .reading-mode-selector {
    flex-direction: column;
    align-items: stretch;
    border-radius: 30px;
    padding: 0.8rem;
  }
  .mode-btn {
    justify-content: center;
    padding: 0.6rem;
  }
  .summary-grid {
    grid-template-columns: 1fr;
  }
  .poll-option {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }
  .reaction-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  .future-self-letter {
    padding: 1.5rem;
  }
  .future-self-letter:before {
    font-size: 3rem;
    top: -20px;
    left: 20px;
    padding: 0 10px;
  }
  .letter-header h4 {
    font-size: 1.2rem;
  }
  .letter-content p {
    font-size: 0.95rem;
  }
  .mood-slider-container {
    flex-direction: column;
    gap: 0.5rem;
  }
  .mood-label-left,
  .mood-label-right {
    font-size: 0.75rem;
  }
  .skip-solutions-btn {
    bottom: 15px;
    right: 15px;
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    border-radius: 50px;
  }
  .break-content {
    padding: 1.5rem;
  }
  .break-content h3 {
    font-size: 1.3rem;
  }
  .break-content p {
    font-size: 0.95rem;
  }
  .essentials-only .essentials-hero h2 {
    font-size: 1.4rem;
  }
  .essentials-only .essentials-list li {
    font-size: 0.95rem;
    padding-left: 1.5rem;
  }
}

@media (max-width: 380px) {
  .reaction-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .reaction-btn {
    justify-content: center;
  }
  .summary-header {
    flex-direction: column;
    text-align: center;
  }
}

@media print {
  .reading-mode-selector,
  .skip-solutions-btn,
  .break-interstitial,
  .live-poll,
  .reaction-buttons,
  .site-header,
  .sidebar,
  .site-footer,
  .mood-save-btn {
    display: none !important;
  }

  .printable-summary {
    break-inside: avoid;
    border: 2px solid #ccc !important;
  }

  .mood-tracker-container {
    break-inside: avoid;
  }

  .full-depth-content {
    display: block !important;
  }

  .essentials-only {
    display: none !important;
  }

  body.essentials-mode .full-depth-content {
    display: block !important;
  }

  body.essentials-mode .essentials-only {
    display: none !important;
  }

  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   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;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .site-header,
  .sidebar,
  .audio-player-container,
  .floating-toddlers,
  .reading-mode-selector,
  .live-poll,
  .reaction-buttons,
  .skip-solutions-btn,
  .break-interstitial,
  .anonymous-sharing button,
  .recommendation-engine,
  .footer-trust,
  .footer-disclaimer,
  .footer-newsletter-form,
  .newsletter-form,
  .mood-save-btn,
  #universal-comments {
    display: none !important;
  }
  .printable-summary {
    border: 2px solid #ccc;
    margin: 1rem 0;
  }
  body {
    font-size: 12pt;
  }
  .article-content {
    max-width: 100%;
  }
  h1 {
    font-size: 24pt;
  }
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (min-width: 1025px) {
  .sidebar {
    display: block;
  }
  .article-content {
    margin: 0;
  }
}

@media (max-width: 1024px) {
  h1 {
    font-size: 44px;
  }
  .hero-quote {
    max-width: 100%;
    font-size: 1.5rem;
  }
  .hero-section {
    min-height: 320px;
  }
}

@media (max-width: 900px) {
  .technique-grid {
    grid-template-columns: 1fr;
  }
  .rec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 17px;
  }
  h1 {
    font-size: 38px;
  }
  h2 {
    font-size: 30px;
  }
  h3 {
    font-size: 24px;
  }
  .author-bio {
    flex-direction: column;
    text-align: center;
  }
  .hero-section {
    min-height: 280px;
  }
  .hero-quote {
    font-size: 1.3rem;
  }
  .hero-content {
    padding: 1.5rem;
  }
  .float-1,
  .float-2,
  .float-3,
  .float-4 {
    font-size: 2.5rem;
  }
  .reaction-buttons {
    gap: 0.8rem;
  }
  .reaction-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  .mood-slider-container {
    flex-direction: column;
    align-items: stretch;
  }
  .mood-label-left,
  .mood-label-right {
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .footer-container {
    padding: 1.5rem;
  }
}

@media (max-width: 640px) {
  .nav-bar {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  .nav-links {
    gap: 1.5rem;
  }
  .logo {
    font-size: 1.5rem;
  }
  .byline {
    gap: 1rem;
    font-size: 13px;
  }
  .reading-mode-selector {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 550px) {
  .footer-container {
    padding: 1.2rem 1rem;
  }
  .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;
  }
}

@media (max-width: 480px) {
  .main-wrapper {
    padding: 1rem;
  }
  h1 {
    font-size: 32px;
  }
  .subhead {
    font-size: 18px;
  }
  .hero-section {
    min-height: 220px;
  }
  .hero-quote {
    font-size: 1.1rem;
  }
  .hero-content {
    padding: 1rem;
  }
  .technique-card {
    padding: 1.5rem;
  }
  .rec-grid {
    grid-template-columns: 1fr;
  }
  .summary-grid {
    grid-template-columns: 1fr;
  }
  .scenario-tabs {
    flex-direction: column;
  }
  .scenario-tab {
    text-align: center;
  }
  .anonymous-sharing {
    padding: 1.5rem;
  }
  .faq-section {
    padding: 1.5rem;
  }
  .skip-solutions-btn {
    bottom: 20px;
    right: 20px;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  .audio-player-container {
    flex-direction: column;
    border-radius: 40px;
    padding: 1rem;
    width: 100%;
  }
  .audio-player-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 28px;
  }
  .float-1,
  .float-2,
  .float-3,
  .float-4 {
    font-size: 1.8rem;
  }
  .emotional-hook {
    font-size: 1.1rem;
    padding: 1.2rem;
  }
  .expert-quote p {
    font-size: 1.2rem;
  }
  .quote-context {
    font-size: 0.85rem;
  }
}
