body {
    background-color: #FFF;
}

.track-head__inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

span.current {
    color: var(--text-300-color);
}

.track-header {
    background-color: var(--text-500-color);
    padding: 10vh 0;
    margin-top: 90px;
}

.intro-start {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

h1.track-title {
    font-size: clamp(34px, 6vw, 44px);
    color: var(--black);
}

a.buy-course,
a.watch-course {
    font-size: 18px;
    font-weight: normal;
    margin-top: auto;
    border-radius: 10px;
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: bold;
    cursor: pointer;
    opacity: .9;
    transition: 0.1s;
    box-shadow: 0 5px 5px rgb(0 0 0 / 10%);
}

a.watch-course {
    background-color: #00ad4b;
    color: #FFF;
    background: linear-gradient(45deg, #00ad4b, #87cd00);
}

a.watch-course:hover {
    opacity: 1;
}

a.buy-course {
    background: var(--black);
    color: #FFF;
}

a.buy-course:before {
    content: "\e242";
    font-family: lucide;
    font-weight: normal;
}

a.buy-course:hover {
    opacity: 1;
}

a.watch-course:before {
    content: "\e13c";
    font-family: lucide;
}

.price-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: column;
    margin-top: 20px;
}

.old-price {
    color: var(--text-300-color);
    font-size: 18px;
}


.track-container {
    border-top: 1px solid var(--text-200-color);
    padding-top: 40px;
    margin-bottom: 100px;
}

.track-wrapper {
    display: grid;
    grid-template-columns: 70fr 30fr;
    gap: 50px;
    align-items: flex-start;
}

section.track-overview {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

section.track-overview p {
    font-size: clamp(20px, 4vw, 24px);
    line-height: 1.5;
    font-weight: 300;
}

.iframe-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
}

.iframe-wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgb(0 0 0 / 30%);
    top: 0;
    inset-inline-start: 0;
}

a.track-cta {
    margin: 0 auto;
    font-size: 20px;
    white-space: normal;
    text-align: center;
}

.track-curriculum .iframe-wrapper iframe {
    /* width: calc(100% - 40px); */
    /* height: calc(100% - 40px); */
    /* top: 20px; */
    /* inset-inline-start: 20px; */
    box-shadow: none;
    background: var(--text-500-color);
    border-radius: 10px;
}

.section-summary {
    display: flex;
    align-items: center;
    gap: 10px 20px;
    padding: 20px 30px;
    background-color: var(--primary-color);
    flex-wrap: wrap;
    background: linear-gradient(45deg, var(--secondary-dark-color), var(--primary-color));
}

details.track-stage {
    border: 1px solid transparent;
    border-radius: 12px;
}

summary.stage-summary {
    display: flex;
    align-items: center;
    gap: 5px 20px;
    padding: 15px 20px;
    background-color: var(--text-100-color);
    cursor: pointer;
    color: var(--text-500-color);
    border-radius: 10px;
    border-bottom: 1px solid var(--text-200-color);
    flex-wrap: wrap;
}

details.track-stage[open] {
    border-color: var(--text-200-color);
    overflow: hidden;
}

summary.stage-summary h3:before {
    content: "\e06d";
    font-family: lucide;
    font-size: 20px;
    font-weight: normal;
}

details[open]>summary.stage-summary h3:before {
    content: "\e070";
}

.locked .stage-summary h3:before {
    content: "\e531" !important;
    font-family: 'lucide';
}

.locked .stage-summary {
    cursor: default;
    pointer-events: none;
}

.track-cover img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    height: auto;
}

.track-cover {
    margin-bottom: 20px;
}

.summary-widget {
    border: 1px solid var(--text-200-color);
    padding: 30px;
    border-radius: 20px;
    /* box-shadow: -3px 3px 0 0 var(--text-400-color); */
}

.summary-widget ul {
    padding: 0;
    border-radius: 10px;
    list-style: none;
    margin: 0;
    font-size: 18px;
    display: grid;
    gap: 10px;
}

.summary-widget ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-400-color);
}

