/* Compact editorial gallery pages with room for a short series statement. */
.series-note {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin: 24px 0 42px;
}

.series-note p {
  max-width: 760px;
  font: 10px/1.65 Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

.photo-grid {
  display: block;
  columns: 3;
  column-gap: 22px;
  max-width: 1240px;
  margin-inline: auto;
}

.photo-item {
  display: inline-block;
  width: 100%;
  break-inside: avoid;
  overflow: hidden;
  margin: 0 0 22px;
  transition: transform .35s ease, box-shadow .35s ease;
}

.photo-item img {
  transition: transform .6s cubic-bezier(.2, .65, .25, 1), filter .4s ease, opacity .3s ease;
  will-change: transform;
}

.photo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px #1b1d1820;
}

.photo-item:hover img {
  transform: scale(1.04);
  filter: contrast(1.015);
  opacity: 1;
}

.photo-books {
  display: grid;
  grid-template-columns: minmax(240px, .85fr) minmax(0, 1.5fr);
  gap: 60px;
  border-block: 1px solid var(--line);
  padding: 45px 0;
  margin: 55px 0 75px;
}

.photo-books h2 {
  font-size: clamp(38px, 4.5vw, 62px);
  letter-spacing: -.04em;
  margin: 8px 0 12px;
}

.photo-books p {
  margin: 0;
  max-width: 420px;
}

.photo-book-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.photo-book-links a {
  min-height: 155px;
  background: var(--ink);
  color: #f7f5f1;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease, background .25s ease;
}

.photo-book-links a:hover {
  transform: translateY(-3px);
  background: #2b2e29;
}

.photo-book-links span {
  font-size: 27px;
  line-height: 1.1;
}

.photo-book-links small {
  font: 10px Arial, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (max-width: 850px) {
  .photo-grid { columns: 2; column-gap: 18px; }
  .photo-item { margin-bottom: 18px; }
  .photo-books { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 560px) {
  .photo-grid { columns: 2; column-gap: 12px; }
  .photo-item { margin-bottom: 12px; }
  .photo-book-links { grid-template-columns: 1fr; }
  .photo-book-links a { min-height: 125px; }
  .photo-books { margin: 40px 0 55px; padding: 35px 0; }
}

@media (hover: none) {
  .photo-item:hover { transform: none; box-shadow: none; }
  .photo-item:hover img { transform: none; filter: none; }
}
