* {
    box-sizing: border-box;
}

body {
    /*opacity: 1;*/
}

.slide.s-hidden {
    opacity: 0;
    pointer-events: none;
    margin-right: 0;
}

.carrusel {
    position: relative;
    left: 0;
    width: 100%;
    text-align: center;
    overflow: hidden;
    /*background: red;*/
    display: none;
}

.carrusel.activo {
    display: block;
}

.slides {
    display: flex;
    overflow-x: auto;
    /*
  scroll-snap-points-x: repeat(300px);
  scroll-snap-type: mandatory;
  */
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.slides.touch {
    -ms-scroll-snap-type: x mandatory;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /*transition: transform 0.5s;*/
}

.slides::-webkit-scrollbar {
    margin-top: 10px;
    width: 10px;
    height: 4px;
}

.slides::-webkit-scrollbar-thumb {
    background: var(--black);
    border-radius: .1rem;
}

.slides::-webkit-scrollbar-track {
    background: transparent;
}

.slides>div {
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    margin-right: 50px;
    border-radius: 0px;
    background: #fff;
    transform-origin: center center;
    transform: scale(1);
    transition: transform 0.5s;
    position: relative;
}

.slides>div:not(.destacado-info-boton) {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 100px;
}

.slides>div:target {
    /*   transform: scale(0.8); */
}

.author-info {
    background: rgba(0, 0, 0, 0.75);
    color: white;
    padding: 0.75rem;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
}

.author-info a {
    color: white;
}

.carrusel img {
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carrusel>a {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    background: transparent;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 0 0.5rem 0;
    position: relative;
}

.carrusel>a:active {
    top: 1px;
}

.carrusel>a:focus {
    color: blak;
}

.grabbable {
    cursor: move;
    /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}


/* (Optional) Apply a "closed-hand" cursor during drag operation. */

.grabbable:active {
    cursor: grabbing;
    cursor: -moz-grabbing;
    cursor: -webkit-grabbing;
}

.carrusel-slides {
    margin-top: 30px;
    padding-top: 20px;
    margin-bottom: 30px;
    border-left: 1px solid #e1d9d4;
}

.carrusel.v2 .carrusel-slides {
    margin-bottom: 15px;
}

.carrusel-slides a {
    position: relative;
    width: 100%;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.carrusel.posts .carrusel-slides a {
    justify-content: flex-start;
}

.carrusel.posts .carrusel-slides p {
    text-align: left;
}

.carrusel-links {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, rgba(249, 247, 242, 0) 0%, var(--c3-light) 50%, rgba(249, 247, 242, 0) 100%);
    width: 65%;
}

.carrusel-links li {
    list-style: none;
    width: 20px;
    margin-left: 5px;
    margin-right: 5px;
    height: 30px;
    /*background: red;*/
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-300);
}

.carrusel-links li:hover {
    color: var(--black);
}

.carrusel-links li.activo {
    color: var(--black);
    font-weight: bold;
    /*pointer-events: none;*/
}


/* Don't need button navigation */

@supports (scroll-snap-type) {
    .carrusel>a {
        display: none;
    }
}

@media screen and (max-aspect-ratio: 1/1) {
    .carrusel .slides {
        padding-bottom: 0px;
    }
    .carrusel-links {
        margin-top: -10px;
        margin-left: 25px;
    }
}