.photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 35px;
}
.photo-card {
  display: block;
  min-width: 0;
}
.photo-card .photo-window {
  overflow: hidden;
  background: #e9e9e9;
  aspect-ratio: 1.6;
}
.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(0.8) brightness(1.1);
  opacity: 0.84;
  transition:
    filter 0.4s ease,
    opacity 0.4s ease;
}
.photo-card:hover img,
.photo-card:focus-visible img {
  filter: grayscale(0) contrast(1.02) brightness(1.05);
  opacity: 1;
}
.photo-card .caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 14px;
  font-size: 15px;
}
.photo-card .caption span + span {
  color: #616266;
  font-size: 12px;
}
.photo-card.portrait img {
  object-position: center 56%;
}
.editorial .home-photos {
  padding-top: 10px;
}
.home-photos h2 {
  font-size: 32px;
}
.editorial .page-photos {
  padding-top: 0;
}
.photo-note {
  font-size: 12px;
  margin-top: 14px;
}
@media (max-width: 760px) {
  .photo-pair {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 25px;
  }
  .photo-card .caption {
    font-size: 14px;
  }
  .home-photos h2 {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .photo-card img {
    transition: none;
  }
}
.photo-card.portrait img {
  object-fit: contain;
  object-position: center;
  background: #e7e7e7;
}

.home-overview .contact-task-button {
  margin-top: 24px;
  font-weight: 400;
  color: #fff;
  background: var(--red);
}
.home-overview .contact-task-button:hover {
  background: var(--red-hover);
}
