.hhh-carousel {
  --hhh-purple: #3f3c4f;
  --hhh-panel: rgba(76, 73, 92, 0.78);
  --hhh-orange: #e86b22;
  --hhh-dark: #313a43;
}

.hhh-carousel,
.hhh-carousel * {
  box-sizing: border-box;
}

.hhh-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--hhh-purple);
  font-family: Raleway, Arial, sans-serif;
  isolation: isolate;
}

.hhh-carousel__viewport {
  overflow: hidden;
}

.hhh-carousel__track {
  display: flex;
  transition: transform 700ms cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.hhh-slide {
  position: relative;
  display: grid;
  flex: 0 0 100%;
  grid-template-columns:
    max(500px, calc((100% - 1240px) / 2 + 560px))
    minmax(0, 854px)
    minmax(0, 1fr);
  grid-template-rows: minmax(0, 320px);
  min-width: 0;
  height: 320px;
  background: var(--hhh-purple);
}

.hhh-slide__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 6px;
  padding: 10px 14px 10px max(48px, calc((100vw - 1240px) / 2));
  min-height: 0;
}

.hhh-slide h2,
.hhh-slide p {
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  color: #fff;
  background: var(--hhh-panel);
  font-family: Raleway, Arial, sans-serif !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-weight: 400;
}

.hhh-slide h2 {
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 500 !important;
  line-height: 1.25 !important;
}

.hhh-slide p {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.35 !important;
}

.hhh-slide__button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  margin-top: 0;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: var(--hhh-orange);
  font-family: Raleway, Arial, sans-serif !important;
  font-size: 20px;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
  position: absolute;
  right: 28px;
  bottom: 25px;
}

.hhh-slide__button:hover,
.hhh-slide__button:focus-visible {
  background: var(--hhh-dark);
  transform: translateY(-1px);
}

.hhh-slide__media {
  grid-column: 2;
  width: 100%;
  height: 100%;
  min-height: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hhh-carousel__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  place-items: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transform: translateY(-50%);
}

.hhh-carousel__arrow:hover,
.hhh-carousel__arrow:focus-visible {
  background: #000;
}

.hhh-carousel__arrow span {
  font: 32px/1 Arial, sans-serif;
  transform: translateY(-2px);
}

.hhh-carousel__arrow--prev {
  left: max(0px, calc((100% - 1360px) / 2));
}

.hhh-carousel__arrow--next {
  right: max(0px, calc((100% - 1360px) / 2));
}

.hhh-carousel__dots {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 12px;
  display: flex;
  gap: 8px;
}

@media (min-width: 779px) {
  .hhh-carousel__dots {
    display: none;
  }
}

.hhh-carousel__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hhh-carousel__dot[aria-current="true"] {
  background: #fff;
}

.hhh-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 778px) {
  .hhh-slide {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr);
    height: clamp(300px, 60vw, 460px);
  }

  .hhh-slide__media {
    grid-area: 1 / 1;
  }

  .hhh-slide::after {
    content: "";
    z-index: 0;
    grid-area: 1 / 1;
    background: linear-gradient(90deg, rgba(63, 60, 79, .92), rgba(63, 60, 79, .48));
  }

  .hhh-slide__content {
    grid-area: 1 / 1;
    width: min(82%, 620px);
    justify-content: center;
    padding: 24px 46px;
  }

  .hhh-slide__button {
    position: static;
    align-self: flex-start;
    margin-right: 0;
  }

  .hhh-slide h2,
  .hhh-slide p {
    width: auto;
    padding: 10px 12px;
  }

  .hhh-carousel__dots {
    right: 50%;
    transform: translateX(50%);
  }
}

@media (max-width: 480px) {
  .hhh-slide {
    height: 330px;
  }

  .hhh-slide__content {
    width: 100%;
    gap: 9px;
    padding: 20px 38px;
  }

  .hhh-slide h2 {
    font-size: 20px;
  }

  .hhh-slide p {
    font-size: 15px;
  }

  .hhh-slide__button {
    min-height: 42px;
    padding: 0 17px;
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hhh-carousel__track,
  .hhh-slide__button {
    transition: none;
  }
}
