/* Racing Club Champigneulles — espace équipe 2026. Isolé de /v2/assets/css/style.css */
body.rcc-equipe-page{background:#f5f7fb;color:#111827}
body.rcc-equipe-page #main.rcc-team-main{background:#f5f7fb;color:#111827;padding:0}




.rcc-team-main .container{max-width:1200px}.rcc-team-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:51px 0 33px}.rcc-team-kicker{position:relative;margin:0 0 10px;padding-left:32px;color:#a51519;font-size:11px;letter-spacing:.13em;font-weight:900}.rcc-team-kicker:before{content:"";position:absolute;left:0;top:50%;width:24px;height:2px;background:#c51616}.rcc-team-intro h2{font-size:clamp(28px,3.5vw,40px);font-weight:850;letter-spacing:-.035em;color:#111827;margin:0}.rcc-team-rule{display:block;margin:15px 0 12px;width:58px;height:3px;background:linear-gradient(90deg,#c51616 65%,#d9a93d 65%)}.rcc-team-intro p:not(.rcc-team-kicker){margin:0;color:#64748b;font-size:14px}.rcc-team-season-pill{white-space:nowrap;border:1px solid #e1e7ee;background:#fff;color:#475569;border-radius:999px;padding:10px 16px;font-weight:700;font-size:12px}
.rcc-team-layout{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(270px,.9fr);gap:25px;align-items:start;padding-bottom:90px}.rcc-team-primary,.rcc-team-aside{min-width:0}.rcc-team-tabs{display:flex;gap:7px;align-items:center;overflow-x:auto;padding:7px;background:#fff;border:1px solid #e5e9f1;border-radius:16px;box-shadow:0 6px 22px rgba(15,23,42,.04);scrollbar-width:thin}.rcc-team-tab{flex:1;white-space:nowrap;border:0;border-radius:11px;padding:13px 14px;background:transparent;color:#516074;font-size:12px;font-weight:800;cursor:pointer;transition:background .2s,color .2s,box-shadow .2s}.rcc-team-tab:hover{background:#f4f6fa;color:#9a1417}.rcc-team-tab.is-active{color:#fff;background:linear-gradient(120deg,#c51616,#891010);box-shadow:0 8px 18px rgba(139,16,16,.2)}.rcc-team-tab:focus-visible{outline:3px solid #d9a93d;outline-offset:2px}.rcc-team-tabpanels{margin-top:18px}.rcc-team-tabpanel{padding:24px;background:#fff;border:1px solid #e5e9f1;border-radius:18px;box-shadow:0 9px 30px rgba(15,23,42,.05);min-height:170px;min-width:0}.rcc-team-tabpanel[hidden]{display:none!important}
.rcc-team-loading,.rcc-team-empty{padding:28px 15px;text-align:center;color:#64748b;font-size:13px}.rcc-team-retry{padding:9px 14px;border:1px solid #c51616;background:#fff;color:#9a1417;border-radius:8px;cursor:pointer}.rcc-team-side-panel{background:#fff;border:1px solid #e5e9f1;border-radius:18px;padding:20px 18px;box-shadow:0 9px 30px rgba(15,23,42,.05);margin-bottom:20px}.rcc-team-side-head{padding-bottom:16px;margin-bottom:17px;border-bottom:1px solid #edf0f5}.rcc-team-side-head span{font-size:10px;letter-spacing:.13em;font-weight:900;color:#ad1919}.rcc-team-side-head h2{font-size:20px;font-weight:850;color:#111827;margin:6px 0 0}
/* Legacy action content rendered by genereCalendrier() */
body.rcc-equipe-page .rcc-team-tabpanel .listeCalendrier{color:#111827}body.rcc-equipe-page .rcc-team-tabpanel .listeCalendrier ul{color:#111827}body.rcc-equipe-page .rcc-team-tabpanel .listeCalendrier ul li .head{background:#111827;border-radius:9px 9px 0 0}body.rcc-equipe-page .rcc-team-tabpanel .listeCalendrier ul li .goals-result{background:#f7f9fc;color:#111827;border:1px solid #e8ecf2;border-top:0;border-radius:0 0 9px 9px}body.rcc-equipe-page .rcc-team-tabpanel .listeCalendrier ul li .goals b{background:#fff;border:1px solid #e5e9f1;border-radius:8px;color:#111827}
/* Classement historique : rendre le tableau et ses lignes plus lisibles */
body.rcc-equipe-page #classement>div>div{border-radius:9px;overflow:hidden}body.rcc-equipe-page #classement .rankingEquipe{min-width:0}body.rcc-equipe-page #classement .rankingEquipe img{object-fit:contain}
/* Staff & joueurs: neutralisation des inline anciens sans casser les routes ni les images */
body.rcc-equipe-page .rcc-team-side-panel a.player-card-mini{display:block;position:relative;min-height:76px!important;margin:0 0 11px!important;overflow:hidden!important;background:#f8fafc;border:1px solid #e6eaf1;border-radius:11px;text-decoration:none;transition:transform .2s,border-color .2s,box-shadow .2s}body.rcc-equipe-page .rcc-team-side-panel a.player-card-mini:hover{transform:translateY(-2px);border-color:#d9a93d;box-shadow:0 7px 14px rgba(15,23,42,.08)}body.rcc-equipe-page .rcc-team-side-panel a.player-card-mini>.player-card__main{background:#f8fafc;color:#111827!important;min-height:76px;max-width:100%}body.rcc-equipe-page .rcc-team-side-panel .player-card__body-mini{background:#f8fafc!important;border:0;min-height:76px;align-items:center;padding:8px 82px 8px 12px}body.rcc-equipe-page .rcc-team-side-panel .player-card__details-mini{padding:0;min-width:0}body.rcc-equipe-page .rcc-team-side-panel p.player-card__name-mini{width:auto!important;padding:0!important;margin:0!important;color:#111827!important;font-size:12px;line-height:1.4;overflow-wrap:anywhere}body.rcc-equipe-page .rcc-team-side-panel p.player-card__name-mini+p.player-card__name-mini{color:#9a1417!important;font-size:11px;margin-top:5px!important}body.rcc-equipe-page .rcc-team-side-panel a.player-card-mini>img{height:74px!important;max-width:80px!important;width:auto;object-fit:contain;bottom:0!important;right:3px!important}
/* Stats */
.rcc-stats-head>span{font-size:10px;color:#a51519;font-weight:900;letter-spacing:.15em}.rcc-stats-head h3{color:#111827;font-weight:850;font-size:24px;margin:8px 0}.rcc-stats-head p{color:#64748b;font-size:13px;line-height:1.7;margin-bottom:23px}.rcc-stats-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-bottom:30px}.rcc-stat-kpi{padding:19px 8px;background:#f7f8fb;border:1px solid #e6eaf1;border-radius:12px;text-align:center}.rcc-stat-kpi strong{display:block;color:#9a1417;font-size:27px;font-weight:900}.rcc-stat-kpi span{display:block;font-size:10px;color:#64748b;line-height:1.35}.rcc-stats-section{margin:26px 0}.rcc-stats-section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;padding-bottom:10px;border-bottom:1px solid #e8ecf2}.rcc-stats-section-title h4{margin:0;font-size:19px;font-weight:850;color:#111827}.rcc-stats-section-title>span{color:#64748b;font-size:11px}.rcc-stats-leaderboard{display:grid;gap:8px}.rcc-stat-player{display:flex;gap:12px;align-items:center;border:1px solid #e8ecf2;background:#fff;border-radius:12px;padding:7px 12px;color:#111827!important;text-decoration:none;transition:background .2s,border-color .2s}.rcc-stat-player:hover{background:#fff8ef;border-color:#d9a93d}.rcc-stat-rank{width:22px;text-align:center;font-size:13px;font-weight:900;color:#a51519}.rcc-stat-player img{width:43px;height:49px;object-fit:contain;object-position:center bottom}.rcc-stat-name{flex:1;min-width:0;font-size:12px;font-weight:800;overflow-wrap:anywhere}.rcc-stat-name small{display:block;font-weight:400;color:#64748b;margin-top:3px}.rcc-stat-player>strong{font-size:21px;color:#a51519}.rcc-stats-none{color:#64748b;font-size:13px}.rcc-stats-note{padding:14px 15px;background:#f7f9fb;border-left:3px solid #d9a93d;border-radius:8px;color:#64748b;font-size:12px;line-height:1.7}
@media(max-width:1100px){.rcc-team-layout{grid-template-columns:minmax(0,1.45fr) minmax(250px,1fr)}.rcc-stats-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.rcc-team-layout{grid-template-columns:1fr}.rcc-team-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.rcc-team-side-panel{margin:0}}
@media(max-width:650px){.rcc-team-intro{padding:37px 0 22px;align-items:flex-start}.rcc-team-season-pill{display:none}.rcc-team-tabs{gap:3px;padding:5px}.rcc-team-tab{padding:13px 12px;font-size:11px}.rcc-team-tabpanel{padding:15px;border-radius:13px}.rcc-team-aside{grid-template-columns:1fr}.rcc-stats-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:400px){.rcc-team-tab{font-size:10px;padding:12px 9px}}
@media(prefers-reduced-motion:reduce){.rcc-team-tab,.rcc-stat-player,.rcc-team-side-panel a.player-card-mini{transition:none}}

/* Classement V1 */
.rcc-ranking-header span{font-size:10px;color:#a51519;letter-spacing:.13em;font-weight:900}.rcc-ranking-header h3{margin:6px 0;font-weight:850;color:#111827;font-size:24px}.rcc-ranking-header p{font-size:13px;color:#64748b;margin:0 0 21px}.rcc-ranking-scroll{width:100%;overflow-x:auto;border-radius:12px;border:1px solid #e5e9f1}.rcc-ranking-table{width:100%;min-width:610px;border-collapse:separate;border-spacing:0;font-size:12px;color:#111827}.rcc-ranking-table thead th{background:#111827;color:#fff;font-weight:700;padding:15px 10px;text-align:center}.rcc-ranking-table thead th:nth-child(2){text-align:left}.rcc-ranking-table tbody td,.rcc-ranking-table tbody th{border-bottom:1px solid #e9edf3;text-align:center;padding:11px 8px;background:#fff;font-weight:500}.rcc-ranking-table tbody tr:nth-child(even) td,.rcc-ranking-table tbody tr:nth-child(even) th{background:#f8fafc}.rcc-ranking-table tbody tr.rcc-ranking-current td,.rcc-ranking-table tbody tr.rcc-ranking-current th{background:#fff0f0;color:#841111;font-weight:800}.rcc-ranking-table tbody tr.rcc-ranking-current>.rcc-ranking-pos{box-shadow:inset 4px 0 0 #c51616}.rcc-ranking-team{display:flex;align-items:center;text-align:left;gap:10px;min-width:170px}.rcc-ranking-team img{width:33px;height:33px;object-fit:contain;flex-shrink:0}.rcc-ranking-table tbody .rcc-ranking-points{font-weight:900;color:#a51519}.rcc-ranking-note{margin:17px 0 0;font-size:11px;color:#64748b;line-height:1.6}


/* V2 — Calendrier/résultats historiques rendus par genereCalendrier().
   Le conteneur .listeCalendrier est indispensable aux règles du thème v2. */
body.rcc-equipe-page .rcc-team-calendar {
  width: 100%;
  min-width: 0;
  color: #172033;
}
body.rcc-equipe-page .rcc-team-calendar > ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #172033;
}
body.rcc-equipe-page .rcc-team-calendar > ul > li {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(15, 23, 42, .04);
  transition: box-shadow .2s ease, transform .2s ease;
}
body.rcc-equipe-page .rcc-team-calendar > ul > li::marker {
  content: "";
}
body.rcc-equipe-page .rcc-team-calendar > ul > li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .09);
}
body.rcc-equipe-page .rcc-team-calendar > ul > li .head {
  display: block;
  padding: 13px 18px;
  border: 0;
  border-bottom: 1px solid #edf0f4;
  border-radius: 0;
  background: #f8fafc;
  color: #172033;
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}
body.rcc-equipe-page .rcc-team-calendar > ul > li .head .date {
  color: #475569;
}
body.rcc-equipe-page .rcc-team-calendar > ul > li .head .date b {
  color: #a41419;
  font-weight: 850;
}
body.rcc-equipe-page .rcc-team-calendar > ul > li .head [style*="#E3B842"] {
  color: #c28b19 !important;
}
body.rcc-equipe-page .rcc-team-calendar > ul > li .goals-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(80px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #172033;
  font-size: 13px;
  min-width: 0;
}
body.rcc-equipe-page .rcc-team-calendar .resulatMaxLeft,
body.rcc-equipe-page .rcc-team-calendar .resulatMaxRight {
  display: flex;
  width: auto;
  min-width: 0;
  align-items: center;
  gap: 9px;
  justify-content: flex-start;
  color: #172033;
  font-weight: 650;
  line-height: 1.4;
}
body.rcc-equipe-page .rcc-team-calendar .resulatMaxRight {
  justify-content: flex-end;
  text-align: right;
}
body.rcc-equipe-page .rcc-team-calendar .resulatMaxLeft img,
body.rcc-equipe-page .rcc-team-calendar .resulatMaxRight img {
  width: 46px;
  height: 46px;
  max-width: 46px;
  max-height: 46px;
  margin: 0 !important;
  object-fit: contain;
  flex-shrink: 0;
}
body.rcc-equipe-page .rcc-team-calendar .libMax {
  min-width: 0;
  overflow-wrap: anywhere;
}
body.rcc-equipe-page .rcc-team-calendar .libMin {
  display: none;
}
body.rcc-equipe-page .rcc-team-calendar .goals {
  width: auto;
  min-width: 80px;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  text-align: center;
}
body.rcc-equipe-page .rcc-team-calendar .goals b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 7px 12px;
  background: #101827;
  color: #fff;
  border: 0;
  border-radius: 10px;
  font-size: 21px;
  line-height: 1.1;
  white-space: nowrap;
}
body.rcc-equipe-page .rcc-team-calendar a:not(:hover) {
  color: #172033;
}
body.rcc-equipe-page .rcc-team-calendar > p {
  color: #64748b;
  margin: 0;
  padding: 24px 12px;
  text-align: center;
}
@media (max-width: 650px) {
  body.rcc-equipe-page .rcc-team-calendar > ul > li .goals-result {
    grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
    gap: 6px;
    padding: 14px 9px;
    font-size: 11px;
  }
  body.rcc-equipe-page .rcc-team-calendar .resulatMaxLeft,
  body.rcc-equipe-page .rcc-team-calendar .resulatMaxRight {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 6px;
  }
  body.rcc-equipe-page .rcc-team-calendar .resulatMaxRight {
    flex-direction: column-reverse;
  }
  body.rcc-equipe-page .rcc-team-calendar .resulatMaxLeft img,
  body.rcc-equipe-page .rcc-team-calendar .resulatMaxRight img {
    width: 39px;
    height: 39px;
  }
  body.rcc-equipe-page .rcc-team-calendar .goals {
    min-width: 0;
    gap: 2px;
  }
  body.rcc-equipe-page .rcc-team-calendar .goals b {
    min-height: 34px;
    padding: 6px 7px;
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.rcc-equipe-page .rcc-team-calendar > ul > li {
    transition: none;
  }
}


/* V3 — Recomposition contrôlée du calendrier sur desktop et mobile.
   Le générateur historique imprime les logos et noms dans des wrappers flex. */
body.rcc-equipe-page .rcc-team-tabpanel .rcc-team-calendar > ul {
  display:grid;grid-template-columns:minmax(0,1fr);gap:14px;
  margin:0;padding:0;list-style:none;
}
body.rcc-equipe-page .rcc-team-tabpanel .rcc-team-calendar > ul > li {
  display:block;min-width:0;max-width:100%;margin:0;
  border:1px solid #e2e8f0;border-radius:15px;overflow:hidden;
  background:#fff;
}
body.rcc-equipe-page .rcc-team-tabpanel .rcc-team-calendar > ul > li .head {
  display:block;
  width:100%;padding:13px 16px;
  color:#1e293b;background:#f8fafc;
  border:0;border-bottom:1px solid #e9edf3;border-radius:0;
  text-align:left;font-size:12px;line-height:1.5;
}
body.rcc-equipe-page .rcc-team-tabpanel .rcc-team-calendar > ul > li .goals-result {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(72px,auto) minmax(0,1fr);
  gap:12px;
  min-width:0;
  align-items:center;
  padding:19px 14px;
  margin:0;
  background:#fff;
  border:0;border-radius:0;
}
body.rcc-equipe-page .rcc-team-calendar .goals-result .resulatMaxLeft,
body.rcc-equipe-page .rcc-team-calendar .goals-result .resulatMaxRight {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  width:100%;min-width:0;
  gap:9px;
  margin:0;padding:0;
  text-align:center;
  color:#172033;
}
body.rcc-equipe-page .rcc-team-calendar .goals-result .resulatMaxRight {flex-direction:column-reverse;}
body.rcc-equipe-page .rcc-team-calendar .goals-result .resulatMaxLeft img,
body.rcc-equipe-page .rcc-team-calendar .goals-result .resulatMaxRight img {
  display:block;
  width:54px;height:54px;
  max-width:54px !important;max-height:54px !important;
  flex:none;
  margin:0 !important;
  object-fit:contain;
}
body.rcc-equipe-page .rcc-team-calendar .goals-result .libMax {
  display:block;
  width:100%;min-width:0;
  overflow:visible;
  overflow-wrap:anywhere;
  white-space:normal;
  text-overflow:clip;
  color:#172033;
  font-size:12px;
  font-weight:700;
  line-height:1.35;
}
body.rcc-equipe-page .rcc-team-calendar .goals-result .libMin {display:none;}
body.rcc-equipe-page .rcc-team-calendar .goals-result .goals {
  display:flex;align-items:center;justify-content:center;
  gap:5px;
  width:100%;min-width:0;margin:0;
  color:#1e293b;
}
body.rcc-equipe-page .rcc-team-calendar .goals-result .goals b {
  display:inline-flex;align-items:center;justify-content:center;
  min-height:40px;margin:0;padding:7px 10px;
  font-weight:850;font-size:19px;line-height:1;
  color:#fff;background:#141c2b;border:0;border-radius:9px;
}
@media(max-width:650px) {
  body.rcc-equipe-page .rcc-team-tabpanel .rcc-team-calendar > ul > li .goals-result {
    grid-template-columns:minmax(0,1fr) minmax(60px,auto) minmax(0,1fr);
    padding:14px 7px;gap:5px;
  }
  body.rcc-equipe-page .rcc-team-calendar .goals-result .resulatMaxLeft img,
  body.rcc-equipe-page .rcc-team-calendar .goals-result .resulatMaxRight img {
    width:42px;height:42px;max-width:42px !important;max-height:42px !important;
  }
  body.rcc-equipe-page .rcc-team-calendar .goals-result .libMax {font-size:10px;}
  body.rcc-equipe-page .rcc-team-calendar .goals-result .goals b {font-size:16px;padding:6px 7px;min-height:33px;}
}

/* V4 — Le HTML historique place le nom de l'équipe visiteuse avant son écusson.
   Ordre visuel unifié : écusson au-dessus du nom, sur toutes les tailles. */
body.rcc-equipe-page .rcc-team-calendar .goals-result .resulatMaxLeft,
body.rcc-equipe-page .rcc-team-calendar .goals-result .resulatMaxRight {
  display:flex;flex-direction:column;justify-content:center;align-items:center;
  gap:9px;text-align:center;min-width:0;
}
body.rcc-equipe-page .rcc-team-calendar .goals-result .resulatMaxRight {flex-direction:column;}
body.rcc-equipe-page .rcc-team-calendar .goals-result .resulatMaxRight > img {order:0;}
body.rcc-equipe-page .rcc-team-calendar .goals-result .resulatMaxRight > .libMax {order:1;}
body.rcc-equipe-page .rcc-team-calendar .goals-result .resulatMaxRight > .libMin {display:none;}
body.rcc-equipe-page .rcc-team-calendar .goals-result .resulatMaxLeft > img {order:0;}
body.rcc-equipe-page .rcc-team-calendar .goals-result .resulatMaxLeft > .libMax {order:1;}
/* Bandeau équipe : photo entière, centrée, sans couper les joueurs aux extrémités. */

@media(max-width:650px) {
  
  body.rcc-equipe-page .rcc-team-calendar .goals-result .resulatMaxRight {flex-direction:column;}
}

/* V5 — Noms des équipes : priorité sur les règles historiques du thème,
   notamment celle masquant .resulatMaxRight .libMax sous 450px. */
body.rcc-equipe-page .rcc-team-tabpanel .rcc-team-calendar ul li .goals-result .resulatMaxLeft,
body.rcc-equipe-page .rcc-team-tabpanel .rcc-team-calendar ul li .goals-result .resulatMaxRight {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    gap: 9px;
    text-align: center;
}
body.rcc-equipe-page .rcc-team-tabpanel .rcc-team-calendar ul li .goals-result .resulatMaxLeft > img,
body.rcc-equipe-page .rcc-team-tabpanel .rcc-team-calendar ul li .goals-result .resulatMaxRight > img {
    order: 0;
    flex: none;
}
body.rcc-equipe-page .rcc-team-tabpanel .rcc-team-calendar ul li .goals-result .resulatMaxLeft > .libMax,
body.rcc-equipe-page .rcc-team-tabpanel .rcc-team-calendar ul li .goals-result .resulatMaxRight > .libMax {
    display: block;
    order: 1;
    width: 100%;
    margin: 0;
    color: #172033;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    overflow: visible;
    overflow-wrap: anywhere;
}
body.rcc-equipe-page .rcc-team-tabpanel .rcc-team-calendar ul li .goals-result .resulatMaxRight > .libMin {
    display: none;
}

/* Photo équipe : retour à un cadrage plein bandeau, moins de vide sous les joueurs.
   On ne zoome que la photo, pas le dégradé de lecture du titre. */

@media (max-width: 650px) {
    
    body.rcc-equipe-page .rcc-team-tabpanel .rcc-team-calendar ul li .goals-result .resulatMaxLeft > .libMax,
    body.rcc-equipe-page .rcc-team-tabpanel .rcc-team-calendar ul li .goals-result .resulatMaxRight > .libMax {
        display: block;
        font-size: 11px;
    }
}

/* V11 — Bandeau équipe unique, texte superposé à la photo sur tous écrans.
 * Une seule URL d'image provenant du back-office alimente les deux couches.
 * Les règles historiques concernant les autres composants restent intactes. */








/* Téléphone : mise en scène sur une seule image, sans deuxième bandeau noir.
 * L'image nette est gardée entière grâce à contain ; la version floue remplit
 * le reste du bloc, et le gradient protège le texte en bas. */




/* ====================================================================
   RCC TEAM HERO V12 — ONE PHOTO, TWO READABLE LAYOUTS, NO LEGACY STACK
   The image is supplied by PHP from the same back-office path as before.
   All old .rcc-team-hero declarations were removed rather than overridden.
   ==================================================================== */
body.rcc-equipe-page {
  /* Réserve la place du header fixé en haut de page. */
  padding-top: 104px;
}
body.rcc-equipe-page .rcc-team-hero {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: clamp(630px, 45vw, 840px);
  min-height: 630px;
  /* Le header RCC est fixed-top : la photo commence SOUS la navigation.
     equipe.php ajuste le padding de la page à la hauteur réelle du header. */
  padding: 55px 0 56px;
  overflow: hidden;
  background-color: #0b111b;
  color: #fff;
}
body.rcc-equipe-page .rcc-team-hero::before {
  content: '';
  position: absolute;
  z-index: 5;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg,#c51616,#d9a93d,#c51616);
  pointer-events: none;
}
body.rcc-equipe-page .rcc-team-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
body.rcc-equipe-page .rcc-team-hero-media img {
  border: 0;
  border-radius: 0;
  margin: 0;
  padding: 0;
  max-width: none;
  max-height: none;
}
body.rcc-equipe-page .rcc-team-hero-backdrop {
  position: absolute;
  inset: -28px;
  display: block;
  width: calc(100% + 56px);
  height: calc(100% + 56px);
  object-fit: cover;
  object-position: center center;
  filter: blur(23px) brightness(.53) saturate(.82);
}
body.rcc-equipe-page .rcc-team-hero-foreground {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  filter: brightness(.94);
  -webkit-mask-image: linear-gradient(90deg,transparent 0%,#000 11%,#000 89%,transparent 100%);
  mask-image: linear-gradient(90deg,transparent 0%,#000 11%,#000 89%,transparent 100%);
}
body.rcc-equipe-page .rcc-team-hero::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(0deg,rgba(5,9,17,.88),rgba(5,9,17,.22) 32%,transparent 58%),
              linear-gradient(90deg,rgba(5,9,17,.80) 0%,rgba(5,9,17,.47) 25%,transparent 74%);
  pointer-events: none;
}
body.rcc-equipe-page .rcc-team-hero-content {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 20px;
  color: #fff;
  text-align: left;
}
body.rcc-equipe-page .rcc-team-hero-tag {
  display: inline-block;
  max-width: 100%;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 999px;
  background: rgba(8,14,24,.54);
  color: #fff;
  backdrop-filter: blur(5px);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.45;
}
body.rcc-equipe-page .rcc-team-hero-tag span {color:#dfb55e;}
body.rcc-equipe-page .rcc-team-hero-eyebrow {
  margin: 18px 0 7px;
  color: #f1c46b;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
body.rcc-equipe-page .rcc-team-hero h1 {
  margin: 0 0 15px;
  color: #fff;
  font-size: clamp(36px,4.4vw,61px);
  font-weight: 900;
  letter-spacing: -.042em;
  line-height: 1.06;
  text-shadow: 0 4px 22px rgba(0,0,0,.6);
}
body.rcc-equipe-page .rcc-team-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.rcc-equipe-page .rcc-team-hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 33px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 9px;
  background: rgba(8,14,24,.60);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
}

/* On mobile, never squeeze a landscape photo into a portrait-shaped
   'object-fit: contain' box. Anchor it at the TOP at its intrinsic ratio,
   and position the team information across its LOWER area. A blurred
   continuation of the SAME image finishes the background seamlessly. */
@media (max-width: 767px) {
  body.rcc-equipe-page .rcc-team-hero {
    display: flex;
    align-items: flex-end;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: clamp(105px,29vw,175px) 0 24px;
    overflow: hidden;
  }
  body.rcc-equipe-page .rcc-team-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  body.rcc-equipe-page .rcc-team-hero-backdrop {
    inset: -16px;
    width: calc(100% + 32px);
    height: calc(100% + 32px);
    object-fit: cover;
    object-position: center 15%;
    filter: blur(18px) brightness(.47) saturate(.85);
  }
  body.rcc-equipe-page .rcc-team-hero-foreground {
    position: absolute;
    top: 0;
    left: 50%;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    max-width: 100%;
    min-width: 0;
    object-fit: contain;
    object-position: center top;
    transform: translateX(-50%);
    filter: brightness(.97);
    -webkit-mask-image: none;
    mask-image: none;
  }
  body.rcc-equipe-page .rcc-team-hero::after {
    background: linear-gradient(180deg,
      rgba(5,9,17,.08) 0%,
      rgba(5,9,17,.12) 23%,
      rgba(5,9,17,.70) 48%,
      rgba(5,9,17,.92) 72%,
      rgba(5,9,17,.96) 100%);
  }
  body.rcc-equipe-page .rcc-team-hero-content {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 19px;
    background: none;
  }
  body.rcc-equipe-page .rcc-team-hero-tag {
    padding: 6px 11px;
    font-size: 9px;
    letter-spacing: .055em;
  }
  body.rcc-equipe-page .rcc-team-hero-eyebrow {
    margin: 10px 0 4px;
    font-size: 10px;
  }
  body.rcc-equipe-page .rcc-team-hero h1 {
    margin: 0 0 10px;
    font-size: clamp(31px,8.5vw,43px);
    line-height: 1.08;
  }
  body.rcc-equipe-page .rcc-team-hero-meta span {
    min-height: 31px;
    padding: 6px 10px;
    font-size: 11px;
  }
}
@media (min-width: 768px) and (max-width: 1100px) {
  body.rcc-equipe-page .rcc-team-hero {height: clamp(535px,54vw,650px);min-height: 535px;}
}

body.rcc-equipe-page .rcc-team-hero:not(.rcc-team-hero-has-photo) {
  background-image: linear-gradient(90deg,rgba(7,11,20,.86),rgba(7,11,20,.40)),
    url('/v2/assets/img/bandeau.jpeg');
  background-size: cover;
  background-position: center;
}


/* Fiche équipe : mentions de mutation des joueurs, après chargement AJAX. */
body.rcc-equipe-page #joueurs .player-card__details-mini > .rcc-mutation-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  margin-top: 5px;
  padding: 3px 8px;
  border: 1px solid #f0c9ce;
  border-radius: 999px;
  background: #fff1f2;
  color: #9f1820;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
  white-space: normal;
}
body.rcc-equipe-page #joueurs .player-card__details-mini > .rcc-mutation-badge--late {
  border-color: #edd7a7;
  background: #fff8ec;
  color: #825a1b;
}
