/*
Theme Name: Hilliard Bradley Jaguars Baseball WordPress Theme
Theme URI: https://hilliardschools.org
Author: Hilliard Bradley Baseball
Description: Custom WordPress theme for the Hilliard Bradley High School Jaguars Baseball Program
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: hb-jaguars
*/

/* ========================================
   CSS VARIABLES
======================================== */
:root {
  --hb-blue: #0050ba;
  --hb-blue-dark: #003d8f;
  --hb-blue-light: #0066dd;
  --hb-gold: #d4af37;
  --hb-navy: #001f3f;
  --hb-black: #1a1a1a;
  --hb-gray: #666666;
  --hb-gray-dark: #f5f5f5;
  --hb-white: #1a1a1a;
  --hb-bg: #ffffff;
  --hb-card-bg: #f8f9fa;
  --hb-border: rgba(0,0,0,0.1);
}

/* ========================================
   CUSTOM FONTS - Transducer
======================================== */
@font-face {
  font-family: 'Transducer';
  src: url('fonts/TransducerTest-Regular-BF645c3dd843c3b.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Transducer';
  src: url('fonts/TransducerTest-RegularOblique-BF645c3dd87b9e4.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Transducer';
  src: url('fonts/TransducerTest-Medium-BF645c3dd896377.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Transducer';
  src: url('fonts/TransducerTest-MediumOblique-BF645c3dd883e5a.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Transducer';
  src: url('fonts/TransducerTest-Bold-BF645c3dd70a4f5.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Transducer';
  src: url('fonts/TransducerTest-BoldOblique-BF645c3dd7f1208.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Transducer';
  src: url('fonts/TransducerTest-Black-BF645c3dd71b125.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Transducer';
  src: url('fonts/TransducerTest-BlackOblique-BF645c3dd711382.otf') format('opentype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Transducer';
  src: url('fonts/TransducerTest-Hairline-BF645c3dd88a443.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Transducer';
  src: url('fonts/TransducerTest-HairlineOblique-BF645c3dd879af5.otf') format('opentype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

/* ========================================
   RESET & BASE
======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Transducer', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--hb-bg);
  color: var(--hb-white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

.site-main {
  flex: 1;
}

a {
  color: var(--hb-blue);
  text-decoration: none;
  transition: color 0.1s ease;
}

a:hover {
  color: var(--hb-blue-dark);
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: 0.02em;
}

/* ========================================
   LAYOUT
======================================== */
.site-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

/* ========================================
   HEADER & NAVIGATION
======================================== */
.site-header {
  background: linear-gradient(135deg, rgba(0,30,60,0.98) 0%, rgba(0,0,0,0.95) 50%, rgba(0,20,50,0.98) 100%);
  border-bottom: 1px solid rgba(0,80,186,0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.site-header,
.site-header a,
.site-header .site-title-single {
  color: #ffffff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 130px;
  padding: 0 2rem;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 32.5px;
}

.site-logo {
  width: 40px;
  height: 40px;
  background: var(--hb-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 0 20px rgba(0,80,186,0.4);
}

.site-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.site-logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.site-title {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.site-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--hb-blue);
  font-weight: 600;
}

.site-title-single {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  color: var(--hb-white);
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
}

.site-title-single:hover {
  color: var(--hb-blue-light);
}

@media (max-width: 900px) {
  .site-title-single {
    display: none;
  }
}

/* Main Navigation */
.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 0.25rem;
}

.main-navigation a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  border-radius: 0.5rem;
  transition: background 0.1s ease;
  white-space: nowrap;
}

.main-navigation a:hover {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
}

.main-navigation .current-menu-item a {
  color: var(--hb-blue-light);
}

.main-navigation > ul > li > a {
  color: #ffffff;
}

/* Dropdown menus */
.main-navigation .sub-menu,
.main-navigation .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid var(--hb-border);
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  min-width: 180px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  list-style: none;
  z-index: 1000;
}

.main-navigation li {
  position: relative;
}

.main-navigation li:hover > .sub-menu,
.main-navigation li:hover > .dropdown-menu {
  display: block;
}

.main-navigation .sub-menu a,
.main-navigation .dropdown-menu a {
  padding: 0.625rem 1rem;
  border-radius: 0;
  display: block;
  color: var(--hb-black);
  text-transform: none;
}

.main-navigation .sub-menu a:hover,
.main-navigation .dropdown-menu a:hover {
  background: rgba(0,80,186,0.1);
  color: var(--hb-blue);
}

.main-navigation .dropdown-menu li {
  margin: 0;
}

/* Right-side dropdowns open to the left */
.main-navigation .nav-menu > li:nth-last-child(-n+3) > .dropdown-menu {
  left: auto;
  right: 0;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  padding: 0.5rem;
  cursor: pointer;
}

/* Tablet: Show only primary nav items + hamburger (810px - 1240px) */
@media (max-width: 1240px) and (min-width: 811px) {
  .nav-secondary {
    display: none;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .menu-toggle.is-active {
    color: var(--hb-gold);
  }

  /* Reduce nav item padding for tablet */
  .main-navigation a {
    padding: 0.5rem 0.5rem;
    font-size: 0.9375rem;
  }

  /* When mobile menu is open, show all items including secondary */
  .main-navigation.is-open {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--hb-navy);
    z-index: 1000;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
  }

  .main-navigation.is-open .nav-menu {
    flex-direction: column;
    gap: 0;
  }

  .main-navigation.is-open .nav-menu > li {
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .main-navigation.is-open .nav-menu > li:last-child {
    border-bottom: none;
  }

  .main-navigation.is-open .nav-menu a {
    padding: 1rem 0;
    font-size: 1.125rem;
  }

  .main-navigation.is-open .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0 0 0.5rem 1rem;
    min-width: auto;
    display: block;
  }

  .main-navigation.is-open .dropdown-menu a {
    color: rgba(255,255,255,0.7);
    padding: 0.5rem 0;
    font-size: 1rem;
  }

  .main-navigation.is-open .dropdown-menu a:hover {
    color: #ffffff;
    background: transparent;
  }

  /* Nested dropdown in open mobile menu */
  .main-navigation.is-open .nested-dropdown {
    position: static;
    left: auto;
    box-shadow: none;
    background: rgba(0,0,0,0.1);
    border-radius: 0;
    max-height: none;
    padding-left: 1rem;
    display: block;
  }
}

/* ========================================
   HERO SECTION
======================================== */
.hero-section {
  padding: 2.5rem 0 4rem;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero-branding {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero-logo {
  position: relative;
}

.hero-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--hb-blue);
  filter: blur(20px);
  opacity: 0.5;
}

.hero-logo img,
.hero-logo-placeholder {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
  border: 4px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 900;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.1);
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-text .subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hb-gray);
  letter-spacing: 0.05em;
}

.hero-text .teams-list {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.hero-teams {
  display: flex;
  gap: 0.75rem;
}

.team-link {
  padding: 0.75rem 1.25rem;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--hb-white);
  font-weight: 700;
  transition: all 0.15s ease;
}

.team-link:hover {
  border-color: rgba(255,255,255,0.3);
  transform: scale(1.05);
  color: var(--hb-blue-light);
}

/* ========================================
   ANNOUNCEMENT BAR
======================================== */
.announcement-bar {
  background: rgba(0,0,0,0.8);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  font-size: 0.875rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  background: rgba(0,80,186,0.2);
  color: var(--hb-blue-light);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.announcement-text {
  color: rgba(255,255,255,0.8);
}

.announcement-link {
  font-weight: 600;
  color: var(--hb-blue);
}

/* ========================================
   SCOREBOARD BAR
======================================== */
.scoreboard-bar {
  display: flex;
  align-items: stretch;
  background: #f8f9fa;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  height: 142px;
}

.scoreboard-scroll-btn {
  flex-shrink: 0;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f3f5;
  border: none;
  border-right: 1px solid #e5e7eb;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.1s ease;
}

.scoreboard-scroll-btn.scroll-right {
  border-right: none;
  border-left: 1px solid #e5e7eb;
}

.scoreboard-scroll-btn:hover {
  background: #e5e7eb;
  color: var(--hb-blue);
}

.scoreboard-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  flex: 1;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
}

.scoreboard-track::-webkit-scrollbar {
  display: none;
}

.scoreboard-track.active {
  cursor: grabbing;
}

.scoreboard-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-right: 1px solid #e5e7eb;
  text-decoration: none;
  min-width: 180px;
  transition: background 0.1s ease;
}

.scoreboard-game:hover {
  background: #fff;
}

/* Border colors based on home/away/neutral */
.scoreboard-game.game-home {
  border-top: 8px solid var(--hb-blue);
}

.scoreboard-game.game-away {
  border-top: 8px solid var(--hb-gray);
}

.scoreboard-game.game-neutral {
  border-top: 8px solid #d4a017;
}

.scoreboard-top-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
  text-align: center;
}

.scoreboard-date-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}

.scoreboard-events {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.scoreboard-game-type {
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  background: #f3f4f6;
  padding: 0.125rem 0.375rem;
  border-radius: 2px;
  text-align: center;
  display: inline-block;
}

.scoreboard-game-type-scrimmage {
  background: #e5e7eb;
  color: #4b5563;
}

.scoreboard-game-type-conference {
  background: var(--hb-blue);
  color: #ffffff;
}

.scoreboard-game-type-non-conference {
  background: #1f2937;
  color: #ffffff;
}

.scoreboard-game-type-postseason {
  background: var(--hb-gold);
  color: var(--hb-navy);
}

.scoreboard-game-type-spring-break {
  background: #22c55e;
  color: #ffffff;
}

.scoreboard-event {
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #92400e;
  background: #fef3c7;
  padding: 0.125rem 0.375rem;
  border-radius: 2px;
}

.scoreboard-status {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  padding: 0.125rem 0.375rem;
  border-radius: 3px;
  display: inline-block;
}

.result-win .scoreboard-status {
  background: #16a34a;
  color: #ffffff;
}

.result-loss .scoreboard-status {
  background: #dc2626;
  color: #ffffff;
}

.scoreboard-date {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
  text-align: center;
}

.scoreboard-time {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 500;
}

.scoreboard-matchup {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.scoreboard-teams {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: 1;
}

.scoreboard-team {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
}

.scoreboard-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 2px;
}

.scoreboard-name {
  flex: 1;
  color: var(--hb-black);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}

.scoreboard-score {
  font-weight: 700;
  color: #6b7280;
  min-width: 18px;
  text-align: right;
}

/* Winner styling - bold and prominent */
.scoreboard-team.team-winner .scoreboard-name,
.scoreboard-team.team-winner .scoreboard-score {
  font-weight: 700;
  color: var(--hb-black);
}

/* Loser styling - greyed out */
.scoreboard-team.team-loser .scoreboard-name,
.scoreboard-team.team-loser .scoreboard-score {
  font-weight: 400;
  color: #9ca3af;
}

.scoreboard-team.team-loser .scoreboard-logo {
  opacity: 0.5;
}

.scoreboard-final {
  font-size: 0.625rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  flex-shrink: 0;
  margin-left: 0.25rem;
}

.scoreboard-vs {
  font-size: 0.875rem;
  color: #374151;
  font-weight: 700;
  padding: 0 0.375rem;
}

.upcoming .scoreboard-matchup {
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.upcoming .scoreboard-team {
  flex-direction: column;
  gap: 0.125rem;
}

.upcoming .scoreboard-name {
  font-size: 0.75rem;
  max-width: 70px;
  text-align: center;
}

.upcoming .scoreboard-logo {
  width: 28px;
  height: 28px;
}

.scoreboard-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
}

.scoreboard-full-schedule {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  background: linear-gradient(135deg, var(--hb-blue), var(--hb-blue-dark));
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.1s ease;
}

.scoreboard-full-schedule:hover {
  background: linear-gradient(135deg, var(--hb-blue-dark), var(--hb-navy));
  color: #fff;
}

@media (max-width: 768px) {
  .scoreboard-scroll-btn {
    width: 32px;
  }

  .scoreboard-game {
    padding: 0.5rem 1rem;
    min-width: 150px;
  }

  .scoreboard-full-schedule {
    padding: 0 1rem;
    font-size: 0.75rem;
  }
}

/* ========================================
   HOMEPAGE LAYOUT
======================================== */
.home-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
  padding: 2rem 0;
}

.home-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.home-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* News Carousel */
.news-carousel-wrapper {
  padding-top: 1.5rem;
}

.news-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.news-carousel-header h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
}

.news-carousel-header h2 svg {
  color: var(--hb-blue);
}

.news-carousel {
  position: relative;
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--hb-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.news-carousel-track {
  position: relative;
  min-height: 320px;
}

.news-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.news-carousel-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.news-slide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}

.news-slide-image {
  background-size: cover;
  background-position: center;
  min-height: 320px;
}

.news-slide-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-slide-info.no-image {
  grid-column: 1 / -1;
  text-align: center;
  align-items: center;
}

.news-slide-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.news-slide-info.no-image .news-slide-badges {
  justify-content: center;
}

.news-slide-date {
  font-size: 0.875rem;
  color: var(--hb-gray);
  margin-bottom: 0.5rem;
}

.news-slide-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.news-slide-title a {
  color: var(--hb-text);
  text-decoration: none;
  transition: color 0.1s ease;
}

.news-slide-title a:hover {
  color: var(--hb-blue);
}

.news-slide-excerpt {
  color: var(--hb-gray);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.news-slide-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--hb-blue);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.1s ease;
}

.news-slide-link:hover {
  gap: 0.75rem;
}

/* Carousel Controls */
.news-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--hb-card-bg);
  border-top: 1px solid var(--hb-border);
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--hb-border);
  background: #ffffff;
  color: var(--hb-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.1s ease;
}

.carousel-btn:hover {
  border-color: var(--hb-blue);
  color: var(--hb-blue);
  background: rgba(0,80,186,0.05);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--hb-border);
  cursor: pointer;
  transition: all 0.1s ease;
}

.carousel-dot:hover {
  background: var(--hb-gray);
}

.carousel-dot.active {
  background: var(--hb-blue);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .news-slide-content {
    grid-template-columns: 1fr;
  }

  .news-slide-image {
    min-height: 200px;
  }

  .news-slide-info {
    padding: 1.5rem;
  }

  .news-slide-title {
    font-size: 1.25rem;
  }

  .news-carousel-track {
    min-height: auto;
  }
}

