
  :root {
    --navy: #0f2847;
    --navy-dark: #091a30;
    --gold: #d4a43c;
    --gold-bright: #e8b84a;
    --cream: #f4efe3;
    --cream-dark: #e8dfc9;
    --paper: #faf6ec;
    --ink: #1a1a1a;
    --ink-soft: #3a3633;
    --rule: #8a8170;
    --rule-light: #c8bfa6;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  body {
    font-family: 'Lora', Georgia, serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.55;
    background-image:
      radial-gradient(circle at 20% 30%, rgba(139,115,85,0.04) 0%, transparent 40%),
      radial-gradient(circle at 80% 70%, rgba(139,115,85,0.04) 0%, transparent 40%);
  }
  .masthead-top {
    background: var(--navy);
    color: var(--cream);
    font-family: 'Special Elite', 'Courier New', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem 0;
    border-bottom: 3px double var(--gold);
  }
  .masthead-top-inner {
    max-width: 1300px; margin: 0 auto; padding: 0 1.5rem;
    display: flex; justify-content: space-between;
  }
  .masthead {
    background: var(--paper);
    padding: 0 0 1.75rem;
    text-align: center;
    border-bottom: 6px double var(--navy);
  }
  .masthead-pennants {
    width: 100%;
    padding: 1.5rem 1rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--rule-light);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    background: var(--paper);
  }
  .masthead-pennants a {
    flex: 1 1 0;
    text-decoration: none;
    transition: transform 0.25s;
    display: flex;
    justify-content: center;
    min-width: 0;
  }
  .masthead-pennants a:hover {
    transform: translateY(-4px) rotate(-2deg);
  }
  .masthead-pennants img {
    width: 100%;
    max-width: 160px;
    height: auto;
    display: block;
  }
  .masthead-title-wrap {
    padding: 0 1.5rem;
  }
  .masthead-inner { max-width: 1300px; margin: 0 auto; }
  .masthead-flourish {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.95rem;
    color: var(--rule);
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
  }
  .masthead h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.4rem, 5.2vw, 4.5rem);
    font-weight: 900;
    color: var(--navy);
    letter-spacing: -0.015em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .masthead-sub {
    font-family: 'Special Elite', monospace;
    font-size: 0.85rem;
    color: var(--ink-soft);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--rule-light);
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .masthead-sub span { position: relative; }
  .masthead-sub span:not(:last-child)::after {
    content: '✦';
    position: absolute;
    right: -0.95rem;
    color: var(--gold);
  }
  .nav { background: var(--navy); border-bottom: 3px double var(--gold); }
  .nav-inner {
    max-width: 1300px; margin: 0 auto; padding: 0 1rem;
    display: flex; justify-content: center; flex-wrap: wrap;
  }
  .nav a {
    color: var(--cream);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 1rem 1.1rem;
    position: relative;
    transition: color 0.2s;
  }
  .nav a:hover, .nav a.active { color: var(--gold-bright); }
  .nav a + a::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 1px; height: 14px;
    background: rgba(255,255,255,0.15);
  }
  .featured {
    max-width: 1300px;
    margin: 2.5rem auto 0;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
  }
  .featured-main {
    padding-right: 2rem;
    border-right: 1px solid var(--rule-light);
  }
  .featured-kicker {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
    display: flex; align-items: center; gap: 0.5rem;
  }
  .featured-kicker::before { content: ''; width: 24px; height: 2px; background: var(--gold); }
  .featured-main h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
  }
  .featured-main .byline {
    font-family: 'Special Elite', monospace;
    font-size: 0.8rem;
    color: var(--rule);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1rem;
  }
  .featured-main .lead {
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--ink-soft);
    font-style: italic;
  }
  .featured-main .lead::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    float: left;
    line-height: 0.9;
    padding: 0.2rem 0.5rem 0 0;
    color: var(--navy);
    font-style: normal;
  }
  .featured-side { display: flex; flex-direction: column; gap: 1.25rem; }
  .side-head {
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--navy);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--navy);
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  .side-item { padding-bottom: 1rem; border-bottom: 1px dotted var(--rule-light); }
  .side-item:last-child { border-bottom: none; padding-bottom: 0; }
  .side-item h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy);
    margin-bottom: 0.25rem;
  }
  .side-item time {
    font-family: 'Special Elite', monospace;
    font-size: 0.7rem;
    color: var(--rule);
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .section { max-width: 1300px; margin: 3.5rem auto; padding: 0 1.5rem; }
  .section-title { text-align: center; margin-bottom: 2rem; position: relative; }
  .section-title::before, .section-title::after {
    content: ''; position: absolute; top: 50%; width: 30%; height: 1px; background: var(--rule-light);
  }
  .section-title::before { left: 0; }
  .section-title::after { right: 0; }
  .section-title h2 {
    display: inline-block;
    padding: 0 1.5rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--cream);
    position: relative;
  }
  .section-title p {
    font-family: 'Special Elite', monospace;
    font-size: 0.75rem;
    color: var(--rule);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-top: 0.75rem;
  }
  .scores-board {
    background: var(--paper);
    border: 3px double var(--navy);
    padding: 1.5rem;
    box-shadow: 4px 4px 0 var(--navy-dark);
  }
  .board-header {
    text-align: center;
    border-bottom: 2px solid var(--navy);
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
  }
  .board-header h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 1.75rem;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .board-header p {
    font-family: 'Special Elite', monospace;
    font-size: 0.75rem;
    color: var(--rule);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 0.25rem;
  }
  .scores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 1rem;
  }
  .score-card {
    background: var(--cream);
    border: 1px solid var(--rule-light);
    padding: 1rem 1.15rem;
    transition: all 0.2s;
  }
  .score-card:hover {
    border-color: var(--navy);
    box-shadow: 3px 3px 0 var(--rule-light);
    transform: translate(-1px, -1px);
  }
  .score-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px dashed var(--rule-light);
    font-family: 'Oswald', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 500;
  }
  .status-final { color: var(--ink); font-weight: 700; }
  .status-live {
    color: var(--navy);
    font-weight: 700;
    background: var(--gold);
    padding: 0.1rem 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
  }
  .status-live::before {
    content: '●'; font-size: 0.7rem; animation: pulse 1.5s infinite;
  }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
  .status-upcoming { color: var(--rule); }
  .team-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
  }
  .team-left { display: flex; align-items: center; gap: 0.7rem; flex: 1; }
  .pennant-mini {
    width: 52px; height: 32px;
    flex-shrink: 0;
    object-fit: contain;
    object-position: left center;
  }
  .team-label {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--ink);
  }
  .team-label.winner { font-weight: 700; color: var(--navy); }
  .team-label.loser { color: var(--rule); }
  .team-score-num {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--navy);
    line-height: 1;
  }
  .team-score-num.winner::before {
    content: '◂'; color: var(--gold); margin-right: 0.3rem; font-size: 1rem;
  }
  .team-score-num.loser { color: var(--rule); }
  .standings-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .standings-block {
    background: var(--paper);
    border: 1px solid var(--navy);
    box-shadow: 3px 3px 0 var(--rule-light);
  }
  .standings-block-head {
    background: var(--navy);
    color: var(--paper);
    padding: 0.85rem 1.25rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 3px solid var(--gold);
  }
  .standings-block-head span {
    display: block;
    font-family: 'Special Elite', monospace;
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-top: 0.25rem;
    font-weight: 400;
  }
  table { width: 100%; border-collapse: collapse; }
  thead tr { background: var(--cream-dark); border-bottom: 2px solid var(--navy); }
  th {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-align: left;
    padding: 0.65rem 1rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--navy);
  }
  th:not(:first-child), td:not(:first-child) { text-align: center; }
  td {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--rule-light);
    font-family: 'Oswald', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--ink);
  }
  tbody tr:last-child td { border-bottom: none; }
  tbody tr:nth-child(even) { background: rgba(232,223,201,0.25); }
  tbody tr:hover { background: var(--cream-dark); }
  .team-cell-pennant { display: flex; align-items: center; gap: 0.6rem; }
  .team-cell-pennant img {
    width: 44px; height: 26px;
    object-fit: contain;
    object-position: left center;
    flex-shrink: 0;
  }
  .team-cell-pennant strong {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
  .wl-main { font-weight: 700; color: var(--navy); font-size: 1rem; }
  .streak-good { color: var(--navy); font-weight: 700; letter-spacing: 0.05em; }
  .streak-bad { color: var(--rule); font-weight: 500; letter-spacing: 0.05em; }
  .rank-medal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 0.75rem;
    margin-right: 0.4rem;
    background: var(--rule-light);
    color: var(--navy);
    border-radius: 50%;
  }
  tbody tr:nth-child(1) .rank-medal { background: var(--gold); color: var(--navy); }
  tbody tr:nth-child(2) .rank-medal { background: #b8b0a0; color: var(--navy); }
  tbody tr:nth-child(3) .rank-medal { background: #b08050; color: var(--paper); }
  .schedule-list {
    background: var(--paper);
    border: 3px double var(--navy);
    padding: 1.5rem;
  }
  .schedule-day-block { padding: 1rem 0; border-bottom: 1px solid var(--rule-light); }
  .schedule-day-block:last-child { border-bottom: none; padding-bottom: 0; }
  .schedule-day-block:first-child { padding-top: 0; }
  .sched-date-row {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.85rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--navy);
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
  }
  .sched-date-row small {
    font-family: 'Special Elite', monospace;
    font-size: 0.7rem;
    color: var(--rule);
    letter-spacing: 0.2em;
    font-weight: 400;
  }
  .sched-game {
    display: grid;
    grid-template-columns: 70px 1fr 130px 120px;
    gap: 1rem;
    padding: 0.5rem 0;
    align-items: center;
    font-family: 'Oswald', sans-serif;
  }
  .sched-time { font-weight: 700; color: var(--navy); font-size: 0.95rem; letter-spacing: 0.05em; }
  .sched-match {
    display: flex; align-items: center; gap: 0.55rem;
    font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.03em;
  }
  .sched-match img { width: 40px; height: 24px; object-fit: contain; object-position: left center; }
  .sched-match .at {
    color: var(--rule); font-style: italic;
    font-family: 'Lora', serif; text-transform: lowercase;
    font-size: 0.85rem; padding: 0 0.2rem;
  }
  .sched-sport { display: none; }
  .sched-venue {
    font-size: 0.8rem; color: var(--ink-soft);
    text-align: right; font-family: 'Lora', serif; font-style: italic;
  }
  .sched-sport-group { margin-bottom: 1rem; }
  .sched-sport-header {
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    border-bottom: 1px solid var(--rule-light);
    padding-bottom: 0.25rem;
    margin-bottom: 0.35rem;
  }
  .stats-strip {
    background: var(--navy);
    color: var(--paper);
    padding: 2.5rem 1.5rem;
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
  }
  .stats-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
  }
  .stat-item { border-right: 1px solid rgba(212,164,60,0.3); padding: 0 1rem; }
  .stat-item:last-child { border-right: none; }
  .stat-num {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 3rem;
    color: var(--gold);
    line-height: 1;
  }
  .stat-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cream);
    margin-top: 0.5rem;
    font-weight: 500;
  }
  .pennant-wall {
    background: var(--paper);
    padding: 3.5rem 1.5rem;
    border-top: 6px double var(--navy);
    border-bottom: 6px double var(--navy);
    margin-top: 3.5rem;
  }
  .pennant-wall-inner { max-width: 1300px; margin: 0 auto; }
  .pennants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem 2rem;
    margin-top: 2rem;
  }
  .pennant-card {
    text-align: center;
    text-decoration: none;
    color: var(--navy);
    padding: 0.5rem;
    transition: transform 0.25s;
  }
  .pennant-card:hover { transform: translateY(-4px); }
  .pennant-card img {
    width: 100%;
    height: auto;
    max-height: 110px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(2px 3px 0 rgba(15,40,71,0.15));
  }
  .pennant-card .mascot-line {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic;
    font-size: 1rem;
    color: var(--navy);
    margin-top: 0.5rem;
    letter-spacing: 0.02em;
  }
  .pennant-card .school-full {
    font-family: 'Special Elite', monospace;
    font-size: 0.7rem;
    color: var(--rule);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 0.15rem;
  }
  footer {
    background: var(--navy-dark);
    color: var(--cream);
    padding: 3rem 1.5rem 1.5rem;
    border-top: 3px double var(--gold);
  }
  .footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(212,164,60,0.2);
  }
  .footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
  }
  .footer-brand p {
    font-size: 0.9rem;
    max-width: 400px;
    color: rgba(244,239,227,0.75);
    font-style: italic;
  }
  .footer-col h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212,164,60,0.3);
    font-weight: 600;
  }
  .footer-col ul { list-style: none; }
  .footer-col li { margin-bottom: 0.5rem; }
  .footer-col a {
    color: rgba(244,239,227,0.75);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 'Lora', serif;
  }
  .footer-col a:hover { color: var(--gold); }
  .footer-bottom {
    max-width: 1300px;
    margin: 1.5rem auto 0;
    text-align: center;
    font-family: 'Special Elite', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: rgba(244,239,227,0.5);
    text-transform: uppercase;
  }
  @media (max-width: 900px) {
    .featured, .standings-layout { grid-template-columns: 1fr; gap: 1.5rem; }
    .featured-main { padding-right: 0; border-right: none; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule-light); }
    .stats-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .stat-item { border-right: none; }
    .stat-item:nth-child(odd) { border-right: 1px solid rgba(212,164,60,0.3); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .sched-game { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.6rem; padding: 0.4rem 0; }
    .sched-venue { display: none; }
    .section-title::before, .section-title::after { width: 15%; }
    .masthead-sub { font-size: 0.7rem; gap: 1rem; }
    .masthead-sub span:not(:last-child)::after { display: none; }
    .masthead-pennants { gap: 0.2rem; padding: 1rem 0.5rem; }
    .masthead-pennants img { max-width: 100%; }
  }

