.tfnz-testimonies_container {
    padding: 64px 0 80px 0;
    background-position: center;
    background-size: cover;
}

.tfnz-testimonies_heading {
    text-align: center;
    margin: 0 20px 48px 20px;
    color: #fff;
}

.tfnz-testimonies_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: center;
}

.tfnz-testimonies_section {
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-grow: 0;
    flex-shrink: 0;
    gap: 16px;
    width: 400px;
    background: #fff;
    padding: 42px 32px;
    border-radius: 0.25rem;
}

.tfnz-testimonies_icon {
    height: 48px;
    aspect-ratio: 1;
    position: relative;
    flex-shrink: 0;
    pointer-events: none;
}

.tfnz-testimonies_icon_Large {
    height: 128px;
}

.tfnz-testimonies_icon img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tfnz-testimonies_icon:not(:has(img)) {
    background-image: url("/DesktopModules/TFNZTestimonies/Images/quote.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.tfnz-testimonies_content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tfnz-testimonies_name {
    margin: 0;
    font-size: 1rem;
    line-height: 1rem;
    font-family: FSMe-bold, Calibri;
    text-align: center;
    color: #173145;
}

.tfnz-testimonies_description {
    margin: 0;
    color: #173145;
    font-size: 0.9rem;
    line-height: 1.3rem;
    font-family: FSMe-regular, Calibri;
    text-align: center;
}

.tfnz-testimonies_is-carousel .tfnz-testimonies_section {
    width: 100%;
}

/*.tfnz-testimonies_is-carousel .tfnz-testimonies_heading {
    margin-bottom: 52px !important;
}*/

.tfnz-testimonies_is-carousel .tfnz-testimonies_grid {
    flex-wrap: nowrap;
    touch-action: pan-y;
    position: relative;
    min-height: 100px;
    width: 100%;
    overflow-x: hidden;
    gap: 0;
}

.tfnz-testimonies_carousel-item {
    position: relative;
    user-select: none;
    width: 0;
    left: calc(var(--left) * 440px); /* desktop view */
}

.tfnz-testimonies_carousel-contents {
    min-height: 100%;
    translate: -50%;
    overflow: hidden;
    width: 400px; /* desktop view */
    max-width: 700px;
}

.tfnz-testimonies_is_individual .tfnz-testimonies_carousel-item {
    left: calc(var(--left) * min(70%, 700px)); /* mobile view */
}

.tfnz-testimonies_is_individual .tfnz-testimonies_carousel-contents {
    width: calc(var(--container-width) * 0.7); /* mobile view */
}



/* Indicators */

.tfnz-testimonies_indicators {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-top: 40px;
}

.tfnz-testimonies_carousel-indicator {
    border: none;
    background: transparent;
    width: 20px;
    height: 20px;
    border-radius: 33%;
    cursor: pointer;
    position: relative;
}

.tfnz-testimonies_carousel-indicator:focus {
    outline: none;
}

.tfnz-testimonies_carousel-indicator::after {
    content: "";
    position: absolute;
    inset: 5px;
    border: 2px solid var(--indicator-color);
    border-radius: 50%;
}

.tfnz-testimonies_carousel-indicator.tfnz-testimonies_active::after {
    background: var(--indicator-color);
}
