/* CSS adicional para arreglar las secciones */

/* Section Headers - Faltaba en el critical CSS */
.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--color-naranja);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-azul-marino);
    margin: 0;
}

.section-icon {
    color: var(--color-naranja);
    font-size: 1.5rem;
}

/* News Grid - Mejorar el layout */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    height: fit-content;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-naranja);
}

.news-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.news-title a {
    color: var(--color-texto);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-title a:hover {
    color: var(--color-amarillo-oro);
}

.news-subtitle {
    font-size: 0.9rem;
    color: var(--color-naranja);
    font-style: italic;
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* Category Section - Mejorar el espaciado */
.category-section {
    background: var(--color-blanco-humo);
    padding: 4rem 2rem;
    border-radius: 16px;
    margin: 4rem 0;
}

/* Latest News Section */
.latest-news {
    margin-bottom: 4rem;
}

/* Responsive fixes para secciones */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-section {
        margin: 2rem 0;
        padding: 2rem 1rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}