.ca-category-cards-carousel,
.ca-category-cards-carousel * {
    box-sizing: border-box;
}

.ca-category-cards-carousel {
    position: relative;
    width: 100%;
}

.ca-category-cards {
    --ca-columns: 5;
    --ca-card-image: none;
    --ca-gap: 12px;
    display: grid;
    grid-template-columns: repeat(var(--ca-columns), minmax(0, 1fr));
    gap: var(--ca-gap);
    width: 100%;
}

.ca-category-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 240px;
    border-radius: 14px;
    background-image: var(--ca-card-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
}

.ca-category-card::before,
.ca-category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ca-category-card::before {
    z-index: -2;
    background-image: var(--ca-card-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform .45s ease;
}

.ca-category-card::after {
    z-index: -1;
    background: rgba(0, 91, 91, .62);
    transition: background .25s ease, opacity .25s ease;
}

.ca-category-cards--zoom .ca-category-card:hover::before {
    transform: scale(1.055);
}

.ca-category-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: inherit;
    height: 100%;
    padding: 24px 20px 18px;
}

.ca-category-card__title,
.ca-category-card__subtitle {
    position: relative;
    z-index: 2;
}

.ca-category-card__title {
    margin: 0 0 8px;
    color: #fff2d8;
    font-size: 26px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.ca-category-card__subtitle {
    max-width: 92%;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
}

.ca-category-card__button-wrap {
    position: relative;
    z-index: 4;
    display: flex;
    margin-top: 20px;
}

.ca-category-card--button-left .ca-category-card__button-wrap {
    justify-content: flex-start;
}

.ca-category-card--button-right .ca-category-card__button-wrap {
    justify-content: flex-end;
}

.ca-category-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: auto;
    max-width: 100%;
    min-height: 38px;
    padding: 10px 18px;
    border-radius: 4px;
    background-color: #00646b;
    color: #ffffff;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.ca-category-card__button:hover,
.ca-category-card__button:focus {
    background-color: #004f55;
    color: #ffffff;
    transform: translateY(-1px);
}

.ca-category-card__button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ca-category-card__button-icon svg,
.ca-category-card__button-icon i {
    display: block;
    width: .9em;
    height: .9em;
    color: currentColor;
    fill: currentColor;
}

.ca-category-card__full-link {
    position: absolute;
    inset: 0;
    z-index: 3;
    text-indent: -9999px;
    overflow: hidden;
}

.ca-category-card__button {
    position: relative;
    z-index: 5;
}

.ca-category-cards-carousel__arrow,
.ca-category-cards-carousel__dots {
    display: none;
}

.ca-category-cards-carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 20;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background-color: #78c8bf;
    color: #ffffff;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    line-height: 1;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
    transition: background-color .2s ease, color .2s ease, transform .2s ease, opacity .2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.ca-category-cards-carousel__arrow--prev {
    left: 0;
    transform: translate(-36%, -50%);
}

.ca-category-cards-carousel__arrow--next {
    right: 0;
    transform: translate(36%, -50%);
}

.ca-category-cards-carousel__arrow:hover,
.ca-category-cards-carousel__arrow:focus {
    background-color: #00646b;
    color: #ffffff;
    outline: none;
}

.ca-category-cards-carousel__arrow--prev:hover,
.ca-category-cards-carousel__arrow--prev:focus {
    transform: translate(-36%, -50%) scale(1.04);
}

.ca-category-cards-carousel__arrow--next:hover,
.ca-category-cards-carousel__arrow--next:focus {
    transform: translate(36%, -50%) scale(1.04);
}

.ca-category-cards-carousel__arrow:disabled {
    opacity: .38;
    cursor: default;
    pointer-events: none;
}

.ca-category-cards-carousel__arrow-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 30px;
    font-weight: 800;
    line-height: .85;
    transform: translateY(-1px);
}

.ca-category-cards-carousel__dots {
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 14px;
}

.ca-category-cards-carousel__dot {
    display: block;
    width: 8px;
    height: 8px;
    padding: 0;
    border: 1px solid #00646b;
    border-radius: 999px;
    background-color: transparent;
    cursor: pointer;
    transition: width .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease;
    -webkit-appearance: none;
    appearance: none;
}

.ca-category-cards-carousel__dot.is-active {
    width: 23px;
    background-color: #00646b;
    border-color: #00646b;
}

.ca-category-cards-carousel__dot:hover,
.ca-category-cards-carousel__dot:focus {
    transform: scale(1.08);
    outline: none;
}

@media (max-width: 767px) {
    .ca-category-cards-carousel--mobile-enabled .ca-category-cards--mobile-scroll {
        display: flex;
        grid-template-columns: none;
        gap: var(--ca-gap);
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }

    .ca-category-cards-carousel--mobile-enabled .ca-category-cards--mobile-scroll::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .ca-category-cards-carousel--mobile-enabled .ca-category-cards--mobile-scroll .ca-category-card {
        flex: 0 0 var(--ca-slide-width, 100%);
        min-width: 0;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .ca-category-cards-carousel--mobile-enabled.ca-category-cards-carousel--arrows-yes .ca-category-cards-carousel__arrow {
        display: flex;
    }

    .ca-category-cards-carousel--mobile-enabled.ca-category-cards-carousel--dots-yes .ca-category-cards-carousel__dots {
        display: flex;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ca-category-card::before,
    .ca-category-card::after,
    .ca-category-card__button,
    .ca-category-cards-carousel__arrow,
    .ca-category-cards-carousel__dot {
        transition: none;
    }

    .ca-category-cards-carousel--mobile-enabled .ca-category-cards--mobile-scroll {
        scroll-behavior: auto;
    }
}
