/*
 * .NET Reactor Testimonials
 *
 * Top accent switch:
 *   0 = disabled
 *   1 = enabled
 */
:root {
    --reactor-testimonial-top-accent: 0;
    --reactor-testimonial-top-accent-height: 2px;
    --reactor-testimonial-top-accent-color: #055bb5;
}


.reactor-testimonial {
    margin-top: 1rem;
    margin-bottom: 1.25rem;
    scroll-margin-top: 5rem;
}


.reactor-testimonial__card {
    position: relative;

    display: grid;
    grid-template-columns: 175px minmax(0, 1fr);
    align-items: center;
    gap: 1.25rem;

    margin: 0;
    padding: 1.25rem 1.5rem;

    border: 1px solid #dfe5ee;
    border-radius: 10px;

    background: #f7f9fc;
    color: #343a40;

    text-align: left;
}


/*
 * Optional blue accent line.
 *
 * Controlled by:
 * --reactor-testimonial-top-accent
 *
 * 0 = hidden
 * 1 = visible
 *
 * Because this is separate from the normal border,
 * disabling it leaves the subtle 1px gray border intact.
 */
.reactor-testimonial__card::before {
    content: "";

    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;

    height: var(--reactor-testimonial-top-accent-height);

    border-radius: 10px 10px 0 0;

    background: var(--reactor-testimonial-top-accent-color);

    opacity: var(--reactor-testimonial-top-accent);

    pointer-events: none;
}


.reactor-testimonial__brand {
    text-align: center;
}


.reactor-testimonial__eyebrow {
    margin: 0 0 0.5rem;

    color: #596779;

    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.5;

    text-transform: uppercase;
}


.reactor-testimonial__logo-link {
    display: inline-block;

    max-width: 100%;
    padding: 0.375rem 0;
}


.reactor-testimonial__logo {
    display: block;

    width: 175px;
    max-width: 100%;
    height: auto;

    margin-right: auto;
    margin-left: auto;
}


.reactor-testimonial__content {
    min-width: 0;

    margin: 0;
    padding-left: 1.25rem;

    border-left: 1px solid #dfe5ee;
}


.reactor-testimonial__quote {
    margin: 0 0 1rem;

    font-size: 1rem;
    line-height: 1.6;
}


.reactor-testimonial__quote p {
    margin: 0;
}


.reactor-testimonial__quote strong {
    display: block;

    margin-bottom: 0.5rem;

    color: #202b3b;

    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}


.reactor-testimonial__author {
    font-size: 0.875rem;
    line-height: 1.55;
}


.reactor-testimonial__name {
    display: block;

    color: #202b3b;

    font-weight: 700;
}


.reactor-testimonial__role {
    color: #596779;
}


.reactor-testimonial__quote a,
.reactor-testimonial__role a {
    color: #055bb5;

    font-weight: 600;

    text-decoration: underline;
    text-underline-offset: 0.15em;
}


.reactor-testimonial a:focus-visible {
    outline: 2px solid #055bb5;
    outline-offset: 5px;
}


.reactor-testimonial-trademark {
    margin-top: 0;
    margin-bottom: 1rem;

    color: #6c757d;

    font-size: 0.6875rem;
    line-height: 1.5;

    text-align: center;
}


/*
 * Tablet / smaller desktop
 */
@media (max-width: 991.98px) {

    .reactor-testimonial__card {
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 1rem;

        padding: 1.25rem;
    }


    .reactor-testimonial__logo {
        width: 150px;
    }


    .reactor-testimonial__content {
        padding-left: 1rem;
    }
}


/*
 * Mobile
 */
@media (max-width: 767.98px) {

    .reactor-testimonial {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }


    .reactor-testimonial__card {
        grid-template-columns: minmax(0, 1fr);
        gap: 1rem;
    }


    .reactor-testimonial__logo {
        width: 165px;
    }


    .reactor-testimonial__content {
        padding-top: 1rem;
        padding-left: 0;

        border-top: 1px solid #dfe5ee;
        border-left: 0;
    }


    .reactor-testimonial__eyebrow {
        margin-bottom: 0.5rem;
    }
}


/*
 * Small mobile
 */
@media (max-width: 575.98px) {

    .reactor-testimonial__card {
        padding: 1.125rem;
    }


    .reactor-testimonial__logo {
        width: 150px;
    }


    .reactor-testimonial__quote {
        font-size: 1rem;
        line-height: 1.6;
    }


    .reactor-testimonial__quote strong {
        font-size: 1.1875rem;
        line-height: 1.4;
    }
}