.th-testimonials-legacy {
    display: none !important;
}

.th-testimonials,
.th-testimonials * {
    box-sizing: border-box;
}

.th-testimonials {
    position: relative;
    padding: clamp(72px, 9vw, 124px) 22px;
    overflow: hidden;
    background: #f8fafc;
}

.th-testimonials::before {
    position: absolute;
    top: -240px;
    left: 50%;
    width: 720px;
    height: 480px;
    content: "";
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 103, 232, .12), transparent 68%);
    pointer-events: none;
}

.th-testimonials__inner {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.th-testimonials__header {
    display: grid;
    margin-bottom: clamp(34px, 5vw, 54px);
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    align-items: end;
    gap: clamp(28px, 7vw, 100px);
}

.th-testimonials__eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 12px;
    color: #0d62c3;
    border: 1px solid #d9e8f8;
    border-radius: 999px;
    background: #edf6ff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.th-testimonials__header h2 {
    max-width: 720px;
    margin: 0;
    color: #112c49;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.04;
}

.th-testimonials__header > p {
    margin: 0 0 5px;
    color: #64778c;
    font-size: 15px;
    line-height: 1.7;
}

.th-testimonials__grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 20px;
}

.th-quote-card {
    position: relative;
    display: flex;
    min-height: 365px;
    margin: 0;
    padding: clamp(28px, 4vw, 46px);
    overflow: hidden;
    color: #173451;
    border: 1px solid #e0e8f1;
    border-radius: 26px;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 18px 50px rgba(30, 62, 96, .09);
    flex-direction: column;
    justify-content: space-between;
    transition: transform .3s ease, box-shadow .3s ease;
}

.th-quote-card::after {
    position: absolute;
    right: -55px;
    bottom: -75px;
    width: 210px;
    height: 210px;
    content: "";
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 189, 69, .13), transparent 70%);
}

.th-quote-card--featured {
    color: #fff;
    border-color: rgba(255, 255, 255, .15);
    background:
        radial-gradient(circle at 92% 12%, rgba(100, 189, 69, .4), transparent 29%),
        linear-gradient(145deg, #1269d3, #074b9c);
    box-shadow: 0 24px 60px rgba(11, 77, 153, .25);
}

.th-quote-card:hover {
    box-shadow: 0 28px 65px rgba(30, 62, 96, .15);
    transform: translateY(-6px);
}

.th-quote-card__mark {
    position: absolute;
    top: 10px;
    right: 28px;
    color: rgba(16, 73, 131, .07);
    font-family: Georgia, serif !important;
    font-size: 150px;
    font-weight: 700;
    line-height: 1;
}

.th-quote-card--featured .th-quote-card__mark {
    color: rgba(255, 255, 255, .1);
}

.th-quote-card blockquote {
    position: relative;
    z-index: 1;
    margin: 0 0 36px;
    padding: 0;
    border: 0;
}

.th-quote-card blockquote p {
    margin: 0;
    color: inherit;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: -.01em;
}

.th-quote-card--featured blockquote p {
    color: #fff;
}

.th-quote-card__person {
    position: relative;
    z-index: 1;
    display: flex;
    padding: 0;
    color: inherit;
    background: transparent;
    align-items: center;
    gap: 13px;
}

.th-quote-card__person img {
    display: block;
    width: 52px;
    height: 52px;
    border: 3px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 7px 18px rgba(20, 45, 72, .15);
}

.th-quote-card__person > span {
    display: flex;
    flex-direction: column;
}

.th-quote-card__person strong {
    color: inherit;
    font-size: 14px;
}

.th-quote-card__person small {
    margin-top: 3px;
    color: #7d90a4;
    font-size: 10px;
    font-weight: 600;
}

.th-quote-card--featured .th-quote-card__person small {
    color: #c8e2ff;
}

@media (max-width: 860px) {
    .th-testimonials__header,
    .th-testimonials__grid { grid-template-columns: 1fr; }
    .th-quote-card { min-height: 320px; }
}

@media (max-width: 560px) {
    .th-testimonials { padding-right: 14px; padding-left: 14px; }
    .th-quote-card { min-height: 300px; border-radius: 22px; }
    .th-quote-card__mark { font-size: 110px; }
}

@media (prefers-reduced-motion: reduce) {
    .th-quote-card { transition: none; }
}
