/* Home (DTC / patient) page styles. Loaded on the front page via functions.php. */
.home .uich-2869f2f1 {
  min-height: auto !important;
}
.page-id-49 .overlap-banner .uich-e83de8c8 {
  padding-right: 25px;
  padding-top: 12px;
}
.home .uich-2bf0e663 {
  min-height: auto !important;
  gap: 0px !important;
}
.home-dtc-hero {
  background-image: url("/wp-content/uploads/2026/07/home-dtc-hero-2x-desktop-scaled.png") !important;
}
.home-dtc-hero p {
  max-width: 64% !important;
  padding-top: 12px;
}
.home-dtc-hero .header-banner-copy {
  gap: 0px;
}
.home .icons-container {
  gap: 90px;
}
.home .icon-container {
  gap: 0px !important;
  height: 278px;
}
.home .icon-container img {
  margin-bottom: 16px;
}
.home .icon-container h4 {
  margin-bottom: 6px;
}
.home .icon-container p {
  max-width: 338px;
}
.home .icon-container p.icon-second-p {
  max-width: 260px;
}
.home .icon-container .link-container {
  margin-top: auto;
}
.home .icon-container a {
  padding: 0px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.home .icon-container a::after {
  content: "";
  width: 15px;
  height: 9px;
  background-image: url("/wp-content/themes/nspharma-support/images/next-link.svg");
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
}
.home .icon-container a:hover {
  text-decoration: none !important;
}
.home .icon-container a:hover::after {
  background-image: url("/wp-content/themes/nspharma-support/images/next-link-hover.svg");
}

.home .overlap-banner {
  min-height: auto !important;
}
.home .overlap-flexWrapper {
  min-height: auto !important;
}
.home .video-text {
  padding-top: 12px !important;
}
.home .hero-video .gb-block-layout-column-gap-2 {
  gap: 17px !important;
}

@media (min-width: 0px) and (max-width: 768px) {
  .home .header-video-block {
    min-height: auto !important;
  }

  .home .video-text {
    padding-top: 12px !important;
    padding-bottom: 20px !important;
    padding-right: 12px !important;
  }

  .page-id-49 .overlap-banner .uich-e83de8c8 {
    font-size: 16px !important;
    line-height: 24px !important;
    margin-right: -1px;
  }

  .home-dtc-hero {
    background-image: url("/wp-content/uploads/2026/07/home-dtc-hero-2x-mb.png") !important;
    min-height: 478px !important;
    background-position: bottom;
  }
  .home-dtc-hero p {
    max-width: 100% !important;
    padding-right: 0px;
  }
  .home h2#rare-disease-communities + p {
    padding-top: 8px !important;
  }
  .home .icons-container {
    gap: 25px;
    padding-top: 15px;
    flex-direction: column;
  }
  .home .icon-container p {
    max-width: 280px;
    margin-bottom: 16px;
  }
  .medication-cards {
    padding-top: 0px !important;
  }
  .home .icon-container {
    height: auto;
  }
  .home .hero-video .gb-block-layout-column-gap-2 {
    gap: 0px !important;
  }
  .overlap-banner figure {
    top: -1.4rem !important;
    padding-bottom: 28px;
  }
  .page-id-49 .overlap-banner .overlap-flexWrapper .overlap-copyWrapper {
    padding-bottom: 47px !important;
  }
  .page-id-49 .nscb-fcta__card:nth-child(3) .nscb-fcta__btn {
    padding: 8px 24px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .home .icon-container {
    height: auto;
  }
  .home .icons-container {
    gap: 25px;
  }
  .home .icon-container p {
    margin-bottom: 16px;
  }
  .home-dtc-hero p {
    max-width: 100% !important;
  }
  .medication-cards {
    margin-left: 10px !important;
    margin-right: 10px !important;
  }
}
@media (max-width: 480px) {
  .overlap-banner .overlap-flexWrapper figure img {
    /* aspect-ratio: initial; */
  }
}

@media (min-width: 769px) and (max-width: 1280px) {
  .home-dtc-hero{
    background-position: 70% !important;
  }
  .home-dtc-hero .header-banner-copy-wrapper{
    padding-right: 50px !important;
    padding-left: 50px !important;
  }
 .header-banner-block .header-banner-copy-wrapper .header-banner-copy {
    max-width: 50% !important;
  }
}
