﻿.Home-Index {
  background-color: #fff;
}

@media (min-width: 1900px) {
  .Home-Index .container {
    width: 100%;
  }
}

  .Home-Index .ul-button:not(.-ignoreCase), .Home-Index .hero .hero__header {
    text-transform: lowercase;
  }

    .Home-Index .ul-button::first-letter, .Home-Index .hero .hero__header::first-letter {
      text-transform: uppercase;
    }

  .Home-Index #outer-wrapper {
    margin-top: -20px;
  }

  .Home-Index #page {
    padding-left: 0;
    padding-right: 0;
  }

  .Home-Index .hero {
    background-color: #f5f5f5 !important;
    display: grid;
    grid-template-areas:
      "source hero-image"
      "market hero-image";
    grid-template-columns: 1fr minmax(681px, 45%);
    padding-left: 2rem;
  }

    .Home-Index .hero::after {
      background: url("/Content/images/home/homepage-main.webp") no-repeat left -20px / auto 120%;
      content: '';
      display: block;
      grid-area: hero-image;
      min-width: 681px;
    }

    .Home-Index .hero p {
      font-size: 1.2857142857rem;
      line-height: 2rem;
    }

    .Home-Index .hero .hero__market, .Home-Index .hero .hero__source {
      justify-self: end;
      max-width: 800px;
    }

    .Home-Index .hero .hero__header {
      font-size: 2.285rem;
      font-weight: 500;
    }

    .Home-Index .hero .hero__source {
      grid-area: source;
      padding-bottom: 2rem;
      padding-top: 4rem;
    }

    .Home-Index .hero .hero__market {
      grid-area: market;
      padding-bottom: 4rem;
      padding-right: 4rem;
      text-align: right;
    }

#hero-select-industry {
  background: #fff;
  border-radius: 4px;
  box-shadow: 2px 2px 1rem rgba(0,0,0,.15);
  line-height: 2.25;
  margin-top: .25rem;
  padding: .5rem 1rem 2rem;
  position: absolute;
}

.Home-Index .homepage-main-content {
  margin: 5rem auto;
  max-width: 1600px;
  padding: 0 2rem;
}


@media (max-width: 1199px) {
  .Home-Index .hero {
    grid-template-columns: 50% minmax(450px, 50%);
  }

    .Home-Index .hero::after {
      min-width: 450px;
    }
}

@media (min-width: 768px) {
  .Home-Index .hero .hero__source p {
    min-width: calc(100% + 3rem);
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .Home-Index .hero {
    grid-template-columns: 1fr 800px;
  }

    .Home-Index .hero::after {
      background: url("/Content/images/home/homepage-main.webp") no-repeat left 160% / auto 80%;
    }

    .Home-Index .hero .hero__source {
      padding-top: 2rem;
    }

    .Home-Index .hero .hero__source p {
      min-width: calc(100% + 9rem);
    }

    .Home-Index .hero .hero__header {
      white-space: nowrap;
    }
}

#industry-list {
  align-items: stretch;
  gap: 1rem;
  justify-content: center;
  margin: auto;
  max-width: 1195px;
}

  #industry-list li {
    background-color: #f5f5f5;
    border-radius: 6px;
    width: 225px;
  }

    #industry-list li:hover {
      background-color: rgba(2, 104, 154, 0.06666666666666667);
    }

    #industry-list li a {
      align-items: center;
      color: #000;
      display: flex;
      flex-direction: column;
      height: 100%;
      justify-content: flex-start;
      min-height: 130px;
      padding: 1rem;
      text-align: center;
      text-decoration: none;
      width: 100%;
    }

    #industry-list li img {
      height: 3.4285714286rem;
      margin-bottom: 1rem;
    }

.Home-Index .formulator-wrap, .Home-Index .premium-wrap, .Home-Index .business-wrap {
  align-items: stretch;
  column-gap: 2rem;
  display: flex;
  flex-wrap: wrap;
  font-size: 1.1428571429rem;
  line-height: 1.625;
  margin: 4rem auto 1rem;
  max-width: 1600px;
  padding: 1rem 2rem;
  row-gap: 2rem;
}

.Home-Index .formulator-wrap {
  align-items: flex-start;
  margin-top: 6rem;
}

  .Home-Index .formulator-wrap > img, .Home-Index .business-wrap > img {
    flex: 1 1 auto;
    height: auto;
    margin: 0 auto;
    max-width: 37.5%;
    min-width: 300px;
  }

  .Home-Index .formulator-wrap > .formulator-wrap__content {
    flex: 1 1 0;
  }

.Home-Index .premium-wrap .premium-wrap__content img {
  display: block;
  height: 160px;
  margin: 2.5rem auto .5rem;
  width: auto;
}

@media(min-width: 992px) {
  .Home-Index .premium-wrap .premium-wrap__content img.data-viz {
    scale: .95;
  }
}

.Home-Index .premium-wrap .premium-wrap__content .inner {
  column-gap: 2rem;
}

  .Home-Index .premium-wrap .premium-wrap__content .inner li {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    row-gap: 1rem;
  }

@supports not (grid-template-columns: subgrid) {
  .Home-Index .premium-wrap .premium-wrap__content .inner li p {
    margin-top: auto;
  }
}

.Home-Index .business-wrap {
  background: #FAF8F5;
  padding-bottom: 3rem;
  padding-top: 3rem;
}

  .Home-Index .business-wrap .business-wrap__content {
    align-self: center;
    flex: 1;
    max-width: 1000px;
  }

  .Home-Index .business-wrap img {
    max-width: 450px;
  }

  .Home-Index .business-wrap .business-wrap__content .flex-col {
    align-items: flex-start;
  }

@media (max-width: 767px) {
  .Home-Index .hero {
    background: url("/Content/images/home/homepage-main.webp") no-repeat center 4rem / auto 50vw;
    display: flex;
    flex-direction: column;
    padding: 50vw 2rem 2rem;
  }

    .Home-Index .hero::after {
      display: none;
    }

    .Home-Index .hero .hero__market {
      padding-right: 0;
    }

  #hero-select-industry {
    width: calc(100% - 4rem);
  }

  .Home-Index .business-wrap img {
    max-width: 100%;
  }
}

@supports (grid-template-columns: subgrid) {
  /* safe to enhance to */
  @media (min-width: 768px) {
    .premium-wrap .premium-wrap__content .inner {
      display: grid;
      gap: 2rem;
      grid-template-columns: repeat(3, 1fr);
    }

      .premium-wrap .premium-wrap__content .inner li {
        display: grid !important;
        grid-template-rows: subgrid;
        grid-row: auto / span 3;
        gap: 1rem;
      }
  }
}
