/* Enterprise Connectivity page-specific hero */

.df-hero {
  background:
    linear-gradient(
      90deg,
      rgba(3, 14, 27, 0.98) 0%,
      rgba(3, 14, 27, 0.91) 32%,
      rgba(3, 14, 27, 0.55) 58%,
      rgba(3, 14, 27, 0.24) 100%
    ),
    url('/assets/images/adelaide-skyline-december-2022.jpg')
      58% 42% / cover no-repeat;
}

@media (max-width: 760px) {
  .df-hero {
    background:
      linear-gradient(
        180deg,
        rgba(3, 14, 27, 0.18) 0%,
        rgba(3, 14, 27, 0.84) 48%,
        rgba(3, 14, 27, 0.99) 100%
      ),
      url('/assets/images/adelaide-skyline-december-2022.jpg')
        56% center / cover no-repeat;
  }
}

/* Position Enterprise Connectivity copy within the darker left side */
.df-hero .df-container {
  width: min(1380px, calc(100% - 72px));
}

.df-hero-copy {
  width: min(650px, 48%);
  max-width: 650px;
  margin-left: 0;
  margin-right: auto;
}

.df-hero-message h1 {
  font-size: clamp(3.8rem, 5.7vw, 6.8rem);
  line-height: 0.9;
}

.df-support {
  color: rgba(232, 242, 252, 0.9);
}

.df-micro {
  color: rgba(218, 232, 245, 0.8);
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .df-hero-copy {
    width: min(650px, 58%);
  }
}

@media (max-width: 760px) {
  .df-hero .df-container {
    width: calc(100% - 36px);
  }

  .df-hero-copy {
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .df-hero-message h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }
}

/* Final desktop positioning: place copy in the dark left region */
@media (min-width: 761px) {
  .df-hero .df-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 70px;
  }

  .df-hero-copy {
    width: 620px;
    max-width: calc(48vw - 70px);
    margin: 0;
    padding: 0;
    transform: none;
  }

  .df-hero-message h1 {
    font-size: clamp(3.6rem, 5.2vw, 6.3rem);
  }
}

/* Preserve more of the Adelaide skyline and crop foreground instead */
@media (min-width: 761px) {
  .df-hero {
    background-position: 58% 24%;
  }
}
