.hero-panel {
  padding: 18px;
}

.hero-photo-wrap {
  position: relative;
  margin: 0 0 16px;
  overflow: hidden;
  background: #151a1e;
}

.hero-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: 58% center;
  filter: brightness(1.16) contrast(1.05);
}

.hero-caption {
  margin: 0;
  padding: 4px 0 2px;
  color: #d9e1e4;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.45;
}

.case-link {
  color: inherit;
  text-decoration: none;
}

.case-link:hover {
  color: var(--blue);
}

.hero-photo-wrap figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 9px;
  background: rgba(19, 24, 28, .82);
  color: #dce6e9;
  font-size: .72rem;
  letter-spacing: .03em;
}

.use-case-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 58px;
  align-items: stretch;
}

.case-photo {
  position: relative;
  min-height: 470px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #25292d;
  cursor: pointer;
  font: inherit;
}

.case-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.use-case-layout .case-list > div {
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 23px 0;
}

.use-case-layout .case-list > div p {
  grid-column: 2;
}

@media (max-width: 920px) {
  .use-case-layout {
    grid-template-columns: 1fr;
  }

  .case-photo {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .hero-panel {
    padding: 12px;
  }

  .hero-photo {
    height: 220px;
  }

  .case-photo {
    min-height: 310px;
  }
}
