.godgiven-slider .swiper-slide-inner{
    position: relative;
    text-align: start;
}

.godgiven-slider .swiper-slide .swiper-caption{
    position: absolute;
    top: 20%;
    left: 0;
    /*bottom: 0;*/
    /*background: linear-gradient(to right, #fff, transparent);*/
    width: 54%;
    padding-block: 1rem;
    padding-inline-start: 4%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.godgiven-slider .swiper-slide .swiper-caption::before {
    content: " ";
    position: absolute;
    inset: -4rem;
    left:0;
    z-index: -1;
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-mask-image: radial-gradient(ellipse at left center, black 40%, transparent 75%);
    mask-image: radial-gradient(ellipse at left center, black 40%, transparent 75%);
}

.godgiven-slider .swiper-slide .swiper-caption .swiper-caption-title {
    font-size: 3.2rem;
}

.godgiven-slider .swiper-slide .swiper-caption .swiper-caption-sub-title {
    font-size: 2.5rem;
    line-height: 1.3;
}

@media (max-width: 1024px) {
    .godgiven-slider .swiper-slide {
        flex-direction: reverse-column;
    }
    .godgiven-slider .swiper-slide .swiper-caption {
        position: static;
        width: 100%;
    }
    .godgiven-slider .swiper-slide .swiper-caption .swiper-caption-title {
        font-size: 1.8rem;
        margin-bottom: 0.2rem;
    }

    .godgiven-slider .swiper-slide .swiper-caption .swiper-caption-sub-title {
        font-size: 1.2rem;
        line-height: 1.4;
    }
    
    .godgiven-slider .swiper-slide .swiper-caption .swiper-caption-description {
        max-height: 20%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    } 
}