.z-posts-list {
  display: flex;
  flex-direction: column;
	position: relative;
  max-width: 100%;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
}
.z-posts-list-background {
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-repeat: no-repeat;
  background-size: auto;
}
.z-posts-list-title {
  width: 100%;
}
/* Tipos */
.z-posts-list-layout-list { }
.z-posts-list-layout-grid {
  .z-posts-list-item {
    display: grid;
    border-bottom: none; 
    margin-bottom: 0; 
    height: 100%;
  }
  .z-posts-list-item .z-cols-2 {
      grid-template-columns: repeat(2, 1fr);
    }
  .z-posts-list-item .z-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .z-posts-list-item .z-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.z-posts-list-layout-carousel { }

/* Item */
article.z-posts-list-item { 
  position: relative;
  width: 100%; 
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  z-index: 1;
}

.z-posts-list-item-thumbnail,
.z-posts-list-item-title,
.z-posts-list-item-description,
.z-posts-list-item-tags {
  width: 100%;
  flex-basis: 100%;
}
.z-posts-list-item-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}
.z-posts-list-item-description {
  text-align: justify;
}
.z-post-list-item-others {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 100%;
}
.z-posts-list-item-author,
.z-posts-list-item-date,
.z-posts-list-item-social,
.z-posts-list-item-comments,
.z-posts-list-item-tags {
  flex-grow: 1;
}

.z-options-ordering-1 { order: 1; }
.z-options-ordering-2 { order: 2; }
.z-options-ordering-3 { order: 3; }
.z-options-ordering-4 { order: 4; }
.z-options-ordering-5 { order: 5; }
.z-options-ordering-6 { order: 6; }
.z-options-ordering-7 { order: 7; }
.z-options-ordering-8 { order: 8; }

@media only screen and (max-width: 768px) {
  .z-posts-list-backgroung {
    background-size: cover !important;
    background-position: center !important;
  }
  .z-posts-list .z-posts-list-layout-grid {
    grid-template-columns: repeat(1, 1fr) !important;
  }
  .z-posts-list .z-posts-list-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
  }
}

@media only screen and (max-width: 992px) {
  .z-posts-list .z-posts-list-layout-grid {
    &.z-cols-3 .z-posts-list-item,
    &.z-cols-4 .z-posts-list-item {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}