.home-welcome-slider {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    max-width: 100vw !important;
    aspect-ratio: 1920 / 400;
    max-height: 400px;
    overflow: hidden;
    background-color: #000;

    /* Trazo oscuro de 1px y resplandor exterior negro (superior e inferior) */
    border-top: 1px solid #333333;
    border-bottom: 1px solid #333333;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.9), 0px -15px 30px rgba(0, 0, 0, 0.9);
}

.home-welcome-slider .swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-welcome-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Make it responsive for mobile */
@media (max-width: 768px) {
    .home-welcome-slider {
        /* On very small screens, maybe we don't want it to be super thin */
        aspect-ratio: 16 / 9;
        max-height: none;
    }

    /* Estilos para el Carrusel de Últimos Posts (Coverflow) */
    .recent-posts-swiper {
        width: 100%;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .recent-posts-swiper .swiper-slide {
        background: #0a0a0a;
        border-radius: 12px;
        border: 1px solid #333333;
        overflow: hidden;
        transition: border-color 0.3s;
    }

    .recent-posts-swiper .swiper-slide:hover {
        border-color: #ff0000;
    }

    /* Fix width overflow for slider cards while keeping their original design */
    body.home .recent-posts-swiper article.home-post-card:not(.category-anuncio) {
        box-sizing: border-box !important;
        width: 100% !important;
    }

    .recent-posts-swiper .home-post-image {
        aspect-ratio: 1 / 1;
        overflow: hidden;
    }

    .recent-posts-swiper .home-post-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* Paginación en rojo para que pegue con tu web */
    .recent-posts-swiper .swiper-pagination-bullet {
        background: #555555;
    }

    .recent-posts-swiper .swiper-pagination-bullet-active {
        background: #ff0000;
    }