.card-body img{
    width: 100%;
}

.card-body .col-md-6, .card-body .col-md-4{
    padding:5px;
}

.card-header {
    margin-bottom: 12px;
}

/* Estilos para acordeons principais */
.accordion .card-header {
    background-color: transparent;
    border: 1px solid  var(--gray-200);
    border-radius: 16px !important;
}

.accordion .card-header.active {
    background-color:  var(--blue-300);
}

.card-header button {
    color: #1A1A1A;
    text-decoration: none;
    font-size: var(--acordeão---título-tamanho-desk);
    border: 0;
    background-color: transparent;
    outline: none;
    cursor: pointer;
    font-weight: 600;
    padding: 4px 0 4px 0;
    text-align: left;
}

/* Estilos comuns */
.card-header .rotate-icon {
    transform: rotate(180deg);
    transition: transform 0.6s ease;
    color: #1A1A1A;
}

.card-header .collapsed .rotate-icon {
    transform: rotate(0deg);
    transition: transform 0.6s ease;
}

.bi-chevron-down,
.bi-chevron-up {
    transition: transform 0.3s ease;
}

.accordion .card {
    border: none;
    line-height: var(--texto-padrão-line-height-desk);
    font-size: var(--texto-padrão-tamanho-desk);
}

.icon-links-side {
    border: 1px solid  var(--blue-300);
    border-radius: 10px;
    padding: 2px 10px;
    font-size: 12px;
}

.icon-link-item a {
    text-decoration: underline;
    color:  var(--blue-300);
    font-style: italic;
}

.icon-link-item a i {
    padding-left: 5px;
}

#lbl-institucional {
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color:  var(--positivo);
    margin-bottom: 20px;
}

.card-subtitle{
    font-size: 14px;
    font-weight: 400;
    line-height: 16.8px;
    color:  var(--textos-corridos);
}

.icon-link-item.my-2 a {
    text-decoration: none;
}

.underline-text {
    flex-grow: 1;
    text-decoration: underline;
}

.nowrap {
    white-space: nowrap;
}

.file-type {
    padding-right: 10px;
    color:  var(--datas-e-capitulos);
    font-style: normal;
}

/* Galeria adiciona pelo editor*/
.gallery img {
    border: 5px solid #ffffff !important;
}

.gallery {
    margin: -15px !important;
}

@media (max-width: 576px) {
    #lbl-institucional {
        font-size: 14px;
    }

    .card-subtitle{
        font-size: 12px;
        line-height: 16.8px;
        text-align: justify;
    }

    .card-header button {
        font-size: var(--acordeão---título-tamanho-mobile);
    }

    .accordion .card {
        font-size: 12px;
    }

    /* Galeria adiciona pelo editor*/
    .gallery {
        display: flex;
        flex-wrap: wrap;
    }

    .gallery-item {
        width: 100% !important;
        float: none !important;
        margin: 0 0 1em 0 !important;
    }
}