#modalNews {
    display: none;
    justify-content: center;
}

#modalNews .modal-dialog {
    width: 1300px;
}

#modalNews .modal-content {
    border-radius: 15px;
}

/* HEADER */
#modalNews .modal-header {
    border-bottom: unset;
}

#modalNews .btn-close {
    opacity: 0.8;
    font-size: 6px;
    border: 1px solid black;
    border-radius: 50%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 0.4rem 0.4rem;
}

#modalNews .btn-close::before {
    content: "Fermer";
    font-size: 10px;
    position: absolute;
    text-decoration: underline;
    right: 28px;
}

/* BODY */
#modalNews .modal-body {
    padding: 20px;
}

#modalNews .row {
    min-height: 25rem;
}

#modalNews .col-img {
    background-color: #fde8f1;
    border-radius: 10px;
    margin-top: -45px;
    margin-bottom: -12px;
    text-align: center;
    padding: 30px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#modalNews img {
    max-width: 100%;
    min-width: 100%;
    margin-top: auto;
    margin-bottom: auto;
}

#modalNews .col-txt {
    padding-left: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#modalNews .modal-title {
    border-bottom: 1px solid #e4e7ec;
    font-size: 20px;
    margin-top: 5px;
}

#modalNews .btn-section {
    display: flex;
    justify-content: center;
}

#modalNews .modal-txt {
    text-align: left;
}

/* FOOTER */
#modalNews .modal-footer {
    border-top: unset;
    padding: 0px;
}

/* RESPONSIVE */

/* BODY */
@media (max-width: 767px) {
    #modalNews .row {
        flex-direction: column-reverse;
        width: auto !important;
    }

    #modalNews .col-img {
        margin-top: 8px;
    }

    #modalNews .txt-section-header {
        margin-bottom: 16px;
    }

    #modalNews .knowMoreBtn {
        margin-top: -58px;
    }
}

@media (max-width: 991px) {
    #modalNews .row {
        flex-direction: column-reverse;
        width: auto !important;
    }

    #modalNews .col-img {
        margin-top: 8px;
        width: 100%;
    }

    #modalNews .col-txt {
        width: 100%;
        padding-left: 12px;
    }

    #modalNews .txt-section-header {
        margin-bottom: 16px;
    }

    #modalNews .knowMoreBtn {
        margin-top: -58px;
    }
}

.mw-modal-container {
    padding: 10px !important;
    border-radius: 20px !important;
    width: 960px !important;
}

.mw-modal-content {
    display: flex;
    gap: 8px;
}

.mw-row {
    display: flex;
    gap: 8px;
}

.mw-row-end {
    justify-content: end;
}

.mw-row-center {
    justify-content: center;
}

.mw-img-container {
    flex: 1;
    display: flex;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
    flex-shrink: 0;
    background-color: #fde8f1;
}

#mw_img {
    object-fit: contain;
    max-width: 100%;
}

.mw-content-col {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mw-content-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 50px;
    gap: 20px;
}

.mw-content-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: solid 1px#e4e7ec;
    padding-bottom: 10px;
}

#mw_title {
    font-size: 22px;
    font-weight: 600;
}

@media (max-width: 991px) {
    .mw-modal-content {
        display: flex;
        flex-direction: column-reverse;
        gap: 8px;
    }

    .mw-modal-container {
        width: auto !important;
        max-width: 500px;
        overflow-y: auto;
    }

    .mw-content-data {
        padding: 10px;
    }
}
