.team-slider-block {
padding: 3rem 0;
background: #fdf7fb; }
.team-slider-block h2 {
text-align: center;
margin-bottom: 3rem;
font-weight: 700;
color: #d647a3;
}
.team-slider-block .team-swiper .swiper-wrapper {
display: flex;
}
.team-slider-block .team-swiper .team-slide {
flex-shrink: 0;
width: auto;
}
.team-slider-block .swiper-button-next,
.team-slider-block .swiper-button-prev {
color: #d647a3;
}
.team-slider-block .team-slider-pagination {
position: relative;
top: 1.5rem !important;
bottom: unset;
}
.team-slider-block .swiper-pagination-bullet-active {
background: #d647a3;
}
.team-slider-block .team-accordion {
display: none;
}
.team-slider-block .team-slide {
display: flex;
justify-content: center;
align-items: center;
}
.team-slider-block .team-member {
width: 100%;
aspect-ratio: 1/1;
overflow: hidden;
position: relative;
}
.team-slider-block .team-member:hover .team-overlay {
opacity: 1;
visibility: visible;
}
.team-slider-block .team-info {
position: relative;
z-index: 2;
color: white;
text-align: center;
bottom: 3rem;
}
.team-slider-block .team-info h3 {
color: #fff;
font-weight: 600;
font-size: 1.4rem;
}
.team-slider-block .team-info p {
font-size: 1rem;
max-width: 15ch;
margin: 0 auto;
}
.team-slider-block .team-image {
position: relative;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
border-radius: 50%;
overflow: hidden;
display: flex;
justify-content: center;
align-items: flex-end;
}
.team-slider-block .team-image:after {
content: "";
position: absolute;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
}
.team-slider-block .team-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #706f6f;
color: white;
padding: 2rem;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 50%;
opacity: 0;
visibility: hidden;
transition: opacity 0.75s ease, visibility 0.75s ease;
z-index: 3;
}
.team-slider-block .team-overlay h3 {
margin: 0;
font-size: 1.2rem;
}
.team-slider-block .team-overlay p {
margin: 0;
font-size: 0.9rem;
}
.team-slider-block .team-overlay .team-bio {
margin-top: 0.5rem;
font-size: 0.85rem;
}
@media (max-width: 768px) {
.team-slider-block .team-swiper {
display: none;
}
.team-slider-block .team-slider-pagination {
display: none;
}
.team-slider-block .team-accordion {
display: block;
}
.team-slider-block .team-accordion .accordion-item {
background: #eee;
margin-bottom: 0.5rem;
}
.team-slider-block .team-accordion .accordion-button {
width: 100%;
text-align: left;
background: none;
border: none;
padding: 1rem;
font-size: 1.2rem;
display: flex;
align-items: center;
gap: 1rem;
cursor: pointer;
color: #4b4b4a;
}
.team-slider-block .team-accordion .accordion-image {
width: 40px;
height: 40px;
border-radius: 50%;
background-size: cover;
background-position: center;
flex-shrink: 0;
}
.team-slider-block .team-accordion .accordion-content {
display: none;
padding: 1rem;
background: #f9f9f9;
}
.team-slider-block .team-accordion .accordion-item.active .accordion-content {
display: block;
}
}
.editor-styles-wrapper .team-slider-block {
padding: 3rem 6rem;
}
.editor-styles-wrapper .team-slider-block .team-slide {
width: 30% !important;
}