.sec-post-gallery:last-child,
.sec-post-gallery:has(+ .sec-card-v2.list) {
  margin-bottom: 12rem;
}
.post-gallery-main img {
  width: 100%;
  height: 64rem;
  object-fit: cover;
}
.post-gallery-thumb-slider {
  margin-top: 2.8rem;
}
.post-gallery-thumb-img {
  width: 15rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
}
.post-gallery-thumb-img img {
  width: 100%;
  height: 9.7rem;
  object-fit: cover;
  cursor: pointer;
}
.sec-post-gallery .owl-dots {
  display: none !important;
}
@media(min-width:1460px) and (max-width:1499.98px) {
  .sec-post-gallery:last-child,
  .sec-post-gallery:has(+ .sec-card-v2.list) {
    margin-bottom: 10rem;
  }
}
@media(min-width:1360px) and (max-width:1459.98px) {
  .sec-post-gallery:last-child,
  .sec-post-gallery:has(+ .sec-card-v2.list) {
    margin-bottom: 8rem;
  }
}
@media(min-width:1200px) and (max-width:1359.98px) {
  .sec-post-gallery:last-child,
  .sec-post-gallery:has(+ .sec-card-v2.list) {
    margin-bottom: 8rem;
  }
}
@media(min-width:992px) and (max-width:1199.98px) {
  .sec-post-gallery:last-child,
  .sec-post-gallery:has(+ .sec-card-v2.list) {
    margin-bottom: 8rem;
  }
  .post-gallery-main img {
    height: 54rem;
  }
  .post-gallery-thumb-slider {
    margin-top: 1.6rem;
  }
  .post-gallery-thumb-img {
    width: 11rem;
  }
  .post-gallery-thumb-img img {
    height: 6.8rem;
  }
}
@media(min-width:768px) and (max-width:991.98px) {
  .sec-post-gallery:last-child,
  .sec-post-gallery:has(+ .sec-card-v2.list) {
    margin-bottom: 8rem;
  }
  .post-gallery-main img {
    height: 48.4rem;
  }
  .post-gallery-thumb-slider {
    margin-top: 1.6rem;
  }
  .post-gallery-thumb-img {
    width: 11rem;
  }
  .post-gallery-thumb-img img {
    height: 6.8rem;
  }
}
@media(max-width:767.98px) {
  .sec-post-gallery:last-child,
  .sec-post-gallery:has(+ .sec-card-v2.list) {
    margin-bottom: 5.6rem;
  }
  .post-gallery-main img {
    height: 35.8rem;
  }
  .post-gallery-thumb-img {
    width: 11rem;
  }
  .post-gallery-thumb-slider {
    margin-top: 1.6rem;
  }
  .post-gallery-thumb-img img {
    height: 7.2rem;
  }
}
@media(max-width:575.98px) { 
  .post-gallery-main img {
    height: calc(73vw - 3rem);
  }
}