/* ==========================================================================
   UNIFIED-STYLES.CSS — sub-page residual sheet (league hubs + team pages)
   ==========================================================================
   Loaded SECOND, after css/design-system.css, which is now the canonical
   token + component system for these pages (Phase 2 migration, Task 2.2/2.4;
   see docs/plans/p2-migration-spec.md). Everything that used to live here as
   a `.ptw-*` token/component layer has been migrated to design-system
   classes on nfl/, nba/, mlb/, nhl/ pages via tools/build-pages.php.

   This file now holds only the handful of things that are genuinely
   sub-page-specific and have no home in the shared system.
   ========================================================================== */

/* Fill the full viewport with Ink, including the area below the footer on
   short pages (html has no page class, so target it unconditionally — this
   sheet only ever loads on league/team pages). */
html {
    background: var(--bg-page);
    min-height: 100%;
}

body.league-page,
body.team-page {
    font-family: var(--font-body);
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Nav brand mark — design-system's .site-nav__brand sizes/colors the
   wordmark anchor; the SVG logo mark itself still needs an explicit height. */
.site-nav__brand .brand-mark {
    height: 26px;
}

/* The "P" in the wordmark is brand orange; everything else inherits
   .site-nav__brand's text-primary color. */
.brandword b {
    color: var(--accent-text);
}

/* Team-page pace sentence ("The Bills are on pace for a 12-5 record…") —
   generator emits class="pace-sentence" on #paceSentence. */
.pace-sentence {
    color: var(--text-secondary);
    font-size: var(--text-lg);
    text-align: center;
    margin: var(--space-6) 0;
}

/* SEO intro paragraph sits bare inside a .card with no other markup hook;
   scope to `.card p` rather than adding a class so future card copy stays
   legible by default. */
.card p {
    color: var(--text-secondary);
}
