/* /content/dam/intelligentcontent/brands/ic-dtc-fasenra/us/en/hes/css/hes-home.css */

#hes-home #body-wrapper h1,
#hes-home #body-wrapper h2,
#hes-home #body-wrapper h3,
#hes-home #body-wrapper h4,
#hes-home #body-wrapper p,
#hes-home #body-wrapper a,
#hes-home #body-wrapper span,
#hes-home #body-wrapper ul,
#hes-home #body-wrapper ol {
  font-family: "filson-pro", sans-serif;
}

#hes-home .cmp-text {
  padding: 0;
}

/* banner section start */

#hes-home #home-banner-container {
  position: relative;
  min-height: 376px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 15px;
}

#hes-home #home-banner-container > * {
  position: relative;
  z-index: 2;
}

#hes-home #home-banner-container{
  /*content: "";*/
  /*position: absolute;*/
  inset: 0;
  z-index: 0;
  background: url(/content/dam/intelligentcontent/brands/ic-dtc-fasenra/us/en/hes/images/home/mobile/home-banner-mobile.jpg);
  background-repeat: no-repeat;
  background-position: top center;
  background-size: contain;
}

#hes-home #home-banner-container h1 {
  font-weight: 700;
  font-style: italic;
  font-size: 23px;
  line-height: 26px;
  text-align: center;
  color: #333f48;
  padding: 0 44px;
}

#hes-home #home-banner-container p {
  font-weight: 700;
  font-size: 17px;
  line-height: 21px;
  text-align: center;
  color: #333f48;
  padding: 0 20px;
}

#hes-home #home-banner-container p.small-text {
  font-weight: 425;
  font-size: 14px;
  line-height: 17px;
  color: #333f48;
  padding: 0 44px;
  margin: 25px 0 5px;
  font-style: normal;
}

/* banner section end */

/* card container section start */

#hes-home #cards-container {
  margin: 17px 0 60px;
  padding: 0 27.7px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

#hes-home #left-card,
#hes-home #middle-card,
#hes-home #right-card {
  box-shadow: 0px 0px 16px 0px #00000029;
  background: #ffffff;
  padding: 30px 20px;
  max-width: 335px;
  margin: 0 auto;
}

#hes-home #flex-container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

#hes-home #flex-container .image {
  flex: 0 0 20.6%;
}

#hes-home #flex-container .text {
  flex: 0 0 75%;
}

#hes-home #flex-container img {
  max-width: 66.53px;
}

#hes-home #middle-card #flex-container img {
  max-width: 53.54px;
}

#hes-home #right-card #flex-container img {
  max-width: 59px;
}

#hes-home #middle-card #flex-container .text {
  padding-right: 54px;
}

#hes-home #right-card #flex-container .text {
  padding-right: 45px;
}

#hes-home #right-card .purple-button {
  margin-top: 15px;
}

#hes-home #cards-container #right-card p {
  padding-top: 0;
}

#hes-home #cards-container #middle-card p {
  padding: 6px 0 14px 8px;
}

#hes-home #cards-container p {
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  padding: 10px 0 10px 8px;
  color: #333f48;
}

#hes-home .purple-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 21.8px;
  min-height: 46px;
  background: #b02576;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  line-height: 21px;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  width: 295px;
  margin-top: 30px;
}

#hes-home .text:has(.purple-button) {
  display: flex;
  justify-content: center;
  align-items: center;
}

#hes-home #cards-container p:has(.purple-button),
#hes-home #cards-container #middle-card p:has(.purple-button) {
  padding: 0;
}

#hes-home .purple-button-arrow {
  width: 10px;
  height: auto;
  display: block;
  position: relative;
  top: 2px;
}

/* card container section end */

/* footnotes section start */

#hes-home #footnotes-container {
  padding: 0 23px;
  margin: 0 0 20px;
}

#hes-home .footnotes-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  text-align: center;
  color: #000000;
  max-width: 271px;
  margin: 0 auto 50px;
}

