  #carousel_container .swiper-carousel {
  position: relative;
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
}
#carousel_container .swiper-carousel .swiper-slide,
#carousel_container .swiper-carousel swiper-slide {
  position: relative;
}
#carousel_container .swiper-button-prev {
  background-image: url("/wp-content/uploads/2024/03/arrow-right.webp") !important;
  transform: rotate(180deg);
  background-repeat: no-repeat !important;
  background-size: 32px 32px !important;
  background-position: center !important;
}

#carousel_container .swiper-button-prev:focus,
#carousel_container .swiper-button-next:focus {
  outline: none;
}

#carousel_container .swiper-button-next {
  background-image: url("/wp-content/uploads/2024/03/arrow-right.webp") !important;
  background-repeat: no-repeat !important;
  background-size: 32px 32px !important;
  background-position: center !important;
}

#carousel_container .swiper-button-prev,
#carousel_container .swiper-button-next {
  border: solid 1px #002f87;
  width: 80px;
  height: 80px;
  border-radius: 100px;
  padding: 16px;
  background: #ffffff;
}

#carousel_container .swiper-button-prev::after,
#carousel_container .swiper-button-next::after {
  margin-left: auto;
  margin-right: auto;
  display: none;
}
#carousel_container #app {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#carousel_container .swiper-carousel {
  padding-bottom: 32px;
  max-width: 1200px;
}

#carousel_container .swiper-carousel .swiper-slide {
  width: 520px;
  height: 380px;
  border-radius: 0;
  /* Slide background to match main background */
  background: #18212b;
  max-width: calc(100% - 48px);
}
#carousel_container .swiper-carousel .swiper-carousel-animate-opacity {
  height: 100%;
}
#carousel_container .swiper-carousel .swiper-pagination-bullets {
  bottom: 0;
}
#carousel_container .swiper-carousel img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0;
}
#carousel_container .swiper-carousel .slide-content {
  position: absolute;
  left: 0;
  width: 100%;
  bottom: 0;
  padding: 88px 16px 24px;
  box-sizing: border-box;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75));
  border-radius: 0;
}
#carousel_container .swiper-carousel .slide-content h2 {
  margin: 0;
  font-family: Montserrat;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  color: #fff;
}
#carousel_container .swiper-carousel .slide-content p {
  margin: 8px 0 0;
  opacity: 0.65;
  font-size: 14px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* Hide navigation on narrow screens */
@media (max-width: 640px) {
  #carousel_container .swiper-carousel .swiper-button-next,
  #carousel_container .swiper-carousel .swiper-button-prev {
    display: none !important;
  }
}

/* Position images so that his head isn't cut off */
#carousel_container .swiper .swiper-wrapper .swiper-slide .swiper-carousel-animate-opacity img {
	object-position: top;
}

/* Add box shadow for the active image */
#carousel_container .swiper-slide.swiper-slide-active {
	box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.1), 0px 0px 0px 1px rgba(219, 225, 233, 1);
}


/* Add box shadow for the other images */
#carousel_container .swiper-slide:not(.swiper-slide-active) {
	box-shadow: 0px 6px 12px 0px rgba(0, 0, 0, 0.1), 0px 0px 0px 1px rgba(219, 225, 233, 1);
}


/* Position the pagination bullets */
#carousel_container .swiper-horizontal>.swiper-pagination-bullets,
#carousel_container .swiper-pagination-bullets.swiper-pagination-horizontal,
#carousel_container .swiper-pagination-custom, .swiper-pagination-fraction {
	bottom: -34px;
}

/* Style the bullets */
#carousel_container .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
	background-color: rgba(233, 237, 242, 1) !important;
    opacity: 1;
}

#carousel_container .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: rgba(0, 47, 135, 1) !important;
}

/* Allow the top border on the images to show */
#carousel_container .swiper-wrapper {
    padding-top: 20px;
}

#carousel_container {
	position: relative;
	margin-bottom: 60px;
}

@media (max-width: 768px) {
    #carousel_container .swiper-button-next, #carousel_container .swiper-button-prev {
        display: block !important;
    }
}