/* v3.7.11.2 — Competition detail structural reset.
 * All competition detail pages use full-width entity/editorial modules.
 * No competition slug-specific rules. */
body.single-competition .fke-competition-profile{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:16px!important;
  min-width:0!important;
}
body.single-competition .fke-competition-profile>*{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

/* Retire the legacy split knowledge-graph geometry even if old markup is cached. */
body.single-competition .fke-competition-profile__lower-grid{
  grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;
}
body.single-competition .fke-competition-profile__aside{
  grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;
}

/* Entity sections are navigation modules, not mini sidebars. */
body.single-competition .fke-competition-v37112__entity-section{
  width:100%!important;
  padding:18px!important;
}
body.single-competition .fke-competition-v37112__team-grid,
body.single-competition .fke-competition-v37112__player-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  width:100%!important;
  min-width:0!important;
  align-items:stretch!important;
}
body.single-competition .fke-competition-v37112__team-grid>* ,
body.single-competition .fke-competition-v37112__player-grid>*{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:100%!important;
  margin:0!important;
}
body.single-competition .fke-competition-v37112__team-grid .fke-entity-card__link,
body.single-competition .fke-competition-v37112__player-grid .fke-entity-card__link{
  width:100%!important;
  min-width:0!important;
}
body.single-competition .fke-competition-v37112__team-grid :is(h3,.fke-entity-card__body),
body.single-competition .fke-competition-v37112__player-grid :is(h3,.fke-entity-card__body){
  min-width:0!important;
  overflow-wrap:anywhere!important;
}

/* Country/region stays compact and never creates a half-page box. */
body.single-competition .fke-competition-v37112__context{
  width:100%!important;
  min-width:0!important;
}
body.single-competition .fke-competition-v37112__context>.fke-relation-card{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:18px!important;
}
body.single-competition .fke-competition-v37112__context>.fke-relation-card ul{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
body.single-competition .fke-competition-v37112__context>.fke-relation-card li{
  margin:0!important;
  min-width:0!important;
}

/* Editorial stories must always be a full-width shared article module. */
body.single-competition .fke-competition-profile>.fke-story-list.fke-article-module{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
}
body.single-competition .fke-competition-profile>.fke-story-list.fke-article-module .fke-article-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}

/* Desktop competition timeline is contained in the 960px track. */
@media(min-width:901px){
  body.single-competition .fke-competition-profile__timeline ol{
    display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:10px!important;
    overflow:visible!important;
    padding:0!important;
  }
  body.single-competition .fke-competition-profile__timeline li{
    flex:none!important;
    min-width:0!important;
  }
}

@media(max-width:900px){
  body.single-competition .fke-competition-v37112__team-grid,
  body.single-competition .fke-competition-v37112__player-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.single-competition .fke-competition-profile>.fke-story-list.fke-article-module .fke-article-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:700px){
  body.single-competition .fke-competition-v37112__team-grid,
  body.single-competition .fke-competition-v37112__player-grid,
  body.single-competition .fke-competition-v37112__context>.fke-relation-card ul,
  body.single-competition .fke-competition-profile>.fke-story-list.fke-article-module .fke-article-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.single-competition .fke-competition-profile__timeline ol{
    display:flex!important;
    overflow-x:auto!important;
    overscroll-behavior-inline:contain!important;
    scrollbar-width:thin;
  }
  body.single-competition .fke-competition-profile__timeline li{
    flex:0 0 150px!important;
  }
}
