/* ==========================================================================
   Course details page — dark-theme card treatment for the sidebar,
   curriculum accordion, and thumbnail; brand-purple accents throughout.
   ========================================================================== */

/* "Course Includes" sidebar had no fill at all (only a stray light-grey
   drop-shadow) so it read as text floating on the page — give it a card */
.style-inner .event-sidebar {
    background: linear-gradient(160deg, rgba(91, 33, 182, .12) 0%, var(--box-bg) 55%);
    border: 1px solid rgba(91, 33, 182, .18);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .45);
    filter: none;
}

.style-inner .event-sidebar-thumb {
    border-radius: 14px;
    overflow: hidden;
    background: #0e0e0e;
}

.style-inner .event-sidebar-thumb img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.style-inner .event-info-list ul li {
    transition: transform .2s ease;
}

.style-inner .event-info-list ul li:hover {
    transform: translateX(4px);
}

.style-inner .event-info-list ul li i {
    color: var(--primary-color);
    width: 18px;
    text-align: center;
}

/* Curriculum accordion — subtle border + lift so items read as cards,
   not flat bars sitting directly on the page background */
.style-inner .accordion li a {
    border: 1px solid rgba(91, 33, 182, .14);
    transition: border-color .25s ease, transform .2s ease;
}

.style-inner .accordion li a:hover {
    border-color: rgba(91, 33, 182, .4);
}

.style-inner .accordion li a.active {
    border-color: rgba(91, 33, 182, .5);
}

.style-inner .accordion li p {
    background: #0e0e0e;
    border: 1px solid rgba(91, 33, 182, .14);
    border-top: 0;
    border-radius: 0 0 10px 10px;
    margin-top: -10px;
    padding-top: 10px !important;
}

/* Meta badges — soften the flat orange fill with a touch of depth */
.course-meta-badges span {
    box-shadow: 0 6px 16px rgba(249, 115, 22, .25);
}

/* CMS-authored course description content */
.course-prose {
    color: var(--text-color);
    line-height: 1.8;
}

.course-prose h1,
.course-prose h2,
.course-prose h3,
.course-prose h4 {
    color: var(--heading-color);
    margin: 20px 0 10px;
}

.curriculum-empty {
    border: 1px dashed rgba(91, 33, 182, .25);
}
