.latest_matches {
  margin-bottom: 30px;
}

.latest_matches_title {
  font-size: 22px;
  margin-bottom: 15px;
  padding-left: 7px;
  border-left: 4px solid var(--brand);
}

.latest_matches_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.latest_match_card {
  display: block;
  background-color: var(--dark);
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  color: var(--text-primary);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.latest_match_card:hover {
  transform: translateY(-1px);
}

.latest_match_teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.latest_match_team {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40%;
  text-align: center;
}

.latest_match_team img {
  width: 48px;
  height: auto;
  margin-bottom: 6px;
}

.latest_match_team span {
  font-size: 14px;
}

.latest_match_score {
  display: flex;
  font-size: 26px;
  font-weight: 600;
}

.latest_match_score .score_dash {
  color: var(--brand);
  padding: 0 6px;
}

.latest_match_date {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--text-secondary);
}

/* Responsive */
@media screen and (max-width: 600px) {
  .latest_match_score {
    font-size: 22px;
  }

  .latest_match_team img {
    width: 42px;
  }
}
