.blog-v1-category-listing {
  padding-bottom: 20px;
}

.blog-v1-category-header {
  margin-right: 0;
}

.blog-v1-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  align-items: stretch;
}

.blog-v1-category-card {
  width: 100%;
}

.blog-v1-category-card .blog-v1-listing-card-link {
  width: 100%;
}

.blog-v1-category-image-wrap {
  width: 100%;
}

.blog-v1-category-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 44px;
  padding-bottom: 10px;
}

.blog-v1-category-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-v1-category-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  color: #1d1d1d;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-v1-category-page:hover,
.blog-v1-category-page:focus-visible {
  border-color: rgba(0, 0, 0, 0.12);
  background: #f4f4f4;
}

.blog-v1-category-page.is-active {
  background: #1d1d1d;
  color: #ffffff;
  border-color: #1d1d1d;
}

.blog-v1-category-page--nav {
  min-width: auto;
  padding: 0 14px;
  border-radius: 999px;
  border-color: rgba(0, 0, 0, 0.12);
  background: #ffffff;
}

.blog-v1-category-page--nav.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.blog-v1-category-empty {
  text-align: center;
  padding: 48px 0;
  font-family: "Inter", sans-serif;
  color: #666666;
}

.blog-v1-category-page--ellipsis {
  min-width: 18px;
  padding: 0;
  border: none;
  background: transparent;
  color: #666666;
  font-weight: 700;
}

@media (max-width: 1200px) {
  .blog-v1-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .blog-category-newsletter {
    margin: 19px 0;
  }

  .blog-category-body .blog-v1-breadcrumb {
    margin: 0 5px;
  }

  .blog-category-body .blog-v1-listing {
    padding-top: 10px;
  }

  .blog-v1-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-v1-category-grid {
    grid-template-columns: 1fr;
  }

  .blog-v1-category-pagination {
    gap: 8px;
    flex-wrap: wrap;
  }

  .blog-v1-category-pages {
    gap: 8px;
  }
}
