/* =========================================================
   INFO CONTENT SECTION
   "Find out if JAKAFI or JAKAFI XR could be right for you..."
   ========================================================= */
.info-content__section {
  width: 100%;
}

.info-content__title {
  font-family: "Barlow-Regular", Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: #492f92;
}

.info-content__split {
  display: flex;
  flex-wrap: wrap;
}

.info-content__split--intro {
  flex-direction: column;
}

.info-content__copy {
  width: 100%;
}

.info-content__copy p {
  font-family: "Barlow-Regular", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: #444444;
  margin: 0;
}

/* =========================================================
   PATIENT TAKING JAKAFI COMPONENT
   "Hear from a real patient taking JAKAFI!"
   ========================================================= */
.patient-taking-jakafi {
  display: grid;
  grid-template-columns: 1fr 504px;
  column-gap: 112px;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 30px;
  background-color: #ffffff;
  border: 2px solid rgba(73, 47, 146, 0.59);
  border-radius: 0 30px 0 0;
  box-shadow: 0 0 5.4px rgba(73, 47, 146, 0.47);
}

.patient-taking-jakafi h2 {
  grid-column: 1;
  grid-row: 1;
  font-family: "Barlow-Bold", sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  color: #492f92;
  margin: 0 0 16px;
}

.patient-taking-jakafi p {
  grid-column: 1;
  font-family: "Barlow-Regular", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: #444444;
  margin: 0 0 28px;
}

.patient-taking-jakafi p:nth-of-type(1) {
  grid-row: 2;
}

.patient-taking-jakafi p:nth-of-type(2) {
  grid-row: 3;
  margin-bottom: 0;
}

.patient-taking-jakafi p a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 16px 13px;
  background-color: #492f92;
  color: #ffffff;
  font-family: "Barlow-Bold", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: normal;
  text-decoration: none;
  border-radius: 35px;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.patient-taking-jakafi p a::after {
    content: '';
    display: inline-block;
    width: 6.929px;
    height: 8.795px;
    background-image: url('../images/icons/cta-arrow-right.svg');
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 4px;
}

.patient-taking-jakafi p a:hover,
.patient-taking-jakafi p a:focus {
  background-color: #3a2473;
}

.patient-taking-jakafi p a:focus-visible {
  outline: 2px solid #492f92;
  outline-offset: 2px;
}

.patient-taking-jakafi p a:active {
  background-color: #2d1b59;
}

.patient-taking-jakafi > img {
  grid-column: 2;
  grid-row: 1 / span 3;
  width: 504px;
  max-width: 504px;
  aspect-ratio: 504 / 270;
  height: auto;
  object-fit: cover;
  border-radius: 0 30px 0 0;
  align-self: center;
  justify-self: end;
}
@media (min-width: 1179px) {
.page-node-76 .patient-taking-jakafi {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 504px;
    grid-template-rows: auto auto auto;
    column-gap: 112px;
    align-items: center;
}

/* Text block spans the same rows as the image */
.page-node-76 .patient-taking-jakafi .inner-body-box {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: stretch;

    display: flex;
    flex-direction: column;
    justify-content: center;
}
.pv-faq-page .pv-faq-accordion__panel ul li::marker {
    color: #92278F;
    font-size: 0.8em;
}

}
/* Tablet / small desktop */
@media (max-width: 1179.98px) {
  
  .patient-taking-jakafi {
    column-gap: 48px;
    padding: 24px;
  }

  .patient-taking-jakafi > img {
    width: 100%;
    max-width: 320px;
  }
}

/* Mobile: single column, natural DOM order (title, description, CTA, image) */
@media (max-width: 767.98px) {
  .patient-taking-jakafi {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .patient-taking-jakafi h2,
  .patient-taking-jakafi p,
  .patient-taking-jakafi > img {
    grid-column: 1;
    grid-row: auto;
  }

  .patient-taking-jakafi h2 {
    margin-bottom: 12px;
  }

  .patient-taking-jakafi p {
    margin-bottom: 0;
  }

  .patient-taking-jakafi p:nth-of-type(1) {
    margin-bottom: 16px;
  }

  .patient-taking-jakafi p:nth-of-type(2) {
    margin-bottom: 20px;
  }

  .patient-taking-jakafi p a {
    width: 100%;
    justify-content: center;
   
  }
  .is-jakafi-right-for-me-page .patient-taking-jakafi p a {
    
    justify-content: flex-start;
  }

  .patient-taking-jakafi > img {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
  }
}
