/* R27 approved documentary photography. Scoped to explicit figure classes only. */
.gga-photo-story {
  margin: 32px 0;
}

.gga-photo-story figure {
  margin: 0;
  overflow: hidden;
  background: #f4f0e8;
  border: 1px solid rgba(11, 34, 53, .16);
  box-shadow: 0 18px 42px rgba(11, 34, 53, .08);
}

.gga-photo-story picture,
.gga-photo-story img {
  display: block;
  width: 100%;
}

.gga-photo-story img {
  height: auto;
  object-fit: cover;
}

.gga-photo-story figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px 18px;
  color: #253948;
  font-size: 14px;
  line-height: 1.55;
}

.gga-photo-story figcaption strong {
  color: #0b2235;
  font-size: 16px;
}

.gga-photo-home {
  margin: 0;
  padding: 0;
  background: #fff;
}

.gga-photo-home .wrap {
  padding-top: 18px;
  padding-bottom: 22px;
}

.gga-photo-home figure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .38fr);
}

.gga-photo-home img {
  height: 100%;
  min-height: 260px;
}

.gga-photo-home figcaption {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 28px;
  background: #f4f0e8;
}

.gga-photo-home figcaption strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.15;
}

.gga-photo-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.gga-photo-split figure {
  margin: 0;
}

.gga-photo-portrait figure {
  max-width: 520px;
}

.gga-photo-portrait img {
  aspect-ratio: 3 / 4;
}

.gga-photo-landscape img {
  aspect-ratio: 16 / 9;
}

.gga-job .gga-photo-story {
  margin: 26px 0 34px;
}

@media (max-width: 760px) {
  .gga-photo-story {
    margin: 24px 0;
  }

  .gga-photo-home figure,
  .gga-photo-split {
    grid-template-columns: 1fr;
  }

  .gga-photo-home img {
    min-height: 0;
  }

  .gga-photo-story figcaption {
    display: block;
    padding: 14px 16px 16px;
  }

  .gga-photo-story figcaption strong {
    display: block;
    margin-bottom: 5px;
  }

  .gga-photo-home figcaption {
    padding: 20px;
  }

  .gga-photo-portrait figure {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gga-photo-story * {
    scroll-behavior: auto !important;
  }
}
