/* Testimonials */

.swiper-control-area {
    display:flex;
    flex-wrap: wrap;
    gap: 0.5em;
    padding-top: 1em;
}
.swiper-control-area * {
    position: static;
    transform: unset;
    margin: unset;
    
}
.swiper-control-area .swiper-pagination {
    text-align: left;
    display: none;
}
.swiper-control-area .swiper-button-next, .swiper-control-area .swiper-button-prev {
    width: 40px;
    height: 40px;
    border: 1.5px solid;
    display: flex;
    align-items: middle;
    justify-content: center;
    border-radius:0.4em;
}
.swiper-control-area .swiper-button-next:hover, 
.swiper-control-area .swiper-button-prev:hover {
    background: var(--ef-primary-light);
    color:var(--ef-primary-dark);
}
.swiper-control-area .swiper-button-next:after, .swiper-control-area .swiper-button-prev:after {
    font-size: 28px !important;
    content: '';
    width: 0.35em;
    height: 0.35em;
    display: block;
    border: 1px solid;
    border-width: 0 2px 2px 0;
    transform: rotate(-45deg);
    margin:0 0 0 -0.1725em;
}
.swiper-control-area .swiper-button-prev {
    transform: rotate(180deg);
}
.testimonial-swiper-container {
    overflow: hidden;
    margin: 1em 0;
}
.myTestimonialSwiper {
    width: var(--ef-body-width) !important;
    max-width:var(--contents-max-width);
    overflow:visible;
    /* margin: 0 auto; */
}
.myTestimonialSwiper .swiper-slide .swiper-contents {
    opacity:0.5;
    /* transform:scale(0.9); */
    transition: all 0.3s;
}
.myTestimonialSwiper .swiper-slide.swiper-slide-active .swiper-contents,
.myTestimonialSwiper .swiper-slide.swiper-slide-active ~ div .swiper-contents {
    opacity:1;
}
.myTestimonialSwiper .swiper-slide.swiper-slide-active .swiper-contents {
     background: var(--ef-primary);
     color: white;
     border: unset !important;
 }
.myTestimonialSwiper .swiper-slide.swiper-slide-active .swiper-contents .testimonial-content a {
    color: white !important;
    opacity: 0.5
}
.myTestimonialSwiper .swiper-wrapper {
    align-items: stretch;
}
.testimonials-archive {
    gap: 2em;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 3em;
}
@media screen and (max-width: 900px) {
    .testimonials-archive {
        grid-template-columns: 1fr 1fr;
    }    
}
@media screen and (max-width: 600px) {
    .testimonials-archive {
        grid-template-columns: 1fr;
    }    
}

:is(.myTestimonialSwiper, .testimonials-archive) .swiper-slide {
    /* background: white; */
    overflow: hidden;
    /* height: 100%; */
    /* flex-grow: 1; */
    height: unset;
    align-items: stretch;
}
:is(.myTestimonialSwiper, .testimonials-archive) .swiper-slide .swiper-contents {
    background: white;
    padding: 2em;
    border-radius: var(--ef-border-radius);
    text-align: left;
    font-size: 0.8em;
    display: flex;
    flex-direction: column;
    gap: 1em;
    width: 100%;
    border: 1px solid #ccc;
}

.testimonial-byline a {
    display: block;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px;
    min-height: 40px;
    padding: unset !important;
   
}
.testimonial-headshot img {
    width:100% !important;
    height:100% !important;
    z-index:1;
    position:relative;
}
.testimonial-headshot-link {
    position: relative;
    border-radius: 100%;
    overflow: hidden;
    background: rgba(0,0,0,0.1);
    font-size: 0;
}
.testimonial-headshot-link:empty {
    padding-top:100%;
    padding-right:100%;
}
.testimonial-headshot-link:empty:before, .testimonial-headshot-link:empty:after {
    content: '';
    width: 42%;
    height: 42%;
    background: black;
    display: block;
    position:absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%);
    border-radius: 100%;
    z-index:0;
    opacity:0.2
}
.testimonial-headshot-link:empty:after {
    top:65%;
    width:100%;
    height: 60%;
    border-radius:100%;
}
.testimonial-content {
    margin:0
}

.testimonial-byline {
    display: flex;
    gap: 0.6em
}
.testimonial-credit {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2em;
}
.testimonial-name {
    margin:0;
    font-weight: 700;
    line-height: 1;
}
.testimonial-position {
     margin:0;
    font-size: 0.8em;
    opacity:0.6
}
/****************************** Swiper Styles ***********************************/

.swiper {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition:opacity 1s ease;
}

.swiper-initialized {
    opacity: 1;
}
.swiper-slide {
  text-align: center;
  font-size: 18px;
  /* background: #444; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-banner .swiper-slide img {
  display: block;
  width: auto;
  height: clamp(120px, 20vw, 200px);
  object-fit: cover;
}
.home-banner .swiper-slide {
    width: auto;
}
.home-banner {
    display: flex;
    flex-direction: column;
    gap: clamp(2px, .5vw, 5px);
    overflow: hidden;
    pointer-events: none;
    margin-bottom: clamp(2px, .5vw, 5px) !important;
}
.home-banner::selection {
  background: transparent; /* Or a color that matches the background */
  color: inherit; /* Ensures text color remains the same */
}

.home-banner::-moz-selection { /* For older Firefox versions */
  background: transparent;
  color: inherit;
}
.home-banner .swiper-slide {
    margin-right: clamp(2px, .5vw, 5px) !important;
}
.home-banner .swiper-slide:after {
    content:'';
    display:block;
    width: 100%;
    height: 100%;
    position:absolute;
    background: #00b7ff;
    mix-blend-mode: multiply;
    transition: all 1s ease;
    opacity: 0;    
}
.home-banner .swiper.mySwiper .swiper-slide.swiper-slide-prev:after,
.home-banner .swiper.mySwiper .swiper-slide.swiper-slide-next + .swiper-slide:after,
.home-banner .swiper.mySwiper2 .swiper-slide:nth-child(2n - 1):after {
     opacity:1 
}

.home-banner .mySwiper .swiper-wrapper {
  justify-content: flex-start;
}