.tgr-reviews,
.tgr-reviews * {
    box-sizing: border-box;
}

.tgr-reviews {
    --tgr-ink: #2d3b4e;
    --tgr-muted: #526075;
    --tgr-gap: 14px;
    width: 100%;
    color: var(--tgr-ink);
    background: transparent;
    font-family: inherit;
}

.tgr-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.tgr-heading {
    max-width: 650px;
    margin-bottom: 30px;
}

.tgr-title {
    margin: 0 0 8px;
    color: var(--tgr-ink);
    font-family: inherit;
    font-size: clamp(28px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.tgr-subtitle {
    margin: 0;
    color: var(--tgr-ink);
    font-size: 13px;
    line-height: 1.55;
}

.tgr-subtitle p {
    margin: 0;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    text-shadow: inherit;
}

.tgr-carousel {
    position: relative;
}

.tgr-viewport {
    overflow: hidden;
}

.tgr-track {
    display: flex;
    align-items: stretch;
    gap: var(--tgr-gap);
    will-change: transform;
}

.tgr-reviews--static .tgr-viewport {
    overflow: visible;
}

.tgr-reviews--static .tgr-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tgr-slide {
    flex: 0 0 calc((100% - (var(--tgr-gap) * 2)) / 3);
    min-width: 0;
    height: auto;
}

.tgr-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    padding: 16px 15px 14px;
    background: #ffffff;
    border: 1px solid #eceff3;
    border-radius: 0;
    box-shadow: 0 2px 5px rgba(26, 39, 58, 0.14);
}

.tgr-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 0 10px;
    line-height: 1;
}

.tgr-star-icon {
    display: block;
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.tgr-star-icon.is-filled {
    color: #fec200;
}

.tgr-star-icon.is-empty {
    color: #d9dde3;
}

.tgr-author {
    min-width: 0;
    margin-bottom: 9px;
}

.tgr-author-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin-bottom: 4px;
}

.tgr-author-name {
    min-width: 0;
    overflow: hidden;
    color: var(--tgr-ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tgr-author-name:hover,
.tgr-author-name:focus {
    text-decoration: underline;
}

.tgr-verify-icon {
    display: block;
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    color: #243b7f;
}

.tgr-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 3px 5px;
    margin: 0;
    color: var(--tgr-ink);
    font-size: 11px;
    line-height: 1.35;
}

.tgr-review-text {
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    border: 0;
    color: #4d5664;
    font-size: 12px;
    font-style: italic;
    line-height: 1.55;
}

.tgr-review-text p {
    margin: 0;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    text-shadow: inherit;
}

.tgr-review-no-text {
    opacity: 0.8;
}

.tgr-nav {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 44px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--tgr-ink);
    box-shadow: none;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.tgr-nav:hover,
.tgr-nav:focus-visible {
    transform: translateY(-50%) scale(1.08);
}

.tgr-nav:focus-visible {
    outline: 2px solid #243b7f;
    outline-offset: 2px;
}

.tgr-nav:disabled {
    opacity: 0.25;
    cursor: default;
}

.tgr-nav--prev {
    left: -38px;
}

.tgr-nav--next {
    right: -38px;
}

.tgr-nav span {
    position: relative;
    top: -1px;
    font-size: 32px;
    line-height: 1;
}

.tgr-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
}

.tgr-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c9d0da;
    cursor: pointer;
}

.tgr-dot.is-active {
    background: var(--tgr-ink);
}

.tgr-dot:focus-visible {
    outline: 2px solid #243b7f;
    outline-offset: 2px;
}

.tgr-admin-message {
    padding: 12px 14px;
    border-left: 4px solid #d63638;
    background: #fff;
    color: #2c3338;
}

@media (max-width: 900px) {
    .tgr-reviews {
        --tgr-gap: 14px;
    }

    .tgr-reviews--static .tgr-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tgr-slide {
        flex-basis: calc((100% - var(--tgr-gap)) / 2);
    }

    .tgr-nav--prev {
        left: -30px;
    }

    .tgr-nav--next {
        right: -30px;
    }
}

@media (max-width: 600px) {
    .tgr-reviews {
        --tgr-gap: 14px;
    }

    .tgr-heading {
        margin-bottom: 24px;
    }

    .tgr-title {
        font-size: 28px;
    }

    .tgr-reviews--static .tgr-track {
        grid-template-columns: minmax(0, 1fr);
    }

    .tgr-slide {
        flex-basis: 100%;
    }

    .tgr-nav {
        width: 30px;
        height: 40px;
    }

    .tgr-nav--prev {
        left: -16px;
    }

    .tgr-nav--next {
        right: -16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tgr-track,
    .tgr-nav {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
