/*
 Theme Name:   District 17 — Blocksy Child (Hardened)
 Theme URI:    https://legiond17baseball.org/
 Description:  Child theme for Blocksy tailored for American Legion Baseball — District 17
 Author:       District 17
 Author URI:   https://legiond17baseball.org/
 Template:     blocksy
 Version:      1.0.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  d17-blocksy-child
*/

:root {
  --d17-navy: #0B3D91;
  --d17-gold: #FFD700;
  --d17-red:  #B22222;
  --d17-dark: #3A3F45;
  --d17-light: #F4F6F8;
}

.ct-header, .ct-footer { border-top: 3px solid var(--d17-gold); }

a.button, .wp-block-button__link, .ct-button {
  background: var(--d17-gold);
  color: var(--d17-dark);
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 600;
}
a.button:hover, .wp-block-button__link:hover, .ct-button:hover { filter: brightness(0.95); }

.d17-sponsor-carousel {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px; align-items: center;
}
.d17-sponsor-carousel img { width: 100%; height: auto; filter: grayscale(0.1); }
.d17-sponsor-carousel a:hover img { filter: none; }

.d17-team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.d17-team-card {
  background: #fff; border: 1px solid #E5E7EB; border-radius: 10px; padding: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,.03);
}
.d17-team-card h3 { margin: 8px 0 6px; color: var(--d17-navy); }
.d17-team-card .meta { color: #6B7280; font-size: 14px; }
.d17-team-card .cta { margin-top: 10px; }
