.serie-a-carousel-wrapper {
  position: relative;
  max-width: 1240px;
  margin: 10px auto;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

#serie-a-carousel {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.carousel-slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  box-sizing: border-box;
}

.match-card {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 10px 16px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  flex-direction: row;
  gap: 20px;
  min-width: 240px;
  max-width: 400px;
  flex: 1 1 auto;
}

.match-card .team {
  text-align: center;
  flex: 1;
}

.match-card .team img {
  height: 50px;
  margin-bottom: 5px;
  width: 100%;
  object-fit: contain;
}

.match-card .info {
  text-align: center;
  flex: 0 0 auto;
}

.match-card .time {
  font-weight: bold;
  font-size: 18px;
}

.match-card .date {
  font-size: 14px;
}

.serie-a-prev, .serie-a-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
    width: 30px;
    padding: 0;
    border-radius: 50%;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 38%;
    cursor: pointer;
    z-index: 1;
}

.serie-a-prev {
  left: -35px;
  background-image: url(https://tln.ca/wp-content/fontawesome/svgs/solid/chevron-left.svg);
}

.serie-a-next {
  right: -35px;
  background-image: url(https://tln.ca/wp-content/fontawesome/svgs/solid/chevron-right.svg);
}

@media (max-width: 480px) {
  .serie-a-prev {
    left: -24px;
  }
  
  .serie-a-next {
    right: -24px;
  }

  .team-name {
    font-size: 16px;
  }

  .match-card .time {
    font-size: 16px;
  }
}


.standings-table {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  border-collapse: collapse;
  font-family: sans-serif;
  background: white;
  border: none;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin-top: 15px;
}

.standings-table th,
.standings-table td {
  padding: 10px 14px;
  text-align: center;
  font-size: 16px;
  border: none !important;
}

.standings-table th {
  background: #f5f5f5;
  font-weight: bold;
}

.standings-table tbody tr:nth-child(even) {
  background: #f9f9f9;
}

.team-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.team-cell img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.num-cell {
  text-align: center;
  width: 60px;
  min-width: 60px;
  max-width: 60px;
}

.standings-header-team {
   text-align: left !important;
}

@media (max-width: 900px) {
  .num-cell {
    width: 50px;
    min-width: 50px;
    max-width: 50px;
  }
}

@media (max-width: 768px) {
  .standings-mobile {
    display: none;
  }
  .standings-table th, .standings-table td {
    text-align: center;
  }
  .num-cell {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
  }
}

@media (max-width: 520px) {
  .standings-table th, .standings-table td {
    font-size: 14px;
    padding: 6px;
  }
  .num-cell {
    width: 30px;
    min-width: 30px;
    max-width: 30px;
  }
}

@media (max-width: 401px) {
  .num-cell {
    width: 20px;
    min-width: 20px;
    max-width: 20px;
  }
  .standings-table th, .standings-table td {
    font-size: 12px;
  }

}