.card-stack {
    display: flex;
    height: calc(100% / var(--items-count));
    justify-content: center;
    gap: 2rem;
    --carousel-width: 100%;

    .cards-stack-list {
        position: relative;
        list-style: none;
        display: grid;
        grid-template-rows: repeat(var(--items-count), 1fr);
        row-gap: var(--dynamic-gap, 250px);

        div.slide {
            position: sticky;
            width: 100%;
            transform-origin: top;
            top: 13rem;

            & > div {
                height: stretch;
            }

            .slide-content {
                position: relative;
                box-shadow: 0px 4px 4px 0px #00000040;
                border-radius: var(--radius-semilarge);

                .checkmark {
                    position: absolute;
                    left: -30px;
                    top: 50%;
                    bottom: 50%;
                    margin: auto 0;
                    width: 60px;
                    height: 60px;
                    color: white;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border-radius: 50px;
                    transition-duration: 0s;

                    .icon {
                        transition-duration: 0s;
                    }

                    @media (max-width: 767px) {
                        width: 30px;
                        height: 30px;
                        left: -15px;
                    }
                }
            }

            @media screen and (max-width: 1280px) {
                top: 8rem;
            }

        }

        .slide {
        }
    }

    .cards-stack-pagination {
        position: sticky;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex-shrink: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        height: fit-content;

        @media screen and (max-width: 1280px) {
            display: none;
        }

        div {
            border-radius: var(--radius-semilarge);
        }
    }
}
