.hero-banner {
  position: relative;
  color: #000;
  overflow: hidden;
  height: auto;
  margin-bottom: 48px;

  @media (max-width: 1440px){
    height:auto;
    margin-bottom:0;
    min-height: auto;

  }

  @media (max-width: 1150px) {
    height: auto;
  }

  img {
    width: auto;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    margin: 0 auto;
    &.desktop {
      display: block
    }
    &.mobile {
      display: none;
      width: 100%;
      height: auto;
    }

    @media (max-width: 767px) {
      &.desktop {
        display: none;
      }
      &.mobile {
        display: block;
        min-height:425px;
      }
    }

    @media (min-width: 2100px) {
      width: 100%;
      height: auto;
    }
  }

  a.hidden-button-overlay {
    bottom: 11px;
    left: 1%;
    height: 50%;
  }

  .hero-banner-content {
    width: 100%;
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translate(-50%, 0);
    color: #fff;
    max-width: var(--base-max-width, 1280px);
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 17px;

    .container-wrapper {
      text-align: left;
    }

    .title-wrapper {
      display: flex;
      width: 100%;
      justify-content: space-between;
      align-items: flex-end;
        @media (max-width: 1024px) {
          flex-direction: column;
          margin-bottom: 20px;
        } 

      a {
        border: 1px solid #fff;
        border-radius: 66px;
        text-decoration: none;
        color: #fff;
        font-size: 1.3em;
        padding: 10px 20px;
        background: #FFFFFF4D;
        margin-bottom: 0;
      }
    }

    .title {
      margin: 0;
      color: #FFF;
      font-family: "Helvetica Neue";
      font-weight: 300;
      font-size: 6.25em;
      line-height: 110.00000000000001%;
      letter-spacing: -5px;
      @media (max-width: 1024px) {
        font-size: 4.2em;
      }

      strong {
        font-weight: 500;
      }

    }
    .divider {
      width: 100%;
      height: 1px;
      background: #fff;
      display: block;
    }

    .certification-wrapper {
      display: flex;
      gap: 30px;
      margin: 0 auto;
        div {
          display: flex;
          align-items: center;
          gap: 20px;
        img {
          max-width: 42px;
          height: auto;
        }
          span {
            font-size: 1.8em;

            @media (max-width: 1024px) {
              font-size: 1.4em;
            }
          }
      }
    }

    .content-block-title--above {
      font-family: "Helvetica Neue";
      font-weight: 300;
      font-size: 6.25em;
      line-height: 100%;
      letter-spacing: -5px;
      color: #fff;
      margin: 0 0 20px 0;

      p {
        margin: 0;
      }

      @media (max-width: 1024px) {
        font-size: 3.75em;
        letter-spacing: -3px;
      }

      @media (max-width: 767px) {
        font-size: 2.5em;
        letter-spacing: -2px;
      }
    }

    .content-block-certifications--below {
      display: flex;
      flex-direction: row;
      gap: 30px;
      width: 100%;
      margin-top: 20px;

      .certification-item {
        display: flex;
        align-items: center;
        gap: 12px;

        img {
          max-width: 42px;
          height: auto;
        }

        span {
          font-family: "Helvetica Neue";
          font-weight: 500;
          font-size: 18px;
          color: #fff;

          @media (max-width: 1024px) {
            font-size: 14px;
          }
        }
      }

      @media (max-width: 1024px) {
        flex-direction: column;
        gap: 15px;
      }
    }

    .content-block {
      display: flex;
      align-items: flex-end;
      gap: 40px;
      width: 100%;

      @media (max-width: 1024px) {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
      }

      .content-block-title {
        font-family: "Helvetica Neue";
        font-weight: 300;
        font-size: 6.25em;
        line-height: 100%;
        letter-spacing: -5px;
        color: #fff;
        margin: 0;
        flex-shrink: 0;
        position: relative;
        z-index: 2;

        p {
          margin: 0;
        }
        

        @media (max-width: 1024px) {
          width: 100%;
          font-size: 3.75em;
          letter-spacing: -3px;
        }

        @media (max-width: 767px) {
          font-size: 2.5em;
          letter-spacing: -2px;
        }
      }

      .content-block-btn {
        border: 1px solid #fff;
        border-radius: 66px;
        text-decoration: none;
        color: #fff;
        font-size: 1.3em;
        padding: 10px 20px;
        background: #FFFFFF4D;
        flex-shrink: 0;
        white-space: nowrap;

        @media (max-width: 1024px) {
          font-size: 1em;
        }
      }

      .content-block-divider {
        flex: 1;
        height: 1px;
        min-height: 1px;
        background: #fff;
        align-self: end;
        position: relative;
        margin-left: -20px;
        display: block;

        @media (max-width: 1024px) {
          width: 100%;
          margin-left: 0;
        }

        @media (max-width: 767px) {
          width: 90px;
          align-self: start;
        }
      }

      .content-block-description {
        font-family: "Helvetica Neue";
        font-weight: 500;
        font-size: 1.5em;
        line-height: 110%;
        letter-spacing: 0;
        color: #fff;
        margin: 0;
        flex-shrink: 0;

        p {
          margin: 0;
        }

        @media (max-width: 1024px) {
          font-size: 1.5em;
        }

        @media (max-width: 767px) {
          font-size: 1em;
        }
      }

      .content-block-certifications {
        display: none;

        .certification-item {
          display: flex;
          align-items: center;
          gap: 12px;

          img {
            max-width: 42px;
            height: auto;
          }

          span {
            font-family: "Helvetica Neue";
            font-weight: 500;
            font-size: 18px;
            color: #fff;

            @media (max-width: 1024px) {
              font-size: 14px;
            }
          }
        }

        &.content-block-certifications--inline {
          display: flex;
          flex-direction: column;
          gap: 10px;
          flex-shrink: 0;
        }

        &.content-block-certifications--below {
          display: flex;
          flex-direction: row;
          gap: 30px;
          width: 100%;
          margin-top: 20px;

          @media (max-width: 1024px) {
            flex-direction: column;
            gap: 15px;
          }
        }
      }
    }
  }
}

@media (max-width: 1024px) {
  .hero-banner {
    /* margin-top: -50px;
    height: 45vh;
    max-height: 45vh;
    img {
      height: 100%;
    } */

    .hero-banner-content {
      .content-wrapper {
        display: none;
      }
      .title-wrapper {
        a {
          font-size: 1em;
        }
      }
      .title {
        font-size: 4em;
      }
        .certification-wrapper {
          div {
            gap: 10px;
            span {
              font-size: 1.4em;
              text-align: left;
            }
            img {
            max-width: 24px;
          }
          }
        }
    }
  }
}

@media (max-width: 767px) {
  .hero-banner {
    .hero-banner-content {
      .title {
        width: 100%;
        min-width: 100%;
        font-size: 3.5em;
        letter-spacing: 0;
      }
    }
    .hero-banner-content {
        .certification-wrapper {
          div {
            gap: 8px;
            span {
              font-size: .7em;
            }
          }
        }
    }
  }
}