/* This file is used as dependency in:
   ../../modules/sec-testimonial.module/module.html 
   ../../modules/sec-media-content-split.module/module.html */

.pwr-testimonial__quote {
    font-size: 18px;
    margin: 0 auto 40px;
    max-width: 1000px;
    line-height: 2em;
    text-align: center;
    width: 100%;
}

.pwr-testimonial .pwr-testimonial__avatar {
    height: auto;
    width: 95px;
}

.pwr-testimonial__author {
    display: table;
    margin: 0 auto;
}

.pwr-testimonial__info {
    display: table-cell;
    font-family: var(--ff-accent);
    text-transform: var(--tt-other);
    vertical-align: middle;
}

.pwr-testimonial__name {
    font-weight: 700;
}

.pwr-testimonial:not(.pwr-testimonial--style-multiple):not(.pwr-testimonial--style-2) .pwr-testimonial__job-title:before {
    content: '|';
    padding-right: 25px;
    padding-left: 25px;
}

.pwr-testimonial--style-multiple {
    background-color: var(--clr-background-accent-lt);
    color: var(--clr-text-lt);
    margin: 0 auto;
    padding: 40px;
    width: 100%;
}

.pwr-testimonial--style-multiple .pwr-testimonial__author {
    display: block;
    margin: 0 0 40px;
}

.pwr-testimonial--style-multiple .pwr-testimonial__name {
    display: block;
}

.pwr-testimonial--style-multiple .pwr-testimonial__quote {
    margin: 0;
    text-align: left;
}

.pwr-testimonial--style-2 .pwr-testimonial__quote {
    font-size: 24px;
}

.pwr-testimonial--style-2 .pwr-testimonial__name--has-job-desc:after {
    content: ',';
    padding-right: 10px;
}

.pwr-testimonial--style-2 .pwr-testimonial__name:before {
    content: '\2014';
    padding-right: 10px;
}

.pwr-testimonial--style-2 .pwr-testimonial__job-title {
    font-weight: 700;
}

.pwr-testimonial-listing-item {
    min-height: 0px;
}

.pwr-testimonial-listing-item--2cols {
    width: calc( 50% - 10px );
}

.pwr-testimonial-listing-item--3cols {
    width: calc( 33.33% - 14px );
}

@container module (max-width: 1199px ) {
    .pwr-testimonial-listing-item--3cols {
        width: calc( 50% - 10px );
    }
}

@container module (max-width: 991px ) {
    .pwr-testimonial--style-2 .pwr-testimonial__quote {
        font-size: 24px;
        font-size: max(var(--fs-min), calc(24px * var(--fs-reduction-factor)));
    }

    .pwr-testimonial-listing-item--2cols {
        width: 100%;
    }

    .pwr-testimonial-listing-item--3cols {
        width: 100%;
    }
}

@container module (max-width: 767px ) {
    .pwr-testimonial .pwr-testimonial__author {
        text-align: center;
    }

    .pwr-testimonial--style-multiple .pwr-testimonial__quote {
        text-align: center;
    }

    .pwr-testimonial__quote {
        font-size: 18px;
        font-size: max(var(--fs-min), calc(18px * var(--fs-reduction-factor)));
        margin-bottom: calc(40px * var(--sp-reduction-factor));
    }

    .pwr-testimonial .pwr-testimonial__author {
        margin-bottom: calc(40px * var(--sp-reduction-factor));
    }

    .pwr-testimonial .pwr-testimonial__avatar {
        margin-bottom: calc(40px * var(--sp-reduction-factor));
    }

    .pwr-testimonial .pwr-testimonial__avatar {
        width: auto;
    }

    .pwr-testimonial .pwr-testimonial__author {
        display: block;
    }

    .pwr-testimonial .pwr-testimonial__name {
        display: block;
    }

    .pwr-testimonial__info {
        display: block;
    }

    .pwr-testimonial .pwr-testimonial__name {
        margin-bottom: 3px;
    }

    .pwr-testimonial--style-2 .pwr-testimonial__name:after {
        display: none;
    }

    .pwr-testimonial--style-2 .pwr-testimonial__name:before {
        display: none;
    }

    .pwr-testimonial__job-title:before {
        display: none;
    }
}