.blog-hero {
  padding: 110px 0 56px;
  background: linear-gradient(160deg, #e8f0fe 0%, #f4f6fb 50%, #fff7ed 100%);
  position: relative; overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 45% 65% at 90% 50%, rgba(249,115,22,.08), transparent),
    radial-gradient(ellipse 55% 70% at 5%  50%, rgba(59,130,246,.08),  transparent);
}
.blog-hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 40px;
}
.blog-breadcrumb {
  display: flex; align-items: center; gap: 7px;
  font-size: .74rem; font-weight: 500; color: var(--text-4);
  margin-bottom: 16px;
}
.blog-breadcrumb a { color: var(--text-4); transition: color .2s; }
.blog-breadcrumb a:hover { color: var(--indigo-deep); }
.blog-breadcrumb-sep { color: var(--border-2); }
.blog-breadcrumb span { color: var(--indigo-deep); font-weight: 600; }

.blog-hero-title {
  font-family: var(--font-h);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300; line-height: 1.1;
  letter-spacing: -.02em; color: var(--text);
  margin-bottom: 12px;
}
.blog-hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--teal-deep), var(--indigo));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.blog-hero-title strong { font-weight: 700; }
.blog-hero-sub {
  font-size: .94rem; color: var(--text-3); line-height: 1.8;
  max-width: 480px; margin-bottom: 0;
}

.blog-search-wrap {
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1.5px solid var(--border-2);
  border-radius: 100px; padding: 10px 20px;
  min-width: 280px;
  box-shadow: var(--shadow-md);
  transition: border-color .25s, box-shadow .25s;
}
.blog-search-wrap:focus-within {
  border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-dim);
}
.blog-search-wrap input {
  border: none; background: transparent; outline: none;
  font-family: var(--font-b); font-size: .88rem; color: var(--text);
  width: 100%;
}
.blog-search-wrap input::placeholder { color: var(--text-4); }
.blog-search-icon { font-size: 1rem; color: var(--text-4); flex-shrink: 0; }

.blog-cats {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 60px; z-index: 100;
  padding: 0;
  box-shadow: 0 2px 12px rgba(10,15,30,.04);
}
.blog-cats-inner {
  display: flex; align-items: center; gap: 0;
  overflow-x: auto; scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.blog-cats-inner::-webkit-scrollbar { display: none; }
.blog-cats-inner.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.blog-cats-inner.is-dragging .bcat { pointer-events: none; }
.bcat {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 18px;
  font-size: .78rem; font-weight: 500; color: var(--text-3);
  white-space: nowrap; border-bottom: 2px solid transparent;
  transition: color .22s, border-color .22s, background .22s;
  cursor: pointer; flex-shrink: 0;
}
.bcat:hover  { color: var(--indigo-deep); background: var(--indigo-pale); }
.bcat.on { color: #1e3a8a; border-bottom-color: #1e3a8a; font-weight: 600; }

@media (max-width: 768px) {
  .blog-hero         { padding: 88px 0 40px; }
  .blog-hero-inner   { grid-template-columns: 1fr; gap: 20px; }
  .blog-search-wrap  { min-width: unset; width: 100%; }
  .blog-cats         { top: 72px; }
}