.aq-photo-series {
  width: min(1200px, 92%);
  margin: clamp(48px, 7vw, 96px) auto;
  color: inherit;
}
.aq-photo-series h2 {
  margin: 0 0 1.25rem;
  font: inherit;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  line-height: 1.12;
}
.aq-photo-series ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(12px, 2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.aq-photo-series li, .aq-photo-series figure { margin: 0; min-width: 0; }
.aq-photo-series a { display: block; color: inherit; }
.aq-photo-series img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.aq-photo-series figcaption { position: static; padding: .65rem 0; font: inherit; font-size: 1rem; line-height: 1.4; color: inherit; background: transparent; }
.aq-photo-dialog { width: min(1000px, 96vw); max-height: 94dvh; padding: 0; border: 0; color: #fff; background: #142023; }
.aq-photo-dialog::backdrop { background: rgb(4 15 19 / .83); }
.aq-photo-dialog img { display: block; max-width: 100%; width: 100%; height: min(68dvh, 680px); object-fit: contain; }
.aq-photo-dialog footer { position: static; display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; padding: 1rem; background: #142023; color: #fff; }
.aq-photo-dialog p { margin: 0; flex: 1 1 240px; color: #fff; }
.aq-photo-dialog button { font: inherit; min-height: 44px; padding: .4rem .8rem; color: white; background: transparent; border: 1px solid #9cb2b6; cursor: pointer; }
@media (max-width: 550px) {
  .aq-photo-series ul { grid-template-columns: 1fr; }
  .aq-photo-dialog img { height: min(54dvh, 520px); }
}

