.wow-team-games-table {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.wow-team-games-table .wow-team-games-block {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
}

/*Header*/
.wow-team-games-block .wow-team-games-header {
  display: flex;
  flex-direction: row;
  gap: 24px;
  background-color: var(--secondary-500);
  align-items: center;
  padding: 8px 16px;
}

/*date*/
.wow-team-games-header .wow-team-games-date {
  display: flex;
  flex-direction: column;
  min-width: 136px;
  font-family: Margest;
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.5em;
  color: var(--support-200-background);
}

.wow-team-games-header .wow-team-games-iconList {
  display: flex;
  gap: 16px;
}

.wow-team-games-header .wow-team-games-hour,
.wow-team-games-header .wow-team-games-golfCourse {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
}

.wow-team-games-hour span[data-iconList="icon"],
.wow-team-games-golfCourse span[data-iconList="icon"] {
  display: flex;
  align-items: center;
}

.wow-team-games-hour span[data-iconList="icon"] svg,
.wow-team-games-golfCourse span[data-iconList="icon"] svg {
  width: 16px;
  height: 16px;
  fill: var(--support-400-main);
}

.wow-team-games-hour div[data-iconList="text"],
.wow-team-games-golfCourse div[data-iconList="text"] {
  font-family: Margest;
  font-size: 14px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.714em;
  color: var(--support-400-main);
}

@media only screen and (min-width: 1025px) {
  .wow-team-games-block .wow-team-games-header {
    flex-direction: row;
  }

  .wow-team-games-header .wow-team-games-iconList {
    flex-direction: row;
  }

  .wow-team-games-header .wow-team-games-date {
    min-width: 136px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .wow-team-games-block .wow-team-games-header {
    flex-direction: row;
  }

  .wow-team-games-header .wow-team-games-iconList {
    flex-direction: row;
  }

  .wow-team-games-header .wow-team-games-date {
    min-width: 136px;
  }
}

@media only screen and (max-width: 767px) {
  .wow-team-games-block .wow-team-games-header {
    flex-direction: column;
    gap: 8px !important;
  }

  .wow-team-games-header .wow-team-games-iconList {
    flex-direction: row;
    justify-self: center;
  }

  .wow-team-games-header .wow-team-games-date {
    width: 100%;
    text-align: center;
  }

  .wow-team-games-hour div[data-iconList="text"],
  .wow-team-games-golfCourse div[data-iconList="text"] {
    padding-top: 4px;
  }
}

/*Body*/
.wow-team-games-block .wow-team-games-body {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  background-color: var(--secondary-600-text-light-primary);
}

/*division*/
.wow-team-games-body .wow-team-games-division {
  display: flex;
  padding: 2px 16px;
  border: solid var(--main-400-main);
  height: 24px;
  align-items: center;
  color: var(--main-400-main);
  font-family: Plus Jakarta Sans;
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
  line-height: 1.333em;
  width: 90px;
}

/*stats*/
/*.wow-team-games-body .wow-team-games-stats {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}*/
.wow-team-games-body .wow-team-games-stats {
  display: grid;
  grid-template-columns: calc((100% - 128px) / 2) 128px calc((100% - 128px) / 2);
  justify-content: center;
  align-items: center;
}

.wow-team-games-body .wow-team-games-stats .wow-team-games-stats-home {
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  gap: 16px;
}

.wow-team-games-body .wow-team-games-stats .wow-team-games-stats-away {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  gap: 16px;
}

.wow-team-games-stats-home a,
.wow-team-games-stats-away a {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

.wow-team-games-stats-home a:hover,
.wow-team-games-stats-away a:hover {
  opacity: 0.7;
}

.wow-team-games-body
  .wow-team-games-stats
  .wow-team-games-stats-home
  .wow-team-games-stats-name,
.wow-team-games-body
  .wow-team-games-stats
  .wow-team-games-stats-away
  .wow-team-games-stats-name {
  color: var(--support-200-background);
  font-family: Margest;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5em;
}

.wow-team-games-body
  .wow-team-games-stats
  .wow-team-games-stats-home
  .wow-team-games-stats-image,
.wow-team-games-body
  .wow-team-games-stats
  .wow-team-games-stats-away
  .wow-team-games-stats-image {
  width: 40px;
  aspect-ratio: 1/1;
  object-fit: contain;
  object-position: center;
  border-radius: 40px;
  background-color: #fff;
}

.wow-team-games-body
  .wow-team-games-stats
  .wow-team-game-stats-results-container {
  display: flex;
  flex-direction: row;
}

.wow-team-games-body .wow-team-games-stats .wow-team-games-stats-won,
.wow-team-games-body .wow-team-games-stats .wow-team-games-stats-lost,
.wow-team-games-body .wow-team-games-stats .wow-team-games-stats-draw {
  width: 32px;
  height: 32px;
  font-family: Plus Jakarta Sans;
  font-weight: 400;
  font-style: normal;
  color: var(--support-200-background);
  text-align: center;
  align-content: center;
}

.wow-team-games-body .wow-team-games-stats .wow-team-games-stats-won {
  margin-left: 16px;
}

.wow-team-games-body .wow-team-games-stats .wow-team-games-stats-draw {
  margin-right: 16px;
}

.wow-team-games-body .wow-team-games-stats .wow-team-games-stats-waiting,
.wow-team-games-body .wow-team-games-stats .wow-team-games-stats-today,
.wow-team-games-body .wow-team-games-stats .wow-team-games-stats-next {
  width: 96px;
  padding: 2px 8px;
  /*height: stretch;*/
  text-align: center;
  align-content: center;
  border-radius: 4px;
  color: var(--secondary-600-text-light-primary);
  margin: 0 16px;
}

.wow-team-games-body .wow-team-games-stats .wow-team-games-stats-waiting {
  background-color: var(--secondary-200);
  color: var(--secondary-600-text-light-primary);
}

.wow-team-games-body .wow-team-games-stats .wow-team-games-stats-today {
  background-color: var(--main-400-main);
}

.wow-team-games-body .wow-team-games-stats .wow-team-games-stats-next {
  background-color: transparent;
  color: var(--main-400-main);
  border: 1px solid var(--main-400-main);
}

/*edit*/
.wow-team-games-body .wow-team-games-edit[game-type="lasts"] {
  display: flex;
  align-items: center;
  opacity: 0;
  appearance: none;
  visibility: hidden;
  width: 24px;
}

.wow-team-games-body[data-homeTeam="edit"] .wow-team-games-edit a {
  display: flex;
  flex-direction: row;
}

.wow-team-games-body[data-homeTeam="hidde"] .wow-team-games-edit a {
  /*display: none;*/
  opacity: 0;
  appearance: none;
  visibility: hidden;
  pointer-events: none;
}

.wow-team-games-body .wow-team-games-edit svg {
  width: 24px;
  height: 24px;
  fill: var(--secondary-300);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.wow-team-games-body .wow-team-games-edit:hover svg {
  fill: var(--support-200-background);
}

@media only screen and (min-width: 1025px) {
  .wow-team-games-block .wow-team-games-body {
    flex-direction: row;
    padding: 16px 16px 16px 0;
  }

  .wow-team-games-body .wow-team-games-division {
    border-width: 1px 1px 1px 0;
    border-radius: 0 4px 4px 0;
  }

  .wow-team-games-body .wow-team-games-stats {
    width: 81.7%;
  }

  .wow-team-games-body .wow-team-games-stats .wow-team-games-stats-won,
  .wow-team-games-body .wow-team-games-stats .wow-team-games-stats-lost,
  .wow-team-games-body .wow-team-games-stats .wow-team-games-stats-draw {
    font-size: 20px;
    line-height: 1.6em;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .wow-team-games-block .wow-team-games-body {
    flex-direction: row;
    padding: 16px 16px 16px 0;
  }

  .wow-team-games-body .wow-team-games-division {
    border-width: 1px 1px 1px 0;
    border-radius: 0 4px 4px 0;
  }

  .wow-team-games-body .wow-team-games-stats {
    width: 81.7%;
  }

  .wow-team-games-body .wow-team-games-stats .wow-team-games-stats-won,
  .wow-team-games-body .wow-team-games-stats .wow-team-games-stats-lost,
  .wow-team-games-body .wow-team-games-stats .wow-team-games-stats-draw {
    font-size: 16px;
    line-height: 1.5em;
  }
}

@media only screen and (max-width: 767px) {
  .wow-team-games-block .wow-team-games-body {
    flex-direction: column;
    padding: 16px 8px;
  }

  .wow-team-games-body .wow-team-games-division {
    border-width: 1px;
    border-radius: 4px;
    width: 100%;
    justify-content: center;
  }

  .wow-team-games-body .wow-team-games-stats {
    width: 100%;
  }

  /*.wow-team-games-body .wow-team-games-stats .wow-team-games-stats-home,
  .wow-team-games-body .wow-team-games-stats .wow-team-games-stats-away {
    max-width: 28.3% !important;
    width: 28.3% !important;
  }*/

  .wow-team-games-body
    .wow-team-games-stats
    .wow-team-games-stats-home
    .wow-team-games-stats-name{
      text-align: end;
    }

  .wow-team-games-body
    .wow-team-games-stats
    .wow-team-games-stats-away
    .wow-team-games-stats-name {
    /*word-break: break-all;*/
    text-align: start;
  }

  .wow-team-games-body
    .wow-team-games-stats
    .wow-team-games-stats-home
    .wow-team-games-stats-image,
  .wow-team-games-body
    .wow-team-games-stats
    .wow-team-games-stats-away
    .wow-team-games-stats-image {
    display: none;
  }

  .wow-team-games-body .wow-team-games-stats .wow-team-games-stats-won,
  .wow-team-games-body .wow-team-games-stats .wow-team-games-stats-lost,
  .wow-team-games-body .wow-team-games-stats .wow-team-games-stats-draw {
    font-size: 16px;
    line-height: 1.5em;
  }

  .wow-team-games-body .wow-team-games-edit {
    /*display: none !important;*/
    position: absolute;
    top: 8px;
    right: 8px;
  }
}
