/* Composants d'affiliation du thème de base (L5-T08). Le thème du site les habille. */
.aff-carte{margin:1rem 0}
.aff-mention{font-size:.875rem;margin:0 0 .5rem}
.aff-table{border-collapse:collapse;width:100%}
.aff-table th,.aff-table td{text-align:left;padding:.4rem;border-top:1px solid currentColor;vertical-align:top}
.aff-table caption{text-align:left;font-weight:700;padding:.4rem 0}
.aff-pour-contre{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(14rem,1fr))}
.aff-bouton{display:inline-block;padding:.6rem 1rem;border:2px solid currentColor;text-decoration:none;max-width:100%}
.aff-barre{display:none}
@media (max-width:600px){
  .aff-barre{display:flex;gap:.5rem;align-items:center;justify-content:center;position:fixed;left:0;right:0;bottom:0;
    max-height:4.5rem;padding:.5rem 1rem;background:Canvas;color:CanvasText;border-top:1px solid currentColor;
    box-sizing:border-box;z-index:10}
  .aff-barre__fermer{min-width:2.75rem;min-height:2.75rem;font-size:1.25rem}
  /* bouton caché sans script : sa place est gardée, pour qu'il n'y ait aucun décalage quand le script le montre */
  .aff-barre__fermer[hidden]{display:inline-block;visibility:hidden}
  .aff-barre[data-ferme]{display:none}
  body:has(.aff-barre:not([data-ferme])){padding-bottom:4.5rem}
}
