/*
* header
*/

.content__header {
  width: 100%;
  text-align: center;
  font-size: 32px;
  font-weight: lighter;
}

.content__header::after {
  content: "";
  margin-top: 16px;
  display: block;
  border-bottom: 1px solid #eeeeee;
}

/*
* post
*/

.posts {
  margin: 32px auto auto;
  text-align: left;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  grid-gap: 1rem;
}

@media screen and (max-width: 750px) {
  .posts {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-gap: 1rem;
  }
}

/*
* post-item
*/

.post-item {
  display: flex;
  flex-direction: column;
  /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); */
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
}

.post-item:hover {
  box-shadow: 0 0 8px 4px rgba(123, 255, 0, 0.4);
  /* -webkit-transform: translate(2px, -2px);
  transform: translate(2px, -2px);
  transition: transform 0.3s ease; */
}

.post-item .post-item__badge-city {
  position: absolute;
  background-color: #fff;
  margin-top: 16px;
  padding: 4px 8px;
  color: #88b849;
  font-weight: bold;
  font-size: 1.3em;
  border-radius: 0 8px 8px 0;
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.post-item .post-item__badge-rating {
  position: absolute;
  align-self: flex-end;
  background-image: linear-gradient(
    to right,
    rgba(255, 136, 0, 0),
    rgb(120, 211, 0)
  );
  margin-top: 180px;
  padding: 2px 8px 2px 40px;
  color: white;
  font-weight: bold;
  font-size: 1.3em;
}

.post-item__content {
  padding: 16px;
}

.post-item__thumbnail {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.post-item__title {
  font-weight: bold;
  font-size: 20px;
  color: #88b849 !important;
  transition: 0.3s opacity;
}

.post-item__title a {
  padding: 14px 0;
  font-weight: bold;
}

.post-item__title:hover {
  opacity: 0.5;
}

.post-item__title a {
  text-decoration: none;
  color: inherit;
}

.post-item__description {
  display: -webkit-box;
  margin: 8px 0;
  font-size: 16px;
  line-height: 1.5em;
  text-align: justify;
  overflow: hidden;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
}

.mockup:hover,
.mockup-frame:hover {
  -webkit-transform: translate(-32px, -64px);
  transform: translate(-32px, -64px) scale(1.2);
  transition: transform 0.3s ease-in-out;
}
