/* Jersey Index NFL Archive - shared component system
   Palette: gridiron green #16302A, chalk white #F4F1E8, championship gold #C9A130,
   leather brown #8B5A2B, trophy silver #B8B4A8 */

.ji-nfl-wrap { max-width: 1120px; margin: 0 auto; background: #16302A; color: #F4F1E8; font-family: 'Arial Narrow', Arial, sans-serif; }

.ji-nfl-hero { padding: 40px 40px 24px; border-bottom: 3px solid #C9A130; display: flex; justify-content: space-between; align-items: flex-end; }
.ji-nfl-eyebrow { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: #B8B4A8; margin: 0 0 8px; }
.ji-nfl-hero h1 { font-family: 'Impact', 'Arial Narrow', sans-serif; font-size: 46px; letter-spacing: 1px; margin: 0 0 4px; color: #F4F1E8; }
.ji-nfl-sub { color: #B8B4A8; font-size: 14px; margin: 0; }
.ji-nfl-jersey-thumb { width: 70px; height: 84px; background: #1B3A32; border: 1px solid #3D5C50; display: flex; align-items: center; justify-content: center; font-size: 10px; color: #5F7C70; text-align: center; }

.ji-nfl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: #2A4A40; margin: 24px 40px; border: 1px solid #2A4A40; }
.ji-nfl-hcard { background: #1B3A32; padding: 16px 18px; }
.ji-nfl-hcard-label { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: #8FA89C; }
.ji-nfl-hcard-num { font-family: 'Impact', 'Arial Narrow', sans-serif; font-size: 28px; color: #C9A130; margin: 4px 0; }
.ji-nfl-hcard-detail { font-size: 12px; color: #D8D4C8; }

.ji-nfl-section { padding: 8px 40px 32px; }
.ji-nfl-section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.ji-nfl-section-title { font-family: 'Impact', 'Arial Narrow', sans-serif; font-size: 19px; letter-spacing: 0.5px; }
.ji-nfl-section-note { font-size: 12px; color: #8FA89C; }

.ji-nfl-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ji-nfl-table th { text-align: left; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #8FA89C; padding: 6px 10px; border-bottom: 1px solid #2A4A40; }
.ji-nfl-table td { padding: 8px 10px; border-bottom: 1px dashed #24443b; color: #D8D4C8; }
.ji-nfl-table td.num { font-family: 'Courier New', monospace; color: #F4F1E8; }
.ji-nfl-table tr.playoff td { color: #F4F1E8; }
.ji-nfl-badge { font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: #8B5A2B; background: #2A1F15; padding: 2px 5px; margin-left: 6px; }

.ji-nfl-cardrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8px; }
.ji-nfl-mini { background: #1B3A32; border: 1px solid #2A4A40; padding: 12px 14px; }
.ji-nfl-mini-label { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: #8FA89C; }
.ji-nfl-mini-val { font-size: 14px; color: #F4F1E8; margin-top: 4px; }
.ji-nfl-mini-sub { font-size: 11px; color: #8FA89C; margin-top: 2px; }

/* H2H dominance bar - signature element for H2H pages only */
.ji-nfl-bar-section { padding: 28px 40px; border-bottom: 1px solid #2A4A40; }
.ji-nfl-bar-labels { display: flex; justify-content: space-between; margin-bottom: 10px; }
.ji-nfl-bar-team { display: flex; align-items: center; gap: 10px; }
.ji-nfl-bar-swatch { width: 14px; height: 14px; }
.ji-nfl-bar-name { font-family: 'Impact', 'Arial Narrow', sans-serif; font-size: 18px; }
.ji-nfl-bar-pct { font-family: 'Courier New', monospace; font-size: 14px; color: #8FA89C; }
.ji-nfl-bar { display: flex; height: 40px; width: 100%; border: 1px solid #2A4A40; }
.ji-nfl-bar-fig { font-family: 'Courier New', monospace; font-size: 14px; color: #F4F1E8; }
.ji-nfl-bar-caption { font-size: 11px; color: #5F7C70; margin-top: 8px; text-align: center; }

.ji-nfl-eras { display: flex; gap: 0; border: 1px solid #2A4A40; margin-bottom: 24px; }
.ji-nfl-era-tab { flex: 1; text-align: center; padding: 10px; font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase; color: #8FA89C; border-right: 1px solid #2A4A40; cursor: pointer; }
.ji-nfl-era-tab:last-child { border-right: none; }
.ji-nfl-era-tab.active { background: #1B3A32; color: #C9A130; }

.ji-nfl-footnote { padding: 0 40px 40px; font-size: 12px; color: #5F7C70; }

@media (max-width: 700px) {
    .ji-nfl-stats { grid-template-columns: repeat(2, 1fr); }
    .ji-nfl-cardrow { grid-template-columns: repeat(2, 1fr); }
    .ji-nfl-hero h1 { font-size: 32px; }
}


/* NBA-matching breadcrumbs — small, muted, links inherit */
.ji-top-breadcrumbs {
    font-size: 12px;
    line-height: 1.4;
    color: #8FA89C;
    margin: 0 0 12px;
    padding: 16px 40px 0;
}
.ji-top-breadcrumbs a {
    color: inherit;
    text-decoration: none;
}
.ji-top-breadcrumbs a:hover,
.ji-top-breadcrumbs a:focus {
    text-decoration: underline;
}
.ji-top-breadcrumbs span {
    color: inherit;
}

.ji-nfl-search {
    padding: 0 40px 16px;
}
.ji-nfl-search input[type="search"],
.ji-nfl-search input[type="text"] {
    background: #1B3A32;
    border: 1px solid #2A4A40;
    color: #F4F1E8;
    padding: 8px 10px;
    font-size: 14px;
    min-width: 220px;
}
.ji-nfl-search button {
    background: #1B3A32;
    border: 1px solid #2A4A40;
    color: #C9A130;
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
}

.ji-nfl-note {
    padding: 8px 40px 24px;
    font-size: 13px;
    color: #8FA89C;
}

.ji-nfl-sb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #2A4A40;
    border: 1px solid #2A4A40;
}
.ji-nfl-sb-tile {
    background: #16302A;
    padding: 16px 18px;
    text-decoration: none;
    color: inherit;
    display: block;
}
.ji-nfl-sb-tile:hover { background: #1B3A32; }
.ji-nfl-sb-year { font-family: 'Courier New', monospace; font-size: 11px; color: #5F7C70; }
.ji-nfl-sb-score { font-family: 'Impact', 'Arial Narrow', sans-serif; font-size: 15px; color: #D8D4C8; margin: 4px 0; }
.ji-nfl-sb-margin { font-family: 'Courier New', monospace; font-size: 13px; color: #C9A130; }

.ji-nfl-records-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 40px 40px;
}
.ji-nfl-records-card {
    background: #16302A;
    border: 1px solid #2A4A40;
    padding: 20px 22px;
}
.ji-nfl-records-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid #2A4A40;
    padding-bottom: 10px;
    margin-bottom: 12px;
}
.ji-nfl-row {
    display: flex;
    align-items: baseline;
    padding: 6px 0;
    border-bottom: 1px dashed #24443b;
    font-size: 13px;
    color: inherit;
    text-decoration: none;
}
a.ji-nfl-row:hover { background: #1B3A32; }
.ji-nfl-row-rank { font-family: 'Courier New', monospace; color: #5F7C70; width: 20px; }
.ji-nfl-row-label { flex: 1; color: #D8D4C8; }
.ji-nfl-row-label b { color: #F4F1E8; }
.ji-nfl-row-num { font-family: 'Courier New', monospace; color: #C9A130; }

.ji-nfl-letter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 40px 16px;
}
.ji-nfl-letter-nav a,
.ji-nfl-letter-nav span {
    display: inline-block;
    min-width: 28px;
    text-align: center;
    padding: 4px 6px;
    border: 1px solid #2A4A40;
    color: #C9A130;
    text-decoration: none;
    font-size: 13px;
}
.ji-nfl-letter-nav span.is-current { background: #1B3A32; color: #F4F1E8; }

.ji-nfl-season-index {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
}
.ji-nfl-season-index a {
    display: inline-block;
    padding: 6px 10px;
    background: #1B3A32;
    border: 1px solid #2A4A40;
    color: #F4F1E8;
    text-decoration: none;
    font-size: 13px;
}
.ji-nfl-season-index a:hover { color: #C9A130; }

.ji-nfl-list a { color: #F4F1E8; text-decoration: none; }
.ji-nfl-list a:hover { text-decoration: underline; }
.ji-nfl-list { list-style: none; padding: 0; margin: 0; }
.ji-nfl-list li { padding: 6px 0; border-bottom: 1px dashed #24443b; color: #D8D4C8; font-size: 14px; }

@media (max-width: 700px) {
    .ji-nfl-sb-grid { grid-template-columns: 1fr; }
    .ji-nfl-records-grid { grid-template-columns: 1fr; }
    .ji-top-breadcrumbs { padding: 16px 20px 0; }
}

.ji-nfl-jersey-era { display:flex; align-items:flex-end; gap:10px; text-decoration:none; color:inherit; }
.ji-nfl-jersey-era-item { display:flex; flex-direction:column; align-items:center; gap:4px; }
.ji-nfl-jersey-era-label { font-size:10px; color:#C9A130; letter-spacing:.04em; text-transform:uppercase; }
.ji-nfl-jersey-era-cta { font-size:10px; color:#9BB5A8; writing-mode:vertical-rl; transform:rotate(180deg); letter-spacing:.06em; text-transform:uppercase; margin-left:2px; }


/* Design batch: larger team-season jersey + player career strip + team cell links */
.ji-nfl-jersey-thumb--large {
    width: 160px;
    height: 192px;
    object-fit: cover;
}
.ji-nfl-jersey-section { padding-top: 4px; }
.ji-nfl-career-jersey-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: flex-end;
}
.ji-nfl-career-jersey-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    max-width: 90px;
}
.ji-nfl-team-cell .ji-nfl-mini-sub a { color: #C9A130; text-decoration: none; }
.ji-nfl-team-cell .ji-nfl-mini-sub a:hover { text-decoration: underline; }
.ji-nfl-player-writeup { padding-top: 0; }
.ji-nfl-list a { color: #F4F1E8; text-decoration: none; }
.ji-nfl-list a:hover { text-decoration: underline; }


/* Design batch feedback Sep 7: larger career kits, CTAs, prose, H2 titles */
.ji-nfl-section-title {
    margin: 0;
    font-family: 'Impact', 'Arial Narrow', sans-serif;
    font-size: 19px;
    letter-spacing: 0.5px;
    font-weight: normal;
}
h2.ji-nfl-section-title { font-size: 22px; }
.ji-nfl-career-jerseys .ji-nfl-section-title { font-size: 24px; }
.ji-nfl-career-jersey-strip--large { gap: 18px; }
.ji-nfl-career-jersey-item--large { max-width: 130px; }
.ji-nfl-jersey-thumb--career {
    width: 110px;
    height: 132px;
    object-fit: cover;
}
.ji-nfl-cta {
    display: inline-block;
    padding: 8px 14px;
    background: #1B3A32;
    border: 1px solid #C9A130;
    color: #C9A130;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.ji-nfl-cta:hover { background: #24443b; color: #F4F1E8; }
.ji-nfl-jersey-cta-wrap { margin: 12px 0 0; }
.ji-nfl-jersey-era--inline {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    flex-wrap: wrap;
}
.ji-nfl-franchise-writeup { padding-top: 4px; }


/* Season page jersey slider — larger thumbs, one-row scroll, centred CTA */
.ji-nfl-season-jerseys .ji-nfl-section-title {
    color: #F4F1E8;
    font-size: 26px;
}
.ji-nfl-jersey-slider {
    position: relative;
    margin: 8px 0 4px;
}
.ji-nfl-jersey-slider-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 14px;
    scrollbar-color: #C9A130 #1B3A32;
}
.ji-nfl-jersey-slider-track::-webkit-scrollbar {
    height: 8px;
}
.ji-nfl-jersey-slider-track::-webkit-scrollbar-track {
    background: #1B3A32;
}
.ji-nfl-jersey-slider-track::-webkit-scrollbar-thumb {
    background: #C9A130;
    border-radius: 4px;
}
.ji-nfl-career-jersey-item--slide {
    flex: 0 0 auto;
    max-width: 150px;
    scroll-snap-align: start;
}
.ji-nfl-jersey-thumb--slide {
    width: 140px;
    height: 168px;
    object-fit: cover;
    background: #1B3A32;
    border: 1px solid #3D5C50;
}
.ji-nfl-jersey-cta-wrap--center {
    display: flex;
    justify-content: center;
    margin: 16px 0 4px;
}

/* force section title chalk — beat Astra theme h2 color */
.ji-nfl-wrap .ji-nfl-section-title,
.ji-nfl-wrap h2.ji-nfl-section-title,
.ji-nfl-wrap h2,
.entry-content .ji-nfl-wrap h2,
.ast-container .ji-nfl-wrap h2 {
    color: #F4F1E8 !important;
}
.ji-nfl-wrap .ji-nfl-section-note {
    color: #8FA89C !important;
}


/* Players hub: career leader cards above A–Z */
.ji-nfl-players-leaders {
    padding-bottom: 8px;
}
.ji-nfl-players-boards {
    padding-top: 0;
}
.ji-nfl-leader-card .ji-nfl-row-num {
    min-width: 64px;
    text-align: right;
}
.ji-nfl-players-source-note {
    padding: 0 40px 24px;
    margin-top: -8px;
}
.ji-nfl-players-az .ji-nfl-letter-nav {
    padding-left: 0;
    padding-right: 0;
}
