/* Individual training pages. Shared capability-first system derived from the home and training landing pages. */

.course-page{
  --course-shell: 1180px;
  --course-gutter: clamp(18px, 4vw, 48px);
  --course-line: rgba(255, 255, 255, 0.12);
  --course-panel: rgba(9, 22, 39, 0.84);
  --course-blue: #8ed7ff;
  overflow-x: clip;
  background:
    radial-gradient(900px 560px at 82% 18%, rgba(47, 158, 226, 0.08), transparent 68%),
    #050b14;
}

.course-page .page{
  overflow: clip;
}

.course-page .course-page-hero{
  position: relative;
  display: grid;
  min-height: min(760px, calc(100svh - 72px));
  padding: clamp(76px, 10vh, 118px) var(--course-gutter) clamp(88px, 11vh, 128px);
  align-items: center;
  border-bottom: 1px solid var(--course-line);
  background-size: cover;
  isolation: isolate;
}

.course-page .course-page-hero::before{
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 8, 16, 0.97) 0%, rgba(2, 8, 16, 0.84) 42%, rgba(2, 8, 16, 0.4) 72%, rgba(2, 8, 16, 0.3) 100%),
    linear-gradient(180deg, rgba(2, 8, 16, 0.12) 0%, rgba(2, 8, 16, 0.18) 55%, #050b14 100%);
  content: "";
  pointer-events: none;
}

.course-page .course-page-hero::after{
  position: absolute;
  z-index: -1;
  right: -8%;
  bottom: 8%;
  width: min(48vw, 680px);
  height: min(48vw, 680px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 202, 255, 0.11), transparent 68%);
  content: "";
  pointer-events: none;
}

.course-page-discovery .course-page-hero{
  background-image: url("../../assets/images/hero/hero-refresh.png");
  background-position: center 46% !important;
}

.course-page-refresh .course-page-hero{
  background-image: url("../../assets/images/hero/hero-rtr.png");
  background-position: center 42% !important;
}

.course-page-specialty-hub .course-page-hero{
  background-image: url("../../assets/images/hero/hero-specialtymain.png");
  background-position: center 45% !important;
}

