.admin-bar .site-header {
  top: 32px;
}

.project-card h2,
.project-card h3 {
  margin-bottom: 0.7rem;
  overflow-wrap: anywhere;
}

.project-card h2 a,
.project-card h3 a {
  color: inherit;
  display: block;
  text-decoration: none;
}

.project-card {
  min-width: 0;
}

.project-card .project-image {
  display: block;
  width: 100%;
}

.project-card > p:last-of-type {
  color: var(--muted);
  line-height: 1.65;
}

.project-grid + .section-cta {
  clear: both;
  position: relative;
  width: 100%;
}

.portrait-photo {
  overflow: hidden;
}

.portrait-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail {
  max-width: 1120px;
}

.project-detail-cover {
  margin: 0 0 3rem;
  background: #eef1ed;
}

.project-detail-cover img {
  display: block;
  width: 100%;
  max-height: 760px;
  object-fit: contain;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.project-detail-content {
  max-width: 840px;
}

.project-detail-content img,
.project-detail-content video {
  max-width: 100%;
  height: auto;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .project-detail-grid {
    grid-template-columns: 1fr;
  }
}
