
/* BA-080 : répertoire public (feuille chargée uniquement sur les pages du répertoire) */
.repertoire [hidden] { display: none !important; }
.repertoire-intro { max-width: 46rem; }
.repertoire-filters { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin: 1rem 0; }
.repertoire-filters label { display: flex; flex-direction: column; gap: .25rem; font-size: .9rem; min-width: 10rem; }
.repertoire-filters input, .repertoire-filters select { font: inherit; padding: .4rem .5rem; }
.repertoire-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.repertoire-list li { padding: .45rem 0; border-bottom: 1px solid rgba(0, 0, 0, .12); }
.repertoire-list span { display: block; font-size: .9rem; opacity: .8; }
.repertoire-facts { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; }
.repertoire-facts dt { font-weight: 600; }
.repertoire-facts dd { margin: 0; }

/* BA-083 : grille 3/2/1 colonnes, cartes et fiches joueurs (page répertoire uniquement) */
.repertoire-grid { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.repertoire-grid > li { display: flex; min-width: 0; }
/* BA-088 : cartes de dimensions identiques, bordure orange charte, photo puis nom puis texte */
.repertoire-grid > li > article.card { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; box-sizing: border-box; margin: 0; padding: .9rem .7rem .8rem; border: 1px solid var(--orange, #ff710b); border-radius: 10px; text-align: center; min-width: 0; }
.repertoire-flag { position: absolute; left: 8px; top: 8px; z-index: 1; width: 28px; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.repertoire-grid .ba042-card-photo { display: contents; }
.repertoire-grid .ba042-card-photo > a, .repertoire-grid .repertoire-media { order: 0; display: block; flex: none; width: 7rem; height: 7rem; border-radius: 50%; overflow: hidden; }
.repertoire-grid .ba042-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.repertoire-pictogram { display: block; width: 100%; height: 100%; box-sizing: border-box; border: 2px solid currentColor; border-radius: 50%; opacity: .35; }
.repertoire-grid h3 { order: 1; width: 100%; margin: .7rem 0 .25rem; font-size: 1rem; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.repertoire-grid h3 a { color: inherit; }
.repertoire-grid article.card > p { order: 2; width: 100%; margin: 0; font-size: .85rem; line-height: 1.35; opacity: .8; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.repertoire-grid .ba042-card-photo figcaption .ba051-by { display: inline; }
.repertoire-grid .ba042-card-photo figcaption { order: 4; width: 100%; font-size: 11px; line-height: 1.4; margin-top: .5rem; min-height: 4.2em; overflow-wrap: anywhere; }
.repertoire-media-lg { width: 30%; max-width: 6rem; }
.repertoire-profile { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.repertoire-articles { margin-top: 1.5rem; }
.repertoire-stats-wrap { margin-top: 1.5rem; }
.repertoire-stats-scroll { overflow-x: auto; }
.repertoire-stats { width: 100%; border-collapse: collapse; font-size: 14px; }
.repertoire-stats th, .repertoire-stats td { padding: .45rem .5rem; border-bottom: 1px solid rgba(0, 0, 0, .12); text-align: start; white-space: nowrap; }
.repertoire-stats-note { font-size: 13px; opacity: .8; margin-top: .5rem; }
.repertoire-article-list { list-style: none; padding: 0; margin: 0; }
.repertoire-article-list li { padding: .5rem 0; border-bottom: 1px solid rgba(0, 0, 0, .12); overflow-wrap: anywhere; }
.repertoire-article-list time { display: inline-block; min-width: 9rem; font-size: .9rem; opacity: .8; }
.repertoire-profile .ba042-card-photo { margin: 0; width: 100%; max-width: 16rem; }
.repertoire-profile .ba042-card-photo a { display: block; width: 100%; }
.repertoire-profile .ba042-card-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.repertoire-profile .ba042-card-photo figcaption { font-size: 11px; margin-top: .4rem; }
@media (max-width: 900px) { .repertoire-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .repertoire-grid { grid-template-columns: minmax(0, 1fr); }
  .repertoire-profile { grid-template-columns: minmax(0, 1fr); }
  .repertoire-profile .ba042-card-photo { max-width: 100%; }
}
