/* LMA Races : archive /races/ et encadré « En bref ». Variables de couleurs : palette Kadence. */
.lma-races { max-width: 1100px; margin-inline: auto; padding-block: 1.5rem 3rem; }
.lma-races-header { margin-bottom: 1.5rem; }
.lma-races-title { margin: .5rem 0 .75rem; }
.lma-races-intro { max-width: 760px; color: var(--global-palette4); }

.lma-races-filtres { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: flex-end; margin: 0 0 1.5rem; padding: 1rem 1.25rem; background: var(--global-palette8); border: 1px solid var(--global-palette7); border-radius: 8px; }
.lma-races-filtres[hidden] { display: none; }
.lma-races-filtres fieldset { border: 0; margin: 0; padding: 0; }
.lma-races-filtres legend, .lma-races-filtres p > label { display: block; font-weight: 700; margin-bottom: .35rem; padding: 0; }
.lma-races-filtres fieldset label { margin-right: 1rem; white-space: nowrap; }
.lma-races-filtres p { margin: 0; }
.lma-races-compte { flex-basis: 100%; font-size: .9rem; color: var(--global-palette5); }

.lma-cards > li[hidden] { display: none; }
.lma-race-reperes { display: block; padding: 0 1rem 1rem; margin-top: -.6rem; font-size: .85rem; color: var(--global-palette5); }
.lma-races-vide, .lma-races-attente { padding: 1.25rem; background: var(--global-palette8); border-radius: 8px; }

.lma-races-legende { max-width: 760px; margin-top: 2.5rem; }
.lma-races-legende h2 { font-size: 1.3rem; }
.lma-races-legende li { margin-bottom: .4rem; }

/* Encadré « En bref » d'une fiche */
.lma-race-enbref { margin: 0 0 2rem; padding: 1rem 1.25rem; background: var(--global-palette8); border: 1px solid var(--global-palette7); border-left: 4px solid var(--global-palette1); border-radius: 8px; }
.lma-race-enbref h2 { margin: 0 0 .75rem; font-size: 1.2rem; }
.lma-race-enbref table { width: 100%; border-collapse: collapse; margin: 0; border: 0; }
.lma-race-enbref th, .lma-race-enbref td { padding: .5rem .25rem; border: 0; border-bottom: 1px solid var(--global-palette7); text-align: left; vertical-align: top; }
.lma-race-enbref th { width: 38%; font-weight: 700; }
.lma-race-enbref ul { margin: 0; padding-left: 1.1rem; }
.lma-race-enbref-note { margin: .75rem 0 0; font-size: .85rem; }
@media (max-width: 540px) {
	.lma-race-enbref th { width: auto; }
	.lma-race-enbref th, .lma-race-enbref td { display: block; padding: .25rem 0; }
	.lma-race-enbref th { border-bottom: 0; padding-top: .6rem; }
}
