/* vn-testimonial — Home testimonial
   Source: Latest mockups/corrected/index.html (.testimonial-section, incl. its 1920 inline styles). */

/* Side padding = the mockup's .wrap (40 / 28 / 20px) */
.vn-quote-wrap {
    padding: 0 40px clamp(20px, 3vw, 30px);
    font-family: var(--vn-font-body);
    color: var(--vn-ink);
}

.vn-quote {
    display: grid;
    grid-template-columns: minmax(180px, var(--vn-quote-photo, 30%)) 1fr;
    align-items: stretch;
    max-width: 1709px;
    margin: 0 auto;
}

.vn-quote > * { min-width: 0; }

.vn-quote__photo {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    border-radius: 12px;
}

.vn-quote__photo .vn-img-cover {
    position: absolute;
    inset: 0;
}

.vn-quote__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 3vw, 52px) min(2vw, 38px) clamp(28px, 3vw, 52px) min(5vw, 96px);
    background-color: var(--vn-mist);
    border-radius: 0 16px 16px 0;
}

/* Mark hangs to the left of the first line, like the mockup */
.vn-quote__mark {
    display: block;
    margin: 0 0 -4rem -5rem;
    padding-left: 1rem;
    font-family: var(--vn-font-display);
    font-size: clamp(4.5rem, 7vw, 8rem);
    font-weight: 700;
    line-height: 0.5;
    color: var(--vn-navy);
}

.vn-quote .vn-quote__text {
    width: 100%;
    max-width: 989px;
    margin: 0;
    padding: 0;
    border: none;
    font-family: var(--vn-font-display);
    font-size: clamp(1.2rem, 1.5vw, 2.3125rem);
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    color: var(--vn-navy);
}

.vn-quote__cite {
    display: block;
    margin-top: 14px;
    font-size: clamp(0.95rem, 1vw, 1.4375rem);
    font-style: italic;
    font-weight: 400;
}

@media (max-width: 1024px) {
    .vn-quote-wrap { padding-left: 28px; padding-right: 28px; }
    .vn-quote { grid-template-columns: 1fr; }

    .vn-quote__photo {
        aspect-ratio: 16 / 9;
        min-height: 0;
        border-radius: 16px 16px 0 0;
    }

    .vn-quote__card {
        padding: 32px 28px 36px;
        border-radius: 0 0 16px 16px;
        text-align: center;
    }

    .vn-quote__mark {
        margin: 0;
        padding-left: 0;
        font-size: 4.5rem;
        line-height: 0.85;
    }

    .vn-quote .vn-quote__text { font-size: 1.35rem; }
}

@media (max-width: 767px) {
    .vn-quote-wrap { padding-left: 20px; padding-right: 20px; }
    .vn-quote__photo { aspect-ratio: 3 / 2; }
    .vn-quote__card { padding: 24px 20px 28px; }
    .vn-quote .vn-quote__text { font-size: 1.2rem; }
}

@media (max-width: 480px) {
    .vn-quote .vn-quote__text { font-size: 1.1rem; }
}
