.golfer-tournaments-display {
  margin: 30px 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.golfer-tournaments-display h3 {
  color: #333;
  border-bottom: 2px solid #0073aa;
  padding-bottom: 10px;
  margin-bottom: 25px;
  font-size: 24px;
}

.tournaments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.tournament-card {
  background: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tournament-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.tournament-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.tournament-header h4 {
  margin: 0;
  color: #0073aa;
  font-size: 18px;
  font-weight: 600;
}

.tournament-position {
  background: #0073aa;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
}

.tournament-details {
  color: #4d85b3;
  line-height: 1.6;
}

.tournament-date,
.tournament-course {
  margin-bottom: 8px;
}

.tournament-date strong,
.tournament-course strong {
  color: #333;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .tournaments-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .tournament-card {
    padding: 15px;
  }

  .tournament-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .tournament-header h4 {
    font-size: 16px;
  }

  .tournament-position {
    align-self: flex-end;
  }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
  .golfer-tournaments-display {
    color: #e1e1e1;
  }

  .golfer-tournaments-display h3 {
    color: #fff;
    border-bottom-color: #0073aa;
  }

  .tournament-card {
    background: #2d2d2d;
    border-color: #444;
    color: #e1e1e1;
  }

  .tournament-header h4 {
    color: #0073aa;
  }

  .tournament-details {
    color: #4d85b3;
  }

  .tournament-date strong,
  .tournament-course strong {
    color: #e1e1e1;
  }
}
