@media (max-width: 1200px) {
  .blogdetail-head {
    font-size: 32px;
  }
  .blog-banner-bg {
    height: 200px;
  }
  .blog-banner-top {
    width: 380px;
    height: 380px;
    top: -250px;
  }
  .blog-block-head-top {
    font-size: 14px;
  }
  .blog-block-head-main {
    font-size: 26px;
  }
  .blog-block-cont-single .cont-block {
    gap: 10px;
  }
  .blog-block-cont-single,
  .blog-block-cont-single .cont-block .link-block {
    font-size: 14px;
    line-height: 1.4;
  }
  .blog-block-cont-single .cont-block .link-block::after {
    width: 5px;
    height: 5px;
  }
  .blogdetail-in .cont-block {
    font-size: 14px;
    line-height: 1.4;
  }
  .blogdetail-in .cont-block ul li::before {
    width: 5px;
    height: 5px;
  }
  .blogdetail-in .cont-block h5 {
    font-size: 14px;
    line-height: 1.4;
  }
  .blogdetail-in .cont-block .social {
    gap: 15px;
    font-size: 14px;
    line-height: 1.4;
  }
  .blogdetail-in .cont-block .social ul {
    gap: 10px;
  }
  .blogdetail-in .cont-block .social ul li a {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  .blogdetail-slider-nav [class*="swiper-button-custom"] {
    font-size: 18px;
  }
  .blogdetail-slider-nav {
    gap: 15px;
  }
}
@media (max-width: 1024px) {
  .blog-block {
    padding: 30px 0;
    gap: 30px;
  }
  .blog-block-cont-single .img-block {
    height: 210px;
  }
  .blogdetail {
    padding: 30px 0;
    gap: 30px;
  }
  .blogdetail-in .img-block {
    height: 400px;
  }
  .blogdetail-in .cont-block {
    max-width: 90%;
  }
}
@media (max-width: 992px) {
  .blog-block-head-main {
    font-size: 35px;
  }
  .blog-block-head-top {
    font-size: 16px;
  }
  .blog-block-cont {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .blogdetail-head {
    font-size: 22px;
  }
  .blog-banner-top {
    width: 280px;
    height: 280px;
    top: -190px;
  }
  .blogdetail-in .cont-block ul li {
    padding-left: 15px;
  }
  .blogdetail-in .cont-block ul li::before {
    top: 6px;
  }
  .blogdetail-slider-nav {
    gap: 15px;
    top: -40px;
  }
}
@media (max-width: 768px) {
  .blog-block-cont-single {
    font-size: 14px;
  }
  .blogdetail-head {
    font-size: 20px;
  }
  .blogdetail-in .img-block {
    height: auto;
  }
  .blogdetail-in .cont-block {
    max-width: none;
  }
  .blogdetail-slider-head {
    font-size: 22px;
  }
  .blogdetail-slider {
    padding: 30px 0;
  }
  .blogdetail-head {
    font-size: 16px;
  }
  .page-link {
    padding: 7px 12px;
    font-size: 13px;
  }
  .pagination a {
    display: none;
  }
  .pagination a.prev,
  .pagination a.next,
  .pagination a.active,
  .pagination a:first-child,
  .pagination a:last-child {
    display: block;
  }
  /* Add ellipsis after 1 */
  .pagination a:first-child::after {
    content: "...";
    margin: 0 6px;
    color: #666;
  }
  /* Add ellipsis before last */
  .pagination a:last-child::before {
    content: "...";
    margin: 0 6px;
    color: #666;
  }
}
@media (max-width: 576px) {
  .blog-block-head-main {
    font-size: 24px;
  }
  .blog-block-cont {
    grid-template-columns: repeat(1, 1fr);
  }
  .blogdetail-head {
    font-size: 20px;
  }
  .blogdetail-in {
    gap: 15px;
  }
  .blogdetail,
  .blogdetail-in .cont-block .social ul li a {
    font-size: 13px;
  }
  .blogdetail-slider-head {
    font-size: 16px;
  }
  .blog-block-cont-single,
  .blog-block-cont-single .cont-block .link-block {
    font-size: 12px;
  }
  .blog-block-cont-single .cont-block .link-block {
    padding-left: 10px;
  }
  .blog-banner-top {
    width: 190px;
    height: 190px;
    top: -130px;
  }
  .blog-banner-bg {
    height: 110px;
  }
  .blogdetail-slider-nav {
    top: -40px;
  }
  .blogdetail {
    gap: 20px;
  }
  .blogdetail-in .cont-block {
    gap: 15px;
  }
  .blogdetail-in .cont-block ul {
    gap: 15px;
  }
  .blogdetail-slider {
    gap: 20px;
  }
  .page-link {
    padding: 6px 10px;
    font-size: 12px;
  }
  .pagination {
    gap: 5px;
  }
}
