.ml-testimonial-dialog-open {
    overflow: hidden;
}

.ml-testimonial-see-more {
    color: #9a6700;
    cursor: pointer;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ml-testimonial-dialog-source {
    display: none !important;
}

.ml-testimonial-dialog {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 24px;
    pointer-events: none;
    position: fixed;
    transition: opacity 180ms ease;
    z-index: 999999;
}

.ml-testimonial-dialog.is-open {
    opacity: 1;
    pointer-events: auto;
}

.ml-testimonial-dialog__backdrop {
    background: rgba(15, 23, 42, 0.62);
    inset: 0;
    position: absolute;
}

.ml-testimonial-dialog__panel {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
    color: #172033;
    max-height: min(82vh, 620px);
    max-width: 680px;
    outline: none;
    overflow-y: auto;
    padding: clamp(24px, 4vw, 40px);
    position: relative;
    transform: translateY(10px) scale(0.98);
    transition: transform 180ms ease;
    width: min(100%, 680px);
}

.ml-testimonial-dialog.is-open .ml-testimonial-dialog__panel {
    transform: translateY(0) scale(1);
}

.ml-testimonial-dialog__close {
    align-items: center;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    color: #172033;
    cursor: pointer;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 38px;
}

.ml-testimonial-dialog__close:hover,
.ml-testimonial-dialog__close:focus {
    background: #172033;
    color: #ffffff;
}

.ml-testimonial-dialog__close svg {
    height: 18px;
    width: 18px;
}

.ml-testimonial-dialog__eyebrow {
    color: #9a6700;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 44px 10px 0;
    text-transform: uppercase;
}

.ml-testimonial-dialog__title {
    color: #172033;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.16;
    margin: 0 44px 8px 0;
}

.ml-testimonial-dialog__role {
    color: #6b7280;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0 0 24px;
}

.ml-testimonial-dialog__quote {
    color: #374151;
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.75;
    margin: 0;
    white-space: pre-line;
}

@media (max-width: 560px) {
    .ml-testimonial-dialog {
        align-items: flex-end;
        padding: 14px;
    }

    .ml-testimonial-dialog__panel {
        border-radius: 8px;
        max-height: 86vh;
        padding: 24px 20px 26px;
    }
}