/* ==== Meets and Medalists tables (for Golf, XC, Track) ==== */
.meet-block {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed var(--rule-light);
}
.meet-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
}
.meet-header {
  text-align: center;
  margin-bottom: 1rem;
}
.meet-name {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.meet-meta {
  font-family: 'Special Elite', monospace;
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}
.meet-results-table, .medalists-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}
.meet-results-table th, .medalists-table th {
  text-align: left;
  padding: 0.4rem 0.6rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
  border-bottom: 2px solid var(--navy);
}
.meet-results-table td, .medalists-table td {
  padding: 0.45rem 0.6rem;
  border-bottom: 1px dotted var(--rule-light);
}
.meet-results-table tbody tr:nth-child(1) td {
  font-weight: 700;
  color: var(--navy);
}
.medalists-table td:first-child {
  width: 60px;
  text-align: center;
  font-size: 1.1rem;
}

/* League Meet MVP section */
.meet-mvp-section {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 2px solid var(--gold);
}
.meet-mvp-title {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

/* Golf inline newspaper-style meet display */
.golf-meet-scores {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.8;
  text-align: center;
  padding: 0.5rem 1rem;
  max-width: 720px;
  margin: 0 auto;
}
.golf-medalist-line {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  color: var(--ink);
  text-align: center;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--rule-light);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.golf-medalist-label {
  font-family: 'Special Elite', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-right: 0.4rem;
}

/* Meet schedule rows (for Schedule sub-tab on tournament-driven sports) */
.meet-schedule-row {
  padding: 0.85rem 1rem;
  background: var(--paper);
  border-left: 3px solid var(--gold);
  margin-bottom: 0.5rem;
}
.meet-schedule-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.meet-schedule-meta {
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* Meets sub-tab section headings (Upcoming Meets / Completed Meets) */
.meets-section-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px double var(--navy);
}

/* ============================================================================
 * LEAGUE LEADERS PAGE
 * ============================================================================ */

.leaders-section-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.75rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  margin: 2rem 0 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px double var(--navy);
}

