.a-item {
  &__img {
    overflow: hidden;
    height: 336px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    &--news {
      height: 250px;
    }

    &--news--sm {
      height: 185px;
    }

    &--hashtag-post {
      height: 212px;
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 250ms;
    }
    video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 250ms;
    }

    &--with-hover {
      &:after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.35);
        transition: all 250ms;
        opacity: 0;
      }

      &__icon {
        position: absolute;
        font-size: 32px;
        color: var(--white);
        z-index: 2;
        transition: all 250ms;
        opacity: 0;
      }

      &:hover {
        &:after {
          opacity: 1;
        }

        .a-item__img--with-hover__icon {
          opacity: 1;
        }
      }
    }
  }

  &__title {
    padding-right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 250ms;
    word-break: break-word;

    &--link {
      transition: all 250ms;
    }
  }

  &__icon-item {
    display: flex;
    align-items: center;

    &__icon {
      margin-right: 10px;
      font-size: 18px;
    }
  }

  &__store-btns {
    display: flex;

    &__item {
      margin-right: 10px;
    }

    img {
      width: 100px;
    }
  }

  &__links {
    display: flex;
    align-items: center;

    &__item {
      margin-right: 15px;

      span {
        font-size: 18px;
      }
    }
  }

  &__details {
    display: flex;
    // align-items: center;
    flex-direction: column;

    &__item {
      display: flex;
      align-items: center;
      margin-right: 15px;
      color: var(--txt-color-sec);

      &__icon {
        margin-right: 5px;
        font-size: 12px;
      }
    }
  }

  &:hover {
    &.listOnly {
      .a-item__img {
        img {
          transform: scale(1);
        }
      }

      .a-item__title {
        transform: translateX(0px);
      }
    }

    .a-item__img {
      img {
        transform: scale(1.1);
      }
    }

    .a-item__title,
    .a-item__title--link {
      transform: translateX(8px);
    }
  }

  @media (max-width: 1025px) {
    &__img {
      height: 240px;

      &--news {
        height: 210px;
      }

      &--news--sm {
        height: 145px;
      }

      &--hashtag-post {
        height: 115px;
      }
    }
  }

  @media (max-width: 800px) {
    &__img {
      height: 180px;

      &--news {
        height: 140px;
      }

      &--news--sm {
        height: 120px;
      }

      &--hashtag-post {
        height: 85px;
      }
    }
  }

  @media (max-width: 600px) {
    &__img {
      height: 125px;

      &--hashtag-post {
        height: 126px;
      }
    }
  }

  @media (max-width: 440px) {
    &__img {
      height: 95px;
    }
  }
}

.facebook-link-item {
  color: var(--txt-color-to-orange);
}
