.tc-reviews__container {
    border-top: 1px solid var(--color-iceland-500);
    border-bottom: 1px solid var(--color-iceland-500);
    background: linear-gradient(0deg, var(--color-iceland-200) 0%, var(--color-iceland-200) 100%), var(--color-contrast-100);
    padding: var(--section-padding-lg) var(--page-padding);
}

.testimonials__swiper {
    height: auto;

    margin-top: var(--spacing-x6);

    @media screen and (min-width:960px) {
        margin-top: var(--spacing-x10);
    }
}

.testimonials__swiper .swiper-wrapper {
    align-items: stretch;
    height: auto;
    max-height: fit-content;
}

.testimonials__swiper-slide {
    height: auto;
    max-height: fit-content;
}

.testimonials__swiper-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--spacing-x6);
}

.testimonials__swiper-pagination,
.testimonials__swiper-slide-change-button {
    position: static;
    width: auto;
    height: fit-content;
}

.testimonials__swiper-pagination {
    width: fit-content !important;
    display: flex;
    align-items: center;
    gap: var(--spacing-4);
}

.testimonials__swiper-pagination .swiper-pagination-bullet {
    height: 10px !important;
    width: 10px !important;
    display: block;
    background-color: var(--color-iceland-600);
}

.testimonials__swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--color-iceland-1200);
}

.testimonials__swiper-slide-change-button>svg {
    display: none;
}

.testimonials__swiper-buttons-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-20);
}

.testimonials__swiper-slide-change-button::after {
    content: " ";
    width: 48px;
    height: 48px;
    background-image: url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 1C36.7025 1 47 11.2975 47 24C47 36.7025 36.7025 47 24 47C11.2975 47 1 36.7025 1 24C1 11.2975 11.2975 1 24 1Z' stroke='%231D1C1A' stroke-width='2'/%3E%3Cpath d='M16.01 23.98H31M22.013 17.988L16.002 24L22.013 30.012' stroke='%231D1C1A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.testimonials__swiper-next {
    transform: rotate(180deg);
}

.testimonial__block {
    display: flex;
    flex-direction: column;
}

.testimonial__block-text-container {
    margin-top: var(--spacing-20);
}

.testimonial__text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    align-self: stretch;
    overflow: hidden;
    text-overflow: ellipsis;

    color: var(--color-contrast-200, #000);
    font: var(--font-body-lg);
    font-feature-settings: 'dlig' on;
    margin: 0;
}



.testimonial-continue-reading {
    padding-block: var(--spacing-12);
}


.testimonial__author-text-container {
    margin-top: var(--spacing-x4);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-x2);
}


.testimonial__author-name {
    font: var(--font-overline-lg);
    text-transform: uppercase;
    color: var(--color-contrast-200);
    margin: 0;
}

.testimonial__author-extra-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-x1);
}

.testimonial__author-extra-info p {
    margin: 0;
    color: var(--color-iceland-700);
    text-align: center;
    font-feature-settings: 'dlig' on;
    font: var(--font-body-sm);
}


.testimonial__author-location::before {
    content: " ";
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9.873 9.955C9.873 11.06 10.768 11.955 11.873 11.955C12.978 11.955 13.873 11.06 13.873 9.955V9.918C13.873 8.813 12.978 7.918 11.873 7.918C10.768 7.918 9.873 8.813 9.873 9.918M5 10.045V9.873C5 6.077 8.077 3 11.873 3C15.669 3 18.746 6.077 18.746 9.873V10.045C18.746 13.506 14.364 18.716 12.598 20.676C12.209 21.108 11.537 21.108 11.148 20.676C9.382 18.716 5 13.506 5 10.045Z' stroke='%23767168' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
}

.testimonial__author-date::before {
    content: " ";
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M15.5 2V6M7.5 2L7.5 6M2.5 9L20.5 9M11.513 12.729C11.513 12.729 11.514 13.091 11.514 13.229M16.513 12.729V13.229M6.513 16.729V17.229M11.514 16.729C11.514 16.867 11.514 17.229 11.514 17.229M18.5 4L4.5 4C3.395 4 2.5 4.895 2.5 6L2.5 19C2.5 20.105 3.395 21 4.5 21L18.5 21C19.605 21 20.5 20.105 20.5 19L20.5 6C20.5 4.895 19.605 4 18.5 4Z' stroke='%23767168' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
}


/* Modal styles */

.testimonial-modal__dialog {
    margin: 0;

    @media screen and (min-width:960px) {
        /* margin: auto; */
        max-width: unset;
        display: flex;
        justify-content: center;
    }
}


.story-modal-content {
    width: 100vh;
    height: 100vh;
    padding: var(--section-padding-lg) var(--page-padding);
    position: relative;
    border-radius: 0 0 var(--Radius-Large, 0) 0;
    background: var(--color-iceland-100);

    @media screen and (min-width:960px) {
        width: 768px !important;
        height: auto;
        min-height: 820px;
        max-height: 820px;
    }
}

.testimonial__modal-close {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'>\<path d='M17.5996 5.92505C17.7639 5.92505 17.8659 5.97355 17.9463 6.05396C18.0265 6.13426 18.0751 6.23575 18.0752 6.39966C18.0752 6.56386 18.0266 6.66595 17.9463 6.74634L12.6924 12.0002L13.0459 12.3538L17.9463 17.2532C18.0267 17.3335 18.0752 17.4357 18.0752 17.5999C18.0752 17.7641 18.0267 17.8661 17.9463 17.9465C17.8659 18.0269 17.7639 18.0754 17.5996 18.0754C17.4355 18.0754 17.3333 18.0269 17.2529 17.9465L12.3535 13.0461L12 12.6926L6.74609 17.9465C6.66571 18.0269 6.56362 18.0754 6.39941 18.0754C6.23551 18.0754 6.13402 18.0268 6.05371 17.9465C5.97331 17.8661 5.9248 17.7641 5.9248 17.5999C5.92484 17.4357 5.97334 17.3335 6.05371 17.2532L11.3066 12.0002L10.9531 11.6467L6.05371 6.74634C5.97331 6.66594 5.9248 6.56393 5.9248 6.39966C5.92488 6.23562 5.97337 6.13429 6.05371 6.05396C6.13405 5.97362 6.23537 5.92513 6.39941 5.92505C6.56368 5.92505 6.66569 5.97355 6.74609 6.05396L11.6465 10.9534L12 11.3069L17.2529 6.05396C17.3333 5.97358 17.4355 5.92509 17.5996 5.92505Z' fill='white' stroke='black'/>\</svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;

    top: var(--spacing-20);
    right: var(--spacing-20);
}

.testimonial__text-showAll {
    color: var(--color-contrast-200, #000);
    font: var(--font-body-lg);
    font-feature-settings: 'dlig' on;
    margin: 0;
    overflow-y: auto;
    max-height: calc(100vh - (var(--section-padding-lg) * 2) - var(--spacing-x17));
    padding-right: var(--spacing-x1);

    @media screen and (min-width:960px) {
        max-height: calc(820px - (var(--section-padding-lg) * 2) - var(--spacing-x17));
    }

}