:root {
    --v2-black: #202020;
    --v2-pink: #fa2851;
    --v2-yellow: #ffc107;
    --v2-paper: #f6f7fa;
    --v2-muted: #74747b;
}

html { scroll-behavior: smooth; }
.v2-course-detail-page { background: #fff; color: var(--v2-black); }
.v2-course-detail-page main { overflow: hidden; }
.v2-course-detail-page .rounded-bar { z-index: 1100; }

.v2-detail-hero {
    background: var(--v2-paper);
    min-height: 570px;
    overflow: hidden;
    padding: 190px 0 105px;
    position: relative;
}

.v2-detail-shape { display: block; pointer-events: none; position: absolute; transform: rotate(45deg); }
.v2-detail-shape-yellow {
    background: var(--v2-yellow);
    border-radius: 80px;
    height: 660px;
    right: -320px;
    top: -310px;
    width: 660px;
}
.v2-detail-shape-pink {
    background: var(--v2-pink);
    border-radius: 28px;
    bottom: -125px;
    height: 235px;
    right: 18%;
    width: 235px;
}

.v2-detail-back {
    color: var(--v2-black);
    display: inline-flex;
    font: 600 13px/1 "Raleway", sans-serif;
    gap: 8px;
    letter-spacing: .09em;
    margin-bottom: 42px;
    text-transform: uppercase;
}
.v2-detail-back:hover { color: var(--v2-pink); }
.v2-detail-eyebrow {
    background: var(--v2-yellow);
    color: var(--v2-black);
    display: inline-block;
    font: 700 12px/1 "Raleway", sans-serif;
    letter-spacing: .12em;
    margin-bottom: 22px;
    padding: 11px 16px;
    text-transform: uppercase;
}
.v2-detail-hero h1 {
    color: var(--v2-black);
    font: 700 clamp(42px, 5.4vw, 76px)/1.03 "Raleway", sans-serif;
    letter-spacing: -.04em;
    margin: 0 0 28px;
    max-width: 920px;
}
.v2-detail-rating { align-items: center; display: flex; flex-wrap: wrap; font: 400 14px/1.4 "Roboto", sans-serif; gap: 9px; }
.v2-detail-rating .stars, .v2-review-score i, .v2-review-item-head > span { color: var(--v2-yellow); }
.v2-detail-rating strong { color: var(--v2-black); }
.v2-detail-rating > span:last-child { color: var(--v2-muted); }
.v2-detail-byline { align-items: center; display: flex; flex-wrap: wrap; gap: 18px 30px; list-style: none; margin: 29px 0 0; padding: 0; }
.v2-detail-byline li { align-items: center; color: #525258; display: flex; font: 400 14px/1.4 "Roboto", sans-serif; gap: 8px; }
.v2-detail-byline li + li { border-left: 1px solid #cfd0d5; padding-left: 30px; }
.v2-detail-byline img { border-radius: 50%; height: 34px; object-fit: cover; width: 34px; }
.v2-detail-byline i { color: var(--v2-pink); font-size: 20px; }

.v2-course-body {
    background: #fff;
    overflow: hidden;
    padding: 85px 0 120px;
    position: relative;
}
.v2-course-body::before,
.v2-course-body::after {
    border-radius: 46px;
    content: "";
    pointer-events: none;
    position: absolute;
    transform: rotate(45deg);
    z-index: 0;
}
.v2-course-body::before {
    background: var(--v2-pink);
    height: 460px;
    left: -375px;
    top: 440px;
    width: 460px;
}
.v2-course-body::after {
    background: var(--v2-yellow);
    height: 560px;
    right: -465px;
    top: 1190px;
    width: 560px;
}
.v2-body-shape-black {
    background: var(--v2-black);
    border-radius: 52px;
    display: block;
    height: 520px;
    left: -430px;
    pointer-events: none;
    position: absolute;
    top: 2150px;
    transform: rotate(45deg);
    width: 520px;
    z-index: 0;
}
.v2-course-body > .container { position: relative; z-index: 1; }
.v2-detail-nav {
    align-items: center;
    background: var(--v2-black);
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 28px;
    padding: 10px;
}
.v2-detail-nav a { color: #fff; font: 600 13px/1 "Raleway", sans-serif; padding: 14px 20px; }
.v2-detail-nav a:hover { background: var(--v2-pink); color: #fff; }

.v2-detail-panel {
    border: 1px solid #e8e8ed;
    margin-bottom: 28px;
    overflow: hidden;
    padding: 48px;
    position: relative;
    scroll-margin-top: 105px;
}
.v2-detail-panel::before { background: var(--v2-yellow); content: ""; height: 5px; left: 0; position: absolute; top: 0; width: 72px; }
.v2-panel-number { color: #eeeeF1; font: 800 90px/1 "Raleway", sans-serif; position: absolute; right: 28px; top: 25px; z-index: 0; }
.v2-panel-kicker { color: var(--v2-pink); font: 700 12px/1 "Raleway", sans-serif; letter-spacing: .12em; margin: 0 0 10px; position: relative; text-transform: uppercase; }
.v2-detail-panel h2 { color: var(--v2-black); font: 700 35px/1.2 "Raleway", sans-serif; margin: 0 0 30px; position: relative; }
.v2-panel-heading-row { align-items: start; display: flex; justify-content: space-between; position: relative; }
.v2-panel-heading-row > span { color: var(--v2-muted); font: 400 13px/1.5 "Roboto", sans-serif; padding-top: 8px; }
.v2-rich-content, .v2-rich-content p, .v2-rich-content li { color: #626268; font: 400 16px/1.8 "Roboto", sans-serif; }
.v2-rich-content > *:last-child { margin-bottom: 0; }
.v2-rich-content img { height: auto; max-width: 100%; }

.v2-chapter { border-top: 1px solid #e2e2e6; }
.v2-chapter:last-child { border-bottom: 1px solid #e2e2e6; }
.v2-chapter summary { align-items: center; cursor: pointer; display: grid; gap: 16px; grid-template-columns: 35px 1fr auto 24px; list-style: none; padding: 22px 5px; }
.v2-chapter summary::-webkit-details-marker { display: none; }
.v2-chapter summary > span { color: var(--v2-pink); font: 700 12px/1 "Raleway", sans-serif; }
.v2-chapter summary strong { color: var(--v2-black); font: 700 16px/1.4 "Raleway", sans-serif; }
.v2-chapter summary small { color: var(--v2-muted); font: 400 13px/1 "Roboto", sans-serif; }
.v2-chapter summary > i { font-size: 20px; transition: transform .25s ease; }
.v2-chapter[open] summary > i { transform: rotate(45deg); }
.v2-chapter ul { background: var(--v2-paper); list-style: none; margin: 0 0 18px; padding: 8px 20px; }
.v2-chapter li { align-items: center; border-bottom: 1px solid #e1e2e7; display: flex; min-height: 58px; padding: 10px 0; }
.v2-chapter li:last-child { border-bottom: 0; }
.v2-lesson-icon { align-items: center; background: #fff; border-radius: 50%; color: var(--v2-pink); display: inline-flex; flex: 0 0 32px; height: 32px; justify-content: center; margin-right: 13px; }
.v2-lesson-title { color: #4f4f55; font: 500 14px/1.4 "Roboto", sans-serif; }
.v2-lesson-time, .v2-preview-link { margin-left: auto; }
.v2-lesson-time { color: #87878d; font: 400 12px/1 "Roboto", sans-serif; }
.v2-preview-link { color: var(--v2-pink); font: 700 12px/1 "Raleway", sans-serif; text-transform: uppercase; }
.v2-empty-note { background: var(--v2-paper); color: var(--v2-muted); font: 400 15px/1.6 "Roboto", sans-serif; margin: 0; padding: 24px; }

.v2-instructor { display: grid; gap: 36px; grid-template-columns: 210px 1fr; position: relative; }
.v2-instructor-photo { position: relative; }
.v2-instructor-photo::after { background: var(--v2-yellow); bottom: -10px; content: ""; height: 70%; position: absolute; right: -10px; width: 70%; z-index: 0; }
.v2-instructor-photo img { height: 250px; object-fit: cover; position: relative; width: 100%; z-index: 1; }
.v2-instructor-copy h3 { font: 700 26px/1.25 "Raleway", sans-serif; margin: 0 0 4px; }
.v2-instructor-copy .role { color: var(--v2-pink); font: 500 14px/1.4 "Roboto", sans-serif; margin-bottom: 20px; }
.v2-instructor-copy > p:not(.role) { color: #66666c; font: 400 14px/1.7 "Roboto", sans-serif; }
.v2-instructor-stats { display: flex; gap: 25px; list-style: none; margin: 0 0 20px; padding: 0; }
.v2-instructor-stats li { display: flex; flex-direction: column; }
.v2-instructor-stats strong { color: var(--v2-black); font: 700 19px/1.2 "Raleway", sans-serif; }
.v2-instructor-stats span { color: #88888e; font: 400 12px/1.3 "Roboto", sans-serif; }
.v2-instructor-links { display: flex; gap: 8px; }
.v2-instructor-links a { align-items: center; background: var(--v2-black); border-radius: 50%; color: #fff; display: inline-flex; height: 36px; justify-content: center; width: 36px; }
.v2-instructor-links a:hover { background: var(--v2-pink); color: #fff; }

.v2-review-summary { align-items: center; background: var(--v2-paper); display: grid; gap: 40px; grid-template-columns: 180px 1fr; margin-bottom: 38px; padding: 32px; }
.v2-review-score { border-right: 1px solid #d9dae0; text-align: center; }
.v2-review-score > strong { display: block; font: 800 54px/1 "Raleway", sans-serif; }
.v2-review-score > div { color: var(--v2-yellow); font-size: 13px; margin: 9px 0 6px; }
.v2-review-score > span { color: var(--v2-muted); font: 400 12px/1 "Roboto", sans-serif; }
.v2-rating-row { align-items: center; display: grid; gap: 12px; grid-template-columns: 30px 1fr 25px; margin: 9px 0; }
.v2-rating-row > span, .v2-rating-row > b { color: #64646a; font: 500 12px/1 "Roboto", sans-serif; }
.v2-rating-row > span i { color: var(--v2-yellow); }
.v2-rating-row > div { background: #dedfe4; height: 6px; overflow: hidden; }
.v2-rating-row > div i { background: var(--v2-pink); display: block; height: 100%; }
.v2-review-item { border-top: 1px solid #e4e4e8; display: grid; gap: 20px; grid-template-columns: 55px 1fr; padding: 27px 0; }
.v2-review-item > img { border-radius: 50%; height: 55px; object-fit: cover; width: 55px; }
.v2-review-item-head { align-items: start; display: flex; justify-content: space-between; }
.v2-review-item h3 { font: 700 16px/1.3 "Raleway", sans-serif; margin: 0 0 4px; }
.v2-review-item time { color: #96969b; font: 400 11px/1 "Roboto", sans-serif; }
.v2-review-item-head > span { font-size: 11px; }
.v2-review-item p { color: #66666c; font: 400 14px/1.7 "Roboto", sans-serif; margin: 13px 0 0; }
.v2-pagination { margin: 15px 0 35px; overflow-x: auto; }
.v2-review-form { background: var(--v2-black); color: #fff; margin-top: 35px; padding: 35px; }
.v2-review-form h3 { color: #fff; font: 700 24px/1.2 "Raleway", sans-serif; margin: 0 0 7px; }
.v2-review-form > p { color: #bfc0c5; font: 400 13px/1.6 "Roboto", sans-serif; }
.v2-review-form textarea { background: #fff; border: 0; color: var(--v2-black); font: 400 14px/1.6 "Roboto", sans-serif; margin: 15px 0; outline: 0; padding: 18px; resize: vertical; width: 100%; }
.v2-form-alert { background: #fff0f3; color: #b41433; font: 500 13px/1.5 "Roboto", sans-serif; margin: 15px 0; padding: 12px 15px; }
.v2-rating-input { border: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; margin: 20px 0 0; padding: 0; width: max-content; }
.v2-rating-input legend { color: #fff; font: 500 13px/1 "Roboto", sans-serif; margin-bottom: 10px; }
.v2-rating-input input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.v2-rating-input label { color: #777; cursor: pointer; font-size: 20px; margin-right: 5px; }
.v2-rating-input label:hover, .v2-rating-input label:hover ~ label, .v2-rating-input input:checked ~ label { color: var(--v2-yellow); }
.v2-login-note { align-items: center; display: flex; gap: 16px; }
.v2-login-note > i { color: var(--v2-yellow); font-size: 36px; }
.v2-login-note p { color: #d2d2d5; margin: 0; }
.v2-login-note a { color: var(--v2-yellow); }

.v2-purchase-card { background: #fff; box-shadow: 0 24px 65px rgba(32, 32, 32, .13); margin-top: -210px; position: sticky; top: 100px; z-index: 3; }
.v2-purchase-media { height: 260px; overflow: hidden; position: relative; }
.v2-purchase-media::after { background: linear-gradient(0deg, rgba(0,0,0,.6), transparent 60%); bottom: 0; content: ""; height: 70%; left: 0; pointer-events: none; position: absolute; width: 100%; }
.v2-purchase-media > img { height: 100%; object-fit: cover; width: 100%; }
.v2-demo-play { align-items: center; bottom: 21px; color: #fff; display: flex; font: 600 13px/1 "Raleway", sans-serif; gap: 10px; left: 22px; position: absolute; z-index: 1; }
.v2-demo-play i { align-items: center; background: var(--v2-pink); border-radius: 50%; display: inline-flex; font-size: 17px; height: 40px; justify-content: center; width: 40px; }
.v2-demo-play:hover { color: var(--v2-yellow); }
.v2-purchase-content { padding: 32px; }
.v2-purchase-price { align-items: center; display: flex; gap: 12px; margin-bottom: 22px; }
.v2-purchase-price strong { color: var(--v2-black); font: 800 34px/1 "Raleway", sans-serif; }
.v2-purchase-price del { color: #999; font: 400 15px/1 "Roboto", sans-serif; }
.v2-detail-button { background: var(--v2-pink); border: 1px solid var(--v2-pink); border-radius: 999px; color: #fff; cursor: pointer; display: inline-block; font: 700 13px/1 "Raleway", sans-serif; padding: 16px 25px; text-align: center; transition: .25s ease; }
.v2-detail-button:hover, .v2-detail-button:focus { background: var(--v2-yellow); border-color: var(--v2-yellow); color: var(--v2-black); }
.v2-buy-button { border-radius: 0; padding: 18px 25px; width: 100%; }
.v2-course-facts { list-style: none; margin: 28px 0 0; padding: 0; }
.v2-course-facts li { align-items: center; border-bottom: 1px solid #ececef; display: grid; gap: 10px; grid-template-columns: 22px 1fr auto; min-height: 48px; }
.v2-course-facts i { color: var(--v2-pink); font-size: 19px; }
.v2-course-facts span { color: #737379; font: 400 13px/1.4 "Roboto", sans-serif; }
.v2-course-facts strong { color: var(--v2-black); font: 600 12px/1.4 "Raleway", sans-serif; text-align: right; }
.v2-course-includes { background: var(--v2-yellow); margin: 28px -32px 0; padding: 26px 32px; }
.v2-course-includes h3 { color: var(--v2-black); font: 700 18px/1.3 "Raleway", sans-serif; margin: 0 0 16px; }
.v2-course-includes p { align-items: center; color: #333; display: flex; font: 500 12px/1.5 "Roboto", sans-serif; gap: 10px; margin: 9px 0; }
.v2-course-includes i { font-size: 18px; }
.v2-share-course { align-items: center; display: flex; gap: 8px; padding-top: 25px; }
.v2-share-course > span { font: 700 12px/1 "Raleway", sans-serif; letter-spacing: .08em; margin-right: auto; text-transform: uppercase; }
.v2-share-course a { align-items: center; background: var(--v2-black); border-radius: 50%; color: #fff; display: inline-flex; height: 34px; justify-content: center; width: 34px; }
.v2-share-course a:hover { background: var(--v2-pink); color: #fff; }

@media (max-width: 1199.98px) {
    .v2-course-body::before { left: -405px; }
    .v2-course-body::after { right: -500px; }
    .v2-body-shape-black { left: -465px; }
    .v2-purchase-content { padding: 25px; }
    .v2-course-includes { margin-left: -25px; margin-right: -25px; padding-left: 25px; padding-right: 25px; }
    .v2-detail-panel { padding: 40px; }
}

@media (max-width: 991.98px) {
    .v2-detail-hero { min-height: auto; padding: 155px 0 90px; }
    .v2-detail-shape-yellow { right: -480px; }
    .v2-course-body { padding: 65px 0 90px; }
    .v2-purchase-card { margin: 20px 0 0; position: static; }
    .v2-purchase-media { height: 400px; }
}

@media (max-width: 767.98px) {
    .v2-detail-hero { padding: 130px 0 72px; }
    .v2-detail-back { margin-bottom: 30px; }
    .v2-detail-byline { align-items: flex-start; flex-direction: column; gap: 12px; }
    .v2-detail-byline li + li { border-left: 0; padding-left: 0; }
    .v2-detail-shape-pink { display: none; }
    .v2-course-body { padding: 45px 0 70px; }
    .v2-course-body::before,
    .v2-course-body::after,
    .v2-body-shape-black { display: none; }
    .v2-detail-nav { align-items: stretch; display: grid; grid-template-columns: 1fr 1fr; }
    .v2-detail-nav a { text-align: center; }
    .v2-detail-panel { padding: 31px 22px; }
    .v2-panel-number { font-size: 64px; right: 15px; top: 20px; }
    .v2-detail-panel h2 { font-size: 28px; }
    .v2-panel-heading-row { display: block; }
    .v2-panel-heading-row > span { display: block; margin: -20px 0 25px; }
    .v2-chapter summary { gap: 9px; grid-template-columns: 25px 1fr 20px; }
    .v2-chapter summary small { display: none; }
    .v2-chapter ul { padding: 5px 12px; }
    .v2-instructor { grid-template-columns: 1fr; }
    .v2-instructor-photo { max-width: 250px; }
    .v2-review-summary { grid-template-columns: 1fr; padding: 25px 20px; }
    .v2-review-score { border-bottom: 1px solid #d9dae0; border-right: 0; padding-bottom: 22px; }
    .v2-review-item { grid-template-columns: 42px 1fr; }
    .v2-review-item > img { height: 42px; width: 42px; }
    .v2-review-item-head { display: block; }
    .v2-review-item-head > span { display: block; margin-top: 8px; }
    .v2-review-form { padding: 25px 20px; }
    .v2-purchase-media { height: 260px; }
}

@media (max-width: 420px) {
    .v2-detail-hero h1 { font-size: 38px; }
    .v2-lesson-title { padding-right: 8px; }
    .v2-instructor-stats { gap: 16px; }
}
