/* ═══════════════════════════════════════════════════════
   BLOG — list, featured, cards, article
═══════════════════════════════════════════════════════ */

.container--narrow { max-width: 820px; }

/* ── Controls ───────────────────────────────────────── */
.blog-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 44px;
}
.blog-search {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px; border-radius: var(--r-pill);
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--sh-soft); min-width: 260px;
  transition: border-color var(--t);
}
.blog-search:focus-within { border-color: var(--gold-500); }
.blog-search svg { color: var(--gold-500); flex-shrink: 0; }
.blog-search input {
  border: none; outline: none; background: none;
  font-size: 0.87rem; color: var(--ink); width: 100%;
}
.blog-search input::placeholder { color: var(--stone-light); }
.blog-searchnote { color: var(--stone); font-size: 0.88rem; margin-bottom: 26px; }
.blog-searchnote a { color: var(--gold-600); font-weight: 600; }

/* ── Featured post ──────────────────────────────────── */
.blog-featured {
  display: grid; grid-template-columns: 1.15fr 1fr;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-soft); margin-bottom: 34px;
  transition: var(--t); color: inherit;
}
.blog-featured:hover { transform: translateY(-5px); box-shadow: var(--sh-lift); border-color: var(--line-gold); }
.blog-featured__img { position: relative; overflow: hidden; min-height: 340px; }
.blog-featured__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.blog-featured:hover .blog-featured__img img { transform: scale(1.05); }
.blog-featured__badge { top: 18px; left: 18px; }
.blog-featured__body { padding: 46px 44px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured__title {
  font-family: var(--font-display); font-weight: 700;
  color: var(--ink); font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.24; margin-bottom: 14px;
}
.blog-featured:hover .blog-featured__title { color: var(--gold-600); }
.blog-featured__excerpt { color: var(--stone); font-size: 0.95rem; line-height: 1.8; margin-bottom: 22px; }

/* ── Card grid ──────────────────────────────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { overflow: hidden; display: flex; flex-direction: column; color: inherit; }
.blog-card__img { aspect-ratio: 16/10; overflow: hidden; }
.blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.blog-card:hover .blog-card__img img { transform: scale(1.06); }
.blog-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card__cat {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-600); margin-bottom: 10px;
}
.blog-card__title {
  font-family: var(--font-display); font-weight: 700;
  color: var(--ink); font-size: 1.1rem; line-height: 1.32; margin-bottom: 10px;
}
.blog-card:hover .blog-card__title { color: var(--gold-600); }
.blog-card__excerpt { color: var(--stone); font-size: 0.85rem; line-height: 1.7; flex: 1; margin-bottom: 18px; }
.blog-card__meta {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: 0.76rem; font-weight: 600; color: var(--stone-light);
}
.blog-card__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--stone-light); }
.blog-card__avatar {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--ink); font-size: 0.64rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.blog-card__avatar--lg { width: 44px; height: 44px; font-size: 0.9rem; }

/* ── Pagination ─────────────────────────────────────── */
.blog-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; margin-top: 52px;
}
.blog-page-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--r-pill);
  background: var(--white); border: 1px solid var(--line);
  color: var(--ink); font-size: 0.84rem; font-weight: 600;
  transition: var(--t);
}
.blog-page-btn:hover { border-color: var(--gold-500); color: var(--gold-600); }
.blog-page-info { font-size: 0.82rem; color: var(--stone); }

/* ── Article ────────────────────────────────────────── */
.post__head { padding: 170px 0 40px; text-align: center; }
.post__back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-600); font-size: 0.82rem; font-weight: 600;
  margin-bottom: 24px; transition: gap var(--t);
}
.post__back:hover { gap: 12px; }
.post__cat {
  display: inline-block; padding: 6px 16px; border-radius: var(--r-pill);
  background: var(--gold-tint); color: var(--gold-600);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 18px;
}
.post__title {
  font-family: var(--font-display); font-weight: 700;
  color: var(--ink); font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.14; letter-spacing: -0.015em;
}
.post__excerpt { color: var(--stone); font-size: 1.05rem; line-height: 1.8; margin: 18px auto 0; max-width: 680px; }
.post__byline {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 30px; text-align: left;
}
.post__author { font-weight: 700; color: var(--ink); font-size: 0.92rem; }
.post__meta { font-size: 0.79rem; color: var(--stone-light); margin-top: 2px; }

.post__cover-wrap { margin-bottom: 48px; }
.post__cover-wrap { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lift); }
.post__cover {
  width: 100%; aspect-ratio: 21/9; object-fit: cover;
  display: block;
}

.post__body { }
.post__body p {
  color: var(--stone); font-size: 1.03rem;
  line-height: 1.95; margin-bottom: 24px;
}
.post__body p:first-of-type {
  font-size: 1.14rem; color: var(--ink); line-height: 1.8;
}
.post__body p:first-of-type::first-letter {
  font-family: var(--font-display); font-weight: 700;
  font-size: 3.2rem; float: left; line-height: 0.9;
  margin: 6px 12px 0 0; color: var(--gold-500);
}
.post__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0; }
.post__footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding: 26px 0 0; margin-bottom: 70px;
  border-top: 1px solid var(--line);
}
.post__views {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; color: var(--stone-light);
}
.post__views svg { color: var(--gold-500); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured__img { min-height: 260px; }
  .blog-featured__body { padding: 32px 28px; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-controls { flex-direction: column; align-items: stretch; }
  .blog-search { min-width: 0; }
  .post__head { padding: 130px 0 30px; }
  .post__cover { aspect-ratio: 16/10; border-radius: var(--r-lg); }
  .post__body p:first-of-type::first-letter { font-size: 2.6rem; }
}
