.ecology {
  &-item {
    display: block;
    position: relative;
    margin-bottom: 25px;
    min-height: 240px;
    font-weight: 700;
    font-size: 18px;
    line-height: 30px;
    text-decoration: underline;
    color: #ffffff;
    overflow: hidden;

    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      background: rgba(0, 50, 116, 0.5);
    }

    &__title {
      position: relative;
      padding: 35px 0 0 45px;
    }

    &__img {
      position: absolute;
      z-index: -1;
      top: 0;
      left: 0;
      min-height: 100%;
      width: auto;
      transition: $fast-transition;
    }

    &__close {
      transition: $fast-transition;
      opacity: 0;
      position: absolute;
      bottom: 0;
      right: 0;
      height: 60px;
      width: 60px;
      background: #ffffff;

      &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: url("../img/arrow-blue.svg") no-repeat center;
        transition: $fast-transition;
      }

      &:hover::before {
        left: 5px;
      }
    }

    &:hover {
      color: #ffffff;

      .ecology-item__img {
        transform: scale(1.05);        
      }

      .ecology-item__close {
        opacity: 1;
      }
    }
  }
}
