.wow-podium-container {
  display: flex;
  flex-direction: row;
  position: relative;
  overflow: hidden;
}

/*Filter*/
.wow-podium-container .wow-podium-filter {
  flex-shrink: 0;
  position: relative;
}

.wow-podium-container .wow-podium-filter select,
.wow-podium-container .wow-podium-filter select::picker(select) {
  appearance: base-select !important;
  outline: none;
  border: 0;
  font-family: Plus Jakarta Sans;
  font-size: 12px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.333em;
}

.wow-podium-container .wow-podium-filter select {
  border-radius: 8px;
  background-color: var(--secondary-700);
  padding: 8px 16px;
  color: var(--support-200-background);
  border: 0px solid transparent;
  width: 144px;
}

.wow-podium-container .wow-podium-filter select:focus-visible {
  outline: none;
}

.wow-podium-container .wow-podium-filter select::picker-icon {
  display: none;
}

.wow-podium-container .wow-podium-filter select option {
  /*display: flex;*/
  padding: 16px 16px !important;
  background-color: var(--secondary-600-text-light-primary) !important;
  color: var(--support-200-background);
  justify-content: start;
}

.wow-podium-container .wow-podium-filter select option::checkmark {
  display: none;
}

.wow-podium-container .wow-podium-filter select option:hover {
  background-color: var(--main-400-main) !important;
  color: var(--secondary-600-text-light-primary);
  cursor: pointer;
}

.wow-podium-container .wow-podium-filter select option:checked {
  background-color: var(--main-400-main) !important;
  color: var(--secondary-600-text-light-primary) !important;
}

.wow-podium-container .wow-podium-filter svg {
  position: absolute;
  right: 16px;
  top: 8px;
  fill: var(--secondary-300);
  width: 16px;
  height: 16px;
  pointer-events: none;
}

/* Carousel Container */
.wow-podium-carousel-container {
  width: 92.3%;
  position: relative;
  overflow: hidden;
  align-content: center;
}

/* No games message styling */
.wow-podium-no-games {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 32px;
}

.wow-podium-no-games p {
  margin: 0 0 10px 0;
  color: var(--support-200-background);
  font-family: Margest;
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.5em;
}

.wow-podium-no-games p:last-child {
  margin-bottom: 0;
  font-size: 16px;
  opacity: 0.8;
}

/* Hide filter when no games */
.wow-podium-container:has(.wow-podium-no-games) .wow-podium-filter {
  display: none;
}

/* Alternative: Keep filter but disable it */
.wow-podium-no-games ~ .wow-podium-filter select {
  opacity: 0.5;
  pointer-events: none;
}

.wow-podium-carousel-container .swiper {
  width: 100%;
  height: auto;
}

.wow-podium-carousel-container .swiper.slider .no-games-message {
  margin: 0 0 0 10px;
  color: var(--support-200-background);
  font-family: Margest;
  font-size: 16px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.5em;
}

.wow-podium-carousel-container .swiper-wrapper {
  display: flex;
  transition-timing-function: linear;
  flex-direction: row;
  width: 100%;
}

/*First try*/
/*.wow-podium-carousel-container .slider {
  height: var(--height);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10% 90%, transparent);
}
.wow-podium-carousel-container .list {
  min-width: calc(var(--width) + var(--quantity));
  position: relative;
}

/*Loop*/
/*.wow-podium-container .item {
  width: var(--width);
  height: var(--height);
  position: absolute;
  left: 100%;
  animation: autoRun var(--duration) linear infinite;
  animation-delay: calc(
    (var(--duration) / var(--quantity)) * (var(--position) - 1) -
      var(--duration)
  );
}

@keyframes autoRun {
  from {
    left: 100%;
  }
  to {
    left: calc(var(--width) * -1);
  }
}*/

/*Second try*/
/*.wow-podium-carousel-container .slider {
  height: var(--height);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10% 90%, transparent);
  position: relative;
  width: 100%;
}
.wow-podium-carousel-container .list {
  display: flex;
  gap: 20px;
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
}*/

/*Loop*/
/*.wow-podium-container .item {
  height: var(--height);
}*/

.wow-podium-container .swiper-slide {
  width: fit-content;
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  padding-left: 4px;
  white-space: nowrap;
  flex-shrink: 0; /* Prevent slides from shrinking */
}

/*Date*/
.wow-podium-container .swiper-slide .wow-podium-loop-date {
  display: flex;
  flex-direction: row;
  gap: 8px;
  background-color: var(--main-400-main);
  padding: 0 16px;
  border-radius: 4px;
  color: var(--secondary-600-text-light-primary);
  font-family: Margest;
  font-weight: 500;
  font-style: normal;
  font-size: 16px;
  line-height: 1.5em;
  flex-shrink: 0;
}

/*Element*/
.wow-podium-container .swiper-slide .wow-podium-loop-element {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

/*Division*/

.wow-podium-container
  .swiper-slide
  .wow-podium-loop-element
  .wow-podium-loop-element-division {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  border: 1px solid var(--main-400-main);
  border-radius: 4px;
  padding: 0 8px;
  color: var(--main-400-main);
  font-family: Plus Jakarta Sans;
  font-weight: 700;
  font-style: normal;
  font-size: 14px;
  line-height: 1.714em;
  flex-shrink: 0;
}
/*Teams*/
/*.wow-podium-container .wow-podium-loop .wow-podium-loop-element .wow-podium-loop-teams {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-direction: row;
    align-items: center;
}*/

.wow-podium-container
  .swiper-slide
  .wow-podium-loop-element
  .wow-podium-loop-teams {
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

.wow-podium-loop-element .wow-podium-loop-teams .wow-podium-loop-team-home,
.wow-podium-loop-element .wow-podium-loop-teams .wow-podium-loop-team-away,
.wow-podium-loop-element
  .wow-podium-loop-teams
  .wow-podium-loop-team-score
  span {
  font-family: Margest;
  font-style: normal;
  font-weight: 400;
  color: var(--support-200-background);
}

.wow-podium-loop-element
  .wow-podium-loop-teams
  .wow-podium-loop-team-score
  .wow-podium-loop-team-draw {
  padding: 0 8px;
  border: solid var(--support-200-background);
  border-width: 0 1px 0 1px;
  border-radius: 0;
}

@media only screen and (min-width: 1025px) {
  .wow-podium-loop-element .wow-podium-loop-teams .wow-podium-loop-team-home,
  .wow-podium-loop-element .wow-podium-loop-teams .wow-podium-loop-team-away,
  .wow-podium-loop-element
    .wow-podium-loop-teams
    .wow-podium-loop-team-score
    span {
    font-size: 20px;
    line-height: 1.6em;
  }
}

@media only screen and (max-width: 1024px) and (min-width: 768px) {
  .wow-podium-loop-element .wow-podium-loop-teams .wow-podium-loop-team-home,
  .wow-podium-loop-element .wow-podium-loop-teams .wow-podium-loop-team-away,
  .wow-podium-loop-element
    .wow-podium-loop-teams
    .wow-podium-loop-team-score
    span {
    font-size: 16px;
    line-height: 1.5em;
  }
}

@media only screen and (max-width: 767px) {
  .wow-podium-filter {
    display: none;
  }

  .wow-podium-loop-element .wow-podium-loop-teams .wow-podium-loop-team-home,
  .wow-podium-loop-element .wow-podium-loop-teams .wow-podium-loop-team-away,
  .wow-podium-loop-element
    .wow-podium-loop-teams
    .wow-podium-loop-team-score
    span {
    font-size: 16px;
    line-height: 1.5em;
  }
}
