/* ── WPISL Site Stylesheet ──────────────────────────────────────────── */
:root {
  --blue:        #1A5FA8;
  --blue-dark:   #134a87;
  --blue-light:  #1e6fc0;
  --silver:      #C8CDD4;
  --silver-light:#E8EAED;
  --silver-dark: #9aa0a8;
  --yellow:      #E8D44D;
  --white:       #FFFFFF;
  --offwhite:    #F4F6F8;
  --text:        #0D1F35;
  --gray:        #6B7A8D;
  --border:      rgba(26,95,168,0.15);
  --radius:      6px;
  --font-head:   'Bebas Neue', 'Barlow Condensed', sans-serif;
  --font-body:   'Inter', 'Barlow', sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
  background: var(--offwhite);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* ── HEADER ── */
header {
  background: var(--blue);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(26,95,168,0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 62px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img { height: 46px; width: auto; }

.logo-text .org {
  display: block;
  font-family: var(--font-head);
  font-size: 26px;
  color: #fff;
  letter-spacing: 3px;
  line-height: 1;
}

.logo-text .tagline {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px;
  margin-top: 1px;
  font-family: var(--font-body);
}

nav { display: flex; gap: 2px; }

nav a {
  font-family: var(--font-head);
  font-size: 17px;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}

nav a:hover, nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.12);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
}

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  border-bottom: 4px solid var(--silver);
  padding: 32px 24px;
}

.page-hero-inner { max-width: 1200px; margin: 0 auto; }

.page-hero h1 {
  font-family: var(--font-head);
  font-size: 48px;
  color: #fff;
  letter-spacing: 3px;
}

.page-hero p {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
}

/* ── HOME HERO ── */
.home-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 100%);
  border-bottom: 4px solid var(--silver);
  padding: 52px 24px 44px;
  overflow: hidden;
}

.home-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.hero-logo {
  height: 260px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.35));
}

.hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 10px;
  font-family: var(--font-body);
}

.home-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1;
  color: #fff;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.home-hero h1 span { color: var(--yellow); }

.home-hero p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  max-width: 400px;
  line-height: 1.6;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--blue-dark);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 14px 24px;
  width: 100%;
}

.stats-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.stat-number {
  font-family: var(--font-head);
  font-size: 28px;
  color: var(--yellow);
  letter-spacing: 2px;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ── MAIN LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  flex: 1;
}

.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
}

/* ── SECTION HEADER ── */
.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.section-header h2 {
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--blue);
  white-space: nowrap;
}

.section-header .sh-line { flex: 1; height: 2px; background: var(--silver-light); }
.section-header .sh-dot { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.card-header { background: var(--blue); padding: 12px 18px; }

.card-header h3 {
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: 2px;
  color: #fff;
}

.card-body { padding: 18px; }

/* ── NEWS CARDS ── */
.news-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 14px;
  transition: transform 0.15s;
}

.news-card:hover { transform: translateX(3px); }

.news-date {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 4px;
}

.news-card h3 {
  font-family: var(--font-head);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 6px;
}

.news-card p { font-size: 13px; color: var(--gray); line-height: 1.6; }

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  padding: 6px 14px;
  background: rgba(26,95,168,0.06);
  border-radius: 4px;
  border: 1px solid var(--border);
  transition: background 0.15s;
}

.news-link:hover { background: rgba(26,95,168,0.12); color: var(--blue-dark); }
.news-link::after { content: '→'; }

/* ── STANDINGS ── */
.div-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--silver-light);
  background: var(--offwhite);
}

.div-tab {
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid var(--silver);
  color: var(--gray);
  text-decoration: none;
  transition: all 0.15s;
}

.div-tab:hover { color: var(--text); border-color: var(--silver-dark); }
.div-tab.active { background: var(--blue); color: #fff; border-color: var(--blue); }

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

.standings-table thead th {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--gray);
  padding: 9px 14px;
  text-align: left;
  border-bottom: 1px solid var(--silver-light);
  background: var(--offwhite);
}

