/**
 * READY4PADEL - Estilos de Noticias
 * Archivo: static/css/noticias.css
 * Autor: Daniel Mateu Sánchez
 */

/* Hero Section */
.hero-section-small {
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 50%, #0066ff 100%);
    padding: 80px 0 40px;
    color: white;
    text-align: center;
}

.hero-section-small h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Cards de Noticias */
.noticia-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    background: white;
}

.noticia-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.noticia-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.noticia-img-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #0066ff, #0052cc, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.noticia-img-placeholder i {
    font-size: 5rem;
    color: white;
    opacity: 0.4;
}

.noticia-card-body {
    padding: 1.5rem;
}

.noticia-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.noticia-titulo {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.noticia-titulo a {
    color: #1a1a1a;
    text-decoration: none;
}

.noticia-titulo a:hover {
    color: #0066ff;
}

/* Hero de Detalle */
.noticia-hero {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.noticia-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
}

.noticia-hero-title {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.noticia-hero-meta {
    display: flex;
    gap: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Contenido */
.noticia-contenido {
    background: white;
    padding: 2rem;
    border-radius: 15px;
}

.noticia-resumen-destacado {
    font-size: 1.2rem;
    border-left: 4px solid #0066ff;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

/* Sidebar */
.sidebar-widget {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.sidebar-title {
    font-weight: 700;
    border-bottom: 2px solid #0066ff;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section-small h1 {
        font-size: 2rem;
    }
    .noticia-hero-title {
        font-size: 2rem;
    }
}