/* Homepage News Grid (legacy) */
.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.home-news-item {
  display: flex;
  flex-direction: column;
  background: var(--hb-card-bg);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: background 0.1s ease, transform 0.1s ease;
}

.home-news-item:hover {
  background: var(--hb-border);
  transform: translateY(-2px);
}

.news-item-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-item-image .news-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.15s ease;
}

.home-news-item:hover .news-thumbnail {
  transform: scale(1.05);
}

.news-item-content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* For items without images, add padding to the whole item */
.home-news-item:not(.has-image) {
  padding: 1rem;
}

.home-news-item:not(.has-image) .news-item-content {
  padding: 0;
}

.news-item-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.5rem;
}

.news-item-date {
  font-size: 0.75rem;
  color: var(--hb-gray);
  margin-bottom: 0.25rem;
}

.news-item-title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.news-item-title a {
  color: var(--hb-white);
  text-decoration: none;
}

.news-item-title a:hover {
  color: var(--hb-blue);
}

.news-item-excerpt {
  font-size: 0.875rem;
  color: var(--hb-gray);
  margin: 0 0 0.75rem;
  line-height: 1.5;
  flex: 1;
}

.news-item-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hb-blue);
  text-decoration: none;
}

.news-item-link:hover {
  color: var(--hb-blue-dark);
}

/* Pinned badge */
.badge-pinned {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #1a1a1a;
  font-weight: 700;
}

@media (max-width: 900px) {
  .home-grid {
    grid-template-columns: 1fr;
  }

  .home-news-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   CARDS & CONTENT BOXES
======================================== */
.card {
  background: #ffffff;
  border: 1px solid var(--hb-border);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.card-header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--hb-border);
  background: linear-gradient(to right, rgba(0,80,186,0.05), transparent);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header.blue {
  background: linear-gradient(135deg, var(--hb-blue), var(--hb-blue-dark));
  color: #ffffff;
}

.card-header.gold {
  background: linear-gradient(135deg, var(--hb-gold), #c9a227);
  color: var(--hb-navy);
}

.card-header h2 {
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.card-header-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hb-blue);
  text-decoration: none;
  transition: color 0.1s ease;
}

.card-header-link:hover {
  color: var(--hb-blue-dark);
}

.card-body {
  padding: 1.25rem;
}

.card-footer {
  padding: 1rem;
  border-top: 1px solid var(--hb-border);
  text-align: center;
  background: linear-gradient(to left, rgba(0,80,186,0.05), transparent);
}

.team-filter {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--hb-white);
  background: #ffffff;
  border: 1px solid var(--hb-border);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: border-color 0.1s ease, box-shadow 0.1s ease;
}

.team-filter:hover {
  border-color: var(--hb-blue);
}

.team-filter:focus {
  outline: none;
  border-color: var(--hb-blue);
  box-shadow: 0 0 0 3px rgba(0,80,186,0.1);
}

/* Season Selector */
.season-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.season-selector label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hb-gray);
}

.season-select {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--hb-white);
  background: #ffffff;
  border: 1px solid var(--hb-border);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: border-color 0.1s ease, box-shadow 0.1s ease;
}

.season-select:hover {
  border-color: var(--hb-blue);
}

.season-select:focus {
  outline: none;
  border-color: var(--hb-blue);
  box-shadow: 0 0 0 3px rgba(0,80,186,0.1);
}

.card-header-filters {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ========================================
   SCHEDULE STYLES
======================================== */
.schedule-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--hb-border);
  transition: background 0.1s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.schedule-item:hover {
  background: rgba(0,80,186,0.05);
}

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

.schedule-date {
  text-align: center;
  min-width: 4rem;
  padding: 0.5rem 0.75rem;
  background: rgba(0,80,186,0.1);
  border-radius: 0.75rem;
}

.schedule-date .day {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--hb-gray);
}

.schedule-date .date {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--hb-blue);
}

.schedule-date .month {
  font-size: 0.75rem;
  color: var(--hb-gray);
}

.schedule-info {
  flex: 1;
}

.schedule-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.badge {
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
}

.badge-team {
  background: rgba(176,179,178,0.2);
  color: var(--hb-gray);
}

.badge-home {
  background: var(--hb-blue);
  color: #ffffff;
}

.badge-away {
  background: var(--hb-gray);
  color: #ffffff;
}

.badge-neutral {
  background: #d4a017;
  color: #ffffff;
}

.badge-event {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  border-radius: 2px;
}

.badge-game-type {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  border-radius: 2px;
}

/* Game Type Colors */
.badge-game-type-scrimmage {
  background: linear-gradient(135deg, #6b7280, #4b5563);
}

.badge-game-type-conference {
  background: linear-gradient(135deg, var(--hb-blue), var(--hb-blue-dark));
}

.badge-game-type-non-conference {
  background: linear-gradient(135deg, #374151, #1f2937);
}

.badge-game-type-postseason {
  background: linear-gradient(135deg, var(--hb-gold), #c9a227);
  color: var(--hb-navy);
}

.badge-game-type-spring-break {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
}

/* Streaming Indicator */
.streaming-indicator {
  margin-left: 0.5rem;
  font-size: 1rem;
  vertical-align: middle;
}

.streaming-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #dc2626, #dc2626);
  color: #ffffff;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.streaming-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.streaming-link svg {
  flex-shrink: 0;
}

.schedule-opponent {
  font-size: 1.125rem;
  font-weight: 600;
}

.schedule-opponent-logo {
  flex-shrink: 0;
}

.schedule-opponent-logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 0.5rem;
  background: #f5f5f5;
  padding: 4px;
}

.opponent-logo-small {
  width: 42px;
  height: 42px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 0.5rem;
  border-radius: 4px;
  background: #f5f5f5;
}

.opponent-logo-large,
.team-logo-large {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.1);
  padding: 8px;
}

.schedule-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--hb-gray);
}

.schedule-location {
  cursor: pointer;
  transition: color 0.1s ease;
}

.schedule-location:hover {
  color: var(--hb-blue);
  text-decoration: underline;
}

/* ========================================
   NEWS STYLES
======================================== */
.news-item {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.news-item.featured {
  border-left: 3px solid var(--hb-blue);
  background: rgba(0,80,186,0.05);
}

.news-date {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}

.news-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.news-title a {
  color: var(--hb-white);
}

.news-title a:hover {
  color: var(--hb-blue-light);
}

.news-excerpt {
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
}

/* ========================================
   TEAMS LIST
======================================== */
.team-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.1s ease;
}

.team-list-item:hover {
  background: rgba(255,255,255,0.03);
}

.team-list-item:last-child {
  border-bottom: none;
}

.team-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(0,80,186,0.2);
  color: var(--hb-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 900;
  flex-shrink: 0;
}

.team-list-logo {
  width: 3rem;
  height: auto;
  max-height: 3rem;
  object-fit: contain;
  flex-shrink: 0;
}

.team-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-name {
  font-weight: 600;
}

.team-meta {
  font-size: 0.875rem;
  color: #9ca3af;
}

/* ========================================
   QUICK LINKS GRID
======================================== */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  transition: all 0.1s ease;
  color: var(--hb-white);
}

.quick-link:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: var(--hb-blue);
}

.quick-link-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(0,80,186,0.15);
  color: var(--hb-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quick-link-label {
  font-size: 0.875rem;
  font-weight: 500;
}

/* ========================================
   SPONSORS GRID
======================================== */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: rgba(255,255,255,0.05);
  border-radius: 0.5rem;
  border: 1px solid transparent;
  transition: all 0.1s ease;
  min-height: 60px;
}

a.sponsor-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--hb-blue);
  transform: translateY(-2px);
}

.sponsor-logo {
  max-width: 100%;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sponsor-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hb-white);
  text-align: center;
}

