/* Testimonials page — slider lives in the shared page-hero band */

.page-hero.testimonial-page {
    align-items: center;
    background:
        var(--page-hero-image-desktop, none) right center/cover no-repeat,
        #212529;
}

.page-hero.testimonial-page.page-hero--has-media {
    background: #212529;
}

.page-hero.testimonial-page .page-hero-media-img {
    object-position: right center;
}

.page-hero.testimonial-page::before {
    display: none;
}

.page-hero.testimonial-page .testimonial-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.page-hero.testimonial-page h1 {
    max-width: none;
    margin: 0 0 8px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
}

.page-hero.testimonial-page h1::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 10px;
    background: #eb7208;
    vertical-align: middle;
}

.testimonial-breadcrumb {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.testimonial-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.testimonial-breadcrumb a:hover {
    text-decoration: underline;
}

.testimonial-carousel {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
}

.testimonial-carousel-viewport {
    overflow: hidden;
}

.testimonial-carousel-track {
    display: flex;
    transition: transform 0.45s ease;
}

.testimonial-carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0 12px;
}

.testimonial-slide-stars {
    margin-bottom: 14px;
    color: #eb7208;
    font-size: 18px;
    letter-spacing: 0.12em;
}

.testimonial-slide-quote {
    margin: 0 0 18px;
}

.testimonial-slide-quote p {
    margin: 0;
    color: #fff;
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    line-height: 1.65;
}

.testimonial-slide-quote p::before {
    content: open-quote;
}

.testimonial-slide-quote p::after {
    content: close-quote;
}

.testimonial-slide-author strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.testimonial-slide-author span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.testimonial-carousel-nav {
    position: absolute;
    top: 42%;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.testimonial-carousel-prev {
    left: -8px;
}

.testimonial-carousel-next {
    right: -8px;
}

.testimonial-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.testimonial-carousel-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.testimonial-carousel-dot.is-active {
    background: #eb7208;
    border-color: #fff;
}

.testimonial-cta-band {
    padding: 36px 0 48px;
    background: #fff;
    border-top: 1px solid rgba(18, 99, 63, 0.08);
}

.testimonial-cta-band .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .page-hero.testimonial-page {
        background:
            var(--page-hero-image-mobile, var(--page-hero-image-desktop, none)) center/cover no-repeat,
            #212529;
    }
    .page-hero.testimonial-page.page-hero--has-media {
        background: #212529;
    }

    .testimonial-carousel-nav {
        display: none;
    }

    .testimonial-carousel-slide {
        padding-inline: 0;
    }
}
