
    .d-flex {
        display: flex;
        flex-wrap: wrap;
    }

    .flex-md-row {
        flex-direction: row;
    }

    .flex-column {
        flex-direction: row;
    }

    @media (max-width: 767px) {
        h1.h2 span.h1 {
            font-size: 28px !important;
        }

        h1.h2 span {
            font-size: 16px !important;
        }
    }

    @media (max-width: 768px) {
        .tex {
            margin-top: 70px;
        }
    }

    @media (min-width: 768px) {

        .d-flex>.col-md-5,
        .d-flex>.col-md-7 {
            display: flex;
            flex-direction: column;
        }


    }

    .mb-4 {
        margin-bottom: 1.5rem;
    }

    .mb-md-0 {
        margin-bottom: 0;
    }

    /* Styles par défaut pour les ordinateurs */
    .custom-row {
        display: flex;
        flex-wrap: wrap;
    }

    .dlab-new-item {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .dlab-media {
        max-height: 250px;
        overflow: hidden;
    }


    .dlab-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Cette propriété permet d'assurer que l'image couvre tout le conteneur */
        object-position: center;
        /* Centrer l'image */
    }


    /* Styles pour les appareils mobiles */
    @media (max-width: 767px) {
        .custom-row {
            flex-direction: column;
        }

        .custom-row .about-us-info-container {
            order: 1 !important;
        }

        .custom-row .image-container {
            order: 2 !important;
        }
    }
