/* Référence officielle — composant partagé (v1, 25/10/2026)
   Pastille tricolore + texte court + lien source + date de mise à jour.
   Pas de Marianne, pas de DSFR, pas de logo d'État. */
.ref-off{
  --ro-bleu:#000091; --ro-rouge:#E1000F; --ro-encre:#33334A; --ro-doux:#6A6A80;
  display:flex; align-items:flex-start; gap:8px;
  margin:10px 0 0; max-width:62ch;
  font:500 12.5px/1.5 var(--sans, Inter, system-ui, sans-serif);
  color:var(--ro-encre); text-wrap:balance;
}
.ref-off .ro-flag{
  flex:none; width:22px; height:12px; margin-top:3px; border-radius:999px;
  background:linear-gradient(90deg,var(--ro-bleu) 0 33.33%,#fff 33.33% 66.66%,var(--ro-rouge) 66.66% 100%);
  box-shadow:inset 0 0 0 1px rgba(0,0,40,.18);
}
.ref-off .ro-txt{min-width:0; text-wrap:balance}
.ref-off .nw{white-space:nowrap}
.ref-off a{color:var(--ro-bleu); text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:2px}
.ref-off a:hover{text-decoration-thickness:2px}
.ref-off time{font:inherit; color:inherit; white-space:nowrap}
.ref-off b{font:inherit; font-weight:650; color:inherit}
/* Variante bandeau : sous un en-tête de section ou en pied de page */
.ref-off--bandeau{
  max-width:none; align-items:center; gap:10px; padding:10px 14px; margin:16px 0 0;
  background:#F5F6FB; border:1px solid #DCDFF0; border-radius:12px; font-size:13.5px;
}
.ref-off--bandeau .ro-flag{margin-top:0}
.ref-off--bandeau .ro-indep{margin-left:auto; padding-left:12px; color:var(--ro-doux); font-weight:400; white-space:nowrap}
/* Variante carte : texte seul, sans lien (la carte est déjà un lien) */
.ref-off--carte{margin:0 0 10px; font-size:11.5px; color:var(--ro-doux)}
@media (max-width:760px){
  .ref-off--bandeau{flex-wrap:wrap; align-items:flex-start; column-gap:10px; row-gap:4px}
  .ref-off--bandeau .ro-flag{margin-top:4px}
  .ref-off--bandeau .ro-txt{flex:1 1 0}
  .ref-off--bandeau .ro-indep{flex-basis:100%; margin-left:32px; padding-left:0; white-space:normal}
}
