/* Course overview only: preserve lesson player, access policy and action handlers. */
.course-overview{container-type:inline-size;min-width:0;padding-bottom:32px}
.course-overview,.course-overview *{font-family:'Inter',system-ui,-apple-system,sans-serif!important}
.course-overview .course-detail-back{margin-bottom:24px;font-size:12px;gap:11px}
.course-overview .course-detail-hero{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:stretch;gap:0;min-height:0!important;padding:0!important;border:1px solid var(--border);border-radius:22px!important;background:var(--surface);color:var(--text);box-shadow:0 10px 32px -24px #18273330;isolation:isolate;margin-bottom:26px}
.course-overview .course-detail-hero__copy{grid-column:2;grid-row:1;padding:36px;min-width:0;max-width:none;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.course-overview .course-detail-hero__tags{gap:8px;margin:0 0 22px}
.course-overview .course-detail-hero__tags span{border:1px solid var(--border);background:transparent;color:var(--text-2);font-size:10px;line-height:1.4;padding:5px 10px;backdrop-filter:none;font-weight:550}
.course-overview .course-detail-hero__tags span:first-child{background:#f3eddf;color:#735a2f;border-color:#e7dcc4}
/* The photograph and readable solid text surface remain completely separate. */
.course-overview .course-detail-hero #course-detail-title{color:var(--text)!important;-webkit-text-fill-color:currentColor;margin:0;font-size:clamp(28px,3.9cqi,44px);font-weight:650;line-height:1.13;letter-spacing:-1.3px;max-width:24ch;overflow-wrap:anywhere;text-wrap:balance}
.course-overview .course-detail-hero .course-detail__description{margin:18px 0 0;font-size:12px;line-height:1.85;color:var(--text-2);max-width:60ch}
.course-overview .course-detail-instructor{display:flex;align-items:center;gap:11px;margin:26px 0 0;color:var(--text);font-size:12px}
.course-overview .course-detail-instructor__avatar{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border:1px solid var(--border);border-radius:50%;background:var(--surface-2)}
.course-overview .course-detail-instructor .ic{height:17px;width:17px;color:var(--primary)}
.course-overview .course-detail-instructor small{display:block;font-size:9px;margin-bottom:4px;color:var(--text-2)}
.course-overview .course-detail-instructor b{display:block;font-size:12px;font-weight:600}
.course-overview .course-detail-hero__start{margin-top:24px;min-height:46px;width:auto;padding:0 18px 0 20px;gap:24px;border:1px solid #dbc18e;border-radius:10px;background:#ecd19c;color:#15364a!important;font-size:12px;box-shadow:none;transition:background .2s,transform .2s}
.course-overview .course-detail-hero__start .ic{background:#15364a;color:#fff}
.course-overview .course-detail-hero__start:hover{background:#f6dfb4;box-shadow:none;transform:translateY(-2px)}
.course-overview .course-detail-visual{grid-column:1;grid-row:1;position:relative;min-height:310px;margin:14px 0 14px 14px;border-radius:12px;background-size:cover;background-position:center;background-color:var(--surface-2);overflow:hidden}
.course-overview .course-detail-visual::after{content:none}
.course-overview .course-detail-visual__label{position:absolute;top:16px;left:16px;display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:11px 13px;background:#fffffff5;border:1px solid #ffffff;border-radius:7px;color:#26313b;font-size:11px;font-weight:750;letter-spacing:1px;max-width:calc(100% - 32px)}
.course-overview .course-detail-visual__label i{font-style:normal;letter-spacing:.7px;font-size:7px;font-weight:550;border-left:1px solid #d2d5d7;padding-left:10px}
:root[data-theme="night"] .course-overview .course-detail-hero{background:#181f29;border-color:#303945}
:root[data-theme="night"] .course-overview .course-detail-hero__tags span:first-child{background:#362f23;color:#e5cca0;border-color:#544735}
.course-overview .course-detail-facts{grid-row:2;grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:0;padding:22px 8px;border:0;border-top:1px solid var(--border);border-radius:0;background:transparent}
.course-overview .course-detail-facts>div{display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:12px;padding:0 24px;align-content:center}
.course-overview .course-detail-facts>div+div{border-left:1px solid var(--border)}
.course-overview .course-detail-facts .ic{grid-row:1/3;align-self:center;width:19px;height:19px;padding:10px;box-sizing:content-box;border-radius:10px;background:var(--surface-2);color:var(--primary)}
.course-overview .course-detail-facts dt{font-size:10px;color:var(--text-2);margin-bottom:5px}
.course-overview .course-detail-facts dd{margin:0;font-size:16px;letter-spacing:-.3px;font-weight:650;color:var(--text)}
.course-overview .course-detail-lock{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px 18px;padding:26px;border-radius:16px;border:1px solid var(--border);background:var(--surface);box-shadow:none;position:relative;overflow:hidden}
.course-overview .course-detail-lock::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:#cfad69}
.course-overview .course-detail-lock>.ic{width:24px;height:24px;padding:10px;box-sizing:content-box;background:var(--surface-2);border-radius:12px;color:var(--primary)}
.course-overview .course-detail-lock strong{display:block;color:var(--text);font-size:15px;font-weight:650;line-height:1.5}
.course-overview .course-detail-lock p{margin:7px 0 0;font-size:12px;line-height:1.8;max-width:90ch;color:var(--text-2)}
.course-overview .course-detail-lock p strong{display:inline;font-size:inherit}
.course-overview .course-detail-lock__actions{grid-column:3;grid-row:1;align-self:center;justify-content:flex-start;flex-direction:column;flex-wrap:wrap;margin:0;gap:10px}
.course-overview .course-detail-lock__cta{margin:0;padding:13px 20px;border:1px solid #234c65;border-radius:9px;background:#234c65;color:#fff!important;font-size:12px;line-height:1.4;transition:background .2s,transform .2s}
.course-overview .course-detail-lock__cta:hover{background:#15364a;transform:translateY(-1px)}
.course-overview .course-detail-lock__cta--free{background:#ecd19c;border-color:#ecd19c;color:#15364a!important}
.course-overview .course-detail-lock__cta--free:hover{background:#f6dfb4}
.course-overview .course-detail-layout{grid-template-columns:minmax(0,1fr) 250px!important;gap:24px!important}
.course-overview .course-detail-main{gap:34px;container-type:inline-size;container-name:course-content}
.course-overview .course-detail-section__head{margin-bottom:18px;align-items:center}
.course-overview .course-detail-section__head span,.course-overview .course-detail-progress>span{font-size:9px;font-weight:650;letter-spacing:1px;color:var(--text-2);margin-bottom:8px}
.course-overview .course-detail-section__head h3{font-size:24px;letter-spacing:-.7px;font-weight:650;color:var(--text)}
.course-overview .course-detail-section__head>b{background:var(--surface);border:1px solid var(--border);color:var(--text-2);font-size:10px;padding:7px 10px;white-space:nowrap}
.course-overview .course-lessons{gap:0;padding:0;border:1px solid var(--border);border-radius:17px;overflow:hidden;background:var(--surface)}
.course-overview .course-lessons::before{content:none}
.course-overview .course-lesson{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:17px;min-height:116px;padding:22px;border:0;border-radius:0;box-shadow:none;background:transparent;opacity:1;transition:background .2s}
.course-overview .course-lesson+.course-lesson{border-top:1px solid var(--border)}
.course-overview .course-lesson:hover{transform:none;box-shadow:none;background:var(--surface-2)!important}
.course-overview .course-lesson__number{display:grid;place-items:center;width:46px;height:46px;align-self:center;border:1px solid var(--border);border-radius:12px;background:var(--surface-2);color:var(--text-2);font-size:16px;font-weight:600;letter-spacing:-.4px;font-variant-numeric:tabular-nums}
.course-overview .course-lesson__copy{gap:6px}
.course-overview .course-lesson__copy em{color:var(--text-2);font-size:9px;letter-spacing:.15px;line-height:1.4;font-weight:550;text-transform:none}
.course-overview .course-lesson__copy strong{display:block;font-size:15px;line-height:1.5;font-weight:650;white-space:normal;overflow-wrap:anywhere;color:var(--text);-webkit-line-clamp:unset}
.course-overview .course-lesson__copy small{font-size:11px;line-height:1.6;color:var(--text-2);font-weight:400}
.course-overview .course-lesson__action{display:flex;gap:7px;align-items:center;justify-content:center;align-self:center;width:auto;height:auto;min-height:34px;padding:8px 11px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text-2);font-size:10px;line-height:1.4;font-weight:550;white-space:nowrap}
.course-overview .course-lesson__action .ic{width:14px;height:14px}
.course-overview .course-lesson.is-complete .course-lesson__number{background:#ecf5f0;color:#31634b;border-color:#d7e7de}
.course-overview .course-lesson.is-complete .course-lesson__copy em{color:#31634b}
.course-overview .course-lesson.is-complete .course-lesson__action{color:#31634b;border-color:#d7e7de}
.course-overview .course-lesson.is-next{background:#fcfaf5;box-shadow:inset 3px 0 #c6a15c}
.course-overview .course-lesson.is-next .course-lesson__number{color:#73572c;background:#f3e8ce;border-color:#e6d5ad}
.course-overview .course-lesson.is-next .course-lesson__copy em{color:#73572c;font-weight:650}
.course-overview .course-lesson.is-next .course-lesson__action{background:#ecd19c;color:#233746;border-color:#e0c58f}
.course-overview .course-lesson.is-locked{background:var(--surface);opacity:1}
.course-overview .course-lesson.is-locked .course-lesson__copy strong{color:var(--text)}
.course-overview .course-lesson.is-locked .course-lesson__copy em{color:var(--text-2)}
.course-overview .course-lesson.is-locked .course-lesson__action{background:transparent;border-color:transparent;color:var(--text-2)}
.course-overview .course-lesson:hover .course-lesson__action{transform:none}
.course-overview .course-lesson:focus-visible{outline-offset:-4px}
.course-overview .course-materials{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.course-overview .course-material{display:flex;flex-direction:column;align-items:stretch;gap:17px;padding:20px;border:1px solid var(--border);border-radius:15px;box-shadow:none;background:var(--surface);transition:border-color .2s,box-shadow .2s}
.course-overview .course-material:hover{background:var(--surface);box-shadow:0 8px 22px -18px #253a4c40}
.course-overview .course-material__format{display:flex;align-items:center;gap:10px;font-size:10px;font-weight:600;color:var(--text-2)}
.course-overview .course-material__icon{width:38px;height:42px;flex:0 0 38px;border-radius:9px;background:#f5e9e4;color:#8a4c3c}
.course-overview .course-material[data-file-type="slides"] .course-material__icon{background:#f7eddb;color:#876025}
.course-overview .course-material[data-file-type="sheet"] .course-material__icon{background:#e7f1e9;color:#426b4c}
.course-overview .course-material[data-file-type="document"] .course-material__icon{background:#e8eef7;color:#47638c}
.course-overview .course-material[data-file-type="folder"] .course-material__icon{background:#efecf4;color:#715b86}
.course-overview .course-material__copy{gap:8px;flex:1}
.course-overview .course-material__copy strong{font-size:14px;line-height:1.55;font-weight:650;color:var(--text);overflow-wrap:anywhere}
.course-overview .course-material__copy small{font-size:11px;line-height:1.6;color:var(--text-2)}
.course-overview .course-material__download,.course-overview .course-material__locked{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;height:auto;min-height:37px;flex:0 0 auto;margin:0;padding:9px 11px;border:1px solid var(--border);border-radius:8px;background:var(--surface-2);color:var(--text);font-size:11px;font-weight:550;line-height:1.5}
.course-overview .course-material__download:hover{background:#234c65;color:#fff;border-color:#234c65}
.course-overview .course-material__locked{justify-content:flex-start;padding:9px 0;border-color:transparent;background:transparent;color:var(--text-2);font-size:10px}
.course-overview .course-material__locked .ic{width:14px;height:14px;flex-shrink:0}
.course-overview .course-material.is-locked{opacity:1;background:var(--surface);cursor:default}
.course-overview .course-material.is-locked:hover{box-shadow:none;border-color:var(--border)}
.course-overview .course-detail-section__intro{font-size:12px;color:var(--text-2);line-height:1.75;margin:-4px 0 18px}
.course-overview .course-detail-progress{padding:24px 22px;border-radius:17px;box-shadow:none;border:1px solid var(--border);background:var(--surface)}
.course-overview .course-detail-progress>span{margin-bottom:22px}
.course-overview .course-detail-progress__top{display:flex;flex-direction:column-reverse;align-items:flex-start;gap:21px}
.course-overview .course-detail-progress__top>strong{font-size:21px;line-height:1.3;font-weight:650;max-width:none;letter-spacing:-.5px}
.course-overview .course-detail-progress__top>i{height:96px;width:96px;flex-basis:96px;background:conic-gradient(#497361 var(--progress),var(--surface-3) 0)}
.course-overview .course-detail-progress__top>i::before{width:78px;height:78px}
.course-overview .course-detail-progress__top>i b{font-size:21px;letter-spacing:-.6px;font-weight:650}
.course-overview .course-detail-progress__count{font-size:11px;line-height:1.6;color:var(--text-2);margin:9px 0 0}
.course-overview .course-detail-progress__count b{color:var(--text);font-weight:650}
.course-overview .course-detail-progress__bar{height:5px;margin:18px 0 10px}
.course-overview .course-detail-progress__bar i{background:#497361}
.course-overview .course-detail-progress__legend{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;color:var(--text-2);font-size:9px;margin-bottom:23px}
.course-overview .course-detail-progress__legend span{display:flex;align-items:center;gap:5px}
.course-overview .course-detail-progress__legend i{width:5px;height:5px;border-radius:50%;background:#497361}
.course-overview .course-detail-progress ul{padding-top:20px;border-top:1px solid var(--border);gap:14px}
.course-overview .course-detail-progress li{font-size:11px;line-height:1.6;align-items:flex-start;color:var(--text-2)}
:root[data-theme="night"] .course-overview .course-lesson.is-next{background:#2c2922}
:root[data-theme="night"] .course-overview .course-lesson.is-next .course-lesson__number{background:#423721;color:#ead3a4;border-color:#695431}
:root[data-theme="night"] .course-overview .course-lesson.is-next .course-lesson__copy em{color:#ead3a4}
:root[data-theme="night"] .course-overview .course-lesson.is-complete .course-lesson__number{background:#233d35;color:#b2dbc7;border-color:#385a4b}
:root[data-theme="night"] .course-overview .course-lesson.is-complete :is(.course-lesson__copy em,.course-lesson__action){color:#b2dbc7}
.course-overview :is(button,a):focus-visible{outline:3px solid #b68a35;outline-offset:4px}
@container(max-width:850px){
 .course-overview .course-detail-layout{grid-template-columns:minmax(0,1fr)!important}
 .course-overview .course-detail-progress{position:static;grid-row:1;grid-column:auto}
 .course-overview .course-detail-progress__top{flex-direction:row;align-items:center;justify-content:space-between;gap:16px}
 .course-overview .course-detail-progress__top>i{width:66px;height:66px;flex-basis:66px}
 .course-overview .course-detail-progress__top>i::before{width:54px;height:54px}
 .course-overview .course-detail-progress__top>i b{font-size:15px}
 .course-overview .course-detail-progress>span{margin-bottom:10px}
 .course-overview .course-detail-progress ul{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 .course-overview .course-detail-main{grid-row:auto;grid-column:auto}
 .course-overview .course-detail-hero__copy{padding:28px}
 .course-overview .course-detail-lock{grid-template-columns:38px minmax(0,1fr)}
 .course-overview .course-detail-lock__actions{grid-column:2;grid-row:2;align-items:flex-start;flex-direction:row}
 .course-overview .course-detail-facts>div{padding:0 16px;grid-template-columns:32px minmax(0,1fr);gap:10px}
}
@container(max-width:600px){
 .course-overview .course-detail-hero{grid-template-columns:1fr!important;border-radius:17px!important}
 .course-overview .course-detail-hero__copy{padding:25px 23px 28px;grid-column:1;grid-row:2}
 .course-overview .course-detail-visual{height:190px;min-height:0;grid-column:1;grid-row:1;margin:12px 12px 0;border-radius:10px}
 .course-overview .course-detail-visual__label{top:12px;left:12px;padding:9px 11px;font-size:10px}
 .course-overview .course-detail-hero__tags{margin-bottom:20px}
 .course-overview .course-detail-hero #course-detail-title{font-size:28px;letter-spacing:-.8px}
 .course-overview .course-detail-hero__start{width:100%;justify-content:space-between}
 .course-overview .course-detail-facts{grid-row:3;padding:18px 0;gap:0}
 .course-overview .course-detail-facts>div{display:block;padding:0 12px}
 .course-overview .course-detail-facts .ic{height:17px;width:17px;margin-bottom:8px;padding:8px}
 .course-overview .course-detail-facts dt{font-size:9px;line-height:1.5;min-height:27px;margin:0 0 4px}
 .course-overview .course-detail-facts dd{font-size:12px}
 .course-overview .course-detail-lock{grid-template-columns:1fr;gap:16px;padding:22px}
 .course-overview .course-detail-lock__actions{grid-column:1;grid-row:auto;width:100%;flex-direction:column;align-items:stretch}
 .course-overview .course-detail-lock__cta{width:100%}
 .course-overview .course-detail-section__head h3{font-size:21px}
 .course-overview .course-detail-progress{padding:22px}
 .course-overview .course-detail-progress ul{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.course-overview,.course-overview *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.course-overview button:hover{transform:none!important}}

@container course-content (max-width:560px){
 .course-overview .course-lesson{grid-template-columns:38px minmax(0,1fr);padding:18px 16px;gap:12px;min-height:100px}
 .course-overview .course-lesson__number{width:36px;height:40px;font-size:14px;border-radius:10px;align-self:start}
 .course-overview .course-lesson__action{grid-column:2;justify-self:start;min-height:29px;padding:6px 9px;font-size:10px}
 .course-overview .course-lesson.is-locked .course-lesson__action{display:none}
 .course-overview .course-lesson__copy strong{font-size:14px}
 .course-overview .course-lesson__copy small{font-size:11px}
 .course-overview .course-materials{grid-template-columns:1fr}
 .course-overview .course-detail-section__head{gap:10px}
 .course-overview .course-detail-section__head h3{font-size:21px}
}
