/* 1. Remove shadow from LearnDash and custom logos */
.custom-logo-link > img,
.ld-brand-logo img {
    box-shadow: none !important;
}

/* 2. Fix LearnDash Quiz checkboxes on mobile */
@media screen and ( max-width: 568px ) {
    .learndash-wrapper .wpProQuiz_content ul.wpProQuiz_questionList input[type="checkbox"], 
    .learndash-wrapper .wpProQuiz_content ul.wpProQuiz_questionList input[type="radio"] {
        border-radius: 0;
        min-width: 15px;
    }
}

/* 3. MemberPress Checkout Layout */
.single-memberpressproduct .mp_wrapper {
    max-width: 600px !important;
    margin: 20px auto 100px auto !important;
    padding: 0 20px !important;
}

.single-memberpressproduct .mepr_price_cell {
    background-color: transparent !important;
    border-top: 1px solid #e6e8ea !important;
    border-bottom: 1px solid #e6e8ea !important;
    padding: 20px 0 !important;
    margin-bottom: 30px !important;
}

/* 4. Have a coupon link */
.single-memberpressproduct .have-coupon-link {
    color: #13a89e !important;
    font-weight: 500;
    text-decoration: underline;
    display: inline-block;
    margin-bottom: 15px;
}

/* 5. Labels */
.single-memberpressproduct .mp-form-label label {
    font-family: 'Inter', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    margin-bottom: 8px !important;
}

/* 6. Inputs */
.single-memberpressproduct .mepr-form-input,
.single-memberpressproduct select.mepr-form-input {
    width: 100% !important;
    padding: 15px 18px !important;
    border: 1px solid #babfc5 !important;
    border-radius: 3px !important;
    font-size: 16px !important;
    background-color: #fff !important;
    margin-bottom: 20px !important;
}

/* 7. Submit Button */
.single-memberpressproduct .mepr-submit {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 3px solid #000000 !important;
    padding: 16px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: all 0.3s ease !important;
}

.single-memberpressproduct .mepr-submit:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 3px solid #000000 !important;
}

@media (max-width: 767px) {
    /* 1. Force the video widget container to act as a proper block element */
    .elementor-element-db4cc20 {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        clear: both !important;
        margin-bottom: 25px !important;
    }

    /* 2. Lock the native 16:9 placeholder dimensions so it cannot collapse */
    #loka-hero-video {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        padding-top: 56.25% !important;
        height: 0 !important;
    }

    /* 3. Strip the absolute positioning forcing the H1 text upward */
    .elementor-element-48fe65b8 {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        margin-top: 0 !important;
        transform: none !important;
        clear: both !important;
        display: block !important;
    }

    /* 4. Keep secondary text layers aligned downstream */
    .elementor-element-5d8fac6 {
        position: relative !important;
        top: auto !important;
        margin-top: 15px !important;
    }
}