.torneo-teams__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  align-items: start;
}

.torneo-teams__item {
  background: var(--color-bg-elevated, #1b2127);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: .5rem;
  /* padding: .75rem .875rem; */
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  height: 100%; 
  border: 1px solid var(--color-border, #e5e5e5);
  background: #1b2127;
}

.torneo-team-card {
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
}

.torneo-team-inset {
  padding: .75rem .875rem;
}

/* Media wrapper */
.team-card__media {
  height: 180px;              /* pick one height */
  width: 100%;
  display: flex;
  align-items: center;        /* vertical center */
  justify-content: center;    /* horizontal center */
  overflow: hidden;
  background: #111;           /* optional neutral background */
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
}

/* Image itself */
.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* 🔑 THIS IS THE KEY */
  object-position: center;    /* always center */
  display: block;
}
/* 
.team-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 80%,
    var(--torneo-card-bg, #1b2228) 100%
  );
} */

.torneo-inline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}

.torneo-flag {
  display: inline-block;
  width: 30px;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05);
}

.torneo-team-name {
  font-weight: 600;
  line-height: 1.2;
}

.torneo-team-nickname {
  font-weight: 400;
  line-height: 1.2;
  color: #555
}

.torneo-team-native {
  font-weight: 400;
  line-height: 1.2;
  color: #888
}