/*
 * Vintie’s & Co – Corrections globales v1.2.0
 */

/* Le JavaScript pose une couleur calculée avec priorité maximale. */
.vinties-global-button-fixed,
.vinties-global-button-fixed:link,
.vinties-global-button-fixed:visited,
.vinties-global-button-fixed:hover,
.vinties-global-button-fixed:focus,
.vinties-global-button-fixed:focus-visible,
.vinties-global-button-fixed:active {
    color: var(--vinties-fixed-button-color) !important;
    text-decoration: none !important;
    text-decoration-color: currentColor !important;
}

.vinties-global-button-fixed *,
.vinties-global-button-fixed:hover *,
.vinties-global-button-fixed:focus *,
.vinties-global-button-fixed:active * {
    color: inherit !important;
    text-decoration-color: currentColor !important;
}

.vinties-global-button-fixed svg,
.vinties-global-button-fixed:hover svg,
.vinties-global-button-fixed:focus svg,
.vinties-global-button-fixed:active svg {
    fill: currentColor !important;
    color: inherit !important;
}

/* Sécurité générale mobile, sans changer la maquette desktop. */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

img,
video,
canvas,
iframe,
embed,
object {
    max-width: 100%;
}

img,
video {
    height: auto;
}

.elementor-element,
.elementor-widget,
.elementor-widget-container,
.e-con,
.e-con-inner,
.wp-site-blocks,
.entry-content,
.site-content,
.ast-container {
    min-width: 0;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .vinties-global-button-fixed,
    .e-button-base,
    .elementor-button,
    .wp-element-button,
    .wp-block-button__link,
    .ast-button,
    .ast-custom-button {
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
        box-sizing: border-box;
    }

    input,
    select,
    textarea,
    button {
        max-width: 100%;
        box-sizing: border-box;
    }

    textarea,
    iframe,
    video,
    embed,
    object {
        width: 100%;
    }

    .elementor-column,
    .elementor-container,
    .elementor-row,
    .e-con,
    .e-con-inner {
        min-width: 0 !important;
        max-width: 100%;
    }
}
