/* ===========================
   LARGE SCREENS (Desktop)
=========================== */

@media screen and (min-width: 1200px) {
  div[data-component="Hero Primary"][id="side-effects-watch"] {
    min-height: 304px !important;
    margin: 0 auto;
    max-width: 1216px;
    width: 966px;
    background-size: 100% 100%;
    padding: inherit !important;
    display: flex;
    justify-content: center;
  }

  div[data-component="Hero Primary"][id="side-effects-watch"] > div {
    max-height: 304px;
  }

  #side-effects-watch .richTexts-content {
    width: 90%;
  }

  #side-effects-watch .infographics {
    margin-bottom: 20px;
    margin-left: -175px;
  }

  #side-effects-watch .headlines-7 {
    font-size: 2rem !important;
    line-height: 2.375rem;
    margin: 0;
    padding: 0;
    font-weight: 900 !important;
    color: #1d1d1f;
  }

  #side-effects-watch span {
    font-weight: 700 !important;
    line-height: 1.5rem;
    text-align: left;
    font-size: 1rem;
  }
  #side-effects-watch img {
    width: 6.5rem !important;
    margin: 0 auto;
    margin-right: 170px;
  }

  /*Updated icons size and position in desktop view on care partners page*/
  head:has(link[rel="canonical"][href*="care-partners"])
    + body
    #side-effects-watch
    img {
    width: 64px !important;
    position: absolute;
    top: 88px;
    left: 148px;
  }

  head:has(link[rel="canonical"][href*="care-partners"])
    + body
    div[data-component-id="custom1"]
    img {
    top: 102px !important;
    left: 155px !important;
  }
}

/*Setting Description Line height on Care partners page*/
head:has(link[rel="canonical"][href*="care-partners"])
  + body
  #side-effects-watch
  .infographics
  p {
  line-height: 1.375rem;
}

/*---------------Smaller screens--------------------------------*/
@media screen and (max-width: 1199px) {
  div[data-component="Hero Primary"][id="side-effects-watch"] {
    margin: 0 auto;
    min-height: 367px !important;
    background-size: 100% 107%;
    background-position: 0 -5px;
    padding: inherit !important;
    display: flex;
    justify-content: center;
    right: 21px;
  }

  head:has(link[rel="canonical"][href*="care-partners"])
    + body
    #side-effects-watch {
    min-height: 397px !important;
    background-size: 100% 100%;
  }

  head:has(link[rel="canonical"][href*="care-partners"])
    + body
    #side-effects-watch[data-component-id="custom1"] {
    min-height: 309px !important;
    background-size: 100% 100%;
  }

  div[data-component="Hero Primary"][id="side-effects-watch"] > div {
    position: absolute;
    top: 26%;
  }

  #side-effects-watch .richTexts-content {
    position: relative;
    padding-left: 70px;
    display: inline-flex;
  }

  #side-effects-watch .infographics {
    margin: 0;
    padding-left: 53px;
    width: 90%;
    position: relative;
    bottom: 39px;
  }

  #side-effects-watch .headlines-7 {
    font-size: 1.1rem !important;
    line-height: 1.5rem;
    margin: 0 0 0px;
    padding: 0;
    font-weight: 900 !important;
  }

  #side-effects-watch span {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 700 !important;
  }
  #side-effects-watch img {
    width: 64px !important;
    position: absolute;
    left: 45px;
    top: -17px;
    margin: 0;
  }
}

/*---------------Tablet screens--------------------------------*/
@media screen and (min-width: 700px) and (max-width: 1199px) {
  div[data-component="Hero Primary"][id="side-effects-watch"] {
    min-height: 271px !important;
    width: 94%;
    left: 1px;
  }
  div[data-component="Hero Primary"][id="side-effects-watch"] > div {
    top: 33%;
    left: 5%;
  }

  #side-effects-watch .infographics {
    width: 85%;
  }
}
