/* =========================================================
   Carrusel de Últimas Entradas - Hoja de estilos
   Ajusta aquí anchos, colores, tamaños de flechas, etc.
   ========================================================= */

.cue-carrusel-wrapper {
    max-width: 100%;
    margin: 40px 0;
    overflow: hidden;
}

.cue-carrusel-wrapper .swiper {
    padding: 20px 50px 45px; /* espacio lateral para que las flechas no tapen el contenido */
}

/* ---------- Tarjeta de cada post ---------- */

.cue-slide-link {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

.cue-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: visible;
}

.cue-img,
.cue-img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cue-info {
    padding: 14px 16px;
}

.cue-title {
    font-size: 24px;
    line-height: 1.1;
    margin: 0 0 6px;
    color: #030303;
    font-family: "Barlow Condensed", sans-serif;
    font-style: italic;
}

.cue-date {
    font-size: 13px;
    color: #030303;
    margin-right: 10px;
}
.cue-date svg{
    margin-bottom: -2px;
}
.cue-episode{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    background-color: #5cb7d6;
    color: #fff;
    border-radius: 50%;
}
.cue-listen-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #c87824;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 10px 22px;
    border-radius: 999px;
    opacity: 0;
    transition: opacity .3s ease, background .3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.cue-slide-link:hover .cue-listen-btn,
.swiper-slide-active .cue-listen-btn {
    opacity: 1;
}

/* ---------- Ancho de slides / efecto "peek" ---------- */

/* Escritorio y tablet: slide con ancho fijo -> deja ver 1-2 posts a los lados */
.cue-carrusel-wrapper .swiper-slide {
    width: 300px;
    opacity: .45;
    transform: scale(.85);
    transition: transform .4s ease, opacity .4s ease;
}

.cue-carrusel-wrapper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

/* Mobile: un solo post a pantalla completa, sin asomar los vecinos */
@media (max-width: 639px) {
    .cue-carrusel-wrapper .swiper {
        padding: 16px 10px 40px;
    }

    .cue-carrusel-wrapper .swiper-slide {
        width: 100% !important;
        opacity: 1 !important;
        transform: scale(1) !important;
    }

    /* En mobile ocultamos las flechas para no estorbar (opcional, quita este bloque si las quieres siempre) */
    .cue-carrusel-wrapper .swiper-button-prev,
    .cue-carrusel-wrapper .swiper-button-next {
        display: none;
    }
}

/* ---------- Flechas de navegación ---------- */

.cue-carrusel-wrapper .swiper-button-prev,
.cue-carrusel-wrapper .swiper-button-next {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
    color: #222;
}

.cue-carrusel-wrapper .swiper-button-prev::after,
.cue-carrusel-wrapper .swiper-button-next::after {
    font-size: 16px;
    font-weight: bold;
}

.cue-carrusel-wrapper .swiper-button-prev {
    left: 0;
}

.cue-carrusel-wrapper .swiper-button-next {
    right: 0;
}

.cue-carrusel-wrapper .swiper-button-prev:hover,
.cue-carrusel-wrapper .swiper-button-next:hover {
    background: #f2f2f2;
}
