/* Concept 02: editorial content with a persistent course action column. */
.course-page { background: #fff; color: #10365e; font-size: 18px; line-height: 1.7; }
.course-container { width: calc(100% - 112px); max-width: 1280px; margin-inline: auto; }
.course-page h1, .course-page h2, .course-page h3 { color: #10365e; }
.course-page h2 { text-align: left; font-size: 34px; letter-spacing: -.8px; line-height: 1.3; font-weight: 700; }
.course-page h3 { font-size: 20px; line-height: 1.5; font-weight: 600; }
.course-page p { color: #50647a; line-height: 1.8; }
.course-page .button { background: #ff701d; border-color: #ff701d; color: #172b42; border-radius: 5px; font-size: 16px; line-height: 1.5; font-weight: 700; min-height: 54px; white-space: normal; text-align: center; }
.course-page .button:hover { background: #f68a49; filter: none; }
.course-page :is(a, button, summary):focus-visible { outline: 3px solid #0753b4; outline-offset: 5px; }
.course-header { border-bottom: 1px solid #e3eaf0; background: #fff; }
.course-header-inner { min-height: 94px; display: flex; align-items: center; gap: 36px; }
.course-header img { width: 166px; height: 66px; object-fit: contain; }
.course-header nav { display: flex; align-items: center; gap: 36px; margin-inline: auto; font-size: 16px; font-weight: 600; }
.course-header nav a { padding-block: 35px; border-bottom: 2px solid transparent; }
.course-header nav a:hover, .course-header nav .is-current { border-color: #ff701d; }
.course-header-back { font-size: 15px; }
.course-header-back span { margin-left: 8px; }
.course-menu { display: none; }
.course-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; padding: 27px 0 38px; font-size: 14px; color: #617185; }
.course-breadcrumb [aria-current] { color: #10365e; }
.course-breadcrumb a:hover { text-decoration: underline; }
.course-layout { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(300px, 1fr); column-gap: 56px; align-items: start; }
.course-heading { grid-column: 1; grid-row: 1; padding: 10px 0 28px; }
.course-page .course-eyebrow { display: flex; align-items: center; gap: 12px; color: #9d440f; font-size: 14px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 17px; }
.course-eyebrow::before { content: ''; width: 28px; height: 2px; background: #ff701d; flex: 0 0 auto; }
.course-heading h1 { font-size: clamp(40px, 3.7vw, 54px); line-height: 1.2; letter-spacing: -1.2px; max-width: 760px; margin-bottom: 20px; }
.course-heading .course-lead { max-width: 680px; font-size: 20px; }
.course-hero { grid-column: 1; grid-row: 2; }
.course-hero img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; border-radius: 6px; }
.course-page figcaption { font-size: 14px; color: #66778b; margin-top: 9px; line-height: 1.6; }
.course-hero figcaption { text-align: right; }
.course-sidebar { grid-column: 2; grid-row: 1 / span 3; align-self: stretch; min-width: 0; }
.course-action { position: sticky; top: 24px; padding: 28px; border: 1px solid #dce6ef; border-top: 5px solid #ff701d; border-radius: 6px; box-shadow: 0 4px 15px #10365e06; background: #fff; }
.course-page .course-action h2 { font-size: 30px; line-height: 1.35; letter-spacing: -.5px; }
.course-action .course-eyebrow { font-size: 13px; letter-spacing: 1.3px; }
.course-action .course-eyebrow::before { display: none; }
.course-facts { margin: 22px 0; }
.course-facts > div { padding: 13px 0; border-bottom: 1px solid #e6edf3; }
.course-facts dt { font-size: 14px; color: #66778b; margin-bottom: 5px; }
.course-facts dd { margin: 0; font-size: 16px; line-height: 1.7; }
.course-facts .course-duration { font-size: 28px; font-weight: 700; line-height: 1.4; }
.course-consult { width: 100%; }
.course-text-link { display: flex; justify-content: center; gap: 10px; padding: 18px 0; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.course-page .course-action-note { border-top: 1px solid #e6edf3; padding-top: 16px; font-size: 14px; }
.course-content { grid-column: 1; grid-row: 3; min-width: 0; }
.course-section-nav { display: flex; gap: 23px; border-bottom: 1px solid #dce6ef; margin-top: 21px; overflow-x: auto; }
.course-section-nav a { white-space: nowrap; font-size: 14px; padding: 18px 0; border-bottom: 2px solid transparent; }
.course-section-nav a:hover, .course-section-nav a[aria-current] { border-color: #ff701d; color: #10365e; }
.course-section { padding: 42px 0; border-bottom: 1px solid #e6edf3; scroll-margin-top: 24px; }
.course-section h2 { margin-bottom: 20px; }
.course-section > p { max-width: 720px; }
.course-page .course-note { font-size: 15px; color: #637488; margin-top: 14px; }
.course-audience { padding: 28px; background: #f4f8fb; border: 0; border-left: 3px solid #ccdce9; margin-top: 10px; }
.course-page .course-audience h2 { font-size: 28px; margin-bottom: 12px; }
.course-outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 8px 0 0; margin: 0; }
.course-outcomes li + li { border-left: 1px solid #dce6ef; padding-left: 24px; }
.course-number { display: block; color: #ac4a10; font-size: 30px; font-weight: 600; line-height: 1.4; }
.course-outcomes h3 { margin-top: 18px; line-height: 1.6; font-size: 18px; }
.course-page .course-curriculum-note { margin: -5px 0 23px; }
.course-module, .course-question { border: 1px solid #dce6ef; border-radius: 5px; margin-top: 12px; }
.course-module summary, .course-question summary { display: flex; gap: 18px; align-items: center; cursor: pointer; padding: 18px 20px; font-weight: 600; font-size: 17px; list-style: none; }
.course-page summary::-webkit-details-marker { display: none; }
.course-module[open] { background: #f4f8fb; }
.course-module .course-number { font-size: 24px; }
.course-toggle { margin-left: auto; flex: 0 0 12px; height: 12px; position: relative; color: #10365e; }
.course-toggle::before, .course-toggle::after { content: ''; position: absolute; background: currentColor; width: 12px; height: 1.5px; top: 5px; left: 0; }
.course-toggle::after { transform: rotate(90deg); }
details[open] > summary .course-toggle::after { transform: rotate(0); }
.course-module-body { padding: 0 24px 24px 65px; font-size: 16px; }
.course-experience-image { margin-top: 25px; }
.course-experience-image img { width: 100%; height: auto; aspect-ratio: 1.85; object-fit: cover; border-radius: 5px; }
.course-experience-copy { display: grid; grid-template-columns: 1fr 1.65fr; gap: 24px; margin-top: 27px; }
.course-experience-copy p { font-size: 16px; }
.course-pending { display: flex; gap: 24px; align-items: center; margin-top: 24px; background: #f4f8fb; padding: 20px; font-size: 15px; }
.course-pending span { color: #637488; }
.course-trainer-placeholder { display: flex; gap: 22px; align-items: center; }
.course-trainer-placeholder p { font-size: 15px; margin-top: 8px; }
.course-avatar { border-radius: 50%; width: 68px; height: 68px; flex: 0 0 68px; display: grid; place-items: center; background: #edf3f8; color: #768ba1; font-size: 15px; font-weight: 700; }
.course-question { border-width: 0 0 1px; border-radius: 0; margin-top: 0; }
.course-question summary { padding: 22px 0; font-size: 16px; }
.course-question p { padding: 0 24px 22px 0; font-size: 16px; }
.course-practical { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-block: 26px; }
.course-practical > div + div { border-left: 1px solid #dce6ef; padding-left: 24px; }
.course-practical dt { font-size: 15px; font-weight: 600; }
.course-practical dd { margin: 8px 0 0; font-size: 16px; color: #637488; }
.course-final { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; padding: 48px; background: #10365e; margin: 60px 0; border-radius: 5px; }
.course-final h2 { color: white; max-width: 650px; margin-bottom: 15px; font-size: 36px; }
.course-final p { color: #d5e0eb; font-size: 16px; }
.course-final .course-eyebrow { color: #ffb586; }
.course-final-actions { display: grid; gap: 20px; text-align: center; font-size: 15px; color: #fff; }
.course-final-actions > a:last-child { text-decoration: underline; text-underline-offset: 5px; }
.course-footer { background: #fff; color: #10365e; padding: 0 0 35px; }
.course-footer > div { display: flex; align-items: center; gap: 30px; justify-content: space-between; }
.course-footer img { object-fit: contain; }
.course-footer p, .course-footer a { font-size: 14px; }
.course-mobile-action { display: none; }
@media (max-width: 1199px) {
  .course-container { width: calc(100% - 64px); }
  .course-layout { column-gap: 30px; grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr); }
  .course-action { padding: 22px; }
  .course-header-back { display: none; }
  .course-header nav { margin-right: 0; }
  .course-section-nav { gap: 19px; }
  .course-outcomes { gap: 16px; }
  .course-outcomes li + li { padding-left: 16px; }
}
@media (max-width: 991px) {
  .course-layout { grid-template-columns: minmax(0, 1fr); }
  .course-heading, .course-hero, .course-sidebar, .course-content { grid-column: 1; grid-row: auto; }
  .course-action { position: static; margin-top: 30px; }
  .course-page .course-action h2 { font-size: 30px; }
  .course-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
  .course-header nav { gap: 24px; }
  .course-final { padding: 32px; gap: 28px; }
  .course-final h2 { font-size: 30px; }
}
@media (max-width: 767px) {
  .course-page { padding-bottom: calc(84px + env(safe-area-inset-bottom)); font-size: 17px; }
  .course-container { width: calc(100% - 40px); }
  .course-header-inner { flex-wrap: wrap; min-height: 78px; gap: 0; justify-content: space-between; }
  .course-header img { width: 140px; height: 60px; }
  .course-menu { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; background: #fff; border: 1px solid #dce6ef; border-radius: 4px; padding: 8px 12px; font-size: 15px; }
  .course-header nav { display: flex; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
  .course-header nav a { padding: 15px 0; }
  .course-header nav[hidden] { display: none; }
  .course-breadcrumb { padding: 22px 0; gap: 8px; font-size: 14px; }
  .course-heading { padding-top: 8px; }
  .course-heading h1 { font-size: clamp(32px, 8.5vw, 40px); letter-spacing: -.7px; }
  .course-heading .course-lead { font-size: 17px; }
  .course-hero img { aspect-ratio: 1.3; }
  .course-page h2, .course-page .course-action h2, .course-page .course-audience h2 { font-size: 28px; letter-spacing: -.5px; }
  .course-facts { grid-template-columns: 1fr; }
  .course-action { padding: 24px; }
  .course-section { padding-block: 32px; }
  .course-audience { padding: 24px; }
  .course-outcomes { grid-template-columns: 1fr; gap: 20px; }
  .course-outcomes li { display: flex; gap: 22px; align-items: baseline; }
  .course-outcomes li + li { border-left: 0; padding: 20px 0 0; border-top: 1px solid #dce6ef; }
  .course-outcomes h3 { margin: 0; }
  .course-module summary { padding: 18px 15px; font-size: 16px; gap: 12px; }
  .course-module-body { padding: 0 18px 20px; }
  .course-experience-copy { grid-template-columns: 1fr; gap: 12px; }
  .course-experience-image img { aspect-ratio: 1.4; }
  .course-pending { align-items: flex-start; flex-direction: column; gap: 8px; }
  .course-practical { grid-template-columns: 1fr; gap: 18px; }
  .course-practical > div + div { border-left: 0; border-top: 1px solid #dce6ef; padding: 18px 0 0; }
  .course-practical dd { font-size: 16px; }
  .course-final { grid-template-columns: 1fr; margin: 36px 0; padding: 28px 24px; }
  .course-final-actions { justify-items: stretch; }
  .course-footer > div { align-items: flex-start; flex-direction: column; gap: 18px; }
  .course-mobile-action { position: fixed; inset: auto 0 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #dce6ef; box-shadow: 0 -4px 16px #10365e09; }
  .course-mobile-action > span { min-width: 0; font-size: 15px; font-weight: 700; }
  .course-mobile-action small { display: block; font-size: 13px; font-weight: 400; color: #637488; }
  .course-mobile-action .button { flex-shrink: 0; font-size: 14px; padding-inline: 12px; gap: 8px; }
}
@media (min-width: 992px) and (max-height: 780px) {
  .course-action { top: 12px; max-height: calc(100dvh - 24px); overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
