#carousel {
  position: relative;
  width: 100%;
}

#section-carousel {
  min-height: 350px;
  position: relative;
}

#section-carousel .swiper-custom {
  overflow: hidden;
}

#section-carousel .swiper-wrapper {
  display: flex;
}

#section-carousel .swiper-slide {
  background-color: var(--e-global-color-9d65f98);
  flex-shrink: 0;
}

#section-carousel .swiper-slide .leader-image img {
  width: 100% !important;
  height: 100%;
  object-fit: contain;
}

#section-carousel .content {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 30px 20px;  
}

#section-carousel .content .name {
  font-family: var(--e-global-typography-15fd099-font-family);
  color: var(--e-global-color-edee205);
  font-size: 1.2rem;
}

#section-carousel .content .position {
  font-family: var(--e-global-typography-1342ffb-font-family);
  color: var(--e-global-color-edee205);
  font-weight: 300;
  font-size: 1rem;
}

#section-carousel .content .title h2 {
  font-family: var(--e-global-typography-1342ffb-font-family);
  font-size: 1rem;
  font-weight: bold;
}

#section-carousel .content .description {
  margin-top: 14px;
  font-family: var(--e-global-typography-1342ffb-font-family);
  font-size: 0.9rem;
}

#section-carousel .content .description {
    color: #343741;
    font-weight: 400;  
    font-size: 16px
}

#section-carousel .swiper-button-prev {
    content: url(./../images/arrow-left.png);
    color: #000;
    z-index: 7;
    position: relative;
    transform: translateY(91%);
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: -20px !important;
    left: 37%;
    cursor: pointer;
  }

  #section-carousel .swiper-button-next {
    content: url("./../images/arrow-right.png");
    color: #000;
    z-index: 7;
    position: relative;
    transform: translateY(91%);
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 48%;
    bottom:0;
    cursor: pointer
  }

#section-carousel h3,
h4,
p {
  margin-bottom: 0 !important;
}

.swiper-button-disabled {
  opacity: .35 !important
}


/* Padrão: desktop visível, mobile oculto */
#section-carousel .leader-image-desktop {
  display: block;
}

#section-carousel .leader-image-mobile {
  display: none;
}


@media screen and (min-width: 768px) {
  #section-carousel .swiper-button-prev {
    content: url("./../images/arrow-left.png");
    color: #000;
    z-index: 7;
    position: relative;
    transform: translateY(-103%);
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: -20px !important;
    left: -140px;
    cursor: pointer
  }

  #section-carousel .swiper-button-next {
    content: url("./../images/arrow-right.png");
    color: #000;
    z-index: 7;
    position: relative;
    transform: translateY(-207%);
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    left: -86px;
    bottom:-19px;
    cursor: pointer
  }
}

@media screen and (max-width: 767px) {

  #section-carousel .leader-image-desktop {
    display: none !important;
  }

  #section-carousel .leader-image-mobile {
    display: block !important;
  }
    
  #section-carousel .background-line {
    width: 100%;
    height: 2px;
    background-color: var(--e-global-color-61d93a5);
    position: absolute;
    transform: translateY(11px);
    z-index: 1;
  }

    #section-carousel .leader-image-mobile {
    display: block;
  }

  #section-carousel .swiper-slide {
    display: flex !important;
    flex-direction: column !important;
  }

  #section-carousel .swiper-slide .leader-image img {
    width: 100% !important;
    height: 175px !important;
    object-fit: cover;
  }

  #section-carousel .content {
    height: 350px;
    width: 100% !important;
    max-width: 100% !important;
  }

  #section-carousel .swiper-button-prev {
    transform: translateY(193%)
  }


  #section-carousel .swiper-pagination {
    z-index: 3;
    display: none
  }

}

#section-carousel .content .social img {
  margin-top: 14px;
}

/* ===== DIMENSÕES FIXAS - forçadas com !important ===== */

@media screen and (min-width: 1153px) {
  #section-carousel .leader-image-mobile {
    display: none;
  }

  #section-carousel .swiper-slide {
    display: flex !important;
    width: 608px !important;
    height: 350px !important;
    min-height: 350px !important;
  }

  #section-carousel .swiper-slide .leader-image {
    width: 230px !important;
    min-width: 230px !important;
    height: 350px !important;
    flex-shrink: 0 !important;
  }

  #section-carousel .swiper-slide .leader-image img {
    width: 230px !important;
    height: 350px !important;
    object-fit: cover !important;
  }

  #section-carousel .content {
    width: 440px !important;
    max-width: 377px !important;
    min-width: 377px !important;
    height: 350px !important;
    background: #F2F2F2 !important;
    display: flex !important;
    overflow-y: scroll;
  }
/* Chrome, Safari, Edge */
#section-carousel .content::-webkit-scrollbar {
    width: 5px;
}

#section-carousel .content::-webkit-scrollbar-track {
    background: transparent;
}

#section-carousel .content::-webkit-scrollbar-thumb {
    background-color: #8b8b8b;
    border-radius: 10px;
}
  #section-carousel .swiper-pagination {
    display: none !important;
  }
}

@media screen and (max-width: 1152px) {
  #section-carousel .swiper-slide {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
  }

  #section-carousel .leader-image-desktop {
    display: none !important;
  }

  #section-carousel .swiper-slide .leader-image img {
    width: 230px !important;
    height: 350px !important;
    object-fit: cover !important;
  }

  #section-carousel .content {
    background: #F2F2F2 !important;
    display: flex !important;
    width: 440px !important;
    max-width: 377px !important;
    height: auto !important;
  }
}

@media screen and (max-width: 767px) {

  #section-carousel .leader-image-desktop {
    display: none !important;
  }

  #section-carousel .leader-image-mobile {
    display: block !important;
  }
    
  #section-carousel .background-line {
    width: 100%;
    height: 2px;
    background-color: var(--e-global-color-61d93a5);
    position: absolute;
    transform: translateY(11px);
    z-index: 1;
  }

    #section-carousel .leader-image-mobile {
    display: block;
  }

  #section-carousel .swiper-slide {
    display: flex !important;
    flex-direction: column !important;
  }

  #section-carousel .swiper-slide .leader-image img {
    width: 100% !important;
    height: 175px !important;
    object-fit: cover;
  }

  #section-carousel .content {
    height: 350px;
    width: 100% !important;
    max-width: 100% !important;
  }

  #section-carousel .swiper-button-prev {
    transform: translateY(193%)
  }

  #section-carousel .swiper-pagination {
    z-index: 3;
    display: none !important
  }

}