/* =============================================
   Trustpilot Slider — tpt-slider-new.css
   ============================================= */

span.trustpilot-slider-title-s {
    font-family: "ITC Garamont STD";
    color: #000;
    font-size: 25px;
    line-height: 26px;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    min-height: 26px;
}

.tpt-slider-support-section {
    display: none;
}

.tpt-slider-support-section h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.tpt-slider-rating-line {
    margin-bottom: 8px;
}

.tpt-slider-rating-line a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
}

.tpt-slider-star {
    color: #00b67a;
}

/* ── Outer wrapper ── */
.tpt-slider-section {
    position: relative;
    padding: 0;
}

/* ── Slick overrides ── */
.tpt-slider-section .slick-list {
    overflow: hidden;
    margin: 0;
}

.tpt-slider-section .slick-track {
    display: flex;
    gap: 0;
}

.tpt-slider-section .slick-slide {
    padding: 0 20px;
    box-sizing: border-box;
    height: auto;
}

.tpt-slider-section .slick-slide > div {
    height: 100%;
}

/* ── Card ── */
.tpt-slider-card {
    border: none;
    padding: 8px 0 20px 0;
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    box-sizing: border-box;
    font-family: "ITC Garamont STD";
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.tpt-slider-card:hover,
.tpt-slider-card:focus {
    text-decoration: none;
    color: inherit;
}

/* ── Stars — force left align ── */
.tpt-slider-card .tpt-slider-stars {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.tpt-slider-card .tpt-slider-stars img {
    display: block;
    width: 85px;
    height: 16px;
    margin: 0;
}

.tpt-slider-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: #000;
    line-height: 1.3;
}

/* ── Description ── */
.tpt-slider-card p {
    color: #6B6E62;
    font-family: "Lato", sans-serif !important;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.44em;
    min-height: 80px;
    max-width: 400px;
}

/* ── Author row — always pinned to bottom ── */
.tpt-slider-author {
    display: block;
    align-items: baseline;
    margin-top: auto;
}

.tpt-author-name {
    font-family: "ITC Garamont STD";
    font-size: 20px;
    font-weight: 500;
    color: #000;
    white-space: nowrap;
    width: 100%;
    display: block;
}

.tpt-author-date {
    font-size: 14px;
    color: #9B9C8F;
    white-space: nowrap;
    font-family: 'Lato';
}

/* Hide old avatar + time elements */
.tpt-slider-avatar,
.tpt-slider-time,
.tpt-slider-author strong {
    display: none;
}

/* ── Summary panel ── */
.tpt-slider-summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 200px;
    padding-right: 48px;
    text-align: center;
    flex-shrink: 0;
}

.tpt-sum-label {
    font-size: 18px;
    font-weight: 600;
    color: #2C301F;
    font-family: "Lato", sans-serif !important;
}

.tpt-sum-stars img {
    display: block;
    margin: 0 auto;
    width: 150px;
    height: 28px;
}

.tpt-sum-count {
    font-weight: 400;
    color: #2C301F;
    font-family: "Lato", sans-serif !important;
    font-size: 14px;
    color: #2C301F;
}

.tpt-sum-count a {
    color: #333;
    text-decoration: underline;
}

.tpt-sum-count strong {
    font-weight: 600;
    font-size: 14px !important;
    text-decoration: underline;
}

.tpt-sum-logo {
    display: flex;
    align-items: center;
    gap: 0 !important;
    text-decoration: none;
    color: #111;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 4px;
}

a.tpt-sum-logo svg {
    width: 25px !important;
    height: 24px !important;
    margin-top: -7px !important;
}

a.tpt-sum-logo span {
    color: #191919;
    font-family: "Lato", sans-serif !important;
    font-weight: 600;
}

/* ── Wrapper that holds summary + slider side by side ── */
.tpt-slider-inner {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
}

/* ── Track — carries all horizontal spacing including arrow lanes ── */
.tpt-slider-inner .tpt-slider-track {
    flex: 1;
    min-width: 0;
    position: relative;
    padding: 0 44px;
}

/* ── Arrow container — absolute over the track ── */
.tpt-slider-arrows {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

/* ── Arrow buttons ── */
.tpt-slider-arrows .slick-prev, .tpt-slider-arrows .slick-next {
    pointer-events: all;
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #2C301F;
    background: transparent;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    top: 0;
    padding: 0;
    line-height: 1;
}

/* Left arrow sits in the track's left 44px padding lane */
.tpt-slider-arrows .slick-prev {
    left: 200px;
}

/* Right arrow sits in the track's right 44px padding lane */
.tpt-slider-arrows .slick-next {
    right: 4px;
}

.tpt-slider-arrows .slick-prev:before,
.tpt-slider-arrows .slick-next:before {
   font-family: inherit;
    font-size: 25px;
    color: #000000;
    opacity: 1;
    line-height: 1;
    font-weight: 300;
}

.tpt-slider-arrows .slick-prev:before { content: '‹'; }
.tpt-slider-arrows .slick-next:before { content: '›'; }

.tpt-slider-arrows .slick-prev:hover,
.tpt-slider-arrows .slick-next:hover {
    background: #e5e0d8;
    border-color: #999;
}

@media (max-width: 768px) {
    .tpt-slider-section {
        padding: 0;
        overflow: hidden;
    }

    .tpt-slider-inner {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .tpt-slider-inner .tpt-slider-track {
        padding: 0;
        width: 100%;
        overflow: visible;
    }

    /* Allow peek but clip at section level */
    .tpt-slider-section .slick-list {
        overflow: visible;
        padding-right: 30px !important; /* peek amount */
        padding-left: 0 !important;
    }

    /* Each slide gets its own padding for spacing */
    .tpt-slider-section .slick-slide {
        padding: 0 10px;
    }

    .tpt-slider-summary {
        padding: 0 0 24px 0;
        min-width: unset;
        padding-right: 0;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .tpt-sum-stars img {
        width: 187px !important;
    }

    /* Arrow container below cards, static flow */
    .tpt-slider-arrows {
        position: static;
        transform: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 10px;
        pointer-events: all;
        width: 100%;
    }

    .tpt-slider-arrows .slick-prev,
    .tpt-slider-arrows .slick-next {
        position: static;
        flex-shrink: 0;
    }

    .tpt-slider-arrows .slick-prev {
        left: auto;
    }

    .tpt-slider-arrows .slick-next {
        right: auto;
    }
}
.tpt-reviews-language-note {
    margin: 10px 20px 28px;
    color: #6B6E62;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.tpt-reviews-wrapper .tpt-reviews-language-note {
    margin: 10px 0 24px;
}

/* Let translated excerpts grow instead of shrinking into their source note. */
.tpt-slider-section .tpt-slider-card:has(> .sk-review-language) {
    height: auto;
}

.tpt-slider-section .tpt-slider-card:has(> .sk-review-language) > p {
    flex: 1 0 auto;
    margin-bottom: 8px;
}

/* Slick's generic direct-div height must not stretch the stars/author rows. */
.tpt-slider-section .tpt-slider-card:has(> .sk-review-language) > .tpt-slider-stars,
.tpt-slider-section .tpt-slider-card:has(> .sk-review-language) > .tpt-slider-author {
    height: auto;
    flex-shrink: 0;
}

.tpt-slider-section .tpt-slider-card:has(> .sk-review-language) > .tpt-slider-stars {
    min-height: 60px;
}

.tpt-slider-section .tpt-slider-card > .sk-review-language {
    display: block;
    flex-shrink: 0;
    margin: 0 0 8px;
}
