/**
 * Ball603 Team Page Styles
 * Styles specific to individual team pages
 * 
 * Depends on: styles.css (for shared variables, header, footer)
 */

/* ===== CSS VARIABLES (defaults, overridden per-team) ===== */
:root {
  --team-primary: #f57c00;
  --team-secondary: #1a1a1a;
  --team-accent: #ffb74d;
}

/* ===== BODY ===== */
.team-page {
  background: #f5f5f5;
  min-height: 100vh;
}

/* ===== HERO SECTION ===== */
.team-hero {
  background: linear-gradient(135deg, var(--team-primary) 0%, var(--team-secondary) 100%);
  padding: 35px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.team-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/images/court-pattern.png') center/cover;
  opacity: 0.05;
}

/* Team Color Particles Animation */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
}

.particle.primary {
  background: var(--team-primary);
  opacity: 0.3;
}

.particle.accent {
  background: var(--team-accent);
  opacity: 0.25;
}

.particle.white {
  background: rgba(255, 255, 255, 0.4);
}

.particle.float-1 { animation: floatAround1 20s infinite ease-in-out; }
.particle.float-2 { animation: floatAround2 18s infinite ease-in-out; }
.particle.float-3 { animation: floatAround3 22s infinite ease-in-out; }
.particle.float-4 { animation: floatAround4 19s infinite ease-in-out; }

@keyframes floatAround1 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(30px, -40px); }
  50% { transform: translate(-20px, -60px); }
  75% { transform: translate(-40px, -20px); }
}

@keyframes floatAround2 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-35px, -25px); }
  50% { transform: translate(25px, -50px); }
  75% { transform: translate(40px, 10px); }
}

@keyframes floatAround3 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(20px, 30px); }
  50% { transform: translate(-30px, -30px); }
  75% { transform: translate(-15px, 40px); }
}

@keyframes floatAround4 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-25px, 35px); }
  50% { transform: translate(35px, 20px); }
  75% { transform: translate(15px, -35px); }
}

.team-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.team-hero-tagline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
}

.team-hero-logo-wrap {
  margin-bottom: 12px;
}

.team-hero-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
}

.team-hero-meta {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 15px;
}

/* ===== HERO STATS - Centered Layout ===== */
.team-hero-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.team-hero-stats-primary {
  display: flex;
  justify-content: center;
}

/* Championship Stat Box - Two Column Layout */
.team-hero-stat.championship {
  background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
  padding: 12px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 20px rgba(255,215,0,0.3);
}

.team-hero-stat.championship .stat-icon {
  font-size: 50px;
  line-height: 1;
  flex-shrink: 0;
}

.team-hero-stat.championship .stat-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.team-hero-stat.championship .stat-value {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  line-height: 1;
}

.team-hero-stat.championship .stat-label {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

.team-hero-stat.championship .stat-sublabel {
  font-size: 10px;
  font-weight: 500;
  color: #777;
  margin-top: 2px;
}

/* Secondary Stats Row */
.team-hero-stats-secondary {
  display: flex;
  gap: 10px;
}

.team-hero-stat-small {
  background: rgba(255,255,255,0.15);
  padding: 8px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
}

.team-hero-stat-small .stat-icon {
  font-size: 16px;
}

.team-hero-stat-small .stat-value {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.team-hero-stat-small .stat-label {
  font-size: 10px;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== MENU BAR ===== */
.team-menu-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 500;
  overflow-x: auto;
}

.team-menu-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 10px 20px;
}

.team-menu-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: #555;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s;
}

.team-menu-item:hover {
  background: #f5f5f5;
  color: var(--team-primary);
}

.team-menu-item .menu-icon {
  font-size: 16px;
}

/* ===== QUICK STATS BAR ===== */
.team-quick-stats {
  background: #fff;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  border-bottom: 1px solid #eee;
}

.quick-stats-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.quick-stats-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 10px 8px;
  border-radius: 6px;
}

.boys-stats .quick-stats-label {
  background: var(--team-primary);
  color: #fff;
}

.girls-stats .quick-stats-label {
  background: var(--team-accent);
  color: #333;
}

.quick-stats-data {
  display: flex;
  gap: 30px;
}

.quick-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.quick-stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
}

