/* Depromm Single Layout (Course & Lesson) */

/* Base Layout - Dark Theme */
body.single-lesson,
body.single-courses,
.tutor-course-single-content-wrapper,
.tutor-single-course-wrapper {
    background-color: #0c0c14;
    /* Dark background */
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

/* Common Container */
.depromm-layout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header Section */
.depromm-header-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.depromm-header-divider {
    width: 60px;
    height: 4px;
    background-color: #6366f1;
    /* Purple accent */
    margin-bottom: 32px;
    border-radius: 2px;
}

/* Video Wrapper */
.depromm-video-wrapper {
    margin-bottom: 50px;
}

.depromm-video-wrapper .tutor-video-player,
.depromm-video-wrapper img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    width: 100%;
    display: block;
}

/* Content Grid */
.depromm-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

@media (max-width: 991px) {
    .depromm-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Left Column */
.depromm-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #8b5cf6;
    /* Purple */
    margin-bottom: 16px;
    display: inline-block;
}

.depromm-section-divider {
    width: 40px;
    height: 3px;
    background-color: #6366f1;
    margin-bottom: 24px;
    border-radius: 2px;
}

.depromm-text-content {
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 40px;
    font-size: 15px;
}

.depromm-text-content p {
    margin-bottom: 1.5em;
}

/* Right Column Box (Completion / Enroll) */
.depromm-action-box {
    background: transparent;
    /* Optional: Sticky implementation if needed */
    /* position: sticky; top: 100px; */
}

.depromm-action-title {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.depromm-action-subtitle {
    font-size: 14px;
    color: #9ca3af;
    margin-bottom: 24px;
}

.depromm-btn-wrapper .tutor-btn,
.depromm-btn-wrapper .button,
.depromm-btn-wrapper button {
    background: transparent !important;
    border: 1px solid #ffffff !important;
    color: #ffffff !important;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    padding: 12px 24px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.depromm-btn-wrapper .tutor-btn:hover,
.depromm-btn-wrapper .button:hover,
.depromm-btn-wrapper button:hover {
    background: #ffffff !important;
    color: #000000 !important;
}

/* Hide default Tutor Elements */
.tutor-single-course-sidebar .tutor-course-enrollment-box {
    display: block !important;
    /* Ensure it's visible but simplified */
}

/* Overrides for specific Tutor widgets inside our custom layout */
.depromm-action-box .tutor-course-enrollment-box {
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
}

.depromm-action-box .tutor-course-price,
.depromm-action-box .tutor-course-cart-section {
    margin-bottom: 16px;
}

.depromm-action-box .tutor-btn-enroll {
    /* Inherit styles from .depromm-btn-wrapper if possible, or force override */
    background: transparent !important;
    border: 1px solid #ffffff !important;
    color: #ffffff !important;
    text-transform: uppercase;
}

.depromm-action-box .tutor-btn-enroll:hover {
    background: #ffffff !important;
    color: #0c0c14 !important;
}

/* Specific Course Page Tweaks */
.single-courses .tutor-wrap-parent {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}