.infrastructure-gallery {
  background: var(--soft, #f4f6fa);
}

.infrastructure-gallery .portfolio-photo-card {
  display: flex;
  flex-direction: column;
}

.infrastructure-gallery__frame {
  display: flex;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef1f5;
}

.infrastructure-gallery__frame img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}

.infrastructure-gallery .portfolio-photo-card > span {
  flex: 1;
  align-items: center;
}

.infrastructure-gallery .portfolio-photo-card:focus-visible {
  outline: 3px solid var(--primary, #5a32a3);
  outline-offset: 4px;
}
