
.hlx-depos {
    --hlx-items: 3;
    --hlx-gap: 24px;
    --hlx-blue: #0b43b8;
    --hlx-green: #25d366;
    --hlx-yellow: #ffc800;
    position: relative;
    width: 100%;
    padding: 42px 54px 18px;
    box-sizing: border-box;
}

.hlx-depos *,
.hlx-depos *::before,
.hlx-depos *::after {
    box-sizing: border-box;
}

.hlx-depos__viewport {
    overflow: hidden;
    width: 100%;
    padding: 64px 4px 30px;
}

.hlx-depos__track {
    display: flex;
    gap: var(--hlx-gap);
    transition: transform .55s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
    touch-action: pan-y;
}

.hlx-depos__slide {
    min-width: 0;
    box-sizing: border-box;
}

.hlx-depos[data-items="3"] .hlx-depos__slide {
    flex: 0 0 calc((100% - 48px) / 3) !important;
    width: calc((100% - 48px) / 3) !important;
    max-width: calc((100% - 48px) / 3) !important;
}

.hlx-depos[data-items="4"] .hlx-depos__slide {
    flex: 0 0 calc((100% - 72px) / 4) !important;
    width: calc((100% - 72px) / 4) !important;
    max-width: calc((100% - 72px) / 4) !important;
}

.hlx-depos__card {
    position: relative;
    min-height: 360px;
    height: 100%;
    padding: 76px 28px 32px;
    background: #fff;
    border-radius: 26px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(2, 22, 74, .18);
    border: 1px solid rgba(16, 63, 154, .08);
}

.hlx-depos__card::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -16px;
    width: 32px;
    height: 32px;
    background: #fff;
    transform: translateX(-50%) rotate(45deg);
    border-radius: 0 0 7px 0;
    box-shadow: 10px 10px 18px rgba(2, 22, 74, .08);
}

.hlx-depos__photo-wrap {
    position: absolute;
    top: -52px;
    left: 50%;
    width: 104px;
    height: 104px;
    transform: translateX(-50%);
    border-radius: 50%;
    overflow: visible;
    z-index: 3;
}

.hlx-depos__photo {
    display: block;
    width: 104px !important;
    height: 104px !important;
    max-width: none !important;
    aspect-ratio: 1 / 1;
    border-radius: 999px !important;
    object-fit: cover !important;
    object-position: center center !important;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
    background: #e8edf7;
    color: var(--hlx-blue);
    font-size: 36px;
    font-weight: 800;
}


.hlx-depos__stars {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: 22px;
    font-size: 24px;
    line-height: 1;
}

.hlx-depos__stars span {
    color: #d9dce3;
}

.hlx-depos__stars span.is-active {
    color: var(--hlx-yellow);
}

.hlx-depos__text {
    margin: 0;
    color: #14254b;
    font-size: 17px;
    line-height: 1.75;
    font-style: normal;
}

.hlx-depos__text p {
    margin: 0;
}

.hlx-depos__footer {
    margin-top: 24px;
}

.hlx-depos__name {
    display: block;
    color: var(--hlx-blue);
    font-size: 20px;
    line-height: 1.25;
}

.hlx-depos__member {
    display: block;
    margin-top: 4px;
    color: #5c6781;
    font-size: 14px;
}

.hlx-depos__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--hlx-blue);
    box-shadow: 0 8px 24px rgba(0, 25, 85, .16);
    transform: translateY(-50%);
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease;
}

.hlx-depos__arrow:hover {
    transform: translateY(-50%) scale(1.08);
}

.hlx-depos__arrow span {
    margin-top: -3px;
    font-size: 35px;
    line-height: 1;
}

.hlx-depos__arrow--prev {
    left: 4px;
}

.hlx-depos__arrow--next {
    right: 4px;
}

.hlx-depos__dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 14px;
}

.hlx-depos__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #b8c1d5;
    cursor: pointer;
    transition: width .2s ease, background-color .2s ease;
}

.hlx-depos__dot.is-active {
    width: 27px;
    border-radius: 10px;
    background: #2d8cff;
}

.hlx-depos__arrow[hidden],
.hlx-depos__dots[hidden] {
    display: none !important;
}

@media (max-width: 767px) {
    .hlx-depos {
        --hlx-items: 1 !important;
        --hlx-gap: 16px;
        padding: 38px 22px 16px;
    }

    .hlx-depos[data-items="3"] .hlx-depos__slide,
    .hlx-depos[data-items="4"] .hlx-depos__slide {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .hlx-depos__viewport {
        padding-top: 64px;
    }

    .hlx-depos__card {
        min-height: 345px;
        padding-left: 23px;
        padding-right: 23px;
    }

    .hlx-depos__arrow {
        width: 38px;
        height: 38px;
    }

    .hlx-depos__arrow--prev {
        left: -1px;
    }

    .hlx-depos__arrow--next {
        right: -1px;
    }
}


/* Quando há menos depoimentos cadastrados do que o número de colunas,
   mantém os cards alinhados à esquerda e com a largura correta. */
.hlx-depos__track {
    align-items: stretch;
}

.hlx-depos__card {
    width: 100%;
}

/* Proteção contra estilos globais do tema/Elementor. */
.hlx-depos img.hlx-depos__photo {
    border-radius: 999px !important;
}


/* Correção v1.4.0: impede corte da foto pelo container do carrossel. */
.hlx-depos,
.hlx-depos__viewport,
.hlx-depos__slide {
    overflow-y: visible;
}

.hlx-depos__track {
    padding-top: 0;
}
