/* BLOCK: Coloured Cards */

.block-coloured-cards .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5rem;
}

@media screen and (width > 620px) {
    .block-coloured-cards .coloured-card-list {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 1.5rem;
    }
    .block-coloured-cards .swiper-wrapper {
        transform: none !important;
    }
    .block-coloured-cards .swiper-slide {
        width: auto !important;
        margin: 0 !important;
    }
}

.block-coloured-cards .swiper {
    max-width: 100%;
    overflow: visible;
}

.block-coloured-cards .coloured-card-list .coloured-card {
    padding: 2.5rem 2.5rem 3.125rem 2.5rem;
    background-color: var(--bg-color, var(--c-light-purple));
    border-radius: var(--radius-40);

    display: flex;
    flex-direction: column;
    /* align-items: center; */
    gap: 1.875rem;
}

.block-coloured-cards .coloured-card-list .coloured-card .coloured-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.block-coloured-cards .coloured-card-list .coloured-card .coloured-card__tags .card-tag {
    display: flex;
    border: 1px solid var(--tbd-color, var(--c-primary));
    background-color: var(--tbg-color, var(--c-light-purple));
    border-radius: 6.25rem;
    font-size: var(--font-13-9);
    font-weight: 500;
    padding: 0.45rem 0.825rem;
}

.block-coloured-cards .coloured-card-list .coloured-card img {
    /* box-shadow: 0px 3.49px 43.59px 0px #070F3033; */
    filter: drop-shadow(0px 3.49px 43.59px #070F3033);
    width: 100%;
    height: auto;
}

.block-coloured-cards .coloured-card__title {
    padding-top: 0.625rem;
    /* text-align: center; */
}

.block-coloured-cards .coloured-card__description {
    margin:0;
    /* text-align: center; */
    font-size: var(--font-16-13);
}

.block-coloured-cards .content-after {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3.75rem;
}

.block-coloured-cards .text_content:not(:last-child) {
    margin-bottom: 5rem;
}

.block-coloured-cards .text_content > * {
    margin: 0;
}

.block-coloured-cards .text_content > :not(:last-child) {
    margin-bottom: 2.5rem;
}

.block-coloured-cards .content-after .cta-buttons {
    display: flex;
    align-items: center;
    gap: 0.938rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media screen and (width <= 1024px) {
    .block-coloured-cards .coloured-card-list .coloured-card {
        padding: 1.5rem 1.5rem 2.5rem 1.5rem;
        border-radius: 1.5rem;
        gap: 1.25rem;
    }
    .block-coloured-cards .coloured-card__title {
        padding-top: 1.25rem;
    }
    .block-coloured-cards .swiper-wrapper {
        margin-inline: calc(-1 * var(--offset));
        padding-inline: var(--offset);
        align-items: stretch;
    }
    .block-coloured-cards .swiper-slide {
        height: auto;
    }
    .block-coloured-cards .swiper-pagination {
        position: static;
        margin-top: 1.5rem;
    }
    .block-coloured-cards .swiper-pagination-bullet {
        transition: width 300ms ease-out;
    }
    .block-coloured-cards .swiper-pagination-bullet-active {
        width: 1.5rem;
    }
    .block-coloured-cards .content-wrapper {
        gap: 3.75rem;
    }
    .block-coloured-cards .content-after {
        gap: 2.5rem;
    }
}

@media screen and (width <= 620px) {
    .block-coloured-cards .content-after .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
        min-width: min(100vw - 3rem, 15.875rem);
        margin-inline: auto;
    }
}