.custom-carousel {
    display: flex;
    overflow: hidden;
}

.custom-carousel-header {
    padding: 0 40px;
    width: 40%;
    display: flex;
    flex-direction: column;
}

.carousel-header-top {
    flex-direction: column;
}
.carousel-header-top .custom-carousel-header {
    width: 100%;
    flex-direction: row;
    gap: 80px;
}
.carousel-header-top  .custom-carousel-header h2 {
    margin: 0;
}

.carousel-header-top  .custom-carousel-description {
    margin: 0 auto;

}

.custom-carousel-item-wrapper {
    width: 26vw;
    min-width: 26vw;
}

.custom-slick-carousel .slick-track {
    align-items: center;
}


.custom-carousel-header h2 {
    max-width: 450px;
    margin: 0 0 32px;
}

.custom-carousel-description {
    max-width: 500px;
    margin: 0;
}

.custom-carousel-controls {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: auto;
}

.carousel-navigate {
    display: flex;
    gap: 12px;
}

.carousel-navigate>span {
    cursor: pointer;
    display: flex;
}

.custom-carousel-item {
    position: relative;
}

.custom-carousel-item-content {
    width: 100%;
    padding: 16px 0;
    bottom: 0;
    left: 0;
    position: relative;
}
.slide-content-overlay .custom-carousel-item-content {
    position: absolute;
    padding: 10px 16px;
    bottom: 0;
    left: 0;
}
.custom-carousel-item-content h3 {
    margin: 0;
}

.custom-carousel-item-content h4,
.custom-carousel-item-content p {
    margin: 8px 0 0;
}

@media screen and (max-width: 782px) {
    .custom-carousel .slick-slider {
        margin-left: 0 !important;
    }

    .custom-carousel {
        flex-direction: column;
        gap: 0;
    }

    .custom-carousel-item-wrapper {
        width: 60vw;
        min-width: 60vw;
    }

    .custom-carousel-description {
        margin: 0 0 24px;
    }

    .custom-carousel-header {
        flex-direction: column !important;
        padding: 0 20px;
        margin-bottom: 32px;
        width: 100%;
        gap: 24px !important;
    }

    .carousel-navigate {
        margin-left: 0;
    }


    .custom-carousel-controls {
        gap: 20px;
        justify-content: space-between;
    }
}

@media screen and (max-width: 480px) {
    .custom-carousel-item-wrapper {
        width: 80vw;
        min-width: 80vw;
    }
}