/* Card Header Link */
.card-header-link {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-header-link:hover {
  color: inherit;
  opacity: 0.85;
}

/* Home Page Sponsor Tiers */
.sponsors-card-body {
  padding: 0 !important;
}

.home-sponsor-tier {
  padding: 0.75rem 1rem 1rem;
}

.home-sponsor-tier:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.home-tier-divider {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.home-tier-divider span {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  white-space: nowrap;
}

.home-tier-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

/* Tier-specific colors */
.home-tier-platinum .home-tier-divider span {
  background: linear-gradient(135deg, #e8e8e8, #ffffff);
  color: #333;
}

.home-tier-gold .home-tier-divider span {
  background: linear-gradient(135deg, #c5a028, #dbb530);
  color: #1a1a1a;
}

.home-tier-silver .home-tier-divider span {
  background: linear-gradient(135deg, #a8a8a8, #c0c0c0);
  color: #1a1a1a;
}

.home-tier-bronze .home-tier-divider span {
  background: linear-gradient(135deg, #cd7f32, #d4945a);
  color: #1a1a1a;
}

.home-tier-default .home-tier-divider span {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
}

/* ========================================
   TABS
======================================== */
.tabs-nav {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  background: rgba(255,255,255,0.05);
  border-radius: 0.75rem;
  width: fit-content;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

.tab-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: none;
  border: none;
  border-radius: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.1s ease;
}

.tab-button:hover {
  color: rgba(255,255,255,0.8);
}

.tab-button.active {
  background: rgba(255,255,255,0.1);
  color: var(--hb-white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* ========================================
   SPONSOR MARQUEE BAR
======================================== */
.sponsor-marquee-bar {
  background: #f8f9fa;
  border-top: 1px solid var(--hb-border);
  padding: 1rem 0;
  overflow: hidden;
}

.sponsor-marquee-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem 0.75rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hb-gray);
}

.sponsor-marquee-header span {
  font-weight: 700;
  font-size: 1rem;
  color: var(--hb-text);
}

.sponsor-marquee-header a {
  color: var(--hb-blue);
  text-decoration: none;
  font-weight: 500;
}

.sponsor-marquee-header a:hover {
  text-decoration: underline;
}

.sponsor-marquee-track {
  overflow: hidden;
  position: relative;
}

.sponsor-marquee-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: sponsor-scroll 30s linear infinite;
  width: max-content;
}

.sponsor-marquee-bar:hover .sponsor-marquee-content {
  animation-play-state: paused;
}

.sponsor-marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.sponsor-marquee-item:hover {
  opacity: 1;
}

.sponsor-marquee-item img {
  max-height: 60px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.2s ease;
}

.sponsor-marquee-item:hover img {
  filter: grayscale(0%);
}

/* Marquee Tier Borders */
.sponsor-marquee-item[class*="marquee-tier-"] {
  padding: 12px 16px;
  border-radius: 8px;
  opacity: 0.85;
  height: auto;
}

.sponsor-marquee-item[class*="marquee-tier-"] img {
  filter: grayscale(0%);
  max-height: 45px;
}

/* Platinum - Enhanced shimmer effect */
.sponsor-marquee-item.marquee-tier-platinum {
  background: linear-gradient(135deg, #9a9a9a 0%, #ffffff 20%, #b8b8b8 40%, #ffffff 60%, #9a9a9a 80%, #ffffff 100%);
  background-size: 300% 300%;
  animation: platinum-shimmer 10s ease-in-out infinite;
  border: 2px solid #a0a0a0;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), inset 0 0 12px rgba(255, 255, 255, 0.5);
  position: relative;
}

.sponsor-marquee-item.marquee-tier-platinum::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.95) 45%, rgba(255,255,255,0.95) 55%, transparent 80%);
  background-size: 300% 100%;
  animation: platinum-shine 8s ease-in-out infinite;
  border-radius: 8px;
  pointer-events: none;
  z-index: 1;
}

.sponsor-marquee-item.marquee-tier-platinum img {
  position: relative;
  z-index: 2;
}

@keyframes platinum-shimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes platinum-shine {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Gold */
.sponsor-marquee-item.marquee-tier-gold {
  background: linear-gradient(135deg, #fef9e7 0%, #fff8dc 100%);
  border: 2px solid #c5a028;
  box-shadow: 0 0 8px rgba(197, 160, 40, 0.3);
}

/* Silver */
.sponsor-marquee-item.marquee-tier-silver {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid #a8a8a8;
  box-shadow: 0 0 6px rgba(168, 168, 168, 0.3);
}

/* Bronze */
.sponsor-marquee-item.marquee-tier-bronze {
  background: linear-gradient(135deg, #fdf5ed 0%, #f5ebe0 100%);
  border: 2px solid #cd7f32;
  box-shadow: 0 0 6px rgba(205, 127, 50, 0.3);
}

@keyframes sponsor-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sponsor-marquee-content {
    animation: none;
  }
}

/* ========================================
   SPONSORS PAGE
======================================== */
.sponsors-page-wrapper {
  background: #f8f9fa;
}

.sponsors-page-header {
  background: linear-gradient(135deg, var(--hb-blue) 0%, #001a4d 100%);
  padding: 2rem 0;
  text-align: center;
  color: #ffffff;
}

.sponsors-page-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin: 0 0 0.35rem;
  color: #ffffff;
}

.sponsors-page-header p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}

.sponsors-page {
  padding: 1.5rem 0 2rem;
}

/* Tier Section */
.sponsor-tier-section {
  margin-bottom: 1.5rem;
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.sponsor-tier-section:last-child {
  margin-bottom: 0;
}

.tier-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--hb-border);
}

.tier-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tier-title-wrap {
  flex: 1;
}

.tier-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.tier-subtitle {
  font-size: 0.9rem;
  color: var(--hb-gray);
  margin: 0.25rem 0 0;
}

/* Platinum Tier */
.tier-platinum .tier-header {
  background: linear-gradient(135deg, #9a9a9a 0%, #ffffff 20%, #b8b8b8 40%, #ffffff 60%, #9a9a9a 80%, #ffffff 100%);
  background-size: 300% 300%;
  animation: platinum-shimmer 10s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
.tier-platinum .tier-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.95) 45%, rgba(255,255,255,0.95) 55%, transparent 80%);
  background-size: 300% 100%;
  animation: platinum-shine 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.tier-platinum .tier-badge {
  background: linear-gradient(135deg, #e5e4e2 0%, #c0c0c0 100%);
  color: #4a4a4a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  position: relative;
  z-index: 2;
}
.tier-platinum .tier-title-wrap {
  position: relative;
  z-index: 2;
}
.tier-platinum .tier-title {
  color: #2a2a2a;
}

/* Gold Tier */
.tier-gold .tier-header {
  background: linear-gradient(135deg, #fff9e6 0%, #fff5d6 100%);
}
.tier-gold .tier-badge {
  background: linear-gradient(135deg, #d4af37 0%, #c5a028 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(212,175,55,0.4);
}
.tier-gold .tier-title {
  color: #8b7021;
}

/* Silver Tier */
.tier-silver .tier-header {
  background: linear-gradient(135deg, #f5f5f5 0%, #ebebeb 100%);
}
.tier-silver .tier-badge {
  background: linear-gradient(135deg, #c0c0c0 0%, #a8a9ad 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(168,169,173,0.4);
}
.tier-silver .tier-title {
  color: #5a5a5a;
}

/* Bronze Tier */
.tier-bronze .tier-header {
  background: linear-gradient(135deg, #fdf5ed 0%, #f9ebe0 100%);
}
.tier-bronze .tier-badge {
  background: linear-gradient(135deg, #cd7f32 0%, #b8712d 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(205,127,50,0.4);
}
.tier-bronze .tier-title {
  color: #8b5a2b;
}

/* Diamond Tier */
.tier-diamond .tier-header {
  background: linear-gradient(135deg, #e8f4fc 0%, #d4eaf8 100%);
}
.tier-diamond .tier-badge {
  background: linear-gradient(135deg, #b9f2ff 0%, #89cff0 100%);
  color: #1a5f7a;
  box-shadow: 0 2px 8px rgba(137,207,240,0.5);
}
.tier-diamond .tier-title {
  color: #1a5f7a;
}

/* Supporter/Other Tier */
.tier-supporter .tier-header {
  background: linear-gradient(135deg, #e8f4ff 0%, #dbeeff 100%);
}
.tier-supporter .tier-badge {
  background: linear-gradient(135deg, var(--hb-blue) 0%, var(--hb-blue-dark) 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,80,186,0.3);
}
.tier-supporter .tier-title {
  color: var(--hb-blue);
}

/* Sponsors List - Full Width Cards */
.sponsors-list {
  padding: 0;
}

.sponsor-card-full {
  padding: 2rem 1.5rem;
  border-bottom: 1px solid var(--hb-border);
  transition: background 0.2s ease;
}

.sponsor-card-full:last-child {
  border-bottom: none;
}

.sponsor-card-full:hover {
  background: #fafbfc;
}

.sponsor-header-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.sponsor-card-full .sponsor-logo {
  width: 220px;
  height: 120px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-card-full .sponsor-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sponsor-card-full .sponsor-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.sponsor-content {
  width: 100%;
}

.sponsor-content .sponsor-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: #1a1a1a;
}

.sponsor-content .sponsor-name a {
  color: var(--hb-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.sponsor-content .sponsor-name a:hover {
  text-decoration: underline;
}

.sponsor-content .sponsor-name .external-link-icon {
  opacity: 0.5;
  flex-shrink: 0;
}

.sponsor-body {
  width: 100%;
}

.sponsor-body .sponsor-description {
  font-size: 1rem;
  color: #444;
  margin: 0 0 1.25rem;
  line-height: 1.7;
}

.sponsor-website {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--hb-blue);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--hb-blue);
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.sponsor-website:hover {
  background: var(--hb-blue);
  color: #ffffff;
  text-decoration: none;
}

/* Bronze Tier Tile Layout */
.sponsors-grid-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem;
}

.sponsor-tile {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s ease;
  border: 1px solid var(--hb-border);
}

.sponsor-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.sponsor-tile-logo {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.sponsor-tile-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sponsor-tile-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.sponsor-tile-name {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: #1a1a1a;
}

.sponsor-tile-name a {
  color: var(--hb-blue);
  text-decoration: none;
}

.sponsor-tile-name a:hover {
  text-decoration: underline;
}

.no-sponsors {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--hb-gray);
  background: #ffffff;
  border-radius: 1rem;
}

.no-sponsors svg {
  margin-bottom: 1rem;
  opacity: 0.4;
}

.no-sponsors p {
  font-size: 1.1rem;
  margin: 0;
}

/* Sponsor CTA Section */
.sponsor-cta-wrapper {
  background: #f8f9fa;
  padding: 0 0 2rem;
}

.sponsor-cta {
  background: linear-gradient(135deg, var(--hb-blue) 0%, var(--hb-blue-dark) 100%);
  border-radius: 1rem;
  padding: 2rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sponsor-cta-content {
  position: relative;
  z-index: 1;
}

.sponsor-cta h2 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 1rem;
  color: #ffffff;
}

.sponsor-cta p {
  font-size: 1.1rem;
  margin: 0 0 2rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #c5a028 100%);
  color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(212,175,55,0.4);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212,175,55,0.5);
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
  color: #ffffff;
}

@media (max-width: 768px) {
  .sponsors-page-header h1 {
    font-size: 1.75rem;
  }

  .sponsors-page-header {
    padding: 1.5rem 0;
  }

  .sponsor-cta {
    padding: 1.5rem;
  }

  .sponsor-cta h2 {
    font-size: 1.35rem;
  }

  .sponsor-card-full {
    padding: 1.5rem 1rem;
  }

  .sponsor-header-row {
    flex-direction: column;
    text-align: center;
  }

  .sponsor-card-full .sponsor-logo {
    width: 220px;
    height: 120px;
    margin: 0 auto;
  }

  .sponsor-content .sponsor-name {
    font-size: 1.25rem;
    margin-top: 0.75rem;
  }

  .sponsor-body {
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .sponsors-grid-tiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .sponsor-tile {
    padding: 1rem;
  }

  .sponsor-tile-logo {
    height: 70px;
  }

  .sponsor-tile-name {
    font-size: 0.9rem;
  }
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  background: linear-gradient(180deg, rgba(0,20,50,0.98) 0%, rgba(0,0,0,0.98) 100%);
  border-top: 1px solid rgba(0,80,186,0.3);
  padding: 3rem 0 2rem;
  color: #ffffff;
}

/* Add margin to footer only when no sponsor bar precedes it */
.site-main + .site-footer {
  margin-top: 3rem;
}

.site-footer a {
  color: rgba(255,255,255,0.8);
  transition: color 0.1s ease;
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer h4 {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-subtitle {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
}

.footer-tagline {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(255,255,255,0.8);
  transition: all 0.1s ease;
}

.footer-social a:hover {
  background: var(--hb-blue);
  color: #ffffff;
}

.footer-section h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-section p {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--hb-blue), var(--hb-blue-dark));
  color: #ffffff !important;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.1s ease;
}

.footer-contact-btn:hover {
  background: linear-gradient(135deg, var(--hb-blue-dark), var(--hb-navy));
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
}

.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.8);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand-section {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand-section {
    grid-column: span 1;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Contact Modal */
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.15s ease;
}

.contact-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.contact-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}

.contact-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 2rem;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.15s ease;
}

.contact-modal.is-open .contact-modal-content {
  transform: translateY(0);
}

.contact-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--hb-gray);
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.1s ease;
}

.contact-modal-close:hover {
  color: var(--hb-navy);
}

.contact-modal h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hb-navy);
  margin-bottom: 0.5rem;
}

.contact-modal > .contact-modal-content > p {
  color: var(--hb-gray);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.contact-form .form-group {
  margin-bottom: 1rem;
}

.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hb-navy);
  margin-bottom: 0.375rem;
}

.contact-form label .required {
  color: #dc3545;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--hb-border);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.1s ease, box-shadow 0.1s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--hb-blue);
  box-shadow: 0 0 0 3px rgba(0,80,186,0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit-btn {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--hb-blue), var(--hb-blue-dark));
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.1s ease;
}

.contact-submit-btn:hover {
  background: linear-gradient(135deg, var(--hb-blue-dark), var(--hb-navy));
}

.contact-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  display: none;
}

.contact-form-message.success {
  display: block;
  background: rgba(40,167,69,0.1);
  color: #28a745;
  border: 1px solid rgba(40,167,69,0.2);
}

.contact-form-message.error {
  display: block;
  background: rgba(220,53,69,0.1);
  color: #dc3545;
  border: 1px solid rgba(220,53,69,0.2);
}

/* ========================================
   RESPONSIVE
======================================== */

/* ========================================
   TEAM PAGE STYLES
======================================== */
.team-header {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  background: linear-gradient(180deg, rgba(0,80,186,0.08) 0%, transparent 100%);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  border-bottom: 1px solid var(--hb-border);
}

.team-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.team-description {
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}

.team-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.team-title-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.team-header-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.team-title-info {
  text-align: left;
}

.team-title-row .team-title {
  margin-bottom: 0;
}

.team-subtitle-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.gamechanger-link {
  display: inline-flex;
  align-items: center;
  transition: opacity 0.15s ease;
}

.gamechanger-link:hover {
  opacity: 0.8;
}

.gamechanger-logo {
  height: 16px;
  width: auto;
}

.team-record {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.125rem;
}

.record-main {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.record-main .record-label {
  font-size: 1.125rem;
  color: var(--hb-gray);
  font-weight: 600;
}

.record-main .record-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--hb-white);
  letter-spacing: 0.025em;
}

.record-scrimmage {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.record-scrimmage .record-label {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 400;
}

.record-scrimmage .record-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: #9ca3af;
}

/* Team Tabs */
.team-tabs-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  gap: 1rem;
}

.team-tabs {
  display: flex;
  gap: 0.5rem;
}

.team-tab {
  padding: 0.75rem 2rem;
  background: #ffffff;
  border: 1px solid var(--hb-border);
  border-radius: 0.5rem;
  color: var(--hb-gray);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.1s ease;
}

.team-tab:hover {
  background: rgba(0,80,186,0.05);
  color: var(--hb-blue);
}

.team-tab.active {
  background: var(--hb-blue);
  border-color: var(--hb-blue);
  color: #ffffff;
}

.team-tab-content {
  display: none;
  padding: 2rem 0;
}

.team-tab-content.active {
  display: block;
}

/* Schedule Table */
.schedule-table-wrapper {
  background: #ffffff;
  border: 1px solid var(--hb-border);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

.schedule-table thead {
  background: linear-gradient(135deg, var(--hb-blue), var(--hb-blue-dark));
}

.schedule-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.schedule-table tbody tr {
  border-bottom: 1px solid var(--hb-border);
  transition: background 0.1s ease;
}

.schedule-table tbody tr:hover {
  background: rgba(0,80,186,0.05);
}

.schedule-table tbody tr:last-child {
  border-bottom: none;
}

.schedule-table td {
  padding: 1rem;
  font-size: 0.9375rem;
}

.schedule-table .col-date {
  width: 100px;
}

.schedule-table .date-day {
  display: block;
  font-size: 0.75rem;
  color: var(--hb-gray);
}

.schedule-table .date-full {
  font-weight: 600;
}

.schedule-table .opponent-prefix {
  color: var(--hb-gray);
  margin-right: 0.25rem;
}

.schedule-table .col-opponent {
  font-weight: 600;
}

.game-link {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.1s ease;
}

.game-link:hover {
  color: var(--hb-blue);
}

.schedule-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.schedule-badges .badge {
  border-radius: 2px;
}

.schedule-opponent {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.schedule-table .game-past {
  opacity: 0.7;
}

.location-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--hb-gray);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.1s ease;
}

.location-link:hover {
  color: var(--hb-blue);
}

.location-link svg {
  flex-shrink: 0;
}

.schedule-table .col-tv {
  width: 40px;
  text-align: center;
  padding: 0.75rem 0.5rem;
}

.schedule-table .col-more {
  width: 40px;
  text-align: center;
  padding: 0.75rem 0.5rem;
}

.tv-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hb-blue);
  transition: color 0.1s ease, transform 0.1s ease;
}

.tv-link:hover {
  color: var(--hb-blue-dark);
  transform: scale(1.1);
}

.more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hb-gray);
  transition: color 0.1s ease;
}

.more-link:hover {
  color: var(--hb-blue);
}

.badge-sm {
  font-size: 0.625rem;
  padding: 0.125rem 0.375rem;
  vertical-align: middle;
}

.result-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-weight: 700;
  font-size: 0.875rem;
}

.result-badge.result-win {
  background: #16a34a;
  color: #ffffff;
}

.result-badge.result-loss {
  background: #dc2626;
  color: #ffffff;
}

.result-pending {
  color: #cccccc;
}

.result-upcoming {
  color: var(--hb-gray);
  font-style: italic;
}

/* ========================================
   TEAM SCHEDULE HEADER & TOGGLE
======================================== */
.schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}

.schedule-view-toggle {
  display: flex;
  gap: 0.25rem;
  background: var(--hb-card-bg);
  padding: 0.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--hb-border);
}

.schedule-view-toggle .view-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 0.375rem;
  color: var(--hb-gray);
  transition: all 0.15s ease;
}

.schedule-view-toggle .view-toggle-btn:hover {
  color: var(--hb-blue);
  background: rgba(0, 80, 186, 0.05);
}

.schedule-view-toggle .view-toggle-btn.active {
  background: var(--hb-blue);
  color: #ffffff;
}

.subscribe-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--hb-card-bg);
  border: 1px solid var(--hb-border);
  border-radius: 0.5rem;
  color: var(--hb-text);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.subscribe-btn:hover {
  background: var(--hb-blue);
  border-color: var(--hb-blue);
  color: #ffffff;
}

.subscribe-btn svg {
  flex-shrink: 0;
}

/* ========================================
   TEAM SCHEDULE CALENDAR VIEW
======================================== */
.schedule-calendar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.calendar-month-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  min-width: 180px;
  text-align: center;
}

.schedule-calendar-header .calendar-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  background: var(--hb-card-bg);
  border: 1px solid var(--hb-border);
  color: var(--hb-text);
  transition: all 0.15s ease;
}

.schedule-calendar-header .calendar-nav-btn:hover {
  background: var(--hb-blue);
  border-color: var(--hb-blue);
  color: #ffffff;
}

.schedule-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--hb-border);
  border: 1px solid var(--hb-border);
  border-radius: 0.5rem;
  overflow: hidden;
}

