.info-banner {
    padding: 40px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.info-box {
    background: linear-gradient(135deg, #0066A1 0%, #A4D233 100%);
    padding: 2rem;
    border-radius: 20px;
    color: white;
    box-shadow: 0 15px 40px rgba(0, 102, 161, 0.25);
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.info-box h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.info-box p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
}

.info-icon {
    font-size: 6rem;
    opacity: 0.2;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

.badge-info {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    color: black;
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    display: inline-block;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.news-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}
.news-section .pagination {
    margin-top: 10px !important; /* Acerca la paginación al contenido */
}

.section-header-news {
      margin-bottom: 2px !important; 
}

.section-header-news h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--uts-dark);
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
}

.section-header-news .text-muted {
    font-size: 1rem;
    color: #6c757d;
}

.btn-ver-todas {
    background: linear-gradient(135deg, #A4D233 0%, #8BC220 100%);
    color: var(--uts-dark);
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(164, 210, 51, 0.3);
    border: 2px solid transparent;
}

.btn-ver-todas:hover {
    background: linear-gradient(135deg, #0066A1 0%, #004F7D 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 161, 0.4);
}

.filtros-categorias {
    padding:  5px;
}

.filtros-categorias .d-flex {
    gap: 0.75rem;
}
.btn-categoria {
    background: white;
    border: 2px solid #e0e5eb;
    color: #2c3e50;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-categoria i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-categoria:hover {
    border-color: #A4D233;
    background: linear-gradient(135deg, #f8fdf0 0%, #ffffff 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(164, 210, 51, 0.25);
}

.btn-categoria:hover i {
    transform: scale(1.15);
}

.btn-categoria.active {
    background: linear-gradient(135deg, #0066A1 0%, #A4D233 100%) !important;
    color: white !important;
    border-color: transparent !important;
    box-shadow: 0 6px 20px rgba(0, 102, 161, 0.35);
    transform: translateY(-2px);
}

.btn-categoria.active {
    background: linear-gradient(135deg, #0066A1 0%, #A4D233 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 6px 20px rgba(0, 102, 161, 0.35), 0 0 0 2px transparent;
    transform: translateY(-2px);
}
.btn-categoria .badge-count {
    background: rgba(0, 0, 0, 0.12);
    color: inherit;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 0.2rem;
    min-width: 28px;
    text-align: center;
}

.btn-categoria.active .badge-count {
    background: rgba(255, 255, 255, 0.35) !important;
    color: black !important;
    font-weight: 700;
}
/* Info de resultados */
.resultados-info {
    text-align: center;
    animation: fadeIn 0.3s ease;
    margin-bottom: 1.5rem;
}

.resultados-info p {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 0;
}

.resultados-info strong {
    color: #0066A1;
    font-size: 1.1rem;
    font-weight: 700;
}

.noticia-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.noticia-item.ocultar {
    opacity: 0;
    transform: scale(0.9);
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.noticia-item.mostrar {
    animation: fadeIn 0.6s ease;
}

.noticia-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.noticia-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: rgba(164, 210, 51, 0.3);
}

.noticia-imagen {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8ecf1 0%, #f5f7fa 100%);
}
.noticia-modal-contenido img,
.noticia-modal-descripcion img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    display: block;
}

.noticia-modal-contenido {
    overflow: hidden;
    word-break: break-word;
}

.noticia-imagen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.noticia-card:hover .noticia-imagen::after {
    opacity: 1;
}

.noticia-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.noticia-card:hover .noticia-imagen img {
    transform: scale(1.15);
}

.noticia-categoria {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    color: var(--uts-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.noticia-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.noticia-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.noticia-tag {
    color: #A4D233;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.noticia-fecha {
    color: #95a5a6;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.noticia-fecha i {
    font-size: 0.9rem;
}

.noticia-titulo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--uts-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.3px;
}

.noticia-descripcion {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.noticia-link {
    color: #0066A1;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.noticia-link i {
    transition: transform 0.3s ease;
}

.noticia-link:hover {
    color: #A4D233;
    gap: 0.8rem;
}

.noticia-link:hover i {
    transform: translateX(5px);
}

.noticia-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
    overflow-y: auto;
}

.noticia-modal-overlay.active {
    background-color: rgba(0, 0, 0, 0.85);
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(8px);
}

.noticia-modal-container {
    background: white;
    border-radius: 24px;
    max-width: 950px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.85) translateY(50px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.noticia-modal-overlay.active .noticia-modal-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.noticia-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.noticia-modal-close:hover {
    background: linear-gradient(135deg, #A4D233 0%, #8BC220 100%);
    color: white;
    transform: rotate(90deg) scale(1.1);
}

.noticia-modal-close i {
    font-size: 1.3rem;
}

.noticia-modal-content {
    display: flex;
    flex-direction: column;
}

.noticia-modal-imagen {
    position: relative;
    height: 450px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8ecf1 0%, #f5f7fa 100%);
}

.noticia-modal-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.noticia-modal-categoria {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    color: var(--uts-dark);
    padding: 0.7rem 1.8rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.noticia-modal-body {
    padding: 2.5rem;
}

.noticia-modal-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.noticia-modal-titulo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--uts-dark);
    margin-bottom: 1.25rem;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.noticia-modal-descripcion {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid #e8ecf1;
    font-weight: 500;
}

.noticia-modal-contenido {
    color: var(--uts-dark);
    font-size: 1.05rem;
    line-height: 1.8;
}

.noticia-modal-contenido p {
    margin-bottom: 1.5rem;
}

.noticia-modal-contenido h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--uts-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
}

.noticia-modal-contenido h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0066A1;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.noticia-modal-contenido ul {
    margin-left: 1.5rem;
    margin-bottom: 1.75rem;
}

.noticia-modal-contenido li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.noticia-modal-contenido strong {
    color: #0066A1;
    font-weight: 700;
}

.noticia-modal-contenido em {
    color: #6c757d;
    font-style: italic;
}

.noticia-card.expanding {
    animation: cardExpand 0.5s ease;
}

@keyframes cardExpand {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

.no-resultados {
    padding: 4rem 0;
}

.no-resultados i {
    color: #bdc3c7;
}

.no-resultados h3 {
    color: var(--uts-dark);
    font-weight: 700;
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .section-header-news h2 {
        font-size: 2rem;
    }

    .section-header-news .d-flex {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .filtros-categorias .d-flex {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .filtros-categorias .d-flex::-webkit-scrollbar {
        height: 4px;
    }

    .filtros-categorias .d-flex::-webkit-scrollbar-thumb {
        background: #A4D233;
        border-radius: 4px;
    }

    .btn-categoria {
        white-space: nowrap;
        padding: 0.85rem 1.5rem;
    }

    .noticia-imagen {
        height: 200px;
    }

    .noticia-titulo {
        font-size: 1.15rem;
    }

    .noticia-modal-container {
        max-height: 95vh;
        margin: 10px;
        border-radius: 20px;
    }

    .noticia-modal-imagen {
        height: 280px;
    }

    .noticia-modal-body {
        padding: 2rem;
    }

    .noticia-modal-titulo {
        font-size: 1.75rem;
    }

    .noticia-modal-descripcion {
        font-size: 1rem;
    }

    .info-box {
        padding: 2rem;
    }

    .info-box h3 {
        font-size: 1.4rem;
    }
}

.noticia-modal-container::-webkit-scrollbar {
    width: 10px;
}

.noticia-modal-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.noticia-modal-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0066A1 0%, #A4D233 100%);
    border-radius: 10px;
}

.noticia-modal-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #004F7D 0%, #8BC220 100%);
}

.news-section::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 200px;
    background: radial-gradient(circle at 50% 0%, rgba(164, 210, 51, 0.1) 0%, transparent 70%);
    top: 0;
    left: 0;
    pointer-events: none;
}
