.hero-case {
  overflow: hidden;
  padding-top: 106px;
}

.hero-case__inner {
  position: relative;
  height: 615px;
}

.hero-case__title {
  position: relative;
  z-index: 4;
  color: var(--secondary-1);
}

.hero-case__title span {
  display: block;
  margin-bottom: 16px;
  color: var(--secondary-2);
}

.hero-case__info {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 24px;
}

.hero-case__info-date {
  position: relative;
  padding-left: 14px;
  color: var(--secondary-1);
  font-weight: 500;
  line-height: 130%;
  font-size: var(--s);
}

.hero-case__info-date::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%);
  width: 6px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--primary-2);
}

.hero-case__info-category {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 8px;
  padding: 8px 16px;
  border-radius: 3px;
  background: var(--secondary-1);
  -webkit-clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  font-weight: 600;
  line-height: 130%;
  /* 15.6px */
  text-transform: uppercase;
  font-size: 12px;
  transition: var(--transition);
}

.hero-case__info-category:hover {
  color: var(--primary-2);
}

.hero-case__image {
  position: absolute;
  top: 120px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  z-index: 1;
}

.hero-case__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: center;
  object-position: center;
  z-index: 1;
}

.hero-case__image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

@media (max-width: 1260px) {
  .hero-case__image {
    top: 68px;
  }

  .hero-case.hero-contact {
    padding-top: 70px;
  }
}

@media (max-width: 760px) {
  .hero-case {
    padding-top: 70px;
  }

  .hero-case.hero-contact .hero-case__inner {
    height: auto;
  }

  .hero-case.hero-contact .hero-case__image {
    position: relative;
    top: 0;
    height: 200px;
  }
}