/* Estilos Públicos para o Parlamentar 55 */

.parlamentar-55-wrapper {
    font-family: inherit;
}

/* Customização dos botões/barras baseadas em Verde (Sucesso do Bootstrap) */
.btn-primary-custom {
    background-color: #198754;
    color: #fff;
    border: none;
    transition: background-color 0.2s;
}

.btn-primary-custom:hover {
    background-color: #146c43;
    color: #fff;
}

.parlamentar-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.parlamentar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.card-img-top-wrapper {
    width: 100%;
    /* Mantém a proporção do thumbnail 246x339 original */
    padding-top: 137.8%; /* (339 / 246) * 100 */
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.card-img-top-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.gallery-item {
    transition: opacity 0.2s;
}

.gallery-item:hover {
    opacity: 0.8;
}

.biografia-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
}
