h1.pairings-pinehurst-title {
  font-weight: 400;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 70px;
}

h1.pairings-pinehurst-title strong {
  font-size: 40px;
}

h1.pairings-pinehurst-title span {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 4px;
}
.pairings-pinehurst-container {
  max-width: 1800px;
  margin: 0 auto;
}

.pairings-pinehurst-header {
  text-align: center;
  margin-bottom: 30px;
}

.pairings-pinehurst-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
}

.pairings-tee-time-section {
  margin-bottom: 80px;
  background-color: #eaeff2;
  border-radius: 48px;
  position: relative;
  padding-top: 70px;
  padding-bottom: 60px;
  padding-left: 40px;
  padding-right: 40px;
  filter: drop-shadow(7px 14px 24px rgba(0, 0, 0, 0.04));
}

.pairings-tee-time-header {
  background-color: var(--main-color);
  color: white;
  padding: 8px 46px;
  text-align: center;
  border-radius: 100px;
  max-width: max-content;
  margin: auto;
  margin-top: -20px;
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  filter: drop-shadow(
    7px 14px 23.100000381469727px rgba(0, 0, 0, 0.03999999910593033)
  );
}

.pairings-tee-time-info {
  font-size: 18px;
  font-weight: bold;
}

.tee-time-separator {
  margin: 0 10px;
}

.pairings-team-labels {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  margin-bottom: 20px;
}

.team-label {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 20px;
  flex: 1;
  justify-content: center;
  background: #fff;
  border-radius: 100px;
  max-width: max-content;
  margin: auto;
  padding: 6px 35px;
  filter: drop-shadow(7px 14px 24px rgba(0, 0, 0, 0.08));
}

.team-label img {
  height: 20px;
  margin-right: 8px;
}

.pairings-players-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.player-card {
  flex: 1;
  background-color: white;
  border-radius: 36px;
  filter: drop-shadow(7px 14px 24px rgba(0, 0, 0, 0.08));
  overflow: hidden;
  text-align: center;
  padding: 30px 20px;
}

.team-card {
  max-width: 500px;
}

.team-players-container {
  display: flex;
  gap: 10px;
  justify-content: space-around;
  align-items: flex-start;
}

.individual-player {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.individual-player .player-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
}

.individual-player .player-name {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 15px;
  color: #333;
}

.individual-player .player-stats {
  max-width: 200px;
  width: 100%;
}

.world-card h2.player-name,
.team-label.world {
  color: var(--world-color);
}

.italian-card h2.player-name,
.team-label.italian {
  color: var(--italian-color);
}

.irish-card h2.player-name,
.team-label.irish {
  color: var(--irish-color);
}

.irish-card .stats-header {
  background: var(--irish-color);
}

.world-card .stats-header {
  background: var(--main-color);
}
.italian-card .stats-header {
  background: var(--italian-color);
}
.stat-col.l {
  border-left: 1px solid hsl(202.5deg 21.05% 85.1% / 30%);
  border-right: 1px solid hsl(202.5deg 21.05% 85.1% / 30%);
}

/* Old player-image styles moved to individual-player .player-image */

.empty-player {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.6;
}

.empty-player-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 15px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f0f0f0;
}

.player-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-name {
  font-size: 22px;
  font-weight: bold;
  margin: 10px 0;
  color: #333;
}

.player-stats {
  max-width: 255px;
  margin: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  overflow: hidden;
}

.stats-header,
.stats-values {
  display: flex;
  justify-content: center;
  font-size: 14px;
}

.stat-col {
  text-align: center;
  padding: 5px;
  width: 100%;
}

.stats-header .stat-col {
  font-weight: bold;
  color: white;
}

.stats-header .w {
}

.stats-header .l {
}

.stats-header .t {
}

.stats-values .stat-col {
  background-color: #eaeff2;
  font-weight: 500;
}

.player-match-stats,
.player-year-stats {
  display: flex;
  justify-content: space-between;
  margin: 10px 15px;
  font-size: 14px;
}

.match-stat,
.year-stat {
  flex: 1;
  padding: 5px;
  background-color: #f5f5f5;
  margin: 0 5px;
}

.stat-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
}

.stat-value {
  font-weight: bold;
  color: #333;
}

.empty-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  background-color: #f9f9f9;
}

.empty-player-message {
  color: #999;
  font-style: italic;
}

.no-pairings-message {
  text-align: center;
  padding: 50px;
  background-color: #f5f7fa;
  border-radius: 10px;
  color: #666;
}
.individual-player .player-stats:last-of-type {
  margin-bottom: 0;
}
.individual-player .player-name {
  min-height: 50px;
}
@media (max-width: 1100px) {
  .pairings-players-row {
    flex-direction: column;
  }

  .team-card {
    margin: 20px 0;
    max-width: none;
  }

  .pairings-team-labels {
    display: none;
  }
  .pairings-tee-time-info {
    font-size: 14px;
  }

  .pairings-tee-time-section {
    padding: 60px 20px;
  }

  .player-stats * {
    font-size: 13px;
  }

  .player-stats {
    max-width: 220px;
  }

  .stats-header {
    line-height: 1.4em;
  }

  .stats-header .stat-col {
    padding: 12px 2px;
  }
}

@media (max-width: 768px) {
  .team-players-container {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .individual-player {
    width: 100%;
    max-width: 300px;
  }

  .individual-player .player-image,
  .empty-player-image {
    width: 140px;
    height: 140px;
  }

  .individual-player .player-name {
    font-size: 20px;
  }
}
