/* Prevent headline and navigation collisions across the public site. */
.hero-text,
.page-hero > div:first-child,
.product-hero > div:first-child,
.key-hero > div:first-child,
.showcase-v2__copy {
  min-width: 0;
}

@media (max-width: 1180px) {
  .header nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 22px;
    flex-direction: column;
  }

  .header nav.open { display: flex; }
  .header > .button { display: none; }
  .menu { display: block; margin-left: auto; }
}

@media (max-width: 600px) {
  .page-hero > div:first-child,
  .product-hero > div:first-child,
  .key-hero > div:first-child,
  .hero-text,
  .showcase-v2__copy {
    width: 100%;
    max-width: 100%;
  }

  .page-hero h1,
  .product-hero h1,
  .key-hero h1,
  .hero-text h1,
  .showcase-v2 h1,
  .showcase-v2 h2 {
    max-width: 100%;
    margin-bottom: 20px;
    line-height: 1.04;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  .page-hero > div > p:not(.kicker),
  .product-hero > div > p:not(.kicker),
  .key-hero > div > p:not(.kicker),
  .hero-text > p:not(.kicker),
  .showcase-v2__copy > p {
    max-width: 100%;
    margin-bottom: 24px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .page-hero .actions,
  .product-hero .actions,
  .key-hero .actions,
  .hero-text .actions {
    margin: 26px 0 0;
  }
}
