/* Sección de Noticias */
.news-section {
    background: #f8f9fa;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 0;
}

.news-title {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 1.5rem;
    margin-top: 1.25rem; /* 20px adicionales arriba del título */
}

.news-grid-badge {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card-badge {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.news-card-badge:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.news-card-badge-image {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
}

.news-card-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-badge:hover img {
    transform: scale(1.05);
}

.news-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #e7520f;
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

.news-card-badge-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card-badge-date {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.news-card-badge-title {
    font-family: 'Merriweather', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-card-badge-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card-badge-title a:hover {
    color: #e7520f;
}

.news-card-badge-excerpt {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.news-card-badge-link {
    font-family: 'Poppins', sans-serif;
    color: #e7520f;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.news-card-badge-link:hover {
    color: #c4450c;
}

.news-arrow-icon {
    transition: transform 0.3s ease;
}

.news-card-badge-link:hover .news-arrow-icon {
    transform: translateX(4px);
}

/* Responsive para sección de noticias - Tableta */
@media (min-width: 768px) and (max-width: 1024px) {
    .news-section {
        padding-top: 2rem;
        padding-bottom: 2rem;
        padding-left: 2rem;
        padding-right: 2rem;
        margin-top: 3rem;
    }

    .news-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        margin-top: 0;
    }

    .news-grid-badge {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .news-card-badge-image {
        padding: 0.5rem;
        padding-bottom: 0;
        overflow: visible;
    }

    .news-card-badge img {
        border-radius: 8px 8px 0 0;
    }

    .news-badge {
        top: 1.5rem;
        left: 1.5rem;
        z-index: 2;
    }

    .news-card-badge-content {
        padding: 1.5rem;
    }
}

/* Responsive para sección de noticias - Móvil */
@media (max-width: 768px) {
    .news-section {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
        padding-left: 1.75rem;
        padding-right: 1.75rem;
        margin-top: 3rem;
    }

    .news-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .news-grid-badge {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-card-badge-image {
        height: 180px;
    }

    .news-card-badge-content {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .news-section {
        padding-top: 1rem;
        padding-bottom: 1rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        margin-top: 3rem;
    }

    .news-title {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .news-grid-badge {
        gap: 1.25rem;
    }

    .news-card-badge-title {
        font-size: 1.125rem;
    }

    .news-card-badge-excerpt {
        font-size: 0.9375rem;
    }
}

