.course-detail{padding:0;min-height:100vh;color:#000;background:#fff}
.course-banner{position:relative;width:100%;height:60vh;min-height:300px;background:#fff}
.course-banner>img{width:100%;height:100%;object-fit:cover}
.course-banner-shade{position:absolute;inset:0;background:rgba(0,0,0,.4)}
.course-back{position:absolute;top:32px;left:32px;background:#fff;color:#000;text-transform:uppercase;box-shadow:0 10px 15px #0002;height:40px;padding:8px 16px;font-weight:700}
.course-back:hover{background:#f3f4f6}
.course-banner-content{position:absolute;bottom:0;left:0;width:100%;padding:64px;background:linear-gradient(to top,rgba(0,0,0,.8),transparent);color:#fff}
.course-banner-content>div{max-width:1280px;margin:auto}
.course-banner-label{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:8px}
.course-banner-label>span:first-child{color:#ff1493;font-size:14px;font-weight:700;text-transform:uppercase}
.course-detail .course-banner h1{font-size:60px;font-weight:900;line-height:1;text-transform:uppercase;color:#fff;margin:0 0 16px;overflow-wrap:anywhere;text-shadow:0 3px 3px #0006}
.course-badge{display:inline-flex;align-items:center;border:1px solid #e5e7eb;border-radius:999px;background:#ffffffe6;color:#000;font-size:12px;line-height:16px;font-weight:700;text-transform:uppercase;padding:4px 12px}
.course-badge svg{width:12px;height:12px;margin-right:6px;color:#ff1493}
.course-badge.ended{background:#1f2937;color:#fff;border-color:#374151}
.course-badge.full{background:#dc2626;color:#fff;border-color:#ef4444}
.course-badge.started{background:#eab308;color:#fff;border-color:#facc15}
.course-badge.started svg{color:inherit;fill:currentColor;margin-right:4px}
.course-badges{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.course-started-group{display:flex;align-items:center;gap:8px}.course-badge-separator{color:#fff9;font-weight:700}
.course-detail-inner{max-width:1280px;margin:auto;padding:0 32px}
.course-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:48px;row-gap:64px;padding:48px 0;grid-template-areas:"facts facts enrollment" "description description enrollment" "calendar calendar enrollment"}
.course-detail-grid.has-gallery{grid-template-areas:"facts facts enrollment" "description description enrollment" "gallery gallery enrollment" "calendar calendar enrollment"}
.course-detail-grid.has-presentation{grid-template-areas:"facts facts enrollment" "description description enrollment" "presentation presentation enrollment" "calendar calendar enrollment"}
.course-detail-grid.has-gallery.has-presentation{grid-template-areas:"facts facts enrollment" "description description enrollment" "gallery gallery enrollment" "presentation presentation enrollment" "calendar calendar enrollment"}
.course-presentation{grid-area:presentation}
.course-detail .course-presentation>h2{font-size:24px;font-weight:900;line-height:32px;text-transform:uppercase;border-left:4px solid #ff1493;padding-left:16px;margin:0 0 24px}
.course-presentation-body{display:flex;align-items:flex-start;gap:24px;padding:32px;border:1px solid #f3f4f6;border-radius:12px;background:#f9fafb}
.presentation-day{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:100px;padding:16px;background:#fff;border-radius:8px;border:1px solid #f3f4f6;box-shadow:0 1px 2px #0001;text-align:center}
.presentation-day strong{font-size:30px;font-weight:900;line-height:36px;color:#ff1493}
.presentation-day span{font-size:12px;font-weight:700;text-transform:uppercase;color:#6b7280;line-height:16px}
.presentation-copy{min-width:0;flex:1}
.presentation-copy h3{font-size:20px;font-weight:700;line-height:28px;margin:0 0 8px;color:#111827}
.presentation-details{display:flex;flex-wrap:wrap;gap:16px;font-size:14px;line-height:20px;color:#6b7280;margin-bottom:16px}
.presentation-details span{display:flex;align-items:center;gap:6px}.presentation-details svg{width:16px;height:16px;color:#ff1493;flex-shrink:0}
.presentation-copy>p{font-size:14px;line-height:1.625;color:#4b5563;margin:0 0 24px;overflow-wrap:anywhere}
.presentation-copy .button{border-radius:999px;padding:8px 32px;min-height:40px;text-transform:uppercase;box-shadow:0 10px 15px #0002;max-width:100%;white-space:normal}
.presentation-copy .button svg{flex-shrink:0}.course-presentation>.public-media-gallery{margin-top:32px}
.is-workshop .course-presentation-body{background:#18181b;border-color:#27272a}.is-workshop .course-presentation>h2,.is-workshop .presentation-copy h3{color:#fff}.is-workshop .presentation-copy>p{color:#d1d5db}
.course-facts{grid-area:facts;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-self:start}
.course-fact{padding:24px;border:1px solid #f3f4f6;border-radius:12px;background:#f9fafb}
.course-fact h3{display:flex;align-items:center;gap:12px;color:#ff1493;font-size:14px;font-weight:700;line-height:20px;text-transform:uppercase;margin:0 0 8px}
.course-fact h3 svg{width:24px;height:24px;flex-shrink:0}
.course-fact p{font-size:20px;font-weight:700;line-height:28px;color:#111827;margin:0;overflow-wrap:anywhere}
.course-teacher{grid-column:1/-1;border:1px solid #e5e7eb;border-radius:12px;padding:24px;display:flex;align-items:center;gap:16px}
.course-teacher-avatar{flex:0 0 64px;width:64px;height:64px;border:2px solid #ff1493;border-radius:50%;overflow:hidden;background:#f3f4f6;display:grid;place-items:center;color:#6b7280}
.course-teacher-avatar img{width:100%;height:100%;object-fit:cover}.course-teacher-avatar svg{width:32px;height:32px}
.course-teacher>div:last-child{min-width:0}
.course-teacher-label{color:#6b7280;font-size:12px;line-height:16px;font-weight:700;text-transform:uppercase;margin:0 0 4px}
.course-teacher-name{font-size:20px;line-height:28px;font-weight:700;color:#111827;margin:0 0 12px}
.course-teacher .instructor-contact-button{padding:12px 24px;border-radius:8px;background:#fff;font-size:16px;line-height:24px;box-shadow:0 1px 2px #0001;max-width:100%;white-space:normal;text-align:center}
.course-teacher .instructor-contact-button svg{flex-shrink:0;width:20px;height:20px}
.course-description-block{grid-area:description}
.course-detail .course-description-block h2{border-left:4px solid #ff1493;padding-left:16px;font-size:24px;line-height:32px;font-weight:900;text-transform:uppercase;margin:0 0 24px}
.course-description-block .description{font-size:16px;line-height:1.625;color:#4b5563;margin:0;white-space:pre-line;overflow-wrap:anywhere}
.course-detail .course-enrollment{grid-area:enrollment;position:static;align-self:start;border:0;padding:0;width:auto;min-width:0}
.info-buttons{display:grid;gap:9px}.info-buttons .button{border-radius:8px;padding:12px 14px;min-height:48px;font-size:14px;font-weight:950;line-height:1.15;text-transform:uppercase;box-shadow:0 12px 30px #ff149338}
.course-calendar{grid-area:calendar;padding:32px;border:1px solid #f3f4f6;border-radius:12px;background:#f9fafb}
.course-detail .course-calendar h2{display:flex;gap:8px;align-items:center;font-size:24px;line-height:32px;font-weight:900;text-transform:uppercase;margin:0 0 24px}
.course-calendar h2 svg{width:24px;height:24px;flex-shrink:0;color:#ff1493}
.course-lesson-rows{display:grid;gap:16px}
.course-lesson{display:flex;align-items:center;gap:24px;border:1px solid #f3f4f6;border-left:4px solid #ff1493;background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 3px #0002}
.lesson-day{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:80px;padding:12px;border:1px solid #fce7f3;border-radius:8px;background:#fdf2f8;text-align:center}
.lesson-day strong{color:#ff1493;font-size:24px;line-height:32px}.lesson-day>span{font-size:12px;line-height:16px;font-weight:700;text-transform:uppercase;color:#4b5563}
.lesson-copy{min-width:0;flex-grow:1}.lesson-number{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:4px;font-size:12px;line-height:16px;font-weight:700}
.lesson-number>span:first-child{border-radius:999px;background:#ff14931a;color:#ff1493;padding:2px 8px;text-transform:uppercase}
.lesson-ended{display:flex;align-items:center;color:#9ca3af;font-weight:500}.lesson-ended svg{width:12px;height:12px}
.course-lesson h3{font-size:18px;line-height:28px;font-weight:700;margin:0 0 4px;color:#111827}
.course-lesson p{display:flex;gap:16px;align-items:center;font-size:14px;line-height:20px;color:#6b7280;margin:0}
.course-lesson p>span{display:flex;gap:4px;align-items:center}.course-lesson p svg{width:16px;height:16px;flex-shrink:0}
.lesson-course-name{color:#9ca3af;border-left:1px solid #d1d5db;padding-left:16px;overflow:hidden}
.course-lesson.is-past{background:#f9fafb;border-color:#e5e7eb;border-left-color:#d1d5db}.is-past .lesson-day{background:#fff;border-color:#f3f4f6}.is-past .lesson-day strong,.is-past .lesson-day>span{color:#9ca3af}.is-past .lesson-number>span:first-child{background:#e5e7eb;color:#6b7280}.is-past h3{color:#6b7280}
.course-no-dates{padding:32px;text-align:center;border:1px dashed #e5e7eb;border-radius:12px;color:#6b7280}
.course-mobile-actions{display:none;max-width:360px;margin:24px auto 20px;gap:8px}
.course-mobile-actions button,.course-mobile-actions a{display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;padding:13px 18px;border:0;border-radius:8px;color:#fff;text-align:center;font-size:14px;line-height:1.2;font-weight:950;text-transform:uppercase;background:#111827}
.course-mobile-actions a{flex-direction:column;gap:2px;background:#ff1493;box-shadow:0 12px 30px #ff149338}
.course-mobile-actions a>span:last-child{font-size:13px;font-weight:850;line-height:1.15;text-transform:none}
.course-detail.is-workshop{background:#09090b;color:#fff}
.is-workshop .course-fact,.is-workshop .course-teacher,.is-workshop .course-calendar{background:#18181b;border-color:#27272a}
.is-workshop .course-fact p,.is-workshop .course-teacher-name,.is-workshop .course-description-block h2,.is-workshop .course-calendar h2{color:#fff}
.is-workshop .description{color:#d1d5db}
@media(max-width:1023px){.course-detail-inner{padding-inline:24px} .course-detail-grid{padding-bottom:96px;grid-template-columns:minmax(0,1fr);grid-template-areas:"facts" "enrollment" "description" "calendar"}.course-detail-grid.has-gallery{grid-template-areas:"facts" "enrollment" "description" "gallery" "calendar"}.course-detail .course-enrollment{order:initial}.course-detail .enrollment-box h2{margin-top:0}}
@media(max-width:767px){.course-banner-content{padding:32px}.course-detail .course-banner h1{font-size:36px;line-height:1}.course-facts{grid-template-columns:minmax(0,1fr)}.course-mobile-actions{display:grid}.course-detail-grid{display:grid}.course-detail .course-enrollment{position:static}}
@media(max-width:1023px){.course-detail-grid.has-presentation{grid-template-areas:"facts" "enrollment" "description" "presentation" "calendar"}.course-detail-grid.has-gallery.has-presentation{grid-template-areas:"facts" "enrollment" "description" "gallery" "presentation" "calendar"}}
@media(max-width:767px){.course-presentation-body{flex-direction:column}}
@media(max-width:639px){.course-detail-inner{padding-inline:16px}.course-lesson{padding:16px;flex-direction:column;align-items:flex-start;gap:16px}.course-lesson .lesson-course-name{display:none}.course-calendar{padding:32px}}
