.gallery-expanded {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 42px;
}

.gallery-expanded .project-card.second {
  margin-top: 0;
}

.gallery-expanded .project-wide {
  grid-column: span 2;
}

.gallery-expanded .project-image,
.gallery-expanded .project-wide .project-image {
  height: 500px;
  background: #d8d4ca;
}

.gallery-expanded .project-portrait .project-image {
  height: 660px;
}

.gallery-expanded .project-image img {
  object-position: center center;
}

.gallery-expanded .project-wide:first-child .project-image img {
  object-position: center 52%;
}

.media-type {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(245, 244, 239, .92);
  color: var(--ink);
  padding: 8px 11px;
  font-size: 9px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

@media (max-width: 700px) {
  .gallery-expanded {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .gallery-expanded .project-wide {
    grid-column: auto;
  }

  .gallery-expanded .project-image,
  .gallery-expanded .project-wide .project-image,
  .gallery-expanded .project-portrait .project-image {
    height: 430px;
  }

  .gallery-expanded .project-wide:first-child .project-image {
    height: 330px;
  }
}

.gallery-expanded .project-oak .project-image { height: auto; aspect-ratio: 5 / 3; }
.gallery-expanded .project-oak .project-image img { object-fit: contain; }
