/* ============================================================
   Bandeau d'information site-wide (congés, promo, info ponctuelle)
   Rendu par inc/bandeau.php sur wp_body_open → tout en haut du <body>,
   avant le header sticky (le bandeau défile, le header reste collé).
   ============================================================ */

.cpvc-bandeau {
  background: var(--cpvc-jaune, #F9B334);
  color: var(--cpvc-bleu, #263477);
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
  padding: 11px 20px;
  position: relative;
  z-index: 60;
}

.cpvc-bandeau__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cpvc-bandeau__icon {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  color: var(--cpvc-bleu, #263477);
}

/* Le thème parent (TT5) applique des marges aux <p> : on les annule ici. */
.cpvc-bandeau__text {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  text-align: center;
}

.cpvc-bandeau strong,
.cpvc-bandeau b {
  font-weight: 700;
}

.cpvc-bandeau a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cpvc-bandeau a:hover {
  text-decoration-thickness: 2px;
}

/* Tablette / mobile : texte aligné à gauche, icône alignée sur la 1re ligne */
@media (max-width: 767px) {
  .cpvc-bandeau {
    font-size: 13px;
    padding: 10px 14px;
  }
  .cpvc-bandeau__inner {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
  }
  .cpvc-bandeau__icon {
    width: 17px;
    height: 17px;
    margin-top: 1px;
  }
  .cpvc-bandeau__text {
    text-align: left;
  }
}

@media print {
  .cpvc-bandeau { display: none; }
}
