/* Previously Sports Hub Redesign v1 - ESPN-style layout, Bible design system */
/* Template: NFL first, then applied to all sport hubs */

/* === SCOREBOARD STRIP === */
#secScores .ggrid {
  display: flex !important;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
#secScores .ggrid > * {
  flex: 0 0 240px;
  scroll-snap-align: start;
}
#secScores .hub-sub {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--pv-red, #b3541e);
  margin: 18px 0 10px;
  font-weight: 800;
}
#secScores .hub-sub:first-child { margin-top: 0; }

/* Score cards: compact, cream, live highlighted */
#secScores .gcard, #secScores .score-card {
  background: #fffdf8;
  border: 1px solid #e8dcc8;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 1px 3px rgba(60,40,20,.06);
}
#secScores .gcard.is-live, #secScores .score-card.is-live {
  border-color: var(--pv-red, #b3541e);
  border-width: 2px;
  box-shadow: 0 2px 8px rgba(179,84,30,.15);
}

/* === SECTION HEADERS: bolder, ESPN-like === */
.hub-sec > .sec-head {
  border-bottom: 2px solid var(--pv-red, #b3541e);
  padding-bottom: 8px;
  margin-bottom: 20px;
}
.hub-sec > .sec-head h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.hub-sec > .sec-head .kicker {
  color: var(--pv-red, #b3541e);
}

/* === NEWS: featured first story === */
#hubNews > article:first-child,
#hubNews > .news-card:first-child {
  grid-column: 1 / -1;
}
#hubNews > article:first-child img,
#hubNews > .news-card:first-child img {
  aspect-ratio: 16/9;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
}
#hubNews > article:first-child h3,
#hubNews > .news-card:first-child h3 {
  font-size: 22px;
  line-height: 1.25;
}

/* === STANDINGS SIDEBAR: compact table === */
.hub-rail .hub-sec {
  background: #fffdf8;
  border: 1px solid #e8dcc8;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 1px 4px rgba(60,40,20,.06);
}
.hub-rail .hub-sec > .sec-head {
  border-bottom: 1px solid #e8dcc8;
  margin-bottom: 12px;
  padding-bottom: 8px;
}
.hub-rail table {
  width: 100%;
  font-size: 13px;
  border-collapse: collapse;
}
.hub-rail th {
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8a7a5f;
  padding: 6px 4px;
  border-bottom: 1px solid #e8dcc8;
}
.hub-rail td {
  padding: 7px 4px;
  border-bottom: 1px solid #f0e8d8;
}

/* === HERO: tighter, more impactful === */
.hub-hero {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 28px;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
}
.hub-hero .hero-content {
  padding: 28px;
  background: linear-gradient(transparent, rgba(20,12,6,.75));
  width: 100%;
}
.hub-hero h1 {
  color: #fff;
  font-size: clamp(28px, 5vw, 44px);
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

/* === TEAMS: grid not list === */
#secTeams .tdir-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

/* === MOBILE === */
@media (max-width: 760px) {
  .hub-grid {
    display: block !important;
  }
  .hub-rail {
    margin-top: 32px;
  }
  #secScores .ggrid > * {
    flex-basis: 200px;
  }
  .hub-hero { min-height: 160px; }
}