.leader-board {
  max-width: 940px;
  margin: 0 auto 3rem;
}

.leader-board-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--gold);
}

.leader-table {
  width: 100%;
  max-width: 820px;
  border-collapse: collapse;
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  table-layout: fixed;
}

.leader-table thead {
  background: var(--navy);
  color: var(--paper);
}

.leader-table th {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  padding: 0.6rem 0.75rem;
  text-align: left;
}

/* Standard board column widths (5 cols: # | Player | School | Grade | Stat) */
.leader-table th:nth-child(1) { width: 3rem; text-align: center; }
.leader-table th:nth-child(2) { width: auto; text-align: left; }
.leader-table th:nth-child(3) { width: 9rem; text-align: left; }
.leader-table th:nth-child(4) { width: 5rem; text-align: center; }
.leader-table th:nth-child(5) { width: 4rem; text-align: center; }

/* Points board column widths (7 cols: # | Player | School | Grade | G | A | Pts) */
.leader-table-points th:nth-child(1) { width: 3rem; text-align: center; }
.leader-table-points th:nth-child(2) { width: auto; text-align: left; }
.leader-table-points th:nth-child(3) { width: 9rem; text-align: left; }
.leader-table-points th:nth-child(4) { width: 5rem; text-align: center; }
.leader-table-points th:nth-child(5) { width: 3rem; text-align: center; }
.leader-table-points th:nth-child(6) { width: 3rem; text-align: center; }
.leader-table-points th:nth-child(7) { width: 4rem; text-align: center; }

