.cartes {

    /* &[data-color="#ffffff"],
    &[data-color="#efefef"] {
        .carte {
            background: var(--main-color-1) !important;

            * {
                color: var(--white) !important;
            }
        }
    } */

    .cartes_wrapper,
    .wrapper_slider {

        .carte {
            border-radius: var(--border-radius-sm);
            background: rgba(255, 255, 255, 0.9);
            margin: 0 auto;
            padding: 15px 30px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            box-shadow: 9px 10px 10px -3px rgba(0, 0, 0, 0.1);

            &:not(.has-image) {
                padding: 30px;

                .carte_title {
                    flex-direction: column;
                    gap: 10px !important;

                    h3 {
                        background-color: var(--main-color-1);
                        color: var(--white);
                        padding: 5px 15px;
                    }
                }
            }

            .carte_title {
                display: flex;
                align-items: center;
                gap: 15px;
                margin-bottom: 15px;

                h3 {
                    margin: 0 !important;
                    color: var(--main-color-1);

                    &:has(+p) {
                        &+p {
                            font-weight: var(--bold);
                            color: var(--main-color-1);
                        }
                    }
                }

                img {
                    object-fit: cover;
                    width: 49px;
                    height: 49px;
                }
            }

            p {
                margin: 0;
            }

            * img {
                /* border-radius: var(--border-radius-sm); */
                margin-top: 30px;
            }
        }

        &:has(+.end_content) {
            margin-bottom: 40px;
        }
    }

    .cartes__wrapper {
        .carte {
            max-width: 360px;
        }
    }
}