/* Minimal photographic series grid. Published only on individual story pages. */
body.story-gallery-page {
  padding-bottom: 0;
}

body.story-gallery-page .mobile-contacts,
body.story-gallery-page .live-header__cta {
  display: none !important;
}

.story-page--gallery-only {
  background: #f4f2ed;
}

.story-simple-head {
  padding: clamp(4rem, 7vw, 7rem) 5vw clamp(2.5rem, 4vw, 4rem);
  border-bottom: 1px solid #aaa69e;
}

.story-simple-head > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: clamp(1.5rem, 3vw, 3rem);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.story-simple-head h1 {
  max-width: none;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 4.2vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: .96;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.story-gallery.story-gallery--uniform {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  width: clamp(70rem, 60vw, 105rem);
  max-width: calc(100% - 4vw);
  margin-inline: auto;
  gap: 6px;
  padding: 6px 0 clamp(4rem, 7vw, 7rem);
  box-sizing: border-box;
  background: #f4f2ed;
}

.story-gallery.story-gallery--uniform > figure,
.story-gallery.story-gallery--uniform > figure:nth-of-type(n),
.story-gallery.story-gallery--uniform > figure:nth-child(n) {
  grid-column: auto !important;
  align-self: start;
  aspect-ratio: auto;
  margin: 0 !important;
  overflow: hidden;
  background: #dedad2;
}

.story-gallery.story-gallery--uniform > figure img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 699px) {
  .story-simple-head {
    padding: 3.5rem 5vw 2.5rem;
  }

  .story-simple-head h1 {
    overflow-wrap: normal;
    font-size: clamp(2rem, 9vw, 3rem);
    text-wrap: balance;
    white-space: normal;
    word-break: normal;
  }

  .story-gallery.story-gallery--uniform {
    width: calc(100% - 4vw);
    max-width: none;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 4px 0 4rem;
  }
}

@media (min-width: 1000px) {
  .story-simple-head h1 {
    white-space: nowrap;
  }
}

.story-gallery.story-gallery--uniform > figure.story-photo--landscape:nth-child(n) { grid-column: 1 / -1 !important; }
