.course-width { width: min(68rem, calc(100% - 3rem)); margin-inline: auto; }
.course-hero { background: #e5ecdf; border-bottom: 1px solid #a8b8a8; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1.27fr) minmax(0, .88fr); align-items: center; gap: clamp(2rem,6vw,6rem); padding-block: clamp(2.5rem,5vw,4.75rem); }
.course-context, .lesson-label { margin: 0 0 .6rem; color: #36594a; font-size: .83rem; font-weight: 600; letter-spacing: .035em; }
.radio-course h1 { font-size: clamp(2.5rem,5.6vw,4.55rem); max-width: 15ch; line-height: 1.01; margin: 0 0 1.15rem; }
.course-lead { font-size: 1.1rem; line-height: 1.55; max-width: 49ch; margin-bottom: 1.45rem; }
.course-button { display: inline-flex; align-items: center; gap: .8rem; min-height: 46px; padding: .7rem 1.1rem; border: 1px solid #164c41; border-radius: 5px; cursor: pointer; background: #164c41; color: white; font: 600 1rem/1.4 OpenSans, Arial, sans-serif; text-decoration: none; }
.course-button:hover { background: #0c332b; }
.radio-course :is(button, input, label):focus-visible { outline: 3px solid #935017; outline-offset: 4px; }
.course-time { font-size: .85rem; color: #37594a; margin: .75rem 0 0; }
.course-hero figure { margin: 0; }
.course-hero figure img { width: 100%; height: auto; display: block; border-radius: .35rem; }
.course-hero figcaption { font-size: .75rem; color: #456454; margin-top: .4rem; }
.course-layout { display: grid; grid-template-columns: minmax(12rem, .64fr) minmax(0, 1.8fr); align-items: start; column-gap: clamp(2rem,7vw,7rem); padding-block: 2.8rem 4rem; }
.lesson-menu { border-top: 3px solid #35624e; padding-top: 1rem; }
.lesson-menu h2 { font-size: 1.45rem; margin: 0 0 .7rem; }
.lesson-menu ol { padding-left: 1.3rem; margin: 0 0 .4rem; }
.lesson-menu li { padding: .25rem 0 .25rem .2rem; }
.lesson-menu a, .sources a { text-decoration-thickness: 1px; }
.menu-check { display: inline-block; margin-top: .5rem; font-weight: 600; }
.lesson { padding: 0 0 2rem; margin: 0 0 2rem; border-bottom: 1px solid #a8b8a8; scroll-margin-top: 1rem; }
.lesson h2, .next-step h2 { font-size: clamp(1.8rem,3.3vw,2.6rem); margin: .15rem 0 1rem; }
.lesson p, .lesson dd { max-width: 69ch; }
.try { margin: 1.35rem 0; padding: 1.2rem 1.35rem; background: #e8eddf; border-left: 4px solid #6b876a; }
.try h3 { margin: 0 0 .5rem; font-size: 1.22rem; }
.try p:last-child { margin: 0; }
.sources { font-size: .88rem; color: #3b5c4c; }
.paths { display: grid; gap: .8rem; margin: 0 0 1rem; }
.paths dt { font-weight: 600; }
.paths dd { margin: .12rem 0 0; }
.lesson blockquote { padding-left: 1.1rem; margin: 1.3rem 0; border-left: 3px solid #ba914d; font-family: Georgia, serif; font-size: 1.22rem; }
.knowledge form { margin: 1.4rem 0 .2rem; }
.knowledge fieldset { border: 0; border-bottom: 1px solid #bcc4b6; padding: 0 0 1.15rem; margin: 0 0 1.25rem; min-width: 0; }
.knowledge legend { font-weight: 600; line-height: 1.45; padding: 0; margin-bottom: .5rem; }
.knowledge label { display: flex; align-items: baseline; gap: .65rem; padding: .48rem .55rem; line-height: 1.45; cursor: pointer; border-radius: 4px; }
.knowledge label:has(input:checked) { background: #e4ebdc; }
.knowledge label:focus-within { outline: 2px solid #35624e; }
.knowledge input { flex: none; accent-color: #164c41; }
.next-step h2 { font-size: 1.7rem; }
.course-footer a { display: inline-block; margin-right: 1rem; }
.course-footer p { margin: 1rem 0 0; font-size: .8rem; }
.course-footer p a { margin: 0; }
@media(max-width: 800px) {
  .radio-course .site-header nav a.course-back { display: inline-flex; align-items: center; min-height: 44px; }
  .radio-course .header-inner { gap: .75rem; }
  .course-width { width: min(43rem, calc(100% - 2rem)); }
  .hero-layout { grid-template-columns: 1fr; gap: 1.4rem; }
  .course-hero figure { max-width: 28rem; }
  .course-hero figure img { max-height: 15rem; object-fit: cover; object-position: 50% 38%; }
  .course-layout { grid-template-columns: 1fr; gap: 2.25rem; padding-top: 1.7rem; }
}
@media(max-width: 380px) {
  .radio-course .brand { width: min(46vw,155px); }
  .radio-course .site-header nav { font-size: .82rem; }
}
@media print {
  .site-header, .skip, .lesson-menu, .course-button, .course-hero figure, .course-footer, .knowledge, .next-step { display: none; }
  .course-width { width: 100%; }
  .hero-layout, .course-layout { display: block; padding: 0; }
  .course-hero, .try { background: white; }
  .lesson { margin: 1.3rem 0; padding: 0 0 .8rem; }
  .try { break-inside: avoid; }
}
