/* Responsive doctor profile block shared by the Arabic and English home pages. */
body.home .et_pb_section_4_tb_body {
  min-height: 0 !important;
  padding: clamp(64px, 7vw, 92px) 0 !important;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(191, 219, 254, 0.28), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
}

body.home .et_pb_row_3_tb_body {
  width: min(90%, 1200px) !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(200px, 0.72fr) minmax(260px, 0.9fr) minmax(360px, 1.38fr);
  grid-template-areas: "counter portrait bio";
  align-items: center !important;
  gap: clamp(28px, 3.6vw, 54px);
  direction: ltr;
}

body.home .et_pb_row_3_tb_body > .et_pb_column {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  float: none !important;
  align-self: center !important;
}

body.home .et_pb_column_7_tb_body { grid-area: counter; }
body.home .et_pb_column_8_tb_body { grid-area: portrait; align-self: end !important; }
body.home .et_pb_column_9_tb_body { grid-area: bio; }

body.home .et_pb_number_counter_0_tb_body.et_pb_number_counter {
  min-height: 210px;
  margin: 0 !important;
  padding: 32px 24px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(27, 109, 170, 0.2) !important;
  border-radius: 26px !important;
  background: rgba(240, 247, 252, 0.9) !important;
  box-shadow: 0 18px 45px rgba(15, 39, 66, 0.08);
  overflow: hidden;
}

body.home .et_pb_number_counter_0_tb_body .percent {
  height: auto !important;
  min-height: 0 !important;
  margin: 0 0 12px !important;
}

body.home .et_pb_number_counter_0_tb_body.et_pb_number_counter .percent p {
  font-size: clamp(48px, 5vw, 66px) !important;
  line-height: 1 !important;
}

body.home .et_pb_number_counter_0_tb_body.et_pb_number_counter h3 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: clamp(16px, 1.45vw, 19px) !important;
  line-height: 1.5 !important;
  text-align: center !important;
}

body.home .et_pb_image_1_tb_body {
  width: 100% !important;
  margin: 0 !important;
  text-align: center !important;
}

body.home .et_pb_image_1_tb_body .et_pb_image_wrap {
  display: block;
  width: 100%;
}

body.home .et_pb_image_1_tb_body .et_pb_image_wrap img {
  display: block;
  width: min(100%, 340px) !important;
  height: auto !important;
  max-height: 540px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center bottom;
}

body.home .about-dr {
  width: 100%;
  margin: 0 !important;
  padding: clamp(28px, 3vw, 42px) !important;
  border: 1px solid rgba(27, 109, 170, 0.14);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 60px rgba(15, 39, 66, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.home .about-dr .df_ab_blurb_container,
body.home .about-dr .df_ab_blurb_content_container {
  display: flex !important;
  width: 100% !important;
  max-width: 100% !important;
  flex-direction: column !important;
}

body.home .about-dr .df_ab_blurb_image {
  order: 1 !important;
  margin: 0 0 16px !important;
}

html[dir="ltr"] body.home .about-dr .df_ab_blurb_image { display: none !important; }

body.home .about-dr .df_ab_blurb_image_img {
  display: block;
  width: auto;
  max-width: min(100%, 210px) !important;
  max-height: 42px;
  object-fit: contain;
}

body.home .about-dr .df_ab_blurb_title {
  order: 2 !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  font-size: clamp(30px, 3vw, 44px) !important;
  line-height: 1.2 !important;
  color: #1b6daa !important;
}

body.home .about-dr .df_ab_blurb_sub_title {
  order: 3 !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  font-size: clamp(17px, 1.6vw, 22px) !important;
  line-height: 1.45 !important;
  color: #153b5c !important;
}

body.home .about-dr .df_ab_blurb_description {
  order: 4 !important;
  margin: 0 !important;
  font-size: clamp(14.5px, 1.2vw, 16px) !important;
  line-height: 1.78 !important;
  color: #334155 !important;
}

body.home .about-dr .df_ab_blurb_description p { margin: 0 0 12px; }

body.home .about-dr .df_ab_blurb_description ul {
  margin: 14px 0 0 !important;
  padding: 0 !important;
  display: grid;
  gap: 7px;
  list-style-position: inside !important;
}

body.home .about-dr .df_ab_blurb_button_wrapper {
  order: 5 !important;
  margin-top: 22px;
}

body.home .about-dr .df_ab_blurb_button {
  margin: 0 !important;
  padding: 12px 24px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  font-size: 15px !important;
  line-height: 1.35 !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 24px rgba(27, 109, 170, 0.2);
}

html[dir="ltr"] body.home .about-dr .df_ab_blurb_content_container,
html[dir="ltr"] body.home .about-dr .df_ab_blurb_title,
html[dir="ltr"] body.home .about-dr .df_ab_blurb_sub_title,
html[dir="ltr"] body.home .about-dr .df_ab_blurb_description,
html[dir="ltr"] body.home .about-dr .df_ab_blurb_button_wrapper {
  direction: ltr;
  text-align: left !important;
}

html[dir="rtl"] body.home .about-dr .df_ab_blurb_content_container,
html[dir="rtl"] body.home .about-dr .df_ab_blurb_title,
html[dir="rtl"] body.home .about-dr .df_ab_blurb_sub_title,
html[dir="rtl"] body.home .about-dr .df_ab_blurb_description,
html[dir="rtl"] body.home .about-dr .df_ab_blurb_button_wrapper,
html[dir="rtl"] body.home .about-dr .df_ab_blurb_image {
  direction: rtl;
  text-align: right !important;
}

html[dir="rtl"] body.home .about-dr .df_ab_blurb_image_img {
  margin-right: 0;
  margin-left: auto;
}

@media (max-width: 1100px) {
  body.home .et_pb_row_3_tb_body {
    grid-template-columns: minmax(230px, 0.82fr) minmax(0, 1.18fr);
    grid-template-areas:
      "portrait bio"
      "counter bio";
  }

  body.home .et_pb_number_counter_0_tb_body.et_pb_number_counter { min-height: 170px; }
}

@media (max-width: 700px) {
  body.home .et_pb_section_4_tb_body { padding: 52px 0 46px !important; }

  body.home .et_pb_row_3_tb_body {
    width: min(90%, 560px) !important;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "bio"
      "portrait"
      "counter";
    gap: 26px;
  }

  body.home .about-dr {
    padding: 26px 22px !important;
    border-radius: 24px;
  }

  body.home .about-dr .df_ab_blurb_title { font-size: clamp(29px, 9vw, 38px) !important; }
  body.home .about-dr .df_ab_blurb_sub_title { font-size: 17px !important; }
  body.home .about-dr .df_ab_blurb_description { font-size: 15px !important; }
  body.home .et_pb_image_1_tb_body .et_pb_image_wrap img { width: min(78vw, 310px) !important; }
  body.home .et_pb_number_counter_0_tb_body.et_pb_number_counter { min-height: 160px; }
}
