.team_wrapper {
  background-image: url(../images/dsgsgetyewsawr.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 16px 0;
}

.history_wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.history_img_wrap {
  overflow: hidden;
  height: auto;
}

.history_content_text {
  font-size: 11px;
  font-weight: 500;
  color: #747683;
}

.stats_wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  padding: 16px;
}

.stats_circle_wrap {
  border: 5px solid;
  border-left-color: #0d2042;
  border-bottom-color: #0d2042;
  border-right-color: #0c77a4;
  border-top-color: rgb(193, 194, 213);
  border-radius: 50%;
  height: 130px;
  width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.stats_circle_subtitle {
  font-size: 20px;
  font-weight: 600;
  color: rgb(26, 49, 60);
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.stats_circle_subtitle_accent {
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
}

.stats_circle_list {
  display: none;
}

.stats_right_wrap {
  display: grid;
  grid-template-columns: max-content;
  justify-content: center;
  gap: 16px;
}

.stats_info_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stats_info_title {
  font-size: 18px;
  font-weight: 700;
}

.stats_info_subtitle {
  font-size: 11px;
  font-weight: 600;
  color: rgb(26, 49, 60);
}

.stats_info_text {
  font-size: 11px;
  font-weight: 500;
  color: rgb(165, 165, 165);
}

.stats_info_card_wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stats_info_card_wrap {
  height: 15px;
  width: 10px;
}

.players_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.players_link {
  display: flex;
  flex-direction: column;
  position: relative;
  color: #002060;
  transition: all 0.9s ease;
}

.players_link:hover {
  color: #d91c21;
}

.players_link_img_wrap {
  width: 100%;
  overflow: hidden;
}

.players_link_img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.players_info_wrap {
  position: absolute;
  bottom: 2%;
  left: 5%;
}

.players_info_title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.players_info_subtitle {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.players_info_text {
  font-size: 12px;
  font-weight: 500;
  color: #002060;
}

.awards_link {
  display: flex;
  align-items: center;
  flex-direction: column;
  color: #002060;
  gap: 16px;
  height: 100%;
  transition: all 0.9s ease;
}

.awards_link:hover {
  color: #d91c21;
}

.awards_link_img {
  aspect-ratio: 2/1;
  width: 100%;
  overflow: hidden;
  object-fit: contain;
}

.awards_link_info_wrap {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
}

.awards_link_info_title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

.awards_link_info_text {
  font-size: 11px;
  font-weight: 500;
  color: #747683;
  text-transform: uppercase;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .history_wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats_right_wrap {
    grid-template-columns: repeat(3, 1fr);
  }

  .players_list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .team_wrapper {
    padding: 24px 0;
  }

  .history_content_text {
    font-size: 13px;
  }

  .stats_circle_wrap {
    height: 150px;
    width: 150px;
  }

  .stats_circle_subtitle {
    font-size: 22px;
  }

  .stats_circle_subtitle_accent {
    font-size: 18px;
  }

  .stats_info_title {
    font-size: 20px;
  }

  .stats_info_subtitle {
    font-size: 13px;
  }

  .stats_info_text {
    font-size: 13px;
  }

  .players_info_title {
    font-size: 18px;
  }

  .players_info_subtitle {
    font-size: 14px;
  }

  .players_info_text {
    font-size: 14px;
  }
}

@media screen and (min-width: 1200px) {
  .team_wrapper {
    padding: 32px 0;
  }

  .history_wrapper {
    gap: 24px;
  }

  .stats_wrapper {
    grid-template-columns: 30% 70%;
    gap: 24px;
    align-items: flex-start;
    padding: 24px;
  }

  .stats_left_wrap {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .stats_circle_list {
    width: 40%;
    display: block;
  }

  .stats_circle_item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0 8px;
    border-bottom: 1px solid rgba(0, 0, 64, 0.35);
  }

  .stats_circle_item:last-child {
    border: none;
  }

  .stats_circle_item_subtitle {
    font-size: 20px;
    font-weight: 600;
    color: rgb(26, 49, 60);
  }

  .stats_circle_item_wrap {
    border-radius: 50%;
    height: 8px;
    width: 8px;
  }

  .stats_circle_item_text {
    font-size: 15px;
    font-weight: 500;
    color: rgb(26, 49, 60);
  }

  .stats_right_wrap {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .stats_info_wrap {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .players_list {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

@media screen and (min-width: 1440px) {
  .history_content_text {
    font-size: 15px;
  }

  .stats_info_title {
    font-size: 24px;
  }

  .stats_info_subtitle {
    font-size: 15px;
  }

  .stats_info_text {
    font-size: 15px;
  }

  .stats_info_card_wrap {
    height: 20px;
    width: 15px;
  }

  .players_info_title {
    font-size: 20px;
  }

  .players_info_subtitle {
    font-size: 18px;
  }

  .players_info_text {
    font-size: 16px;
  }
}

.events_list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.events_item {
  display: grid;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 16px;
  transition: all 0.9s ease;
}

.events_team_meet_info_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.events_team_meet_info_text {
  font-size: 14px;
  font-weight: 600;
  color: #747683;
  text-align: center;
}

.events_team_meet_link_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.events_team_meet_link {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  color: #00266e;
  transition: all 0.9s ease;
}

.events_team_meet_link:hover {
  color: #d91c21;
}

.events_team_meet_link_active {
  color: #d91c21;
}

.events_team_meet_link_active:hover {
  color: #d91c21;
}

.events_team_meet_link,
.events_vs,
.events_team_meet_score_wrap {
  flex: 1;
  text-align: center;
}

.events_team_meet_link_img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.events_team_meet_link_title {
  font-size: 16px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}

.events_team_meet_score {
  font-size: 36px;
  font-weight: 900;
  color: #1e1e1e;
}

.events_link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 6px;
  background-color: #d91c21;
  font-size: 14px;
  font-weight: 600;
  color: #ffffffcc;
  text-transform: uppercase;
  margin: 0 auto;
  transition: all 0.9s ease;
}

.events_link:hover {
  background-color: #bf2b2b;
  color: #ffffff;
}

.events_team_meet_score_wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

@media screen and (min-width: 768px) {
  .events_list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1200px) {
  .events_list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