/* Goalkeeper board column widths (9 cols: # | Goalkeeper | School | Grade | GP | Saves | GA | GAA | Save% ) */
.leader-table-gk {
  max-width: 940px;
}
.leader-table-gk th:nth-child(1) { width: 2.5rem; text-align: center; }
.leader-table-gk th:nth-child(2) { width: auto; text-align: left; }
.leader-table-gk th:nth-child(3) { width: 8rem; text-align: left; }
.leader-table-gk th:nth-child(4) { width: 4.5rem; text-align: center; }
.leader-table-gk th:nth-child(5) { width: 3rem; text-align: center; }
.leader-table-gk th:nth-child(6) { width: 4rem; text-align: center; }
.leader-table-gk th:nth-child(7) { width: 3rem; text-align: center; }
.leader-table-gk th:nth-child(8) { width: 4rem; text-align: center; }
.leader-table-gk th:nth-child(9) { width: 4.5rem; text-align: center; }

.leader-table td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--rule-light);
}

.leader-table tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}

.leader-rank {
  font-family: 'Special Elite', monospace;
  font-weight: 600;
  color: var(--gold);
  text-align: center;
}

.leader-table td.leader-name {
  font-weight: 600;
  color: var(--navy);
  text-align: left;
}

.leader-jersey {
  font-family: 'Special Elite', monospace;
  font-size: 0.8rem;
  color: var(--rule);
  margin-left: 0.25rem;
}

