/* ========== VISTA NOVEDADES ========== */
.section-novedades {
    background: var(--bg-main);
    padding: 6rem 0 8rem;
    color: var(--text-main);
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.blog-card {
    background: var(--bg-card);
    border-radius: 1rem;
    border: 1px solid var(--border-soft);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    /* Staggered animation properties */
    opacity: 0;
    transform: translateY(40px);
}

.blog-card.active {
    opacity: 1;
    transform: translateY(0);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(215, 38, 61, 0.2);
    border-color: rgba(215, 38, 61, 0.4);
}

.blog-card h3 {
    margin-bottom: 0.75rem;
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 800;
    padding: 0 2.5rem;
}

.blog-card h3:first-child {
    padding-top: 2.5rem;
}

.blog-text {
    color: var(--text-main);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    white-space: pre-wrap;
}

.blog-text.clamped {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    background: none;
    border: none;
    color: var(--accent-red);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.read-more-btn:hover {
    color: #ff2e4d;
    transform: translateX(4px);
}

.blog-meta {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    padding: 0 2.5rem;
    font-weight: 500;
    border-left: 3px solid var(--accent-red);
    margin-left: 2.5rem;
    padding-left: 10px;
}

.blog-description {
    padding: 0 2.5rem 2.5rem;
}

.blog-img {
    width: 100%;
    height: 450px;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-soft);
}

.blog-card-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.03);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-list {
        gap: 2rem;
    }

    .blog-card h3 {
        font-size: 1.3rem;
        padding: 0 1.5rem;
    }

    .blog-card h3:first-child {
        padding-top: 1.5rem;
    }

    .blog-meta {
        padding-left: 10px;
        margin-left: 1.5rem;
    }

    .blog-description {
        padding: 0 1.5rem 1.5rem;
    }

    .blog-img {
        height: 300px;
    }
}
