.seerah-page{background:var(--cream);}

.seerah-hero{max-width:1200px;margin:0 auto;padding:4rem 6vw 2rem;text-align:center;}
.seerah-hero .eyebrow{font-size:.78rem;letter-spacing:.06em;font-weight:700;color:var(--gold-dark);}
.seerah-hero h1{font-family:'Fraunces',serif;font-size:clamp(2rem,4vw,3rem);color:var(--night);margin:.5rem 0;}
.seerah-hero h1 span{color:var(--gold-dark);}
.seerah-hero p{font-size:1.05rem;color:var(--ink-soft);max-width:640px;margin:0 auto 1.4rem;}

.seerah-progress-wrap{max-width:480px;margin:0 auto;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:1rem 1.4rem;}
.seerah-progress-wrap b{color:var(--night);font-family:'Fraunces',serif;}
.seerah-bar{height:10px;border-radius:99px;background:var(--line);overflow:hidden;margin-top:.6rem;}
.seerah-bar i{display:block;height:100%;background:var(--gold);border-radius:99px;transition:width .4s;}

/* ---------- Timeline ---------- */
.seerah-timeline{max-width:1200px;margin:0 auto;padding:2.5rem 6vw 5rem;position:relative;}
.seerah-timeline::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:3px;background:var(--line);transform:translateX(-50%);z-index:0;}
.seerah-timeline{display:flex;flex-direction:column;gap:0;}
.timeline-point{
  position:relative;z-index:1;background:none;border:0;cursor:pointer;font-family:inherit;
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1.2rem;
  padding:1rem 0;width:100%;text-align:left;
}
.timeline-point:nth-child(odd) .timeline-year,
.timeline-point:nth-child(odd) .timeline-title{grid-column:1;text-align:right;}
.timeline-point:nth-child(odd) .timeline-dot{grid-column:2;}
.timeline-point:nth-child(even) .timeline-year,
.timeline-point:nth-child(even) .timeline-title{grid-column:3;text-align:left;}
.timeline-point:nth-child(even) .timeline-dot{grid-column:2;}
.timeline-point:nth-child(odd) > .timeline-year{grid-row:1;}
.timeline-point:nth-child(odd) > .timeline-title{grid-row:1;}

