


/* cards pequeñas */
.news-small {
    width: 320px;
    height: 180px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.news-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   🔥 CARD GRANDE ENCIMA
========================= */

.news-big {
    max-width: 520px;
    max-height: 300px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}

.news-big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   OVERLAY TEXTO
========================= */
.news-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    color: #fff;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.9),
        rgba(0,0,0,0.3),
        transparent
    );
}

.news-content h2 {
    font-size: 1.4rem;
}

.news-content.small h5 {
    font-size: 0.9rem;
}

/* BADGE */
.badge-news {
    background: #8cff00;
    color: #000;
    font-size: 11px;
    padding: 3px 8px;
    display: inline-block;
    margin-bottom: 8px;
    font-weight: bold;
}

/* link */
.news-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

/* =========================
   CONTROLES
========================= */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

/* =========================
   ✨ TRANSICIONES BASE
========================= */
.news-small,
.news-big {
    transition: all 0.35s ease;
    cursor: pointer;
}

.news-small img,
.news-big img {
    transition: transform 0.5s ease, filter 0.4s ease;
}

.news-content {
    transition: all 0.35s ease;
}

/* =========================
   🔥 HOVER CARDS
========================= */

/* ZOOM + BRILLO */
.news-small:hover img,
.news-big:hover img {
    transform: scale(1.08);
    filter: brightness(1.1) contrast(1.05);
}

/* GLOW FANTASY */
.news-small:hover,
.news-big:hover {
    box-shadow:
        0 10px 40px rgba(0,0,0,0.8),
        0 0 20px rgba(140,255,0,0.25),
        0 0 40px rgba(140,255,0,0.15);
    transform: translateY(-5px);
}

/* OVERLAY MÁS INTENSO */
.news-small:hover .news-content,
.news-big:hover .news-content {
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.95),
        rgba(0,0,0,0.6),
        transparent
    );
}

/* TEXTO LIGERAMENTE MÁS VISIBLE */
.news-small:hover h5,
.news-big:hover h2 {
    transform: translateY(-2px);
}

/* =========================
   🟢 BADGE EFECTO
========================= */
.badge-news {
    transition: all 0.3s ease;
}

.news-small:hover .badge-news,
.news-big:hover .badge-news {
    background: #aaff00;
    box-shadow: 0 0 10px rgba(140,255,0,0.6);
}

/**/
.news-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
