/*
Theme Name: Alchemists
Theme URI: http://bit.ly/alch-wp
Author: Dan Fisher
Author URI: http://bit.ly/dan_fisher
Description: Sports Club and News WordPress Theme
Version: 4.7.1
Tested up to: 6.9
Requires PHP: 7.4
License: https://themeforest.net/licenses
License URI: https://themeforest.net/licenses
Text Domain: alchemists
Tags: one-column, two-columns, right-sidebar, custom-colors, custom-menu, custom-logo, featured-images, footer-widgets, post-formats, theme-options, threaded-comments, translation-ready
*/




/*CLUBS PAGE*/
/* Responsive grid for clubs */
.clubs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* desktop */
  gap: 20px;
  margin: 40px 0;
}

@media (max-width: 1024px) {
  .clubs-grid {
    grid-template-columns: repeat(2, 1fr); /* tablet */
  }
}

@media (max-width: 600px) {
  .clubs-grid {
    grid-template-columns: 1fr; /* mobile */
  }
}

/* Each club card */
.clubs-grid .club-card {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.clubs-grid .club-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

/* Target the actual logo markup */
.clubs-grid .club-card img.wp-post-image {
  max-height: 40px !important;
  width: auto !important;
  margin-right: 16px;
}

/* Club name */
.clubs-grid .club-card .club-name {
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin: 0;
}

.season-filter-form {
  margin-bottom: 20px;
}

.season-filter-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 33%; /* one-third of page width */
}

.season-filter-wrapper select {
  flex: 1;
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.apply-button {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  background: #4CAF50;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.apply-button:hover {
  background: #388E3C;
}

.reset-button {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  background: #f44336;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.reset-button:hover {
  background: #d32f2f;
}


/*STATS PAGE*/

/* General table styling */
.sp-player-list {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-family: "PremierSans-Regular", Arial, sans-serif;
  font-size: 14px;
  color: #242424;
}

.sp-player-list th {
  background-color: #f5f5f5;
  text-align: left;
  padding: 10px;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 2px solid #ddd;
}

.sp-player-list td {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.sp-player-list tr:nth-child(even) {
  background-color: #fafafa;
}

.sp-player-list td:first-child {
  font-weight: 600;
  color: #000;
}