.timeline-dot{
  width:64px;height:64px;border-radius:50%;background:var(--paper);border:3px solid var(--line);
  display:flex;align-items:center;justify-content:center;position:relative;flex-shrink:0;transition:.15s;
  padding:10px;
}
.timeline-point:hover .timeline-dot{transform:scale(1.08);border-color:var(--gold);}
.timeline-point.active .timeline-dot{border-color:var(--night);background:var(--cream);box-shadow:0 0 0 4px #FBF0DC;}
.timeline-icon{width:100%;height:100%;display:block;}
.timeline-icon svg{display:block;width:100%;height:100%;}
.timeline-check{position:absolute;bottom:-4px;right:-4px;width:22px;height:22px;border-radius:50%;background:var(--green);color:#fff;font-size:.8rem;display:flex;align-items:center;justify-content:center;opacity:0;transform:scale(.6);transition:.15s;}
.timeline-point.read .timeline-check{opacity:1;transform:scale(1);}

.timeline-year{font-weight:700;color:var(--gold-dark);font-size:.82rem;grid-row:1;}
.timeline-title{font-family:'Fraunces',serif;color:var(--night);font-size:1.15rem;grid-row:2;}
.timeline-point:nth-child(odd) .timeline-title{grid-row:2;}
.timeline-point:nth-child(even) .timeline-title{grid-row:2;}

/* ---------- Chapter detail ---------- */
.chapter-view{max-width:760px;margin:0 auto;padding:2rem 6vw 5rem;}
.chapter-nav-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.4rem;}
.chapter-back{background:var(--paper);border:1px solid var(--line);color:var(--night);font-weight:700;padding:.5rem 1rem;border-radius:999px;cursor:pointer;font-size:.88rem;}
.chapter-counter{color:var(--ink-soft);font-weight:700;font-size:.85rem;}

.chapter-head{text-align:center;margin-bottom:1.2rem;}
.chapter-icon{display:block;width:96px;height:96px;margin:0 auto .6rem;}
.chapter-icon svg{display:block;width:100%;height:100%;}
.chapter-year{display:block;color:var(--gold-dark);font-weight:700;font-size:.85rem;}
.chapter-head h2{font-family:'Fraunces',serif;color:var(--night);margin:.3rem 0 0;font-size:1.8rem;}

.chapter-listen{display:inline-flex;align-items:center;gap:.4rem;background:var(--paper);border:1px solid var(--line);color:var(--night);font-weight:700;padding:.55rem 1.2rem;border-radius:999px;cursor:pointer;font-family:inherit;font-size:.88rem;margin-top:1rem;transition:.15s;}
.chapter-listen:hover{border-color:var(--gold);}
.chapter-listen.listening{background:var(--gold);border-color:var(--gold-dark);color:#fff;}

.chapter-story{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem;line-height:1.85;color:var(--ink-soft);font-size:1.02rem;margin-bottom:1.2rem;}
.chapter-story .word{border-radius:4px;transition:background .1s;}
.chapter-story .word.saying{background:#FFE993;color:var(--ink);box-shadow:0 0 0 .12em #FFE993;}

.chapter-lessons{background:#FBF0DC;border-radius:var(--radius-sm);padding:1.2rem 1.4rem;margin-bottom:1.6rem;}
.chapter-lessons b{color:var(--night);display:block;margin-bottom:.4rem;}
.chapter-lessons ul{margin:0;padding-left:1.3rem;color:var(--ink-soft);line-height:1.7;list-style:disc;}
.chapter-lessons li{margin-bottom:.2rem;}

.chapter-actions{display:flex;justify-content:space-between;align-items:center;gap:.6rem;flex-wrap:wrap;}
.chapter-actions button{border:0;border-radius:999px;padding:.7rem 1.3rem;font-weight:700;cursor:pointer;font-family:inherit;font-size:.9rem;}
.chapter-prev,.chapter-next{background:var(--paper);border:1px solid var(--line);color:var(--night);}
.chapter-done{background:var(--green);color:#fff;}
.chapter-done.done{background:#CFE4D6;color:#2F5B3E;}

@media(max-width:720px){
  .seerah-timeline::before{left:32px;}
  .timeline-point{grid-template-columns:auto 1fr;gap:.9rem;}
  .timeline-point:nth-child(odd) .timeline-dot,
  .timeline-point:nth-child(even) .timeline-dot{grid-column:1;grid-row:1 / span 2;}
  .timeline-point:nth-child(odd) .timeline-year,
  .timeline-point:nth-child(even) .timeline-year{grid-column:2;grid-row:1;text-align:left;}
  .timeline-point:nth-child(odd) .timeline-title,
  .timeline-point:nth-child(even) .timeline-title{grid-column:2;grid-row:2;text-align:left;}
  .timeline-dot{width:52px;height:52px;padding:8px;}
  .chapter-icon{width:72px;height:72px;}
}


/* ---------- Headings, evidence box and quick check (2026 update) ---------- */
.chapter-story.story-rich{padding:2rem 2.2rem;font-size:1.08rem;line-height:1.9;color:#3B3530;}
.story-rich p{margin:0 0 1.15em;max-width:66ch;}
.story-rich p:last-child{margin-bottom:0;}
.story-rich p:first-child{font-size:1.14rem;color:var(--night);}
.story-rich .story-h{font-family:'Fredoka',sans-serif;font-weight:600;font-size:1.14rem;color:var(--night);
  margin:1.6em 0 .55em;padding-top:1.1em;border-top:1px solid var(--line);letter-spacing:.01em;}
.story-rich .story-h:first-child{margin-top:0;padding-top:0;border-top:0;}
.chapter-evidence{background:var(--paper);border-left:4px solid var(--gold);border-radius:var(--radius-sm);padding:1rem 1.3rem;margin:0 0 1.2rem;}
.chapter-evidence .ce-label{display:block;font-size:.72rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--gold-dark);margin-bottom:.3rem;}
.chapter-evidence p{font-style:italic;color:var(--night);font-size:1.05rem;margin:.2rem 0;line-height:1.6;}
.chapter-evidence cite{display:block;color:var(--gold-dark);font-weight:700;font-size:.85rem;font-style:normal;margin-top:.3rem;}
.chapter-quiz{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:1.2rem 1.3rem;margin-bottom:1.4rem;}
.chapter-quiz > b{color:var(--night);display:block;margin-bottom:.5rem;}
.quiz-q-text{font-weight:700;color:var(--night);margin:0 0 .6rem;}
.quiz-opts{display:flex;flex-direction:column;gap:.45rem;}
.quiz-opt{text-align:left;background:var(--cream);border:1px solid var(--line);border-radius:999px;padding:.55rem 1rem;cursor:pointer;font-family:inherit;font-size:.95rem;color:var(--ink);transition:.15s;}
.quiz-opt:hover{border-color:var(--gold);}
.quiz-opt.correct{background:#E1F0E4;border-color:#3E7B52;color:#2F5B3E;font-weight:700;}
.quiz-opt.incorrect{background:#FBE3E0;border-color:#C0392B;color:#8B2E22;}
.quiz-opt:disabled{cursor:default;}
.quiz-explain{font-size:.92rem;color:var(--ink-soft);margin:.7rem 0 0;}
.quiz-retry{margin-left:.4rem;background:none;border:1px solid var(--line);border-radius:999px;padding:.2rem .8rem;cursor:pointer;font-family:inherit;}
@media(max-width:600px){
  .chapter-story.story-rich{padding:1.3rem 1.15rem;font-size:1.04rem;line-height:1.85;}
  .story-rich p:first-child{font-size:1.08rem;}
}
