.custom-archive-wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding: 0px;
  margin-top: 50px;
  margin-bottom: 50px;
  max-width: 1280px;
  position: relative;
  align-items: center;
  z-index: 1;
}

.blog-hero {
  position: relative;
  padding: 50px 20px;
  text-align: center;
  overflow: hidden;
}

.blog-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: auto;
}

.hero-badge {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 999px;
  background: #d6c9b2;
  color: #2d2d2d;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 30px;
}

.hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 400;
  line-height: 1;
  margin: 0;
  color: #333;
}

.hero-title span {
  color: #c5a15d;
  font-style: italic;
}

.hero-description {
  max-width: 760px;
  margin: 35px auto 0;
  font-size: 18px;
  line-height: 1.7;
  color: #6c8793;
  font-family: "Inter", sans-serif;
}

.blog-filter {
  background: #fff;
  padding: 40px;
  border-radius: 30px;
  max-width: 1280px;
}

.blog-filter h3 {
  font-family: "Public Sans", Sans-serif;
  font-size: 12px;
  padding: 10px 0;
  color: var(--e-global-color-secondary);
  text-transform: uppercase;
  /* margin-bottom: 10px; */
}

#blog-search {
  width: 100%;
  padding: 18px 25px;
  border-radius: 50px;
  background: #f3efe9;
  border: 1px solid #ddd;
  /* margin-bottom: 20px; */
}

.blog-category-btn,
.blog-concern-btn {
  color: color-mix(in oklab, #333 70%, transparent);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid #ddd;
  padding: 12px 16px;
  border-radius: 999px;
  background: #f3efe9;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* .blog-category-btn:hover,
.blog-concern-btn:hover {
  border-color: #c5a15d;
  color: #c5a15d;
}

.blog-category-btn.active,
.blog-concern-btn.active {
  background: #333;
  color: #fff;
  border-color: #333;
} */

/* Hover effect */
button.blog-category-btn:hover,
button.blog-concern-btn:hover {
  background-color: #333;
  color: #fff;
}

/* Active state */
.blog-category-btn.active,
.blog-concern-btn.active {
  background-color: #333;
  color: #fff;
}

#blog-ajax-posts {
	display: flex;
  flex: 1;
  flex-flow: row wrap;
  padding: 10px 0;
  gap: 25px;
  width: 100%;
  align-items: stretch;
  max-width: 1280px;
}

#blog-post-list {
    display: flex;
    flex-flow: row wrap;
    gap: 25px;
    width: 100%;
    padding: 10px 0;
    align-items: stretch;
}

#blog-ajax-posts h2 {
  font-size: 1.25rem;
}

/* #blog-ajax-posts p {
  font-family: "Public Sans", Sans-serif;
  font-size: 14px;
  color: color-mix(in oklab, #333 70%, transparent);
  margin: 0;
} */

.blog-card {
  display: flex;
  flex-direction: column;
  width: calc(33.333% - 17px);
  background: transparent;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(10, 10, 10, 0.06);
  align-self: stretch;
}

.blog-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__media {
  height: 200px;
  background-size: cover;
  background-position: center;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

.blog-card__inner {
  background: #fff;
  padding: 1.5rem;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.blog-card__meta {
  font-family: "Public Sans", Sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  color: #c5a15d;
  letter-spacing: 0.18em;
  font-weight: 600;
}

.blog-card h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #222;
  font-family: "Cormorant Garamond", Sans-serif;
  line-height: 1.3;
  min-height: calc(1.3em * 2);
}

.blog-card__excerpt {
  flex: 1;
}

.blog-card__excerpt p {
  color: #6c8793;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

#blog-ajax-posts .learn-more {
  font-family: "Public Sans", Sans-serif;
  font-size: 11px;
  margin-top: auto;
  text-transform: uppercase;
  letter-spacing: 1.7px;
  font-weight: 600;
  color: #c5a15d;
}

.blog-load-more-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
}

#blog-load-more {
    appearance: none;
    border: 1px solid #9D9790;
    background: transparent;
    color: #222;
    padding: 14px 36px;
    font-family: inherit;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s ease;
}

#blog-load-more:hover {
    background: #9D9790;
    color: #fff;
}

#blog-load-more:disabled {
    opacity: 0.5;
    cursor: wait;
}

#blog-post-list.loading {
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

@media (max-width: 768px) {
  .custom-archive-wrapper {
    padding: 30px 20px;
  }

  .blog-card {
    width: 48%;
  }

  .blog-filter {
    padding: 25px;
  }

  @media (max-width: 480px) {
    .blog-card {
      width: 100%;
    }
  }

  .blog-filter {
    padding: 25px;
  }

}

/* card Style start here */
