/* ==========================================================================
   Itaminense — Sliders e cards (parceiros, notícias, jogos, vídeos, elenco)
   ========================================================================== */

/* ---- Base comum dos sliders ------------------------------------------- */

.products-slider,
.news-slider,
.games-slider,
.videos-slider,
.players-slider {
  position: relative;
  width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  overflow: hidden;
}

.swiper-button-next,
.swiper-button-prev {
  width: 30px;
  height: 40px;
  margin-top: 0;
  background-color: var(--color-white);
  color: var(--color-dark-blue);
  transition: background-color 0.2s, color 0.2s;
}

.swiper-button-next {
  right: 0;
  border-radius: 50% 0 0 50%;
}

.swiper-button-prev {
  left: 0;
  border-radius: 0 50% 50% 0;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 14px;
  font-weight: 700;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

/* ==========================================================================
   Parceiros / produtos
   ========================================================================== */

.products-section .swiper-button-next,
.products-section .swiper-button-prev {
  display: none;
}

.product-card {
  height: 85px;
  padding: 10px 9px;
  background-color: var(--color-white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   Notícias
   ========================================================================== */

.news-card-image {
  display: block;
}

.news-card-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.4s;
}

.news-card:hover .news-card-image img {
  transform: scale(1.03);
}

.news-card-image {
  overflow: hidden;
  border-radius: 5px;
}

.news-card-content {
  padding-top: var(--spacing-sm);
}

/* chapéu da matéria */
.news-card-kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-secondary);
  margin-bottom: 6px;
}

.news-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 var(--spacing-md);
}

.news-card-title a {
  color: var(--color-white);
  transition: color 0.2s;
}

.news-card-title a:hover {
  color: var(--color-secondary);
}

/* grade de notícias (página de listagem) */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.news-card-date {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 6px;
}

/* ==========================================================================
   Próximos jogos
   ========================================================================== */

.game-card {
  display: flex;
  flex-direction: column;
  height: 450px;
  padding: 40px;
  color: var(--color-white);
  background-color: var(--color-secondary);
  background-image: linear-gradient(
    160deg,
    var(--color-secondary) 0%,
    var(--color-primary) 100%
  );
}

.game-card-date {
  font-size: 0.8rem;
  font-weight: 400;
}

.game-teams {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.game-card-date-big {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
}

.game-card-teams {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.5;
}

.game-card-teams span {
  opacity: 0.6;
  margin-right: 6px;
}

.game-card-ticket {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--spacing-sm);
}

.game-card-squad-image {
  height: 36px;
  width: auto;
}

.game-card-place {
  font-size: 0.8rem;
  margin-top: 5px;
}

/* ==========================================================================
   Vídeos
   ========================================================================== */

.video-card {
  overflow: hidden;
}

.video-card-thumbnail {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.4s;
}

.video-card:hover .video-card-thumbnail {
  transform: scale(1.03);
}

.video-card a {
  display: block;
  position: relative;
}

/* ícone de play sobre a miniatura */
.video-card a::after {
  content: "\f04b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 105px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--color-white);
  background-color: rgba(11, 79, 168, 0.85);
  border-radius: 50%;
  pointer-events: none;
}

.video-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-white);
  padding-top: var(--spacing-sm);
  line-height: 1.3;
}

/* ==========================================================================
   Elenco
   ========================================================================== */

.players-slider .swiper-slide {
  height: auto;
}

.player-card {
  position: relative;
  overflow: hidden;
  background-color: var(--color-demi-blue);
  background-image: linear-gradient(
    180deg,
    var(--color-primary) 0%,
    var(--color-demi-blue) 100%
  );
}

.player-card-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s;
}

.player-card:hover .player-card-photo {
  transform: scale(1.04);
}

.player-details {
  display: flex;
  align-items: stretch;
  height: 50px;
  background-color: var(--color-light-blue);
}

.player-card-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  flex: 0 0 50px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-white);
  background-color: var(--color-primary);
}

.player-card-name {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text);
}

/* grade de elenco (página interna) */
.players-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--spacing-md);
}
