.doctor-page {
  background: #ffffff;
  padding: 80px 0px 0px 0px;
  font-family: 'Figtree', sans-serif; /* 👈 ADD THIS */
}

.doctor-container {
  width: 100%;
  padding: 0 80px;   /* 👈 THIS is the correct way */
  margin-top: 50px;
  margin-bottom: 75px;
  box-sizing: border-box;  /* 👈 IMPORTANT */
}

.doctor-image-wrapper {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
}

.doctor-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.doctor-name {
  font-size: 36px;
  font-weight: 600;
  color: #056663;
  font-family: 'Figtree', sans-serif;
  text-align: left;
  padding-top: 75px;
  padding-bottom: 0px;
  line-height: 130%;
  margin-top: 0px;
  margin-bottom: 0px;
}

.doctor-degree {
  text-align: left;
  padding-top: 20px;
  font-size: 32px;
  line-height: 130%;
  font-weight: 500;
  color: #000000;
}

.doctor-experience {
  text-align: left;
  padding-bottom: 75px;
  font-size: 32px;
  line-height: 130%;
  font-weight: 500;
  color: #000000;
}

/* .doctor-description {
  text-align: left;
  font-size: 24px;
  line-height: 50px;
  color: #000000;
  font-weight: 400;
  padding-top: 50px;
  padding-bottom: 0px;
  margin-bottom: 0px;
} */

/* RESET EVERYTHING INSIDE RICH TEXT */
.doctor-rich-text p,
.doctor-rich-text h1,
.doctor-rich-text h2,
.doctor-rich-text h3 {
  all: unset;
  display: block;
}

.doctor-rich-text h1 {
  font-size: 28px;
  font-weight: 400;
  line-height: 50px;
  margin-bottom: 0px;
  color: #000000;
  font-family: 'Figtree', sans-serif;

}

.doctor-rich-text h2 {
  font-size: 26px;
  font-weight: 400;
  line-height: 50px;
  margin-bottom: 0px;
  color: #000000;
  font-family: 'Figtree', sans-serif;
}

.doctor-rich-text h3 {
  font-size: 24px;
  font-weight: 400;
  line-height: 50px;
  margin-bottom: 0px;
  color: #000000;
  font-family: 'Figtree', sans-serif;
}

.doctor-rich-text p {
  font-size: 22px;
  font-weight: 400;
  line-height: 50px;
  margin-bottom: 0px;
  color: #000000;
  font-family: 'Figtree', sans-serif;
}

/* .doctor-rich-text ul {
  list-style-type: disc;
  font-size: 22px;
  font-weight: 400;
  line-height: 40px;
  margin-bottom: 0px;
  color: #000000;
  font-family: 'Figtree', sans-serif;
}

.doctor-rich-text ol {
  list-style-type: decimal;
  font-size: 22px;
  font-weight: 400;
  line-height: 40px;
  margin-bottom: 0px;
  color: #000000;
  font-family: 'Figtree', sans-serif;
  
}

.doctor-rich-text li {
  list-style-type: decimal;
  font-size: 22px;
  font-weight: 400;
  line-height: 40px;
  margin-bottom: 0px;
  color: #000000;
  font-family: 'Figtree', sans-serif;
} */

 /* spacing only between paragraphs */
/* .doctor-rich-text p + p {
  margin-top: 12px;
} */

.doctor-rich-text ul {
  list-style-type: disc;
  font-size: 22px;
  font-weight: 400;
  line-height: 50px;
  margin-bottom: 0px;
  color: #000000;
  font-family: 'Figtree', sans-serif;
}

.doctor-rich-text ol {
  list-style-type: decimal;
  font-size: 22px;
  font-weight: 400;
  line-height: 50px;
  margin-bottom: 0px;
  color: #000000;
  font-family: 'Figtree', sans-serif;}

.doctor-rich-text li {
  font-size: 22px;
  font-weight: 400;
  line-height: 50px;
  margin-bottom: 0px;
  color: #000000;
  font-family: 'Figtree', sans-serif;  display: list-item;   /* 👈 VERY IMPORTANT */
}

.doctor-top-section {
  display: flex;
  align-items: center;   /* vertical align */
  gap: 50px;             /* space between image & text */
  padding-bottom: 20px;
}

.doctor-info {
  display: flex;
  flex-direction: column;
}


/* ================= MOBILE VIEW ================= */
@media (max-width: 768px) {

  .doctor-page {
    padding: 0px 0px 0px 0px;
  }

  .doctor-container {
    width: 100%;
    padding: 0 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    box-sizing: border-box;
  }

  .doctor-image-wrapper {
    width: 140px;
    height: 140px;
    margin-bottom: 20px;
  }

  .doctor-name {
      font-size: 24px;
      font-weight: 600;
      line-height: 130%;
      margin-top: 12px;
      color: #056663;
      font-family: 'Figtree', sans-serif;
      padding-top: 0px;
  }

  .doctor-degree {
    font-size: 22px;
    font-weight: 500;
    line-height: 130%;
    color: #000000;
    font-family: 'Figtree', sans-serif;
    padding-top: 10px;
  }

  .doctor-experience {
    font-size: 22px;
    font-weight: 500;
    line-height: 130%;
    color: #000000;
    font-family: 'Figtree', sans-serif;
    padding-bottom: 30px;
  }

  .doctor-rich-text h1 {
    font-size: 22px;
    font-weight: 400;
    line-height: 34px;
    margin-bottom: 0px;
    color: #000000;
    font-family: 'Figtree', sans-serif;
  }

  .doctor-rich-text h2 {
    font-size: 20px;
    font-weight: 400;
    line-height: 34px;
    margin-bottom: 0px;
    color: #000000;
    font-family: 'Figtree', sans-serif;
  }

  .doctor-rich-text h3 {
    font-size: 18px;
    font-weight: 400;
    line-height: 34px;
    margin-bottom: 0px;
    color: #000000;
    font-family: 'Figtree', sans-serif;
  }

  .doctor-rich-text p {
    font-size: 16px;
    font-weight: 400;
    line-height: 34px;
    margin-bottom: 0px;
    color: #000000;
    font-family: 'Figtree', sans-serif;
  }

  .doctor-rich-text ul,
  .doctor-rich-text ol {
    padding-left: 18px;   /* 👈 prevent overflow */
    font-size: 16px;
    font-weight: 400;
    line-height: 34px;
    margin-bottom: 0px;
    color: #000000;
    font-family: 'Figtree', sans-serif;
  }

  .doctor-rich-text li {
    font-size: 16px;
    font-weight: 400;
    line-height: 34px;
    margin-bottom: 0px;
    color: #000000;
    font-family: 'Figtree', sans-serif;
  }

    .doctor-top-section {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 0px;
    gap: 0px;
  }

}
