/* Homepage navigation uses only these two Font Awesome icons. */
@font-face {
  font-family: "Font Awesome 5 Pro";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/fa-solid-900.woff2") format("woff2");
}

.index_page .fas {
  display: inline-block;
  font-family: "Font Awesome 5 Pro" !important;
  font-style: normal;
  font-variant: normal;
  font-weight: 900;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.index_page .fa-angle-down::before { content: "\f107"; }
.index_page .fa-arrow-circle-right::before { content: "\f0a9"; }

/* Match the existing Swiper settings before JavaScript initializes the slider. */
.index_page .testimonials-h2:not(.swiper-initialized) .swiper-slide {
  width: 100%;
  margin-inline-end: 24px;
}

@media (min-width: 991px) {
  .index_page .testimonials-h2:not(.swiper-initialized) .swiper-slide {
    width: calc((100% - 24px) / 2);
  }
}

/* Equal padding around each letter, without an oversized portrait frame. */
.index_page .testimonials-h2 .swiper-wrapper {
  height: auto;
  align-items: flex-start;
}

.index_page .testimonials-h2 .swiper-slide {
  height: auto;
}

.index_page .testimonials-h2 .single-testimonials-h2 {
  box-sizing: border-box;
  width: 100%;
  padding: 24px;
}

.index_page .testimonials-h2 .single-testimonials-h2 .body {
  padding: 0;
  border: 0;
}

.index_page .testimonials-h2 .body > a {
  display: block;
}

.index_page .testimonials-h2 .body > a > img {
  display: block;
  width: 100%;
  height: auto;
  /* Override the shared letter-frame rule; image dimensions reserve its space. */
  aspect-ratio: auto !important;
  object-fit: contain;
}

@media (max-width: 500px) {
  .index_page .testimonials-h2 .single-testimonials-h2 {
    padding: 16px;
  }
}

/* Keep pagination in its own row below the slides, including when dots wrap. */
.index_page .testimonials-h2 {
  /* The theme's height: 100% clips the in-flow pagination below the wrapper. */
  height: auto;
  padding-bottom: 24px;
}

.index_page .testimonials-h2 > .swiper-pagination2 {
  position: static;
  inset: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  width: 100%;
  min-height: 56px;
  margin: 24px 0 0;
}

.index_page .testimonials-h2 .swiper-pagination-bullet {
  box-sizing: border-box;
  flex: 0 0 28px;
  /* Override the theme's 15px !important size so the 12px dot remains visible. */
  width: 28px !important;
  height: 28px !important;
  margin: 0 !important;
  border: 8px solid transparent;
  border-radius: 50%;
  background-clip: padding-box;
  opacity: 1;
}

.index_page .testimonials-h2 .swiper-pagination-bullet-active {
  background-color: #1f3ec1 !important;
}

.index_page .testimonials-h2 .swiper-pagination-bullet::before,
.index_page .testimonials-h2 .swiper-pagination-bullet-active::after {
  content: none;
}

.index_page .testimonials-h2 .swiper-pagination-bullet:focus-visible {
  outline: 2px solid #0158a9;
  outline-offset: 1px;
}

.index_page img[width][height] {
  max-width: 100%;
}
