/* Course details page (resources/views/frontend/course/course-details.blade.php).
   Brand tokens come from style.css :root; everything here is scoped under .cd-page. */
.cd-page {
    --cd-navy: #081d2f;
    --cd-navy-2: #082f4f;
    --cd-ink: var(--heading-color, #040453);
    --cd-body: var(--body-font-color, #52526C);
    --cd-blue: var(--theme-color, #0861a7);
    --cd-line: #e7e3d8;
    --cd-top: 109px;
    --cd-nav-h: 56px;
    color: var(--cd-body);
}

/* ---------- Hero ---------- */
.cd-hero {
    position: relative;
    /* --cd-hero-pad (set in JS) = how far the fixed header overlaps the hero; the body already
       has top padding for the announcement bar, so the full header height would double-count it */
    padding: calc(var(--cd-hero-pad, var(--cd-top)) + 40px) 0 72px;
    color: #c9d6e3;
    background:
        /* faint drawing grid: a nod to the takeoff sheets this course is about */
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 32px 32px,
        linear-gradient(153deg, var(--cd-navy) 30%, var(--cd-navy-2) 65%);
}

/* Optional photo behind the hero: public/frontend/assets/img/course-hero.webp. Blade adds .cd-hero--photo and
   sets --cd-hero-photo only when that file exists; otherwise the plain grid above is used. */
.cd-hero--photo {
    background:
        linear-gradient(90deg, rgba(8, 29, 47, .97) 0%, rgba(8, 29, 47, .9) 42%, rgba(8, 47, 79, .55) 100%),
        var(--cd-hero-photo) center / cover no-repeat,
        var(--cd-navy);
}
@media (max-width: 991.98px) {
    .cd-hero--photo { background: linear-gradient(rgba(8, 29, 47, .9), rgba(8, 29, 47, .94)), var(--cd-hero-photo) center / cover no-repeat, var(--cd-navy); }
}

.cd-crumbs { font-size: 14px; margin-bottom: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.cd-crumbs a { color: #9fb7cc; }
.cd-crumbs a:hover { color: #fff; }
.cd-crumbs span { color: #5d7890; }
.cd-title {
    color: #fff;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -.02em;
    margin: 0 0 18px;
}
.cd-subtitle { font-size: 17px; line-height: 1.65; max-width: 62ch; margin: 0 0 24px; color: #c9d6e3; }

.cd-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 15px; margin-bottom: 32px; }
.cd-proof a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .35); }
.cd-proof a:hover { text-decoration-color: #fff; }
.cd-proof-rating { display: inline-flex; align-items: center; gap: 8px; }
.cd-proof-rating strong { color: var(--color-yellow, #FFC014); font-size: 17px; }
.cd-proof .rating-list { margin: 0; padding: 0; }

.cd-facts {
    display: grid;
    grid-template-columns: repeat(4, auto);
    justify-content: start;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding-top: 22px;
}
.cd-facts > div { padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.cd-facts > div:first-child { padding-left: 0; border-left: 0; }
.cd-facts dt { font-size: 13px; font-weight: 400; color: #8ea7bd; margin-bottom: 4px; }
.cd-facts dd { margin: 0; color: #fff; font-size: 16px; font-weight: 600; }

/* ---------- Body ---------- */
/* layouts/app.blade.php sets `section { padding-bottom: 0 !important }` globally, so both
   section-level paddings here need !important to survive it. */
.cd-body { padding: 0 0 96px !important; }

/* Enroll card */
.cd-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(8, 29, 47, .06), 0 12px 32px rgba(8, 29, 47, .12);
    overflow: hidden;
    margin-top: -40px;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}
.cd-card-media { position: relative; aspect-ratio: 16 / 10; background: var(--cd-navy); }
.cd-card-media > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cd-play {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    border: 0; color: #fff; font-weight: 600; font-size: 14px;
    background: linear-gradient(180deg, transparent 40%, rgba(8, 29, 47, .65));
}
.cd-play img { width: 56px; height: 56px; padding: 18px; border-radius: 50%; background: var(--cd-blue); box-shadow: 0 0 0 8px rgba(255, 255, 255, .25); }
.cd-play:focus-visible { outline: 3px solid #fff; outline-offset: -6px; }

.cd-card-body { padding: 22px 24px 24px; }
.cd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.cd-price-now { font-size: 32px; font-weight: 700; color: var(--cd-ink); letter-spacing: -.01em; }
.cd-price-was { font-size: 17px; color: var(--gray-color, #767588); }
.cd-price-off { font-size: 13px; font-weight: 600; color: #1e7a4c; background: var(--color-light-green, rgba(69, 200, 129, .22)); padding: 3px 9px; border-radius: 20px; }
.cd-price-ends { color: var(--orange-deep, #FF3C16); font-size: 14px; margin: 6px 0 0; display: flex; align-items: center; gap: 6px; }

#cdCta { margin-top: 18px; }
.cd-card .theme-btn, .cd-bar .theme-btn { text-transform: none; }
.cd-card .theme-btn { height: 52px; font-size: 16px; margin: 0 !important; justify-content: center; }
.cd-btn-ghost {
    margin-top: 10px; height: 46px; border-radius: 4px;
    border: 1px solid var(--cd-blue); background: #fff; color: var(--cd-blue); font-weight: 600; font-size: 15px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.cd-btn-ghost:hover { background: rgba(8, 97, 167, .06); }

.cd-card-links { display: flex; justify-content: center; gap: 24px; margin: 14px 0 0; }
.cd-card-links button { border: 0; background: none; color: var(--cd-body); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; }
.cd-card-links button:hover { color: var(--cd-blue); }

.cd-card-h { font-size: 16px; font-weight: 600; color: var(--cd-ink); margin: 22px 0 12px; padding-top: 20px; border-top: 1px solid var(--cd-line); }
.cd-includes { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.cd-includes li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.cd-includes .iconify { color: var(--cd-blue); font-size: 18px; flex-shrink: 0; }

/* Section nav */
.cd-nav {
    position: sticky; top: var(--cd-top); z-index: 5;
    display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
    background: #fff; border-bottom: 1px solid var(--cd-line);
    border-radius: 10px 10px 0 0; padding: 0 16px; height: var(--cd-nav-h);
    margin-top: 32px;
}
.cd-nav::-webkit-scrollbar { display: none; }
.cd-nav a {
    flex-shrink: 0; display: flex; align-items: center; padding: 0 12px;
    font-size: 15px; font-weight: 500; color: var(--cd-body);
    border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.cd-nav a:hover { color: var(--cd-ink); }
.cd-nav a.is-active { color: var(--cd-blue); border-bottom-color: var(--cd-blue); }

/* Sections share one white sheet, divided by rules rather than separate cards */
.cd-sections { background: #fff; border-radius: 0 0 10px 10px; padding: 0 40px; }
.cd-sec { padding: 44px 0 !important; border-top: 1px solid var(--cd-line); scroll-margin-top: calc(var(--cd-top) + var(--cd-nav-h)); }
.cd-sec:first-child { border-top: 0; }
.cd-sections .tab-pane { display: block; opacity: 1; padding: 0; }
.cd-sections h2, .cd-section-head h2 { font-size: 24px; font-weight: 650; color: var(--cd-ink); letter-spacing: -.01em; margin: 0 0 6px; }
.cd-section-head { margin-bottom: 24px; }
.cd-section-head p { margin: 0; font-size: 15px; }

/* Overview */
.cd-learn { background: #f6f9fc; border: 1px solid #dfe9f3; border-radius: 8px; padding: 24px 28px; margin-bottom: 40px; }
.cd-learn h2 { margin-bottom: 16px; }
.cd-learn ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.cd-learn li { display: flex; gap: 10px; align-items: flex-start; color: var(--cd-ink); font-size: 15.5px; line-height: 1.5; }
.cd-learn .iconify { color: #1e9e5c; font-size: 18px; margin-top: 2px; flex-shrink: 0; }

.cd-about-h { margin-bottom: 14px !important; }
.cd-desc { font-size: 16px; line-height: 1.75; max-width: 70ch; }
.cd-clamp { max-height: var(--clamp, 13em); overflow: hidden; position: relative; }
.cd-clamp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5em; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.cd-clamp.is-open { max-height: none; }
.cd-clamp.is-open::after { display: none; }
.cd-desc p { margin-bottom: 1em; }
.cd-readmore { border: 0; background: none; padding: 8px 0; margin-top: 4px; color: var(--cd-blue); font-weight: 600; font-size: 15px; }
.cd-readmore:hover { text-decoration: underline; }

/* Curriculum */
.cd-sections .accordion { border: 1px solid var(--cd-line); border-radius: 8px; overflow: hidden; }
.cd-sections .accordion-item { border: 0; border-top: 1px solid var(--cd-line); border-radius: 0 !important; }
.cd-sections .accordion-item:first-child { border-top: 0; }
.cd-sections .accordion-button { font-size: 16px !important; font-weight: 600; color: var(--cd-ink); padding: 16px 20px; background: #faf9f5; box-shadow: none; }
.cd-sections .accordion-button:not(.collapsed) { background: #faf9f5; color: var(--cd-blue); }
.cd-sections .accordion-button:focus-visible { outline: 2px solid var(--cd-blue); outline-offset: -2px; }
.cd-sections .accordion-body { padding: 4px 20px 4px; }
.cd-sections .play-list { padding: 0 !important; margin: 0 !important; }

/* Reviews */
.cd-sections .customer-review-load-more-btn { margin-top: 24px; }
.cd-sections .customer-review-load-more-btn .load-more-btn {
    margin: 0 !important; height: 44px; padding: 0 20px; border-radius: 4px;
    border: 1px solid var(--cd-blue) !important; background: #fff !important; color: var(--cd-blue) !important; font-weight: 600;
}
.cd-sections .customer-review-load-more-btn .load-more-btn:hover { background: rgba(8, 97, 167, .06) !important; }

/* Resources & certificate */
.cd-sections #Resources .after-purchase-course-watch-tab,
.cd-sections #Certificate .after-purchase-course-watch-tab { padding: 0 !important; }
.cd-sections #Resources .resource-list-text { padding: 8px 0; border-bottom: 1px dashed var(--cd-line); align-items: center; }
.cd-sections #Resources .resource-list-text p { text-decoration: none !important; margin: 0; }
.cd-sections #Certificate .empty-data { padding: 0 !important; margin: 0 !important; text-align: left; border: 0 !important; background: none !important; }
.cd-sections #Certificate img { max-width: 520px; width: 100%; height: auto !important; min-height: 0 !important; object-fit: contain; border: 1px solid var(--cd-line); border-radius: 6px; }

/* Instructor partial uses bootstrap .row with p-0 columns; keep it flush */
.cd-sections #Instructor > .row { margin: 0; }

/* Curriculum headers + previews */
.cd-section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.cd-expand { border: 0; background: none; padding: 4px 0; color: var(--cd-blue); font-weight: 600; font-size: 15px; white-space: nowrap; }
.cd-expand:hover { text-decoration: underline; }
.cd-sections .accordion-button { flex-wrap: wrap; row-gap: 2px; }
.cd-lesson-name { flex: 1 1 100%; padding-right: 24px; }
.cd-lesson-meta { text-transform: none; font-size: 13.5px; font-weight: 400; color: var(--cd-body); }
/* Every lesson row (preview or locked, any type) uses the same columns:
   icon | title | tag/lock (--tag) | time (--time), so tags, locks and times line up down the list. */
.cd-sections .play-list { --tag: 84px; --time: 3.6em; }
.cd-sections .play-list > a {
    /* responsive.css stacks .edit-lecture-preview-show into a column on small screens; keep rows horizontal */
    display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important;
    align-items: center !important; justify-content: space-between; gap: 16px;
    margin: 0 !important; padding: 10px 0; min-height: 46px; border-bottom: 1px dashed var(--cd-line);
    font-size: 15.5px; line-height: 1.45;
}
.cd-sections .play-list > a:last-of-type { border-bottom: 0; }
.cd-sections .play-list > a > div:first-child { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; }
.cd-sections .play-list > a > div:first-child > div:first-child { flex-shrink: 0; display: flex; }
.cd-sections .play-list > a > div:first-child img { width: 18px; height: 18px; margin: 0 !important; }
.cd-sections .play-list p,
.cd-sections .play-list .lecture-edit-title { flex: 1 1 auto; min-width: 0; white-space: normal !important; overflow-wrap: anywhere; margin: 0 !important; padding: 0 !important; font-size: 15.5px !important; font-weight: 500; color: var(--cd-ink); }
.cd-sections .play-list-item p { color: var(--cd-body); }
.cd-sections .edit-lecture-preview-show:hover .lecture-edit-title { color: var(--cd-blue); }

.cd-sections .upload-course-video-6-text,
.cd-sections .play-list-right {
    display: grid !important; grid-template-columns: var(--tag) var(--time); align-items: center;
    flex: 0 0 auto; margin: 0 !important; padding: 0 !important;
}
.cd-sections .see-preview-video,
.cd-sections .cd-lock { grid-column: 1; justify-self: center; margin: 0 !important; }
.cd-sections .video-time-count {
    grid-column: 2; justify-self: end; margin: 0 !important; padding: 0 !important;
    font-size: 14px !important; color: var(--cd-body); font-variant-numeric: tabular-nums;
}
.cd-sections .see-preview-video {
    font-size: 12.5px !important; font-weight: 600; line-height: 1.6; color: #1e7a4c !important;
    background: var(--color-light-green, rgba(69, 200, 129, .22)); padding: 1px 10px; border-radius: 20px;
    width: auto !important; min-width: 0 !important; text-align: center;
}
.cd-sections .cd-lock { display: inline-flex; color: var(--gray-color, #767588); font-size: 16px; }

/* Rating summary */
.cd-sections .review-tab-top-part { gap: 32px; align-items: center !important; margin-bottom: 8px; }
.cd-sections .review-tab-count-box { flex: 0 0 auto; min-width: 150px; padding: 18px 20px; background: #faf9f5; border: 1px solid var(--cd-line); border-radius: 8px; box-shadow: none; }
.cd-sections .review-tab-count-box h3 { font-size: 44px; font-weight: 700; color: var(--cd-ink); line-height: 1; margin-bottom: 8px; }
.cd-sections .review-tab-count-box .rating-list { justify-content: center; }
.cd-sections .review-tab-count-box p { margin: 6px 0 0; font-size: 14px; }
/* responsive.css hides the bars on phones; they're the useful part, so keep them */
.cd-sections .review-progress-bar-wrap { display: block !important; flex: 1; width: auto; margin: 0 !important; }
.cd-sections .barras { width: 100% !important; margin: 0 0 8px !important; }
.cd-sections .progress-bar-box { gap: 12px; }
.cd-sections .progress-hint .rating-list { display: none !important; }
.cd-sections .hint-number { margin: 0 !important; width: 3.2em; font-size: 14px; }
.cd-sections .hint-number::after { content: " star"; font-weight: 400; color: var(--cd-body); }
.cd-sections .barra { flex: 1; height: 8px; border-radius: 8px; background: #eeebe3; overflow: hidden; margin: 0; }
.cd-sections .barra-nivel { height: 100%; border-radius: 8px; background: var(--color-yellow, #FFC014); }
.cd-sections .valor-nivel { display: none; }
.cd-sections .progress-hint-value { width: 2.5em; text-align: right; font-size: 14px; }

/* Avatars with initials fallback */
.cd-avatar { position: relative; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; background: #e6eef6; color: var(--cd-blue); font-weight: 600; font-size: 16px; }
.cd-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cd-sections .discussion-inner-comment-item .cd-avatar { width: 40px; height: 40px; font-size: 14px; }
.cd-sections .discussion-comment-item > .cd-avatar { margin-right: 16px; }
.cd-sections .customer-review-item > .cd-avatar + .flex-grow-1 { margin-left: 16px !important; }

/* Discussion */
.cd-more-hidden { display: none !important; }
.cd-more-threads { width: auto !important; padding: 0 20px; margin-top: 8px; }

/* Instructor */
.cd-instructor-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 20px; }
.cd-instructor-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.cd-instructor-name { font-size: 20px; font-weight: 650; color: var(--cd-ink); margin: 4px 0 2px; }
.cd-instructor-title { font-size: 15px; margin: 0 0 12px; }
.cd-instructor-stats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.cd-instructor-stats li { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; color: var(--cd-ink); }
.cd-instructor-stats .iconify { color: var(--cd-blue); }
.cd-instructor-stats li:first-child .iconify { color: var(--color-yellow, #FFC014); }
#cdBio { --clamp: 7.2em; font-size: 16px; line-height: 1.75; max-width: 70ch; }
#cdBio p { margin: 0; }

/* Top review in the enroll card */
.cd-quote { margin: 18px 0 0; padding: 14px 16px; background: #faf9f5; border-radius: 8px; }
.cd-quote-stars { color: var(--color-yellow, #FFC014); font-size: 13px; letter-spacing: 1px; }
.cd-quote blockquote { margin: 4px 0 6px; font-size: 14.5px; line-height: 1.55; color: var(--cd-ink);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cd-quote figcaption { font-size: 13.5px; font-weight: 600; color: var(--cd-body); }

/* Related courses */
.cd-related { margin-top: 64px; }
/* Related course cards: same image box, 2-line titles, rating + price pinned to the bottom,
   so every card in a row lines up whatever the image size or title length. */
.cd-related .row > [class*="col-"]:not(.col-12) { display: flex; margin-bottom: 24px; }
.cd-related .course-item { display: flex; flex-direction: column; width: 100%; height: 100%; margin: 0; padding: 0;
    border-radius: 10px !important; overflow: hidden; box-shadow: 0 1px 2px rgba(8, 29, 47, .06), 0 8px 24px rgba(8, 29, 47, .08); }
.cd-related .course-img-wrap { aspect-ratio: 16 / 10; min-height: 0; border-radius: 0; background: #e6eef6; flex-shrink: 0; }
.cd-related .course-img-wrap { display: block !important; }
.cd-related .course-img-wrap > a { display: block; width: 100%; height: 100%; }
.cd-related .course-img-wrap img { width: 100%; height: 100%; min-height: 0; object-fit: cover; display: block; }
.cd-related .course-item .card-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 18px 20px 20px; }
.cd-related .course-title { font-size: 17px; line-height: 1.4; font-weight: 600; margin: 0 0 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.cd-related .course-title a { color: var(--cd-ink); }
.cd-related .course-title a:hover { color: var(--cd-blue); }
.cd-related .instructor-name-certificate { margin: 0 0 14px; font-size: 12px; letter-spacing: .02em; color: var(--gray-color, #767588); }
.cd-related .course-item-bottom { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--cd-line); }
.cd-related .course-rating { margin-bottom: 8px; }
.cd-related .instructor-bottom-item { display: flex; align-items: baseline; gap: 10px; font-size: 14px; }
.cd-related .instructor-bottom-item .color-hover { font-size: 18px; font-weight: 700; color: var(--cd-ink) !important; }
.cd-related .instructor-bottom-item .text-decoration-line-through { padding: 0 !important; }
.cd-related .course-tag { top: 12px; left: 12px; z-index: 2; }
.cd-related .course-item-hover-btns { top: 14px; right: 14px; }
@media (hover: none) { .cd-related .course-item-hover-btns { opacity: 1; } }
.cd-related h2 { font-size: 24px; font-weight: 650; color: var(--cd-ink); letter-spacing: -.01em; margin: 0 0 24px; }

/* Mobile price bar */
.cd-bar { display: none; }

/* --cd-card-top is set in JS: below the header when the card fits, otherwise pinned by its bottom edge */
@media (min-width: 992px) and (min-height: 600px) {
    .cd-card { position: sticky; top: var(--cd-card-top, calc(var(--cd-top) + 20px)); }
}
@media (min-width: 992px) {
    .cd-card { margin-top: calc(-1 * var(--cd-pull, 340px)); margin-left: 12px; }
    .cd-hero .col-lg-7 { padding-right: 32px; }
    .cd-nav { margin-top: -40px; }
}

@media (max-width: 991.98px) {
    .cd-hero { padding-top: calc(var(--cd-hero-pad, var(--cd-top)) + 24px); padding-bottom: 64px; }
    .cd-card { max-width: 560px; margin-left: auto; margin-right: auto; }
    .cd-nav { margin-top: 0; border-radius: 0; margin-left: calc(var(--bs-gutter-x) * -.5); margin-right: calc(var(--bs-gutter-x) * -.5); }
    .cd-sections { border-radius: 0; padding: 0 20px; margin: 0 calc(var(--bs-gutter-x) * -.5); }
    .cd-body { padding-bottom: 120px !important; }

    .cd-bar {
        display: flex; align-items: center; justify-content: space-between; gap: 16px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: #fff; border-top: 1px solid var(--cd-line); box-shadow: 0 -6px 20px rgba(8, 29, 47, .1);
        transform: translateY(100%); visibility: hidden; transition: transform .25s ease, visibility .25s;
    }
    .cd-bar.is-visible { transform: none; visibility: visible; }
    .cd-bar-price strong { display: block; font-size: 20px; color: var(--cd-ink); line-height: 1.2; }
    .cd-bar-price s { font-size: 14px; color: var(--gray-color, #767588); }
    .cd-bar .theme-btn { height: 46px; padding: 0 22px; margin: 0 !important; white-space: nowrap; }
    .cd-bar .add-to-cart-section { flex-shrink: 0; }
    .cd-bar .add-to-cart-section .theme-btn { width: auto !important; }
    body:has(.cd-bar.is-visible) .whatsapp-bubble { bottom: 92px; }
}

@media (max-width: 575.98px) {
    .cd-sections .play-list { --tag: 66px; --time: 3.1em; }
    .cd-sections .play-list > a { gap: 10px; font-size: 14.5px; }
    .cd-sections .play-list p, .cd-sections .play-list .lecture-edit-title { font-size: 14.5px !important; }
    .cd-sections .accordion-button { padding: 14px 16px; }
    .cd-sections .accordion-body { padding: 4px 16px 4px; }
    .cd-sections .review-tab-top-part { flex-direction: column; align-items: stretch !important; gap: 20px; }
    .cd-sections .review-tab-count-box { display: flex; align-items: center; justify-content: center; gap: 14px; text-align: left !important; }
    .cd-sections .review-tab-count-box h3 { margin: 0; font-size: 40px; }
    .cd-sections .review-tab-count-box p { margin: 0; }
    .cd-sections .customer-review-item h6 { font-size: 17px; }
    .cd-instructor-head { flex-direction: column; }
    .cd-facts { grid-template-columns: 1fr 1fr; row-gap: 16px; }
    .cd-facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
    .cd-learn { padding: 20px; }
    .cd-learn ul { grid-template-columns: 1fr; }
    .cd-sec { padding: 32px 0 !important; }
    .cd-sections h2, .cd-section-head h2 { font-size: 21px; }
}

@media (prefers-reduced-motion: reduce) {
    .cd-bar { transition: none; }
}
html:has(.cd-page) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(.cd-page) { scroll-behavior: auto; } }
