/* Keep grid and flex content within the available viewport, including enlarged text. */
.w-layout-cell,
.navigation-wrap,
.motto-wrap,
.div-block {
  min-width: 0;
}

.heading,
.heading-2,
.paragraph-bigger,
.motto-wrap > *,
.div-block > * {
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media screen and (max-width: 991px) {
  #home .quick-stack-2,
  #our-products .product-section {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .motto-wrap {
    align-items: stretch;
  }

  .motto-wrap .button {
    align-self: center;
  }

  .navigation-wrap {
    gap: 20px;
  }

  .navigation-wrap .logo-link {
    min-width: 0;
  }

  .navigation-wrap .logo-link:last-child {
    flex: 0 0 auto;
  }

  .logo-image {
    max-width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 479px) {
  .heading.h1 {
    font-size: clamp(2rem, 10vw, 3.1875rem);
    line-height: 1.15;
  }

  .heading.h2 {
    font-size: clamp(1.75rem, 8vw, 2.1875rem);
    line-height: 1.25;
  }

  .heading.h3 {
    font-size: clamp(1.5rem, 7vw, 1.75rem);
    line-height: 1.3;
  }

  .heading-2 {
    font-size: 1rem;
    line-height: 1.5;
  }

  .paragraph-bigger.cc-bigger-light {
    font-size: 1rem;
    line-height: 1.65;
  }

  .list-item, .list-item-2, .list-item-3 {
    font-size: .875rem;
    line-height: 1.6;
  }

  .button.cc-jumbo-button {
    max-width: 100%;
  }
}
