.cases-index-page .cases-index__hero {
  border-radius: 26px;
}

.cases-index-page .cases-index__hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px 38px 30px;
  color: #ffffff;
}

.cases-index-page .cases-index__hero-body {
  display: grid;
  gap: 18px;
  max-width: 380px;
  padding-bottom: 6px;
}

.cases-index-page .cases-index__hero-title {
  margin: 0;
  font-family: "Metal", "Circe", "Tahoma", "Arial", sans-serif;
  font-size: 30px;
  line-height: 1.1;
}

.cases-index-page .cases-index__hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #ffffff;
  color: #0f0f0f;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  margin-top: 6px;
}

.cases-index-page .cases-index__hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.1;
}

.cases-index-page .cases-index__hero-tag img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.cases-index-page .cases-index__hero-controls {
  right: 26px;
  bottom: 26px;
}

.cases-index-page .cases-index__hero-control {
  width: 50px;
  height: 34px;
  background: rgba(255, 255, 255, 0.2);
}

.cases-index-page .cases-index__hero-control.is-primary {
  background: #ffffff;
  color: #2b5cff;
}

@media (max-width: 640px) {
  .cases-index-page .cases-index__hero-overlay {
    padding: 22px 18px 22px;
  }

  .cases-index-page .cases-index__hero-title {
    font-size: 24px;
  }

  .cases-index-page .cases-index__hero-controls {
    right: 16px;
    bottom: 16px;
  }
}
