.heroBlock {
  background: #020e11;
  min-height: 100vh;
  max-height: 110vh;
  height: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.heroBlock__background {
  inset: 0;
  position: absolute;
  z-index: 0;
}

.heroBlock__background-image {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.heroBlock__background-video {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.heroBlock__background-overlay {
  background: rgba(2, 14, 17, 0.45);
  inset: 0;
  position: absolute;
}

.heroBlock__shape-wrap {
  align-items: center;
  display: flex;
  height: 1962.427px;
  justify-content: center;
  left: -903px;
  overflow: visible;
  pointer-events: none;
  position: absolute;
  top: -200px;
  width: 1949.127px;
  z-index: 1;
}

.heroBlock__shape {
  display: block;
  height: 1361.787px;
  transform: rotate(127.13deg);
  transform-origin: center;
  width: 1430.43px;
}

.heroBlock__container {
  display: grid;
  gap: 54px;
  grid-template-columns: 867px 359px;
  margin: 0 auto;
  max-width: 1280px;
  min-height: 100vh;
  max-height: 110vh;
  height: 100%;
  padding: 264px 0 112px;
  align-items: center;
  position: relative;
  width: 100%;
  z-index: 2;
  box-sizing: border-box;
}

.heroBlock__left {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: 42px;
}

.heroBlock__heading-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.heroBlock__title {
  color: #ffffff;
  font-family: "Gilda Display", serif;
  font-size: 85.452px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.8545px;
  line-height: 1.1;
  margin: 0;
}

.heroBlock__subtitle-wrap {
  align-items: center;
  display: inline-flex;
  gap: 13.225px;
}

.heroBlock__subtitle-icon {
  display: block;
  height: 9.156px;
  width: 54.933px;
}

.heroBlock__subtitle {
  color: #ffffff;
  font-family: "Gilda Display", serif;
  font-size: 61.037px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.6104px;
  line-height: 1.2;
  margin: 0;
}

.heroBlock__actions {
  display: flex;
  gap: 21.314px;
  margin-top: 64px;
}

.heroBlock__button {
  align-items: center;
  border-radius: 4px;
  box-sizing: border-box;
  display: inline-flex;
  font-family: "Inter", sans-serif;
  font-size: 23.978px;
  font-style: normal;
  font-weight: 500;
  gap: 10px;
  justify-content: center;
  line-height: 1.6;
  padding: 13.321px 26.642px;
  text-decoration: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.heroBlock__button--primary {
  background: #00ccff;
  border: 1px solid #00ccff;
  color: #ffffff;
}

.heroBlock__button--primary:hover {
  background-color: #00728e;
  border-color: #00728e;
}

.heroBlock__button--secondary {
  background: transparent;
  border: 1.332px solid #ffffff;
  border-radius: 5.328px;
  color: #ffffff;
}

.heroBlock__button--secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}
.heroBlock__button-icon {
  height: 15px;
  width: 15px;
}

.heroBlock__right {
  justify-self: end;
  min-width: 0;
  width: 359px;
}

.heroBlock__cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.heroBlock__card {
  --thumb-w: 120px;
  align-items: stretch;
  background: rgba(5, 38, 46, 0.85);
  border-radius: 12px;
  display: grid;
  gap: 16px;
  grid-template-columns: var(--thumb-w) minmax(0, 1fr);
  overflow: hidden;
  padding: 8px;
  position: relative;
  transition:
    gap 0.35s ease,
    grid-template-columns 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.heroBlock__card--featured {
  background: #f8d125;
}

.heroBlock__card-image {
  border-radius: 12px;
  display: block;
  height: 105px;
  object-fit: cover;
  opacity: 1;
  transform-origin: center;
  transition:
    transform 0.4s ease,
    opacity 0.25s ease;
  width: 100%;
}

.heroBlock__card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 100%;
  min-height: 105px;
  transition: max-width 0.35s ease;
}

.heroBlock__card-title {
  color: #ffffff;
  font-family: "Gilda Display", serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}

.heroBlock__card--featured .heroBlock__card-title {
  color: #1f1f1f;
}

.heroBlock__card-link {
  align-items: center;
  color: #ffffff;
  display: inline-flex;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  gap: 8px;
  line-height: 1.6;
  text-decoration: none;
  margin-left: auto;
}
.heroBlock__card-link:hover {
  text-decoration: underline;
}

.heroBlock__card--featured .heroBlock__card-link {
  color: #1f1f1f;
}

.heroBlock__card-link-icon {
  height: 15px;
  width: 15px;
}

.heroBlock__card-link-icon path {
  fill: #0cf;
}
.heroBlock__card--featured .heroBlock__card-link-icon path {
  fill: #020e11;
}

@media (hover: hover) and (pointer: fine) {
  .heroBlock__card:hover,
  .heroBlock__card:focus-within {
    --thumb-w: 0px;
    gap: 0;
    box-sizing: border-box;
  }

  .heroBlock__card:hover .heroBlock__card-image,
  .heroBlock__card:focus-within .heroBlock__card-image {
    opacity: 0;
    transform: translateX(-130%) scale(0.95);
  }

  .heroBlock__card:hover .heroBlock__card-content,
  .heroBlock__card:focus-within .heroBlock__card-content {
    max-width: 100%;
  }
  .heroBlock__card:hover .heroBlock__card-title,
  .heroBlock__card:focus-within .heroBlock__card-title {
    padding: 0 8px;
  }
}

@media (max-width: 1440px) {
  .heroBlock__shape-wrap {
    left: -903px;
    top: -200px;
    transform: scale(1);
    transform-origin: center;
  }

  .heroBlock__container {
    grid-template-columns: minmax(0, 1fr) 359px;
    width: 90%;
  }

  .heroBlock__left {
    padding-top: 35px;
  }

  .heroBlock__title {
    font-size: 78px;
  }

  .heroBlock__subtitle {
    font-size: 56px;
  }
}

@media (max-width: 1200px) {
  .heroBlock__shape-wrap {
    left: -990px;
    top: -400px;
    transform: scale(0.88);
  }

  .heroBlock__container {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 170px 0 90px;
  }

  .heroBlock__left {
    padding-top: 0;
  }

  .heroBlock__title {
    font-size: 62px;
  }

  .heroBlock__subtitle {
    font-size: 46px;
  }

  .heroBlock__right {
    justify-self: start;
    max-width: 540px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .heroBlock__shape-wrap {
    left: -1100px;
    top: -330px;
    transform: scale(0.72);
  }

  .heroBlock {
    min-height: auto;
  }

  .heroBlock__container {
    gap: 30px;
    padding: 124px 0 64px;
  }

  .heroBlock__title {
    font-size: 42px;
  }

  .heroBlock__subtitle {
    font-size: 32px;
  }

  .heroBlock__actions {
    flex-direction: column;
    gap: 14px;
    margin-top: 30px;
  }

  .heroBlock__button {
    font-size: 17px;
    justify-content: center;
    padding: 12px 18px;
    width: 100%;
  }

  .heroBlock__right {
    max-width: none;
  }

  .heroBlock__card {
    --thumb-w: 110px;
    grid-template-columns: var(--thumb-w) minmax(0, 1fr);
  }

  .heroBlock__card-image {
    height: 96px;
    width: 110px;
  }

  .heroBlock__card-content {
    max-width: none;
    min-height: 96px;
  }
}

@media (max-width: 480px) {
  .heroBlock__shape-wrap {
    left: -1170px;
    top: -300px;
    transform: scale(0.6);
  }

  .heroBlock__container {
    gap: 22px;
    padding: 112px 0 52px;
  }

  .heroBlock__title {
    font-size: 34px;
  }

  .heroBlock__subtitle {
    font-size: 26px;
  }

  .heroBlock__subtitle-icon {
    height: auto;
    width: 46px;
  }

  .heroBlock__button {
    font-size: 16px;
    padding: 11px 16px;
  }

  .heroBlock__card {
    --thumb-w: 92px;
    grid-template-columns: var(--thumb-w) minmax(0, 1fr);
    gap: 12px;
  }

  .heroBlock__card-image {
    height: 84px;
    width: 92px;
  }

  .heroBlock__card-content {
    min-height: 84px;
  }

  .heroBlock__card-title {
    font-size: 18px;
  }
}

@media (max-width: 390px) {
  .heroBlock__shape-wrap {
    left: -1210px;
    top: -285px;
    transform: scale(0.54);
  }
}
