/* Balanced Meet Doctor cards — loaded after the core homepage styles. */
.eh-about {
  background:
    radial-gradient(circle at 8% 5%, rgba(255, 173, 8, .09), transparent 25rem),
    linear-gradient(135deg, #f8faf8 0%, #f2f6f3 100%);
}

.eh-about .section-tag {
  margin-bottom: 24px;
}

.eh-about-grid {
  position: relative;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

.eh-about-grid::before {
  content: "";
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 72px;
  width: 42px;
  height: 42px;
  border: 7px solid #f4f7f4;
  border-radius: 50%;
  background: #ffad08;
  box-shadow: 0 8px 24px rgba(255, 173, 8, .28);
  transform: translateX(-50%);
  pointer-events: none;
}

.eh-biography,
.eh-credentials {
  position: relative;
  top: auto;
  align-self: stretch;
  min-width: 0;
  height: 100%;
  padding: clamp(34px, 3.2vw, 52px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(56, 92, 72, .09);
  border-radius: 30px;
  box-shadow: 0 24px 65px rgba(47, 78, 61, .09);
}

.eh-biography {
  background: rgba(255, 255, 255, .94);
}

.eh-credentials {
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(247,252,248,.98));
}

.eh-biography::before,
.eh-credentials::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #ffad08, #f5c766 58%, transparent);
}

.eh-biography::after,
.eh-credentials::after {
  position: absolute;
  right: 24px;
  top: 16px;
  color: rgba(49, 94, 76, .045);
  font: 96px/1 Georgia, serif;
  pointer-events: none;
}

.eh-biography::after { content: "01"; }
.eh-credentials::after { content: "02"; }

.eh-card-kicker {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 14px;
  color: #d98e00;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eh-about .eh-biography h2,
.eh-about .eh-credentials h3 {
  position: relative;
  z-index: 1;
  min-height: 94px;
  margin: 0 0 28px;
  color: #df9200;
  font: clamp(35px, 3.1vw, 54px)/1.08 'Libre Caslon Display', Georgia, serif;
}

.eh-about-grid p {
  color: #5f6863;
  font-size: 16px;
  line-height: 1.78;
}

.eh-credentials ul {
  flex: 1 0 auto;
  padding-top: 18px;
}

.eh-credentials li {
  padding: 11px 4px 11px 24px;
  font-size: 15px;
  line-height: 1.45;
}

.eh-social {
  margin: 25px 0 18px;
}

.eh-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(49, 94, 76, .14);
  color: #315e4c;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
}

.eh-card-link b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  background: #ffad08;
  color: #fff;
  font-size: 17px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.eh-card-link:hover b,
.eh-card-link:focus-visible b {
  transform: translate(3px, -3px);
  box-shadow: 0 8px 20px rgba(255, 173, 8, .3);
}

@media (max-width: 1000px) {
  .eh-about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .eh-about-grid::before {
    display: none;
  }

  .eh-biography,
  .eh-credentials {
    height: auto;
    position: relative;
  }

  .eh-about .eh-biography h2,
  .eh-about .eh-credentials h3 {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .eh-biography,
  .eh-credentials {
    padding: 30px 22px;
    border-radius: 22px;
  }

  .eh-about .eh-biography h2,
  .eh-about .eh-credentials h3 {
    font-size: 36px;
  }

  .eh-about-grid p,
  .eh-credentials li {
    font-size: 16px;
    text-align: left;
  }
}
