#adApiContainer {
  width: 327px;
}
#adApiContainer:focus-visible {
  outline: none;
}
#adApiContainer .main-carousel:focus-visible {
  outline: none;
}
#adApiContainer .flickity-viewport {
  border-radius: 24px;
}
#adApiContainer .ad-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 24px 20px;
  border-radius: 24px;
  text-align: center;
}
#adApiContainer .ad-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: linear-gradient(0deg, rgba(29, 31, 32, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 0;
}
#adApiContainer .ad-item-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  z-index: 1;
}
#adApiContainer .ad-header {
  color: #FFF;
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%; /* 25.2px */
  margin: 0 auto 8px;
}
#adApiContainer .ad-description {
  color: #FFF;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
  margin: 0 auto 8px;
}
#adApiContainer .ad-link {
  min-width: auto;
  height: 38 px;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%; /* 19.6px */
}

.ad-carousel-wrapper {
  width: 100%;
  container: adContainer/inline-size;
}
.ad-carousel-wrapper .hide-dots {
  display: none;
}
@container adContainer (min-width: 720px) {
  .ad-carousel-wrapper:has(.hide-dots-two) .flickity-slider {
    transform: unset !important;
  }
  .ad-carousel-wrapper .carousel-cell {
    width: 50%;
    max-width: 708px;
  }
  .ad-carousel-wrapper:has(.hide-dots) .carousel-cell {
    width: 100%;
    max-width: 100%;
  }
  .ad-carousel-wrapper .hide-dots-two {
    display: none;
  }
}

.carousel-cell {
  width: 100%;
  height: 307px;
  background: #222;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-right: 24px;
  border-radius: 24px;
  min-height: 435px;
  z-index: 2;
  align-items: flex-start;
  overflow: hidden;
}
.carousel-cell:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgb(42, 42, 42) 0%, rgba(217, 217, 217, 0) 50%);
}
.carousel-cell .ad-info {
  padding: 24px 16px;
  z-index: 1;
}
@media (min-width: 744px) {
  .carousel-cell .ad-info {
    padding: 48px;
  }
}
.carousel-cell .ad-info h3 {
  margin: 0 0 10px;
}
@media (min-width: 744px) {
  .carousel-cell .ad-info h3 {
    margin: 0 0 8px;
  }
}
.carousel-cell .ad-info p {
  color: #FFFFFF;
  text-transform: none;
  margin: 0;
}
.carousel-cell .ad-info a {
  margin: 16px 0 0;
}
@media (min-width: 744px) {
  .carousel-cell {
    min-height: 609px;
  }
}

.carousel.is-fullscreen .carousel-cell {
  height: 100%;
}

.carousel-cell img {
  display: block;
  max-height: 100%;
}

.main-carousel {
  outline: none;
}
.main-carousel .flickity-viewport {
  border-radius: 24px;
}
.main-carousel .flickity-page-dots {
  position: unset;
  margin-top: 8px;
}

#adApiContainer:has(.extra-margin) {
  margin: 0 auto 54px;
}