.wx-testimonials {
    margin-bottom: 1.5em;
}
.wx-testimonials.has-more-than-1-item {
    margin-bottom: 3em;
}

.wx-testimonials .testimonial-item {
    position: relative;
}
.wx-testimonials .testimonial-item__main.card {
    margin-bottom: 0;
    color: inherit;
    max-width: none;
}

.wx-testimonials .hotel-info__name {
    max-width: none;
    margin-top: 0;
}

.wx-testimonials .wp-block-quote {
    border-left: none;
    margin-top: 1em;
    margin-bottom: 2em;
    padding-left: 0;
}
.wx-testimonials .wp-block-quote p {
    quotes: '„' '“';
}
.wx-testimonials .wp-block-quote p::before {
    content: open-quote;
}
.wx-testimonials .wp-block-quote p::after {
    content: close-quote;
}
    

.wx-testimonials cite {
    font-size: 0.875rem;
    color: var(--c-grey-dark-2);
}
.wx-testimonials cite strong {
    display: block;
    font-size: 1rem;
    color: var(--c-secondary);
}
    

.wx-testimonials.has-text-color :where(cite, cite strong) {
    color: inherit;
}
.wx-testimonials.has-text-align-center .wp-block-quote {
    text-align: center !important;
}
.wx-testimonials.has-text-align-left .wp-block-quote {
    text-align: left !important;
}
.wx-testimonials.has-text-align-right .wp-block-quote {
    text-align: right !important;
}



.wx-testimonials:not(.is-style-plain):not(.is-style-variant-1) .testimonial-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.wx-testimonials:not(.is-style-plain):not(.is-style-variant-1) .testimonial-item__author {
    align-self: flex-end;
    margin-right: 1em;
}
.wx-testimonials:not(.is-style-plain):not(.is-style-variant-1) .testimonial-item__main {
    flex-basis: calc(100% - 150px - 1em);
    min-width: 160px;
    flex-grow: 1;
    margin-top: 1em;
}
.wx-testimonials:not(.is-style-plain):not(.is-style-variant-1) .card {
    border-bottom-left-radius: 0;
}
.wx-testimonials:not(.is-style-plain):not(.is-style-variant-1) .hotel-info__name {
    text-transform: uppercase;
}
@media (max-width: 500px) {
    .wx-testimonials:not(.is-style-plain):not(.is-style-variant-1) .testimonial-item {
        flex-direction: column;
    }
    .wx-testimonials:not(.is-style-plain):not(.is-style-variant-1) .testimonial-item__author {
        align-self: center;
    }
}




/* Plain styled testimonial (variant 1)
---------------------------------------------------------------------------------------------------- */
.wx-testimonials:where(.is-style-plain, .is-style-variant-1) {
    --author-avatar-size: 72px;
    position: relative;
}
.wx-testimonials:where(.is-style-plain, .is-style-variant-1) .wp-block-quote {
    margin-bottom: 0;
}
.wx-testimonials:where(.is-style-plain, .is-style-variant-1) .testimonial-item__logo {
    margin-bottom: 1em;
}
.wx-testimonials:where(.is-style-plain, .is-style-variant-1) .testimonial-item__logo img {
    height: var(--author-avatar-size);
    width: auto;
}
.wx-testimonials:where(.is-style-plain, .is-style-variant-1) .testimonial-item__author {
    position: absolute;
    left: 1em;
    bottom: 1.5em;
    z-index: 1;
    height: var(--author-avatar-size);
    width: var(--author-avatar-size);
}
.wx-testimonials:where(.is-style-plain, .is-style-variant-1) .testimonial-content blockquote cite {
    margin-top: 2em;
    margin-left: calc(var(--author-avatar-size) + 1em);
    min-height: var(--author-avatar-size);
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
}
.wx-testimonials:where(.is-style-plain, .is-style-variant-1) .corner-bubble-shape {
    border: 3px solid var(--c-white);
}
.wx-testimonials:where(.is-style-plain, .is-style-variant-1) .card {
    background: none;
    box-shadow: none;
    padding: 0;
}
.wx-testimonials:where(.is-style-plain, .is-style-variant-1) .carousel-wrapper .testimonial-item {
    padding: 0;
}
.wx-testimonials:where(.is-style-plain, .is-style-variant-1)::before,
.wx-testimonials:where(.is-style-plain, .is-style-variant-1)::after {
    font-family: Georgia, sans-serif;
    position: absolute;
    font-size: 10rem;
    font-weight: bold;
    line-height: 1;
    opacity: 0.1;
    color: #000;
}
.wx-testimonials:where(.is-style-plain, .is-style-variant-1)::before {
    content: open-quote;
    left: 0;
    top: 0;
}
.wx-testimonials:where(.is-style-plain, .is-style-variant-1)::after {
    content: close-quote;
    right: 0;
    bottom: 0;
}

