/* ===================== Página: Noticias ==================== */

body { background: #f5f5f0; }

.hero-noticias {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.75) 0%, rgba(30, 41, 59, 0.65) 100%), #2d3e50;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    position: relative;
}

.hero-noticias-content {
    text-align: center;
    color: white;
}

.hero-noticias-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.hero-noticias-subtitle::before {
    content: '';
    width: 20px;
    height: 3px;
    background: white;
    display: inline-block;
}

.hero-noticias-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.15;
    color: white;
}

.hero-noticias-title .highlight { color: #ef4444; }

.tabs-container {
    background: white;
    padding: 40px 60px;
    border-bottom: 1px solid #e2e8f0;
}

.tabs-wrapper { max-width: 1400px; margin: 0 auto; }

.tabs-list {
    display: flex;
    gap: 60px;
    list-style: none;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 20px;
}

.tab-item { position: relative; cursor: pointer; }

.tab-item a {
    text-decoration: none;
    color: #64748b;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
    padding: 10px 0;
}

.tab-item a:hover { color: #1e293b; }
.tab-item a.active { color: #ef4444; }

.tab-item a.active::after {
    content: '';
    position: absolute;
    bottom: -22px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ef4444;
}

.content-section {
    padding: 60px;
    max-width: 1400px;
    margin: 0 auto 40px;
    background: white;
    border-radius: 12px;
}

.empty-state {
    text-align: center;
    padding: 80px 60px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.empty-state-text {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.news-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.news-content { padding: 20px; }

.news-date {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1e293b;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.5;
}

.news-link {
    color: #ef4444;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.news-link:hover { gap: 12px; }

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 50px;
    height: 50px;
    background: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 99;
}

.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-4px); }

@media (max-width: 1024px) {
    .tabs-container { padding: 30px 40px; }
    .content-section { padding: 40px; }
}

@media (max-width: 768px) {
    .hero-noticias { padding: 40px 20px; min-height: auto; }
    .hero-noticias-title { font-size: 32px; }
    .tabs-container { padding: 20px; }
    .tabs-list { gap: 20px; overflow-x: auto; padding-bottom: 10px; }
    .tab-item a { font-size: 13px; white-space: nowrap; }
    .content-section { padding: 20px; }
    .empty-state { padding: 40px 20px; }
    .news-grid { grid-template-columns: 1fr; }
}
