.cta .bouton,
.bouton,
.menu-cta {
    padding: 10px 16px !important;
    text-decoration: none;
    display: flex;
    width: fit-content;
    border-radius: var(--border-radius-cta);
    color: var(--white);
    transition: var(--transition);
    gap: 6px;
    min-height: 40px;
    align-items: center;

    &:not(&.purple, &.white) {
        font-size: 14px;
        font-weight: var(--regular);
        border: 1px solid transparent;
        background-color: var(--light-blue);

        &:hover {
            background-color: var(--blue);
            border: 1px solid var(--blue);
            color: var(--white);
        }
    }

    &.purple {
        background: var(--gradient-purple);

        span {
            font-size: 16px;
            font-weight: var(--light);
        }
    }

    &.white {
        background: transparent;
        border: 1px solid var(--white);

        span {
            font-size: 14px;
            font-weight: var(--light);
        }

        &:hover {
            background: var(--white);

            &:before {
                filter: brightness(0) saturate(100%) invert(9%) sepia(35%) saturate(3885%) hue-rotate(205deg) brightness(93%) contrast(108%);
            }
        }
    }

    &.has-picto {
        justify-content: center;
        align-items: center;
        width: fit-content;
        display: flex;
        gap: 6px;

        &.before {
            &:before {
                content: '';
                background-image: var(--picto-url);
                display: inline-block;
                width: 14px;
                height: 14px;
                background-size: contain;
                background-repeat: no-repeat;
                background-position: center;
            }
        }

        &.after {
            flex-direction: row;

            &:after {
                content: '';
                background-image: var(--picto-url);
                display: inline-block;
                width: 14px;
                height: 14px;
                background-size: contain;
                background-repeat: no-repeat;
                background-position: center;
            }
        }
    }

    &.teaser__more {
        margin-top: auto;
    }
}

.cta:has(.bouton + .bouton) {
    display: flex;
    width: fit-content;
    gap: 8px;
    flex-wrap: wrap;

    @media (max-width: 991px) {
        .bouton {
            margin-right: auto;
            margin-left: auto;
        }
    }
}

.bouton+.bouton,
.bouton--alt {
    text-decoration: none;
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: var(--semibold);
    transition: var(--transition);
    border-radius: var(--border-radius-cta);
    background: var(--blue);
    border: 1px solid var(--blue);
    color: var(--white);

    &:hover {
        background-color: var(--dark-blue);
        border: 1px solid var(--dark-blue);
    }
}

@media (min-width: 992px) {
    .hdp__intro {
        .cta:has(.bouton + .bouton) {
            .bouton {
                margin-right: auto;
                margin-left: auto;
            }
        }
    }
}