/* R2.6 — story density correction for schema 0.6 cases. */
#overview.hero{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:stretch;
}
#overview>.story-heading{
  grid-column:1/-1;
  padding-bottom:4px;
}
#overview>.card{
  min-width:0;
}
#overview>.metrics{
  grid-column:1/-1;
  grid-template-columns:repeat(6,minmax(0,1fr));
}

/* Keep the two comparable method cards together, then use the full measure
   for conflicts, definitions, and sources instead of leaving an empty rail. */
#method>.grid2{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:start!important;
}
#method>.grid2>div:nth-child(2){
  display:contents;
}
#method #mConflictsBox,
#method #mMetricsBox,
#method>.grid2>div:nth-child(2)>.card:last-child{
  grid-column:1/-1;
  margin-top:0!important;
}

@media(max-width:1180px){
  #overview.hero,
  #method>.grid2{
    grid-template-columns:1fr;
  }
  #overview>.story-heading,
  #overview>.card,
  #overview>.metrics,
  #method>.grid2>*,
  #method>.grid2>div:nth-child(2)>.card{
    grid-column:1;
  }
  #overview>.metrics{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:620px){
  #overview>.metrics{
    grid-template-columns:1fr;
  }
}
