/* Static project examples are separate from galleries with multiple customers. */
.project-case {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(18, 34, 66, 0.06);
}

.project-case figure {
  min-width: 0;
  margin: 0;
}

.project-case figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.project-case-copy {
  min-width: 0;
}

.project-case h2 {
  margin: 0 0 1.2rem;
  color: #1b2c4f;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.15;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.project-case-facts {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.project-case-facts > div {
  display: grid;
  grid-template-columns: 6.2rem minmax(0, 1fr);
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.project-case-facts dt {
  color: #1b2c4f;
  font-weight: 700;
}

.project-case-facts dd {
  margin: 0;
  color: #4e596c;
  overflow-wrap: anywhere;
}

.project-case-result {
  margin: 1.15rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(16, 35, 63, 0.1);
  color: #4e596c;
  font-size: 0.95rem;
  line-height: 1.55;
}

.project-case-result strong {
  color: #1b2c4f;
}

@media (max-width: 800px) {
  .project-case {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 24px;
  }
}

@media (max-width: 380px) {
  .project-case-facts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.1rem;
  }
}
