/**
 * Olayemi Hospital — compact editorial About Us layout.
 *
 * The original founder photograph is preserved in full (no crop). A smaller
 * portrait, clear medical-director caption and credentials block give a more
 * balanced hierarchy beside the hospital story and care highlights.
 */

.page-home-v2 #about {
  --about-accent: #1977cc;
}

.page-home-v2 #about .about-editorial-row {
  align-items: flex-start !important;
  margin-top: 18px;
}

.page-home-v2 #about .about-story-col {
  min-width: 0;
}

.page-home-v2 #about .about-heading {
  font-size: clamp(25px, 2.7vw, 36px);
  letter-spacing: -0.035em;
  line-height: 1.23;
  max-width: 670px;
  margin-bottom: 15px;
}

.page-home-v2 #about .about-lead {
  max-width: 720px;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.75;
  margin-bottom: 25px;
}

.page-home-v2 #about .about-story-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(25, 119, 204, 0.09);
  color: #1760a1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.page-home-v2 #about .about-story-kicker i {
  font-size: 14px;
}

.page-home-v2 #about .about-card {
  padding: 16px;
  min-height: 98px;
  border-radius: 16px;
  border: none !important;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 26px rgba(23, 54, 94, 0.055);
}

.page-home-v2 #about .about-panel {
  padding: clamp(18px, 2vw, 25px);
  border: none !important;
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(23, 54, 94, 0.055);
}

.page-home-v2 #about .about-founder-col {
  min-width: 0;
}

.page-home-v2 #about .about-portrait-panel {
  width: 100%;
  max-width: 375px;
  margin-inline: auto;
  padding: 22px 20px 23px;
  border: none !important;
  border-radius: 26px;
  background: linear-gradient(155deg, rgba(237, 246, 255, 0.96), rgba(255, 255, 255, 0.98));
  box-shadow: 0 20px 54px rgba(13, 41, 76, 0.095);
  text-align: center;
}

.page-home-v2 #about .about-portrait-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #1870b6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.095em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-home-v2 #about .about-portrait-label i {
  font-size: 15px;
}

.page-home-v2 #about .about-portrait-panel picture {
  display: block;
  width: 100%;
  text-align: center;
}

.page-home-v2 #about .about-portrait-panel .about-photo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 370px;
  object-fit: contain;
  border-radius: 17px;
  box-shadow: 0 12px 27px rgba(12, 29, 54, 0.10);
  margin-inline: auto;
}

.page-home-v2 #about .about-portrait-panel .about-caption {
  margin: 16px 0 0;
}

.page-home-v2 #about .about-portrait-panel .about-caption-title {
  font-size: 17px;
  line-height: 1.35;
}

.page-home-v2 #about .about-portrait-panel .about-caption-sub {
  font-size: 13px;
  line-height: 1.5;
}

.page-home-v2 #about .about-portrait-panel .about-credentials {
  margin-top: 18px !important;
  padding-top: 15px;
  text-align: left;
  border-top: 1px solid rgba(25, 119, 204, 0.11);
}

.page-home-v2 #about .about-portrait-panel .about-credentials-title {
  font-size: 13px;
  margin-bottom: 8px;
}

.page-home-v2 #about .about-portrait-panel .about-credentials-text {
  font-size: 12px;
  line-height: 1.7;
  opacity: 0.9;
}

/* Give the founder card room to breathe without dominating large screens. */
@media (min-width: 1200px) {
  .page-home-v2 #about .about-portrait-panel {
    max-width: 360px;
    position: sticky;
    top: 105px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .page-home-v2 #about .about-editorial-row {
    --bs-gutter-x: 24px;
  }

  .page-home-v2 #about .about-portrait-panel {
    max-width: 330px;
    padding: 19px 17px 21px;
  }

  .page-home-v2 #about .about-portrait-panel .about-photo {
    max-height: 325px;
  }
}

@media (max-width: 991.98px) {
  .page-home-v2 #about .about-portrait-panel {
    max-width: 340px;
    padding: 20px;
  }

  .page-home-v2 #about .about-portrait-panel .about-photo {
    max-height: 335px;
  }

  .page-home-v2 #about .about-editorial-row {
    row-gap: 28px;
  }
}

@media (max-width: 575.98px) {
  .page-home-v2 #about .about-portrait-panel {
    max-width: 300px;
    padding: 18px 18px 20px;
    border-radius: 20px;
  }

  .page-home-v2 #about .about-portrait-panel .about-photo {
    max-height: 275px;
    border-radius: 13px;
  }

  .page-home-v2 #about .about-portrait-panel .about-credentials-text {
    font-size: 11.5px;
  }

  .page-home-v2 #about .about-card {
    min-height: 0;
    padding: 13px;
  }

  .page-home-v2 #about .about-heading {
    font-size: 24px;
  }
}

/* Ensure light and dark themes both have readable founder credentials. */
[data-theme="dark"] .page-home-v2 #about .about-portrait-panel {
  background: linear-gradient(155deg, #1c2c41, #192337);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.18);
}

[data-theme="dark"] .page-home-v2 #about .about-portrait-label {
  color: #93c5fd;
}

[data-theme="dark"] .page-home-v2 #about .about-story-kicker {
  color: #93c5fd;
  background: rgba(59, 130, 246, .17);
}
