.flex-layout.testimonials_switcher-layout:has(+ .flex-layout.cta-layout) {
    padding-bottom: 0;
}

.flex-layout.testimonials_switcher-layout {
    padding-block: 9rem;
    background-color: var(--white);
    color: var(--kobalt);

    position: relative;
    isolation: isolate;
    overflow: clip;
}

.flex-layout.testimonials_switcher-layout .navigation {
    place-self: start;
    display: flex;
    gap: .75rem;
    align-items: center;
    font-size: 20px;
}

.flex-layout.testimonials_switcher-layout .navigation .separator {
    display: block;
    width: 1.5rem;
    height: 1.5px;
    background-color: currentColor;
    opacity: 0.55;
}

.flex-layout.testimonials_switcher-layout .navigation .total {
    opacity: 0.55;
}

.flex-layout.testimonials_switcher-layout .testimonials {
    max-width: 100%;
}

.flex-layout.testimonials_switcher-layout .buttons {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1px;
}

.flex-layout.testimonials_switcher-layout .buttons button {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    aspect-ratio: 1;
    background-color: transparent;
    outline: 1px solid hsla(245, 11%, 79%, 1);
    border: none;
    border-radius: 0;

    transition: background-color 180ms ease-in-out, outline-color 180ms ease-in-out;
}

.flex-layout.testimonials_switcher-layout .buttons button span {
    display: block;
    width: 60%;
    aspect-ratio: 1;
    background-color: var(--kobalt);
    mask: var(--mask-url) no-repeat center /contain;
    -webkit-mask: var(--mask-url) no-repeat center /contain;
    pointer-events: none;
    transition: background-color 180ms ease-in-out;
}

.flex-layout.testimonials_switcher-layout .buttons button::before {
    content: '';
    position: absolute;
    background-color: var(--red);
    top: -1px;
    left: -1px;
    height: 6px;
    width: calc(100% + 1px);
    opacity: 0;

    transition: opacity 180ms ease-in-out;
}

.flex-layout.testimonials_switcher-layout .buttons button.active,
.flex-layout.testimonials_switcher-layout .buttons button:is(:hover, :active, :focus) {
    background-color: var(--kobalt);
    cursor: pointer;
    outline-color: var(--kobalt);
}

.flex-layout.testimonials_switcher-layout .buttons button.active span,
.flex-layout.testimonials_switcher-layout .buttons button:is(:hover, :active, :focus) span {
    background-color: var(--white);
}

.flex-layout.testimonials_switcher-layout .buttons button.active::before {
    opacity: 1;
}

.flex-layout.testimonials_switcher-layout .text {
    font-size: var(--heading-3-xl);
    font-weight: 500;
    line-height: 130%;
    letter-spacing: -0.72px;
    margin-bottom: 1.5rem;
}

.flex-layout.testimonials_switcher-layout .info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-layout.testimonials_switcher-layout .name {
    font-weight: 600;
    line-height: 1.5;
}

.flex-layout.testimonials_switcher-layout .role {
    opacity: 0.55;
}

.flex-layout.testimonials_switcher-layout .companies {

    display: flex;

}

@media only screen and (max-width: 1024px) {
    .flex-layout.testimonials_switcher-layout .navigation {
        margin-bottom: 1.5rem;
    }

    .flex-layout.testimonials_switcher-layout {
        padding-block: 80px;
        padding-inline: 1.5rem;
    }

    .flex-layout.testimonials_switcher-layout .buttons {
        margin-top: 2rem;
    }

    .flex-layout.testimonials_switcher-layout .text {
        margin-bottom: 1rem;
    }

    .flex-layout.testimonials_switcher-layout .info {
        flex-direction: column;
        align-items: start;
        gap: 1.5rem;
    }

}