/**
 * Ajustes da landing page Biênio 2022–2024.
 */

.tjba-gestao-historica--bienio .topogestao {
    min-height: 0;
    padding: 0;
    background: #004e74;
}

.tjba-bienio__topo-imagem {
    display: block;
    width: 100%;
    max-height: 760px;
    object-fit: contain;
}

.tjba-bienio__topo-fallback {
    display: grid;
    min-height: 360px;
    place-items: center;
    align-content: center;
    gap: 24px;
    padding: 42px 20px;
    color: #fff;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
}

.tjba-bienio__topo-fallback img {
    width: min(260px, 60vw);
}

.tjba-bienio__agenda {
    max-width: 1450px;
}

.tjba-bienio__item-imagem img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
}

.tjba-bienio__item-conteudo > :last-child {
    margin-bottom: 0;
}

.tjba-bienio__vazio {
    max-width: 760px;
    margin: 2rem auto;
    padding: 1.25rem;
    border-left: 4px solid #f7ba50;
    border-radius: 8px;
    background: #f3f7fa;
    color: #263444;
}

.tjba-bienio__acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 767px) {
    .tjba-bienio__item-imagem img {
        height: auto;
        max-height: 260px;
        object-fit: contain;
    }

    .tjba-bienio__acoes {
        display: grid;
    }
}
