/* ========================================================================
   AFW MATCH ODDS PAGE
   templates:
   - match-odds.php
   ======================================================================== */

.afw-odds-accordion{
  display:grid;
  gap:12px;
  margin:0 auto;
  max-width:600px;
}

.afw-odds-acc{ overflow:hidden; }

.afw-odds-acc__head{
  width:100%;
  appearance:none;
  -webkit-appearance:none;
  background:transparent;
  border:0;
  margin:0;
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  cursor:pointer;
  text-align:left;
}

.afw-odds-acc__title{
  font-family:var(--h1-font-family);
  font-size:14px;
  font-weight:700;
  color:var(--color-content-heading);
  line-height:1.2;
}

.afw-odds-acc__arrow{
  width:10px;
  height:10px;
  flex:0 0 10px;
  border-right:2px solid rgba(255,255,255,.55);
  border-bottom:2px solid rgba(255,255,255,.55);
  transform:rotate(45deg);
  transition:transform .18s ease;
}

.afw-odds-acc.is-open .afw-odds-acc__arrow{ transform:rotate(-135deg); }

.afw-odds-acc__body{
  display:none;
  padding:0 14px 14px 14px;
}

.afw-odds-acc.is-open .afw-odds-acc__body{ display:block; }

.afw-odds-market{
  display:grid;
  gap:8px;
  padding-top:12px;
}

.afw-odds-market:first-child{
  border-top:0;
  padding-top:0;
}

.afw-odds-market__name{
  font-size:12px;
  font-weight:700;
  margin-left:15px;
  color:#fcfcfc;
  line-height:1.2;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.afw-odds-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:8px;
}

.afw-odds__cell{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  background:rgba(255,255,255,.03);
  padding:5px 8px;
  min-width:0;
}

.no-touch .afw-odds__cell:hover{ background:rgba(255,255,255,.05); }

.afw-odds__label{
  font-size:12px;
  font-weight:600;
  color:rgba(255,255,255,.75);
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.afw-odds__odd{
  width:36px;
  height:24px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:var(--h1-font-family);
  font-size:12px;
  line-height:1;
  font-weight:700;
  margin-left:5px;
  color:var(--color-content-heading);
  background:rgba(0,0,0,.22);
}
