/* -- Blogs Hero (aligned with index hero system) -- */
.hero {
  min-height: clamp(360px, 44vw, 520px);
  padding-bottom: 78px;
}

.blogs-hero__content {
  grid-template-columns: 1fr;
  align-items: end;
  gap: 0;
  padding-top: 64px;
  padding-bottom: 28px;
}

.blogs-hero__copy {
  max-width: 760px;
}

.blogs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 248, 239, 0.72);
  font-weight: 500;
}

.blogs-breadcrumb a {
  color: rgba(255, 248, 239, 0.86);
  transition: color 0.2s ease;
}

.blogs-breadcrumb a:hover { color: var(--accent-soft); }
.blogs-breadcrumb span { opacity: 0.72; }

.blogs-hero__copy h1 {
  margin: 14px 0 12px;
  max-width: 820px;
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: #fff8ef;
}

.blogs-hero__copy p {
  margin: 0;
  max-width: 620px;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.75;
  color: rgba(255, 248, 239, 0.84);
}

/* -- Category Filter Tabs -- */
.blog-filter-wrap {
  position: relative;
  z-index: 24;
  margin-top: -40px;
  padding: 0;
}

.blog-filter-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid rgba(30, 18, 8, 0.08);
  background: rgba(253, 248, 242, 0.94);
  box-shadow: 0 14px 40px rgba(120, 70, 30, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.bftab {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-soft);
  font: 500 0.82rem "Poppins", "Inter", sans-serif;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.bftab:hover {
  border-color: rgba(232, 120, 60, 0.40);
  color: var(--accent);
  background: rgba(232, 120, 60, 0.05);
}

.bftab--active {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-color: var(--accent-deep);
  color: #fff8ef;
  box-shadow: 0 4px 14px rgba(217, 96, 0, 0.25);
}

/* -- Blog Grid -- */
.blog-section {
  padding: 30px 0 80px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

/* -- Blog Card -- */
.blog-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(120, 70, 30, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(120, 70, 30, 0.12);
}

.blog-card__img-wrap {
  position: relative;
  display: block;
  height: 230px;
  overflow: hidden;
}

.blog-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__img-wrap img {
  transform: scale(1.05);
}

.blog-card__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(232, 120, 60, 0.92);
  color: #fff8ef;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.blog-card__body {
  padding: 22px 22px 24px;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--text-soft);
  font-size: 0.8rem;
  opacity: 0.75;
  font-weight: 500;
}

.blog-card__dot { opacity: 0.4; }

.blog-card__title {
  margin: 0 0 12px;
  font-family: "Poppins", "Inter", sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.3;
}

.blog-card__title a {
  color: var(--text);
  transition: color 0.2s ease;
}

.blog-card__title a:hover { color: var(--accent); }

.blog-card__excerpt {
  margin: 0 0 16px;
  color: var(--text-soft);
  font-size: 0.87rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__more {
  color: var(--accent);
  font-size: 0.87rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.blog-card__more:hover { color: var(--accent-deep); }

/* -- Compact Footer -- */
.page-footer {
  padding: 28px 0;
  border-top: 1px solid rgba(30, 18, 8, 0.08);
  background: rgba(253, 248, 242, 0.98);
}

.page-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(30, 18, 8, 0.45);
}

.page-footer__inner a {
  color: var(--accent);
  transition: color 0.2s ease;
}

.page-footer__inner a:hover { color: var(--accent-deep); }

/* -- Responsive -- */
@media (max-width: 900px) {
  .blogs-hero__content {
    padding-top: 54px;
    padding-bottom: 18px;
  }

  .blog-filter-wrap {
    margin-top: -30px;
  }

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

@media (max-width: 600px) {
  .hero {
    min-height: auto;
    padding-bottom: 34px;
  }

  .blogs-hero__content {
    padding-top: 34px;
    padding-bottom: 12px;
  }

  .blogs-hero__copy h1 {
    margin-top: 10px;
    font-size: clamp(1.68rem, 9vw, 2.36rem);
    line-height: 1.08;
  }

  .blogs-hero__copy p {
    font-size: 0.92rem;
    line-height: 1.68;
  }

  .blogs-breadcrumb {
    font-size: 0.8rem;
  }

  .blog-filter-wrap {
    margin-top: -12px;
  }

  .blog-filter-tabs {
    border-radius: 18px;
    padding: 10px;
  }

  .bftab {
    padding: 7px 14px;
    font-size: 0.78rem;
  }

  .blog-grid { grid-template-columns: 1fr; }
  .blog-section { padding-top: 20px; }
  .page-footer__inner { flex-direction: column; text-align: center; }
}
