/* Pack Sérénité: only the inner lesson article is restyled. */
.single-ef_course #ef-lesson-content:has(.ef-serenite-lesson) { padding: 0; }
.single-ef_course #ef-lesson-content > .ef-lesson-rich-content:has(> .ef-serenite-lesson) { padding: 0; }
.single-ef_course #ef-lesson-content .ef-serenite-lesson { --serenite-ink: #382733; --serenite-plum: #85385f; color: var(--serenite-ink); min-width: 0; overflow-wrap: anywhere; }
.single-ef_course #ef-lesson-content .ef-serenite-image { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 3 / 1; object-fit: cover; margin: 0; border-radius: 0; }
.single-ef_course #ef-lesson-content .ef-serenite-intro { padding: clamp(1.25rem, 4vw, 2.75rem); background: #fbf7f8; border-bottom: 1px solid #eddee5; }
.single-ef_course #ef-lesson-content .ef-serenite-eyebrow { margin: 0 0 1rem; color: var(--serenite-plum); font-size: .7rem; font-weight: 750; letter-spacing: .13em; line-height: 1.65; }
.single-ef_course #ef-lesson-content .ef-serenite-eyebrow > span { margin-right: .35rem; }
.single-ef_course #ef-lesson-content .ef-serenite-intro h2 { margin: 0 0 1rem; padding: 0; border: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.85rem, 3.3vw, 2.75rem); font-weight: 400; line-height: 1.15; letter-spacing: -.025em; color: var(--serenite-ink); }
.single-ef_course #ef-lesson-content .ef-serenite-lead { max-width: 58ch; margin: 0; font-size: 1.08rem; line-height: 1.75; color: #68545f; }
.single-ef_course #ef-lesson-content .ef-serenite-path { display: flex; flex-wrap: wrap; gap: .8rem 1.8rem; margin-top: 1.6rem; color: #68545f; font-size: .78rem; }
.single-ef_course #ef-lesson-content .ef-serenite-path span { display: inline-flex; align-items: center; gap: .55rem; }
.single-ef_course #ef-lesson-content .ef-serenite-path b { color: var(--serenite-plum); font-size: .68rem; font-weight: 700; }
.single-ef_course #ef-lesson-content .ef-serenite-reading { padding: clamp(1.4rem, 4vw, 2.75rem); }
.single-ef_course #ef-lesson-content .ef-serenite-original { max-width: 70ch; margin-inline: auto; line-height: 1.9; }
.single-ef_course #ef-lesson-content .ef-serenite-original > :first-child { margin-top: 0; }
.single-ef_course #ef-lesson-content .ef-serenite-original p { line-height: 1.9; margin-bottom: 1.35rem; }
.single-ef_course #ef-lesson-content .ef-serenite-original blockquote { margin: 1.8rem 0; padding: 1.4rem 1.6rem; border-left: 3px solid #a96887; border-radius: 0 12px 12px 0; background: #faf5f7; font-style: normal; }
.single-ef_course #ef-lesson-content .ef-serenite-original blockquote p { font-style: normal; }
.single-ef_course #ef-lesson-content .ef-serenite-takeaway { margin: 0 clamp(1.25rem, 4vw, 2.75rem) 1.5rem; padding: 1.5rem 1.75rem; background: #f3e9ee; border: 1px solid #e8d7e0; border-radius: 14px; }
.single-ef_course #ef-lesson-content .ef-serenite-takeaway > p:last-child { margin: 0; color: #523243; font-family: Georgia, 'Times New Roman', serif; font-size: 1.3rem; line-height: 1.65; }
.single-ef_course #ef-lesson-content .ef-serenite-practice { margin: 0 clamp(1.25rem, 4vw, 2.75rem) 2.5rem; padding: 1.75rem; border: 1px solid #e6dce1; border-radius: 14px; background: #fff; }
.single-ef_course #ef-lesson-content .ef-serenite-practice h3 { margin: 0 0 .65rem; padding: 0; font-size: 1.25rem; }
.single-ef_course #ef-lesson-content .ef-serenite-practice > p { font-size: .95rem; }
.single-ef_course #ef-lesson-content .ef-serenite-practice ol { margin: 1.5rem 0; padding: 0; list-style: none; counter-reset: serenite-step; }
.single-ef_course #ef-lesson-content .ef-serenite-practice li { display: grid; grid-template-columns: 1.8rem minmax(0, 1fr); gap: .8rem; margin: 0 0 1rem; padding: 0; line-height: 1.75; counter-increment: serenite-step; }
.single-ef_course #ef-lesson-content .ef-serenite-practice li::before { content: counter(serenite-step); position: static; display: flex; justify-content: center; align-items: center; width: 1.8rem; height: 1.8rem; margin-top: .1rem; color: var(--serenite-plum); background: #f5edf1; border-radius: 50%; font-size: .8rem; font-weight: 700; }
.single-ef_course #ef-lesson-content .ef-serenite-gentle { padding-top: 1rem; border-top: 1px solid #efe6eb; color: #756570; font-size: .85rem; }
@media (max-width: 600px) {
  .single-ef_course #ef-lesson-content .ef-serenite-image { aspect-ratio: 16 / 7; }
  .single-ef_course #ef-lesson-content .ef-serenite-intro h2 { font-size: 1.95rem; }
  .single-ef_course #ef-lesson-content .ef-serenite-lead { font-size: 1rem; }
  .single-ef_course #ef-lesson-content .ef-serenite-path { gap: .7rem 1.1rem; }
  .single-ef_course #ef-lesson-content .ef-serenite-original blockquote,
  .single-ef_course #ef-lesson-content .ef-serenite-takeaway,
  .single-ef_course #ef-lesson-content .ef-serenite-practice { padding: 1.15rem; }
  .single-ef_course #ef-lesson-content .ef-serenite-takeaway > p:last-child { font-size: 1.18rem; }
}
