/* =========================================================
   DESTACADOS - SLIDER SUPERIOR
   ========================================================= */

.destacados-slider {
    width: 100%;
    margin: 0 auto 25px;
    position: relative;
}


/* CABECERA */

.destacados-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 12px;
}

.destacados-header h2 {
    margin: 0;
    color: #d63384;
    font-size: 22px;
    font-weight: 700;
}

.destacados-subtitulo {
    display: block;
    margin-top: 3px;
    color: #777;
    font-size: 13px;
}


/* CONTROLES */

.destacados-controles {
    display: flex;
    gap: 7px;
    flex-shrink: 0;
}

.destacados-flecha {
    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 50%;

    background: #d63384;
    color: #fff;

    font-size: 32px;
    line-height: 1;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        transform .2s ease,
        background .2s ease;
}

.destacados-flecha:hover {
    background: #b9276d;
    transform: scale(1.05);
}

.destacados-flecha:active {
    transform: scale(.94);
}


/* VIEWPORT */

.destacados-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
}


/* TRACK */

.destacados-track {
    display: flex;
    gap: 14px;
    /*transition:
        transform .45s ease;
    will-change: transform;*/
}


/* TARJETA */

.destacado-card {
    /*position: relative;
    flex: 0 0 calc(
        (100% - 42px) / 4
    );
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow:
        0 3px 12px rgba(0,0,0,.12);
    text-decoration: none;
    color: inherit;*/

     flex: 0 0 240px;
    width: 240px;
    min-width: 240px;

    display: block;
    text-decoration: none;
    color: inherit;

    background: #fff;
    border-radius: 12px;
    overflow: hidden;

    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}


/* FOTO */
.destacado-foto {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
    background: #f3f3f3;
}

.destacado-foto img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}

/*.destacado-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    display: block;
    object-fit: cover;
    background: #eee;    
}*/


/* BADGE */

.destacado-badge {
    position: absolute;

    top: 9px;
    left: 9px;

    z-index: 2;

    padding: 5px 9px;

    border-radius: 20px;

    background: #ffb000;
    color: #fff;

    font-size: 11px;
    font-weight: 700;

    box-shadow:
        0 2px 5px rgba(0,0,0,.2);
}


/* INFORMACIÓN */

.destacado-info {
   /* position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 35px 10px 10px;
    color: #fff;
    background:
        linear-gradient(
            transparent,
            rgba(0,0,0,.85)
        );*/
    color: #000000;    
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 3px;
    padding: 10px 12px;
}

.destacado-info strong {
    display: block;
    width: 100%;
    font-size: 16px;
    font-weight: 700;
}

.destacado-info span {
    display: block;
    width: 100%;
    font-size: 13px;
}

.destacado-nombre {
    font-size: 16px;
    font-weight: 700;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.destacado-ciudad {
    margin-top: 3px;

    font-size: 12px;

    opacity: .9;
}


/* TABLET */

@media (max-width: 900px) {

    .destacado-card {
        flex: 0 0 calc(
            (100% - 28px) / 3
        );
    }

}


/* CELULAR */

@media (max-width: 600px) {

    .destacados-header h2 {
        font-size: 18px;
    }

    .destacados-subtitulo {
        font-size: 11px;
    }

    .destacados-flecha {
        width: 38px;
        height: 38px;
        font-size: 28px;
    }

    .destacados-track {
        gap: 10px;
    }

    .destacado-card {
        /*flex: 0 0 calc(
            (100% - 10px) / 2
        );*/
         flex: 0 0 190px;
        width: 190px;
        min-width: 190px;
    }
    .destacado-foto {
        height: 250px;
    }

}


/* CELULAR PEQUEÑO */

@media (max-width: 380px) {

    .destacado-card {
        /*flex: 0 0 82%;*/
         flex: 0 0 170px;
        width: 170px;
        min-width: 170px;
    }
     .destacado-foto {
        height: 225px;
    }


}
