.editorial-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 36px);
}
.editorial-grid .photo { height: clamp(118px, 15vw, 270px); display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; }
.editorial-grid .photo img { display: block; max-width: var(--photo-width, 92%); max-height: 92%; width: auto; height: auto; }
.editorial-grid > :is(:nth-child(8n+4), :nth-child(8n+7)) img { --photo-width: 88%; max-height: 75%; }
.editorial-grid > :is(:nth-child(8n+3), :nth-child(8n+5)) img { --photo-width: 74%; max-height: 53%; }

@media (max-width: 1000px) { .editorial-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-grid .photo { height: clamp(130px, 53vw, 270px); }
}

.editorial-grid .photo[data-align="left"] img { transform: translateX(-4%); }
.editorial-grid .photo[data-align="right"] img { transform: translateX(4%); }
