/* Home Slider Block */

.home-slider {
    position: relative;
    padding: 80px 0;
    background: var(--black-bg, #000000);
    color: var(--white, #ffffff);
    font-family: var(--font-family);
    overflow: hidden;
}

.home-slider__title {
    margin: 0 0 16px 0;
    color: var(--white, #ffffff);
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: 600;
    line-height: 120%;
    text-align: center;
}

.home-slider__subtitle {
    margin: 0 0 48px 0;
    color: var(--grayc5, #c5c5c5);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    text-align: center;
}

.home-slider__wrapper {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: white #4C4C4C;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    scroll-padding-left: 20px;
}

.home-slider__wrapper:active {
    cursor: grabbing;
}

.home-slider__wrapper.active {
    cursor: grabbing;
}

.home-slider__wrapper::-webkit-scrollbar {
    height: 1px;
    background: #4C4C4C;
}

.home-slider__wrapper::-webkit-scrollbar-track {
    background: #4C4C4C;
    border-radius: 0;
}

.home-slider__wrapper::-webkit-scrollbar-thumb {
    background: white;
    height: 1px;
    border-radius: 0;
}

.home-slider__wrapper::-webkit-scrollbar-thumb:hover {
    background: white;
}

.home-slider__track {
    display: flex;
    gap: 16px;
    padding: 0 20px;
}

.home-slider__slide {
    flex-shrink: 0;
    width: calc(100vw - 60px);
    max-width: 315px;
    overflow: hidden;
    background: var(--black19, #191919);
}

.home-slider__image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.home-slider__caption {
    padding: 16px;
    color: var(--grayc5, #c5c5c5);
    font-size: 14px;
    text-align: center;
}

/* Tablet (640px+) */
@media (min-width: 640px) {
    .home-slider {
        padding: 100px 0;
    }

    .home-slider__title {
        font-size: 40px;
    }

    .home-slider__subtitle {
        font-size: 18px;
        margin-bottom: 60px;
    }

    .home-slider__track {
        gap: 18px;
        padding: 0 10px;
    }

    .home-slider__slide {
        width: 315px;
        max-width: none;
    }

}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    .home-slider {
        padding: 120px 0;
    }

    .home-slider__title {
        font-size: 48px;
        margin-bottom: 20px;
    }

    .home-slider__subtitle {
        font-size: 20px;
        margin-bottom: 80px;
    }

    .home-slider__track {
        gap: 20px;
        padding: 0 10px;
    }

    .home-slider__slide {
        width: 315px;
    }

}
