/**
 * Plantilla Minimalista - Estilos de Noticias
 * Lista horizontal con scroll suave
 */

/* ========================================
   SECCIÓN DE NOTICIAS MINIMALISTA
   ======================================== */

.noticias-wrapper {
    background: #ffffff;
    padding: 3rem 0 6rem 0;
}

.noticias-wrapper .container {
    max-width: 1600px;
}

.noticias-minimalista-section {
    background: transparent;
}

.noticias-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.noticias-titulo {
    font-size: 2.5rem;
    font-weight: 300;
    color: #333;
    margin: 0;
    letter-spacing: -0.5px;
}

.noticias-ver-todas {
    color: #ffffff !important;
    background: #1e3a5f;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.noticias-ver-todas:hover {
    gap: 0.75rem;
    background: #152b47;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

/* Contenedor con scroll */
.noticias-scroll-container {
    position: relative;
}

.noticias-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 1rem;
}

.noticias-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.noticias-lista-horizontal {
    display: flex;
    gap: 2rem;
    padding: 0.5rem 0;
}

/* Card horizontal de noticia */
.noticia-horizontal-card {
    flex: 0 0 700px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    height: 320px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.noticia-horizontal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.noticia-horizontal-imagen {
    flex: 0 0 320px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.noticia-horizontal-imagen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1));
}

.noticia-horizontal-card:hover .noticia-horizontal-imagen {
    transform: scale(1.05);
}

.noticia-horizontal-contenido {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.noticia-categoria-badge {
    display: inline-block;
    background: #e8f0fe;
    color: #1e3a5f;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
    margin-bottom: 1rem;
}

.noticia-horizontal-titulo {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.noticia-horizontal-descripcion {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.noticia-horizontal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.noticia-horizontal-fecha {
    color: #999;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.noticia-horizontal-leer {
    color: #1e3a5f;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.noticia-horizontal-card:hover .noticia-horizontal-leer {
    gap: 0.75rem;
}

/* Controles de navegación */
.noticias-nav-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.noticias-nav-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.noticias-nav-btn:hover {
    background: #1e3a5f;
    color: #ffffff;
    border-color: #1e3a5f;
    transform: scale(1.1);
}

.noticias-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.noticias-nav-btn:disabled:hover {
    background: #ffffff;
    color: #333;
    border-color: #e0e0e0;
    transform: scale(1);
}

/* Indicadores de scroll */
.noticias-scroll-indicators {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.scroll-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0d0d0;
    transition: all 0.3s ease;
}

.scroll-indicator.active {
    background: #1e3a5f;
    width: 24px;
    border-radius: 4px;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .noticias-minimalista-section {
        padding: 3rem 0;
    }
    
    .noticias-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .noticias-titulo {
        font-size: 1.5rem;
    }
    
    .noticia-horizontal-card {
        flex: 0 0 90vw;
        flex-direction: column;
        height: auto;
    }
    
    .noticia-horizontal-imagen {
        flex: 0 0 200px;
        width: 100%;
    }
    
    .noticia-horizontal-contenido {
        padding: 1.5rem;
    }
    
    .noticia-horizontal-titulo {
        font-size: 1.2rem;
    }
    
    .noticia-horizontal-descripcion {
        font-size: 0.95rem;
    }
    
    .noticias-lista-horizontal {
        gap: 1rem;
    }
}
