/* Keep the original course presentation inside the Apothecary shell. */
/* The original theme supplies this audio introduction separately from foundations.css. */
.course-page .foundation-listen {
  width:calc(100% - 48px);
  max-width:1120px;
  margin:72px auto;
  padding:clamp(32px,4vw,52px);
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  align-items:center;
  gap:clamp(32px,6vw,80px);
  background:#28392f;
  color:#f6f1e7;
  scroll-margin-top:32px;
}
.course-page .foundation-listen>div {min-width:0}
.course-page .foundation-listen .eyebrow {font-size:10px;line-height:1.7;color:#c6cdbc;letter-spacing:.15em}
.course-page .foundation-listen h2 {font:400 clamp(32px,3.2vw,44px)/1.15 Baskerville,Georgia,serif;margin:18px 0}
.course-page .foundation-listen p {font:14px/1.8 Arial,sans-serif;color:#d5d8ca}
.course-page .foundation-listen>div+div {display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.course-page .foundation-listen audio {display:block;width:100%;min-width:0;height:48px;margin:0}
.course-page .foundation-listen .text-link {color:#f6f1e7;border-color:#a8b59b;font-size:10px;line-height:1.7;padding-bottom:6px}
@media(max-width:760px) {
  .course-page .foundation-listen {grid-template-columns:minmax(0,1fr);gap:28px;margin:48px auto;padding:32px 24px}
  .course-page .foundation-listen h2 {font-size:34px;margin:16px 0}
}
/* Restore the shared Foundations hero layout supplied by the journal theme. */
.course-page .foundation-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);max-width:1500px;margin:0 auto;background:#e9e4d8;min-height:700px}
.course-page .foundation-hero-image{position:relative;min-height:650px;overflow:hidden}
.course-page .foundation-hero-image>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:56% center}
.course-page .foundation-hero-image>span{position:absolute;bottom:35px;left:35px;color:#fff;font:italic 29px/1.3 Baskerville,Georgia,serif;text-shadow:0 1px 12px #14241966}
.course-page .foundation-sales-hero .foundation-hero-copy{padding:65px clamp(28px,5vw,80px);align-self:center}
.course-page .foundation-hero-copy>.eyebrow{font-size:10px;letter-spacing:1.5px}
.course-page .foundation-sales-hero h1{font:400 clamp(52px,5.7vw,92px)/1.12 Baskerville,Georgia,serif;letter-spacing:-2px;margin:30px 0}
.course-page .foundation-hero h1 em{color:#65735b}
.course-page .foundation-sales-hero .foundation-deck{font:italic clamp(23px,2.3vw,34px)/1.4 Baskerville,Georgia,serif;margin:26px 0;color:#52634c}
.course-page .foundation-sales-hero .foundation-hero-copy>p:not(.foundation-deck){font:16px/1.75 Josefin,Arial,sans-serif;color:#67705f;max-width:470px;margin:16px 0}
.course-page .foundation-sales-hero .foundation-hero-copy>.foundation-begin-first{padding-left:18px;border-left:2px solid #8d9b7d;font-size:14px}
.course-page .foundation-hero .button{margin-top:20px}
.course-page .foundation-format{display:grid;gap:10px;margin-top:25px;font:10px/1.7 Josefin,Arial,sans-serif;color:#747968;text-transform:uppercase;letter-spacing:.7px}
@media(max-width:760px){.course-page .foundation-hero{grid-template-columns:1fr;min-height:0}.course-page .foundation-hero-image{min-height:0;aspect-ratio:1.2}.course-page .foundation-hero-image>span{left:24px;bottom:70px;font-size:23px}.course-page .foundation-sales-hero .foundation-hero-copy{padding:40px 25px 42px}.course-page .foundation-sales-hero h1{font-size:58px;line-height:1.12;margin:25px 0;letter-spacing:-1.8px}.course-page .foundation-sales-hero .foundation-hero-copy>p:not(.foundation-deck){font-size:16px}}
.course-page{--cream:#f7f5ef;--paper:#f7f5ef;--ink:#293e2f;--muted:#65705e;--line:#ccd2c2;--serif:Georgia,serif;--sans:Arial,sans-serif;--sage:#e7eadd;--olive:#65705e;line-height:1.7}.course-page .section-heading{display:flex;justify-content:space-between;align-items:end}.course-page .eyebrow{display:block}.course-page .button{line-height:1.5}.course-page h1{font:clamp(55px,6vw,88px)/1.05 var(--serif)}.course-page .foundation-begin-first{font-size:19px;font-weight:600}.course-page .form-honeypot{position:absolute;left:-10000px;height:1px;width:1px;overflow:hidden}.course-page [hidden]{display:none!important}.course-page input[type=email]{display:block;width:100%;min-height:52px;padding:12px;border:1px solid #9fa991;background:#faf9f3;font:16px var(--sans)}.course-page a{color:inherit}.course-page .foundation-form-status{color:#7a322b;line-height:1.7}.course-page .foundation-signup-success a{margin-top:15px}.course-page .classroom{margin-inline:auto}.course-page audio{max-width:100%}.course-page .foundation-small a,.course-page .foundation-signup-consent a{text-decoration:underline}@media(max-width:760px){.course-page .section-heading{display:block}.course-page .foundation-hero-copy{padding:35px 24px}.course-page .foundation-hero h1{font-size:58px}.course-page .foundation-begin-first{font-size:17px}}
/* Complete course rhythm and accessible actions. */
.course-page .foundation-outline{width:100%;max-width:1240px;padding:0 clamp(24px,5vw,60px);margin:80px auto}
.course-page .foundation-outline .section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;margin-bottom:42px}
.course-page .foundation-outline h2{font:400 clamp(34px,4vw,50px)/1.18 Baskerville,Georgia,serif;margin:16px 0 0}
.course-page .foundation-outline-note{max-width:210px;flex-shrink:0;font-size:12px;line-height:1.7}
.course-page .foundation-chapter{grid-template-columns:minmax(0,.3fr) minmax(0,.7fr);gap:40px;padding:40px 0}
.course-page .foundation-chapter-title{padding:0;min-width:0}
.course-page .foundation-chapter-title h3{font-size:29px;line-height:1.2}
.course-page .foundation-chapter-title figure{margin:24px 0}
.course-page .foundation-chapter-title figure img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:100px 100px 0 0}
.course-page .chapter-invitation{font-size:14px;line-height:1.8;color:#657062}
.course-page .foundation-classroom-link{min-width:0;grid-template-columns:70px minmax(0,1fr) 18px;gap:22px;padding:25px 0}
.course-page .foundation-classroom-link strong{font:400 25px/1.25 Baskerville,Georgia,serif}
.course-page .foundation-classroom-link .lesson-overview{font-size:14px;line-height:1.75}
.course-page .foundation-closing{padding:70px 24px}
.course-page .foundation-closing h2{font-size:clamp(36px,4vw,52px)}
.course-page .foundation-closing>p{max-width:560px}
.course-page a.button,.course-page a.lab-edit-button{background:#2b4030;color:#fff;border:1px solid #2b4030;border-radius:0;white-space:normal;line-height:1.6}
.course-page a.button:hover,.course-page a.lab-edit-button:hover{background:#3f5844}
.course-page .lab-edit{max-width:1120px}
.course-page .care-paths{gap:clamp(30px,6vw,80px)}
.course-page .care-links a{min-width:0}
@media(max-width:760px){
.course-page .foundation-outline{margin:48px auto}
.course-page .foundation-outline .section-heading{display:block}
.course-page .foundation-outline-note{display:block;margin-top:20px;max-width:none}
.course-page .foundation-chapter{grid-template-columns:minmax(0,1fr);gap:18px;padding:30px 0}
.course-page .foundation-chapter-title figure{max-width:280px}
.course-page .foundation-classroom-link{grid-template-columns:48px minmax(0,1fr) 16px;gap:15px}
.course-page .foundation-classroom-link strong{font-size:23px}
.course-page .care-paths{grid-template-columns:minmax(0,1fr);padding:40px 24px}
}
.course-page .foundation-classroom-link .lesson-oval{width:70px;height:100px;min-width:0}
@media(max-width:760px){.course-page .foundation-classroom-link .lesson-oval{width:48px;height:70px}}