#hes-home .footnotes-text {
  display: flex;
  font-weight: 425;
  font-size: 13px;
  line-height: 17px;
  color: #333f48;
  padding-right: 10px;
}

/* footnotes section end */

@media screen and (min-width: 992px) and (max-width: 1300px) {
  #hes-home #home-banner-container {
    padding: 0 15px;
  }
}

@media only screen and (min-width: 992px) {
  /* banner section start */

  #hes-home #home-banner-container {
    min-height: 475px;
    padding: 75px 0 0 7.5%;
    margin: 0 auto;
    justify-content: flex-start;
  }

  #hes-home #home-banner-container{
    background-image: url(/content/dam/intelligentcontent/brands/ic-dtc-fasenra/us/en/hes/images/home/desktop/home-banner.jpg);
    height: 475px;
    background-size: cover;
  }

  #hes-home #home-banner-container::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
      270deg,
      rgba(255, 255, 255, 0) 34.3%,
      rgba(80, 90, 90, 0.483175) 53.42%,
      rgba(80, 90, 90, 0.651058) 59.72%,
      rgba(80, 90, 90, 0.833284) 65.21%,
      rgba(80, 90, 90, 0.921545) 70.29%,
      #484e4e 76.6%
    );
  }

  #hes-home #home-banner-container h1 {
    font-weight: 700;
    font-size: 45px;
    line-height: 55px;
    text-align: left;
    max-width: 570px;
    color: #ffffff;
    font-style: italic;
    margin:0;
  }

  #hes-home #home-banner-container p {
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    text-align: left;
    max-width: 590px;
    color: #ffffff;
    font-style: italic;
    margin-top: 21px;
    padding:0 44px;
  }

  #hes-home #home-banner-container p.small-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    text-align: left;
    max-width: 570px;
    color: #ffffff;
    margin: 30px 0 5px;
  }

  /* banner section end */

  /* card container section start */

  #hes-home .purple-button {
    font-size: 19px;
    line-height: 44px;
    padding: 0;
    width: 378px;
  }

  #hes-home #cards-container .purple-button {
    margin-top: 22px;
  }

  #hes-home #cards-container #middle-card .purple-button {
    margin-top: 29px;
  }

  #hes-home #cards-container #right-card .purple-button {
    margin-top: 18px;
  }

  #hes-home #cards-container p:has(.purple-button) {
    height: auto;
    margin-top: 0;
  }
  

  #hes-home #flex-container {
    flex-direction: column;
    flex-wrap: initial;
  }

  #hes-home #flex-container .image,
  #hes-home #flex-container .text {
    flex: 0 0 100%;
  }

  #hes-home #cards-container {
    margin: -47px auto 56px;
    padding: 0 27.7px;
    flex-direction: row;
    max-width: 1300px;
    position: relative;
    z-index: 3;
  }

  #hes-home #cards-container p {
    font-size: 23px;
    line-height: 28px;
    text-align: center;
    padding: 0;
    height: 112px;
    margin-top: 19px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #hes-home #left-card,
  #hes-home #middle-card,
  #hes-home #right-card {
    padding: 31px 20px 25px;
    max-width: 418px;
    max-height: inherit;
    height: 340px;
  }

  #hes-home #right-card #flex-container img {
    max-width: 88px;
  }

  #hes-home #flex-container .image {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #hes-home #cards-container #middle-card p {
    padding: 0;
  }

  #hes-home #middle-card #flex-container .text,
  #hes-home #right-card #flex-container .text {
    padding-right: 0;
  }

  /* card container section end */

  /* footnotes section start */

  #hes-home #footnotes-container {
    margin: 0 auto 57px;
    max-width: 1300px;
    padding: 0;
  }

  #hes-home .footnotes-title {
    max-width: 100%;
    font-weight: 700;
    font-size: 19px;
    line-height: 100%;
    margin: 0 auto 47px;
  }

  #hes-home .footnotes-text {
    font-weight: 425;
    font-size: 15px;
    line-height: 17px;
  }

  /* footnotes section end */
}

@media screen and (max-width: 389px) {
  #hes-home .purple-button {
    width: 100%;
  }
}
