.tpl-carousel-blog-cards {
    --color-card-background: var(--color-terciary-gray)
}

.tpl-carousel-blog-cards .vs-link-arrow.link-page-mobile {
    margin-top: 16px;
}

.vs-component--fluid.tpl-carousel-blog-cards__swiper {
    width: 100%;
    margin-top: 16px;
}

.tpl-carousel-blog-cards__swiper .swiper {
    padding-inline: 20px;
}

.tpl-carousel-blog-cards__swiper .swiper-wrapper {
    box-sizing: border-box;
    height: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent
}

.tpl-carousel-blog-cards__swiper .swiper-slide {
    width: 32%;
    min-width: 248px;
    height: auto;
    padding: 8px 8px 32px 8px;
    border-radius: 16px;
    background-color: var(--color-card-background, #F8F7F5);
}

.tpl-carousel-blog-cards__swiper .touch-layer {
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    row-gap: 16px;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.tpl-carousel-blog-cards__img {
    position: relative;
    height: 192px;
    pointer-events: none;
}

.tpl-carousel-blog-cards__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.tpl-carousel-blog-cards__chip {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    border-radius: 16px;
    border: 1px solid var(--color-primary-white, #FFF);
    background-color: var(--color-primary-white, #FFF);
}

.tpl-carousel-blog-cards__swiper .tpl-carousel-blog-cards__description {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
    padding-inline: 12px;
}

.tpl-carousel-blog-cards__swiper .swiper-pagination {
    display: flex;
    padding: 8px 16px;
    border-radius: 64px;
    background-color: var(--color-secondary-white, #F6F6F6);
}

.tpl-carousel-blog-cards__swiper .swiper-horizontal > .swiper-pagination-bullets,
.tpl-carousel-blog-cards__swiper .swiper-pagination-bullets.swiper-pagination-horizontal,
.tpl-carousel-blog-cards__swiper .swiper-pagination-custom,
.tpl-carousel-blog-cards__swiper .swiper-pagination-fraction {
    position: relative;
    bottom: 0;
    width: fit-content;
    margin: 24px auto 0;
}

.tpl-carousel-blog-cards__swiper .swiper-pagination-bullet {
    opacity: 1;
    background-color: #DCD5CC;
}

.tpl-carousel-blog-cards__swiper .swiper-pagination-bullet-active {
    position: relative;
    background-color: var(--color-link, #ED002F);

}

.tpl-carousel-blog-cards__swiper .swiper-pagination-bullet-active::before {
    position: absolute;
    left: 0;
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background-color: var(--color-link, #ED002F);
}


.tpl-carousel-blog-cards__link-wrapper {
    display: flex;
    align-items: flex-end;
    flex: 1;
    padding: 0 12px;
}

.tpl-carousel-blog-cards__link:hover {
    color: #ED002F;
}

@media (min-width: 1024px) {
    .vs-component--fluid.tpl-carousel-blog-cards__swiper {
        padding-inline: 40px;
    }

    .tpl-carousel-blog-cards__swiper .swiper {
        padding-inline: initial;
        height: auto;
    }

    .tpl-carousel-blog-cards__swiper .swiper-wrapper.tpl-carousel-blog-cards__cards {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 16px;
        height: auto;
    }

    .tpl-carousel-blog-cards__swiper .tpl-carousel-blog-cards__img-wrapper {
        width: 100%;
        height: 256px;
    }

    .tpl-carousel-blog-cards__swiper .tpl-carousel-blog-cards__description {
        padding-inline: 12px;
    }
}

@media (min-width: 1440px) {
    .vs-component--fluid.tpl-carousel-blog-cards__swiper {
        max-width: var(--general-max-width, 1600px);
        padding-inline: 96px;
    }

    .tpl-carousel-blog-cards__swiper .swiper-wrapper.tpl-carousel-blog-cards__cards {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 16px;
        height: auto;
    }

    .tpl-carousel-blog-cards__swiper .tpl-carousel-blog-cards__description {
        row-gap: 8px;
    }

}

