h1.mb-5 small{
    display: block;
    font-size: 16px;
    font-weight: 200;
    color: #373943;
}
.noticias-listagem-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.noticia-list-card {
    display: flex;
    align-items: stretch;
    gap: 18px;
    min-height: 190px;
    background: #f5f2ef;
    border: 1px solid #ded7d1;
    padding: 10px;
}

.noticia-list-thumb {
    width: 200px;
    flex: 0 0 200px;
    overflow: hidden;
    background: #d8d8d8;
}

.noticia-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.noticia-list-content {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    justify-content: flex-start;
    padding: 4px 6px 4px 0;
}

.noticia-list-title {
    margin: 0 0 10px;
    font-size: 2rem;
    line-height: 1.25;
    font-weight: 700;
}

.noticia-list-title a {
    color: #1f3550;
    text-decoration: none;
}

.noticia-list-title a:hover {
    color: #2f83b4;
}

.noticia-list-lead {
    margin-bottom: 12px;
    color: #7a7e86;
    font-size: 1.05rem;
    line-height: 1.65;
}

.noticia-list-meta {
    margin-top: auto;
    color: #2f83b4;
    font-size: 0.95rem;
}

.documentos-listagem-grid .documento-list-card {
    min-height: max-content;
}

.documento-list-content {
    padding-right: 4px;
}

.documento-list-title {
    margin-bottom: 8px;
    font-size: 1.45rem;
}

.documento-list-title span {
    color: #1f3550;
}

.documento-list-badge {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #b42318;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.documento-list-lead {
    margin-bottom: 10px;
    font-size: 1rem;
}

.documento-list-meta {
    margin-top: 0;
}

@media (max-width: 1199px) {
    .noticia-list-title {
        font-size: 1.55rem;
    }

    .documento-list-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 1199px) {
    .noticias-listagem-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .noticias-listagem-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .noticia-list-card {
        flex-direction: column;
        min-height: 0;
    }

    .noticia-list-thumb {
        width: 100%;
        flex-basis: auto;
        height: 220px;
    }

    .noticia-list-title {
        font-size: 1.3rem;
    }

    .documento-list-title {
        font-size: 1.15rem;
    }

    .noticia-list-lead {
        font-size: 0.98rem;
        line-height: 1.55;
    }
}

.card{
    border: none;
    transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
    overflow:hidden;
    border-radius:20px;
    min-height:150px;
    padding: 15px;
    box-shadow: 0 0 12px 0 rgba(0,0,0,0.2);
  
    @media (max-width: 768px) {
        min-height:150px;
    }
  
    @media (max-width: 420px) {
        min-height:100px;
    }
  
    &.card-has-bg{
        transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
        background-size:120%;
        background-repeat:no-repeat;
        background-position: center center;
        &:before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background: inherit;
            -webkit-filter: grayscale(1);
            -moz-filter: grayscale(100%);
            -ms-filter: grayscale(100%);
            -o-filter: grayscale(100%);
            filter: grayscale(100%);
        }
    
        &:hover {
            transform: scale(0.98);
            box-shadow: 0 0 5px -2px rgba(0,0,0,0.3);
            background-size:130%;
            transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
            .card-img-overlay {
                transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
                background: rgb(255,186,33);
            background: linear-gradient(0deg, rgba(255,186,33,0.5) 0%, rgba(255,186,33,1) 100%);
        }
        }
    }
    .card-footer{
        background: none;
        border-top: none;
        .media{
            display: flex;
            align-content: center;
            align-items: center;        
            img{
                border:solid 3px rgba(255,255,255,0.3);
                margin-right: 15px;
            }
        }
    }
    .card-title{font-weight:800}
    .card-meta{color:rgba(0,0,0,0.3);
        text-transform:uppercase;
        font-weight:500;
        letter-spacing:2px;
    }
    .card-body{ 
        transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);  
    }
    &:hover {
        .card-body{
            margin-top:30px;
            transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
        }
        cursor: pointer;
        transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
    }
    .card-img-overlay {
        transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
        background: rgb(255,186,33);
        background: linear-gradient(0deg, rgba(255,186,33,0.3785889355742297) 0%, rgba(255,186,33,1) 100%);
    }
}

.resultados li {
    list-style: none;
    background-color: #eee;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 10px;
}
.resultados li small{
    display: block;
    color: #666;
    font-size: 1rem;
    margin-top: 5px;
}

.search-title{
    margin: 15px 0px;
    background: #47defa;
    font-size: 18px;
    padding: 5px 15px;
}

.revista-page {
    padding: 1.5rem 0 3rem;
}

.revista-hero {
    margin-bottom: 1.5rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid #d7e0ea;
    border-radius: 22px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf4f8 100%);
}

.revista-hero h1 {
    margin: 0 0 .75rem;
    color: #143655;
}

.revista-hero p {
    margin: 0;
    max-width: 900px;
    color: #5a6a79;
    font-size: 1.5rem;
    line-height: 1.75;
}

.revista-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid #dfe7ee;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(20, 54, 85, 0.06);
}

.revista-toolbar-meta {
    color: #576879;
    font-size: 1.3rem;
}

.revista-toolbar-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.revista-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .72rem 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: .2s ease;
    font-size: 1.3rem !important;
}

.revista-btn-primary {
    background: #143655;
    color: #fff;
}

.revista-btn-primary:hover {
    background: #0f2940;
    color: #fff;
}

.revista-btn-secondary {
    border: 1px solid #cbd6e2;
    background: #f7fafc;
    color: #143655;
}

.revista-btn-secondary:hover {
    background: #edf4f8;
    color: #143655;
}

.revista-viewer-wrap {
    overflow: hidden;
    border: 1px solid #d9e2ea;
    border-radius: 22px;
    background: #d8dee6;
    box-shadow: 0 18px 42px rgba(20, 54, 85, 0.08);
}

.revista-viewer {
    width: 100%;
    height: 82vh;
    min-height: 760px;
    border: 0;
    background: #fff;
}

.revista-fallback {
    padding: 1rem 1.25rem;
    color: #5a6a79;
    background: #fff;
    border-top: 1px solid #e3eaf0;
}

@media (max-width: 768px) {
    .revista-hero,
    .revista-toolbar {
        padding: 1rem;
        border-radius: 16px;
    }

    .revista-viewer {
        height: 72vh;
        min-height: 560px;
    }
}