.testimonials .entry-testimonial {
border-radius: 25px;
overflow: hidden;
background-color: var(--paletteColor1);
display: block;
grid-template-columns: 250px 1fr 150px;
border: 1px solid var(--paletteColor1);
margin-bottom: 20px;
}
@media (min-width: 1280px) {
.testimonials .entry-testimonial {
margin-bottom: 40px;
}
}
.testimonials .entry-testimonial .content .teaser {
position: relative;
color: #fff;
z-index: 1;
}
.testimonials .entry-testimonial .content .teaser .thumbnail {
width: 30%;
height: 100%;
aspect-ratio: 1/1;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
.testimonials .entry-testimonial .content .teaser .thumbnail:before {
content: "";
height: 100%;
width: 40px;
position: absolute;
right: 0px;
background: var(--paletteColor1);
transform: rotate(8deg);
right: -20px;
}
.testimonials .entry-testimonial .content .teaser .thumbnail img {
height: 100%;
object-fit: cover;
}
.testimonials .entry-testimonial .content .teaser span {
display: block;
}
.testimonials .entry-testimonial .content .teaser .primary-data {
height: auto;
display: block;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px 0 20px calc(30% + 40px);
}
@media (min-width: 1280px) {
.testimonials .entry-testimonial .content .teaser .primary-data {
padding: 40px 120px 40px calc(30% + 40px);
}
}
.testimonials .entry-testimonial .content .teaser .primary-data .icon {
display: block;
position: absolute;
left: calc(30% - 5px);
top: 50%;
margin-top: -15px;
opacity: 0.4;
}
@media (min-width: 1024px) {
.testimonials .entry-testimonial .content .teaser .primary-data .icon {
left: 25%;
}
}
@media (min-width: 1280px) {
.testimonials .entry-testimonial .content .teaser .primary-data .icon {
margin-top: -40px;
left: calc(25% - 40px);
}
}
.testimonials .entry-testimonial .content .teaser .primary-data .icon svg {
width: 30px;
height: 30px;
fill: white;
}
@media (min-width: 1280px) {
.testimonials .entry-testimonial .content .teaser .primary-data .icon svg {
width: 80px;
height: 80px;
}
}
.testimonials .entry-testimonial .content .teaser .primary-data .name {
font-size: 22px;
font-family: var(--fontFamilyHeadings);
}
@media (min-width: 768px) {
.testimonials .entry-testimonial .content .teaser .primary-data .name {
font-size: 40px;
}
}
@media (min-width: 1280px) {
.testimonials .entry-testimonial .content .teaser .primary-data .name {
font-size: 60px;
}
}
.testimonials .entry-testimonial .content .teaser .primary-data .position {
font-size: 16px;
font-weight: 100;
height: auto;
}
@media (min-width: 768px) {
.testimonials .entry-testimonial .content .teaser .primary-data .position {
font-size: 21px;
}
}
@media (min-width: 1280px) {
.testimonials .entry-testimonial .content .teaser .primary-data .position {
font-size: 28px;
}
}
.testimonials .entry-testimonial .content .teaser .primary-data button.open_full {
display: flex;
background-color: transparent;
border: none;
outline: none;
position: absolute;
right: 20px;
top: 50%;
margin-top: -20px;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
cursor: pointer;
}
@media (min-width: 1280px) {
.testimonials .entry-testimonial .content .teaser .primary-data button.open_full {
width: 80px;
height: 80px;
margin-top: -40px;
}
}
.testimonials .entry-testimonial .content .teaser .primary-data button.open_full svg {
fill: var(--paletteColor4);
width: 40px;
height: 40px;
position: absolute;
z-index: -1;
}
@media (min-width: 1280px) {
.testimonials .entry-testimonial .content .teaser .primary-data button.open_full svg {
width: 80px;
height: 80px;
}
}
.testimonials .entry-testimonial .content .teaser .primary-data button.open_full i {
font-size: 40px;
font-family: var(--fontFamilyHeadings);
color: var(--paletteColor1);
font-style: normal;
transform: rotate(10deg);
}
@media (min-width: 1280px) {
.testimonials .entry-testimonial .content .teaser .primary-data button.open_full i {
font-size: 80px;
}
}
.testimonials .entry-testimonial .content .teaser .primary-data button.open_full i:after {
content: "+";
}
.testimonials .entry-testimonial .content .teaser .primary-data button.open_full:hover svg {
fill: white;
}
.testimonials .entry-testimonial .content .teaser .primary-data button.open_full.active i:after {
content: "-";
}
.testimonials .entry-testimonial .content .testimonial {
display: none;
}
.testimonials .entry-testimonial .content .testimonial .inner {
padding: 20px;
}
.testimonials .entry-testimonial .content .testimonial .inner a {
color: white;
}