/****************
 * Fonts
 ****************/
/****************
 * Colors
 ****************/
/****************
 * Grid Settings
 ****************/
/**************
 * Buttons
 **************/
/****************
 * Blocks
 ****************/

.block-endorsers-section__title,
.block-endorser-name,
.block-endorser-quote {
  color: #3c3b6e;
}

.block-endorsers__title-col {
  max-height: 100px;
}

.block-endorsers-section__title {
  text-align: center;
  margin-bottom: 23px !important;
  font-family: 'ivy-presto-headline';
  font-size: 32px;
  line-height: normal;
}

.endorsers-card-wrapper-section {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow: hidden;
  max-width: 100%;
  gap: 24px;
}

.endorsers-card-wrapper-section .slick-slide {
  margin: 0 27px;
  min-height: 400px;
  text-align: -webkit-center;
}

.block-endorsers__card {
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* background: linear-gradient(to bottom, transparent 15%, #f4f4f6 15%, #f4f4f6 100%); */
  border-radius: 10px;
  flex: 0 0 33.33%;
  /* Each card takes 33.33% of the width */
  max-width: 33.33%;
  /* Prevent cards from growing larger than 33.33% */
  position: relative;
}

.block-endorsers__card:before {
  content: '';
  width: 100%;
  height: calc(100% - 70px);
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  background-color: #f4f4f6;
  border-radius: 10px;

}

@media (max-width: 1200px) {
  .block-endorsers__card {
    flex: 0 0 50%;
    /* 2 slides per view on medium screens */
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .block-endorsers__card {
    flex: 0 0 100%;
    /* 1 slide per view on mobile */
    max-width: 100%;
  }
}

.block-endorser_image {
  width: 100%;
  height: auto;
  padding-bottom: 20px;
}

.block-endorsers__card {
  display: flex;
  flex: 0 0 calc(33.33% - 12px);
}

.block-endorser-name {
  font-family: 'gotham-bold';
  text-transform: uppercase;
  font-size: 15px;
}

.arrow-cads-wrapper-endorsers {
  max-width: 100%;
}

.arrow-move-left-endorser {
  display: contents;
  align-content: center;
  cursor: pointer;
}

.arrow-move-left-endorser img,
.arrow-move-right-endorser img {
  place-self: center;
}

.arrow-right-slide,
.arrow-left-slide {
  align-content: center;
  cursor: pointer;
}

.arrow-right-slide {
  padding-left: 15px;
}

.arrow-cads-wrapper-endorsers .arrow-right {
  right: 0rem;
  place-self: center;
  position: relative;
}

.arrow-cads-wrapper-endorsers .arrow-left {
  left: 0rem;
  place-self: center;
  position: relative;
}

.arrow-cads-wrapper-endorsers .arrow-right:after {
  content: url(https://colonialmetstg.wpenginepowered.com/wp-content/uploads/2024/09/Arrow2-1.png) !important;
}

.arrow-cads-wrapper-endorsers .arrow-left:after {
  content: url(https://colonialmetstg.wpenginepowered.com/wp-content/uploads/2024/09/Arrow1.png) !important;
}

.endorser-bio-section {
  display: none;
  padding: 20px;
  position: absolute;
  max-width: 60%;
  background-color: white;
  border-radius: 15px;
  font-size: 1.3rem;
  font-family: 'myriad-pro-italic';
  line-height: normal;
}

.endorser-bio-section-right {
  left: 60%;
  top: 35%;
}

.circle-decorative-endorser {
  width: 20px;
  height: 20px;
  background-color: #28255a;
  border-radius: 100%;
  border: solid #28255a;
  position: absolute;
}

.circle-span-left {
  top: 5px;
  left: 5px;
}

.endorsers-card-wrapper-section {
  display: flex;
  gap: 24px;
  overflow: hidden;
  max-width: 100%;
  width: 100%;
  justify-content: space-between;
}

@media (min-width: 576px) {}

@media (min-width: 768px) {}

@media (min-width: 1200px) {}

@media (min-width: 576px) {}

@media (min-width: 768px) {}

@media (max-width: 1200px) {
  .block-endorser-card-wrapper img {
    width: 90%;
  }

  .block-endorsers__card:before {
    height: calc(100% - 50px);
  }

  .block-endorser-quote {
    font-size: 0.8rem;
  }
}

@media (min-width: 1410px) {}

@media (max-width: 920px) {
  .endorsers-card-wrapper-section {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow: hidden;
    width: 100%;
    justify-content: center;
  }

  .block-endorsers__card {
    flex: 0 0 280px;
  }
}

@media (min-width: 920px) {
  .block-endorsers__card:hover .endorser-bio-section {
    display: block;
    position: absolute;
    background-color: white;
    color: #28255a;
    box-shadow: 0px 0px 58px -12px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 0px 0px 58px -12px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 58px -12px rgba(0, 0, 0, 0.75);
    width: 150%;
    max-width: 200%;
    z-index: 1;
  }

  .left-bio-section {
    right: 65%;
    top: 35%;
  }

  .block-endorsers__card:hover .circle-decorative-endorser-left {
    top: 5px;
    right: 5px;
  }

  .block-endorsers__card:hover {
    /* background-color: #28255a; */
    position: relative;
  }

  .block-endorsers__card:hover:before {

    background-color: #28255a;
  }

  .block-endorsers__card:hover .block-endorser-name,
  .block-endorsers__card:hover .block-endorser-quote {
    color: #f4f4f6;
  }

  .block-endorsers__card:hover .circle-decorative-endorser-right {
    left: 5px;
    /* Default position for circle on the left */
    top: 5px;
    /* Keep the circle aligned vertically */
  }

  /* Adjust for cards that overflow, move popup to the left */
  .block-endorsers__card.overflow-left:hover .endorser-bio-section {
    left: auto;
    /* Remove default left positioning */
    right: 60%;
    /* Show popup on the left side */
  }

}

@media (min-width: 768px) {}

@media (min-width: 576px) {}

@media (min-width: 768px) {}

.block-endorser-card-content {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

@media (min-width: 580px) {
  .endorsers-card-wrapper-section .slick-slide {
    padding-bottom: 20px;
    min-height: 360px;
  }

}

@media (max-width: 375px) {
  .block-endorsers__card-col {
    padding: 0;
  }

  .slick-slide {
    width: 80vw;
    /* Adjust width to 80% of the viewport */
    height: auto;
    /* Automatically adjust height */
  }

  .endorsers-card-wrapper-section .slick-slide {
    min-height: 390px;
  }

  .block-endorsers__card {
    flex: 0 0 80vw;
    /* Set card width to 80% of the viewport */
    max-width: 80vw;
    height: 60vw;
    /* Ensure the height is smaller than the width */
    padding: 10px;
  }

  .block-endorser_image {
    width: 100%;
    /* Make image fill the slide */
    height: auto;
    /* Keep aspect ratio */
  }
}

@media (max-width: 320px) {
  .slick-slide {
    width: 70vw;
    /* Adjust width to 70% of the viewport */
    height: auto;
  }

  .block-endorsers__card {
    flex: 0 0 70vw;
    /* Card width to 70% of the viewport */
    max-width: 70vw;
    height: 55vw;
    /* Ensure height remains smaller than width */
    padding: 8px;
  }

  .block-endorser_image {
    width: 100%;
    height: auto;
  }
}


@media (min-width: 376px) {
  .endorsers-card-wrapper-section .slick-slide {
    min-height: 390px;
  }
}



@media (min-width: 500px) {
  .endorsers-card-wrapper-section .slick-slide {
    min-height: 400px;
  }
}

@media (min-width: 1200px) {
  .endorsers-card-wrapper-section .slick-slide {
    min-height: 500px;
  }

  .block-endorser-quote,
  .block-endorser-name {
    font-size: 1.3rem !important;
  }
}

.block-endorser-quote {
  font-family: 'myriad-pro-italic';
  ;
  line-height: normal;
  font-size: 1.1rem;
}

@media (min-width: 768px) {}


@media (min-width: 1410px) {}

@media (min-width: 576px) {}

@media (min-width: 768px) {}

@media (min-width: 1200px) {}

@media (min-width: 1410px) {}