.news {
    max-width: 250px;
    font-size: 16px;
}

/*-------------SECCION NOTICIAS----------------*/
.card .card-header .w-100 {
    min-height: 100px;
    max-height: 150px;
    height: auto;
}

.card{
    display: flex;
    flex-direction: column;
}

.card-body {
    color: var(--primary_50);
    display: flex;
    flex-direction: column;
    height: 300px;
}

    .card-body * {
        all: unset;
        display: revert;
    }

.card-body * {
    font-size: inherit;
    color: inherit;
    line-height: 1.5;
}

    .card-body [class^="Mso"] {
        all: unset !important;
    }

    .card-body > *:first-child,
    .card-body > *:first-child * {
        flex-shrink: 0;
        margin-bottom: 8px;
        font-weight: bold;
        font-size: 16px !important;
        color: #1E6F97 !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }

    .card-body > *:not(:first-child)
    {
        color: #212529 !important;
        font-size: 16px !important;
        font-weight: 400;
        font-family: Open Sans;
        margin-top: 16px !important;
        margin-bottom: 0 !important;
        text-align: start;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2; /* límite por elemento */
        overflow: hidden;
        /* evita cortes feos de palabras */
        word-break: normal;
        overflow-wrap: normal;
        hyphens: auto;
    }

        .card-body > *:not(:first-child) * {
            color: #212529 !important;
            font-size: 16px !important;
            font-weight: 400;
            font-family: Open Sans;
        }

    .card-body ul{
        list-style: none;
        padding-left: 0;
        padding-right: 0;
    }


.card-header-img {
    height: 105px !important;
    width: 100% !important; /* Se expandirá al máximo del contenedor padre */
    object-fit: cover; /* Ajusta la imagen sin distorsionarla */
}

#result {
    display: none
}

.pagination {
    display: flex;
    justify-content: center;
    padding: 30px
}

    .pagination a {
        color: #000;
        float: left;
        padding: 8px 16px;
        text-decoration: none;
        transition: background-color .3s;
        border: 1px solid #ddd;
        cursor: pointer;
        align-items: center
    }

        .pagination a:hover {
            background: var(--primary_50);
            color: var(--gray-20);
        }

a.page.current {
    background: var(--primary_100);
    color: var(--gray-20);
}

.data-news {
    width: 80%;
    margin: 20px auto;
    font-size: 15px;
    color: #007cb3 !important;
    font-weight: 700
}

.news a {
    color: #195d87 !important
}

.filtro {
    padding: 30px;
    width: 400px;
    background: #FCFAF1;
    box-shadow: 0 8px 8px rgb(0 0 0 / 16%);
    border-radius: 10px;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #6D6D6D
}

/* Media query para pantallas de 460px o menos */
@media (max-width: 590px) {
    .news{
        font-size:13px;        
    }

    .filtro {
        width:98%;
        font-size:14px;
    } 
}

