/* MtG Match Tracker - Players Archive */

.mtgmt-players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5em;
  margin: 2em 0;
}

.mtgmt-player-card {
  border: 2px solid #000000;
  padding: 1em;
  background-color: #ffffff;
}

.mtgmt-player-card-name {
  margin: 0 0 .5em 0;
  font-size: 1.5em;
  font-weight: 700;
  border-bottom: 2px solid #aae0fa;
  padding-bottom: 0.5em;
}

.mtgmt-player-card-name a {
  color: #000000;
  text-align: center;
  text-decoration: none;
}

.mtgmt-player-card-name a:hover {
  color: #0066cc;
  text-decoration: underline;
}

.mtgmt-player-card-stats {
  display: flex;
  flex-direction: column;
}

.mtgmt-player-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5em 0;
  border-bottom: 1px solid #e0e0e0;
}

.mtgmt-player-stat:last-child {
  border-bottom: none;
}

.mtgmt-player-stat-label {
  font-weight: 500;
  color: #333333;
  font-size: 0.9em;
}

.mtgmt-player-stat-value {
  font-weight: 700;
  color: #000000;
  text-align: right;
}

.mtgmt-player-stat-favorite .mtgmt-player-stat-label {
  font-weight: 500;
}

.mtgmt-player-stat-favorite .mtgmt-player-stat-value a {
  text-decoration: none;
}

.mtgmt-player-stat-favorite .mtgmt-player-stat-value a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .mtgmt-players-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .mtgmt-players-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
