/* Texas Fuel Basketball — team_court (scoreboard / roster energy; original CSS) */
:root {
  --court: #12151a;
  --charcoal: #1c2129;
  --panel: #252b35;
  --line: #3a4452;
  --fog: #a8b0bc;
  --snow: #f2f4f7;
  --fuel: #e85d04;
  --fuel-hot: #ff7a1a;
  --fuel-deep: #c44d03;
  --lime: #c6f531;
  --home: #e85d04;
  --away: #6b7c93;
  --display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--snow);
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 47px,
      rgba(232, 93, 4, 0.03) 47px,
      rgba(232, 93, 4, 0.03) 48px
    ),
    radial-gradient(800px 420px at 90% 0%, rgba(232, 93, 4, 0.12) 0%, transparent 55%),
    radial-gradient(600px 380px at 0% 40%, rgba(198, 245, 49, 0.05) 0%, transparent 50%),
    var(--court);
  line-height: 1.6;
  font-size: 16.5px;
}
a { color: var(--fuel-hot); text-decoration-thickness: 1px; text-underline-offset: 0.14em; }
a:hover { color: var(--lime); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--fuel); color: #111; padding: 0.5rem 1rem; z-index: 9999; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* —— SCOREBOARD strip (distinct from broadcast on-air) —— */
.scoreboard-strip {
  background: #0a0c0f;
  border-bottom: 2px solid var(--fuel);
  font-variant-numeric: tabular-nums;
}
.scoreboard-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.45rem 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fog);
}
.score-side {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.score-side.away { justify-content: flex-end; }
.score-label {
  font-weight: 700;
  color: var(--snow);
}
.score-num {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--fuel);
  min-width: 2ch;
}
.score-side.away .score-num { color: var(--away); }
.score-clock-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem 0.85rem;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.score-clock {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--lime);
  letter-spacing: 0.12em;
}
.score-venue-tag {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: #7a8494;
}

/* —— team wordmark bar (NO search form) —— */
.team-bar {
  background: var(--charcoal);
  border-bottom: 1px solid var(--line);
}
.team-bar-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.05rem 0 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.wordmark {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  line-height: 0.9;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
}
.wordmark span { color: var(--fuel); }
.wordmark em {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fog);
  margin-top: 0.4rem;
  font-weight: 600;
}
.team-meta {
  text-align: right;
  font-size: 0.8rem;
  color: var(--fog);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.team-meta strong {
  display: block;
  color: var(--lime);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}

/* —— roster nav —— */
.roster-nav-wrap {
  background: #161a20;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}
.roster-nav-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.2rem;
  padding: 0.4rem 0;
}
.roster-nav a {
  color: var(--fog);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  border-bottom: 3px solid transparent;
}
.roster-nav a:hover,
.roster-nav a[aria-current="page"] {
  color: #fff;
  border-bottom-color: var(--fuel);
}

.shell {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

/* —— full-bleed court hero —— */
.court-hero {
  position: relative;
  min-height: min(80vh, 720px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #0e1115 center/cover no-repeat;
}
.court-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(18, 21, 26, 0.92) 0%, rgba(18, 21, 26, 0.55) 45%, rgba(18, 21, 26, 0.3) 100%),
    linear-gradient(180deg, rgba(18, 21, 26, 0.15) 0%, rgba(18, 21, 26, 0.8) 78%, rgba(18, 21, 26, 0.96) 100%);
}
.court-hero-inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0 3rem;
  max-width: 36rem;
  animation: tip-off 0.9s ease-out both;
}
@keyframes tip-off {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.court-hero .brand-signal {
  font-family: var(--display);
  font-size: clamp(2.8rem, 7.5vw, 4.8rem);
  letter-spacing: 0.06em;
  line-height: 0.92;
  margin: 0 0 0.75rem;
  color: #fff;
}
.court-hero .brand-signal span { color: var(--fuel); }
.court-hero h1 {
  font-family: var(--sans);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.7rem;
  color: var(--snow);
  max-width: 28rem;
}
.court-hero .lede {
  margin: 0 0 1.3rem;
  color: var(--fog);
  font-size: 1.02rem;
  max-width: 26rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fuel);
  font-weight: 700;
  margin: 0 0 0.4rem;
}

h1, h2, h3 {
  font-family: var(--display);
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.15;
  font-weight: 400;
}
.prose h2, .prose h3, .article-body h2, .article-body h3 {
  font-family: var(--sans);
  letter-spacing: 0;
  font-weight: 700;
}

