.case-summary {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  margin-bottom: 55px;
}
.case-summary h2 {
  font: 700 42px serif;
}
.case-summary p {
  color: var(--muted);
}
.case-summary dl {
  border-top: 2px solid var(--navy);
}
.case-summary dl div {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.case-summary dt {
  color: var(--muted);
}
.case-summary dd {
  margin: 0;
  font-weight: 700;
}
.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.case-gallery button {
  border: 0;
  padding: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  max-height: 620px;
}
.case-gallery button:first-child:nth-last-child(1) {
  grid-column: 1/3;
}
.case-gallery img {
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}
.case-gallery button:hover img {
  transform: scale(1.03);
}
.case-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 60px 0;
  background: var(--paper);
}
.case-notes div {
  padding: 30px;
  border-right: 1px solid var(--line);
}
.case-notes b {
  font: 700 28px serif;
  color: var(--gold);
}
.case-notes h3 {
  margin: 5px 0;
}
.case-notes p {
  color: var(--muted);
  margin: 0;
}
.prev-next {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.lightbox {
  position: fixed;
  inset: 0;
  background: #06111bef;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 40px;
}
.lightbox.open {
  display: grid;
}
.lightbox img {
  max-width: 1100px;
  max-height: 85vh;
  object-fit: contain;
}
.lightbox button {
  position: absolute;
  right: 25px;
  top: 20px;
  color: #fff;
  background: none;
  border: 0;
  font-size: 45px;
  cursor: pointer;
}
@media (max-width: 750px) {
  .case-summary {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .case-gallery {
    grid-template-columns: 1fr;
  }
  .case-gallery button:first-child:nth-last-child(1) {
    grid-column: auto;
  }
  .case-notes {
    grid-template-columns: 1fr;
  }
  .prev-next {
    font-size: 13px;
  }
}
