.basic_2cols {
    overflow: hidden;

    &>.container {
        display: flex;
        gap: 60px;
        flex-direction: column;

        @media (min-width: 992px) {
            flex-direction: row;
        }

        h1,
        h2,
        h3,
        h4,
        h5 {
            color: var(--dark-blue);
        }

        .wrapper__content {
            flex: 0.7;

            &:has(+.wrapper__infos.four_col) {
                flex: 0.6;
            }
        }

        .wrapper__content {
            overflow: visible;
            padding-top: 5px;

            /* @media (min-width: 992px) {
                &>*:not(.basic_2cols__title) {
                    margin-left: 30px;
                }
            } */

            &:not(:has(+.wrapper__infos)) {
                flex: 1 !important;
                text-align: center;

                .basic_2cols__title {
                    justify-content: center !important;
                }

                .section__btn {
                    a {
                        margin-left: auto !important;
                        margin-right: auto !important;
                    }
                }
            }

            .basic_2cols__title {
                display: flex;
                margin-bottom: 20px;
                gap: 10px;
                flex-direction: column;
                align-items: start;

                @media (min-width: 992px) {
                    gap: 20px;
                    align-items: center;
                    flex-direction: row;
                }

                .icon_title {
                    background-color: var(--dark-blue);
                    border-radius: 100px;
                    position: relative;
                    width: 40px;
                    height: 40px;
                    padding: 5px;

                    @media (min-width: 992px) {
                        width: 50px;
                        height: 50px;
                        padding: 10px;
                    }

                    &:after {
                        content: '';
                        border: 2px solid var(--dark-blue);
                        position: absolute;
                        top: 50%;
                        left: 50%;
                        width: 120%;
                        height: 120%;
                        transform: translate(-50%, -50%);
                        border-radius: 100px;
                    }

                    img {
                        object-fit: contain;
                        width: 100%;
                        height: 100%;
                        filter: brightness(0) saturate(100%) invert(95%) sepia(95%) saturate(0%) hue-rotate(186deg) brightness(106%) contrast(104%);
                    }
                }
            }

            .chiffres {
                .chiffre {
                    height: fit-content;
                    text-align: center;

                    .top {
                        * {
                            font-weight: var(--bold);
                            color: var(--gold);
                        }

                        .two_cols_chiffre_valeur {
                            font-size: 30px;
                        }

                        .two_cols_chiffre_texte {
                            margin: 0 !important;
                        }
                    }
                }
            }

            .list_links {
                display: flex;
                flex-direction: column;
                gap: 10px;
                margin-top: 10px;

                &>a {
                    display: flex;
                    align-items: center;
                    height: 35px;
                    gap: 15px;
                    width: fit-content;

                    @media (max-width: 500px) {
                        font-size: 12px;
                    }

                    &:hover {
                        span {
                            background-color: var(--dark-red);
                        }
                    }

                    img {
                        height: 100%;
                        object-fit: contain;
                    }

                    span {
                        background-color: var(--red);
                        padding: 5px 20px;
                        font-weight: var(--bold);
                        color: var(--white);
                        transition: var(--transition);
                    }
                }
            }
        }

        .wrapper__infos {
            flex: 0.3;
            display: flex;
            flex-direction: column;
            gap: 15px;
            height: fit-content;

            &.four_col {
                flex: 0.4;
                display: grid;
                grid-template-columns: 1fr 1fr;

                .reseaux,
                .newsletter {
                    grid-column: 1 / span 2;
                }
            }

            &>* {
                border-radius: 18px;

            }

            &>img {
                height: 200px;
                object-fit: cover;
                width: 100%;

                &:nth-child(3) {
                    grid-column: 1 / span 2;
                }
            }

            .reseaux {
                background-color: var(--dark-blue);
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                padding: 10px 20px 20px 20px;
                gap: 14px;

                * {
                    color: var(--white);
                }

                .socials__item {
                    a {
                        width: 30px !important;
                        height: 30px !important;

                        &:hover {
                            opacity: 0.7;
                        }
                    }
                }
            }

            .newsletter {
                background: var(--dark-grey);
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: stretch;
                padding: 16px 20px 18px;
                gap: 12px;

                &>p {
                    font-weight: var(--bold);
                    color: var(--dark-blue);
                    text-align: center;
                    margin: 0;
                }

                .nl_list {
                    display: flex;
                    flex-direction: column;
                    width: 100%;
                    max-height: 340px;
                    overflow-y: auto;
                    background: #fff;
                    border-radius: 12px;
                    padding: 4px 14px;
                    scrollbar-width: thin;
                    scrollbar-color: rgba(0, 53, 95, 0.35) transparent;

                    &::-webkit-scrollbar {
                        width: 6px;
                    }

                    &::-webkit-scrollbar-thumb {
                        background: rgba(0, 53, 95, 0.3);
                        border-radius: 3px;
                    }

                    &::-webkit-scrollbar-track {
                        background: transparent;
                    }

                    .display_archive {
                        display: flex;
                        flex-direction: column;
                    }

                    .campaign {
                        padding: 10px 0;
                        border-bottom: 1px solid rgba(0, 53, 95, 0.1);
                        font-size: 13px;
                        line-height: 1.45;
                        color: rgba(0, 53, 95, 0.65);

                        &:last-child {
                            border-bottom: none;
                        }

                        a {
                            color: var(--dark-blue);
                            font-weight: var(--bold);
                            text-decoration: none;
                            transition: color 0.2s;

                            &:hover {
                                text-decoration: underline;
                            }
                        }
                    }

                    &>span {
                        opacity: 0.5;
                        font-style: italic;
                        text-align: center;
                        padding: 4px 0;
                    }
                }
            }
        }
    }

    .basic_2cols__content {
        display: flex;
        position: relative;
        gap: 60px;
        flex-direction: column;
        align-items: stretch;

        &.reverse {
            flex-direction: column-reverse;
        }

        &+.basic_2cols__content {
            margin-top: 80px;
        }

        @media (min-width: 992px) {
            flex-direction: row;

            &.reverse {
                flex-direction: row-reverse;
            }
        }

        .basic_2cols__para {
            position: relative;
            z-index: 3;
            flex: 1;
            /* display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 16px; */

            >*:first-child {
                margin-top: 0;
            }

            h2,
            h3,
            h4 {
                margin: 16px 0 10px 0;
            }

            p:last-child {
                margin-bottom: 0;
            }

            .section__btn {
                margin: 0px;
            }

            .cta {
                margin-top: 0px !important;
            }
        }

        .basic_2cols__media {
            position: relative;
            margin-top: 16px;
            flex: 1;
            display: flex;

            @media (min-width: 768px) {
                margin-top: 0;
            }

            &.cover {
                img {
                    -o-object-fit: cover;
                    object-fit: cover;
                }
            }

            img {
                display: block;
                height: 100%;
                -o-object-fit: contain;
                object-fit: contain;
                -o-object-position: center;
                object-position: center;
                width: 100%;
                border-radius: var(--border-radius);

                @media (max-width: 991px) {
                    max-height: 400px;
                }
            }

            p {
                position: absolute;
                bottom: 0;
                background: var(--grey);
                left: 50%;
                transform: translate(-50%);
                font-family: var(--title-font);
                color: var(--light-blue);
                min-width: 80%;
                border-radius: var(--border-radius) var(--border-radius) 0 0;
                margin: 0;
                font-size: 16px;
                line-height: normal;
                padding: 20px 20px 0 20px;

                @media (min-width: 992px) {
                    font-size: 24px;
                    line-height: 32px;
                    padding: 40px 40px 0 40px;
                }
            }
        }
    }
}