.testimonial-highlight {
    border-radius: var(--en-border-radius);
    padding: clamp(24px, 5vw, 64px);
    background-color: var(--color-dark-blue, #14283E);
    color: var(--color-white, #FFFFFF);
    max-width: var(--en-content-max-width);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.testimonial-highlight--full-bleed {
    border-radius: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    max-width: 100vw;
    box-sizing: border-box;
    padding: clamp(32px, 6vw, 96px) 0;
}

.testimonial-highlight--full-bleed .testimonial-highlight__inner {
    max-width: var(--en-content-max-width);
    margin: 0 auto;
    padding-inline: clamp(24px, 4vw, 64px);
}

@media (max-width: 768px) {
    .testimonial-highlight--full-bleed {
        width: 100%;
        margin-left: 0;
        max-width: 100%;
    }

    .testimonial-highlight--full-bleed .testimonial-highlight__inner {
        padding-inline: clamp(16px, 6vw, 32px);
    }
}

.testimonial-highlight a {
    color: inherit;
    text-decoration-color: rgba(255, 255, 255, 0.4);
}

.testimonial-highlight__inner {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 4vw, 48px);
}

@media (min-width: 900px) {
    .testimonial-highlight__inner {
        flex-direction: row;
        align-items: flex-start;
    }
}

.testimonial-highlight__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 3vw, 32px);
}

.testimonial-highlight__lead-in {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.testimonial-highlight__quote-body {
    font-size: clamp(16px, 2.2vw, 21px);
    line-height: 1.6;
}

.testimonial-highlight__quote-body p {
    margin: 0 0 1em;
}

.testimonial-highlight__quote-body p:last-child {
    margin-bottom: 0;
}

.testimonial-highlight__author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.testimonial-highlight__headshot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.testimonial-highlight__headshot-frame {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-highlight__headshot-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-highlight__author-text {
    display: grid;
    gap: 2px;
}

.testimonial-highlight__name {
    font-weight: 700;
    margin: 0;
}

.testimonial-highlight__title,
.testimonial-highlight__company {
    margin: 0;
    opacity: 0.85;
}

.testimonial-highlight__logo {
    flex: 0 0 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-end;
    gap: 12px;
}

@media (min-width: 900px) {
    .testimonial-highlight__logo {
        position: sticky;
        top: 9rem;
        align-self: flex-start;
        flex: 0 0 auto;
    }

    .testimonial-highlight--full-bleed .testimonial-highlight__logo {
        top: 9rem;
    }
}

.testimonial-highlight__logo-frame {
    max-width: min(350px, 60vw);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.testimonial-highlight__logo-frame img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
}

@media (max-width: 899px) {
    .testimonial-highlight__logo {
        align-items: flex-start;
        flex: 0 0 auto;
        align-self: center;
    }
}
/* Additional placeholder styles for editor preview */
.testimonial-highlight__logo-placeholder,
.testimonial-highlight__headshot-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    border: 2px dashed currentColor;
    border-radius: 12px;
    padding: 12px 16px;
    min-width: 140px;
    min-height: 80px;
}

.testimonial-highlight__headshot-placeholder {
    border-radius: 50%;
    width: 72px;
    height: 72px;
    padding: 0;
}

.testimonial-highlight__logo-placeholder {
    margin-left: auto;
}
/* End placeholder styles */

.testimonial-highlight__slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 56px;
}

.testimonial-highlight__slides {
    display: flex;
    align-items: stretch;
    transition: transform 0.6s ease;
    will-change: transform;
}

.testimonial-highlight__slide {
    flex: 0 0 100%;
    box-sizing: border-box;
    background: transparent;
}

.testimonial-highlight--initialized .testimonial-highlight__slide {
    opacity: 0;
    transition: opacity 0.45s ease;
}

.testimonial-highlight--initialized .testimonial-highlight__slide.is-active {
    opacity: 1;
}

.testimonial-highlight__controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: clamp(12px, 4vw, 48px);
    transform: translateY(-50%);
    pointer-events: none;
}

.testimonial-highlight__controls .testimonial-highlight__control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.18) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 999px;
    color: #fff !important;
    fill: #fff !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
    pointer-events: auto;
}

.testimonial-highlight__controls .testimonial-highlight__control:hover,
.testimonial-highlight__controls .testimonial-highlight__control:focus-visible {
    background-color: rgba(255, 255, 255, 0.35) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    transform: translateY(-1px);
}

.testimonial-highlight__controls .testimonial-highlight__control-icon {
    font-size: 1.4rem;
    line-height: 1;
}

.testimonial-highlight__indicators {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.testimonial-highlight__indicators .testimonial-highlight__indicator {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7) !important;
    background-color: transparent !important;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.testimonial-highlight__indicators .testimonial-highlight__indicator.is-active,
.testimonial-highlight__indicators .testimonial-highlight__indicator:hover,
.testimonial-highlight__indicators .testimonial-highlight__indicator:focus-visible {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(255, 255, 255, 0.95) !important;
    transform: scale(1.05);
}
