/* ============ Blog list page ============ */

.blog-hero {
  padding: 56px 0 8px;
  text-align: center;
}
.blog-hero .sec-kicker { justify-content: center; }
.blog-hero h1 {
  font-size: clamp(30px, 4vw, 44px); font-weight: 900; line-height: 1.3;
  margin-top: 14px;
}
.blog-hero p {
  color: var(--text-dim); font-size: 15.5px; margin-top: 14px;
  max-width: 560px; margin-inline: auto;
}

.blog-search {
  max-width: 460px; margin: 28px auto 0; position: relative;
}
.blog-search i {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--text-dim); font-size: 14px;
}
.blog-search input {
  width: 100%; padding: 13px 18px 13px 42px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  font-size: 14.5px; font-family: inherit; box-shadow: var(--shadow-soft);
  transition: border-color .2s, box-shadow .2s;
}
.blog-search input:focus {
  outline: none; border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 0 0 4px var(--orange-soft);
}

.blog-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin: 26px 0 6px;
}
.filter-pill {
  font-family: inherit; font-size: 13.5px; font-weight: 500; color: var(--text-dim);
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; cursor: pointer; transition: all .2s;
}
.filter-pill:hover { border-color: rgba(249, 115, 22, 0.4); color: var(--text); }
.filter-pill.active {
  background: var(--orange); border-color: var(--orange); color: #fff;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.28);
}

.blog-count {
  text-align: center; color: var(--text-dim); font-size: 13.5px; margin-bottom: 26px;
}

/* Featured (first) card spans full width with a horizontal layout */
.post-featured {
  grid-column: 1 / -1; display: grid !important; grid-template-columns: 1.1fr 1fr;
  min-height: 300px;
}
.post-featured .post-visual { height: 100%; aspect-ratio: auto; border-bottom: none; border-right: 1px solid var(--line); }
.post-featured .post-visual-badge { width: 88px; height: 88px; border-radius: 24px; font-size: 34px; }
.post-featured .txt { padding: 32px 36px; justify-content: center; }
.post-featured h3 { font-size: 24px; margin-bottom: 12px; }
.post-featured p { font-size: 14.5px; }

.post-meta {
  display: flex; gap: 16px; margin-top: 14px; font-size: 12.5px; color: var(--text-dim);
}
.post-meta i { margin-right: 5px; }

.blog-empty {
  text-align: center; padding: 60px 20px; color: var(--text-dim);
}
.blog-empty i { font-size: 34px; color: var(--line); margin-bottom: 14px; display: block; }

@media (max-width: 720px) {
  .post-featured { grid-template-columns: 1fr; }
  .post-featured .post-visual { aspect-ratio: 16 / 9; border-right: none; border-bottom: 1px solid var(--line); }
  .post-featured .txt { padding: 24px; }
}
