        /* Estilos específicos para la página de convenios */
        .filters-section {
            background: var(--bg-light);
            border-radius: 16px;
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .filter-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid var(--accent);
            display: inline-block;
        }
        
        .search-input-group {
            position: relative;
        }
        
        .search-input-group input {
            padding-right: 45px;
            border-radius: 50px;
            border: 1px solid #ddd;
        }
        
        .search-input-group button {
            position: absolute;
            right: 5px;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            color: var(--accent);
        }
        
        .filter-select {
            width: 100%;
            padding: 0.6rem 1rem;
            border-radius: 50px;
            border: 1px solid #ddd;
            background: white;
            font-size: 0.9rem;
        }
        
        .btn-clear {
            background: transparent;
            border: 1px solid var(--accent);
            color: var(--accent);
            border-radius: 50px;
            padding: 0.5rem 1.2rem;
            font-size: 0.85rem;
            transition: all 0.2s;
        }
        
        .btn-clear:hover {
            background: var(--accent);
            color: white;
        }
        
        .result-stats {
            color: var(--text-muted);
            font-size: 0.9rem;
            margin-bottom: 1.5rem;
        }
        
        /* Tarjeta de noticias */
        .news-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            margin-bottom: 1.5rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            border: 1px solid #e9ecef;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .news-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 25px rgba(0,84,145,0.12);
            border-color: var(--accent);
        }
        
        .news-frontpage {
            width: 100%;
            height: 400px;
            object-fit: cover;
            transition: transform 0.4s ease;
        }    
		
        .news-image {
            width: 100%;
            height: 200px;
            object-fit: contain; /* Ajusta la imagen completa sin deformarla */
			object-position: center; /* Centra la imagen en el contenedor */
            transition: transform 0.4s ease;
        }
        
        .news-card:hover .news-image {
            transform: scale(1.03);
        }
        
        .news-content {
            padding: 1.25rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .news-category {
            display: inline-block;
            background: rgba(233,83,9,0.1);
            color: var(--accent);
            padding: 0.2rem 0.8rem;
            border-radius: 50px;
            font-size: 0.7rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            align-self: flex-start;
        }
        
        .news-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 0.5rem;
            line-height: 1.3;
        }
        
        .news-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 0.75rem;
            font-size: 0.75rem;
            color: var(--text-muted);
        }
        
        .news-meta i {
            color: var(--accent);
            width: 14px;
        }
        
        .news-excerpt {
            font-size: 0.85rem;
            color: var(--text-muted);
            line-height: 1.5;
            margin-bottom: 1rem;
            flex: 1;
        }
        
        .btn-read-more {
            background: transparent;
            color: var(--primary);
            border: none;
            padding: 0;
            font-weight: 600;
            font-size: 0.85rem;
            transition: all 0.2s;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .btn-read-more:hover {
            color: var(--accent);
            gap: 0.8rem;
        }
        
        /* Paginación */
        .pagination {
            margin-top: 2rem;
            justify-content: center;
        }
        
        .page-link {
            color: var(--primary);
            border: none;
            margin: 0 3px;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
        }
        
        .page-link:hover {
            background: var(--accent);
            color: white;
        }
        
        .page-item.active .page-link {
            background: var(--primary);
            color: white;
        }
        
        /* Loading spinner */
        .loading-spinner {
            text-align: center;
            padding: 3rem;
        }
        
        .loading-spinner .spinner-border {
            color: var(--accent);
            width: 3rem;
            height: 3rem;
        }
        
        /* Modal de noticias */
        .news-modal-image {
            width: 100%;
            max-height: 400px;
            object-fit: cover;
            border-radius: 12px;
            margin-bottom: 1rem;
        }
        
		/* Estilos para la imagen dentro del modal de noticias */
		.news-modal-image {
			width: 100%;
			max-height: 400px;
			object-fit: cover;
			border-radius: 12px;
			margin-bottom: 1rem;
			cursor: pointer;
			transition: transform 0.2s ease, opacity 0.2s ease;
		}

		.news-modal-image:hover {
			transform: scale(1.01);
			opacity: 0.95;
			box-shadow: 0 4px 15px rgba(0,0,0,0.2);
		}

		/* Estilo para el modal fullscreen */
		.modal-fullscreen .modal-content {
			background: transparent;
			border: none;
		}

		.modal-fullscreen .btn-close {
			background-size: 1.5rem;
			opacity: 0.8;
			transition: opacity 0.2s;
		}

		.modal-fullscreen .btn-close:hover {
			opacity: 1;
			transform: scale(1.1);
		}
		
        .news-modal-title {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 1rem;
        }
        
        .news-modal-meta {
            display: flex;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #e9ecef;
            flex-wrap: wrap;
        }
        
        .news-modal-meta span {
            font-size: 0.85rem;
            color: var(--text-muted);
        }
        
        .news-modal-meta i {
            color: var(--accent);
            margin-right: 0.3rem;
        }
        
        .news-modal-content {
            font-size: 1rem;
            line-height: 1.6;
            color: var(--text-dark);
        }
        
        /* Modal estilo institucional */
        .modal-content {
            border: none;
            border-radius: 20px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            overflow: hidden;
        }

        .modal-header {
            background: linear-gradient(135deg, var(--primary) 0%, #003d6b 100%);
            border-bottom: 3px solid var(--accent);
            padding: 1.25rem 1.5rem;
        }

        .modal-header .modal-title {
            color: white;
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            font-size: 1.25rem;
            display: flex;
            align-items: center;
        }

        .modal-header .btn-close {
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            padding: 0.5rem;
            opacity: 1;
            transition: all 0.2s ease;
        }

        .modal-header .btn-close:hover {
            background: var(--accent);
            transform: rotate(90deg);
        }

        .modal-footer {
            background: #f8f9fa;
            border-top: 1px solid #e9ecef;
            padding: 1rem 1.5rem;
        }

        .btn-modal-close {
            background: transparent;
            border: 2px solid var(--accent);
            color: var(--accent);
            border-radius: 50px;
            padding: 0.5rem 1.5rem;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
        }

        .btn-modal-close:hover {
            background: var(--accent);
            color: white;
            transform: translateX(-5px);
        }
        
        @media (max-width: 768px) {
            .filters-section {
                padding: 1rem;
                margin-bottom: 1.5rem;
            }
            
            .news-title {
                font-size: 1rem;
            }
            
            .news-image {
                height: 180px;
            }
            
            .news-modal-meta {
                gap: 0.8rem;
            }
        }
        
        @media (max-width: 576px) {
            .news-image {
                height: 200px;
            }
        }