/* Testimonials CE */

.item-view.item-type-review {
    /* display: inline-block; */
    display: flex;
	flex-direction: row;
    justify-content: center;
	margin-top: 2rem;
	padding: 3rem 0;
    background: linear-gradient(100deg, var(--alternative-background-color) 52%, var(--style-color-1) 52.1%);
	
}

.item-view.item-type-review::before {
    display: inline-block;
    position: absolute;
    content: '';
    width: 5px;
    height: 36px;
    margin-left: -47%;
    margin-top: -4rem;
    border-left: 20px solid var(--style-color-1);
    border-right: 20px solid var(--style-color-1);
    transform: skewX(-10deg);
}

@media (min-width: 1200px) {
	.item-view.item-type-review::before {
		margin-left: -580px;
	}
}

.item-view.item-type-review .text {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 50%;
    /* float: right; */
    padding: 0 2rem;
    box-sizing: border-box;
}

.item-view.item-type-review .title {
    /* display: block; */
    /* float: left; */
    /* width: 50%; */
    padding: 0 0 1.5rem;
    text-align: center;
    font-size: 1.4rem;
    font-style: italic;
    font-weight: bold;
}

.item-view.item-type-review .description {
    /* display: block; */
    /* float: left; */
    /* width: 50%; */
    /* clear: left; */
}

.item-view.item-type-review .description p {
    /* padding: 0 1.5rem 1.5rem; */
    text-align: center;
    font-style: italic;
    /* margin-bottom: 0; */
}


.item-view.item-type-review .images {
    /* display: block; */
    /* float: right; */
    width: 50%;
}


.item-view.item-type-review .image {
    /* display: block; */
    text-align: center;
    /* margin-top: -3rem; */
    /* margin-bottom: 3rem; */
	/* padding-left: 2rem; */
}

.item-view.item-type-review .images img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1/1;
    max-width: 180px;
	border: 3px solid #fff;
	border-radius: 50%;
	border-start-start-radius: 0;
}

@media (max-width: 650px) {
	
	.item-view.item-type-review {
		flex-direction: column;
		background: transparent;
	}
	.item-view.item-type-review::before {
		position: relative;
		margin-left: 46%;
		margin-bottom: -20px;
	}
	.item-view.item-type-review .text {
		width: 100%;
		padding: 2rem;
		background: var(--alternative-background-color);
	}
	.item-view.item-type-review .title,
	.item-view.item-type-review .description,
	.item-view.item-type-review .images {
		width: 100%;
		float: none;
		clear: both;
		box-sizing: border-box;
	}
	.item-view.item-type-review .title {
		padding-bottom: 1rem;
	}
	.item-view.item-type-review .title,
	.item-view.item-type-review .description {
	}
	.item-view.item-type-review .image {
		margin-top: 0;
		padding: 2rem 0;
		background: var(--style-color-1);
	}
}

/* Testimonial Rahmen (ce-textmedia) */

.frame-testimonial {
    background: linear-gradient(100deg, var(--alternative-background-color) 52%, var(--style-color-1) 52.1%);
}

.frame-testimonial::before {
    display: inline-block;
    content: '';
    width: 5px;
    height: 36px;
    margin-left: 27%;
    margin-top: -18px;
    border-left: 20px solid var(--style-color-1);
    border-right: 20px solid var(--style-color-1);
    transform: skewX(-10deg);
}

.frame-testimonial.frame-type-textmedia > div {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    margin-top: -25px;
}
.frame-testimonial.frame-type-textmedia .ce-bodytext {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0 30px;
    width: calc(50% - 10px);
    padding: 40px 20px 20px;
}
.frame-testimonial.frame-type-textmedia .ce-gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0 30px;
    width: calc(50% - 30px);
    padding: 30px;
}

.frame-testimonial.frame-type-textmedia .ce-gallery .ce-outer,
.frame-testimonial.frame-type-textmedia .ce-gallery .ce-inner {
    right: inherit;
}
    
.frame-testimonial.frame-type-textmedia .ce-gallery .ce-inner {
    aspect-ratio: 1/1;
}
.frame-testimonial.frame-type-textmedia .ce-gallery img {
	width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    max-width: 180px;
    border: 3px solid #fff;
    border-radius: 50%;
    border-start-start-radius: 0;
}
@media (max-width: 650px) {
	.frame-testimonial {
		background: inherit;
	}
	.frame-testimonial::before {
        margin-left: 46%;
	}
	.frame-testimonial.frame-type-textmedia > div {
		flex-direction: column-reverse;
	}
	.frame-testimonial.frame-type-textmedia .ce-bodytext {
		width: calc(100% - 40px);
		background: var(--alternative-background-color);
	}
	.frame-testimonial.frame-type-textmedia .ce-gallery {
		width: calc(100% - 40px);
		background: var(--style-color-1);
	}
} 