/* Responsive styles for project photography. */
.installation-photo {
  min-width: 0;
  margin: 0;
}

.installation-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  background: #e8ecec;
  box-shadow: var(--shadow-sm);
}

.installation-photo figcaption {
  margin-top: 10px;
  color: #5c6b7c;
  font-size: 0.84rem;
  line-height: 1.5;
}

.installation-feature {
  width: min(100%, 560px);
  margin-inline: auto;
}

.installation-feature img,
.installation-photo--solar img,
.installation-pair img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.commercial-hero-photo img {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.commercial-hero-photo .image-note {
  margin: 0;
  color: #ffffff;
  font-size: 0.78rem;
  line-height: 1.45;
}

.installation-photo--solar {
  width: min(100%, 560px);
  justify-self: center;
}

.installation-photo--solar img {
  height: auto;
}

.installation-pair {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
}

.proof-moment .installation-photo figcaption {
  color: #c7d5e2;
}

@media (max-width: 700px) {
  .installation-pair {
    grid-template-columns: 1fr;
  }

  .installation-feature {
    width: min(100%, 520px);
  }
}