.leader-table td.leader-school {
  color: var(--ink);
  text-align: left;
}

.leader-grade {
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.85rem;
  text-align: center;
}

.leader-stat {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  font-size: 1.2rem;
}

.leader-stat-secondary {
  font-family: 'Lora', serif;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  font-size: 1rem;
}

.leader-board-subtitle {
  font-family: 'Special Elite', monospace;
  font-size: 0.7rem;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  margin: -0.5rem 0 0.85rem;
  font-style: italic;
}

.leaders-empty {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.leaders-empty-kicker {
  font-family: 'Special Elite', monospace;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.leaders-empty p {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .leader-table {
    font-size: 0.85rem;
  }
  .leader-table th, .leader-table td {
    padding: 0.45rem 0.4rem;
  }
  .leader-grade { display: none; }
  .leader-grade ~ td { /* nothing */ }
}

/* Half-by-half breakdown line on Boys Soccer Results sub-tab score cards */
.score-card-hbh {
  text-align: center;
  font-family: 'Special Elite', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  padding: 0.5rem 0.5rem 0.4rem;
  border-top: 1px dashed var(--rule-light);
  margin-top: 0.4rem;
  line-height: 1.4;
}

/* Leaders sub-tab — League Only / All Games toggle */
.leaders-toggle-bar {
  display: inline-flex;
  gap: 0;
  border: 1px solid var(--navy);
  background: var(--paper);
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
}
.leaders-tables-wrap {
  /* container for the leaderboards */
}
/* Center the toggle bar */
.sport-view-content [data-section="leaders-full"] {
  text-align: center;
}
.sport-view-content [data-section="leaders-full"] .leaders-tables-wrap {
  text-align: left;
}
.leaders-toggle {
  padding: 0.6rem 1.25rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--navy);
  background: var(--paper);
  text-decoration: none;
  border-right: 1px solid var(--navy);
  transition: background 0.15s;
}
.leaders-toggle:last-child {
  border-right: none;
}
.leaders-toggle:hover {
  background: rgba(15, 40, 71, 0.08);
}
.leaders-toggle.active {
  color: var(--paper);
  background: var(--navy);
}

/* ============================================================================
 * TEAM ROSTER WITH STATS (Teams sub-tab + school page integration)
 * ============================================================================ */

/* School picker bar (Teams sub-tab) */
.team-picker-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.team-picker-btn {
  padding: 0.5rem 1rem;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--navy);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.team-picker-btn:hover {
  background: rgba(15, 40, 71, 0.08);
}
.team-picker-btn.active {
  color: var(--paper);
  background: var(--navy);
}

/* School name heading above team roster table */
.team-roster-school-name {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 3px double var(--navy);
}

/* Team summary stats line above the roster table */
.team-roster-summary {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-family: 'Special Elite', monospace;
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.team-roster-summary-stat {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.team-roster-summary-num {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--gold);
}

/* Team roster wrapper */
.team-roster-wrap {
  margin: 0 auto;
  max-width: 980px;
}

/* Team roster table */
.team-roster-block {
  margin-bottom: 2rem;
}
.team-roster-table {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  border-collapse: collapse;
  font-family: 'Lora', serif;
  font-size: 0.92rem;
}
.team-roster-table thead {
  background: var(--navy);
  color: var(--paper);
}
.team-roster-table th {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  padding: 0.55rem 0.5rem;
  text-align: center;
  cursor: help;
}
.team-roster-table th:nth-child(2) { text-align: left; }
.team-roster-table td {
  padding: 0.5rem 0.5rem;
  border-bottom: 1px solid var(--rule-light);
  text-align: center;
  font-size: 0.9rem;
}
.team-roster-table tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}
.team-roster-jersey {
  font-family: 'Special Elite', monospace;
  color: var(--rule);
  font-weight: 600;
}
.team-roster-table td.team-roster-name {
  text-align: left;
  font-weight: 600;
  color: var(--navy);
}
.team-roster-grade {
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.team-roster-pos {
  font-family: 'Special Elite', monospace;
  color: var(--ink-soft);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
.team-roster-num {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.team-roster-pts {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.team-roster-empty {
  text-align: center;
  padding: 2rem;
  font-style: italic;
  color: var(--rule);
  font-family: 'Lora', serif;
}

/* School page team stats section */
.school-team-stats-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--rule);
}
.school-team-stats-section:empty {
  display: none;
}
.school-team-section {
  margin-bottom: 2.5rem;
}
.school-team-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--gold);
}

@media (max-width: 700px) {
  .team-roster-table {
    font-size: 0.78rem;
  }
  .team-roster-table th, .team-roster-table td {
    padding: 0.35rem 0.3rem;
  }
  /* Hide Grade column on very narrow screens to fit */
  .team-roster-table th:nth-child(3),
  .team-roster-table td:nth-child(3) { display: none; }
}

/* Featured story body paragraphs (homepage news) */
.featured-main #home-featured-body p {
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 1rem;
}
.featured-main #home-featured-body p:last-child {
  margin-bottom: 0;
}
.featured-main #home-featured-body p.lead {
  /* Already styled by .lead — but ensure margin works */
  margin-bottom: 1rem;
}
