.image-hero{position:relative;isolation:isolate;overflow:hidden;min-height:250px;display:flex;align-items:flex-end;color:#fff}
.image-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(0,39,34,.92),rgba(0,39,34,.5) 65%,rgba(0,39,34,.2))}
.image-hero-media{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover}
.image-hero .hero-text{position:relative;z-index:1;padding:28px;width:min(100%,760px)}
.image-hero .hero-text h1,.image-hero .hero-text p{color:#fff}
.subject-block{overflow:hidden}
.catalog-layer-image{display:block;width:100%;height:150px;object-fit:cover;border-radius:14px;margin:0 0 16px}
.topic-catalog-row{display:grid;grid-template-columns:112px minmax(0,1fr);gap:16px;padding:14px 0;border-top:1px solid #e8eeeb}
.topic-catalog-row>img{width:112px;height:92px;object-fit:cover;border-radius:12px}
.topic-catalog-content{min-width:0}
.topic-catalog-content>b,.topic-catalog-content>small{display:block}
.topic-catalog-content>small{margin-top:5px}
.topic-video-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:8px;margin-top:12px}
.video-access-link,.video-library-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid #e2eae6;border-radius:12px;background:#fff}
.video-access-link small,.video-library-card small{display:block;color:#66766f;font-size:12px;margin-top:4px}
.video-access-link.locked,.video-library-card.locked{background:#f4f6f5;color:#65736e}
.topic-video-library{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}
.video-library-card{display:block;padding:0;overflow:hidden}
.video-library-card img{display:block;width:100%;height:120px;object-fit:cover}
.video-library-card>span{display:block;padding:12px}
.video-frame video{position:absolute;inset:0;width:100%;height:100%;background:#111}
.locked-content{border:1px solid #eadca8;background:#fffdf5}
.transaction-discount{display:block;margin-top:5px}
.transaction-reference{overflow-wrap:anywhere}
.profile-stats{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}
@media(max-width:600px){.image-hero{min-height:220px}.image-hero .hero-text{padding:20px}.topic-catalog-row{grid-template-columns:80px minmax(0,1fr);gap:12px}.topic-catalog-row>img{width:80px;height:80px}}
.catalog-carousel{margin:22px 0 30px}
.carousel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.carousel-heading h2{font-size:20px;color:var(--green)}
.carousel-controls{display:flex;gap:8px}
.carousel-controls button{width:40px;height:40px;border:1px solid var(--border);border-radius:50%;background:#fff;color:var(--green);font-size:26px;line-height:1;cursor:pointer;box-shadow:0 3px 10px #0000000a}
.carousel-controls button:hover:not(:disabled){background:var(--green);color:#fff}
.carousel-controls button:disabled{opacity:.45;cursor:default}
.carousel-track{display:flex!important;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:2px 2px 12px}
.carousel-track::-webkit-scrollbar{display:none}
.carousel-track .carousel-slide{flex:0 0 calc((100% - 36px)/3);min-width:0;scroll-snap-align:start}
.carousel-track.course-grid{gap:18px}
.carousel-track.topic-video-library{gap:12px}
.carousel-track .video-library-card{align-self:stretch}
.carousel-dots{display:flex;justify-content:center;gap:8px;margin-top:12px}
.carousel-dot{width:9px;height:9px;padding:0;border:0;border-radius:99px;background:#c7d8d3;cursor:pointer;transition:width .2s,background .2s}
.carousel-dot.active{width:24px;background:var(--green)}
@media(max-width:900px){.carousel-track .carousel-slide{flex-basis:calc((100% - 18px)/2)}}
@media(max-width:600px){.carousel-heading h2{font-size:18px}.carousel-controls button{width:36px;height:36px}.carousel-track .carousel-slide{flex-basis:88%}}
@media(prefers-reduced-motion:reduce){.carousel-track{scroll-behavior:auto}.carousel-dot{transition:none}}
.course-detail-hero.image-hero{min-height:340px;background:#063f37;color:#fff}
.course-detail-hero.image-hero::after{z-index:1;background:linear-gradient(90deg,rgba(0,35,31,.94) 0%,rgba(0,49,43,.82) 55%,rgba(0,49,43,.28) 100%)}
.course-detail-hero.image-hero>.image-hero-media{z-index:0;width:100%;height:100%;object-fit:cover}
.course-detail-hero.image-hero>.hero-text{z-index:2;width:min(100%,900px);padding:32px}
.course-detail-hero .pwa-eyebrow{color:#f4bd45;background:rgba(0,34,30,.62);padding:6px 10px;border-radius:99px}
.course-detail-hero.image-hero .hero-text h1{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:clamp(28px,4vw,38px);line-height:1.15;letter-spacing:-.025em;margin:10px 0;color:#fff}
.course-detail-hero.image-hero .hero-text p{max-width:780px;color:#f0f7f5;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.6;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden}
.course-detail-hero .detail-price{display:inline-flex;align-items:center;margin-top:18px;padding:10px 16px;border-radius:10px;background:#f4bd45;color:#153b35;font-size:23px;font-weight:800;line-height:1.2;box-shadow:0 5px 18px #001f1b44}
.course-access{font-family:Inter,"Segoe UI",Arial,sans-serif}
.course-access h3{font-size:19px;color:#153b35}
.course-access p{color:#52645f}
.course-access .btn{font-weight:800;white-space:nowrap}
.subject-block,.notes-card,.video-card,.course-modern{font-family:Inter,"Segoe UI",Arial,sans-serif}
.subject-heading h3,.topic-catalog-content>b{color:#153b35}
.topic-catalog-content>small{color:#52645f;line-height:1.5}
@media(max-width:600px){.course-detail-hero.image-hero{min-height:320px}.course-detail-hero.image-hero>.hero-text{padding:22px}.course-detail-hero.image-hero .hero-text p{-webkit-line-clamp:5;line-clamp:5}.course-detail-hero .detail-price{font-size:21px}}

.course-outline-hint{margin:-10px 0 16px;color:#52645f}
.subject-outline{margin:14px 0;border:1px solid #dfe8e5;border-radius:16px;background:#fff;box-shadow:0 5px 18px rgba(0,59,50,.05);overflow:hidden}
.subject-outline>summary,.topic-outline>summary{display:flex;align-items:center;gap:14px;padding:14px;list-style:none;cursor:pointer}
.subject-outline>summary::-webkit-details-marker,.topic-outline>summary::-webkit-details-marker{display:none}
.subject-outline>summary>img{width:112px;height:76px;flex:0 0 auto;object-fit:cover;border-radius:11px}
.outline-summary-text{display:grid;gap:4px;min-width:0;flex:1}
.outline-summary-text>small{color:#718079;font-size:11px;font-weight:800;letter-spacing:.08em}
.outline-summary-text>strong{color:#153b35;font-size:17px;overflow-wrap:anywhere}
.outline-summary-text>span{color:#65736e;font-size:13px}
.outline-chevron{display:grid;width:36px;height:36px;flex:0 0 36px;place-items:center;border:1px solid #d9e8e3;border-radius:50%;background:#f2f8f6;transition:background .2s,border-color .2s}
.outline-chevron::before{width:9px;height:9px;border-right:2px solid #00695c;border-bottom:2px solid #00695c;content:"";transform:translateY(-2px) rotate(45deg);transition:transform .2s}
.subject-outline>summary:hover .outline-chevron,.topic-outline>summary:hover .outline-chevron{border-color:#9bc9bd;background:#e6f3ef}
.subject-outline[open]>summary .outline-chevron,.topic-outline[open]>summary .outline-chevron{border-color:#b6d7cc;background:#e6f3ef}
.subject-outline[open]>summary .outline-chevron::before,.topic-outline[open]>summary .outline-chevron::before{transform:translateY(2px) rotate(225deg)}
.subject-outline>summary:focus-visible,.topic-outline>summary:focus-visible{outline:3px solid #f4bd45;outline-offset:-3px}
.topic-outline-list{padding:0 14px 14px}
.topic-outline{margin-top:10px;border:1px solid #e5ece9;border-radius:13px;background:#fbfdfc;overflow:hidden}
.topic-outline>summary{gap:12px;padding:11px}
.topic-outline>summary>img{width:68px;height:58px;flex:0 0 auto;object-fit:cover;border-radius:9px}
.topic-outline .outline-summary-text>strong{font-size:15px}
.topic-outline-description{margin:0 14px 12px 91px;color:#52645f;font-size:13px;line-height:1.55}
.topic-outline-content{padding:0 14px 14px}
.outline-resource-group{margin-top:14px}
.outline-resource-group h4{margin-bottom:8px;color:#153b35;font-size:14px}
.outline-empty{padding:8px 0;color:#6b7772;font-size:13px}
.topic-video-links .video-access-link{min-width:0;flex-wrap:wrap;text-decoration:none;color:#153b35}
.video-access-link>span{min-width:0;overflow-wrap:anywhere}
.outline-video-image{width:58px;height:42px;flex:0 0 auto;object-fit:cover;border-radius:7px}
.topic-notes-list{display:grid;gap:8px}
.topic-note-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px;border:1px solid #e2eae6;border-radius:11px;background:#fff}
.topic-note-link>span{display:grid;gap:4px;min-width:0}
.topic-note-link b{color:#153b35;overflow-wrap:anywhere}
.topic-note-link small{color:#65736e}
.topic-note-link .btn{flex:0 0 auto;padding:9px 12px;font-size:12px}
.topic-overview-link{display:inline-flex;margin-top:10px;color:#00695c;font-weight:700;text-decoration:none}
@media(max-width:600px){
  .course-outline-hint{font-size:13px;line-height:1.5}
  .subject-outline>summary{gap:10px;padding:11px}
  .subject-outline>summary>img{width:76px;height:64px}
  .outline-chevron{width:32px;height:32px;flex-basis:32px}
  .outline-summary-text>strong{font-size:15px}
  .topic-outline-list{padding:0 9px 10px}
  .topic-outline>summary{gap:9px;padding:9px}
  .topic-outline>summary>img{width:54px;height:50px}
  .topic-outline-description{margin-left:72px}
  .topic-outline-content{padding:0 10px 11px}
  .topic-video-links{grid-template-columns:minmax(0,1fr)}
  .topic-note-link{align-items:flex-start}
  .topic-note-link .btn{padding:8px 9px;font-size:11px}
}

.course-modern{display:flex;flex-direction:column;min-width:0}
.course-modern>img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.course-modern .course-body{display:flex;flex:1;flex-direction:column;min-width:0}
.course-modern .course-body h3,.course-modern .course-body p{overflow-wrap:anywhere}
.course-modern .course-body h3{line-height:1.3}
.course-modern .course-body p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;line-height:1.5}
.course-modern .course-footer{margin-top:auto}

@media(max-width:600px){
  .container{width:100%;padding:14px}
  .course-page-hero .hero-text{padding:18px}
  .course-page-hero .hero-text h1{font-size:24px;line-height:1.2}
  .course-catalog-carousel{margin:16px 0 24px}
  .course-catalog-carousel .carousel-heading{margin-bottom:10px}
  .course-catalog-carousel .carousel-track.course-grid{display:flex!important;gap:14px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:2px 2px 12px}
  .course-catalog-carousel .carousel-track.course-grid>.carousel-slide{width:auto;min-width:0;flex:0 0 100%;scroll-snap-align:start}
  .course-catalog-carousel .carousel-controls{display:flex}
  .course-catalog-carousel .carousel-dots{display:flex}
  .course-modern .course-body{padding:14px}
  .course-modern .course-body h3{font-size:18px;line-height:1.3}
  .course-modern .course-body p{margin-bottom:10px}
  .course-modern .course-meta{margin:4px 0 12px}
  .course-modern .course-footer{align-items:center}
  .course-modern .course-footer .btn{white-space:nowrap}
  .course-detail-hero.image-hero{min-height:290px}
  .course-detail-hero.image-hero>.hero-text{padding:18px}
  .subject-block{padding:12px}
  .catalog-layer-image{height:clamp(115px,38vw,165px);margin-bottom:12px}
  .subject-heading{gap:8px;padding:12px}
  .subject-heading h3{font-size:16px;overflow-wrap:anywhere}
  .subject-heading small{white-space:nowrap}
  .topic-catalog-row{grid-template-columns:72px minmax(0,1fr);gap:10px;padding:12px 0}
  .topic-catalog-row>img{width:72px;height:72px}
  .topic-video-links,.topic-video-library{grid-template-columns:minmax(0,1fr);min-width:0}
  .topic-catalog-content,.topic-catalog-content>*{min-width:0;overflow-wrap:anywhere}
  .video-access-link{align-items:flex-start}
  .video-access-link>span{min-width:0;overflow-wrap:anywhere}
  .video-access-link>small{flex:0 0 auto;white-space:nowrap}
  .checkout-card,.notes-card,.success-card{padding:16px}
  .checkout-summary>div{gap:12px;align-items:flex-start}
  .checkout-summary>div>*:last-child{text-align:right}
  .coupon-row{align-items:stretch}
  .coupon-row input{min-width:0}
  .coupon-row .btn{padding:10px 12px}
}

@media(max-width:360px){
  .container{padding:12px}
  .topbar{padding-right:10px;padding-left:10px}
  .brand{min-width:0;max-width:75%;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .course-modern .course-body{padding:12px}
  .course-modern .course-footer{gap:8px}
  .course-modern .course-footer .btn{padding:9px 10px;font-size:12px}
  .topic-catalog-row{grid-template-columns:60px minmax(0,1fr);gap:9px}
  .topic-catalog-row>img{width:60px;height:60px}
}

.video-player-frame{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#050505}
.video-player-frame iframe,.video-player-frame video{position:absolute;inset:0;width:100%;height:100%;border:0;background:#050505}
.video-player-frame:fullscreen,.video-player-frame:-webkit-full-screen{width:100vw;height:100vh;height:100dvh;max-height:none;aspect-ratio:auto;background:#000}
.video-player-frame:fullscreen iframe,.video-player-frame:fullscreen video,.video-player-frame:-webkit-full-screen iframe,.video-player-frame:-webkit-full-screen video{width:100%;height:100%;object-fit:contain}
.video-start-button{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);padding:13px 18px;border:1px solid #ffffff70;border-radius:999px;background:#004d40e8;color:#fff;font-size:14px;font-weight:800;cursor:pointer}
.video-start-button:hover{background:#00695c}
.video-start-button[hidden]{display:none}
.video-player-message,.video-branding-note{padding:9px 12px;color:#52645f;font-size:12px}
.video-player-message[hidden]{display:none}
@media(orientation:portrait){.video-player-frame:fullscreen,.video-player-frame:-webkit-full-screen{position:fixed;left:50%;top:50%;width:100vh;height:100vw;transform:translate(-50%,-50%) rotate(90deg);transform-origin:center}}
