.section-home-content {
  margin: 50px 0 0;
  padding: 50px 0;
  color: rgb(var(--color-button-text));
  @media screen and (min-width: 990px) {
    padding: 72px 0 200px;
  }

  .heading-content {
    display: flex;
    flex-flow: column;
    gap: 30px;
    margin: 0 0 50px;

    @media screen and (min-width: 990px) {
      margin: 0 0 110px;
      gap: 50px;
      flex-flow: nowrap;
    }

    p {
      font-size: 1.8rem;
      line-height: 2.5rem;
      margin: 0;
      @media screen and (min-width: 990px) {
        font-size: 2rem;
        line-height: 3rem;
      }
    }
  }

  .heading-content__image {
    display: block;
    max-width: 100%;
    height: auto;

    @media screen and (min-width: 560px) {
      max-width: unset;
    }
  }

  .heading-content__title {
    color: rgb(var(--color-button-text));
    font-weight: 900;
    font-size: 5rem;
    line-height: 1;
    margin: 0 0 20px;
    text-transform: uppercase;
    @media screen and (min-width: 990px) {
      font-size: 8rem;
      margin: 0;
    }
  }

  .heading-content__wrap {
    display: flex;
    flex-flow: column;
    align-items: center;
  }

  .blocks-grid {
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    gap: 20px;
    @media screen and (min-width: 990px) {
      flex-flow: nowrap;
      justify-content: flex-start;
    }
  }

  .block-item {
    position: relative;
    &::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(var(--color-button), 0.4);
      transition: opacity 0.3s ease-in-out;
      z-index: 1;
      opacity: 1;
    }
    &:hover {
      &:after {
        opacity: 0;
      }
    }
    img {
      display: block;
      width: 100%;
      object-fit: cover;
    }
  }

  .block-item__content {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;

    .block-item__title {
      text-transform: uppercase;
      font-weight: 900;
      line-height: 1.2;
      margin: 0 0 20px;
      font-size: 5rem;
      @media screen and (min-width: 990px) {
        font-size: 7.3rem;
        margin: 0;
      }
    }

    .block-item__button {
      min-width: 218px;
    }
  }
}