.standings-table thead th:not(:first-child) { text-align: center; }
.standings-table tbody tr { border-bottom: 1px solid var(--silver-light); transition: background 0.1s; }
.standings-table tbody tr:hover { background: rgba(26,95,168,0.04); }
.standings-table td { padding: 9px 14px; font-size: 13px; color: var(--text); }
.standings-table td:not(:first-child) { text-align: center; color: var(--gray); }
.standings-table td.pts { color: var(--blue); font-weight: 700; font-size: 16px; font-family: var(--font-head); letter-spacing: 1px; }

.standings-table tbody tr:first-child td:first-child { padding-left: 14px; }
.standings-table tbody tr:first-child td:first-child::before { content: none; }

.standings-footer { padding: 8px 14px; font-size: 11px; color: var(--gray); border-top: 1px solid var(--silver-light); background: var(--offwhite); }

/* ── QUICK LINKS ── */
.quick-links { list-style: none; }
.quick-links li { border-bottom: 1px solid var(--silver-light); }
.quick-links li:last-child { border: none; }
.quick-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  color: var(--gray);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
}
.quick-links a:hover { color: var(--blue); background: var(--offwhite); }
.quick-links a::after { content: '›'; font-size: 18px; color: var(--silver); }
.quick-links a:hover::after { color: var(--blue); }

/* ── SCHEDULE TABLE ── */
.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table thead th {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--gray);
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--silver-light);
  background: var(--offwhite);
}
.schedule-table tbody tr { border-bottom: 1px solid var(--silver-light); }
.schedule-table tbody tr:hover { background: rgba(26,95,168,0.03); }
.schedule-table td { padding: 10px 14px; font-size: 13px; }

