﻿body {
    background-color: #f8fafc;
}

.noticias-container {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    padding-bottom: 80px;
}

.noticias-hero {
    background: #020B1C;
    text-align: center;
    padding: 120px 20px 80px 20px;
    color: #fff;
}

.noticias-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.noticias-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.noticias-hero p {
    font-size: 1.1rem;
    color: #cbd5e1;
    line-height: 1.6;
}

.noticias-grid-section {
    max-width: 1200px;
    margin: -40px auto 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.noticia-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.noticia-img-link {
    display: block;
    position: relative;
    height: 200px;
    background: #f1f5f9;
    overflow: hidden;
}

.noticia-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}

.noticia-img-placeholder i {
    font-size: 4rem;
    color: #94a3b8;
    opacity: 0.5;
}

.noticia-tag {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #D9953D;
    color: #fff;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 1px;
}

.noticia-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.noticia-date {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 10px;
    display: block;
}

.noticia-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
}

.noticia-title a {
    color: #020B1C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.noticia-title a:hover {
    color: #D9953D;
}

.noticia-excerpt {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 25px;
    flex: 1;
}

.noticia-btn {
    display: inline-flex;
    align-items: center;
    color: #020B1C;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.noticia-btn i {
    margin-left: 8px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.noticia-btn:hover {
    color: #D9953D;
}

.noticia-btn:hover i {
    transform: translateX(4px);
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.2s; }

@media (max-width: 992px) {
    .noticias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .noticias-grid {
        grid-template-columns: 1fr;
    }
}