.schedule-calendar-grid .calendar-day-header {
  background: var(--hb-blue);
  color: #ffffff;
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.schedule-calendar-grid .calendar-day {
  background: #ffffff;
  min-height: 90px;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
}

.schedule-calendar-grid .calendar-day-empty {
  background: var(--hb-card-bg);
}

.schedule-calendar-grid .calendar-day-today {
  background: rgba(0, 80, 186, 0.05);
}

.schedule-calendar-grid .calendar-day-today .calendar-day-number {
  background: var(--hb-blue);
  color: #ffffff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.schedule-calendar-grid .calendar-day-number {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hb-text);
  margin-bottom: 0.25rem;
}

.schedule-calendar-grid .calendar-day-items {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.schedule-calendar-grid .calendar-item-game {
  display: flex;
  flex-direction: column;
  padding: 0.25rem 0.5rem;
  background: var(--hb-blue);
  color: #ffffff;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  text-decoration: none;
  transition: transform 0.1s ease;
}

.schedule-calendar-grid .calendar-item-game:hover {
  transform: scale(1.02);
}

.schedule-calendar-grid .calendar-game-opponent {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.schedule-calendar-grid .calendar-item-time {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.95);
}

/* ========================================
   SUBSCRIBE MODAL
======================================== */
.subscribe-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.subscribe-modal.active {
  display: flex;
}

.subscribe-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.subscribe-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.subscribe-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--hb-gray);
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.15s ease;
}

.subscribe-modal-close:hover {
  color: var(--hb-text);
}

.subscribe-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.subscribe-modal-header svg {
  color: var(--hb-blue);
}

.subscribe-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.subscribe-modal-desc {
  color: var(--hb-gray);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.add-to-calendar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: var(--hb-blue);
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
  margin-bottom: 1.5rem;
}

.add-to-calendar-btn:hover {
  background: var(--hb-blue-dark);
  color: #ffffff;
}

.subscribe-manual-section {
  border-top: 1px solid var(--hb-border);
  padding-top: 1rem;
  margin-bottom: 1rem;
}

.subscribe-manual-label {
  font-size: 0.85rem;
  color: var(--hb-gray);
  margin-bottom: 0.75rem;
}

.subscribe-url-field {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.subscribe-url-field input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--hb-border);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: var(--hb-text);
  background: var(--hb-card-bg);
}

.copy-url-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  background: var(--hb-blue);
  border: none;
  border-radius: 0.5rem;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s ease;
}

.copy-url-btn:hover {
  background: var(--hb-blue-dark);
}

.copy-url-btn.copied {
  background: #16a34a;
}

.subscribe-instructions h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--hb-text);
}

.subscribe-platform {
  margin-bottom: 1rem;
}

.subscribe-platform strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.subscribe-platform ol {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.8rem;
  color: var(--hb-gray);
}

.subscribe-platform ol li {
  margin-bottom: 0.25rem;
}

/* Mobile styles for schedule calendar */
@media (max-width: 768px) {
  .schedule-header {
    flex-wrap: wrap;
  }

  .schedule-calendar-grid .calendar-day {
    min-height: 70px;
    padding: 0.25rem;
  }

  .schedule-calendar-grid .calendar-day-header {
    padding: 0.5rem 0.25rem;
    font-size: 0.65rem;
  }

  .schedule-calendar-grid .calendar-item-game {
    padding: 0.125rem 0.25rem;
    font-size: 0.6rem;
  }

  .schedule-calendar-grid .calendar-game-opponent {
    max-width: 100%;
  }

  .schedule-calendar-grid .calendar-item-time {
    display: none;
  }

  .subscribe-modal-content {
    padding: 1.5rem;
  }
}

/* ========================================
   SINGLE GAME PAGE
======================================== */
.game-detail {
  padding: 2rem 0;
}

.game-back-link {
  margin-bottom: 1.5rem;
}

.game-back-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--hb-blue);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.1s ease;
}

.game-back-link a:hover {
  opacity: 0.8;
}

.game-header {
  background: linear-gradient(135deg, var(--hb-blue), var(--hb-blue-dark));
  border-radius: 0.75rem;
  padding: 2rem;
  margin-bottom: 2rem;
  color: #ffffff;
  text-align: center;
}

.game-event-banner {
  margin-bottom: 1rem;
}

.game-event-label {
  display: inline-block;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0.25rem;
}

.game-date-large {
  margin-bottom: 1.5rem;
}

.game-day {
  display: block;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.game-date-full {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
}

.game-matchup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.game-team {
  flex: 1;
  max-width: 200px;
}

.game-team .team-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.game-team .team-name-large {
  font-size: 1.5rem;
  font-weight: 800;
}

.game-team .team-score {
  font-size: 3rem;
  font-weight: 900;
  margin-top: 0.5rem;
}

.game-vs {
  padding: 0 1rem;
}

.game-vs-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  text-transform: lowercase;
}

.game-result-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 800;
  font-size: 1rem;
}

.game-result-badge.result-win {
  background: rgba(34,197,94,0.3);
  color: #16a34a;
}

.game-result-badge.result-loss {
  background: rgba(239,68,68,0.3);
  color: #dc2626;
}

.game-result-badge.result-tie {
  background: rgba(156,163,175,0.3);
  color: #d1d5db;
}

/* Box Score */
.game-box-score {
  margin-top: 2rem;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  overflow-x: auto;
}

.box-score-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
}

.box-score-table th,
.box-score-table td {
  padding: 0.5rem 0.375rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.box-score-table thead th {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
  background: rgba(0, 0, 0, 0.15);
}

.box-score-table tbody tr:last-child td {
  border-bottom: none;
}

.box-score-table .box-team-col {
  text-align: left;
  padding-left: 0.75rem;
  white-space: nowrap;
  font-weight: 600;
  min-width: 80px;
}

.box-score-table .box-team-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.box-score-table .box-team-abbr {
  vertical-align: middle;
}

.box-score-table .box-inning-col {
  min-width: 28px;
}

.box-score-table .box-total-col {
  font-weight: 700;
  background: rgba(0, 0, 0, 0.1);
  min-width: 32px;
}

.box-score-table .box-runs {
  background: rgba(0, 0, 0, 0.2);
}

.box-score-table .box-winner td {
  font-weight: 700;
}

.box-score-table .box-winner .box-runs {
  color: #16a34a;
}

/* Result innings indicator */
.result-innings {
  font-weight: 400;
  opacity: 0.9;
}

@media (max-width: 600px) {
  .game-box-score {
    margin-top: 1.5rem;
  }

  .box-score-table {
    font-size: 0.75rem;
  }

  .box-score-table th,
  .box-score-table td {
    padding: 0.375rem 0.25rem;
  }

  .box-score-table .box-team-col {
    padding-left: 0.5rem;
    min-width: 60px;
  }

  .box-score-table .box-team-logo {
    width: 16px;
    height: 16px;
    margin-right: 0.375rem;
  }

  .box-score-table .box-inning-col {
    min-width: 22px;
  }

  .box-score-table .box-total-col {
    min-width: 26px;
  }
}

.game-info-card {
  margin-bottom: 1.5rem;
}

.game-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.game-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.game-info-item .info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hb-gray);
  font-weight: 600;
}

.game-info-item .info-value {
  font-size: 1rem;
  font-weight: 500;
}

.game-info-item .info-value a {
  color: var(--hb-blue);
  text-decoration: none;
}

.game-info-item .info-value a:hover {
  text-decoration: underline;
}

.game-content {
  line-height: 1.7;
}

.game-content p {
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .game-matchup {
    flex-direction: column;
    gap: 1rem;
  }

  .game-team {
    max-width: none;
  }

  .game-vs {
    padding: 0.5rem 0;
  }

  .game-team .team-score {
    font-size: 2rem;
  }
}

/* Results Cards */
.results-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.result-card {
  background: #ffffff;
  border: 1px solid var(--hb-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.result-card:hover {
  transform: translateY(-2px);
}

.result-events {
  margin-bottom: 0.75rem;
}

.result-events .badge-event {
  font-size: 0.625rem;
}

.result-card.result-win {
  border-left: 4px solid #16a34a;
}

.result-card.result-loss {
  border-left: 4px solid #dc2626;
}

.result-outcome {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.result-card.result-win .result-outcome {
  color: #16a34a;
}

.result-card.result-loss .result-outcome {
  color: #dc2626;
}

.result-score-large {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.result-opponent {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.result-date {
  font-size: 0.875rem;
  color: var(--hb-gray);
}

.no-content-box {
  background: #ffffff;
  border: 1px solid var(--hb-border);
  border-radius: 0.75rem;
  padding: 3rem;
  text-align: center;
  color: var(--hb-gray);
}

/* Stats Password Gate */
.stats-password-gate {
  background: #ffffff;
  border: 1px solid var(--hb-border);
  border-radius: 0.75rem;
  padding: 3rem;
  text-align: center;
  max-width: 400px;
  margin: 2rem auto;
}

.password-gate-icon {
  color: var(--hb-gray);
  margin-bottom: 1rem;
}

.stats-password-gate h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.stats-password-gate p {
  color: var(--hb-gray);
  margin: 0 0 1.5rem;
}

.stats-password-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

.stats-password-form input[type="password"] {
  width: 100%;
  max-width: 280px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--hb-border);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.1s ease;
  box-sizing: border-box;
  text-align: center;
}

.stats-password-form input[type="password"]:focus {
  outline: none;
  border-color: var(--hb-blue);
}

.stats-password-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--hb-blue);
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.1s ease;
  white-space: nowrap;
}

.stats-password-form button:hover {
  background: var(--hb-blue-dark);
}

.tab-lock-icon {
  margin-left: 0.25rem;
  opacity: 0.7;
}


/* Stats Sub-tabs */
.stats-content {
  padding: 1rem 0;
  width: 100%;
  max-width: 100%;
}

.stats-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--hb-border);
  padding-bottom: 0;
}

.stats-tab {
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  color: var(--hb-gray);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.1s ease;
}

.stats-tab:hover {
  color: var(--hb-blue);
}

.stats-tab.active {
  color: var(--hb-blue);
  border-bottom-color: var(--hb-blue);
}

.stats-tab-content {
  display: none;
}

.stats-tab-content.active {
  display: block;
}

@media (max-width: 480px) {
  .stats-tabs {
    flex-wrap: wrap;
  }

  .stats-tab {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

/* Team Media Tab */
.team-media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.team-album-card {
  background: var(--hb-card-bg);
  border: 1px solid var(--hb-border);
  border-radius: 0.5rem;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

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

.team-album-cover {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--hb-navy);
}

.team-album-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.15s ease;
}

.team-album-card:hover .team-album-img {
  transform: scale(1.05);
}

.team-album-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--hb-navy), var(--hb-blue-dark));
  color: rgba(255, 255, 255, 0.3);
}

.team-album-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 31, 63, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.team-album-card:hover .team-album-overlay {
  opacity: 1;
}

.team-album-info {
  padding: 0.875rem;
}

.team-album-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--hb-navy);
  margin-bottom: 0.25rem;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-album-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--hb-gray);
}

@media (max-width: 992px) {
  .team-media-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .team-media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .team-media-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   COACHES
   ======================================== */

/* Page Header */
.page-header {
  margin-bottom: 2rem;
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.page-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
}

.page-subtitle {
  color: var(--hb-gray);
  margin: 0;
}

/* ========================================
   DUGOUT CLUB PAGE
======================================== */
.dugout-header {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, var(--hb-navy), var(--hb-blue-dark));
  border-radius: 0.75rem;
  color: #ffffff;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.dugout-header .page-title {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.dugout-tagline {
  color: var(--hb-gold);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.dugout-featured-image {
  margin-bottom: 1.5rem;
}

.dugout-featured-image .dugout-thumbnail {
  max-width: 120px;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.dugout-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--hb-text);
}

.dugout-body p {
  margin-bottom: 1.5rem;
}

.dugout-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hb-navy);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--hb-gold);
}

.dugout-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hb-navy);
  margin: 1.5rem 0 0.75rem;
}

.dugout-body ul {
  margin: 1rem 0 1.5rem 1.5rem;
  padding: 0;
}

.dugout-body ul li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
  position: relative;
}

.dugout-body ul li::marker {
  color: var(--hb-blue);
}

.dugout-body strong {
  color: var(--hb-navy);
}

.dugout-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(0,80,186,0.05), rgba(0,80,186,0.02));
  border-left: 4px solid var(--hb-blue);
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  color: var(--hb-navy);
  quotes: none;
}

.dugout-body blockquote::before,
.dugout-body blockquote::after {
  content: none;
}

@media (max-width: 768px) {
  .dugout-header {
    padding: 2rem 1rem;
  }

  .dugout-header .page-title {
    font-size: 2rem;
  }

  .dugout-body h2 {
    font-size: 1.25rem;
  }
}

/* Sponsorship Packages */
.sponsor-intro {
  font-size: 1.125rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--hb-text);
}

.sponsor-intro a {
  color: var(--hb-blue);
  font-weight: 600;
}

.sponsor-package {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--hb-border);
  background: #ffffff;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.sponsor-package:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.sponsor-seal {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seal-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 0.5rem;
}