.quick-stat-value {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.quick-stats-divider {
  width: 1px;
  background: #eee;
}

/* ===== MAIN CONTENT ===== */
.team-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* ===== SECTIONS ===== */
.team-section {
  margin-bottom: 40px;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
  gap: 5px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.section-link {
  font-size: 13px;
  color: var(--team-primary);
  text-decoration: none;
  font-weight: 500;
}

.section-link:hover {
  text-decoration: underline;
}

/* ===== NEWS SECTION ===== */
.stories-featured {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.story-box-large {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.story-box-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.story-box-image {
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: #f5f5f5;
  position: relative;
}

.photo-credit {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.85);
  color: #333;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
  z-index: 2;
}

.story-box-large .story-box-image {
  aspect-ratio: 16 / 9;
}

.story-box-content {
  padding: 20px;
}

.story-box-tag {
  display: inline-block;
  background: var(--team-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.story-box-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.3;
}

.story-box-large .story-box-title {
  font-size: 22px;
}

.story-box-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 10px;
}

.story-box-date {
  font-size: 12px;
  color: #999;
}

.story-box-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.story-box-small {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  display: flex;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.story-box-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.story-box-small .story-box-image {
  width: 140px;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}

.story-box-small .story-box-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-box-small .story-box-title {
  font-size: 14px;
  margin-bottom: 5px;
}

/* ===== SPONSOR SECTION ===== */
.team-sponsor-section {
  margin-bottom: 40px;
}

.team-sponsor {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Sponsor with actual sponsor */
.sponsor-header {
  font-size: 11px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.sponsor-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.sponsor-logo-img {
  max-height: 150px;
  max-width: 300px;
}

/* Sponsor Fallback - Logo at top, no header */
.sponsor-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.2s;
}

.sponsor-fallback:hover {
  background: #f9f9f9;
}

.sponsor-fallback .sponsor-logo-img {
  max-height: 45px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.sponsor-fallback:hover .sponsor-logo-img {
  opacity: 1;
}

.sponsor-fallback-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sponsor-fallback-line1 {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.sponsor-fallback-line2 {
  font-size: 13px;
  color: #666;
}

.sponsor-fallback:hover .sponsor-fallback-line1,
.sponsor-fallback:hover .sponsor-fallback-line2 {
  color: var(--team-primary);
}

/* ===== SCHEDULES SECTION ===== */
.schedules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.schedule-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.schedule-card-header {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}

.schedule-card-header.boys {
  background: var(--team-primary);
}

.schedule-card-header.girls {
  background: var(--team-accent);
  color: var(--team-accent-text, #333);
}

.schedule-card-label {
  font-weight: 600;
  font-size: 14px;
}

.schedule-card-record {
  font-size: 18px;
  font-weight: 700;
}

.schedule-card-games {
  padding: 0;
}

.schedule-game-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid #f0f0f0;
  align-items: center;
  font-size: 13px;
}

.schedule-game-item:last-child {
  border-bottom: none;
}

.schedule-game-date {
  font-weight: 600;
  color: #555;
  font-size: 12px;
}

.schedule-game-opponent {
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.schedule-game-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.schedule-game-opponent .home-away {
  font-size: 11px;
  color: #888;
  margin-left: 4px;
}

.schedule-game-result {
  font-weight: 600;
  text-align: right;
  font-size: 12px;
}

.schedule-game-result.win {
  color: #2e7d32;
}

.schedule-game-result.loss {
  color: #c62828;
}

.schedule-game-result.upcoming {
  color: #888;
  font-weight: 500;
}

.schedule-card-link {
  display: block;
  padding: 12px 20px;
  background: #f9f9f9;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--team-primary);
  text-decoration: none;
  border-top: 1px solid #eee;
}

.schedule-card-link:hover {
  background: #f0f0f0;
}

/* ===== ROSTERS SECTION ===== */
.rosters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.roster-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.roster-card-header {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}

.roster-card-header.boys {
  background: var(--team-primary);
}

.roster-card-header.girls {
  background: var(--team-accent);
  color: var(--team-accent-text, #333);
}

.roster-card-label {
  font-weight: 600;
  font-size: 14px;
}

.roster-card-count {
  font-size: 13px;
  opacity: 0.9;
}

.roster-card-body {
  padding: 15px 20px;
  flex: 1;
}

/* Coach at bottom of card */
.roster-card-coach {
  padding: 12px 20px;
  background: #f9f9f9;
  font-size: 13px;
  color: #555;
  border-top: 1px solid #eee;
}

.roster-card-coach strong {
  color: #333;
}

.roster-empty {
  text-align: center;
  padding: 30px 20px;
  color: #888;
}

.roster-empty p {
  margin-bottom: 8px;
}

.roster-empty a {
  color: var(--team-primary);
  text-decoration: none;
  font-weight: 500;
}

.roster-empty a:hover {
  text-decoration: underline;
}

.roster-table {
  width: 100%;
  border-collapse: collapse;
}

.roster-table th,
.roster-table td {
  padding: 10px 8px;
  text-align: left;
  font-size: 13px;
}

.roster-table th {
  font-weight: 600;
  color: #888;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #eee;
}

.roster-table td {
  border-bottom: 1px solid #f5f5f5;
}

.roster-table .num {
  font-weight: 600;
  color: var(--team-primary);
  width: 40px;
}

.roster-table .name {
  font-weight: 500;
  color: #333;
}

.roster-table .class,
.roster-table .pos {
  color: #666;
  width: 50px;
}

/* ===== GALLERIES SECTION ===== */
/* Gallery container with arrows */
.galleries-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gallery-arrow {
  display: none;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--team-primary);
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
}

.gallery-arrow:hover {
  background: var(--team-secondary);
  transform: scale(1.1);
}

.gallery-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
}

/* Show arrows only on desktop */
@media (min-width: 769px) {
  .gallery-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Horizontal scrolling gallery row */
.galleries-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 0 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--team-primary) #eee;
  flex: 1;
  scroll-behavior: smooth;
}

.galleries-scroll::-webkit-scrollbar {
  height: 8px;
}

.galleries-scroll::-webkit-scrollbar-track {
  background: #eee;
  border-radius: 4px;
}

.galleries-scroll::-webkit-scrollbar-thumb {
  background: var(--team-primary);
  border-radius: 4px;
}

.galleries-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--team-secondary);
}

.gallery-card {
  flex: 0 0 220px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  scroll-snap-align: start;
}

.gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.gallery-card-image {
  height: 140px;
  background-size: cover;
  background-position: center;
  background-color: #e0e0e0;
  position: relative;
}

/* Placeholder pattern for galleries without thumbnails */
.gallery-card-image.no-thumb {
  background: linear-gradient(135deg, var(--team-primary) 0%, var(--team-secondary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-card-image.no-thumb::after {
  content: '📷';
  font-size: 48px;
  opacity: 0.3;
}

.gallery-card-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.gallery-card-info {
  padding: 15px;
}

.gallery-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  line-height: 1.3;
}

.gallery-card-date {
  font-size: 12px;
  color: #888;
}

/* ===== HISTORY SECTION ===== */
.history-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* Championship Cards Row - ABOVE timeline */
.championship-cards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.championship-card {
  background: linear-gradient(135deg, #ffd700 0%, #ffb300 100%);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  min-width: 160px;
  max-width: 180px;
  box-shadow: 0 4px 15px rgba(255,215,0,0.3);
}

.champ-year {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  line-height: 1;
  margin-bottom: 5px;
}

.champ-trophy {
  font-size: 28px;
  margin-bottom: 5px;
}

.champ-gender {
  font-size: 11px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.champ-division {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.champ-score-box {
  background: rgba(255, 255, 255, 0.7);
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 4px;
}

.champ-score {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

.champ-opponent {
  font-size: 12px;
  color: #555;
}

/* History Timeline */
.history-timeline {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.history-timeline h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--team-primary);
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 60px 55px 120px 80px 1fr;
  gap: 15px;
  padding: 8px 12px;
  border-radius: 8px;
  align-items: center;
  font-size: 13px;
}

.timeline-item.champion {
  background: #fffde7;
  border-left: 4px solid #ffd700;
}

.timeline-item.runner-up {
  background: #f5f5f5;
  border-left: 4px solid #bdbdbd;
}

.timeline-year {
  font-weight: 700;
  color: #333;
}

.timeline-gender {
  color: #666;
}

.timeline-result {
  font-weight: 600;
}

.timeline-item.champion .timeline-result {
  color: #f9a825;
}

.timeline-item.runner-up .timeline-result {
  color: #757575;
}

.timeline-score {
  color: #333;
  font-weight: 500;
}

.timeline-opponent {
  color: #666;
}

/* ===== FEATURE BOXES (1K & NCAA) ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-box {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.feature-box-header {
  background: linear-gradient(135deg, var(--team-primary) 0%, var(--team-secondary) 100%);
  padding: 20px;
  color: #fff;
  text-align: center;
}

.feature-box-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.feature-box-subtitle {
  font-size: 12px;
  opacity: 0.85;
}

.feature-box-content {
  padding: 20px;
  flex: 1;
  max-height: 350px;
  overflow-y: auto;
}

/* Feature Box Footer with Links */
.feature-box-footer {
  padding: 15px 20px;
  background: #f9f9f9;
  border-top: 1px solid #eee;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
}

.feature-footer-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--team-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.feature-footer-link:hover {
  text-decoration: underline;
}

.feature-footer-link.secondary {
  color: #666;
}

.feature-footer-link.secondary:hover {
  color: var(--team-primary);
}

/* 1K Scorers List */
.scorers-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scorer-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: #f9f9f9;
  border-radius: 8px;
  gap: 15px;
}

.scorer-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.scorer-name {
  font-weight: 600;
  color: #333;
  font-size: 15px;
  text-align: left;
}

.scorer-year {
  font-size: 12px;
  color: #666;
  text-align: left;
}

.scorer-points {
  font-weight: 700;
  color: var(--team-primary);
  font-size: 18px;
}

.scorer-item.elite {
  background: linear-gradient(135deg, #fffde7 0%, #fff8e1 100%);
  border: 1px solid #ffd700;
}

/* NCAA Players List */
.college-players-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.college-player-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: #f9f9f9;
  border-radius: 8px;
  gap: 15px;
}

.college-player-name {
  font-weight: 600;
  color: #333;
  font-size: 15px;
}

.college-player-school {
  font-size: 13px;
  color: var(--team-primary);
  font-weight: 500;
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 30px 20px;
  color: #888;
}

.empty-state p {
  margin-bottom: 10px;
  font-size: 14px;
}

.empty-state .empty-help {
  font-size: 12px;
}

.empty-state a {
  color: var(--team-primary);
  text-decoration: none;
  font-weight: 500;
}

.empty-state a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  /* Make header scroll away on mobile so menu bar can stick at top */
  .team-page .site-header {
    position: relative;
  }
  
  .team-page .team-menu-bar {
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .stories-featured {
    grid-template-columns: 1fr;
  }
  
  .story-box-stack {
    flex-direction: row;
  }
  
  .story-box-small {
    flex: 1;
  }
  
  .schedules-grid,
  .rosters-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .championship-cards-row {
    justify-content: center;
  }
  
  .timeline-item {
    grid-template-columns: 50px 50px 100px 70px 1fr;
    gap: 10px;
    font-size: 12px;
  }
  
  .feature-box-footer {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .team-hero {
    padding: 25px 15px;
  }
  
  .team-hero-logo {
    width: 90px;
    height: 90px;
  }
  
  .team-hero-tagline {
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
  }
  
  .team-hero-logo-wrap {
    margin-bottom: 8px;
  }
  
  .team-hero-meta {
    font-size: 12px;
    margin-bottom: 12px;
  }
  
  .team-hero-stat.championship {
    padding: 10px 15px;
    gap: 12px;
  }
  
  .team-hero-stat.championship .stat-icon {
    font-size: 36px;
  }
  
  .team-hero-stat.championship .stat-value {
    font-size: 28px;
  }
  
  .team-hero-stat.championship .stat-label {
    font-size: 10px;
  }
  
  .team-hero-stats-secondary {
    flex-direction: row;
    gap: 8px;
  }
  
  .team-hero-stat-small {
    padding: 6px 10px;
    gap: 6px;
  }
  
  .team-hero-stat-small .stat-value {
    font-size: 14px;
  }
  
  .team-hero-stat-small .stat-label {
    font-size: 9px;
  }
  
  .team-menu-inner {
    justify-content: flex-start;
  }
  
  .team-quick-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .quick-stats-divider {
    width: 100%;
    height: 1px;
  }
  
  .quick-stats-group {
    width: 100%;
    justify-content: center;
  }
  
  .quick-stats-label {
    writing-mode: horizontal-tb;
    transform: none;
  }
  
  .story-box-stack {
    flex-direction: column;
  }
  
  .championship-cards-row {
    flex-direction: column;
    align-items: center;
  }
  
  .championship-card {
    width: 100%;
    max-width: 280px;
  }
  
  .timeline-item {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
  }
  
  .timeline-opponent {
    grid-column: span 2;
  }
  
  .sponsor-fallback-line1 {
    font-size: 14px;
  }
  
  .sponsor-fallback-line2 {
    font-size: 12px;
  }
}

/* ===== SINGLE-GENDER TEAM STYLES ===== */
/* Used for combined teams or teams with only Boys or Girls */

.hidden {
  display: none !important;
}

/* Center quick stats when only one gender */
.team-quick-stats.single-gender {
  justify-content: center;
}

.team-quick-stats.single-gender .quick-stats-group {
  max-width: 500px;
}

/* Single column for schedules grid */
.schedules-grid.single-gender {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 0 auto;
}

/* Single column for rosters grid */
.rosters-grid.single-gender {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 0 auto;
}