.summary-widget ul li b {
    font-weight: normal;
    margin-inline-start: auto;
    color: var(--text-500-color);
    order: 1;
}

ul.related-tracks li a {
    display: flex;
    flex-direction: column;
    gap: 5px 15px;
    border: 1px solid var(--text-200-color);
    border-radius: 10px;
    padding: 20px;
    transition: 0.1s;
}

ul.related-tracks li a:hover {
    border-color: var(--secondary-color);
}

.summary-widget ul li:after {
    content: "";
    flex-grow: 1;
    border-bottom: 1px dotted var(--text-200-color);
}

ul.related-tracks {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

ul.related-tracks li a img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

ul.related-tracks li a h4 {
    font-size: 16px;
    line-height: 1.5em;
    margin-top: 10px;
}

ul.related-tracks li a p {
    font-size: 14px;
    color: var(--text-400-color);
}

section.track-curriculum {
    margin-top: 50px;
}

section.track-curriculum>h2 {
    /* color: var(--text-300-color); */
    font-weight: normal;
    text-align: center;
    font-size: 30px;
}

h2.track-name {
    font-size: 22px;
    margin-bottom: 20px;
}

details.track-section {
    border: 1px solid var(--text-200-color);
    border-radius: 10px;
    overflow: hidden;
}

ul.lessons-list {
    margin: 0;
    padding: 0;
    list-style: none;
}


li.lesson-item {
    padding: 10px 20px;
    border-bottom: 1px solid var(--text-100-color);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

li.lesson-item:hover {
    background-color: #f7f7f9;
}

.track-sections {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

li.lesson-item h4 {
    font-size: 16px;
    font-weight: normal;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    user-select: none;
}

li.lesson-item:last-child {
    border-bottom: none;
}

li.lesson-item h4:before {
    content: "\e13c";
    font-family: lucide;
}

li.lesson-item:hover a {
    color: var(--primary-color);
}

span.lessons-count {
    flex-shrink: 0;
    background-color: var(--white);
    padding: 5px 10px;
    border-radius: 60px;
    color: var(--text-500-color);
}

.section-counts {
    flex-shrink: 0;
    color: #ffffffba;
}


h3.stage-title {
    margin-inline-end: auto;
    font-size: 16px;
    font-weight: bold;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 5px;
}


.track-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

a.track-tag:hover {
    color: var(--white);
}


a.track-tag {
    background-color: var(--secondary-light-color);
    color: var(--secondary-dark-color);
    padding: 5px 10px;
    display: flex;
    border-radius: 100px;
    align-items: center;
    gap: 5px;
}

a.track-tag:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

a.track-tag i {
    width: 14px;
    height: 14px;
}

main.track-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

section.track-curriculum>h2 {
    color: var(--black);
}

span.lesson-duration {
    background-color: var(--text-100-color);
    border-radius: 100px;
    margin-inline-start: auto;
    padding: 5px 10px;
    font-size: 14px;
    flex-shrink: 0;
}

aside.track-side {
    display: flex;
    flex-direction: column;
    gap: 50px;
    position: sticky;
    top: 100px;
    border-radius: 15px;
}

aside.track-side h3 {
    color: var(--text-400-color);
    margin-bottom: 10px;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.track-meta {
    display: flex;
    align-items: center;
    gap: 20px 100px;
    flex-wrap: wrap;
}

.track-instructor {
    display: flex;
    gap: 10px;
    align-items: center;
    /* border: 1px solid var(--text-200-color); */
    /* padding: 20px; */
    /* border-radius: 10px; */
    /* background-color: var(--text-100-color); */
    margin-inline-start: auto;
    order: 1;
}

.track-instructor img {
    border-radius: 100px;
    object-fit: cover;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.instructor-info b {
    font-weight: 500;
}

.instructor-info p {
    font-size: 14px;
}

.instructor-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

a.share-btn svg {
    width: 30px;
    height: 30px;
    fill: var(--text-200-color);
}

a.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

a.share-btn svg:hover {
    fill: var(--primary-color);
}

/**/
.track-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--white);
    padding: 20px;
    border-radius: 20px;
    transition: 0.2s;
}

a.related-cover img {
    width: 100%;
    object-fit: cover;
    height: 250px;
    border-radius: 20px;
}

.related-slider {
    margin-top: 20px;
}

strong.price {
    color: #b26b44;
    font-size: 16px;
}

.related-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

section.related-courses {
    background-color: var(--text-100-color);
    padding: 10vh 0;
    margin-top: 100px;
}

h2.related-head {
    text-align: center;
    font-size: 30px;
    margin-bottom: 30px;
}

.track-card:hover {
    box-shadow: 0 10px 10px rgb(0 0 0 / 10%);
    transform: scale(0.95);
}

.instructor {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-300-color);
    font-size: 14px;
    font-weight: 500;
    margin-inline-start: auto;
}

.instructor img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 1200px;
}

.related-footer {
    display: flex;
    align-items: center;
    gap: 0px;
    gap: 20px;
}

/* FAQ */

.faq-list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--text-200-color);
    border-radius: 10px;
}