.sponsor-platinum .seal-inner {
  background: linear-gradient(135deg, #667eea, #764ba2);
  box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}

.sponsor-gold .seal-inner {
  background: linear-gradient(135deg, #f6d365, #d4af37);
  box-shadow: 0 4px 15px rgba(212,175,55,0.4);
}

.sponsor-silver .seal-inner {
  background: linear-gradient(135deg, #bdc3c7, #95a5a6);
  box-shadow: 0 4px 15px rgba(149,165,166,0.4);
}

.sponsor-bronze .seal-inner {
  background: linear-gradient(135deg, #cd7f32, #a0522d);
  box-shadow: 0 4px 15px rgba(205,127,50,0.4);
}

.seal-tier {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.seal-price {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.seal-term {
  font-size: 0.6875rem;
  opacity: 0.8;
}

.sponsor-info {
  flex: 1;
}

.sponsor-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hb-navy);
  margin: 0 0 1rem;
}

.sponsor-info ul {
  margin: 0;
  padding: 0 0 0 1.25rem;
}

.sponsor-info ul li {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  color: var(--hb-text);
}

.sponsor-info ul li::marker {
  color: var(--hb-blue);
}

.sponsor-banner-section {
  margin-top: 3rem;
  text-align: center;
}

.sponsor-banner-section h2 {
  border-bottom: none;
  margin-bottom: 1.5rem;
}

.sponsor-banner-preview {
  max-width: 600px;
  margin: 0 auto;
}

.banner-placeholder {
  background: linear-gradient(135deg, var(--hb-card-bg), #e9ecef);
  border: 3px dashed var(--hb-border);
  border-radius: 0.75rem;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.banner-text {
  font-size: 2rem;
  font-weight: 800;
  color: var(--hb-navy);
}

.banner-subtext {
  font-size: 0.875rem;
  color: var(--hb-gray);
}

/* Corporate Sponsorship */
.facility-concept {
  margin: 2rem 0;
}

.facility-placeholder {
  background: linear-gradient(135deg, var(--hb-card-bg), #e9ecef);
  border: 1px solid var(--hb-border);
  border-radius: 0.75rem;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  color: var(--hb-gray);
}

.facility-placeholder svg {
  opacity: 0.5;
}

.facility-placeholder span {
  font-weight: 600;
  color: var(--hb-navy);
}

.facility-dimensions {
  font-size: 0.875rem;
  color: var(--hb-gray) !important;
  font-weight: 400 !important;
}

/* Sponsor CTA styles moved to SPONSORS PAGE section above */
}

@media (max-width: 768px) {
  .sponsor-package {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sponsor-seal {
    width: 100px;
    height: 100px;
  }

  .seal-price {
    font-size: 1.25rem;
  }

  .sponsor-info h3 {
    font-size: 1.125rem;
  }

  .sponsor-info ul {
    text-align: left;
  }

  .banner-text {
    font-size: 1.5rem;
  }

  .sponsor-cta-btn {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }
}

/* Coaches Archive Grid */
.coaches-team-card {
  margin-bottom: 2rem;
}

.coaches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem;
}

.coach-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  padding: 1rem;
  border-radius: 0.75rem;
  transition: background 0.1s ease, transform 0.1s ease;
}

.coach-card:hover {
  background: var(--hb-card-bg);
  transform: translateY(-2px);
}

.coach-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--hb-card-bg);
  object-fit: cover;
}

.coach-photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1rem;
  background: var(--hb-card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hb-gray);
}

.coach-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.coach-name {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}

.coach-role {
  font-size: 0.875rem;
  color: var(--hb-gray);
}

/* Single Coach Page */
.coach-detail {
  max-width: 800px;
  margin: 0 auto;
}

.coach-back-link {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.coach-back-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--hb-gray);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.1s ease;
}

.coach-back-link a:hover {
  color: var(--hb-blue);
}

.coach-profile-card {
  overflow: hidden;
}

.coach-detail .coach-profile-card + .card {
  margin-top: 1.5rem;
}

.coach-profile-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--hb-blue), var(--hb-blue-dark));
  color: #ffffff;
}

.coach-profile-photo {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,0.1);
  border: 4px solid rgba(255,255,255,0.3);
}

.coach-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.coach-profile-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
}

.coach-profile-name {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.coach-profile-role {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.coach-profile-teams {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.coach-profile-teams .badge-team {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
}

.coach-contact {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: var(--hb-card-bg);
  border-top: 1px solid var(--hb-border);
}

.coach-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--hb-blue);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.1s ease;
}

.coach-contact-item:hover {
  opacity: 0.8;
}

.coach-bio {
  line-height: 1.7;
}

.coach-bio p {
  margin-bottom: 1rem;
}

/* Team Page Home Tab */
.team-home-section {
  background: #ffffff;
  border: 1px solid var(--hb-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.team-section-card {
  margin-bottom: 1.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hb-gray);
  margin: 0;
}

.section-title svg {
  color: var(--hb-blue);
}

.section-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hb-blue);
  text-decoration: none;
  transition: opacity 0.1s ease;
}

.section-link:hover {
  opacity: 0.8;
}

/* Team News Grid */
.team-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.team-news-card {
  display: flex;
  flex-direction: column;
  background: var(--hb-card-bg);
  border-radius: 0.75rem;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: background 0.1s ease, transform 0.1s ease;
}

.team-news-card:not(.has-image) {
  padding: 1rem;
}

.team-news-card:hover {
  background: var(--hb-border);
  transform: translateY(-2px);
}

.team-news-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.team-news-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.15s ease;
}

.team-news-card:hover .team-news-thumbnail {
  transform: scale(1.05);
}

.team-news-content {
  padding: 1rem;
}

.team-news-card:not(.has-image) .team-news-content {
  padding: 0;
}

.team-news-date {
  font-size: 0.75rem;
  color: var(--hb-gray);
  margin-bottom: 0.25rem;
}

.team-news-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.team-news-excerpt {
  font-size: 0.875rem;
  color: var(--hb-gray);
  margin: 0;
  line-height: 1.5;
}

/* Next Game Card */
.next-game-card {
  display: block;
  background: linear-gradient(135deg, var(--hb-blue), var(--hb-blue-dark));
  border-radius: 0.75rem;
  padding: 1.5rem;
  color: #ffffff;
  text-decoration: none;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.next-game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,80,186,0.3);
  color: #ffffff;
}

.next-game-card:hover .next-game-team-name,
.next-game-card:hover .next-game-opponent-name,
.next-game-card:hover .next-game-vs,
.next-game-card:hover .next-game-date,
.next-game-card:hover .next-game-time,
.next-game-card:hover .next-game-location {
  color: #ffffff;
}

.next-game-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.next-game-card .badge-game-type {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
}

.next-game-card .badge-event {
  background: var(--hb-gold);
  color: var(--hb-navy);
}

.next-game-matchup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.next-game-team,
.next-game-opponent {
  text-align: center;
}

.next-game-team-name,
.next-game-opponent-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.next-game-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  padding: 0.25rem;
}

.next-game-vs {
  font-size: 1.5rem;
  font-weight: 800;
  opacity: 0.7;
}

.next-game-card .badge-home,
.next-game-card .badge-away,
.next-game-card .badge-neutral {
  background: rgba(255,255,255,0.2);
  color: #ffffff;
}

.next-game-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.next-game-date,
.next-game-time,
.next-game-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Small no-content box */
.no-content-box.small {
  padding: 2rem;
}

/* Team Page Coaches Section (legacy, still used in coaches grid) */
.team-coaches-section {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--hb-border);
}

.team-coaches-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.team-coach-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  padding: 0.75rem 1rem;
  background: var(--hb-card-bg);
  border-radius: 0.75rem;
  transition: background 0.1s ease, transform 0.1s ease;
}

.team-coach-card:hover {
  background: var(--hb-border);
  transform: translateY(-1px);
}

.team-coach-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  flex-shrink: 0;
}

.team-coach-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-coach-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hb-gray);
}

.team-coach-name {
  font-weight: 600;
  font-size: 0.9375rem;
}

.team-coach-role {
  font-size: 0.75rem;
  color: var(--hb-gray);
}

@media (max-width: 600px) {
  .coach-profile-header {
    flex-direction: column;
    text-align: center;
  }

  .coach-profile-photo {
    width: 120px;
    height: 120px;
  }

  .coach-profile-name {
    font-size: 1.5rem;
  }

  .coach-profile-teams {
    justify-content: center;
  }

  .coach-contact {
    flex-direction: column;
    gap: 1rem;
  }

  .coaches-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1rem;
  }

  .coach-photo {
    width: 80px;
    height: 80px;
  }

  .team-coaches-grid {
    flex-direction: column;
  }

  .team-coach-card {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .team-tabs-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .team-tabs-wrapper .print-btn {
    align-self: flex-end;
    margin-top: 0.5rem;
  }

  .team-tabs {
    flex-wrap: wrap;
  }

  .team-tab {
    flex: 1;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    text-align: center;
  }

  .schedule-table .col-location,
  .schedule-table .col-time {
    display: none;
  }

  .team-title-row {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
  }

  .team-title-left {
    flex-direction: column;
    gap: 0.5rem;
  }

  .team-title-info {
    text-align: center;
  }

  .team-subtitle-row {
    justify-content: center;
  }

  .team-header-logo {
    width: 50px;
    height: 50px;
  }

  .record-value {
    font-size: 1.25rem;
  }
}

.team-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.team-nav-link {
  padding: 0.5rem 1.25rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  transition: all 0.1s ease;
}

.team-nav-link:hover {
  background: rgba(255,255,255,0.1);
  color: var(--hb-white);
}

.team-nav-link.active {
  background: var(--hb-blue);
  border-color: var(--hb-blue);
  color: var(--hb-white);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.roster-section,
.team-schedule-section {
  padding: 2rem 0;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (max-width: 768px) {
  .schedule-grid {
    grid-template-columns: 1fr;
  }
}

/* Results styling */
.result-score {
  font-size: 1.5rem;
  font-weight: 800;
  padding: 0 1rem;
}

.result-win .result-score {
  color: #16a34a;
}

.result-loss .result-score {
  color: #dc2626;
}

.badge-win {
  background: rgba(34,197,94,0.2);
  color: #16a34a;
}

.badge-loss {
  background: rgba(239,68,68,0.2);
  color: #dc2626;
}

/* ========================================
   PLAYER CARDS
======================================== */
.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.player-card {
  position: relative;
  background: rgba(30,30,30,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.15s ease;
}

.player-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.player-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.player-photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(0,0,0,0.3);
}

.player-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.15s ease;
}

.player-card:hover .player-photo img {
  transform: scale(1.05);
}

.player-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--hb-blue-dark), var(--hb-black));
}

.player-number-large {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255,255,255,0.2);
}

.player-info {
  padding: 1.25rem;
}

.player-number {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--hb-blue);
  margin-bottom: 0.25rem;
}

.player-name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.player-position {
  color: var(--hb-gray);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.player-details {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.player-details span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.no-players {
  text-align: center;
  padding: 3rem;
  color: rgba(255,255,255,0.5);
}

/* ========================================
   ROSTER TABLE
======================================== */
.roster-table-wrapper {
  background: #ffffff;
  border: 1px solid var(--hb-border);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

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

.roster-table thead {
  background: linear-gradient(135deg, var(--hb-blue), var(--hb-blue-dark));
}

.roster-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.roster-table tbody tr {
  border-bottom: 1px solid var(--hb-border);
  transition: background 0.1s ease;
}

.roster-table tbody tr:hover {
  background: rgba(0,80,186,0.05);
}

.roster-table tbody tr:last-child {
  border-bottom: none;
}

.roster-table td {
  padding: 1rem;
  font-size: 0.9375rem;
}

.roster-table .col-photo {
  width: 60px;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
}

.roster-table thead .col-photo {
  padding: 1rem 0.5rem 1rem 1rem;
}

.player-photo-link {
  display: block;
}

.player-table-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--hb-border);
  transition: border-color 0.1s ease;
}

.player-photo-link:hover .player-table-photo {
  border-color: var(--hb-blue);
}

.player-table-photo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hb-blue-dark), var(--hb-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.875rem;
  color: #ffffff;
  border: 2px solid var(--hb-border);
}

.roster-table .col-number {
  width: 60px;
  text-align: center;
}

.roster-table td.col-number {
  font-weight: 800;
  color: var(--hb-blue);
}

.roster-table .col-name {
  font-weight: 600;
}

.roster-table .col-name a {
  color: var(--hb-navy);
  text-decoration: none;
}

.roster-table .col-name a:hover {
  color: var(--hb-blue);
}

.roster-table .col-more {
  width: 40px;
  text-align: center;
  padding: 0.75rem 0.5rem;
}

.roster-table .more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--hb-gray);
  transition: color 0.1s ease;
}

.roster-table .more-link:hover {
  color: var(--hb-blue);
}

.roster-table td.col-position {
  color: var(--hb-gray);
  font-weight: 500;
}

.roster-table td.col-year {
  color: var(--hb-gray);
}

.roster-table td.col-height {
  color: var(--hb-gray);
}

.roster-table td.col-bats-throws {
  color: var(--hb-gray);
}

/* ========================================
   SINGLE PLAYER
======================================== */
.player-detail {
  padding: 2rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.player-back-link {
  margin-bottom: 1.5rem;
}

.player-back-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--hb-gray);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.1s ease;
}

.player-back-link a:hover {
  color: var(--hb-blue);
}

.player-header {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--hb-navy), var(--hb-blue-dark));
  padding: 2rem;
  border-radius: 0.75rem;
  color: #ffffff;
}

.player-photo-large {
  flex-shrink: 0;
}

.player-portrait {
  width: 200px;
  height: 250px;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 4px solid rgba(255,255,255,0.2);
}

.player-portrait-placeholder {
  width: 200px;
  height: 250px;
  background: rgba(255,255,255,0.1);
  border-radius: 0.75rem;
  border: 4px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-initials-large {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255,255,255,0.5);
}

.player-header-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.player-number-large {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.player-name-large {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 1rem 0;
  line-height: 1.1;
}

.player-meta-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.player-position-badge {
  background: var(--hb-gray);
  color: #ffffff;
  padding: 0.375rem 1rem;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.player-team-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.1s ease;
}

.player-team-link:hover {
  color: #ffffff;
}

.player-detail .card {
  margin-bottom: 1.5rem;
}

.player-detail .card:last-child {
  margin-bottom: 0;
}

.player-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.player-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.player-info-item .info-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hb-gray);
}

.player-info-item .info-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--hb-navy);
}

.player-info-item .info-value a {
  color: var(--hb-blue);
  text-decoration: none;
}

.player-info-item .info-value a:hover {
  text-decoration: underline;
}

.player-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.player-highlights-list li {
  position: relative;
  padding: 0.75rem 0 0.75rem 2rem;
  border-bottom: 1px solid var(--hb-border);
  font-size: 1rem;
  color: var(--hb-navy);
}

.player-highlights-list li:last-child {
  border-bottom: none;
}

.player-highlights-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--hb-gold);
  border-radius: 50%;
}

.stats-table-wrapper {
  overflow-x: auto;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.stats-table thead {
  background: linear-gradient(135deg, var(--hb-blue), var(--hb-blue-dark));
}

.stats-table th {
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: #ffffff;
  white-space: nowrap;
}

.stats-table tbody tr {
  border-bottom: 1px solid var(--hb-border);
}

.stats-table tbody tr:last-child {
  border-bottom: none;
}

.stats-table tbody tr:hover {
  background: rgba(0,80,186,0.05);
}

.stats-table td {
  padding: 0.75rem 0.5rem;
  text-align: center;
  color: var(--hb-navy);
  white-space: nowrap;
}

.stats-table td:first-child {
  font-weight: 600;
}

.player-bio-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--hb-text);
}

.player-bio-content p {
  margin-bottom: 1rem;
}

