#story.field-story {
  padding-block: clamp(64px, 8vw, 112px);
}
#story .field-story-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  gap: 32px;
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 56px);
}
#story .field-story-heading h2 { margin: 0; }
#story .field-story-heading p {
  max-width: 28em;
  margin: 0;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
  word-break: keep-all;
}
#story .field-story-photos {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 4.8vw, 76px) clamp(12px, 2.5vw, 36px);
  align-items: end;
}
#story .field-story-photos figure { min-width: 0; margin: 0; }
#story .field-story-photos figure:nth-child(1) { grid-column: 1 / 9; }
#story .field-story-photos figure:nth-child(2) { grid-column: 9 / 13; }
#story .field-story-photos figure:nth-child(3) { grid-column: 2 / 6; align-self: start; }
#story .field-story-photos figure:nth-child(4) { grid-column: 7 / 13; }
#story .field-story-photos figure:nth-child(5) { grid-column: 1 / 8; }
#story .field-story-photos figure:nth-child(6) { grid-column: 8 / 13; }
#story .field-story-photos a { display: block; cursor: zoom-in; }
#story .field-story-photos img { display: block; width: 100%; height: auto; }
#story .field-story-photos figcaption {
  margin-top: 9px;
  color: var(--ay-ink, #252822);
  font-size: 14px;
  line-height: 1.5;
  word-break: keep-all;
}
.field-story-dialog {
  position: fixed;
  inset: 0;
  width: min(94vw, 1040px);
  max-width: 100vw;
  max-height: 96dvh;
  margin: auto;
  padding: 0;
  border: 0;
  background: #171716;
  color: #fff;
}
.field-story-dialog::backdrop { background: rgb(13 13 12 / 86%); }
.field-story-dialog .field-story-viewer { display: grid; padding: 10px; }
.field-story-dialog button {
  min-width: 48px;
  min-height: 44px;
  padding: 4px 10px;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}
.field-story-dialog button:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.field-story-dialog [data-field-close] { justify-self: end; }
.field-story-dialog [data-field-full] {
  width: 100%; height: min(72dvh, 740px); display: block; object-fit: contain;
}
.field-story-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px;
}
.field-story-dialog .field-story-controls p { margin: 0; text-align: center; font-size: 14px; line-height: 1.5; }
@media (max-width: 700px) {
  #story .field-story-heading { display: block; }
  #story .field-story-heading p { margin-top: 16px; }
  #story .field-story-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; align-items: start; }
  #story .field-story-photos figure:nth-child(n) { grid-column: auto; }
  #story .field-story-photos figure:nth-child(1),
  #story .field-story-photos figure:nth-child(4) { grid-column: 1 / -1; }
  #story .field-story-photos figure:nth-child(2) img,
  #story .field-story-photos figure:nth-child(3) img { aspect-ratio: 3 / 4; object-fit: cover; }
  #story .field-story-photos figcaption { font-size: 13px; }
  .field-story-dialog { width: 100%; }
}
