/* Live site refresh: course page, reviews and shared footer. */
.eyebrow::before,
.site-footer::before { display: none !important; }

/* Student reviews: whole cards fit within the content width. */
.review-carousel { max-width: 100%; min-width: 0; margin: 0 auto 28px; }
.review-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: none; padding: 5px 0 16px; }
.review-track::-webkit-scrollbar { display: none; }
.review-slide { flex: 0 0 calc((100% - 40px) / 3); min-width: 0; margin: 0; padding: 30px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.review-slide blockquote { margin: 0; padding: 0; border: 0; color: var(--navy); font-size: 1.08rem; font-weight: 500; line-height: 1.55; }
.review-slide figcaption { display: flex; align-items: center; gap: 12px; }
.review-slide figcaption strong { display: block; color: var(--ink); font-size: .9rem; line-height: 1.3; }
.review-slide figcaption small { display: block; color: var(--navy-light); font-size: .77rem; }
.review-avatar { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--paper); font-weight: 700; }
.review-controls { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.review-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--navy); cursor: pointer; transition: background .2s ease, color .2s ease; }
.review-controls button:hover { background: var(--navy); color: var(--paper); }
.review-box { margin-top: 24px; }
.review-box > div { min-width: 0; }

/* Shared footer: confident hierarchy, calm link columns and clear next step. */
.site-footer { background: var(--navy-dark); color: var(--paper); padding: 0 0 26px; overflow: hidden; }
.footer-intro { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding: 72px 0 58px; margin-bottom: 58px; border-bottom: 1px solid rgba(255,255,255,.18); position: relative; }
.footer-intro::after { content: ""; position: absolute; right: 12%; top: -180px; width: 340px; height: 340px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; pointer-events: none; }
.footer-kicker { display: block; margin-bottom: 18px; color: #f0b3ab; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-intro h2 { max-width: 690px; margin: 0 0 14px; color: var(--paper); font-size: clamp(2.3rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -.025em; }
.footer-intro p { margin: 0; color: #c8cfdf; font-size: 1.02rem; }
.footer-intro .btn { flex: none; z-index: 1; }
.footer-grid { grid-template-columns: minmax(260px, 1.5fr) repeat(2, minmax(130px, .8fr)) minmax(240px, 1.2fr); gap: clamp(28px, 4vw, 68px); margin-bottom: 58px; }
.footer-brand-col { margin-right: 0; }
.footer-grid p { max-width: 32ch; line-height: 1.75; color: #c8cfdf; }
.footer-grid h4 { margin: 4px 0 23px; color: var(--paper); font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; }
.footer-grid ul { gap: 14px; }
.footer-grid li { color: #c8cfdf; line-height: 1.5; overflow-wrap: anywhere; }
.footer-grid a { color: #c8cfdf; }
.footer-grid a:hover { color: var(--paper); }
.footer-logo img { height: 70px; width: auto; margin-bottom: 24px; padding: 7px 11px; border-radius: 10px; }
.footer-cpd { height: 64px; margin-top: 20px; border-radius: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding-top: 26px; color: #c8cfdf; font-size: .82rem; }
.footer-social { gap: 8px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; font-size: 1rem; color: var(--paper); transition: background .2s ease, transform .2s ease; }
.footer-social a:hover { background: var(--brick); transform: translateY(-3px); opacity: 1; }
.site-footer { padding-top: clamp(60px, 7vw, 105px); }
.footer-grid { align-items: start; }
.footer-brand-col { padding: clamp(24px, 3vw, 38px); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-lg); }
.footer-wordmark { display: block; max-width: 12ch; margin-bottom: 26px; color: var(--navy) !important; font-size: clamp(1.8rem, 2.5vw, 2.65rem); font-weight: 700; line-height: 1.05; letter-spacing: -.025em; }
.footer-brand-col p { color: var(--navy) !important; }
.footer-cpd { width: auto; height: 58px; object-fit: contain; }
.footer-social a { border: 0; }

/* Course page: the same type, colors and spacing as the rest of the site. */
.course-hero { position: relative; text-align: left; padding: 78px 0; background: var(--navy-dark); overflow: hidden; }
.split-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.course-hero::before { content: ""; position: absolute; right: -120px; top: -240px; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; pointer-events: none; }
.course-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(40px, 5vw, 88px); position: relative; z-index: 1; }
.course-hero .crumb { display: block; margin-bottom: 28px; color: #c8cfdf; }
.course-hero .eyebrow { color: #f0b3ab; }
.course-hero h1 { max-width: 12ch; margin: 0 0 22px; color: var(--paper); font-size: clamp(2.6rem, 5vw, 5rem); line-height: 1.05; letter-spacing: -.03em; }
.course-hero p { max-width: 57ch; color: #dce1ec; font-size: 1.07rem; line-height: 1.65; }
.course-hero .hero-cta { display: flex; justify-content: flex-start; gap: 12px; flex-wrap: wrap; }
.course-hero-media { position: relative; }
.course-hero-media img { display: block; width: 100%; min-height: 510px; max-height: 620px; object-fit: cover; object-position: center; border-radius: var(--radius); }
.course-media-caption { position: absolute; left: 18px; bottom: 18px; padding: 8px 14px; border-radius: 999px; background: var(--paper); color: var(--navy); font-weight: 700; font-size: .78rem; }
.course-facts { background: var(--cream); border-bottom: 1px solid var(--line); }
.course-facts .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 20px; padding-bottom: 20px; }
.course-facts span { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-size: .83rem; font-weight: 700; }
.course-facts i { color: var(--brick); }
.course-jump-nav { background: var(--paper); border-bottom: 1px solid var(--line); }
.course-jump-nav .container { display: flex; gap: clamp(18px, 3vw, 46px); overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.course-jump-nav .container::-webkit-scrollbar { display: none; }
.course-jump-nav a { display: inline-block; flex: none; padding: 17px 0; color: var(--navy); font-size: .85rem; font-weight: 700; border-bottom: 2px solid transparent; }
.course-jump-nav a:hover, .course-jump-nav a:focus-visible { color: var(--brick); border-color: var(--brick); }
.course-overview-grid, .course-schedule-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.course-overview h2, .course-schedule h2 { max-width: 16ch; font-size: clamp(2rem, 3.3vw, 3.2rem); }
.course-overview p, .course-schedule p { max-width: 60ch; color: #4a4f5b; }
.course-overview-media img { width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius); }
.course-curriculum .section-head, .course-practice .section-head, .course-options .section-head { max-width: 760px; }
.course-curriculum .section-head p, .course-practice .section-head p, .course-options .section-head p { color: #4a4f5b; }
.course-topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; list-style: none; padding: 0; margin: 0; }
.course-topic-grid li { display: flex; align-items: flex-start; gap: 20px; padding: 23px 0; border-top: 1px solid var(--line); }
.course-topic-grid li > span { flex: none; color: var(--brick); font-size: .8rem; font-weight: 700; letter-spacing: .08em; }
.course-topic-grid h3 { margin: 0 0 6px; font-size: 1.15rem; }
.course-topic-grid p { margin: 0; color: #4a4f5b; font-size: .94rem; }
.course-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course-step { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.course-step > span { display: inline-block; margin-bottom: 48px; color: var(--brick); font-size: .82rem; font-weight: 700; }
.course-step h3 { font-size: 1.3rem; }
.course-step p { margin: 0; color: #4a4f5b; font-size: .94rem; }
.course-consent-note { display: flex; align-items: flex-start; gap: 12px; max-width: 880px; margin: 34px auto 0; padding: 18px 22px; background: var(--cream); border-radius: var(--radius); color: var(--navy); font-size: .9rem; }
.course-consent-note i { flex: none; margin-top: 5px; color: var(--brick); }
.course-plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1060px; margin: 0 auto; }
.course-plan { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 42px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.course-plan-featured { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.course-plan-label { display: inline-block; align-self: flex-start; margin-bottom: 24px; padding: 5px 11px; border-radius: 999px; background: var(--cream); color: var(--brick); text-transform: uppercase; letter-spacing: .08em; font-size: .69rem; font-weight: 800; }
.course-plan-featured .course-plan-label { background: rgba(255,255,255,.12); color: var(--paper); }
.course-plan h3 { max-width: 23ch; margin-bottom: 14px; font-size: clamp(1.5rem, 2.3vw, 2rem); }
.course-plan-featured h3 { color: var(--paper); }
.course-plan-price { margin: 0 0 14px; color: var(--navy); font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 800; line-height: 1.1; }
.course-plan-featured .course-plan-price { color: var(--paper); }
.course-plan-price small { display: inline-block; font-size: .9rem; font-weight: 500; }
.course-plan-extra { margin: -6px 0 17px; color: #dce1ec; font-size: .9rem; }
.course-plan ul { list-style: none; padding: 22px 0 16px; margin: 0 0 auto; border-top: 1px solid var(--line); }
.course-plan-featured ul { border-color: rgba(255,255,255,.2); }
.course-plan li { position: relative; padding: 0 0 13px 23px; font-size: .93rem; }
.course-plan li::before { content: '✓'; position: absolute; left: 0; color: var(--brick); font-weight: 800; }
.course-plan-featured li::before { color: #f0b3ab; }
.course-plan .btn { justify-content: center; margin-top: 10px; }
.course-options-note { max-width: 700px; margin: 24px auto 0; text-align: center; color: #4a4f5b; font-size: .89rem; }
.course-schedule-card { padding: clamp(24px, 3vw, 42px); border-radius: var(--radius); background: var(--cream); }
.course-schedule-card > div { display: grid; grid-template-columns: 125px 1fr; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.course-schedule-card > div:last-child { border: 0; }
.course-schedule-card span { color: var(--brick); font-size: .8rem; font-weight: 700; }
.course-schedule-card strong { color: var(--navy); font-size: .94rem; line-height: 1.45; }
.course-faq-list { max-width: 840px; margin: 0 auto; }
.course-reviews { background: var(--paper); }
.course-final-cta p { max-width: 580px; margin: 0 auto 28px; color: #dce1ec; }
.course-facts .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding-top: 30px; padding-bottom: 30px; }
.course-facts span { display: block; padding: 0 22px; border-left: 2px solid var(--brick); font-weight: 500; line-height: 1.45; }
.course-facts span:first-child { padding-left: 0; border: 0; }
.course-facts strong { display: block; margin-bottom: 2px; color: var(--brick); font-size: clamp(1.35rem, 2.2vw, 2.2rem); line-height: 1.1; }
.course-carousel-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 28px; }
.course-carousel-heading h2 { max-width: 20ch; margin-bottom: 0; }
.course-carousel-controls { display: flex; gap: 10px; }
.course-carousel-controls button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--navy); cursor: pointer; }
.course-carousel-controls button:hover, .course-carousel-controls button:focus-visible { background: var(--navy); color: var(--paper); }
.course-benefit-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.course-benefit-track::-webkit-scrollbar { display: none; }
.course-benefit-card { flex: 0 0 calc((100% - 36px) / 3); min-width: 0; overflow: hidden; border-radius: var(--radius); background: var(--navy); color: var(--paper); scroll-snap-align: start; }
.course-benefit-card img { display: block; width: 100%; height: 260px; object-fit: cover; }
.course-benefit-card > div { min-height: 165px; padding: 22px 24px 26px; }
.course-benefit-card h3 { margin: 0 0 9px; color: var(--paper); font-size: 1.2rem; }
.course-benefit-card p { margin: 0; color: var(--paper); font-size: .91rem; line-height: 1.5; }
.course-review-feature { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(30px, 6vw, 100px); margin-bottom: 52px; }
.course-review-feature h2 { font-size: clamp(2.4rem, 4vw, 4rem); }
.course-review-feature p { max-width: 36ch; margin-bottom: 22px; }
.course-review-photos { display: flex; align-items: center; justify-content: center; min-height: 340px; padding: 30px 0; overflow: hidden; }
.course-review-photos img { width: 35%; height: 250px; object-fit: cover; border: 5px solid var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.course-review-photos img + img { margin-left: -9%; }
.course-review-photos img:nth-child(2) { height: 310px; transform: translateY(-10px); z-index: 2; }
.course-final-cta { padding: 70px 0; background: var(--paper); }
.course-final-panel { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; padding: 0; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.course-final-panel > img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.course-final-panel > div { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(34px, 5vw, 70px); }
.course-final-panel h2 { max-width: 13ch; margin: 12px 0 16px; color: var(--paper); font-size: clamp(2.1rem, 3.6vw, 3.6rem); }
.course-final-panel p { max-width: 40ch; margin: 0 0 30px; color: var(--paper); }
.course-final-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.course-final-panel .btn-outline { border-color: var(--paper); color: var(--paper); }
[id^="course-"] { scroll-margin-top: 100px; }

@media (max-width: 1050px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-hero-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .course-hero-media img { min-height: 460px; }
}
@media (max-width: 800px) {
  .course-facts .container { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .course-facts span:nth-child(3) { padding-left: 0; border: 0; }
  .course-benefit-card { flex-basis: calc((100% - 18px) / 2); }
  .course-review-feature { grid-template-columns: 1fr; }
  .course-final-panel { grid-template-columns: 1fr; }
  .course-final-panel > img { min-height: 0; height: 330px; }
  .review-slide { flex-basis: calc((100% - 20px) / 2); }
  .footer-intro { align-items: flex-start; flex-direction: column; }
  .course-hero-inner, .course-overview-grid, .course-schedule-grid { grid-template-columns: 1fr; }
  .course-hero-media img { min-height: 0; height: 380px; }
  .course-hero h1 { max-width: 15ch; }
  .course-steps { grid-template-columns: 1fr; }
  .course-step > span { margin-bottom: 20px; }
}
@media (max-width: 640px) {
  .course-facts .container { gap: 18px 10px; }
  .course-facts span { padding: 0 10px; font-size: .77rem; }
  .course-facts strong { font-size: 1.2rem; }
  .course-benefit-card { flex-basis: 83%; }
  .course-benefit-card img { height: 225px; }
  .course-review-photos { min-height: 250px; }
  .course-review-photos img { height: 200px; }
  .course-review-photos img:nth-child(2) { height: 240px; }
  .review-slide { flex-basis: 100%; padding: 24px; }
  .review-box { flex-wrap: wrap; }
  .review-box .btn { margin-left: 0; }
  .footer-intro { padding: 58px 0 46px; margin-bottom: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px 22px; }
  .footer-brand-col, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-intro .btn { width: 100%; justify-content: center; }
  .course-hero { padding: 58px 0; }
  .course-hero h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .course-hero .hero-cta .btn { width: 100%; justify-content: center; }
  .course-hero-media img { height: 300px; }
  .course-facts .container { justify-content: flex-start; }
  .course-topic-grid, .course-plan-grid { grid-template-columns: 1fr; }
  .course-schedule-card > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .review-track { scroll-behavior: auto; }
  .footer-social a:hover { transform: none; }
}