.player-bio-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .player-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .player-portrait,
  .player-portrait-placeholder {
    width: 160px;
    height: 200px;
  }

  .player-name-large {
    font-size: 1.75rem;
  }

  .player-meta-row {
    justify-content: center;
  }

  .player-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   EVENT DETAIL PAGE
======================================== */
.event-detail {
  padding: 2rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.event-back-link {
  margin-bottom: 1.5rem;
}

.event-back-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--hb-gray);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.1s ease;
}

.event-back-link a:hover {
  color: var(--hb-blue);
}

.event-header {
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--hb-navy), var(--hb-blue-dark));
  padding: 2rem;
  border-radius: 0.75rem;
  color: #ffffff;
}

.event-header-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.event-type-badge {
  display: inline-block;
  background: var(--hb-gold);
  color: var(--hb-navy);
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
}

.event-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.2;
}

.event-team-link {
  color: var(--hb-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

.event-team-link:hover {
  text-decoration: underline;
}

.event-featured-image {
  margin-bottom: 1.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
}

.event-thumbnail {
  width: 100%;
  height: auto;
  display: block;
}

.event-detail .card {
  margin-bottom: 1.5rem;
}

.event-detail .card:last-child {
  margin-bottom: 0;
}

.event-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.event-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.event-info-item .info-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--hb-gray);
}

.event-info-item .info-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--hb-navy);
}

.event-info-item .info-value a {
  color: var(--hb-blue);
  text-decoration: none;
}

.event-info-item .info-value a:hover {
  text-decoration: underline;
}

.event-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--hb-text);
}

.event-content p {
  margin-bottom: 1rem;
}

.event-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .event-header {
    padding: 1.5rem;
  }

  .event-title {
    font-size: 1.5rem;
  }

  .event-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   SINGLE POST (News Articles)
======================================== */
.single-post {
  padding: 2rem 0;
}

.post-back-link {
  margin-bottom: 1.5rem;
}

.post-back-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--hb-gray);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.1s ease;
}

.post-back-link a:hover {
  color: var(--hb-blue);
}

.post-header {
  margin-bottom: 2rem;
}

/* Header Gallery Carousel */
.post-header-gallery {
  margin-bottom: 1rem;
  background: var(--hb-card-bg);
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--hb-border);
  position: relative;
}

.header-gallery-nav {
  position: absolute;
  top: 120px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--hb-border);
  color: var(--hb-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .header-gallery-nav {
    top: 100px;
  }
}

@media (max-width: 480px) {
  .header-gallery-nav {
    top: 90px;
    width: 36px;
    height: 36px;
  }
}

.header-gallery-nav:hover {
  background: #ffffff;
  color: var(--hb-blue);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-gallery-prev {
  left: 12px;
}

.header-gallery-next {
  right: 12px;
}

.header-gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  gap: 0.25rem;
  padding: 0.25rem;
}

.header-gallery-track::-webkit-scrollbar {
  display: none;
}

.header-gallery-slide {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: 320px;
  height: 240px;
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.header-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.header-gallery-slide:hover img {
  transform: scale(1.05);
}

.header-gallery-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 31, 63, 0);
  transition: background 0.2s ease;
  pointer-events: none;
}

.header-gallery-slide:hover::after {
  background: rgba(0, 31, 63, 0.15);
}

.header-gallery-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-top: 1px solid var(--hb-border);
  font-size: 0.875rem;
}

.header-gallery-count {
  color: var(--hb-gray);
}

.header-gallery-sep {
  color: var(--hb-border);
}

.header-gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--hb-blue);
  font-weight: 500;
  text-decoration: none;
}

.header-gallery-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .header-gallery-slide {
    width: 280px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .header-gallery-slide {
    width: 240px;
    height: 180px;
  }

  .header-gallery-meta {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

.post-featured-image {
  margin-bottom: 1.5rem;
  text-align: center;
}

.post-thumbnail-img {
  max-width: 40%;
  height: auto;
  display: inline-block;
  border-radius: 0.75rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.post-meta-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.post-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--hb-white);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--hb-gray);
  font-size: 0.875rem;
}

.post-date,
.post-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-date svg,
.post-author svg {
  color: var(--hb-blue);
}

.post-content-card {
  margin-bottom: 2rem;
}

.post-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--hb-white);
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
}

.post-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1.5rem 0 0.75rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
}

.post-content a {
  color: var(--hb-blue);
  text-decoration: underline;
}

.post-content ul,
.post-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content blockquote {
  border-left: 4px solid var(--hb-blue);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--hb-gray);
}

/* Post Navigation */
.post-footer {
  margin-top: 2rem;
}

.post-navigation {
  display: flex;
  gap: 1rem;
}

.post-nav-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: var(--hb-card-bg);
  border: 1px solid var(--hb-border);
  border-radius: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: background 0.1s ease, transform 0.1s ease;
}

.post-nav-link:hover {
  background: var(--hb-border);
  transform: translateY(-2px);
}

.post-nav-prev {
  align-items: flex-start;
}

.post-nav-next {
  align-items: flex-end;
  text-align: right;
}

.post-nav-label {
  font-size: 0.75rem;
  color: var(--hb-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.post-nav-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--hb-white);
  line-height: 1.3;
}

.post-nav-link svg {
  color: var(--hb-blue);
  margin-top: 0.5rem;
}

.post-nav-prev svg {
  order: -1;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* ========================================
   NEWS PAGE
======================================== */
.news-page-header {
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--hb-navy), var(--hb-blue-dark));
  border-radius: 0.75rem;
}

.news-page-header .page-title {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.news-page-header .page-subtitle {
  color: var(--hb-gold);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.news-page-content {
  margin-bottom: 3rem;
}

.news-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.news-card {
  background: var(--hb-card-bg);
  border: 1px solid var(--hb-border);
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.news-card-image {
  display: block;
  width: 280px;
  min-width: 280px;
  overflow: hidden;
}

.news-card-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.15s ease;
}

.news-card:hover .news-card-thumbnail {
  transform: scale(1.05);
}

.news-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.news-card-date {
  font-size: 0.8125rem;
  color: var(--hb-gray);
  margin-bottom: 0.5rem;
}

.news-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.news-card-title a {
  color: var(--hb-navy);
  text-decoration: none;
}

.news-card-title a:hover {
  color: var(--hb-blue);
}

.news-card-excerpt {
  font-size: 0.9375rem;
  color: var(--hb-text);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hb-blue);
  text-decoration: none;
}

.news-card-link:hover {
  color: var(--hb-blue-dark);
}

.news-card-link svg {
  transition: transform 0.1s ease;
}

.news-card-link:hover svg {
  transform: translateX(3px);
}

/* News Pagination */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hb-border);
}

.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  background: var(--hb-card-bg);
  border: 1px solid var(--hb-border);
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--hb-text);
  text-decoration: none;
  transition: all 0.1s ease;
}

.news-pagination .page-numbers:hover {
  background: var(--hb-blue);
  border-color: var(--hb-blue);
  color: #ffffff;
}

.news-pagination .page-numbers.current {
  background: var(--hb-blue);
  border-color: var(--hb-blue);
  color: #ffffff;
}

.news-pagination .prev,
.news-pagination .next {
  gap: 0.5rem;
}

.news-pagination .dots {
  background: transparent;
  border: none;
}

/* No News State */
.no-news {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--hb-card-bg);
  border: 1px solid var(--hb-border);
  border-radius: 0.75rem;
}

.no-news svg {
  color: var(--hb-gray);
  margin-bottom: 1rem;
}

.no-news p {
  color: var(--hb-gray);
  font-size: 1.125rem;
}

/* News Page Responsive */
@media (max-width: 768px) {
  .news-card {
    flex-direction: column;
  }

  .news-card-image {
    width: 100%;
    min-width: unset;
    aspect-ratio: 16/9;
  }

  .news-page-header .page-title {
    font-size: 2rem;
  }
}

/* ========================================
   GALLERY PAGE
======================================== */
.gallery-page-header {
  text-align: center;
  padding: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, var(--hb-navy), var(--hb-blue-dark));
  border-radius: 0.75rem;
}

.gallery-page-header .page-title {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.gallery-page-header .page-subtitle {
  color: var(--hb-gold);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.gallery-page-content {
  margin-bottom: 3rem;
}

.albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.album-card {
  background: var(--hb-card-bg);
  border: 1px solid var(--hb-border);
  border-radius: 0.75rem;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.album-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.album-cover {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--hb-navy);
}

.album-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.15s ease;
}

.album-card:hover .album-cover-img {
  transform: scale(1.05);
}

.album-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--hb-navy), var(--hb-blue-dark));
  color: rgba(255, 255, 255, 0.3);
}

.album-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 31, 63, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.album-card:hover .album-overlay {
  opacity: 1;
}

.album-overlay span {
  font-size: 0.875rem;
  font-weight: 600;
}

.album-info {
  padding: 1.25rem;
}

.album-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.album-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--hb-navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.album-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--hb-gray);
}

.album-count {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.no-albums {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--hb-card-bg);
  border: 1px solid var(--hb-border);
  border-radius: 0.75rem;
}

.no-albums svg {
  color: var(--hb-gray);
  margin-bottom: 1rem;
}

.no-albums p {
  color: var(--hb-gray);
  font-size: 1.125rem;
}

/* Single Album Page */
.album-header {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.album-header-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.album-page-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--hb-navy);
  margin-bottom: 0.75rem;
}

.album-header-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  color: var(--hb-gray);
}

.album-header-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.album-content {
  margin-bottom: 3rem;
}

/* WordPress Gallery Styles */
.album-content .wp-block-gallery {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.25rem;
}

.album-content .wp-block-gallery .wp-block-image {
  border-radius: 0.375rem;
  overflow: hidden;
  aspect-ratio: 1;
  margin: 0;
}

.album-content .wp-block-gallery .wp-block-image img,
.album-content .wp-block-gallery img {
  border-radius: 0.375rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-content .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.25rem;
  margin: 0;
}

.album-content .gallery-item {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.375rem;
}

.album-content .gallery-item img {
  border-radius: 0.375rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.album-content .gallery-caption {
  padding: 0.5rem;
  font-size: 0.8125rem;
  color: var(--hb-gray);
}

/* Lightbox Gallery Styles */
.album-content .glightbox {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.album-content .glightbox img {
  transition: transform 0.15s ease;
}

.album-content .glightbox:hover img {
  transform: scale(1.05);
}

.album-content .glightbox::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 31, 63, 0);
  transition: background 0.15s ease;
  pointer-events: none;
}

.album-content .glightbox:hover::after {
  background: rgba(0, 31, 63, 0.2);
}

/* Gallery Responsive */
@media (max-width: 992px) {
  .albums-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .albums-grid {
    grid-template-columns: 1fr;
  }

  .gallery-page-header .page-title {
    font-size: 2rem;
  }

  .album-page-title {
    font-size: 1.75rem;
  }
}

/* ========================================
   CALENDAR PAGE
======================================== */
.card:has(.calendar-view-toggle) {
  margin-top: 2rem;
}

.card-header:has(.calendar-view-toggle) {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

/* Calendar View Toggle */
.calendar-view-toggle {
  position: absolute;
  right: 100px;
}

.card-header .print-btn {
  position: absolute;
  right: 1rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.card-header .print-btn svg {
  width: 14px;
  height: 14px;
}

.calendar-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hb-black);
  min-width: 200px;
  text-align: center;
}

.calendar-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: rgba(0,80,186,0.1);
  color: var(--hb-blue);
  transition: all 0.1s ease;
}

.calendar-nav-btn:hover {
  background: var(--hb-blue);
  color: #fff;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-top: 1px solid var(--hb-border);
  border-left: 1px solid var(--hb-border);
}

.calendar-day-header {
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--hb-gray);
  background: var(--hb-card-bg);
  border-right: 1px solid var(--hb-border);
  border-bottom: 1px solid var(--hb-border);
}

.calendar-day {
  min-height: 100px;
  padding: 0.5rem;
  border-right: 1px solid var(--hb-border);
  border-bottom: 1px solid var(--hb-border);
  background: #fff;
  vertical-align: top;
}

.calendar-day-empty {
  background: var(--hb-card-bg);
}

.calendar-day-today {
  background: rgba(0,80,186,0.05);
}

.calendar-day-today .calendar-day-number {
  background: var(--hb-blue);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-day-number {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hb-black);
  margin-bottom: 0.5rem;
}

.calendar-day-items {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.calendar-item {
  display: flex;
  flex-direction: column;
  padding: 0.375rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.1s ease;
}

.calendar-item-game {
  background: linear-gradient(135deg, rgba(0,80,186,0.1), rgba(0,80,186,0.05));
  border-left: 3px solid var(--hb-blue);
}

.calendar-item-game:hover {
  background: rgba(0,80,186,0.15);
}

.calendar-item-event {
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
  border-left: 3px solid var(--hb-gold);
}

.calendar-item-event:hover {
  background: rgba(212,175,55,0.2);
}

.calendar-item-badge {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.125rem;
}

.calendar-item-badge.game {
  color: var(--hb-blue);
}

.calendar-item-badge.event {
  color: #b8860b;
}

.calendar-item-title {
  font-weight: 500;
  color: var(--hb-black);
  line-height: 1.3;
}

.calendar-item-time {
  color: var(--hb-gray);
  font-size: 0.6875rem;
  margin-top: 0.125rem;
}

.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  padding: 0.75rem;
  background: var(--hb-card-bg);
  border-radius: 0.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--hb-gray);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 0.25rem;
}

.legend-dot.game {
  background: var(--hb-blue);
}

.legend-dot.event {
  background: var(--hb-gold);
}

/* Print Button */
.print-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--hb-blue), var(--hb-blue-dark));
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.1s ease;
}

.print-btn:hover {
  background: linear-gradient(135deg, var(--hb-blue-dark), var(--hb-navy));
}

.print-btn svg {
  flex-shrink: 0;
}

.calendar-view-toggle {
  display: flex;
  gap: 0.5rem;
  background: var(--hb-card-bg);
  padding: 0.25rem;
  border-radius: 0.5rem;
}

.view-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 0.375rem;
  color: var(--hb-gray);
  transition: all 0.1s ease;
}

.view-toggle-btn:hover {
  color: var(--hb-blue);
  background: rgba(0,80,186,0.1);
}

.view-toggle-btn.active {
  background: var(--hb-blue);
  color: #fff;
}

/* Calendar List View */
.calendar-list {
  padding: 0;
}

