/* Consentement cookies (tarteaucitron.js) : affichage des contenus tiers bloqués / débloqués.
   Chargé à part de dist/bundle.css pour ne pas avoir à recompiler le bundle webpack. */

/* Vidéos YouTube : le service tarteaucitron fixe width/height en style inline ;
   on garde l'affichage précédent (iframe centrée, jamais plus large que la colonne). */
.youtube_player {
    display: block;
    max-width: 100%;
    margin: 15px auto;
}
.youtube_player iframe {
    display: block;
    max-width: 100%;
    border: 0;
}

/* Blocs « Intégrer » (oEmbed) : même rendu que .wp-block-embed iframe dans bundle.css. */
.wp-block-embed .youtube_player {
    width: 100% !important;
    max-width: 640px;
    height: 480px !important;
    margin: 4rem auto;
}
.wp-block-embed .youtube_player iframe {
    width: 100% !important;
    height: 100% !important;
    margin: 0;
}

/* Placeholders « Autoriser » (vidéo, carte) : occupent le bloc réservé. */
.youtube_player .tac_activate,
.tmc-googlemaps .tac_activate {
    width: 100%;
    height: 100%;
    min-height: 120px;
}

/* Couleurs du bandeau : bleu du site (#0b95aa) à la place du jaune tarteaucitron (#fbd600).
   Boutons en #097e90 (même teinte, un peu plus foncée) pour un texte blanc lisible (contraste 4.8:1).
   Sélecteurs repris de tarteaucitron.min.css (la version chargée), préfixés html body
   pour passer devant cette feuille, injectée après. */
html body .tarteaucitron-magic-block button,
html body #tarteaucitronAlertBig #tarteaucitronPersonalize,
html body #tarteaucitronAlertBig #tarteaucitronPersonalize2,
html body .tarteaucitronCTAButton,
html body #tarteaucitronRoot .tarteaucitronAllow,
html body #tarteaucitronRoot .tarteaucitronDeny,
html body .tac_activate .tarteaucitronAllow,
html body .tac_activate .tac_float .tarteaucitronAllow,
html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronAllow,
html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine .tarteaucitronAsk .tarteaucitronDeny,
html body #tarteaucitron #tarteaucitronServices #tarteaucitronAllAllowed.tarteaucitronIsSelected,
html body #tarteaucitron #tarteaucitronServices #tarteaucitronAllDenied.tarteaucitronIsSelected,
html body #tarteaucitron #tarteaucitronServices #tarteaucitronAllDenied2.tarteaucitronIsSelected,
html body #tarteaucitron #tarteaucitronServices #tarteaucitronServices_mandatory .tarteaucitronLine button.tarteaucitronAllow,
html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed .tarteaucitronAllow,
html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied .tarteaucitronDeny {
    background: #097e90;
    background-color: #097e90;
    color: #fff;
}
html body #tarteaucitronRoot .tarteaucitronAllow:hover,
html body #tarteaucitronRoot .tarteaucitronDeny:hover,
html body #tarteaucitronAlertBig #tarteaucitronPersonalize2:hover,
html body .tarteaucitronCTAButton:hover,
html body .tac_activate .tarteaucitronAllow:hover {
    background: #087788;
    background-color: #087788;
}
html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsAllowed,
html body #tarteaucitron #tarteaucitronServices .tarteaucitronLine.tarteaucitronIsDenied {
    border-color: #0b95aa;
}
/* Icônes ✓ ✗ ☐ ☑ : noires par défaut, invisibles sur fond bleu. */
html body #tarteaucitronRoot .tarteaucitronCheck::before,
html body #tarteaucitronRoot .tarteaucitronCross::before {
    color: inherit;
}
