/* Sport hub — compact header + vertical editorial feed */
.page-header {
  padding: calc(var(--nav-height) + var(--ticker-height, 0px) + 12px) 24px 14px;
  border-bottom: 1px solid #e5e7eb;
}

.page-header h1 {
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.page-header p {
  display: none;
}

/* Articles are the wide main column; Featured + shortcuts sit in a narrow right rail */
.hub,
.hub.hub--articles-main {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  gap: 28px;
  align-items: start;
}

.hub-center.hub-feed,
.hub-feed,
.hub--articles-main .hub-center {
  min-width: 0;
  max-width: 100%;
}

.hub-right,
.hub-left,
.hub-rail,
.hub--articles-main .hub-rail {
  min-width: 0;
}

.hub-feed .articles-feed-header {
  margin-bottom: 20px;
}

.hub-feed .articles-feed-header h2 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.hub-feed-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e5e7eb;
}

.hub-feed-item {
  border-bottom: 1px solid #e5e7eb;
}

.hub-feed-link {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  color: inherit;
  transition: background var(--transition);
}

.hub-feed-link:hover {
  background: rgba(243, 244, 246, 0.55);
}

.hub-feed-link:hover .hub-feed-title {
  color: var(--accent);
}

.hub-feed-thumb {
  flex: 0 0 200px;
  width: 200px;
  max-width: 38vw;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
}

.hub-feed-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* The licensed Booker frame has the ball at the right edge. A center 4:3 crop clips it. */
.hub-feed-thumb img[src*="devin-booker-suns.jpg"] {
  object-position: right center;
}

.hub-feed-body {
  flex: 1;
  min-width: 0;
}

.hub-feed-category {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.hub-feed-time {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.hub-feed-title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 8px;
  transition: color var(--transition);
}

.hub-feed-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.hub-feed-byline {
  margin: 8px 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hub-feed-byline .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

/* Compact featured video + shortcuts in the right rail */
.hub-right .widget,
.hub-left .widget,
.hub-rail .widget {
  margin-bottom: 16px;
}

.widget.widget-videos {
  margin-bottom: 16px;
}

.widget.widget-videos .widget-header {
  padding: 12px 14px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.widget.widget-videos .widget-videos-body {
  padding: 12px 14px 14px;
}

.widget.widget-videos .video-embed-wrap {
  aspect-ratio: 16 / 9;
  width: 100%;
  margin-bottom: 12px;
  border-radius: 8px;
}

.widget.widget-videos .video-embed-wrap iframe {
  border-radius: 8px;
}

.widget.widget-videos .btn-youtube-more {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.85rem;
  font-weight: 700;
  min-height: 42px;
  border-radius: var(--radius-md, 12px);
}

.hub-right .league-shortcuts,
.hub-left .league-shortcuts,
.hub-rail .league-shortcuts {
  padding: 12px 14px 14px;
  gap: 8px;
}

.hub-right .league-pill,
.hub-left .league-pill,
.hub-rail .league-pill {
  padding: 6px 12px;
  font-size: 0.75rem;
}

@media (max-width: 1100px) {
  /* Sidebar does not fit cleanly — stack Featured / Shortcuts under articles */
  .hub,
  .hub.hub--articles-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hub-right,
  .hub-left,
  .hub-rail,
  .hub.hub--articles-main .hub-rail {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .hub-right .widget,
  .hub-left .widget,
  .hub-rail .widget {
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  .hub,
  .hub.hub--articles-main {
    grid-template-columns: 1fr;
    overflow-x: hidden;
  }

  .hub-feed-link {
    flex-direction: column;
    gap: 14px;
    padding: 18px 0;
  }

  .hub-feed-thumb {
    flex: none;
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 10;
  }

  .hub-rail,
  .hub.hub--articles-main .hub-rail {
    grid-template-columns: 1fr;
  }
}