.btn {
  display: inline-block;
  background: var(--fuel);
  color: #111 !important;
  text-decoration: none !important;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { background: var(--fuel-hot); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime) !important;
  background: transparent;
  transform: none;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin: 2.25rem 0 1rem;
  padding-top: 0.4rem;
  border-top: 2px solid var(--line);
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
}
.section-head a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fuel-hot);
}

.roster-grid,
.venue-grid,
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.1rem;
  padding: 0 0 2rem;
}
.roster-tile,
.venue-tile,
.feature-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--fuel);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.roster-tile:hover,
.venue-tile:hover,
.feature-card:hover {
  border-color: var(--fuel);
  transform: translateY(-2px);
}
.roster-tile img,
.venue-tile img,
.feature-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) contrast(1.05);
}
.roster-tile .pad,
.venue-tile .pad,
.feature-card .pad {
  padding: 0.95rem 1rem 1.15rem;
}
.roster-tile h3,
.venue-tile h3,
.feature-card h3 {
  font-family: var(--sans);
  font-size: 1.05rem;
  letter-spacing: 0;
  font-weight: 700;
  margin: 0.2rem 0 0.35rem;
  color: #fff;
}
.roster-tile p,
.venue-tile p,
.feature-card p {
  margin: 0;
  color: var(--fog);
  font-size: 0.92rem;
}

.schedule-board {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.75rem;
  align-items: center;
  margin: 0.5rem 0 2.5rem;
  padding: 1.4rem 1.35rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--lime);
}
.schedule-board img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
}
.schedule-board h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin: 0 0 0.65rem;
}
.schedule-board p { color: var(--fog); margin: 0 0 1rem; max-width: 34rem; }

.next-tip {
  background: var(--charcoal);
  border: 1px solid var(--line);
  border-left: 4px solid var(--fuel);
  padding: 1.1rem 1.2rem;
  margin-bottom: 2rem;
}
.next-tip h2 {
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
  color: var(--fuel);
}
.trending-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: tip;
}
.trending-list li {
  counter-increment: tip;
  display: grid;
  grid-template-columns: 1.8rem 1fr;
  gap: 0.55rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}
.trending-list li:last-child { border-bottom: 0; }
.trending-list li::before {
  content: counter(tip, decimal-leading-zero);
  font-family: var(--display);
  color: var(--lime);
  font-size: 1.1rem;
  line-height: 1.2;
}
.trending-list a {
  color: var(--snow);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.trending-list a:hover { color: var(--fuel-hot); }

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--fog);
  margin-bottom: 0.75rem;
  padding-top: 1.35rem;
}
.breadcrumbs a { color: var(--fog); text-decoration: none; }
.breadcrumbs a:hover { color: var(--fuel-hot); }

.page-hero {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--fuel);
  padding: 1.35rem 1.45rem 1.45rem;
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-family: var(--sans);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: 0;
  font-weight: 700;
  margin: 0 0 0.45rem;
  max-width: 42rem;
  line-height: 1.2;
}
.page-hero .subtitle {
  margin: 0;
  color: var(--fog);
  max-width: 40rem;
}
.page-hero .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--fog);
}
.article-lead-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  margin: 0 0 1.25rem;
  border: 1px solid var(--line);
}

.layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 1.25rem 2rem;
  align-items: start;
  padding-bottom: 2.75rem;
}
.layout-grid > .breadcrumbs,
.layout-grid > .page-hero { grid-column: 1 / -1; }
.layout-grid > .article-body,
.layout-grid > article.prose { grid-column: 1; min-width: 0; }
.layout-grid > .sidebar { grid-column: 2; }

.prose { max-width: 44rem; }
.article-body {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.35rem 1.45rem;
}
.article-body p { margin: 0 0 1rem; color: #d0d7e0; }
.article-body a { color: var(--fuel-hot); }
.article-body img,
figure img { max-width: 100%; height: auto; }
.article-body blockquote {
  margin: 1.25rem 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--fuel);
  background: rgba(232, 93, 4, 0.1);
  color: var(--snow);
}

