/* Life Ministries Prayer Modal */

/* CTA Button in Menu */
.lm-cta-menu-item {
    margin-left: 15px !important;
    list-style: none !important;
}

.et_header_style_left #et-top-navigation nav > ul > li.lm-cta-menu-item > a.lm-cta-button,
.et_header_style_split #et-top-navigation nav > ul > li.lm-cta-menu-item > a.lm-cta-button,
a.lm-cta-button {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    background-color: #EABD00 !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-width: 0 !important;
    border-radius: 50px !important;
    border-style: solid !important;
    font-family: 'Roboto', Helvetica, Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    font-style: normal !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    line-height: 1.7em !important;
    cursor: pointer;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s !important;
    opacity: 1 !important;
}

.et_header_style_left #et-top-navigation nav > ul > li.lm-cta-menu-item > a.lm-cta-button:hover,
a.lm-cta-button:hover {
    opacity: 0.9 !important;
    color: #fff !important;
    transform: scale(1.1);
}

.lm-cta-heart {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E") center / contain no-repeat;
     transform: translateY(4px);
}

/* Modal Overlay */
.lm-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}

.lm-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Box */
.lm-modal {
    background: #EABD00;
    border: 11px solid rgba(255, 255, 255, 0.57);
    border-radius: 0;
    max-width: 800px;
    width: 100%;
    position: relative;
    padding: 50px;
    margin: auto;
    box-shadow: 0 12px 18px -6px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.lm-modal-overlay.active .lm-modal {
    transform: translateY(0);
}

/* Close Button */
.lm-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: #295135;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
}

.lm-modal-close:hover {
    opacity: 0.7;
}

/* Content */
.lm-modal-content {
    color: #295135;
    font-family: 'Roboto', Helvetica, Arial, sans-serif;
    line-height: 1.5em;
}

.lm-modal-intro {
    font-size: 33px;
    font-weight: 300;
    line-height: 1.2em;
    margin-bottom: 42px;
}

.lm-modal-prayer {
    border-top: 2px solid #295135;
    border-bottom: 2px solid #295135;
    padding: 25px 0;
}

.lm-modal-followup {
    padding-top: 30px;
    font-weight: 300;
}

.lm-modal-followup p {
    margin-bottom: 1em;
}

/* Contact CTA */
.lm-modal-cta {
    display: inline-block;
    background: #295135;
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none !important;
    margin-top: 20px;
    transition: opacity 0.2s ease;
}

.lm-modal-cta:hover {
    opacity: 0.85;
    color: #fff !important;
}

/* Mobile */
@media (max-width: 767px) {
    .lm-modal {
        padding: 25px;
    }

    .lm-modal-intro {
        font-size: 17px;
        margin-bottom: 20px;
    }

    .lm-modal-prayer,
    .lm-modal-followup {
        font-size: 14px;
        line-height: 1.3em;
    }

    .lm-modal-followup {
        padding-top: 15px;
    }

    .lm-modal-cta {
        font-size: 14px;
        padding: 12px 24px;
    }
}

@media screen and (max-width: 980px) {
    header .et_mobile_menu > li > a.prayer-trigger, header .et-menu > li > a.prayer-trigger {
    color: #fff !important;
    width: 100%;
    justify-content: center;
    background-color: #eabd00 !important;
}
.lm-cta-menu-item {
        margin-left: 0px !important;
        
}
    .lm-cta-heart {
        transform: translateY(0px);
    }
}