/* ========================================================================
   12. H2H
   ======================================================================== */

.match-h2h + .match-h2h{
  margin-top:20px;
}

.match-h2h__date{
  margin-bottom:12px;
  padding-left:20px;
  color:var(--color-content-heading);
  font-family:var(--h1-font-family);
  font-size:16px;
  line-height:1.2;
  font-weight:600;
}

.match-h2h__card{
  display:block;
  overflow:hidden;
  padding:10px 14px;
  background:rgba(255,255,255,.08);
  color:inherit;
}

.no-touch .match-h2h__card:hover{
  background:rgba(255,255,255,.10);
}

.match-h2h__row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:14px;
  min-width:0;
}

.match-h2h__team{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  max-width:100%;
}

.match-h2h__team--home{
  justify-self:end;
}

.match-h2h__team--away{
  justify-self:start;
}

.match-h2h__team-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  flex:0 0 44px;
}

.match-h2h__team-logo img{
  display:block;
  width:44px;
  height:44px;
  object-fit:contain;
}

.match-h2h__team-text{
  min-width:0;
}

.match-h2h__team-name{
  display:-webkit-box;
  overflow:hidden;
  overflow-wrap:anywhere;
  color:var(--color-content-heading);
  font-family:var(--h1-font-family);
  font-size:12px;
  line-height:1.15;
  font-weight:600;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.match-h2h__score{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:120px;
  padding:0 16px;
}

.match-h2h__score::before,
.match-h2h__score::after{
  content:"";
  position:absolute;
  top:8px;
  bottom:8px;
  width:1px;
  background:rgba(255,255,255,.14);
}

.match-h2h__score::before{
  left:0;
}

.match-h2h__score::after{
  right:0;
}

.match-h2h__score-value{
  color:var(--color-content-heading);
  font-family:var(--h1-font-family);
  font-size:15px;
  line-height:1;
  font-weight:700;
}

