/* Google Reviews Importer - testi_entries carousel */

.gri-overall {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.gri-overall-score {
    font-size: 34px;
    font-weight: 700;
    color: #202124;
}

.gri-overall-outof {
    font-size: 13px;
    color: #5f6368;
    line-height: 1.3;
    text-align: left;
}

.gri-overall-stars {
    font-size: 22px;
    letter-spacing: 2px;
    color: #fbbc04;
}

.gri-overall-count {
    font-size: 14px;
    color: #5f6368;
    text-align: center;
    margin: 0 0 34px;
}

.testi_carousel {
    max-width: 1160px;
    margin: 0 auto;
    position: relative;
}

.testi_viewport {
    overflow: hidden;
}

.testi_entries {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    transition: transform 0.35s ease;
}

.testi_slide {
    flex: 0 0 calc((100% - 48px) / 3);
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #eceff1;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    height: auto;
}

.testi_header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.testi_avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    overflow: hidden;
}

.testi_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testi_meta {
    flex: 1;
    min-width: 0;
}

.testi_name_row {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #e3e5e8;
    padding-bottom: 6px;
    margin-bottom: 6px;
}

.testi_name {
    color: #1a73e8;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.testi_google_icon {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-left: auto;
}

.testi_stars {
    color: #fbbc04;
    font-size: 15px;
    letter-spacing: 2px;
}

.testi_stars span {
    display: inline-block;
}

.testi_time {
    font-size: 12.5px;
    color: #80868b;
    margin-top: 4px;
}

.testi_slide .testImg {
    margin-bottom: 12px;
}

.testi_slide .testImg img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.testi_slide blockquote {
    margin: 0;
    max-height: 340px;
    overflow-y: auto;
    padding: 0 8px 0 0;
    border: none;
    font-style: normal;
}

.testi_slide blockquote p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: #3c4043;
    font-style: normal;
}

.testi_slide blockquote::-webkit-scrollbar {
    width: 5px;
}

.testi_slide blockquote::-webkit-scrollbar-track {
    background: transparent;
}

.testi_slide blockquote::-webkit-scrollbar-thumb {
    background: #d7dadd;
    border-radius: 10px;
}

.testi_nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.testi_nav button {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #dcdfe3;
    background: #fff;
    color: #5f6368;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    line-height: 1;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.testi_nav button:hover {
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.testi_nav button:disabled {
    opacity: 0.35;
    cursor: default;
    box-shadow: none;
}

.testi_nav button .testi_arrow {
    display: block;
    font-size: 20px;
    color: #5f6368;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .testi_slide {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 600px) {
    .testi_slide {
        flex: 0 0 100%;
    }
}