.calendar-list-day {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--hb-border);
}

.calendar-list-day:last-child {
  border-bottom: none;
}

.calendar-list-day.is-today {
  background: rgba(0,80,186,0.03);
}

.calendar-list-date {
  flex-shrink: 0;
  width: 120px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--hb-border);
  background: var(--hb-card-bg);
  align-self: stretch;
}

.list-date-day {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--hb-navy);
  line-height: 1;
}

.calendar-list-day.is-today .list-date-day {
  color: var(--hb-blue);
}

.list-date-weekday {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--hb-gray);
  margin-top: 0.25rem;
}

.list-date-today-badge {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--hb-blue);
  color: #fff;
  padding: 0.125rem 0.5rem;
  border-radius: 2px;
  margin-top: 0.5rem;
}

.calendar-list-items {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.calendar-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition: background 0.1s ease;
  border-bottom: 1px solid var(--hb-border);
  flex: 1;
}

.calendar-list-item:last-child {
  border-bottom: none;
}

.calendar-list-day:has(.calendar-list-item:only-child) .calendar-list-item {
  min-height: 100%;
}

.calendar-list-item:hover {
  background: rgba(0,80,186,0.05);
}

.calendar-list-item-game {
  border-left: 4px solid var(--hb-blue);
}

.calendar-list-item-event {
  border-left: 4px solid var(--hb-gold);
}

.list-item-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.list-item-title {
  font-weight: 600;
  color: var(--hb-black);
  font-size: 1rem;
}

.list-item-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--hb-gray);
}

.list-item-time {
  font-size: 0.875rem;
  font-weight: 500;
}

.calendar-list-empty {
  padding: 3rem;
  text-align: center;
  color: var(--hb-gray);
}

@media (max-width: 768px) {
  .card-header:has(.calendar-view-toggle) {
    flex-direction: column;
    gap: 1rem;
  }

  .calendar-header {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .calendar-view-toggle {
    position: static;
    justify-content: center;
  }

  .card-header .print-btn {
    position: static;
  }

  .calendar-list-day {
    flex-direction: column;
  }

  .calendar-list-date {
    width: 100%;
    flex-direction: row;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-right: none;
    border-bottom: 1px solid var(--hb-border);
  }

  .list-date-day {
    font-size: 1.25rem;
  }

  .list-date-weekday {
    margin-top: 0;
  }

  .list-date-today-badge {
    margin-top: 0;
    margin-left: auto;
  }

  .calendar-list-item {
    padding: 0.75rem 1rem;
  }

  .list-item-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
}

@media (max-width: 768px) {
  .calendar-day {
    min-height: 80px;
    padding: 0.25rem;
  }

  .calendar-day-header {
    font-size: 0.625rem;
    padding: 0.5rem 0.25rem;
  }

  .calendar-item {
    padding: 0.25rem;
  }

  .calendar-item-badge,
  .calendar-item-time {
    display: none;
  }

  .calendar-item-title {
    font-size: 0.625rem;
  }
}

@media (max-width: 768px) {
  .post-title {
    font-size: 1.75rem;
  }

  .post-navigation {
    flex-direction: column;
  }

  .post-nav-next {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .roster-table th,
  .roster-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.8125rem;
  }

  .roster-table .col-height,
  .roster-table .col-bats-throws {
    display: none;
  }
}

/* Mobile: Hide all nav items, show only hamburger (under 810px) */
@media (max-width: 810px) {
  .main-navigation {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--hb-navy);
    z-index: 1000;
    transition: right 0.15s ease;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
  }

  .main-navigation.is-open {
    right: 0;
  }

  .main-navigation .nav-menu {
    flex-direction: column;
    gap: 0;
  }

  .main-navigation .nav-menu > li {
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .main-navigation .nav-menu > li:last-child {
    border-bottom: none;
  }

  .main-navigation .nav-menu a {
    padding: 1rem 0;
    font-size: 1.125rem;
  }

  .main-navigation .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0 0 0.5rem 1rem;
    min-width: auto;
    display: block;
  }

  .main-navigation .dropdown-menu a {
    color: rgba(255,255,255,0.7);
    padding: 0.5rem 0;
    font-size: 1rem;
  }

  .main-navigation .dropdown-menu a:hover {
    color: #ffffff;
    background: transparent;
  }

  /* Nested dropdown in mobile menu */
  .main-navigation .nested-dropdown {
    position: static;
    left: auto;
    box-shadow: none;
    background: rgba(0,0,0,0.1);
    border-radius: 0;
    max-height: none;
    padding-left: 1rem;
    display: block;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .menu-toggle.is-active {
    color: var(--hb-gold);
  }

  .site-logo-img {
    height: 120px;
  }

  .site-branding {
    margin-left: 0;
  }

  /* Mobile menu overlay */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
  }

  .menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
  }

  .ticker-item {
    font-size: 0.75rem;
    gap: 0.375rem;
  }

  .ticker-track {
    gap: 2rem;
  }

  .ticker-score {
    font-size: 0.875rem;
  }

  .hero-text h1 {
    font-size: 1.75rem;
  }

  .hero-text .subtitle {
    font-size: 1rem;
  }

  .hero-logo img,
  .hero-logo-placeholder {
    width: 72px;
    height: 72px;
    font-size: 2rem;
  }

  .hero-teams {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .announcement-inner {
    flex-direction: column;
    text-align: center;
  }

  /* Team Home Tab Responsive */
  .team-home-section {
    padding: 1rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .next-game-matchup {
    flex-direction: column;
    gap: 1rem;
  }

  .next-game-vs {
    font-size: 1.25rem;
  }

  .next-game-team-name,
  .next-game-opponent-name {
    font-size: 1rem;
  }

  .next-game-logo {
    width: 60px;
    height: 60px;
  }

  .next-game-details {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  .next-game-card {
    padding: 1rem;
  }

  .team-news-grid {
    grid-template-columns: 1fr;
  }

  .team-coaches-grid {
    flex-direction: column;
    gap: 0.75rem;
  }

  .team-coach-card {
    width: 100%;
  }
}

/* ========================================
   HISTORY PAGES
   ======================================== */

/* History Back Link */
.back-link {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

.back-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--hb-gray);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.1s ease;
}

.back-link a:hover {
  color: var(--hb-blue);
}

/* History Hub Page */
.history-section:first-child {
  padding-top: 2rem;
}

.history-section {
  margin-bottom: 2.5rem;
}

.history-section .section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hb-dark);
  margin-bottom: 1.25rem;
}

.history-section .section-title svg {
  color: var(--hb-blue);
}

.history-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.history-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--hb-dark);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.1s ease;
}

.history-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-color: var(--hb-blue);
}

.history-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--hb-blue), #1e40af);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.history-card-icon svg {
  color: #ffffff;
}

.history-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.history-card p {
  color: #6b7280;
  font-size: 0.9375rem;
  margin: 0;
}

/* Years Grid */
.history-years-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1rem;
}

.history-year-card {
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 1.25rem 1rem;
  text-align: center;
  text-decoration: none;
  color: var(--hb-dark);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.1s ease;
}

.history-year-card:hover {
  background: var(--hb-blue);
  color: #ffffff;
  border-color: var(--hb-blue);
  transform: translateY(-2px);
}

.history-year-card .year-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.history-year-card .year-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
  margin-top: 0.25rem;
}

/* History Page Header */
.history-page-header {
  margin-bottom: 1.5rem;
  padding-top: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.history-header-content {
  flex: 1;
}

.history-page-header .page-description {
  color: #6b7280;
  font-size: 1.125rem;
  margin-top: 0.5rem;
}

.history-year-selector select {
  padding: 0.5rem 2rem 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--hb-border);
  border-radius: 0.5rem;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 0.75rem center;
  appearance: none;
  cursor: pointer;
  min-width: 120px;
}

.history-year-selector select:hover {
  border-color: var(--hb-blue);
}

.history-year-selector select:focus {
  outline: none;
  border-color: var(--hb-blue);
  box-shadow: 0 0 0 3px rgba(0,80,186,0.1);
}

/* History Tabs */
.history-tabs {
  margin-bottom: 1.5rem;
}

.history-tabs .tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: #f3f4f6;
  padding: 0.375rem;
  border-radius: 0.5rem;
}

.history-tabs .tab-btn {
  padding: 0.625rem 1.25rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #6b7280;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: all 0.1s ease;
  white-space: nowrap;
}

.history-tabs .tab-btn:hover {
  color: var(--hb-dark);
  background: rgba(255,255,255,0.5);
}

