.carousel {
  margin-bottom: 4rem;
}

.carousel_image {
  max-height: 600px;
}

.carousel_image figure {
  margin: 0;
}

.carousel_image img {
  width: 100%;
  height: auto;
}

/* On phones the 3:1 banner is only ~130px high: put the caption below it */
@media (max-width: 767.98px) {
  .carousel {
    margin-bottom: 2rem;
  }

  .carousel .carousel-caption {
    position: static;
    margin: 0.5rem auto 0;
    padding: 0.5rem 1rem;
    font-size: var(--font-sm);
  }

  .carousel-indicators {
    display: none;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 36px;
    height: 36px;
  }
}

.promo_text {
  margin-top: 0.5rem;
}

/* Buttons line up at the bottom however long the promo texts are */
.featured .col-lg-4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

.featured .col-lg-4 .promo_text {
  flex-grow: 1;
}

.featured_image {
  max-width: 140px;
  margin: auto;
}

.featured .col-lg-4 {
  text-align: center;
}

.featured .col-lg-4 p {
  margin-right: 0.75rem;
  margin-left: 0.75rem;
}

.home-divider {
  margin: 5rem 0;
}

.main-divider {
  margin: 2rem 0;
}

.border-orange {
  --bs-border-opacity: 1;
  border-color: rgba(var(--orange), var(--bs-border-opacity)) !important;
}

.latest_posts-heading {
  letter-spacing: -0.05rem;
  word-wrap: break-word;
}

@media (min-width: 40em) {
  .latest_posts-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .latest_posts-heading {
    margin-top: 7rem;
  }
}

.carousel-control-prev-icon {
  width: 64px;
  height: 64px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  width: 64px;
  height: 64px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}
