/* ==========================================================
   JT MAISON — Testimonials Widget
   ========================================================== */

.jtm-testimonials {
    width: 100%;
    margin: 0 auto;
    padding: 100px 10px;
    background: var(--jtm-white);
    box-sizing: border-box;
}

.jtm-testimonials__inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.jtm-testimonials__header {
    text-align: right;
    margin-bottom: 40px;
}

.jtm-testimonials__subtitle {
    font-family: var(--jtm-font-ui);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: rgba(0,0,0,0.6);
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.jtm-testimonials__title {
    font-family: var(--jtm-font-ui);
    font-size: clamp(32px, 5vw, 42px);
    font-weight: bold;
    color: var(--jtm-dark);
    margin: 0;
}

/* Grid Layout */
.jtm-testimonials__grid {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.jtm-testimonials__media {
    flex: 0 0 45%;
}

.jtm-testimonials__media img {
    width: 100%;
    height: auto;
    display: block;
}

.jtm-testimonials__list {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
}

/* Single Testimonial Item */
.jtm-testimonial {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.jtm-testimonial__author-box {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.jtm-testimonial__quote-mark {
    font-family: Georgia, serif;
    font-size: 60px;
    line-height: 0.5;
    color: rgba(0,0,0,0.2);
    margin-bottom: 20px;
    padding-top: 20px;
}

.jtm-testimonial__author {
    font-family: var(--jtm-font-ui);
    font-size: 24px;
    font-weight: bold;
    color: var(--jtm-dark);
    margin: 0;
    line-height: 1.4;
}

.jtm-testimonial__text-box {
    flex: 0 0 60%;
    text-align: right;
}

.jtm-testimonial__text {
    font-family: var(--jtm-font-ui);
    font-size: 18px;
    color: rgba(0,0,0,0.5);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .jtm-testimonials {
        padding: 60px 24px;
    }
    
    .jtm-testimonials__grid {
        flex-direction: column;
        gap: 40px;
    }
    
    .jtm-testimonials__media,
    .jtm-testimonials__list {
        flex: 1 1 100%;
    }
    
    .jtm-testimonial {
        flex-direction: column;
        align-items: stretch;
    }
    
    .jtm-testimonial__author-box {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }
    
    .jtm-testimonial__text-box {
        flex: 1 1 100%;
        text-align: right;
        padding-left: 10%; /* Ensure long text doesn't touch the left edge for better hierarchy */
    }
}
