
.hero-noticias .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.hero-noticias .hero-icon {
    margin-bottom: 1rem;
}

.hero-noticias .hero-icon i {
    font-size: 4rem;
    color: #f39c12;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-noticias .hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    margin: 0;
}

/* Layout Principal */
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Contenido Principal */
.blog-main {
    background: #f8f9fa;
    border-radius: 8px;
}

/* Resultados de búsqueda */
.resultados-busqueda {
    background: #e3f2fd;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #2420fd;
}

.resultados-busqueda h3 {
    color: #2420fd;
    margin-bottom: 0.5rem;
}

.resultados-busqueda p {
    color: #666;
    margin: 0;
}

/* Grid de Noticias */
.noticias-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.noticia-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.noticia-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.noticia-imagen {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.noticia-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.noticia-card:hover .noticia-imagen img {
    transform: scale(1.05);
}

.noticia-fecha-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(36, 32, 253, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.noticia-contenido {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.noticia-titulo {
    font-size: 0.9rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.noticia-resumen {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.noticia-enlace {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #2420fd;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.noticia-enlace:hover {
    color: #1a1bb8;
    transform: translateX(5px);
}

/* Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ecf0f1;
}

/* Buscador del Sidebar */
.sidebar-buscador .buscador-input-group {
    display: flex;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 0.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.sidebar-buscador .buscador-input-group:focus-within {
    border-color: #2420fd;
    background: white;
}

.sidebar-buscador .buscador-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    outline: none;
    color: #333;
}

.sidebar-buscador .buscador-btn {
    background: #f39c12;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.sidebar-buscador .buscador-btn:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

/* Posts Recientes */
.posts-recientes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post-reciente {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.post-reciente:last-child {
    border-bottom: none;
}

.post-thumbnail {
    flex: 0 0 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-info h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

.post-info h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-info h4 a:hover {
    color: #2420fd;
}

.post-fecha {
    font-size: 0.8rem;
    color: #666;
}

/* Archivos */
.archivos-lista {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.archivo-item {
    color: #666;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid #ecf0f1;
}

.archivo-item:hover {
    color: #2420fd;
    padding-left: 0.5rem;
}

.archivo-item:last-child {
    border-bottom: none;
}

/* Paginador */
.paginador {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.paginador-info {
    color: #666;
    font-weight: 500;
}

.paginador-nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.paginador-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.paginador-btn:hover {
    background: #2420fd;
    color: white;
    transform: translateY(-2px);
}

.paginador-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.paginador-num:hover {
    background: #2420fd;
    color: white;
    transform: translateY(-2px);
}

.paginador-num.activa {
    background: #2420fd;
    color: white;
}

/* Sin resultados */
.sin-resultados {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.sin-resultados-icono {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.sin-resultados h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.sin-resultados p {
    color: #666;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-noticias {
        height: 300px;
    }
    
    .hero-noticias .hero-icon i {
        font-size: 3rem;
    }
    
    .hero-noticias .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .blog-container {
        padding: 0 1rem;
    }
    
    .blog-main {
        padding: 1.5rem;
    }
    
    .noticias-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .noticia-imagen {
        height: 200px;
    }
    
    .noticia-titulo {
        font-size: 1.2rem;
    }
    
    .paginador {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .paginador-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-noticias {
        height: 250px;
    }
    
    .hero-noticias .hero-icon i {
        font-size: 2.5rem;
    }
    
    .hero-noticias .hero-content h1 {
        font-size: 2rem;
    }
    
    .noticia-imagen {
        height: 180px;
    }
    
    .noticia-titulo {
        font-size: 1.2rem;
    }
    
    .sidebar-widget {
        padding: 1rem;
    }
    
    .post-reciente {
        flex-direction: column;
        text-align: center;
    }
    
    .post-thumbnail {
        align-self: center;
    }
}