.match {
    padding: 80px 0 150px;
}

.match-list__head {
  display: grid;
  grid-template-columns: 272px 150px 1fr;
  margin-bottom: 8px;
  gap: 3px;
}

.match-list__headItem {
  color: #fff;
  background: #E50014;
  line-height: 1.4;
  text-align: center;
  padding: 12px 0;
}

.match-list__headItem:last-child {
  border-right: none;
}

.match-list__items {
  display: grid;
  gap: 26px;
}

.match-card {
  background: #efefef;
  border-top: 6px solid #f30016;
}

.match-card--result {
  border-top-color: #001d5c;
}

.match-card__link {
  display: grid;
  grid-template-columns: calc(272px + 150px) 1fr;
  align-items: center;
  gap: 6px;
  padding: 21px 0;
  text-decoration: none;
  color: inherit;
  background: #FFF;
}
.match-card__dateCol_meta{
  display: grid;
  grid-template-columns: 272px 1fr;
  align-items: center;
}

.match-card__dateCol{
  padding:0 0 0 25px;
  width: 272px;
}

.match-card__date {
  font-family: var(--font-jost);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.match-card__weekday {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
  text-align: center;
  font-size: 16px;
  flex-shrink: 0;
}

.match-card__weekday.sunday {
  background: #c96f4f;
}

.match-card__weekday.saturday {
  background: #655bcc;
}

.match-card__weekday {
  background: #f1a329;
}

.match-card__meta {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.match-card__time{
  font-family: var(--font-jost);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}
.match-card__place {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}

.match-card__opponentCol {
  text-align: center;
}

.match-card__vs {
  font-family: var(--font-jost);
  color: #999;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 4px;
}

.match-card__opponent {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.match-card__resultCol {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px 0 0;
}

.match-card__teams {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.match-card__team{
  width:85px;
}

.match-card__team img {
  display: block;
  width: auto;
  height: 78px;
  object-fit: contain;
}

.match-card__score {
  font-family: var(--font-jost);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  width: 180px;
  text-align: center;
}

.match-card__btn {
  min-width: 135px;
  border: 1px solid #f30016;
  border-radius: 200px;
  color: #f30016;
  font-size: 14px;
  line-height: 46px;
  text-align: center;
  display: inline-block;
  transition: 0.3s;
  height: 48px;
}

.match-card__link:hover .match-card__btn {
  background: #f30016;
  color: #fff;
}
.match-card__opponentCol_sp{display: none;}


/* PAGENATION */


.c-pager {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.c-pager .page-numbers {
  font-family: var(--font-jost);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid transparent;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  transition: .3s;
}
.c-pager .page-numbers:hover{
   background: #f7f7f7;

}

.c-pager .page-numbers.current {
  background: #fff;
  border-color: #ef3340;
  color: #ef3340;
}

.c-pager .page-numbers.prev,
.c-pager .page-numbers.next {
  font-size: 14px;
}



p.match-list__empty {
    text-align: center;
    font-size: 18px;
    font-weight: normal;
    margin: 5em 0;
}
.is-cancel{
  color: #999;
  font-size: 20px;
}


@media (max-width: 1024px) {
  .match-list__head{
    grid-template-columns: 220px 170px 1fr;
    gap: 3px;
  }
  .match-card__link {
    grid-template-columns: calc(220px + 170px) 1fr;
    gap: 6px;
  }
  .match-card__dateCol {
    width: 220px;
      padding: 0 0 0 15px;
  }
  .match-card__meta {
    width: 170px;
    align-items: center;
  }
  .match-card__date {
    font-size: 22px;
  }

  .match-card__time{
    font-size: 20px;
    line-height: 1.1;
    margin-right: 5px;
  }
  .match-card__place {
    font-size: 15px;
  }
  .match-card__vs {
    font-size: 18px;
  }
  
  .match-card__opponent {
    font-size: 18px;
  }
  .match-card__resultCol {
    padding: 0 15px 0 0;
  }

  .match-card__opponent {
    font-size: 18px;
  }

  .match-card__team img {
    height: 60px;
  }

  .match-card__score {
    font-size: 34px;
  }

  .match-card__btn {
    min-width: 135px;
    font-size: 14px;
    padding: 0;
  }
}
@media (max-width: 1023px) {
  .match-list__head{
    display:none;
  }
  .match-card__link {
    padding: 15px 0;
    grid-template-columns: 196px 10fr;
    gap: 23px;
  }
  .match-card__dateCol_meta{
    grid-template-columns: 175px 1fr;
    padding: 0 0 0 10px;
  }
  .match-card__dateCol {
    width: 100%;
      padding: 0 0 0 0;
  }
  .match-card__meta {
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
  }
  .match-card__opponentCol{
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
  }
  .match-card__vs {margin: 0 10px 0 0;}

  .match-card__resultCol{
    flex-flow:wrap;
    padding: 0 10px 0 0;
  }
  .match-card__teams{
    width: 330px;
    flex-flow: wrap;
    gap: 0px;
  }
  .match-card__opponentCol{ display: none;}
  .match-card__opponentCol_sp{display: block;width: 100%;display: flex;justify-content: center;align-items: baseline;}

  .match-card__team {
      width: 65px;
  }
  .match-card__btn {
      min-width: 130px;
      font-size: 14px;
      line-height: 41px;
      height: 43px;
    }

  



}
@media (max-width: 768px) {
    .match {
            padding: 40px 0 150px;
            position: relative;
        }
}


@media (max-width: 767px) {
  .match-list__head {
    display: none;
  }

  .match-list__items {
    gap: 16px;
  }

  .match-card {
    border-top-width: 4px;
  }

  .match-card__link {
    display: block;
    padding: 18px 16px;
  }
  .match-card__dateCol_meta {
        grid-template-columns: 1fr;
    }

  .match-card__dateCol {
    margin-bottom: 16px;
  }

  .match-card__date {
    font-size: 24px;
    gap: 8px;
  }

  .match-card__weekday {
    width: 24px;
    height: 24px;
    font-size: 13px;
    line-height: 24px;
  }

  .match-card__meta {
    margin-top: 3px;
    gap: 0;
  }

  .match-card__time,
  .match-card__place {
    font-size: 16px;
  }

  .match-card__opponentCol {
    text-align: left;
    margin-bottom: 14px;
  }

  .match-card__vs {
    font-size: 12px;
    margin-bottom: 2px;
  }

  .match-card__opponent {
    font-size: 18px;
  }

  .match-card__resultCol {
    display: block;
  }

  .match-card__teams {
    justify-content: space-between;
    gap: 0;
    margin-bottom: 14px;
    width: 100%;
  }

  .match-card__team {
    width: 65px;
    text-align: center;
  }

  .match-card__team img {
    max-width: 100%;
    height: auto;
    max-height: 44px;
    margin: 0 auto;
  }

  .match-card__score {
    width: calc(100% - 65px * 2);
    text-align: center;
    font-size: 30px;
  }

  .match-card__btn {
    width: 100%;
    min-width: auto;
    font-size: 14px;
  }
}

@media (max-width: 350px) {

  .match-card__score {
    font-size: 24px;
  }

}