.txr-testimonials-wrap {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 0 40px;
}

.txr-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.txr-track {
    display: flex;
    gap: 0px;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    align-items: stretch;
    cursor: grab;
    user-select: none;
}

.txr-track.is-dragging {
    cursor: grabbing;
    transition: none;
}

.txr-slide {
    flex-shrink: 0;
    box-sizing: border-box;
    min-width: 0;
    padding: 0;
    margin: 0;
}

.txr-card {
    background-color: #f5f5f5;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.txr-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.txr-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.txr-rating-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.txr-rating-number {
    font-size: 22px;
    font-weight: 700;
    color: #111;
    line-height: 1;
}

.txr-rating-label {
    font-size: 13px;
    color: #555;
}

.txr-stars-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background-color: #d9f060;
    border-radius: 20px;
    padding: 5px 12px;
    width: fit-content;
    flex-shrink: 0;
}

.txr-star {
    font-size: 14px;
    color: #111;
    line-height: 1;
}

.txr-person-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
    min-width: 0;
}

.txr-name {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    word-break: break-word;
    white-space: normal;
}

.txr-job {
    font-size: 13px;
    color: #777;
    word-break: break-word;
    white-space: normal;
}

.txr-avatar {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    overflow: hidden;
}

.txr-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.txr-review-box {
    background-color: #fff;
    border-radius: 12px;
    padding: 16px;
    position: relative;
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
}

.txr-review-text {
    font-size: 14px;
    color: #333;
    font-style: italic;
    line-height: 1.7;
    margin: 0;
    padding-right: 24px;
    word-break: break-word;
    white-space: normal;
    overflow-wrap: break-word;
}

.txr-quote-icon {
    position: absolute;
    bottom: 12px;
    right: 14px;
    font-size: 28px;
    color: #ccc;
    line-height: 1;
}

.txr-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 28px;
    padding: 0 10px;
}

.txr-arrow {
    width: 44px;
    height: 44px;
    border: 1.5px solid #333;
    background: transparent;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
    line-height: 1;
    padding: 0;
}

.txr-arrow:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.txr-nav-line {
    flex: 1;
    height: 1.5px;
    background-color: #ccc;
}

.txr-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    flex-shrink: 0;
}

.txr-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid #ccc;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    display: inline-block;
    flex-shrink: 0;
}

.txr-dot.active {
    background-color: #333;
    border-color: #333;
}

@media (max-width: 1024px) {
    .txr-avatar { width: 90px; height: 90px; }
}

@media (max-width: 767px) {
    .txr-avatar { width: 80px; height: 80px; }
    .txr-name { font-size: 15px; }
    .txr-review-text { font-size: 13px; }
}
