.custom-blog-wrap .blog-page-title {
  color: #000;
  font-size: 44px;
  font-weight: 600;
  text-align: center;
  font-family: "Inter" !important;
}

.custom-blog-wrap,
.custom-blog-wrap h1,
.custom-blog-wrap h2,
.custom-blog-wrap h3,
.custom-blog-wrap h4,
.custom-blog-wrap h5,
.custom-blog-wrap h6,
.custom-blog-wrap p,
.custom-blog-wrap a,
.custom-blog-wrap div {
  font-family: "Inter" !important;
}

.blog-filter-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(10px, 1.302vw, 25px);
  margin-bottom: clamp(20px, 2.292vw, 44px);
}

.blog-filter-wrapper .search-wrap {
  position: relative;
  flex: 1;
}

.blog-filter-wrapper #blog-search {
  width: 100%;
  padding: 15px 40px 15px 15px;
  color: #333;
  border: 1px solid #8E8E93;
  border-radius: 12px;
  outline: none;
  transition: 0.4s;
  font-size: 18px;
  margin: 0;
}

.blog-filter-wrapper #blog-search::placeholder {
  color: #999;
}

.blog-filter-wrapper #blog-search:focus {
  background: #fff;
  border-color: #bbb;
}

.search-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 28px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23999'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  pointer-events: none;
}

.blog-filter-wrapper #blog-category {
  padding: 5px;
  color: #00000099;
  border: 1px solid #8E8E93;
  border-radius: 12px;
  font-size: 18px;
  height: 56px;
  background: transparent;
  min-width: 200px;
}

.blog-filter-wrapper #blog-category:focus {
  background-color: #fff;
  border-color: #bbb;
}

#blog-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(15px, 2.083vw, 40px);
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
}

.blog-card .blog-img,
.blog-card .blog-img img {
  width: auto;
  height: 256px;
  object-fit: cover;
}

.blog-card .blog-content {
  padding: clamp(15px, 1.042vw, 20px);
}

.blog-card .blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.blog-card .blog-tags span {
  font-size: 14px;
  color: #000;
  background: #7676801F;
  padding: 5px 10px;
  border-radius: 8px;
}

.blog-card .blog-content h3 {
  font-size: 18px;
  margin: 0;
  margin-bottom: 15px;
}

.blog-card .blog-content h3 a {
  color: #000;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card .blog-content h3 a:hover {
  color: #333;
}

.blog-card .blog-content p {
  font-size: 14px;
  color: #666666;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  margin-bottom: 15px;
}

.blog-card .blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 12px;
}

.blog-author-name-date {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-author-name-date span {
  font-size: 12px;
  color: #000;
  font-weight: 500;
  line-height: normal;
}

.blog-author-name-date .update-span {
  color: #666666;
  font-weight: 400;
  margin-top: 3px;
}

.blog-author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-card .blog-meta .meta-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-card .blog-meta .blog-author-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #D9D9D9;
  padding: 2px;
}

.blog-card .blog-meta .blog-share,
.blog-card .blog-meta .share-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

#load-more-btn {
  display: block;
  margin: 40px auto 0;
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 500;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.4s;
}

#load-more-btn:hover {
  background: #333;
}

#load-more-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.custom-blog-wrap .no-posts {
  grid-column: 1 / -1;
  text-align: center;
}

@media (max-width: 1366px) {
  #blog-results {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  #blog-results {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 600px) {

  .blog-filter-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-filter-wrapper .search-wrap {
    max-width: none;
  }

  #blog-results {
    grid-template-columns: 1fr;
  }

  .search-wrap::after {
    right: 10px;
    top: 23px;
  }

  .blog-filter-wrapper #blog-search {
    padding: 10px 40px 10px 10px;
    border-radius: 8px;
    font-size: 16px;
  }

  .blog-filter-wrapper #blog-category {
    min-width: 0;
    height: 46px;
    border-radius: 8px;
    font-size: 16px;
  }
}