/* Photo layouts for the introduction page. */
.about-photos {
  font-family: 'Be Vietnam Pro', sans-serif;
}
.about-photos main { overflow-wrap: break-word; }
.about-photos main h2 {
  font-size: 48px;
  line-height: 1.14;
  max-width: 1000px;
  margin: 0 auto 36px;
}
.about-photos main h3 { font-size: 28px; line-height: 1.2; }
.about-photos .about-hero {
  position: relative;
  isolation: isolate;
  padding: 64px 0;
  background: var(--bg-alt);
}
.about-photos .about-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}
.about-photos .about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,248,240,.98) 0%, rgba(255,248,240,.94) 36%, rgba(255,248,240,.72) 52%, rgba(255,248,240,0) 78%);
  z-index: -1;
}
.about-photos .about-hero-copy { max-width: 680px; }
.about-photos .about-hero h1 {
  font-size: 64px;
  line-height: 1.08;
  margin: 0 0 28px;
}
.about-photos .about-hero h1 span { display: block; }
.about-photos .about-hero h1 .about-hero-label {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 22px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.about-photos .about-hero .lead,
.about-photos .about-hero .desc { max-width: 570px; color: var(--text); }
.about-photos .about-photo { margin: 0; min-width: 0; }
.about-photos .about-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
}
.about-photos .about-photo figcaption {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.about-photos .about-values-layout,
.about-photos .about-process-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  gap: 48px;
}
.about-photos .about-values-layout .grid-3 { grid-template-columns: 1fr; gap: 0; }
.about-photos .about-values-layout .card {
  display: grid;
  grid-template-columns: 44px minmax(0,1fr);
  column-gap: 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 22px 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.about-photos .about-values-layout .card:first-child { padding-top: 0; }
.about-photos .about-values-layout .card:last-child { border-bottom: 0; padding-bottom: 0; }
.about-photos .about-values-layout .num { grid-row: span 2; margin: 0; }
.about-photos .about-values-layout .card p { grid-column: 2; margin: 0; }
.about-photos .about-doctor-layout {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
  gap: 64px;
  align-items: center;
}
.about-photos .about-doctor-portrait img {
  height: 500px;
  aspect-ratio: auto;
  object-fit: contain;
}
.about-photos .about-doctor-layout h2 { margin-left: 0; }
.about-photos .about-team {
  max-width: 980px;
  margin: 56px auto 0;
}
.about-photos .about-team figcaption { text-align: center; }
.about-photos .about-process-layout .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
.about-photos .about-process-layout .card { border-radius: 8px; min-height: 166px; }
.about-photos .about-process-layout .card strong { color: var(--primary); font-size: 14px; }
.about-photos .about-process-layout .card h3 { margin-top: 14px; margin-bottom: 0; }
.about-photos .about-space-card {
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
}
.about-photos .about-space-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.about-photos .about-space-copy { padding: 24px; }
.about-photos .about-space-copy p { margin-bottom: 0; }
@media (min-width: 769px) and (max-width: 1100px) {
  .about-photos .about-hero h1 { font-size: 56px; }
  .about-photos .about-hero-copy { max-width: 590px; }
  .about-photos .about-values-layout,
  .about-photos .about-process-layout { grid-template-columns: 1fr; }
  .about-photos .about-doctor-layout { gap: 32px; }
  .about-photos main h2 { font-size: 42px; }
  .about-photos .about-photo { max-width: 900px; }
  .about-photos .about-doctor-portrait img { height: 400px; }
}
@media (max-width: 768px) {
  .about-photos .about-hero { padding-bottom: 0 !important; }
  .about-photos .about-hero::before { display: none; }
  .about-photos .about-hero-image {
    position: static;
    height: auto;
    aspect-ratio: 3 / 2;
    display: block;
    margin-top: 32px;
  }
  .about-photos .about-hero h1 { font-size: 42px !important; letter-spacing: 0 !important; }
  .about-photos .about-hero h1 .about-hero-label { font-size: 18px; }
  .about-photos .about-values-layout,
  .about-photos .about-doctor-layout,
  .about-photos .about-process-layout { grid-template-columns: 1fr; gap: 28px; }
  .about-photos .about-values-layout .grid-3 { gap: 0 !important; }
  .about-photos .about-values-layout .card { padding: 22px 0 !important; }
  .about-photos .about-doctor-portrait img { height: auto; max-height: 420px; }
  .about-photos .about-team { margin-top: 36px; }
  .about-photos .about-process-layout .card { min-height: 0; }
  .about-photos .about-space-card { padding: 0 !important; border-radius: 8px !important; }
  .about-photos .about-space-copy { padding: 22px; }
  .about-photos .about-photo figcaption { font-size: 14px; }
}
