.new-matches {
  margin: 0 auto;
  background-color: transparent !important;
  padding: 0;
}

.matches__container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: none !important
}

.matches__button {
  height: 169.5px;
  width: 20px;
  font-size: 24px;
  background: #f0f0f0;
  border: 1px solid #cccccc;
  color: #555;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.matches__button:hover {
  background: #e0e0e0;
  font-size: 26px;
  cursor: pointer;
}

.matches__viewport {
  flex: 1;
  overflow: hidden;
  border-radius: 8px;
}

.matches__list {
  display: flex;
  transition: transform 0.3s ease;
  gap: 8px;
}

.date-group {
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.date-group__title {
  position: relative;
  height: 11px;
}

.date-group__title span {
  color: #007DB8;
  font-size: 12px;
  font-weight: 600;
  margin: 0;
  background: #ffffff;
  border-radius: 20px;
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  padding: 2px 4px;
}


.date-group--past .date-group__title span {
  color: #d32f2f;
}

.date-group__title::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background-color: #007DB8;
  z-index: 0;
  position: absolute;
  top: 10px;
  left: 0;
}

.date-group--past .date-group__title::before {
  background-color: #d32f2f;
}

.date-group__matches {
  display: flex;
  gap: 8px;
}

.match-item {
  width: 150px;
  border-radius: 8px;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  gap: 0px;
  background: #ffffff;
  padding: 1px;
  border: 1px solid #A6A6A6;
}

.match-item--finished {
  background: #007DB8;
}

.match-item__badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
}

.match-item__championship {
  background: #e8eaf6;
  color: #007DB8;
  padding: 2px 8px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
}

.match-item__time {
  background: #f5f5f5;
  color: #424242;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 600;
}

.match-item__teams {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  width: 100%;
}

.match-item__team {
  display: grid;
  width: 100%;
  gap: 8px;
  align-items: center;
}

.match-item__team {
  grid-template-columns: 20px 1fr;
}

.match-item--finished .match-item__team {
  grid-template-columns: 20px 1fr 40px;
}

.match-item__team-logo {
  width: 20px;
  height: 20px;
  object-fit: cover;
}

.match-item__team-emoji {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background-color: #f5f5f5;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  flex-shrink: 0;
}

.match-item__team-name {
  overflow: hidden;
  width: 100%;
}

.match-item__team-name span {
  display: inline;
  white-space: nowrap;
  font-size: 11px;
  color: #424242;
  line-height: 1.2;
}

.match-item--finished .match-item__team-name span {
  color: #ffffff;
}

.match-item:hover .match-item__team-name span {
  animation: scroll-team-name 2.5s linear 1;
}

.match-item--finished:hover .match-item__team-name span {
  animation: scroll-team-name--finished 5s linear 1;
}


@keyframes scroll-team-name {
  0% {
    margin-left: 0;
  }
  100% {
    margin-left: -100%;
  }
}

@keyframes scroll-team-name--finished {
  0% {
    margin-left: 0;
  }
  100% {
    margin-left: -300%;
  }
}

.match-item--finished .match-item__team-score {
  font-size: 15px;
  font-weight: 900;
  color: #f0f0f0;
  background: #263238;
  border-radius: 8px;
  min-width: 32px;
  text-align: center;
  line-height: 1.2;
}

.match-item__separator {
  display: block;
  width: 100%;
  height: 1px;
  background-color: #e0e0e0;
}

.match-item__actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  background: #dddddd;
}

.match-item--finished .match-item__actions {
  background: #007DB8;
}

.match-item__youtube-btn img {
  height: 18px;
}

.match-item__play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #4caf50;
  border: none;
  border-radius: 4px;
  color: white;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.match-item__play-btn:hover {
  background: #45a049;
  transform: scale(1.05);
}

.match-item--finished .match-item__btn {
  background: #e6bf00;
  color: #ffffff;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 9px;
  border: none;
  border-radius: 4px;
  padding: 4px 12px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}

.match-item--finished .match-item__btn:hover {
  background: #ffd500;
}

.loading {
  text-align: center;
  padding: 40px;
  color: #666;
}

.error {
  text-align: center;
  padding: 40px;
  color: #d32f2f;
  background: #ffebee;
  border-radius: 8px;
  margin: 20px;
}

.columns {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.orbit-container {
	overflow: visible;
}

.wrap__banner--slider .card__post, 
.wrap__banner--slider {
    height: auto;
}