/* Keep all four aircraft photos clean, aligned and responsive. */
.flight-gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  min-height: clamp(520px, 42vw, 720px);
}

.flight-photo img {
  object-fit: cover;
  object-position: center;
  background: #b9d7df;
  filter: saturate(.9) contrast(1.02);
}

.flight-photo {
  min-width: 0;
  min-height: 0;
  /* Match the pale green-blue band present in the single-engine artwork. */
  background: #b9d7df;
  padding-block: 16px;
}

/* The source artwork already contains a narrow band; crop it so every card
   presents the same outer band thickness. */
.flight-photo:nth-child(2) img {
  transform: scale(1.08);
}

.flight-photo:nth-child(2):hover img {
  transform: scale(1.1);
}

@media (max-width: 960px) {
  .flight-gallery {
    grid-template-columns: 1fr;
    gap: 38px;
    padding: 88px 6%;
  }

  .flight-gallery-intro > p:not(.eyebrow) {
    max-width: 520px;
  }
}

@media (max-width: 720px) {
  .flight-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
  }

  .flight-photo {
    aspect-ratio: 16 / 10;
  }
}
