/* Traveler Reviews Showcase Styles */
.tt-reviews-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0;
    font-family: inherit;
}

.tt-reviews-heading {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f2e34;
    letter-spacing: -0.5px;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Top Trust Score Card (Matching exact screenshot) */
.tt-trust-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 24px;
}

.tt-trust-left {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.tt-score-box {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit !important;
}

.tt-platform-title.google-wordmark {
    color: #4285F4;
    font-size: 1.625rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
    line-height: 1.1;
}

.tt-platform-title.tripadvisor-wordmark {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000000;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
    line-height: 1.1;
}

.tt-stars-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.tt-stars-black {
    color: #0f172a;
    font-size: 17px;
    letter-spacing: 2px;
}

.tt-dots-black {
    color: #0f172a;
    font-size: 16px;
    letter-spacing: 2px;
}

.tt-score-text {
    font-weight: 800;
    font-size: 16px;
    color: #0f172a;
}

.tt-count-text {
    font-size: 13.5px;
    color: #64748b;
}

/* Custom Desktop Badges (Only displayed on Desktop) */
.tt-trust-desktop-badges {
    display: none;
}

@media (min-width: 960px) {
    .tt-trust-desktop-badges {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 18px;
        margin: 0 auto;
        flex-shrink: 0;
    }
    .tt-desktop-badge-item {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .tt-desktop-badge-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease, opacity 0.2s ease;
        text-decoration: none !important;
    }
    .tt-desktop-badge-link:hover {
        transform: translateY(-2px);
        opacity: 0.88;
    }
    .tt-desktop-badge-img {
        display: block;
        object-fit: contain;
    }
}

/* Travellers Choice Badge */
.tt-trust-right {
    display: flex;
    align-items: center;
}

.tt-choice-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none !important;
    color: inherit !important;
}

.tt-choice-icon-wrap,
.tt-choice-icon-green {
    width: 44px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tt-choice-img {
    width: 44px;
    height: auto;
    max-height: 56px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}

.tt-choice-icon-green svg {
    width: 100%;
    height: 100%;
    display: block;
}

.tt-choice-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.tt-badge-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.tt-badge-sub {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

/* Filter Controls: Tabs & Arrows */
.tt-reviews-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 12px;
}

.tt-filter-tabs {
    display: flex;
    gap: 10px;
}

.tt-tab-btn {
    padding: 8px 20px;
    border-radius: 9999px;
    border: none !important;
    background: var(--tt-inactive-tab-bg, #f1f5f9) !important;
    color: var(--tt-inactive-tab-color, #334155) !important;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none !important;
    outline: none !important;
    text-shadow: none !important;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.tt-tab-btn:hover {
    border: none !important;
    opacity: 0.88;
    box-shadow: none !important;
    outline: none !important;
}

.tt-tab-btn:focus,
.tt-tab-btn:focus-visible,
.tt-tab-btn:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.tt-tab-btn.active {
    background: var(--tt-active-tab-bg, #134e4a) !important;
    border: none !important;
    color: var(--tt-active-tab-color, #ffffff) !important;
    box-shadow: none !important;
    outline: none !important;
    text-shadow: none !important;
}

.tt-slider-nav {
    display: flex;
    gap: 8px;
}

.tt-nav-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.tt-nav-arrow:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

/* Reviews Track & Clean Cards */
.tt-reviews-carousel-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 4px 0 16px;
}

.tt-reviews-grid {
    display: flex;
    gap: 24px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.tt-review-card {
    flex: 0 0 calc(33.333% - 16px);
    min-width: 290px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tt-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.tt-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}

.tt-author-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tt-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.tt-author-info {
    display: flex;
    flex-direction: column;
}

.tt-author-name {
    font-weight: 700;
    font-size: 15.5px;
    color: #0f172a;
}

.tt-author-date {
    font-size: 12.5px;
    color: #64748b;
    margin-top: 1px;
}

.tt-platform-badge {
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
}

/* Larger Rating Stars & Dots */
.tt-card-rating {
    margin-bottom: 16px;
}

.tt-stars-green-lg {
    color: #059669;
    font-size: 21px;
    letter-spacing: 3px;
    line-height: 1;
}

.tt-dots-green-lg {
    color: #00AA6C;
    font-size: 19px;
    letter-spacing: 3px;
    line-height: 1;
}

.tt-card-text {
    font-size: 15px;
    line-height: 1.65;
    color: #334155;
    flex-grow: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .tt-review-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .tt-reviews-heading {
        font-size: 1.75rem;
    }
    .tt-trust-card {
        padding: 20px;
    }
    .tt-trust-left {
        gap: 24px;
    }
    .tt-review-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
}
