.deva-blog-posts-wrapper {
  position: relative;
}

.deva-blog-filters {
  margin-bottom: 30px;
}

.category-filters {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-filters > li {
  width: 24%;
}
.category-filters > li > a {
  display: block;
  text-align: center;
}

.category-filter {
  padding: 8px 16px;
  border: #48733d 1px solid;
  border-radius: 4px;
  text-decoration: none;
  background-color: #b5d1a7;
  color: #48733d;
  transition: all 0.3s ease;
  width: 100%;
}

.category-filter:hover,
.category-filter.active {
  background-color: #48733d;
  color: #fff;
  border-color: #48733d;
}

.deva-blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.deva-blog-post {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.deva-blog-post:hover {
  transform: translateY(-5px);
}

.deva-blog-posts-grid .post-thumbnail {
  position: relative;
  overflow: hidden;
  height: 230px;
}

.deva-blog-posts-grid .post-thumbnail img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background-position: center;
}

.post-content {
  padding: 20px;
  background: #ebf3e8;
  height: 100%;
}

.post-title {
  margin: 0 0 15px;
}

.post-title a {
  color: #333;
  text-decoration: none;
}

.post-excerpt {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}

.post-meta {
  font-size: 1em;
  margin-bottom: 20px;
}

.post-meta > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #304624;
}

.post-meta > span img {
  margin-bottom: 3px;
}

.post-categories a {
  color: #304624;
}

.deva-blog-loading {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background-color: #ffffff5b;
}

.spinner-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.loading-spinner {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #48733d;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.deva-blog-pagination {
  margin: 40px 0;
  text-align: center;
  display: flex;
  justify-content: center;
}

.deva-blog-pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  padding: 8px 12px;
  margin: 0 4px;
  border: none !important;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  list-style-type: none;
  background: #fff !important;
}

.deva-blog-pagination .page-numbers {
  padding: 8px 12px;
  margin: 0 4px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

.deva-blog-pagination .page-numbers.current,
.deva-blog-pagination .page-numbers:hover {
  background-color: #48733d;
  color: #fff;
  border-color: #48733d;
}

.category-filter.active {
  font-weight: bold;
}

.deva-blog-pagination .prev,
.deva-blog-pagination .next {
  font-size: 18px;
  line-height: 1;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-read-more {
  margin-top: 20px;
}

.read-more-button {
  color: #304624;
}
