﻿.testimonial-slider-root {
    position: relative;
    width: 100%;
    min-height: 30%;
    height: min(100vh, 32rem);
    overflow: hidden;
    background: #0b3f71;
}

.testimonial-slider-viewport {
    position: relative;
    width: 100%;
    height: 100%;
}

.testimonial-slider-track {
    position: relative;
    width: 100%;
    min-height: 30%;
    height: 100%;
}

.testimonial-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease-in-out, visibility 0.45s ease-in-out;
}

    .testimonial-slide.is-active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

.testimonial-slide-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*.testimonial-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 41, 79, 0.55) 0%, rgba(10, 61, 110, 0.32) 26%, rgba(9, 86, 158, 0.46) 100%);
}*/

.testimonial-slide-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin: 0 auto;
    text-align: center;
    top: 50%;
    transform: translateY(-30%);
}

.testimonial-quote-block {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
}

.testimonial-quote-traces {
    display: flex;
    align-items: center;
    gap: clamp(4px, 1vw, 8px);
    margin-left: 3px;
    margin-bottom: 40px;
}

.testimonial-quote-trace {
    height: 9px;
    background: #009bd8;
    border-radius: 999px;
}

.testimonial-quote-trace-long {
    width: clamp(110px, 14vw, 210px);
    background: linear-gradient(270deg, #00a1de 0%, #004d8a 100%);
}

.testimonial-quote-trace-short {
    width: clamp(44px, 6vw, 95px);
}

.testimonial-quote-trace-medium {
    width: clamp(72px, 9vw, 150px);
}

.testimonial-quote {
    margin: 0;
    text-align: left;
    font-size: clamp(1.5rem, 2.5vw, 46px) !important;
    line-height: 1.08;
    font-style: normal;
    font-weight: 300;
    color: #ffffff !important;
    letter-spacing: 1px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-author {
    margin: 0;
    max-width: 34rem;
    font-size: clamp(1rem, 1.4vw, 1.4rem);
    line-height: 1.45;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
/*    display: inline-flex;
*/  
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    padding-bottom: 6px;
}

.testimonial-slider-root:hover .testimonial-nav {
    opacity: 1;
}

.testimonial-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.testimonial-nav-prev {
    left: 32px;
}

.testimonial-nav-next {
    right: 32px;
}

.testimonial-nav span {
    font-size: 2rem;
    line-height: 1;
}

.testimonial-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.75);
    border-radius: 9999px;
    background: transparent;
    cursor: pointer;
    transition: width 0.3s ease, border-radius 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

    .testimonial-dot[data-active="true"] {
        width: 32px;
        border-radius: 999px;
        background: #80d1ef;
        border-color: #80d1ef;
    }

@media (max-width: 991px) {
    .testimonial-slide-content {
        width: min(92%, 900px);
        padding: 160px 2.5rem 6rem;
    }

    .testimonial-quote {
        font-size: clamp(2rem, 5.2vw, 3.6rem);
        line-height: 1.12;
    }

    .testimonial-author {
        font-size: clamp(0.95rem, 2vw, 1.15rem);
        letter-spacing: 0.18em;
    }
}

@media (max-width: 768px) {
    .testimonial-slider-root,
    .testimonial-slider-viewport,
    .testimonial-slider-track {
        min-height: 18rem;
        height: auto;
    }

    .testimonial-slide-content {
        width: min(90%, 700px);
        padding: 140px 1.5rem 5rem;
    }

    .testimonial-quote {
        font-size: clamp(1.7rem, 8vw, 2.6rem);
        line-height: 1.15;
        letter-spacing: 0.05em;
    }

    .testimonial-quote-block {
        gap: 1rem;
    }

    .testimonial-quote-traces {
        gap: clamp(6px, 2.5vw, 10px);
    }

    .testimonial-quote-trace-long {
        width: clamp(92px, 26vw, 140px);
    }

    .testimonial-quote-trace-short {
        width: clamp(38px, 11vw, 62px);
    }

    .testimonial-quote-trace-medium {
        width: clamp(58px, 17vw, 96px);
    }

    .testimonial-author {
        font-size: clamp(0.85rem, 3vw, 1rem);
        letter-spacing: 0.14em;
    }

    .testimonial-nav {
        width: 38px;
        height: 38px;
        opacity: 1;
    }

    .testimonial-nav-prev {
        left: 16px;
    }

    .testimonial-nav-next {
        right: 16px;
    }
}
