*{
  margin: 0;
  padding: 0;
}
li{
  list-style: none;
}
a{
  text-decoration: none;
}
ul{
  margin: 0;
  padding: 0;
}
/*===== post ===== */
.stwv-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 24px;
  grid-row-gap: 24px;
}
.stwv-blog-post-overlay {
  position: relative;
  border-radius: 4px;
  box-shadow: 3px 3px 6px rgba(117, 117, 117, 0.3);
  overflow: hidden;
}
.stwv-blog-post-overlay .stwv-back-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: 0.5s;
  overflow: hidden;
  position: relative;
  background-color: #333;
}
.stwv-blog-post-overlay:first-child .stwv-back-img{
  height: 450px;
}
.stwv-blog-post-overlay:not(:first-child) .stwv-back-img{
  height: 230px;
}
.stwv-blog-post-overlay .stwv-link-div {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
}
.stwv-blog-post-overlay .stwv-blog-meta {
  margin-bottom: 0;
  display: flex;
  align-items: center;
}
.stwv-blog-post-overlay .stwv-blog-meta span{
  padding-right: 0;
  display: block;
}
.stwv-blog-post-overlay .stwv-blog-meta span a {
  color: #fff;
  font-size: 15px;
  margin-right: 15px;
}
.stwv-blog-post-overlay .stwv-blog-meta span a i {
  color: #e51500;
  margin-right: 5px;
}
.stwv-blog-post-overlay .stwv-blog-meta .stwv-author img {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  border-radius: 50%;
  margin-right: 5px;
}
.stwv-blog-post-overlay .stwv-blog-category {
  margin: 0;
}
.stwv-blog-post-overlay.category-top-right .stwv-blog-category a{
  margin-left: 10px;
  margin-right: 0;
}
.stwv-blog-post-overlay .stwv-blog-category a {
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 4px 8px;
  border-right: 0;
  background-color: #e51500;
  color: #fff;
  margin-right: 10px;
  display: inline-block;
  text-decoration: none;
}
.stwv-blog-post-overlay.category-top-left .stwv-blog-category {
  position: absolute;
  top: 20px;
  left: 20px;
}
.stwv-blog-post-overlay.category-top-right .stwv-blog-category {
  position: absolute;
  top: 20px;
  right: 20px;
}
.stwv-blog-post-overlay .title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 15px;
  margin-bottom: 15px;
  text-decoration: none;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.stwv-blog-post-overlay:first-child .title{
  font-size: 28px;
}
.stwv-blog-post-overlay .title a {
  color: #fff;
  text-transform: capitalize;
  text-decoration: none;
}
.stwv-blog-post-overlay .inner {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  z-index: 1;
  height: 100%;
  position: relative;
}
.stwv-blog-post-overlay .inner .inner-card{
  padding: 20px;
}
.stwv-blog-post-overlay .inner:after {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -1;
  opacity: 0.7;
  background-color: transparent !important;
  background-image: linear-gradient(315deg, #090947 0%, #5a585a 74%) !important;
}
.stwv-blog-grid {
  grid-template-columns: repeat(3, 1fr);
}
.stwv-blog-post-overlay {
  position: relative;
  border-radius: 4px;
  box-shadow: 3px 3px 6px rgba(117, 117, 117, 0.3);
  padding: 0;
}
.stwv-blog-post-overlay:hover .stwv-back-img {
  transform-origin: inherit;
  transform: none;
}
/*===== Responsive css ===== */
@media (min-width: 768px) {
  .stwv-blog-grid .stwv-blog-post-overlay:first-child {
    grid-column: 1/4;
  }
}
@media (max-width: 767px) {
  .stwv-blog-grid {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }
  .stwv-blog-post-overlay:first-child .stwv-back-img{
    height: 300px;
  }
  .stwv-blog-post-overlay:not(:first-child) .stwv-back-img{
    height: 230px;
  }
  .stwv-blog-grid  {
    grid-template-columns: repeat(1, 1fr);
  }
  .stwv-blog-post-overlay .stwv-back-img{
    height: auto;
    min-height: 225px;
  }
}