.feed {
	/*
  margin-bottom: 60px;
  padding: 30px 0;
  */
}
.feed .controls {
  margin: 0 0 30px;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
}
.feed .result {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-line-pack: start;
  align-content: flex-start;
}
.feed .result .post {
  position: relative;
  display: block;
  margin: 0 1px;
  flex: 1;
  border-radius: 4px;
  overflow: hidden;
}

@media all and (max-width: 1200px) and (min-width: 768px) {
  .feed .result .post:nth-child(n + 5) {
    display: none;
  }
}

@media all and (max-width: 767px) {
  .feed .result .post:nth-child(n + 3) {
    display: none;
  }
}

.feed .result .post img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  border-radius: 4px;
  -webkit-transform: translate(0, -50%);
  transform: translate(0, -50%);
}

html[dir="rtl"] .feed .result .post img {
  left: auto;
  right: 0;
}

.feed .result .post .meta {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  padding: 15px;
  width: 100%;
  height: 60px;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(0, 0, 0, 0)),
    color-stop(60%, rgba(0, 0, 0, 0.65)),
    to(rgba(0, 0, 0, 0.65))
  );
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.65) 60%,
    rgba(0, 0, 0, 0.65) 100%
  );
  -webkit-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  overflow: hidden;
  box-sizing: border-box;
}

html[dir="rtl"] .feed .result .post .meta {
  left: auto;
  right: 0;
}

.feed .result .post .meta p {
  margin: 0 0 20px;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.feed .result .post .meta .stats {
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 10px;
  text-align: center;
}
.feed .result .post .meta .stats i {
  margin: 0 10px 0 0;
}
html[dir="rtl"] .feed .result .post .meta .stats i {
  margin: 0 0 0 10px;
}

.feed .result .post .meta .stats .likes {
  margin: 0 10px 0 0;
}

html[dir="rtl"] .feed .result .post .meta .stats .likes {
  margin: 0 0 0 10px;
}

.feed .result .post::after {
  display: block;
  padding-top: 100%;
  content: "";
}
.feed .result .post:hover .meta {
  height: 100%;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(rgba(0, 0, 0, 0.65)),
    color-stop(60%, rgba(0, 0, 0, 0.65)),
    to(rgba(0, 0, 0, 0.65))
  );
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.65) 60%,
    rgba(0, 0, 0, 0.65) 100%
  );
}
.feed .result .post:hover .meta p {
  opacity: 1;
  visibility: visible;
  overflow: hidden;
  white-space: pre-line;
  height: calc(100% - 40px);
}

.feed .result .post .meta .stats svg {
	width: 20px;
    height: 11px;
    padding: 0 4px;
    display: inline-block;
}
