/* Bandeau d'information — pleine largeur, tout en haut du <body> */
.bandeau-info {
    background-color: var(--wp--preset--color--text-default, #0f1e4a);
    color: var(--wp--preset--color--white, #ffffff);
    padding-top: var(--wp--preset--spacing--20, 1rem);
    padding-bottom: var(--wp--preset--spacing--20, 1rem);
    padding-left: var(--wp--preset--spacing--30, 1.5rem);
    padding-right: var(--wp--preset--spacing--30, 1.5rem);
}

/* Contenu aligné sur la largeur « wide » du thème.
   La typo est portée ici plutôt que sur les <p> : des valeurs enregistrées
   en texte brut existent, et on ne dépend pas du wpautop d'ACF pour les styler. */
.bandeau-info__inner {
    max-width: var(--wp--style--global--wide-size, 1240px);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: var(--wp--preset--font-size--sm, 0.875rem);
    line-height: 1.5;
}

/* Le WYSIWYG produit des <p> : marges neutralisées, typo héritée du conteneur */
.bandeau-info p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}

.bandeau-info p + p {
    margin-top: 0.5em;
}

/* Liens : hérités de la couleur du bandeau, soulignés pour rester identifiables */
.bandeau-info a {
    color: inherit;
    text-decoration: underline;
}

.bandeau-info a:hover,
.bandeau-info a:focus-visible {
    text-decoration: none;
}
