/*
 * Copyright inpleworks, Co.
*/
.xet-news-blog {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 16px;
}
.xet-news-blog .item {
  font-size: 14px;
}
.xet-news-blog .item .thumbnail {
  position: relative;
  overflow: hidden;
  background-color: #000;
}
.xet-news-blog .item .thumbnail img {
  width: 100%;
  vertical-align: top;
  transition: all 0.3s linear;
}
.xet-news-blog .item .thumbnail a {
  z-index: 1;
  position: absolute;
  top: 0;
  right: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s linear;
}
.xet-news-blog .item .thumbnail a > i {
  display: none;
}
.xet-news-blog .item .thumbnail + .contents {
  margin-top: 16px;
}
.xet-news-blog .item .contents a {
  font-weight: 700;
  color: #111;
}
.xet-news-blog .item .contents > div + div {
  margin-top: 10px;
}
.xet-news-blog .item .contents .meta {
  font-size: 12px;
}
.xet-news-blog .item .contents .meta span {
  margin: 0 3px;
}

/* responsive */
@media (min-width: 1024px) {
  .xet-news-blog {
    grid-template-columns: repeat(4, 1fr);
  }
  .xet-news-blog .item .thumbnail a {
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.3);
  }
  .xet-news-blog .item .thumbnail a > i {
    display: block;
  }
  .xet-news-blog .item:hover .thumbnail a {
    opacity: 1;
  }
  .xet-news-blog .item:hover .thumbnail img {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
}