.gr-magazine .gr-place-photo {
  margin: 0;
  min-width: 0;
}
.gr-magazine .gr-place-photo picture,
.gr-magazine .gr-place-photo img {
  display: block;
  width: 100%;
}
.gr-magazine .gr-place-photo img {
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.gr-magazine .gr-place-photo figcaption {
  margin-top: .4rem;
  color: #594a43;
  font: 500 .78rem/1.45 var(--font-body, Inter, sans-serif);
  overflow-wrap: anywhere;
}

/* The front page keeps its four parallel guide lists, with the view of each place just below its topic. */
.gr-magazine .gr-front-topic--pictured h3 { margin-bottom: .6rem; }
.gr-magazine .gr-front-topic--pictured .gr-place-photo img { aspect-ratio: 16 / 10; }
.gr-magazine .gr-front-topic--pictured ul { margin-top: .85rem; }

/* Keep links beside the photograph in the full-width directory. The jump still lands on the topic heading. */
.gr-magazine .gr-guide-section--pictured {
  display: grid;
  grid-template-columns: minmax(11rem, 1fr) minmax(0, 2.3fr);
  gap: 0 clamp(1.25rem, 3.5vw, 3.25rem);
  align-items: start;
}
.gr-magazine .gr-guide-section--pictured > .gr-place-photo { grid-area: 1 / 1 / 3 / 2; }
.gr-magazine .gr-guide-section--pictured > h2 { grid-column: 2; }
.gr-magazine .gr-guide-section--pictured > .gr-guides-list { grid-column: 2; }

.gr-magazine .gr-article__body > .gr-place-photo {
  max-width: 38rem;
  margin-block: 1.5rem 1.8rem;
}
.gr-magazine .gr-article__body > .gr-place-photo img { aspect-ratio: 2 / 1; }
.gr-magazine .gr-resident__section .gr-place-photo {
  max-width: 34rem;
  margin-top: 1rem;
}
.gr-magazine .gr-resident__section .gr-place-photo img { aspect-ratio: 2 / 1; }

@media (min-width: 64rem) {
  .gr-magazine #eat:has(> .gr-place-photo) {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    column-gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
  }
  .gr-magazine #eat > .gr-place-photo { grid-area: 1 / 2 / 3 / 3; margin: 0; }
  .gr-magazine #eat > .gr-place-photo img { aspect-ratio: 4 / 3; }
}

@media (max-width: 650px) {
  /* Pair the heading and small photograph to keep the first guide link close on a phone. */
  .gr-magazine .gr-guide-section--pictured,
  .gr-magazine .gr-front-topic--pictured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(6.75rem, 38%);
    align-items: center;
    gap: .7rem 1rem;
  }
  .gr-magazine .gr-guide-section--pictured > .gr-place-photo,
  .gr-magazine .gr-front-topic--pictured > .gr-place-photo { grid-area: 1 / 2; }
  .gr-magazine .gr-guide-section--pictured > h2,
  .gr-magazine .gr-front-topic--pictured > h3 { grid-area: 1 / 1; margin: 0; }
  .gr-magazine .gr-guide-section--pictured > .gr-guides-list,
  .gr-magazine .gr-front-topic--pictured > ul { grid-column: 1 / -1; margin-top: 0; }
}
