:root {
  --cbhero-text-color: #000;
  --cbhero-invert-color: #fff;
  --cbhero-main-color: #A5004C;
  --cbhero-space: 30px;
}

.cb-hero {
  padding-top: var(--cbhero-space);
}

.cb-hero-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left !important;
}

.cb-hero-heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cb-hero-eyebrow {
  font-family: "nimbus-sans-extd", "Borna", sans-serif;
  font-size: 0.85rem!important;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  color: var(--cbhero-text-color);
  text-align: left !important;
  hyphens: none;
}

.cb-hero-headline {
  font-family: "Borna", "nimbus-sans-extd", sans-serif;
  /* font-weight: 700; */
  line-height: 1.1;
  margin: 0!important;
  text-align: left !important;
}

.cb-hero-bodytext {
  font-family: "nimbus-sans-extd", "Borna", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  text-align: left !important;
}

/* .container-teaser p sets max-width + margin-inline: auto, which centers
   the RTE text block regardless of text-align - kill it here explicitly */
.cb-hero-bodytext p {
  max-width: none !important;
  margin-inline: 0 !important;
  text-align: left !important;
}

.cb-hero-btn {
  align-self: flex-start;
  margin: 0!important;
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0.6rem;
  text-align: left !important;
}

.cb-hero-eyebrow {
  margin: 0!important;
}

.cb-hero-media {
  margin-top: var(--cbhero-space);
}

@media (max-width: 991.98px) {
  .cb-hero-media {
    order: -1;
    margin-top: 0;
    margin-bottom: var(--cbhero-space);
  }
}

@media (min-width: 992px) {
  .cb-hero-media {
    margin-top: 0;
  }
}

.cb-hero-media-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #f0f0f0;
}

.cb-hero-media-inner picture,
.cb-hero-media-inner img,
.cb-hero-media-inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cb-hero-video .vjs-big-play-button {
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
}