.sidebar .widget {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1rem;
  margin-bottom: 1rem;
}
.sidebar h2 {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: var(--fuel);
  font-weight: 700;
}
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}
.post-list a {
  text-decoration: none;
  font-weight: 600;
  color: var(--snow);
  font-size: 0.92rem;
}
.post-list a:hover { color: var(--fuel-hot); }
.load-more-posts {
  margin-top: 0.75rem;
  width: 100%;
  background: transparent;
  border: 1px solid var(--fuel);
  color: var(--fuel-hot);
  padding: 0.6rem 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.load-more-posts:hover { background: rgba(232, 93, 4, 0.12); }
.load-more-posts:disabled { opacity: 0.5; cursor: wait; }

.contact-form label { display: block; margin: 0.75rem 0; font-weight: 600; }
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  background: var(--charcoal);
  color: var(--snow);
  font: inherit;
}
.toast { padding: 0.75rem; background: rgba(198, 245, 49, 0.1); border: 1px solid var(--lime); }

/* —— SCOREBOARD / ROSTER footer (unique) —— */
.site-foot {
  background: #0a0c0f;
  color: var(--fog);
  margin-top: 2.5rem;
  border-top: 3px solid var(--fuel);
}
.site-foot-score {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-align: center;
}
.site-foot-score span {
  padding: 0.65rem 0.5rem;
  font-size: 0.95rem;
  color: var(--snow);
  border-right: 1px solid var(--line);
}
.site-foot-score span:last-child { border-right: 0; }
.site-foot-score .fuel-cell { color: var(--fuel); }
.site-foot-inner {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.1rem 0 1.6rem;
}
.foot-brand {
  margin-bottom: 1.5rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px dashed var(--line);
}
.foot-wordmark {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: 0.06em;
  color: #fff !important;
  text-decoration: none !important;
  line-height: 1;
}
.foot-wordmark span { color: var(--fuel); }
.foot-brand p {
  margin: 0.6rem 0 0;
  max-width: 34rem;
  color: #788292;
  font-size: 0.95rem;
}
.foot-roster {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}
.foot-col h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 0 0 0.7rem;
  font-weight: 700;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin: 0.32rem 0; }
.site-foot a {
  color: #b6bfcb;
  text-decoration: none;
}
.site-foot a:hover { color: var(--fuel-hot); }
.foot-studio {
  margin: 0.3rem 0;
  color: #788292;
  font-size: 0.9rem;
  line-height: 1.45;
}
.foot-legal {
  background: #060708;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: #5f6978;
}
.foot-legal .site-foot-inner { padding: 0.85rem 0; }
.foot-legal p { margin: 0; }

.search-results { list-style: none; margin: 0; padding: 0; }
.search-result {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.search-result a {
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: #fff;
}
.search-result a:hover { color: var(--fuel-hot); }
.search-result p { margin: 0.35rem 0 0; color: var(--fog); }
.search-empty {
  padding: 1.35rem;
  background: var(--panel);
  border: 1px solid var(--line);
}
.search-box-page {
  display: flex;
  max-width: 28rem;
  margin: 0 0 1.5rem;
  border: 1px solid var(--line);
  background: var(--charcoal);
}
.search-box-page input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--snow);
  padding: 0.65rem 0.85rem;
  font: inherit;
  min-width: 0;
}
.search-box-page button {
  border: 0;
  background: var(--fuel);
  color: #111;
  padding: 0.65rem 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.service-detail {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  align-items: start;
  margin: 0 0 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.service-detail img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.service-detail h2 {
  font-family: var(--sans);
  letter-spacing: 0;
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.sitemap-list {
  columns: 2;
  column-gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sitemap-list li {
  break-inside: avoid;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
}
.sitemap-list a {
  color: var(--snow);
  text-decoration: none;
  font-weight: 600;
}
.sitemap-list a:hover { color: var(--fuel-hot); }

@media (max-width: 900px) {
  .layout-grid { grid-template-columns: 1fr; }
  .layout-grid > .sidebar,
  .layout-grid > .article-body,
  .layout-grid > article.prose { grid-column: 1; }
  .schedule-board { grid-template-columns: 1fr; }
  .schedule-board img { height: 200px; }
  .foot-roster { grid-template-columns: 1fr 1fr; }
  .site-foot-score { font-size: 0.85rem; }
  .scoreboard-inner { grid-template-columns: 1fr; text-align: center; }
  .score-side, .score-side.away { justify-content: center; }
  .score-clock-wrap { border: 0; }
  .court-hero { min-height: min(70vh, 580px); }
  .sitemap-list { columns: 1; }
  .team-meta { text-align: left; }
}