.badge { display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; }
.badge-blue   { background: rgba(26,95,168,0.1); color: var(--blue); }
.badge-green  { background: rgba(22,163,74,0.1);  color: #16a34a; }
.badge-gray   { background: var(--silver-light);   color: var(--gray); }
.badge-red    { background: rgba(220,38,38,0.1);   color: #dc2626; }

.score { font-family: var(--font-head); font-weight: 400; font-size: 18px; color: var(--text); letter-spacing: 1px; }
.score .winner { color: var(--blue); }

/* ── DATA TABLE ── */
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead th {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 1.5px;
  color: var(--gray);
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--silver-light);
  background: var(--offwhite);
}
.data-table td { padding: 10px 14px; font-size: 13px; border-bottom: 1px solid var(--silver-light); }
.data-table tr:hover td { background: rgba(26,95,168,0.03); }

/* ── PHOTO GRID ── */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.photo-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); border: 0.5px solid var(--border); transition: transform 0.2s; }
.photo-item img:hover { transform: scale(1.02); }
.photo-caption { font-size: 12px; color: var(--gray); margin-top: 4px; text-align: center; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.contact-card { background: var(--white); border: 0.5px solid var(--border); border-radius: var(--radius); padding: 20px; }
.contact-card h3 { font-family: var(--font-head); font-size: 20px; letter-spacing: 1px; color: var(--blue); margin-bottom: 4px; }
.contact-card .role { font-size: 12px; color: var(--gray); margin-bottom: 10px; }
.contact-card a { font-size: 13px; }

/* ── FOOTER ── */
footer { background: var(--blue-dark); border-top: 3px solid var(--silver); padding: 24px; margin-top: auto; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-brand { font-family: var(--font-head); font-size: 20px; letter-spacing: 3px; color: #fff; }
.footer-brand span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0; margin-top: 2px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }

/* ── ALERTS ── */
.alert { padding: 12px 16px; border-radius: var(--radius); font-size: 13px; margin-bottom: 16px; }
.alert-success { background: rgba(22,163,74,0.1); border: 1px solid rgba(22,163,74,0.3); color: #15803d; }
.alert-error   { background: rgba(220,38,38,0.1); border: 1px solid rgba(220,38,38,0.3); color: #dc2626; }
.alert-info    { background: rgba(26,95,168,0.08); border: 1px solid var(--border); color: var(--blue); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  /* Layout */
  .two-col { grid-template-columns: 1fr; }
  .two-col > aside { order: -1; } /* Standings above news on mobile */

  /* Header */
  .logo-text .tagline { display: none; }
  nav { display: none; flex-direction: column; position: absolute; top: 62px; left: 0; right: 0; background: var(--blue-dark); padding: 8px; z-index: 99; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
  nav.open { display: flex; }
  nav a { padding: 10px 16px; border-radius: 4px; }
  .nav-toggle { display: block; }
  .header-inner { position: relative; }

  /* Hero */
  .hero-logo { height: 160px; }
  .home-hero { padding: 28px 16px; }

  /* Stats bar */
  .stats-bar { padding: 12px 16px; }
  .stats-bar-inner {
    gap: 16px;
    padding: 0;
    justify-content: flex-start;
  }
  .stat-item:last-child { 
    margin-left: 0;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .stat-number { font-size: 22px; }

  /* Page heroes */
  .page-hero { padding: 20px 16px; }
  .page-hero h1 { font-size: 36px; }

  /* Container */
  .container { padding: 20px 16px; }

  /* Schedule table — horizontal scroll */
  .schedule-table { font-size: 12px; }
  .card { overflow-x: auto; }

  /* About page grid */
  div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:repeat(4"] { grid-template-columns: repeat(2,1fr) !important; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { gap: 12px; }
  .footer-social { margin-top: 4px; }
  .footer-copy { display: none; }
}

@media (max-width: 600px) {
  /* Header */
  .logo-img { height: 36px; }
  .logo-text .org { font-size: 20px; }

  /* Hero */
  .home-hero-inner { flex-direction: column-reverse; text-align: center; gap: 20px; }
  .home-hero p { margin: 0 auto; }
  .hero-logo { height: 140px; }
  .home-hero h1 { font-size: 40px; }

  /* Stats bar — 2 columns */
  .stats-bar-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-item:last-child { grid-column: 1/-1; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 10px; margin-left: 0; }

  /* Div tabs wrap nicely */
  .div-tabs { gap: 6px; padding: 8px 10px; }
  .div-tab { font-size: 12px; padding: 4px 8px; }

  /* Coach buttons */
  .coach-btn { padding: 14px 16px; }
  .coach-btn-icon { font-size: 22px; }
  .coach-btn-title { font-size: 16px; }

  /* About stats grid */
  div[style*="grid-template-columns:repeat(4"] { grid-template-columns: repeat(2,1fr) !important; }

  /* Schedule */
  .schedule-table td, .schedule-table th { padding: 8px 8px; }
}


/* ── SOCIAL ICONS ── */
.footer-social { display:flex; gap:10px; align-items:center; }
.social-icon {
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:50%;
  background:rgba(255,255,255,0.2);
  color:#fff;
  text-decoration:none;
  transition:background 0.15s, transform 0.15s;
  border: 1px solid rgba(255,255,255,0.3);
}
.social-icon:hover { background:var(--yellow); color:var(--blue-dark); transform:scale(1.1); border-color:var(--yellow); }

/* ── SEASON BANNER ── */
.season-banner {
  background: var(--yellow);
  padding: 10px 24px;
  text-align: center;
}
.season-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  font-family: var(--font-head);
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--blue-dark);
}

/* ── COACH BUTTONS ── */
.coach-btn {
  display:flex;
  align-items:center;
  gap:14px;
  background:var(--white);
  border:0.5px solid var(--border);
  border-radius:var(--radius);
  padding:18px 20px;
  text-decoration:none;
  transition:transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.coach-btn:hover {
  transform:translateY(-2px);
  box-shadow:0 4px 16px rgba(26,95,168,0.12);
  border-color:var(--blue);
}
.coach-btn-icon { font-size:28px; flex-shrink:0; }
.coach-btn-text { flex:1; }
.coach-btn-title { font-family:var(--font-head);font-size:18px;letter-spacing:1px;color:var(--text);line-height:1.2; }
.coach-btn-sub { font-size:12px;color:var(--gray);margin-top:2px; }