/* -------------
    UTILITAIRES — couche mince
    Uniquement les classes employées par les vues, les valeurs ACF stockées en BDD
    (text-left / text-center / text-right) ou les contenus TinyMCE.
    Le reste est porté par les composants (BEM).
------------- */

.hidden { display: none !important; }

/* Masqué visuellement, lu par les lecteurs d'écran (.screen-reader-text = classe standard WP / Woo) */
.screen-reader-text:not(:focus),
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.d-flex { display: flex; }
.align-items-center { align-items: center; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-pretty { text-wrap: pretty; }
.text-balance { text-wrap: balance; }

.box-shadow { box-shadow: var(--shadow-s); }

/* Média qui remplit son conteneur (avec .ar-* ou une hauteur fixée) */
.cover { overflow: hidden; }
.cover img,
.cover video,
.cover iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