.course-page .course-page-hero .page-hero-inner{
  width: min(var(--course-shell), 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.62fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: end;
}

.course-page .course-page-hero .page-hero-copy{
  max-width: 760px;
}

.course-page .conversion-eyebrow{
  margin-bottom: 12px;
  color: var(--course-blue);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.course-page .course-page-hero h1{
  max-width: 820px;
  margin: 0;
  font-size: clamp(46px, 6.3vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.052em;
  text-wrap: balance;
  text-transform: none;
}

.course-page .course-page-hero h1 > span{
  display: block;
}

.course-page .course-page-hero h1 .course-title-context{
  margin-top: 10px;
  color: #b8e7ff;
  font-size: 0.42em;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.course-page .course-page-hero .page-hero-sub{
  max-width: 680px;
  margin: 22px 0 16px;
  color: rgba(238, 247, 255, 0.86);
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.55;
}

.course-page .course-page-hero .schedule-note{
  margin-bottom: 18px;
}

.course-page .course-page-hero .hero-proof-list{
  gap: 10px 20px;
  margin-bottom: 26px;
}

.course-page .course-page-hero .hero-proof-list li{
  position: relative;
  padding: 2px 0 2px 15px;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.course-page .course-page-hero .hero-proof-list li::before{
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--course-blue);
  box-shadow: 0 0 12px rgba(85, 185, 255, 0.72);
  content: "";
}

.course-page .course-hero-summary{
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(11, 31, 51, 0.88), rgba(4, 13, 24, 0.78)),
    rgba(5, 11, 20, 0.76);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.course-page .course-hero-summary::before{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), #76ceff, transparent 88%);
  content: "";
}

.course-page .course-hero-summary .conversion-eyebrow{
  margin-bottom: 18px;
}

.course-page .course-summary-price{
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--course-line);
}

.course-page .course-summary-price span,
.course-page .course-summary-price small{
  display: block;
  color: rgba(235, 246, 255, 0.64);
  font-size: 12px;
}

.course-page .course-summary-price strong{
  display: block;
  margin: 3px 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.course-page .course-summary-list{
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-page .course-summary-list li{
  display: grid;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  grid-template-columns: minmax(88px, 0.65fr) 1fr;
  gap: 12px;
  color: rgba(239, 248, 255, 0.92);
  font-size: 13px;
}

.course-page .course-summary-list li:last-child{
  padding-bottom: 0;
  border-bottom: 0;
}

.course-page .course-summary-list span{
  color: rgba(235, 246, 255, 0.56);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.course-page .page-main{
  width: min(var(--course-shell), calc(100% - (var(--course-gutter) * 2)));
  margin: 0 auto;
  padding: 0 0 clamp(80px, 9vw, 124px);
}

.course-page .toc{
  position: sticky;
  z-index: 36;
  top: 72px;
  display: flex;
  min-height: 64px;
  margin: 0 0 clamp(34px, 5vw, 62px);
  padding: 10px 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--course-line);
  background: rgba(5, 11, 20, 0.91);
  backdrop-filter: blur(16px);
}

.course-page .toc h2{
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.course-page .toc > p{
  display: none;
}

.course-page .toc-buttons{
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.course-page .toc-buttons .btn{
  min-height: 40px;
  padding: 8px 12px;
  white-space: nowrap;
}

.course-page .conversion-panel-course{
  margin-bottom: clamp(54px, 7vw, 88px);
  padding: clamp(24px, 3.5vw, 38px);
  border-radius: 24px;
  background:
    linear-gradient(130deg, rgba(226, 27, 35, 0.16), rgba(85, 185, 255, 0.09) 52%, rgba(255, 255, 255, 0.035)),
    #081525;
}

.course-page .conversion-panel-course h2{
  max-width: 760px;
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-transform: none;
  text-wrap: balance;
}

.course-page .conversion-panel-course > div:first-child > p:not(.conversion-eyebrow){
  max-width: 70ch;
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.65;
}

.course-page .conversion-metrics span{
  padding: 8px 18px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  font-size: 13px;
}

.course-page .conversion-metrics{
  gap: 0;
}

.course-page .conversion-metrics span:first-child{
  padding-left: 0;
  border-left: 0;
}

.course-page .course-outcome{
  position: relative;
  display: grid;
  min-height: clamp(500px, 56vw, 680px);
  margin: 0 0 clamp(68px, 9vw, 112px);
  overflow: hidden;
  border: 1px solid var(--course-line);
  border-radius: 28px;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  background: #071321;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.course-page .course-outcome-media{
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.course-page .course-outcome-media::after{
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 45%, rgba(7, 19, 33, 0.88) 100%);
  content: "";
  pointer-events: none;
}

.course-page .course-outcome-media picture,
.course-page .course-outcome-media img{
  display: block;
  width: 100%;
  height: 100%;
}

.course-page .course-outcome-media img{
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) contrast(1.04);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-page .course-outcome-copy{
  position: relative;
  z-index: 2;
  display: flex;
  padding: clamp(32px, 5vw, 64px) clamp(28px, 4vw, 52px) clamp(32px, 5vw, 64px) 0;
  flex-direction: column;
  justify-content: center;
}

.course-page .course-outcome h2{
  max-width: 650px;
  margin: 0;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.course-page .course-outcome-copy > p:not(.conversion-eyebrow){
  margin: 18px 0 24px;
  color: rgba(236, 246, 255, 0.75);
  font-size: 16px;
  line-height: 1.65;
}

.course-page .course-outcome-list{
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.course-page .course-outcome-list li{
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(236, 246, 255, 0.68);
  font-size: 14px;
  line-height: 1.5;
}

.course-page .course-outcome-list strong{
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: 15px;
}

.course-page .course-start-note{
  display: grid;
  margin: clamp(24px, 4vw, 42px) 0 clamp(68px, 9vw, 108px);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--course-line);
  border-left: 3px solid var(--course-blue);
  border-radius: 0 18px 18px 0;
  grid-template-columns: minmax(180px, 0.45fr) 1fr;
  gap: clamp(20px, 4vw, 48px);
  background: rgba(9, 22, 39, 0.54);
}

.course-page .course-start-note h2{
  margin: 0;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.08;
}

.course-page .course-start-note p{
  margin: 0;
  color: rgba(236, 246, 255, 0.72);
  line-height: 1.65;
}

.course-page .content-section{
  margin-top: clamp(44px, 5.5vw, 70px);
  scroll-margin-top: 150px;
}

.course-page .content-section > h2,
.course-page .sdi-section h2{
  margin-bottom: 14px;
  font-size: clamp(27px, 3.5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: none;
  text-wrap: balance;
}

.course-page .content-section > p,
.course-page .sdi-section p{
  max-width: 76ch;
  font-size: 15.5px;
  line-height: 1.65;
}

.course-page .content-columns,
.course-page .content-section > .feature-grid{
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--course-line);
  border-radius: 18px;
  background: var(--course-line);
}

.course-page .content-columns > div,
.course-page .content-section > .feature-grid > .feature-card{
  position: relative;
  padding: clamp(20px, 2.6vw, 28px);
  border: 0;
  border-radius: 0;
  background: #081525;
  box-shadow: none;
  text-align: left;
}

.course-page .content-columns > div::before,
.course-page .content-section > .feature-grid > .feature-card::before{
  display: none;
}

.course-page .content-columns h3,
.course-page .feature-card h3{
  margin: 0 0 9px;
  font-size: 17px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: none;
}

.course-page .content-columns p,
.course-page .feature-card p,
.course-page .feature-card li{
  color: rgba(236, 246, 255, 0.68);
  line-height: 1.6;
}

.course-page .content-steps{
  display: grid;
  margin-top: 22px;
  padding: 1px;
  overflow: hidden;
  border-radius: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--course-line);
  list-style: none;
  counter-reset: course-step;
}

.course-page .content-steps li{
  position: relative;
  min-height: 150px;
  margin: 0;
  padding: 54px 22px 22px;
  border: 0;
  border-radius: 0;
  background: #081525;
  color: rgba(236, 246, 255, 0.7);
  counter-increment: course-step;
}

.course-page .content-steps li::before{
  position: absolute;
  top: 18px;
  left: 22px;
  color: var(--course-blue);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  content: "0" counter(course-step);
}

.course-page .content-steps strong{
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 17px;
}

.course-page .two-col-grid{
  margin-top: clamp(54px, 7vw, 82px);
  overflow: hidden;
  border: 1px solid var(--course-line);
  border-radius: 20px;
  gap: 0;
  background: rgba(9, 22, 39, 0.46);
}

.course-page .two-col-grid::before{
  display: none;
}

.course-page .two-col-side{
  min-width: 0;
  padding: clamp(24px, 3.5vw, 38px);
}

.course-page .two-col-side.right{
  padding-left: clamp(24px, 3.5vw, 38px);
  border-left: 1px solid var(--course-line);
}

.course-page .two-col-grid .content-section{
  height: auto;
  margin-top: 30px;
  padding: 30px 0 0;
  border: 0;
  border-top: 1px solid var(--course-line);
  border-radius: 0;
  background: transparent;
}

.course-page .two-col-grid .content-section:first-child{
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.course-page .two-col-grid .content-section h2{
  font-size: clamp(24px, 2.8vw, 34px);
}

.course-page .two-col-grid .content-section h3{
  margin: 24px 0 8px;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-transform: none;
}

.course-page .two-col-grid .content-section ul{
  padding-left: 18px;
}

.course-page .sdi-section{
  margin: clamp(54px, 7vw, 82px) 0;
  padding: clamp(28px, 4vw, 42px) 0;
  border: 0;
  border-top: 1px solid var(--course-line);
  border-bottom: 1px solid var(--course-line);
  border-radius: 0;
  background:
    linear-gradient(90deg, transparent, rgba(85, 185, 255, 0.055) 48%, transparent);
}

.course-page .content-section > .feature-grid > .feature-card.is-featured{
  border: 0;
  background: linear-gradient(145deg, rgba(226, 27, 35, 0.14), #081525 62%);
  box-shadow: none;
}

.course-page .specialty-grid{
  gap: 14px;
  margin-top: 24px;
}

.course-page .specialty-grid .specialty-card{
  min-height: 240px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--course-line);
  border-radius: 18px;
  box-shadow: none;
}

.course-page .specialty-grid .specialty-card::before{
  display: none;
}

.course-page .specialty-grid .specialty-card-drysuit{
  background: linear-gradient(180deg, rgba(5, 11, 20, 0.24), rgba(5, 11, 20, 0.88)), url("../../assets/images/hero/hero-drysuit-mobile.webp") center 40% / cover;
}

.course-page .specialty-grid .specialty-card-nitrox{
  background: linear-gradient(180deg, rgba(5, 11, 20, 0.24), rgba(5, 11, 20, 0.88)), url("../../assets/images/hero/hero-nitrox-mobile.webp") center 40% / cover;
}

.course-page .specialty-grid .specialty-card-wreck{
  background: linear-gradient(180deg, rgba(5, 11, 20, 0.24), rgba(5, 11, 20, 0.88)), url("../../assets/images/hero/hero-wreck-mobile.webp") center 40% / cover;
}

.course-page .specialty-grid .specialty-card-fullface{
  background: linear-gradient(180deg, rgba(5, 11, 20, 0.24), rgba(5, 11, 20, 0.88)), url("../../assets/images/hero/hero-fullface-mobile.webp") center 40% / cover;
}

.course-page .sdi-section p + p{
  margin-top: 10px;
}

.course-page .hero-band{
  min-height: clamp(360px, 48vw, 560px);
  margin-top: clamp(70px, 9vw, 112px);
  border-radius: 26px;
}

.course-page .hero-band-inner{
  padding: clamp(28px, 5vw, 58px);
}

.course-page .hero-band h2{
  max-width: 700px;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: none;
  text-wrap: balance;
}

.course-page .hero-band p{
  max-width: 60ch;
  color: rgba(241, 249, 255, 0.78);
  font-size: 17px;
  line-height: 1.6;
}

.course-page .cta{
  position: relative;
  margin-top: clamp(56px, 8vw, 96px);
  padding: clamp(46px, 7vw, 82px) clamp(22px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid var(--course-line);
  border-radius: 26px;
  background:
    radial-gradient(560px 280px at 50% 120%, rgba(78, 185, 246, 0.15), transparent 70%),
    linear-gradient(145deg, rgba(16, 36, 58, 0.72), rgba(6, 17, 30, 0.9));
}

.course-page .cta h2{
  margin-inline: auto;
  max-width: 820px;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: none;
  text-wrap: balance;
}

.course-page .cta p{
  max-width: 70ch;
  margin: 14px auto 22px;
  font-size: 16px;
  line-height: 1.65;
}

.course-page .cta .page-hero-actions{
  justify-content: center;
}

.course-page [data-course-reveal]{
  opacity: 1;
  transform: none;
}

.course-page.course-motion-ready [data-course-reveal]{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.course-page.course-motion-ready [data-course-reveal].is-visible{
  opacity: 1;
  transform: none;
}

@media (hover: hover) and (pointer: fine){
  .course-page .course-outcome:hover .course-outcome-media img{
    transform: scale(1.035);
  }

  .course-page .content-section > .feature-grid > .feature-card,
  .course-page .content-columns > div{
    transition: background 220ms ease;
  }

  .course-page .content-section > .feature-grid > .feature-card:hover,
  .course-page .content-columns > div:hover{
    transform: none;
    background: #0a1a2c;
  }

  .course-page .specialty-grid .specialty-card{
    transition: transform 260ms ease, border-color 260ms ease, filter 260ms ease;
  }

  .course-page .specialty-grid .specialty-card:hover{
    transform: translateY(-3px);
    border-color: rgba(142, 215, 255, 0.3);
    filter: brightness(1.08);
  }
}

@media (max-width: 980px){
  .course-page .course-page-hero{
    min-height: auto;
    padding-top: 78px;
  }

  .course-page .course-page-hero .page-hero-inner{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .course-page .course-hero-summary{
    width: min(100%, 660px);
  }

  .course-page .course-outcome{
    grid-template-columns: 1fr;
  }

  .course-page .course-outcome-media{
    min-height: 380px;
  }

  .course-page .course-outcome-media::after{
    background: linear-gradient(180deg, transparent 56%, #071321 100%);
  }

  .course-page .course-outcome-copy{
    padding: 0 clamp(26px, 5vw, 46px) clamp(34px, 6vw, 54px);
    margin-top: -36px;
  }
}

@media (max-width: 780px){
  .course-page{
    --course-gutter: 18px;
  }

  .course-page .course-page-hero{
    min-height: min(800px, calc(100svh - 56px));
    padding: 64px var(--course-gutter) 44px;
    align-items: end;
    background-size: cover;
  }

  .course-page-discovery .course-page-hero{
    background-image: url("../../assets/images/hero/hero-training-mobile.webp");
  }

  .course-page-refresh .course-page-hero{
    background-image: url("../../assets/images/hero/hero-rtr-mobile.webp");
  }

  .course-page-specialty-hub .course-page-hero{
    background-image: url("../../assets/images/hero/hero-specialtymain-mobile.webp");
  }

  .course-page .course-page-hero::before{
    background:
      linear-gradient(180deg, rgba(2, 8, 16, 0.18) 0%, rgba(2, 8, 16, 0.52) 42%, rgba(2, 8, 16, 0.98) 79%, #050b14 100%),
      linear-gradient(90deg, rgba(2, 8, 16, 0.54), rgba(2, 8, 16, 0.12));
  }

  .course-page .course-page-hero h1{
    font-size: clamp(42px, 13.5vw, 64px);
    line-height: 0.94;
  }

  .course-page .course-page-hero h1 .course-title-context{
    font-size: 0.38em;
    line-height: 1.12;
  }

  .course-page .course-page-hero .page-hero-sub{
    margin-top: 18px;
    font-size: 16px;
  }

  .course-page .course-page-hero .hero-proof-list{
    display: grid;
    margin-bottom: 18px;
    grid-template-columns: 1fr;
    gap: 8px;
    overflow: visible;
    overscroll-behavior-inline: auto;
    scroll-snap-type: none;
  }

  .course-page .course-page-hero .hero-proof-list li{
    min-height: 0;
    width: 100%;
    flex: none;
    padding: 2px 0 2px 14px;
    font-size: 12px;
    scroll-snap-align: none;
  }

  .course-page .course-hero-summary{
    padding: 20px;
    border-radius: 18px;
  }

  .course-page .course-summary-price{
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
  }

  .course-page .course-summary-price strong{
    font-size: 30px;
  }

  .course-page .course-summary-price small{
    width: 100%;
  }

  .course-page .toc{
    top: 64px;
    min-height: 58px;
    margin: 0 -18px 34px;
    padding: 8px 18px;
  }

  .course-page .toc h2{
    display: none;
  }

  .course-page .toc-buttons{
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .course-page .toc-buttons::-webkit-scrollbar{
    display: none;
  }

  .course-page .conversion-panel-course{
    margin-bottom: 48px;
    padding: 22px;
  }

  .course-page .conversion-panel-course h2{
    font-size: clamp(27px, 8.5vw, 38px);
  }

  .course-page .course-outcome{
    min-height: 0;
    margin-bottom: 64px;
    border-radius: 20px;
  }

  .course-page .course-outcome-media{
    min-height: min(92vw, 400px);
  }

  .course-page .course-outcome-copy{
    padding: 0 22px 28px;
  }

  .course-page .course-outcome h2{
    font-size: clamp(31px, 10vw, 44px);
  }

  .course-page .course-start-note{
    margin-bottom: 64px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .course-page .content-section{
    margin-top: 34px;
  }

  .course-page .content-columns,
  .course-page .content-section .feature-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    overflow: visible;
  }

  .course-page .content-columns,
  .course-page .content-section > .feature-grid{
    overflow: hidden;
  }

  .course-page .content-section .feature-grid > *{
    width: auto;
    min-width: 0;
    flex: none;
  }

  .course-page .training-scroll-dots{
    display: none;
  }

  .course-page .content-steps{
    grid-template-columns: 1fr;
  }

  .course-page .content-steps li{
    min-height: 0;
  }

  .course-page .two-col-grid{
    margin-top: 48px;
    grid-template-columns: 1fr;
  }

  .course-page .two-col-side{
    padding: 24px 20px;
  }

  .course-page .two-col-side.right{
    padding-left: 20px;
    border-top: 1px solid var(--course-line);
    border-left: 0;
  }

  .course-page .two-col-grid .content-section{
    padding: 26px 0 0;
  }

  .course-page .sdi-section{
    margin-block: 48px;
    padding: 28px 0;
  }

  .course-page .mobile-collapsible{
    margin-top: 26px;
    padding: 0;
    overflow: visible;
    border: 0;
    border-top: 1px solid var(--course-line);
    border-radius: 0;
    background: transparent;
  }

  .course-page .mobile-section-toggle{
    min-height: 56px;
    padding: 15px 0;
    font-size: clamp(21px, 6.5vw, 28px);
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .course-page .mobile-collapse-content{
    padding: 0 0 18px;
  }

  .course-page .two-col-grid .mobile-collapsible{
    margin-top: 26px;
  }

  .course-page .two-col-grid .mobile-collapsible:first-child{
    margin-top: 0;
    border-top: 0;
  }

  .course-page .specialty-grid{
    grid-template-columns: 1fr;
  }

  .course-page .hero-band{
    min-height: min(112vw, 460px);
    margin-top: 64px;
    border-radius: 20px;
  }

  .course-page .hero-band h2{
    font-size: clamp(31px, 10vw, 44px);
  }

  .course-page .cta{
    margin-top: 50px;
    padding: 42px 20px;
    border-radius: 20px;
  }
}

@media (max-width: 520px){
  .course-page .course-page-hero{
    min-height: auto;
    padding-top: 118px;
  }

  .course-page-open-water .course-page-hero,
  .course-page-referral .course-page-hero{
    background-position: 30% top !important;
  }

  .course-page-discovery .course-page-hero{
    background-position: 58% top !important;
  }

  .course-page-refresh .course-page-hero{
    background-position: 58% top !important;
  }

  .course-page-advanced .course-page-hero,
  .course-page-specialty-hub .course-page-hero{
    background-position: center top !important;
  }

  .course-page-drysuit .course-page-hero,
  .course-page-nitrox .course-page-hero,
  .course-page-wreck .course-page-hero,
  .course-page-fullface .course-page-hero{
    background-position: center 28% !important;
  }

  .course-page .course-page-hero .page-hero-inner{
    gap: 22px;
  }

  .course-page .course-summary-list li{
    grid-template-columns: 88px 1fr;
  }
}

@media (prefers-reduced-motion: reduce){
  .course-page.course-motion-ready [data-course-reveal]{
    opacity: 1;
    transform: none;
    transition: none;
  }

  .course-page .course-outcome-media img,
  .course-page .content-section > .feature-grid > .feature-card,
  .course-page .content-columns > div{
    transition: none;
  }
}
