/* Course-detail backgrounds reuse the site's existing WebP artwork and the
   dark, right-to-left fade used on its other closing banners. No dimensions or
   content are changed. The recommendation image needs !important to replace
   the earlier bundle's important solid-background shorthand. */
.tte32-detail[data-tte-course-key] > .tte32-recommend:not([style*="background" i]) {
    background-image: linear-gradient(90deg, #0d493780, #0d4937 48%), url('../images/reference-library-hero.webp') !important;
    background-position: center, left center !important;
    background-size: 100% 100%, auto 100% !important;
    background-repeat: no-repeat !important;
}
.tte32-detail[data-tte-course-key] > .tte32-detail-cta > .tte32-cta {
    background: linear-gradient(90deg, #163d2410, #123f2f 40%), url('../images/course-detail-hero.webp') left center / 48% auto no-repeat, #123f2f;
}
@media (max-width: 600px) {
    .tte32-detail[data-tte-course-key] > .tte32-recommend:not([style*="background" i]) {
        background-image: linear-gradient(180deg, transparent 100px, #0d4937 250px), linear-gradient(270deg, #0d4937f2, #0d4937cc 80%, #0d4937aa), url('../images/reference-library-hero.webp') !important;
        background-position: center, center, left top !important;
        background-size: 100% 100%, 100% 100%, auto 250px !important;
    }
    .tte32-detail[data-tte-course-key] > .tte32-detail-cta > .tte32-cta {
        background: linear-gradient(#123f2fde, #123f2feb), url('../images/course-detail-hero.webp') center / cover no-repeat, #123f2f;
    }
}

/* Only the interactive course section changes; the original menu and page keep their existing styles. */
.tte32-detail [data-tte-course-hidden] { display: none !important; }
.tte32-detail .tte32-course-tab-panel[hidden],
.tte32-detail .tte32-course-tab-status[hidden] { display: none !important; }
.tte32-detail .tte32-course-tab-panel > .tte32-panel {
    box-sizing: border-box;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.tte32-detail .tte32-course-tab-status {
    margin: 10px 20px;
    color: #526d5b;
    font-size: 12px;
    line-height: 1.8;
}
.tte32-detail .tte32-course-tab-status a { color: #245a40; text-decoration: underline; }
