/* V39 — corrections ciblées et bandeau topographique sans village fictif */
/* Résultats : empêcher l’ancien badge de devenir un immense rectangle violet. */
body.page-results .course-card.blue .card-photo{position:relative!important;isolation:isolate!important;}
body.page-results .course-card.blue .challenge-badge{position:absolute!important;top:15px!important;left:clamp(115px,10vw,148px)!important;right:auto!important;bottom:auto!important;width:max-content!important;max-width:calc(100% - 130px)!important;height:34px!important;min-height:0!important;min-width:0!important;padding:0 13px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;transform:none!important;margin:0!important;border-radius:20px!important;background:linear-gradient(105deg,#7130f7,#9329ec)!important;color:white!important;font-size:12px!important;font-weight:850!important;line-height:1!important;white-space:nowrap!important;z-index:4!important;overflow:visible!important;box-shadow:0 4px 12px #250a6b35!important;}
body.page-results .course-card.blue .challenge-badge svg{display:block!important;width:17px!important;height:17px!important;flex:none!important;}
body.page-results .course-card.blue .challenge-badge:before,body.page-results .course-card.blue .challenge-badge:after{content:none!important;display:none!important;}
body.page-results .course-card.blue .card-photo h2{position:relative!important;z-index:3!important;}
/* L'événement : expression voulue, mise en valeur sans surcharge. */
body .v39-spirit{color:#6826ef;font-weight:800;}
/* Bandeau Courses : illustration vectorielle intégrée, pas de fausse photographie. */
body.page-courses .footfacts.v39-facts{position:relative!important;isolation:isolate!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;overflow:hidden!important;flex:0 0 auto!important;margin-top:12px!important;min-height:112px!important;border:1px solid #9c78ed55!important;border-radius:22px!important;background:#15113e url('bandeau-v39-reliefs.svg') center/cover no-repeat!important;box-shadow:0 15px 34px #3720872c, inset 0 1px #ffffff32!important;}
body.page-courses .footfacts.v39-facts .v39-fact{position:relative;z-index:2;min-width:0;display:flex!important;align-items:center!important;gap:12px!important;padding:15px clamp(12px,1.8vw,30px)!important;border-right:1px solid #ffffff35!important;color:white!important;font-size:inherit!important;}
body.page-courses .footfacts.v39-facts .v39-fact:last-child{border-right:0!important;}
body.page-courses .v39-icon{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#9864f2b8,#5d2ab0c9);border:1px solid #ffffff30;box-shadow:0 4px 15px #05031c50;}
body.page-courses .v39-icon svg{width:25px;height:25px;color:#fff;}
body.page-courses .v39-fact strong{display:block;font-size:clamp(13px,1.06vw,18px);font-weight:850;letter-spacing:-.025em;line-height:1.12;}
body.page-courses .v39-fact small{display:block;margin-top:5px;font-size:clamp(10px,.8vw,13px);color:#e6defd;line-height:1.3;}
@media(min-width:901px) and (max-height:820px){body.page-courses .footfacts.v39-facts{min-height:82px!important;margin-top:7px!important;border-radius:16px!important;}body.page-courses .footfacts.v39-facts .v39-fact{padding:8px 12px!important;}body.page-courses .v39-icon{flex-basis:34px;width:34px;height:34px;}body.page-courses .v39-icon svg{width:20px;height:20px;}}
@media(max-width:900px){body.page-courses .footfacts.v39-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important;min-height:0!important;}body.page-courses .footfacts.v39-facts .v39-fact:nth-child(2){border-right:0!important;}body.page-courses .footfacts.v39-facts .v39-fact:nth-child(-n+2){border-bottom:1px solid #ffffff30!important;}}
@media(max-width:460px){body.page-courses .footfacts.v39-facts{grid-template-columns:1fr!important;}body.page-courses .footfacts.v39-facts .v39-fact{border-right:0!important;border-bottom:1px solid #ffffff25!important;}}
