/* Rotador home */
.bloque-rotador-home {
    background: var(--whitesmoke);
    padding-top: 20px;
    padding-bottom: 42px;
}

.rotador-home-card {
    position: relative;
    border: 1px solid var(--gainsboro);
    border-radius: 5px;
    background: var(--blanco);
    padding: 34px 72px;
    box-shadow: 0 1px 7px rgba(0, 49, 83, 0.06);
}

.rotador-home {
    position: relative;
    width: 100%;
}

.rotador-home-viewport {
    width: 100%;
    overflow: hidden;
}

.rotador-home-track {
    display: flex;
    width: 100%;
    transition: transform 0.45s ease;
    will-change: transform;
}

.rotador-home-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotador-home-slide a,
.rotador-home-slide span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(980px, 100%);
    margin: 0 auto;
    color: inherit;
    text-decoration: none;
}

.rotador-home-imagen {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 340px;
    object-fit: contain;
    margin: 0 auto;
    background: var(--blanco);
}

@media (max-width: 1024px) {
    .rotador-home-card {
        padding: 30px 48px;
    }

    .rotador-home-imagen {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .rotador-home-card {
        padding: 24px 20px;
    }

    .rotador-home-imagen {
        max-height: 260px;
    }
}

@media (max-width: 520px) {
    .rotador-home-card {
        padding: 18px 12px;
    }

    .rotador-home-imagen {
        max-height: 220px;
    }
}
