/* =========================================================
   LMEH · HOME · PARTIDOS + RESULTADOS
   ========================================================= */

.home-games {
  padding: 100px 0 110px;
  background: #f2f2f2;
  color: #080808;
}

.home-games__inner {
  width: min(92%, 1200px);
  margin: 0 auto;
}

.home-games__section + .home-games__section {
  margin-top: 95px;
}


/* ---------- HEADING ---------- */

.home-games__heading {
  margin-bottom: 38px;
}

.home-games__kicker {
  display: block;
  margin-bottom: 12px;

  font-size: 9px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;

  color: #777;
}

.home-games__heading h2 {
  margin: 0;

  font-size: clamp(54px, 7vw, 92px);
  line-height: .84;

  font-weight: 900;
  letter-spacing: -4px;
  text-transform: uppercase;
}


/* ---------- GRID ---------- */

.home-games__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}


/* ---------- UPCOMING GAME CARD ---------- */

.home-game-card {
  min-width: 0;
  padding: 28px;

  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 20px;
}

.home-game-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;

  padding-bottom: 18px;
  margin-bottom: 24px;

  border-bottom: 1px solid #eeeeee;

  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  color: #777777;
}

.home-game-card__teams {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-game-card__team {
  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 16px;
}

.home-game-card__team img {
  width: 62px;
  height: 62px;

  object-fit: contain;
}

.home-game-card__team strong {
  display: block;

  font-size: 16px;
  line-height: 1.05;

  font-weight: 900;
  text-transform: uppercase;
}

.home-game-card__vs {
  margin-left: 78px;

  font-size: 8px;
  font-weight: 900;
  letter-spacing: 2px;

  color: #aaaaaa;
}

.home-game-card__venue {
  margin-top: 24px;
  padding-top: 18px;

  border-top: 1px solid #eeeeee;

  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;

  color: #777777;
}


/* ---------- RESULTS ---------- */

.home-result {
  min-width: 0;
  padding: 28px;

  background: #080808;
  color: #ffffff;

  border-radius: 20px;
}

.home-result__meta {
  margin-bottom: 25px;

  font-size: 8px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  color: rgba(255,255,255,.45);
}

.home-result__team {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 14px;

  padding: 13px 0;

  border-bottom: 1px solid rgba(255,255,255,.12);
}

.home-result__team:last-child {
  border-bottom: 0;
}

.home-result__team img {
  width: 48px;
  height: 48px;

  object-fit: contain;
}

.home-result__team strong {
  font-size: 14px;
  line-height: 1.05;

  font-weight: 900;
  text-transform: uppercase;
}

.home-result__score {
  font-size: 38px;
  line-height: 1;

  font-weight: 900;
  letter-spacing: -2px;
}


/* ---------- EMPTY / LOADING ---------- */

.home-games__loading {
  grid-column: 1 / -1;

  min-height: 150px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 35px;

  border: 1px solid #dddddd;
  border-radius: 20px;

  background: #ffffff;

  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;

  color: #888888;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .home-games__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

  .home-games {
    padding: 70px 0 80px;
  }

  .home-games__section + .home-games__section {
    margin-top: 70px;
  }

  .home-games__heading {
    margin-bottom: 28px;
  }

  .home-games__heading h2 {
    font-size: clamp(48px, 15vw, 68px);
    letter-spacing: -3px;
  }

  .home-games__grid {
    grid-template-columns: 1fr;
  }

  .home-game-card,
  .home-result {
    padding: 23px;
    border-radius: 17px;
  }

  .home-game-card__team {
    grid-template-columns: 54px 1fr;
    gap: 14px;
  }

  .home-game-card__team img {
    width: 54px;
    height: 54px;
  }

  .home-game-card__vs {
    margin-left: 68px;
  }

}


/* MOBILE · FIX TITULOS HOME */

@media (max-width: 650px) {

  .home-games__heading h2 {
    font-size: clamp(42px, 12.5vw, 58px);
    line-height: .88;
    letter-spacing: -2.5px;
    overflow-wrap: anywhere;
  }

}

