.custom-hero-slider {
    position: relative;
    overflow: hidden;
}

.custom-hero-slider .hero-slider-wrapper {
    position: relative;
    width: 100vw;
    height: calc(100vh - 72px);
    /* padding: 200px 5vw 0; */
    overflow: hidden;
}

.custom-hero-slider #demo {
    pointer-events: none;
    user-drag: none;
    /* Standard property */
    -webkit-user-drag: none;
    /* Chrome, Safari, Opera */
    -moz-user-drag: none;
    /* Firefox (older versions/specific cases) */
    -ms-user-drag: none;
    /* Internet Explorer/Edge */
    touch-action: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;

}

.custom-hero-slider .card {
    position: absolute;
    left: 0;
    top: 0;
    background-position: center;
    background-size: cover;
    box-shadow: 6px 6px 10px 2px rgba(0, 0, 0, 0.6);
}

.custom-hero-slider #card0 {
    width: 100vw;
    height: 100vh;
    z-index: 10;
}

.custom-hero-slider .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 6px 6px 10px 2px rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    transition: opacity 0.3s ease;
}

.custom-hero-slider #btn {
    position: absolute;
    top: 690px;
    left: 16px;
    z-index: 99;
}

.custom-hero-slider #details {
    position: absolute;
    padding-block: clamp(96px, 10vh, 120px) 64px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
}

.custom-hero-slider #details .place-box {
    height: 46px;
    overflow: hidden;
    position: relative;
}

.custom-hero-slider #details .place-box .text {
    padding-top: 16px;
    font-size: 20px;
}

.custom-hero-slider #details .place-box .text:before {
    top: 0;
    left: 0;
    position: absolute;
    content: "";
    width: 30px;
    height: 4px;
    border-radius: 99px;
    background-color: var(--bricks-bg-light, #fff);
}

.custom-hero-slider #details .title-box-1,
.custom-hero-slider #details .title-box-2 {
    width: 100% !important;
    margin-top: 2px;
    /* min-height: 100px; */
    overflow: hidden;
}

.custom-hero-slider #details .intro-typography {
    margin-top: 16px;
    font-size: 1.8rem;
    text-wrap: pretty;
}

.custom-hero-slider #details .cta {
    margin-top: 24px;
    display: flex;
    align-items: center;
}

.custom-hero-slider .pagination {
    display: inline-flex;
    align-items: center;

    position: absolute;
    top: auto !important;
    bottom: 30px;
    right: 5vw;
    left: auto !important;
}

.custom-hero-slider .pagination .arrow {
    cursor: pointer;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 999px;
    border: 2px solid #ffffff55;
    backdrop-filter: blur(5px);
    z-index: 999999;
}

.custom-hero-slider .pagination .arrow:nth-child(2) {
    margin-left: 20px;
}

.custom-hero-slider .pagination .arrow svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    color: #ffffff99;
}

.custom-hero-slider .pagination .progress-sub-container {
    margin-left: 24px;
    width: 500px;
    height: 50px;
    display: flex;
    align-items: center;
    z-index: 999;
}

.custom-hero-slider .pagination .progress-sub-container .progress-sub-background {
    width: 500px;
    height: 3px;
    background-color: #ffffff33;
}

.custom-hero-slider .pagination .progress-sub-container .progress-sub-background .progress-sub-foreground {
    height: 3px;
    background-color: var(--bricks-color-primary, #d9a520);
}

.custom-hero-slider .pagination .slide-numbers {
    width: 50px;
    height: 50px;
    overflow: hidden;
    position: relative;
    z-index: 999;
}

.custom-hero-slider .pagination .slide-numbers .item {
    width: 50px;
    height: 50px;
    position: absolute;
    color: var(--bricks-text-light, #fff);
    top: 0;
    left: 0;
    display: grid;
    place-items: center;
    font-size: 32px;
    font-weight: bold;
}

.custom-hero-slider .pagination .slide-numbers .item:not(:first-child):not([style]) {
    opacity: 0;
}

.custom-hero-slider .cover {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    /* background-color: var(--bricks-bg-light, #fff); */
    z-index: 100;

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

@media (min-width: 768px) {
    .custom-hero-slider .hero-slider-wrapper::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgb(0 0 0 / 15%);
        z-index: 21;
    }

    .custom-hero-slider #details .place-box .text,
    .custom-hero-slider #details .title-box-1,
    .custom-hero-slider #details .intro-typography {
        text-shadow: 1px 1px rgb(46 49 56 / 50%);
    }
}

@media (max-width: 1024px) {

    .custom-hero-slider .pagination .progress-sub-container,
    .custom-hero-slider .pagination .progress-sub-container .progress-sub-background,
    .custom-hero-slider .pagination .progress-sub-container .progress-sub-foreground {
        width: clamp(100px, 40vw, 300px);
    }

    .custom-hero-slider .pagination {
        top: auto !important;
        bottom: 50px;
        left: auto !important;
        right: 20px;
    }
}

@media (max-width: 1023px) {
    .custom-hero-slider .hero-slider-wrapper {
        padding-top: 100px;
        max-height: 600px;
    }

    .custom-hero-slider .pagination .arrow {
        width: 40px;
        height: 40px;
    }

    .custom-hero-slider .pagination .arrow:nth-child(2) {
        margin-left: 14px;
    }
}

@media (max-width: 767px) {
    .custom-hero-slider .hero-slider-wrapper {
        padding-top: 60px;
    }

    .custom-hero-slider .pagination {
        left: clamp(16px, 5vw, 40px) !important;
        right: auto;
        bottom: 20px;
    }

    .custom-hero-slider .pagination .arrow {
        width: 32px;
        height: 32px;
    }

    .custom-hero-slider .pagination .arrow svg {
        width: 20px;
        height: 20px;
    }

    .custom-hero-slider .pagination .arrow:nth-child(2) {
        margin-left: 8px;
    }

    .custom-hero-slider .progress-sub-container,
    .custom-hero-slider .slide-numbers {
        visibility: hidden;
        opacity: 0;
    }

    .custom-hero-slider #details {
        position: static;
        padding-top: 64px;
        background-image: url('./bg-cover.jpg');
        background-size: auto 180px;
        background-repeat: repeat;
        background-position: top left;
        border: solid transparent;
        border-width: 6px 0;
        border-image: linear-gradient(to right, var(--bricks-color-primary), var(--bricks-color-secondary), var(--bricks-color-primary));
        border-image-slice: 1;
        transform: none;
    }

    .custom-hero-slider #details :where(.subheading-typography, .intro-typography) {
        color: var(--bricks-text-dark)
    }

    .custom-hero-slider #details .place-box .text:before {
        background-color: var(--bricks-color-primary);
    }

    .custom-hero-slider #details .hero-slider__heading {
        font-size: 6.8rem;
        color: var(--bricks-color-primary);
    }
}