/**
 * Testimonial Quote Widget Styles
 */

.testimonial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    border-radius: 12px;
    overflow: hidden;
}

/* Image */
.testimonial__image {
    position: relative;
    overflow: hidden;
}

.testimonial__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Quote Box */
.testimonial__quote-box {
    background-color: #12235f;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    border-radius: 0 12px 12px 0;
}

/* Quote Marks - Large decorative */
.testimonial__quote-mark {
    font-family: var(--font-heading, 'League Spartan', sans-serif);
    font-weight: 500;
    font-size: 250px;
    line-height: 0.6;
    color: rgba(255, 255, 255, 0.28);
    display: block;
    user-select: none;
}

.testimonial__quote-mark--open {
    position: absolute;
    align-self: flex-start;
    top: 90px;
}

.testimonial__quote-mark--close {
    position: absolute;
    align-self: flex-end;
    bottom: -30px;
}

/* Quote Text */
.testimonial__text {
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
    max-width: 400px;
}

/* Author */
.testimonial__author {
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-weight: 500;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 20px 0 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .testimonial__quote-box {
        padding: 40px;
    }

    .testimonial__quote-mark {
        font-size: 180px;
    }

    .testimonial__text {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .testimonial {
        grid-template-columns: 1fr;
    }

    .testimonial__image {
        max-height: 300px;
    }

    .testimonial__quote-box {
        padding: 40px 30px;
        border-radius: 0 0 12px 12px;
    }

    .testimonial__quote-mark {
        font-size: 120px;
    }

    .testimonial__quote-mark--open {
        margin-bottom: -20px;
    }

    .testimonial__quote-mark--close {
        margin-top: -20px;
    }

    .testimonial__text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .testimonial__quote-box {
        padding: 30px 20px;
    }

    .testimonial__quote-mark {
        font-size: 80px;
    }

    .testimonial__text {
        font-size: 15px;
    }
}