/* Homepage photo layouts; shared page styles remain in mobile-responsive.css. */
.home-photos .home-intro-layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: start;
}
.home-photos .home-intro-layout .grid-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home-photos .home-photo {
  margin: 0;
  min-width: 0;
}
.home-photos .home-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.home-photos .home-photo figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.home-photos .home-team-photo img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.home-photos .home-intro-layout .card {
  border-radius: 8px;
  padding: 22px;
}
.home-photos .home-intro-layout h3 {
  font-size: 28px;
}
.home-photos .home-treatment-card {
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
}
.home-photos .home-treatment-card > img {
  display: block;
  width: 100%;
  height: auto; aspect-ratio: 2 / 1;
  object-fit: cover;
  object-position: center 42%;
}
.home-photos .home-treatment-copy {
  padding: 28px;
}
.home-photos .home-service-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 36px;
}
.home-photos .home-service-intro .title {
  margin: 0;
  max-width: none;
}
.home-photos .home-service-intro h2 {
  font-size: 48px;
  line-height: 1.12;
}
.home-photos .home-service-intro img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.home-photos .home-space-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 32px;
}
.home-photos .home-space-heading h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.12;
}
.home-photos .home-space-heading a {
  color: var(--primary-dark);
  text-underline-offset: 5px;
  text-decoration: underline;
  flex-shrink: 0;
}
.home-photos .home-space-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 22px;
}
.home-photos .home-space-grid img {
  height: 310px;
  object-fit: cover;
}
@media (min-width: 769px) {
  .home-photos .hero h1 {
    font-size: 64px;
    line-height: 1.08;
  }
  .home-photos .hero h1 > span {
    white-space: normal;
  }
  .home-photos .hero h1 > .hero-title-desktop {
    font-family: var(--font-body);
    font-size: 22px;
    line-height: 1.5;
  }
  .home-photos .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 48px;
    padding-block: 64px;
  }
  .home-photos .hero-img { margin: 0; }
  .home-photos .hero-img img { max-height: 540px; }
  .home-photos .one-line-heading,
  .home-photos .one-line-text,
  .home-photos .story-lines,
  .home-photos .remedy-lines { white-space: normal; }
}
@media (min-width: 769px) and (max-width: 1200px) {
  .home-photos .home-intro-layout { grid-template-columns: 1fr; }
  .home-photos .home-team-photo { max-width: 850px; margin-inline: auto; }
  .home-photos .home-service-intro { gap: 28px; }
  .home-photos .home-service-intro h2 { font-size: 40px; }
  .home-photos .home-space-grid img { height: 240px; }
}
@media (max-width: 768px) {
  .home-photos .home-intro-layout,
  .home-photos .home-service-intro,
  .home-photos .home-space-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .home-photos .home-treatment-card { padding: 0 !important; border-radius: 8px !important; }
  .home-photos .home-treatment-copy { padding: 22px; }
  .home-photos .home-treatment-card > img { aspect-ratio: 3 / 2; }
  .home-photos .home-space-heading { align-items: start; flex-direction: column; gap: 12px; }
  .home-photos .home-space-heading h2 { margin-bottom: 0 !important; }
  .home-photos .home-space-grid img { height: auto; aspect-ratio: 3 / 2; }
  .home-photos .home-photo figcaption { font-size: 14px; }
}
