/* league_team.css — League and Team pages */

/* ── PAGE HERO ── */
.lt-hero {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 1.5rem 1rem 1rem;
    margin-bottom: 1.25rem;
    text-align: center;
}

.lt-hero img {
    height: 64px;
    width: 64px;
    object-fit: contain;
    margin-bottom: .6rem;
}

.lt-hero h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d2f3e;
    margin: 0 0 .2rem;
}

.lt-hero .lt-meta {
    font-size: .82rem;
    color: #6b7280;
    margin: 0;
}

/* ── SECTION CARD ── */
.lt-section {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    padding: 1rem 1rem .5rem;
    margin-bottom: 1rem;
}

.lt-section-title {
    font-size: .95rem;
    font-weight: 700;
    color: #2d2f3e;
    margin: 0 0 .75rem;
    padding-bottom: .4rem;
    border-bottom: 2px solid #f0f1f5;
}

.lt-section-subtitle {
    font-size: .75rem;
    font-weight: 400;
    color: #9ca3af;
    margin-left: .4rem;
}

/* ── STAT PILLS (league stats row) ── */
.lt-stat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .6rem;
}

.lt-stat-pill {
    flex: 1 1 calc(33% - .5rem);
    min-width: 80px;
    background: #f7f8fc;
    border-radius: 8px;
    padding: .5rem .4rem;
    text-align: center;
}

.lt-stat-pill .pill-val {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d2f3e;
    line-height: 1.2;
}

.lt-stat-pill .pill-lbl {
    font-size: .7rem;
    color: #6b7280;
    margin-top: .15rem;
}

/* ── STANDINGS TABLE ── */
.lt-table {
    font-size: .83rem;
    margin-bottom: 0;
}

.lt-table thead th {
    background: #2d2f3e;
    color: #fff;
    font-weight: 600;
    padding: .4rem .5rem;
    white-space: nowrap;
}

.lt-table tbody td,
.lt-table tbody th {
    padding: .35rem .5rem;
    vertical-align: middle;
}

.lt-table tbody tr:hover {
    background: #f7f8fc;
}

.lt-club-cell {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lt-club-cell img {
    height: 18px;
    width: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ── RECENT FIXTURES TABLE ── */
.lt-fixtures-table {
    font-size: .8rem;
}

.lt-fixtures-table th {
    white-space: nowrap;
}

.lt-match-cell {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.lt-match-cell img {
    height: 14px;
    width: 14px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ── TEAM PERFORMANCE CARDS ── */
.lt-perf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin-bottom: .75rem;
}

@media (min-width: 576px) {
    .lt-perf-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.lt-perf-card {
    background: #f7f8fc;
    border-radius: 8px;
    padding: .5rem .3rem;
    text-align: center;
}

.lt-perf-card .perf-val {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d2f3e;
    line-height: 1.2;
}

.lt-perf-card .perf-lbl {
    font-size: .68rem;
    color: #6b7280;
    margin-top: .1rem;
}
