.uslegi-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    background: linear-gradient(180deg, #0f172a 0%, #0b1220 60%);
    color: #e6eef8;
    text-align: center;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 6px 30px rgba(2,6,23,0.6);
}

    .uslegi-hero .inner {
        max-width: 960px;
    }

    .uslegi-hero h1 {
        margin: 0 0 .25rem 0;
        font-size: 1.5rem;
        font-weight: 700;
    }

    .uslegi-hero p.lead {
        margin: .25rem 0 0;
        color: #cfe6ff;
        font-size: 1rem;
    }

.section-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 920px) {
    .section-grid {
        grid-template-columns: 1fr;
    }
}

.header .panel {
    background: black;
}


.panel {
    background: lightgrey;
    border-radius: 10px;
    padding: 1rem;
    margin: 0.25rem;
    box-shadow: 0 6px 18px rgba(8,15,30,0.06);
    color: #0b1220;
}

.small-panel {
    background: rgba(255,255,255,0.03);
    color: #1F1E1C;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: none;
}

.meta-small {
    font-size: .9rem;
    color: #1a1a1a;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .5rem;
}

@media (max-width: 580px) {
    .people-grid {
        grid-template-columns: 1fr;
    }
}

.person-card {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: .5rem;
    border-radius: 8px;
    background: #f8f9fb;
    color: #0b1220;
    text-decoration: none;
}


.person-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: black;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

    .person-avatar.Democratic {
        background: blue;
    }
    .person-avatar.Republican {
        background: red;
    }

.person-meta {
    font-size: .95rem;
}

    .person-meta .role {
        font-size: .8rem;
        color: #6b7280;
    }

.followed-list {
    display: grid;
    gap: .4rem;
}

.followed-item {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: .5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(8,15,30,0.04);
}

    .followed-item a {
        font-weight: 600;
        color: #332E22;
        text-decoration: none;
    }

    .followed-item .meta {
        font-size: .85rem;
        color: #404040;
        margin-top: .25rem;
    }

    .followed-item .law {
        color: green;
    }

.link-inline {
    color: #1e90ff;
    text-decoration: none;
    font-weight: 600;
}

.stats-row {
    display: flex;
    gap: .5rem;
    justify-content: center;
    margin-top: .75rem;
    flex-wrap: wrap;
}

.stat {
    background: rgba(255,255,255,0.03);
    padding: .5rem .75rem;
    border-radius: 8px;
    color: #e6eef8;
    min-width: 8rem;
    text-align: center;
}

    .stat .value {
        font-weight: 700;
    }


.btn {
    background: #4eb420;
    color: #fff;
    padding: .45rem .7rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: 0;
    cursor: pointer;
}

    .btn.dislike {
        background: #EB6C28;
    }
    .btn.ghost {
        background: transparent;
        color: #1e90ff;
        border: 1px solid rgba(30,144,255,0.12);
    }