.home-hero-carousel {
  position: relative;
  background: #223;
  isolation: isolate;
}
.home-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.65s ease,
    visibility 0.65s ease;
}
.home-hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.home-hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.home-hero-slide:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(38, 27, 33, 0.72) 0,
    rgba(38, 27, 33, 0.4) 40%,
    rgba(38, 27, 33, 0.08) 70%,
    transparent 84%
  );
}
.home-hero-slide .portal-hero-panel {
  z-index: 2;
}
.home-hero-slide .portal-hero-panel .section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.home-hero-slide .portal-hero-panel .section-kicker::before,
.home-hero-slide .portal-hero-panel .section-kicker::after {
  content: "";
  display: block;
  flex: 0 0 28px;
  width: 28px;
  height: 2px;
  margin: 0;
  background: #76c3cf;
}
.home-hero-slide .portal-hero-panel > a {
  display: inline-flex;
  margin-top: 2px;
  border-left: 4px solid #76c3cf;
  background: rgba(255, 255, 255, 0.96) !important;
  color: #087f82 !important;
  min-height: 52px;
  padding: 0 23px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(24, 31, 32, 0.22);
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.home-hero-slide .portal-hero-panel > a:hover {
  background: #fff !important;
  color: #056f71 !important;
  transform: translateY(-2px);
  box-shadow: 0 11px 27px rgba(20, 28, 29, 0.3);
}
.home-hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(24, 38, 40, 0.32);
  color: #fff;
  font-size: 0;
  line-height: 1;
}
.home-hero-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.home-hero-arrow.prev::before {
  transform: translate(-38%, -50%) rotate(-135deg);
}
.home-hero-arrow.next::before {
  transform: translate(-62%, -50%) rotate(45deg);
}
.home-hero-arrow:hover {
  background: #078d8f;
}
.home-hero-arrow.prev {
  left: 24px;
}
.home-hero-arrow.next {
  right: 24px;
}
.home-hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.home-hero-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}
.home-hero-dots button.active {
  background: #0bbbbd;
  border-color: #0bbbbd;
}
.home-hero-slide:nth-of-type(2) > img,
.home-hero-slide:nth-of-type(3) > img {
  object-position: right center;
}
@media (max-width: 650px) {
  .home-hero-slide:after {
    background: linear-gradient(
      0deg,
      rgba(38, 27, 33, 0.88),
      rgba(38, 27, 33, 0.1) 88%
    );
  }
  .home-hero-slide > img {
    object-position: 62% center;
  }
  .home-hero-slide:nth-of-type(2) > img,
  .home-hero-slide:nth-of-type(3) > img {
    object-position: 72% center;
  }
  .home-hero-arrow {
    display: none;
  }
  .home-hero-dots {
    bottom: 15px;
  }
}
