
/* CTA Cards */

.k-cta-cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    width: 100%;
    min-width: 0;
}

.k-cta-card {
    position: relative;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    padding: 40px 20px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    box-sizing: border-box;
}

/* Sizes */

.k-cta-card--sm {
    height: auto;
    justify-content: center;
}

.k-cta-card--md {
    height: 240px;
    justify-content: flex-end;
}

.k-cta-card--lg {
    height: 400px;
    justify-content: flex-end;
}

/* Image */

.k-cta-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Content */

.k-cta-card__content {
    position: relative;
    z-index: 1;
    width: 100%;
	color: #ffffff;
}

.k-cta-card__title,
.k-cta-card__text {
    margin: 0;
}

/* Horizontal slider */

@media (max-width: 1024px) {
    .k-cta-cards--count-3 {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .k-cta-cards--count-3 .k-cta-card {
        flex: 0 0 45%;
        scroll-snap-align: start;
    }
}

@media (max-width: 767px) {
    .k-cta-cards {
        gap: 10px;
    }

    .k-cta-card {
        padding: 30px 10px;
    }

    .k-cta-card--md {
        height: 200px;
    }

    .k-cta-card--lg {
        height: 350px;
    }

    .k-cta-cards--count-2,
    .k-cta-cards--count-3 {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .k-cta-cards--count-2 .k-cta-card,
    .k-cta-cards--count-3 .k-cta-card {
        flex: 0 0 85%;
        scroll-snap-align: start;
    }
}

/* Hide scrollbar */

.k-cta-cards::-webkit-scrollbar {
    display: none;
}