@media (min-width: 879px) {
    .wx-testimonials:where(.is-style-plain, .is-style-variant-1) .testimonial-item__logo {
        position: absolute;
        right: 0;
        bottom: 0;
    }
}


:where(.has-dark-blue-background-color) .wx-testimonials.is-style-plain::before,
:where(.has-dark-blue-background-color) .wx-testimonials.is-style-plain::after,
:where(.has-dark-blue-background-color) .wx-testimonials.is-style-variant-1::before,
:where(.has-dark-blue-background-color) .wx-testimonials.is-style-variant-1::after {
    color: #fff;
}


/* Variant 2
---------------------------------------------------------------------------------------------------- */
.wx-testimonials.is-style-variant-2 {
    --author-avatar-size: 132px;
    position: relative;
}
.wx-testimonials.is-style-variant-2 .testimonial-item {
    max-width: 56ch;
    padding: 2em;
    margin-top: 2em;
    margin-bottom: calc(var(--author-avatar-size) / 2 + 1em);
    position: relative !important;
    padding-bottom: calc(var(--author-avatar-size) / 2 + 1rem);
    background: rgb(0 92 169 / 80%);
    border: 2px solid #fff;
    border-radius: var(--border-radius-cards);
    color: var(--c-white);
}
.wx-testimonials.is-style-variant-2 .testimonial-item__main {
    margin-top: 0 !important;
}
.wx-testimonials.is-style-variant-2 .testimonial-item__author {
    position: absolute;
    right: 2em;
    bottom: calc(var(--author-avatar-size) / 2* -1);
    left: initial;
    margin: 0 !important;
    height: var(--author-avatar-size);
    width: var(--author-avatar-size);
}
.wx-testimonials.is-style-variant-2 .testimonial-item__author img {
    border: 2px solid #fff;
}
.wx-testimonials.is-style-variant-2 .corner-bubble-shape {
    border-top-left-radius: 0;
    border-bottom-right-radius: 100%;
}
.wx-testimonials.is-style-variant-2 .testimonial-content blockquote cite {
    position: absolute;
    text-align: right;
    right: calc(var(--author-avatar-size) + 3.5rem);
    margin: 0;
    bottom: 1.5em;
    color: #fff;
}
.wx-testimonials.is-style-variant-2 cite strong {
    color: var(--c-white);
}
.wx-testimonials.is-style-variant-2 .wp-block-quote {
    margin: 0;
}
.wx-testimonials.is-style-variant-2 .wp-block-quote p {
    quotes: none !important;
}

.wx-testimonials.is-style-variant-2::before {
    content: '„';
    position: absolute;
    top: -2.5rem;
    left: 2rem;
    font-size: 8rem;
    font-weight: bold;
    line-height: 0;
    color: #fff;
    z-index: 1;
}



/* Carousel
---------------------------------------------------------------------------------------------------- */
.wx-testimonials .carousel-wrapper .testimonial-item {
    padding: 1em 1em 1.5em;
}
.wx-testimonials .carousel-wrapper .testimonial-item:focus {
    outline: 0;
}
.wx-testimonials .carousel-wrapper {
    margin-left: 32px;
    margin-right: 32px;
}
.wx-testimonials .slick-initialized .slick-slide {
    display: flex;
}
.wx-testimonials .slick-track {
    display: flex;
    align-items: center;
}
.wx-testimonials .slick-prev, .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
}
.wx-testimonials .slick-prev {
    left: -32px;
}
.wx-testimonials .slick-next {
    right: -32px;
}
.wx-testimonials .slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus {
    color: transparent;
    outline: none;
    background: transparent;
}
.wx-testimonials .slick-next::before, .slick-prev::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: contain;
}
.wx-testimonials .slick-next::before {
    background-image: url(../images/icon-slider-arrow-right.svg);
    background-position: left center;
}
.wx-testimonials .slick-prev::before {
    background-image: url(../images/icon-slider-arrow-left.svg);
    background-position: right center;
}
.wx-testimonials .slick-dots {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}
.wx-testimonials .slick-dots li {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    padding: 0;
    cursor: pointer;
}
.wx-testimonials .slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    padding: 4px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
.wx-testimonials .slick-dots li button::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    border-radius: 100%;
    text-align: center;
    opacity: 0.25;
    background: var(--c-secondary);
}    
.wx-testimonials .slick-dots li.slick-active button::before {
    opacity: 1;
    background: var(--c-secondary);
}


:where(.post-template-template-success-story, .single-post) .wx-testimonials {
    max-width: 877px !important;
}
