.tb-preview {
    display: block;
    color: inherit;
    text-decoration: none !important;
}

.tb-preview:hover,
.tb-preview:focus,
.tb-preview:focus-visible,
.tb-preview:hover *,
.tb-preview:focus *,
.tb-preview:focus-visible * {
    color: inherit;
    text-decoration: none !important;
}

.tb-preview__stage {
    padding: 1rem;
    border: 1px solid #d8dee8;
    border-radius: 10px;
    background-color: #fff;
}

.tb-preview__stage.t-light {
    background-color: #f4f7fb;
}

.tb-preview__stage.t-blue {
    background-color: #003064;
    border-color: #003064;
}

.tb-preview .tb-preview__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tb-preview .tb-preview__grid--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tb-preview .tb-preview__grid--cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tb-preview .tb-preview__grid--cols-2 > :nth-child(n + 3) {
    display: none;
}

.tb-preview .tb-preview__grid--cols-3 > :nth-child(n + 4) {
    display: none;
}

.tb-preview .tb-preview__grid--cols-4 > :nth-child(n + 5) {
    display: none;
}

.tb-preview .c-testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tb-preview .c-testimonial-card__body {
    padding: 1.25rem 1.25rem 0.75rem;
}

.tb-preview .c-testimonial-card__quote-icon {
    color: #e2001a;
    margin: 0 0 1rem;
    line-height: 1;
}

.tb-preview .c-testimonial-card__quote-icon svg {
    display: block;
    width: 2.4rem;
    height: auto;
    margin-inline: auto;
}

.tb-preview .c-testimonial-card__quote {
    margin: 0;
}

.tb-preview .c-testimonial-card__text {
    margin: 0;
    font-size: 0.84rem;
    font-style: italic;
    line-height: 1.6;
    color: #495057;
}

.tb-preview .c-testimonial-card__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    margin-top: auto;
    padding: 0.75rem 1.25rem 1rem;
    border: 0;
    background: transparent;
}

.tb-preview .c-testimonial-card__image,
.tb-preview .c-testimonial-card__image--placeholder {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tb-preview .c-testimonial-card__image--placeholder {
    background: #e9ecef;
    color: #adb5bd;
}

.tb-preview .c-testimonial-card__image--placeholder .material-symbols-outlined {
    font-size: 1.3rem;
}

.tb-preview .c-testimonial-card__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tb-preview .c-testimonial-card__name {
    display: block;
    margin: 0;
    font-size: 0.82rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
    color: #003064;
}

.tb-preview .c-testimonial-card__location {
    display: block;
    margin-top: 0.125rem;
    font-size: 0.74rem;
    line-height: 1.3;
    color: #6c757d;
}

.tb-preview__stage.t-blue .c-testimonial-card {
    background-color: #001831;
    box-shadow: none;
}

.tb-preview__stage.t-blue .c-testimonial-card__text {
    color: rgba(255, 255, 255, 0.92);
}

.tb-preview__stage.t-blue .c-testimonial-card__name,
.tb-preview__stage.t-blue .c-testimonial-card__location {
    color: #fff;
}

.tb-preview__stage.t-blue .c-testimonial-card__image--placeholder {
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.65);
}

.tb-preview .tb-preview__empty {
    margin: 0;
    padding: 1rem;
    border: 1px dashed #d8dee8;
    border-radius: 8px;
    background: #fff;
    color: #6f7c8f;
    font-size: 0.78rem;
    font-style: italic;
}

@media (min-width: 992px) {
    .tb-preview .c-testimonial-card__body {
        padding: 1.5rem 1.5rem 0.875rem;
    }

    .tb-preview .c-testimonial-card__image,
    .tb-preview .c-testimonial-card__image--placeholder {
        width: 3rem;
        height: 3rem;
    }

    .tb-preview .c-testimonial-card__text {
        font-size: 0.9rem;
    }
}