.faq-item {
    border-radius: 10px;
}

.faq-item summary {
    display: flex;
    align-items: center;
    gap: 10px 20px;
    padding: 15px;
    cursor: pointer;
    color: var(--text-500-color);
    border-bottom: 1px solid var(--text-200-color);
    justify-content: space-between;
}

.faq-item summary:after {
    content: "\e06d";
    font-family: lucide;
    font-size: 20px;
    color: var(--text-300-color);
}

.faq-item[open] summary:after {
    content: "\e070";
}

.faq-item:last-of-type summary {
    border-bottom: none;
}

.faq-answer {
    padding: 20px;
    background-color: var(--white);
    color: var(--black);
}

/* RESPONSIVE */
@media all and (max-width: 1280px) {

    .track-wrapper {
        grid-template-columns: 1fr;
    }

    aside.track-side {
        position: static;
    }
}

@media screen and (max-width: 480px) {

    span.lesson-duration {
        margin-inline-start: 0;
    }

    li.lesson-item h4:before {
        padding-top: 5px;
        grid-row: 1/3;
    }

}

.section-summary__head {
    display: grid;
    gap: 5px;
    flex-grow: 1;
}

h3.section-title {
    font-size: 24px;
    color: var(--white);
    width: 100%;
}

.track-section {
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(87deg, var(--secondary-dark-color), var(--primary-color));
    padding: 5px;
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    padding: 30px;
    background-color: #FFF;
    border-radius: 15px;
}

/* .locked>.section-content:before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0, #FFF 30%, transparent);
} */

span.section-price {
    background-color: #ffffff;
    color: var(--primary-color);
    /* font-weight: bold; */
    padding: 5px 20px;
    border-radius: 55px;
    font-size: 20px;
}

.locked span.section-price {
    background-color: var(--primary-color);
    display: none;
}

a.buy-section {
    display: flex;
    background: var(--black);
    padding: 13px 20px;
    font-size: 18px;
    border-radius: 10px;
    max-width: max-content;
    color: var(--white);
    font-weight: bold;
    gap: 10px;
    align-items: center;
    transition: 0.1s;
}

a.buy-section:before {
    content: "\e242";
    font-family: lucide;
    font-weight: normal;
}

a.buy-section:hover {
    padding: 13px 30px;
}

a.buy-section:active {
    transform: scale(.9);
}

.section-locked {
    padding: 20px 30px;
    display: flex;
    background-color: var(--orange-light-color);
    width: 100%;
    color: var(--text-500-color);
    align-items: center;
    border-radius: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.locked-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.locked-wrap h3 {
    font-size: 20px;
}

.locked-wrap p {
    font-size: 16px;
}

.locked>.section-content {
    /* max-height: 310px; */
    /* overflow: hidden; */
}

.login-first {
    background-color: var(--orange-light-color);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: 1.5;
    border-radius: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    text-align: center;
}

.login-first a {
    background-color: var(--black);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 10px;
}

@media screen and (max-width: 768px) {
    .section-content {
        padding: 5vw;
    }

    .track-section {
        border-radius: 3vw;
    }
}