/* Our Work hub and story pages */

.case-study-hero {
  padding-top: 5.5rem;
  padding-bottom: 2rem;
}

.case-study-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.case-study-photo--frame {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .case-study-photo--frame {
    height: 360px;
  }
}

.case-study-facts {
  display: grid;
  gap: 0;
  margin: 0;
}

.case-study-facts > div {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 0.35rem 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.case-study-facts dt {
  margin: 0;
  font-weight: 600;
}

.case-study-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 575.98px) {
  .case-study-facts > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

.case-study-lead {
  max-width: 38rem;
}
