.cdd-diaporama-hero {
  position: relative;
  width: 100vw;
  min-height: 520px;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  isolation: isolate;
}

.cdd-diaporama-bg,
.cdd-diaporama-slide {
  position: absolute;
  inset: 0;
}

.cdd-diaporama-bg {
  z-index: 0;
  background: #f3f4f5;
}

.cdd-diaporama-slide {
  opacity: 0;
  transition: opacity 0.65s ease;
}

.cdd-diaporama-slide.is-active {
  opacity: 1;
}

.cdd-diaporama-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.cdd-diaporama-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: min(1140px, calc(100% - 40px));
  min-height: inherit;
  margin: 0 auto;
  padding: 48px 0;
}

.cdd-diaporama-panel {
  width: 50%;
  padding: 34px 36px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.cdd-diaporama-panel h1 {
  margin: 0 0 22px;
  color: #5ec4e0;
  font-family: "Rubik", sans-serif;
  font-size: 3.3em;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cdd-diaporama-intro {
  color: #666;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
}

.cdd-diaporama-intro p {
  margin: 0 0 1em;
}

.cdd-diaporama-intro p:last-child {
  margin-bottom: 0;
}

.cdd-diaporama-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 20px;
  padding: 0 20px;
  border-radius: 7px;
  background: #5ec4e0;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.cdd-diaporama-cta:hover,
.cdd-diaporama-cta:focus {
  background: #43b5d5;
  color: #fff;
}

@media (max-width: 780px) {
  .cdd-diaporama-hero {
    min-height: 560px;
  }

  .cdd-diaporama-inner {
    align-items: flex-end;
    width: min(1140px, calc(100% - 28px));
    padding: 32px 0;
  }

  .cdd-diaporama-panel {
    width: 100%;
    padding: 26px 24px;
  }

  .cdd-diaporama-panel h1 {
    font-size: 2.1em;
  }
}