.history-tabs .tab-btn.active {
  background: #ffffff;
  color: var(--hb-blue);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* History Content */
.history-content {
  margin-top: 2rem;
}

.history-content .card-body {
  padding: 1.5rem;
}

/* Program Accomplishments */
/* Grouped Accomplishments Layout */
.accomplishments-grouped {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.accomplishment-group {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--hb-border);
  flex: 0 1 auto;
  min-width: 200px;
  max-width: 100%;
}

.accomplishment-group-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.accomplishment-group-icon {
  flex-shrink: 0;
}

.accomplishment-group-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.accomplishment-group-title {
  font-size: 0.8125rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.accomplishment-years {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.accomplishment-year-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.05);
}

@media (max-width: 600px) {
  .accomplishments-grouped {
    gap: 0.75rem;
  }

  .accomplishment-group {
    padding: 0.75rem 1rem;
    min-width: calc(50% - 0.375rem);
  }

  .accomplishment-group-title {
    font-size: 0.75rem;
  }

  .accomplishment-year-badge {
    font-size: 0.8125rem;
    padding: 0.2rem 0.4rem;
  }
}

/* Legacy grid layout (kept for backwards compatibility) */
.accomplishments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.accomplishment-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem 1rem;
  text-align: center;
  border: 2px solid var(--hb-border);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.accomplishment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.accomplishment-icon {
  margin-bottom: 0.75rem;
}

.accomplishment-icon svg {
  stroke: currentColor;
}

.accomplishment-year {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.accomplishment-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

/* Accomplishment Types - Grouped Layout */
.accomplishment-default {
  border-color: var(--hb-blue);
  color: var(--hb-blue);
}

.accomplishment-default .accomplishment-group-icon {
  color: var(--hb-blue);
}

.accomplishment-default .accomplishment-year-badge {
  background: rgba(0, 51, 102, 0.1);
  color: var(--hb-blue);
}

/* State Champion - Bright Gold (Most Prestigious) */
.accomplishment-state-champion {
  border-color: #d4af37;
  background: linear-gradient(135deg, #fef9e7 0%, #fff4c4 100%);
  color: #8b6914;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25);
}

.accomplishment-state-champion .accomplishment-group-icon {
  color: #d4af37;
}

.accomplishment-state-champion .accomplishment-year-badge {
  background: rgba(212, 175, 55, 0.2);
  color: #8b6914;
}

/* State Finalist - Silver-Gold */
.accomplishment-state-finalist {
  border-color: #b8b8b8;
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  color: #4a4a4a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.accomplishment-state-finalist .accomplishment-group-icon {
  color: #a8a8a8;
}

.accomplishment-state-finalist .accomplishment-year-badge {
  background: rgba(168, 168, 168, 0.2);
  color: #4a4a4a;
}

/* State Final Four - Silver */
.accomplishment-state-final-four {
  border-color: #9ca3af;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  color: #4b5563;
}

.accomplishment-state-final-four .accomplishment-group-icon {
  color: #9ca3af;
}

.accomplishment-state-final-four .accomplishment-year-badge {
  background: rgba(156, 163, 175, 0.2);
  color: #4b5563;
}

/* Regional Champion - Amber/Orange-Gold */
.accomplishment-regional-champion {
  border-color: #d97706;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #92400e;
}

.accomplishment-regional-champion .accomplishment-group-icon {
  color: #d97706;
}

.accomplishment-regional-champion .accomplishment-year-badge {
  background: rgba(217, 119, 6, 0.15);
  color: #92400e;
}

/* Regional Finalist - Light Amber */
.accomplishment-regional-finalist {
  border-color: #fbbf24;
  background: linear-gradient(135deg, #fffdf7 0%, #fef9e7 100%);
  color: #a16207;
}

.accomplishment-regional-finalist .accomplishment-group-icon {
  color: #fbbf24;
}

.accomplishment-regional-finalist .accomplishment-year-badge {
  background: rgba(251, 191, 36, 0.2);
  color: #a16207;
}

/* District Champion - Bronze/Copper */
.accomplishment-district-champion {
  border-color: #cd7f32;
  background: linear-gradient(135deg, #fef6f0 0%, #fef3eb 100%);
  color: #a66326;
}

.accomplishment-district-champion .accomplishment-group-icon {
  color: #cd7f32;
}

.accomplishment-district-champion .accomplishment-year-badge {
  background: rgba(205, 127, 50, 0.15);
  color: #a66326;
}

/* District Finalist - Muted Bronze/Tan */
.accomplishment-district-finalist {
  border-color: #d4a574;
  background: linear-gradient(135deg, #fdfbf7 0%, #faf6f0 100%);
  color: #8b6a47;
}

.accomplishment-district-finalist .accomplishment-group-icon {
  color: #d4a574;
}

.accomplishment-district-finalist .accomplishment-year-badge {
  background: rgba(212, 165, 116, 0.2);
  color: #8b6a47;
}

/* Legacy support for old card-based type values */
.accomplishment-card.accomplishment-champion {
  border-color: #d4af37;
  background: linear-gradient(135deg, #fef9e7 0%, #fff4c4 100%);
  color: #8b6914;
}

.accomplishment-card.accomplishment-champion .accomplishment-icon {
  color: #d4af37;
}

.accomplishment-card.accomplishment-champion .accomplishment-title {
  color: #8b6914;
}

.accomplishment-card.accomplishment-finalist {
  border-color: #9ca3af;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  color: #4b5563;
}

.accomplishment-card.accomplishment-finalist .accomplishment-icon {
  color: #9ca3af;
}

.accomplishment-card.accomplishment-finalist .accomplishment-title {
  color: #6b7280;
}

.accomplishment-card.accomplishment-qualifier {
  border-color: #cd7f32;
  background: linear-gradient(135deg, #fef6f0 0%, #fef3eb 100%);
  color: #a66326;
}

.accomplishment-card.accomplishment-qualifier .accomplishment-icon {
  color: #cd7f32;
}

.accomplishment-card.accomplishment-qualifier .accomplishment-title {
  color: #a66326;
}

@media (max-width: 480px) {
  .accomplishments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .accomplishment-card {
    padding: 1rem 0.75rem;
  }

  .accomplishment-year {
    font-size: 1.25rem;
  }

  .accomplishment-title {
    font-size: 0.75rem;
  }
}

/* College Commitments */
.commitments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.commitment-card {
  background: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid var(--hb-border);
  overflow: hidden;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.commitment-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.commitment-info {
  padding: 1.5rem;
  text-align: center;
}

.commitment-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--hb-black);
  letter-spacing: 0.02em;
}

.commitment-details {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.commitment-year {
  color: #6b7280;
}

.commitment-level {
  font-weight: 600;
  color: var(--hb-blue);
}

.commitment-college {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.commitment-college a {
  color: var(--hb-blue);
  text-decoration: none;
  transition: color 0.1s ease;
}

.commitment-college a:hover {
  color: var(--hb-blue-dark);
  text-decoration: underline;
}

@media (max-width: 640px) {
  .commitments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .commitment-info {
    padding: 1rem;
  }

  .commitment-name {
    font-size: 1rem;
  }

  .commitment-college {
    font-size: 0.875rem;
  }
}

/* Commitments View Toggle */
.commitments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.commitments-view-toggle {
  display: flex;
  gap: 0.25rem;
  background: var(--hb-card-bg);
  border-radius: 0.5rem;
  padding: 0.25rem;
  border: 1px solid var(--hb-border);
}

.commitments-view-toggle .view-toggle-btn {
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  color: var(--hb-gray);
  cursor: pointer;
  transition: all 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.commitments-view-toggle .view-toggle-btn:hover {
  color: var(--hb-blue);
}

.commitments-view-toggle .view-toggle-btn.active {
  background: var(--hb-blue);
  color: #ffffff;
}

.commitments-view {
  display: none;
}

.commitments-view.active {
  display: grid;
}

.commitments-table-wrapper.active {
  display: block;
}

/* Commitments Table View */
.commitments-table-wrapper {
  background: #ffffff;
  border: 1px solid var(--hb-border);
  border-radius: 0.75rem;
  overflow: hidden;
}

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

.commitments-table thead {
  background: linear-gradient(135deg, var(--hb-blue), var(--hb-blue-dark));
  color: #ffffff;
}

.commitments-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.commitments-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--hb-border);
  font-size: 0.9375rem;
}

.commitments-table tbody tr:last-child td {
  border-bottom: none;
}

.commitments-table tbody tr:hover {
  background: rgba(0,80,186,0.03);
}

.commitments-table a {
  color: var(--hb-blue);
  text-decoration: none;
  font-weight: 500;
}

.commitments-table a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .commitments-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .commitments-table th,
  .commitments-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.8125rem;
  }

  .commitments-table th:nth-child(4),
  .commitments-table td:nth-child(4) {
    display: none;
  }
}

/* TablePress Styling */
table.tablepress {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  font-size: 0.9375rem;
  border: 1px solid #e5e7eb !important;
  border-radius: 0.5rem;
}

.tablepress thead th {
  background: linear-gradient(to right, rgba(0,80,186,0.05), transparent);
  color: var(--hb-dark);
  font-weight: 700;
  text-align: left;
  padding: 0.875rem 1rem;
  border: none;
  border-bottom: 1px solid #e5e7eb;
  white-space: nowrap;
}

.tablepress thead th:first-child {
  border-radius: 0.5rem 0 0 0;
}

.tablepress thead th:last-child {
  border-radius: 0 0.5rem 0 0;
}

.tablepress tbody tr:last-child td:first-child {
  border-radius: 0 0 0 0.5rem;
}

.tablepress tbody tr:last-child td:last-child {
  border-radius: 0 0 0.5rem 0;
}

.tablepress tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: middle;
}

.tablepress tbody tr:last-child td {
  border-bottom: none;
}

.tablepress tbody tr:nth-child(even) {
  background: #f9fafb;
}

.tablepress tbody tr:hover {
  background: #f3f4f6;
}

/* Stats Tab - Compact TablePress Styling */
.stats-tab-content table.tablepress {
  font-size: 0.8125rem;
}

.stats-tab-content .tablepress thead th {
  padding: 0.5rem 0.625rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  background: var(--hb-blue);
  color: #ffffff;
}

.stats-tab-content .tablepress tbody td {
  padding: 0.375rem 0.625rem;
  font-size: 0.8125rem;
}

.stats-tab-content .tablepress tbody tr:nth-child(odd) {
  background: #ffffff;
}

.stats-tab-content .tablepress tbody tr:nth-child(even) {
  background: #f8fafc;
}

.stats-tab-content .tablepress tbody tr:hover {
  background: #e0f2fe;
}

/* Hide DataTables controls in stats tables */
.stats-tab-content .dataTables_wrapper .dataTables_length,
.stats-tab-content .dataTables_wrapper .dataTables_filter,
.stats-tab-content .dataTables_wrapper .dataTables_info,
.stats-tab-content .dataTables_wrapper .dataTables_paginate {
  display: none !important;
}

/* Hide sorting arrows */
.stats-tab-content .tablepress thead th.sorting::before,
.stats-tab-content .tablepress thead th.sorting::after,
.stats-tab-content .tablepress thead th.sorting_asc::before,
.stats-tab-content .tablepress thead th.sorting_asc::after,
.stats-tab-content .tablepress thead th.sorting_desc::before,
.stats-tab-content .tablepress thead th.sorting_desc::after {
  display: none !important;
}

.stats-tab-content .tablepress thead th {
  cursor: default !important;
}

/* Scrollable container for stats tables */
.stats-tab-content .tablepress-container {
  width: 100%;
  max-width: calc(100vw - 2rem);
  overflow-x: auto !important;
  overflow-y: visible;
  border: 1px solid var(--hb-border);
  border-radius: 0.5rem;
  display: block;
  position: relative;
}

@media (min-width: 1200px) {
  .stats-tab-content .tablepress-container {
    max-width: 100%;
  }
}

/* Always show horizontal scrollbar */
.stats-tab-content .tablepress-container::-webkit-scrollbar {
  height: 14px;
  background: #e2e8f0;
  display: block;
}

.stats-tab-content .tablepress-container::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 7px;
}

.stats-tab-content .tablepress-container::-webkit-scrollbar-thumb {
  background: #64748b;
  border-radius: 7px;
  border: 3px solid #e2e8f0;
}

.stats-tab-content .tablepress-container::-webkit-scrollbar-thumb:hover {
  background: #475569;
}

/* Firefox scrollbar */
.stats-tab-content .tablepress-container {
  scrollbar-width: auto;
  scrollbar-color: #64748b #e2e8f0;
}

/* Table inside container */
.stats-tab-content table.tablepress {
  border: none !important;
  border-radius: 0;
  margin: 0 !important;
  width: auto !important;
  min-width: 800px;
}

/* Prevent page horizontal scroll */
#tab-stats {
  overflow-x: hidden;
  max-width: 100%;
}

/* Sticky first 3 columns (#, Last, First) */
.stats-tab-content .tablepress thead th:nth-child(1),
.stats-tab-content .tablepress tbody td:nth-child(1) {
  position: sticky !important;
  left: 0 !important;
  z-index: 10;
  width: 40px;
  min-width: 40px;
  max-width: 40px;
}

.stats-tab-content .tablepress thead th:nth-child(2),
.stats-tab-content .tablepress tbody td:nth-child(2) {
  position: sticky !important;
  left: 40px !important;
  z-index: 10;
  width: 80px;
  min-width: 80px;
  max-width: 80px;
}

.stats-tab-content .tablepress thead th:nth-child(3),
.stats-tab-content .tablepress tbody td:nth-child(3) {
  position: sticky !important;
  left: 120px !important;
  z-index: 10;
  width: 70px;
  min-width: 70px;
  max-width: 70px;
  box-shadow: 2px 0 4px rgba(0,0,0,0.1);
}

/* Bold for first 3 columns */
.stats-tab-content .tablepress tbody td:nth-child(1),
.stats-tab-content .tablepress tbody td:nth-child(2),
.stats-tab-content .tablepress tbody td:nth-child(3) {
  font-weight: 600;
}

/* Background for sticky header cells */
.stats-tab-content .tablepress thead th:nth-child(1),
.stats-tab-content .tablepress thead th:nth-child(2),
.stats-tab-content .tablepress thead th:nth-child(3) {
  background: var(--hb-blue) !important;
  z-index: 11;
}

/* Background for sticky body cells - must be opaque */
.stats-tab-content .tablepress tbody td:nth-child(1),
.stats-tab-content .tablepress tbody td:nth-child(2),
.stats-tab-content .tablepress tbody td:nth-child(3) {
  background: #ffffff !important;
}

.stats-tab-content .tablepress tbody tr:nth-child(even) td:nth-child(1),
.stats-tab-content .tablepress tbody tr:nth-child(even) td:nth-child(2),
.stats-tab-content .tablepress tbody tr:nth-child(even) td:nth-child(3) {
  background: #f8fafc !important;
}

.stats-tab-content .tablepress tbody tr:hover td:nth-child(1),
.stats-tab-content .tablepress tbody tr:hover td:nth-child(2),
.stats-tab-content .tablepress tbody tr:hover td:nth-child(3) {
  background: #e0f2fe !important;
}

/* TablePress responsive wrapper */
.tablepress-scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* TablePress table titles (first row used as title) */
.tablepress .row-1 td,
.tablepress tr.row-1 td {
  background: transparent !important;
  color: var(--hb-dark) !important;
  font-size: 1.125rem;
  font-weight: 700;
  border-bottom: 2px solid var(--hb-dark);
  padding-top: 1.5rem;
}

/* First table's title row doesn't need extra top padding */
.card-body > .tablepress-scroll-wrapper:first-child .tablepress .row-1 td,
.history-content > .tablepress-scroll-wrapper:first-child .tablepress .row-1 td {
  padding-top: 0.75rem;
}

/* TablePress table name heading (if used) */
.tablepress-table-name {
  color: var(--hb-dark);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem 0;
}

.tablepress-table-description {
  color: #6b7280;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

/* Multiple tables spacing */
.history-content .tablepress-scroll-wrapper + .tablepress-table-name,
.history-content .tablepress + .tablepress-table-name,
.card-body .tablepress-scroll-wrapper + .tablepress-table-name,
.card-body .tablepress + .tablepress-table-name {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

/* Nested Dropdown Navigation */
.main-navigation .has-nested-dropdown > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.main-navigation .has-nested-dropdown > a svg {
  flex-shrink: 0;
}

.main-navigation .nested-dropdown {
  display: none;
  position: absolute;
  right: 100%;
  left: auto;
  top: 0;
  min-width: 120px;
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 0.5rem 0;
  z-index: 1001;
  max-height: 400px;
  overflow-y: auto;
}

.main-navigation .has-nested-dropdown:hover > .nested-dropdown {
  display: block;
}

.main-navigation .nested-dropdown a {
  padding: 0.5rem 1rem;
  display: block;
  font-size: 0.9375rem;
}

/* Mobile History Styles */
@media (max-width: 768px) {
  .history-cards {
    grid-template-columns: 1fr;
  }

  .history-years-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .history-year-card {
    padding: 1rem 0.75rem;
  }

  .history-year-card .year-number {
    font-size: 1.25rem;
  }

  .history-tabs .tab-buttons {
    flex-direction: column;
  }

  .history-tabs .tab-btn {
    text-align: center;
  }

  .tablepress {
    font-size: 0.875rem;
  }

  .tablepress thead th,
  .tablepress tbody td {
    padding: 0.625rem 0.75rem;
  }

  /* Mobile nested dropdown */
  .main-navigation .nested-dropdown {
    position: static;
    left: auto;
    box-shadow: none;
    background: rgba(0,0,0,0.1);
    border-radius: 0;
    max-height: none;
    padding-left: 1rem;
  }
}

/* ========================================
   PRIVACY POLICY PAGE
======================================== */
.privacy-policy-content {
  max-width: 800px;
  line-height: 1.7;
}

.privacy-policy-content h2 {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--hb-blue);
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--hb-border);
}

.privacy-policy-content h2:first-child {
  margin-top: 0;
}

.privacy-policy-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #333;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.privacy-policy-content p {
  margin-bottom: 1rem;
  color: #444;
}

.privacy-policy-content ul {
  margin: 0 0 1rem 1.5rem;
  padding: 0;
}

.privacy-policy-content ul li {
  margin-bottom: 0.5rem;
  color: #444;
}

.privacy-policy-content a {
  color: var(--hb-blue);
  text-decoration: underline;
}

.privacy-policy-content a:hover {
  color: var(--hb-blue-dark);
}

/* ========================================
   AFFILIATION LOGOS (OCC & OHSAA)
======================================== */

/* Footer Affiliations */
.footer-affiliations {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 1rem;
}

.affiliations-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.affiliations-logos {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.affiliation-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.affiliation-logo:hover {
  opacity: 0.8;
}

.affiliation-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}


/* Schedule List Affiliation Logos */
.schedule-affiliation-logo {
  height: 18px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 0.25rem;
}

/* OCC logo in schedule needs dark background */
.schedule-affiliation-occ {
  background: #1a1a1a;
  padding: 3px 5px;
  border-radius: 3px;
  height: 22px;
}

/* Next Game Card Affiliation Logos */
.next-game-affiliation-logo {
  height: 22px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 0.375rem;
}

.next-game-affiliation-occ {
  background: #1a1a1a;
  padding: 4px 6px;
  border-radius: 4px;
  height: 28px;
}

/* Game Detail Page Affiliation Logos */
.game-type-with-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.game-detail-affiliation-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.game-detail-affiliation-occ {
  background: #1a1a1a;
  padding: 4px 8px;
  border-radius: 4px;
  height: 30px;
}

/* Schedule badges alignment */
.schedule-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
}

/* Next game badges alignment */
.next-game-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .footer-affiliations {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 0;
  }

  .affiliations-logos {
    gap: 1rem;
  }

  .affiliation-logo img {
    height: 32px;
  }

  .schedule-affiliation-logo {
    height: 16px;
  }

  .schedule-affiliation-occ {
    height: 20px;
    padding: 2px 4px;
  }

  .next-game-affiliation-logo {
    height: 20px;
  }

  .next-game-affiliation-occ {
    height: 26px;
    padding: 3px 5px;
  }
}