.case {
  width: 95%;
  max-width: 1024px;
  margin: 0 auto 2rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgb(226, 232, 240);
  font-size: 0.875rem;
  font-weight: 600;
}

.back-link:hover,
.back-link:focus-visible {
  color: white;
}

.case-title {
  margin-top: 1.5rem;
  color: rgb(229, 229, 229);
  font-size: 2.25rem;
  font-weight: 700;
}

.case-description {
  max-width: 42rem;
  margin-top: 1rem;
  color: var(--color-text-secondary);
  font-size: 1.125rem;
}

.slides {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 1.25rem;
  margin-top: 2rem;
}

.slides img {
  height: auto;
  border-radius: var(--radius-lg);
  background: rgb(11, 15, 23);
}

.shot-wide {
  width: 100%;
  flex: 1 1 100%;
}

.shot-tablet {
  width: min(480px, 100%);
  flex: 0 1 480px;
}

.shot-phone {
  width: min(280px, 100%);
  flex: 0 1 280px;
}

@media (min-width: 768px) {
  .case-title {
    font-size: 3rem;
  }
}
