/*patent story-update*/

.fw-bold {
  font-weight: 700 !important;
}

#patient-story .head-text {
  font-size: 2.375rem;
  line-height: 48px;
  font-family: 'Raleway', sans-serif !important;
  color: #004D74;
}

#patient-story .pan-tumer--container>div>.container:has(.patient-landing-wrapper) {
  padding: 19px 0px 20px;
  background: transparent linear-gradient(180deg, #E9F1FC 0%, #FFFFFF 100%) 0% 0% no-repeat padding-box;
}

#patient-story .patient-landing-wrapper {
  display: flex;
  width: 100%;
  gap: 24px;
  align-items: center;
}

#patient-story .patient-landing-wrapper .green-border {
  background: transparent linear-gradient(270deg, #B2D234 0%, #E9F1FC 100%) 0% 0% no-repeat padding-box;
  height: 4px;
  width: 23.4%;
}

.green-border.second-border {
  transform: matrix(-1, 0, 0, -1, 0, 0);
}

.background-color-blue {
  background: #E9F1FC;
  display: flex;
  justify-content: center;
}

.patient-three-section {
  display: flex;
  gap: 3px;
  width: 100%;
}

.meet-text {
  font-size: 20px;
  line-height: 36px;
  font-family: 'Raleway', sans-serif !important;
  font-weight: bold;
  color: #004D74;
  text-align: center;
  /*border-bottom: 4px solid #B2D234;*/
  width: fit-content;
}

.sub-desc-patient {
  font-size: 27px;
  line-height: 32px;
  font-family: 'Raleway', sans-serif !important;
  font-weight: bold;
  color: #004D74;
  text-align: center;
  padding-top: 11px;
  padding-left: 0px;
  /*padding-right: 20px;*/
  ;
}

.footer-section p {
  font-size: 18px;
  line-height: 22px;
  font-family: 'Raleway', sans-serif !important;
  color: #ffffff;
  font-weight: bold;
  text-align: right;
  max-width: 238px;
}

.section-patient a {
  text-decoration: none;
}

.footer-section {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  background: transparent linear-gradient(0deg, #00344E 0%, #00344E00 100%) 0% 0% no-repeat padding-box;
  padding: 29px 0px 15px;
  /*transform: matrix(-1, 0, 0, -1, 0, 0);*/
  ;
}

.green-background img {
  width: 7px;
}

.green-background {
  background: #DAEA99;
  padding: 12.5px 15px;
}

.image-wrapper {
  background-image: url(/content/dam/intelligentcontent/brands/lynparza-dtc/us/en/images/lynparza-ct/patient-landing-page/desktop/nicole-img.png);
  min-height: 379px;
  display: flex;
  flex-direction: column;
  /*gap: 256px;*/
  justify-content: space-between;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  /*patent story-update*/
  ;
}

.section-patient.rachel-section .image-wrapper {
  background-image: url(/content/dam/intelligentcontent/brands/lynparza-dtc/us/en/images/lynparza-ct/patient-landing-page/desktop/rachel-img.png);
}

.section-patient.john-section .image-wrapper {
  background-image: url(/content/dam/intelligentcontent/brands/lynparza-dtc/us/en/images/lynparza-ct/patient-landing-page/desktop/john-img.jpg);
}

.section-patient {
  transition: opacity 0.3s ease;
  cursor: pointer;
  opacity: 1;
  /* default */
  width: 100%;
}

/* When hovering over the container, fade all */
.patient-three-section:hover .section-patient {
  opacity: 0.4;
}

/* When hovering on one specific div, bring it back to full opacity */
.patient-three-section .section-patient:hover {
  opacity: 1;
}

p.meet-text::after {
  content: "";
  position: relative;
  display: block;
  width: 122px;
  height: 4px;
  background-color: #B2D234;
}

@media screen and (max-width:991px) {
  .patient-three-section:hover .section-patient {
    opacity: 1;
  }

  .patient-three-section {
    flex-direction: column;
  }

  .green-border {
    display: none;
  }

  #patient-story .pan-tumer--container>div>.container:has(.patient-landing-wrapper) {
    margin-top: 12px;
    padding: 13.5px 0px 12.5px;
  }

  #patient-story .head-text {
    font-size: 27px;
    line-height: 32px;
    text-align: center;
    max-width: 315px;
    margin: 0 auto;
  }

  #patient-story .patient-landing-wrapper {
    display: block;
  }

  .background-color-blue,
  .sub-desc-patient {
    padding-top: 8.5px;
  }

  .section-patient.nicole-section .image-wrapper {
    background-image: url(/content/dam/intelligentcontent/brands/lynparza-dtc/us/en/images/lynparza-ct/patient-landing-page/mobile/nicole-img.jpg);
  }

  .image-wrapper {
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: bottom;
    background-color: #E9F1FC;
    min-height: 291px;
  }

  .section-patient.rachel-section .image-wrapper {
    background-image: url(/content/dam/intelligentcontent/brands/lynparza-dtc/us/en/images/lynparza-ct/patient-landing-page/mobile/rachel-img.png);
  }

  .sub-desc-patient {
    font-size: 24px;
    max-width: 320px;
    line-height: 27px;
    margin: 0 auto;
  }

  .meet-text {
    line-height: 40px;
  }

  .section-patient.john-section .image-wrapper {
    background-image: url(/content/dam/intelligentcontent/brands/lynparza-dtc/us/en/images/lynparza-ct/patient-landing-page/mobile/john-image.png);
  }

  .patient-three-section {

    gap: 2px;

  }

  #nicole-patient .nichole-story-section .image .real-patient {
    right: 25px;
    bottom: 20px;
  }
}

@media screen and (min-width:992px) {
  .background-color-blue {
    padding-top: 26px;
  }

  .sub-desc-patient {
    padding-top: 9px;
    max-width: 367px;
    margin: 0 auto;
    line-height: 30.7px;
    padding-left: 20px;
  }

  .footer-section {
    padding-right: 8px;
  }

  .footer-section p {
    max-width: 238px;
  }

  .image-wrapper {
    background-size: cover;
    background-color: #E9F1FC;
    background-position-y: 1.5px;
  }

  .meet-text {
    position: relative;
    top: -5px;
  }

  .patient-three-section {

    gap: 1px;
    margin-bottom: 2px;
  }
}