/* Elegance — tạp chí sang trọng: nền ngà, chữ serif, đường kẻ vàng ánh kim.
   Bố cục "editorial": ảnh chân dung lệch phải, tên chia dòng lớn. */

body.theme-elegance {
  --b-bg:      #faf7f2;
  --b-surface: #fffdfa;
  --b-ink:     #191410;
  --b-ink-2:   #4a4038;
  --b-ink-3:   #8a7c6e;
  --b-line:    #e5dcCE;
  --b-display: "Playfair Display", serif;
  --b-body:    "Lora", serif;   /* Lora dễ đọc hơn Playfair ở đoạn dài */
  --b-radius:  4px;
  --b-hero-h:  clamp(240px, 36vw, 460px);
  --gold:      #c9a227;
}

@media (prefers-color-scheme: dark) {
  body.theme-elegance {
    --b-bg:      #14100d;
    --b-surface: #1d1712;
    --b-ink:     #f4ede2;
    --b-ink-2:   #cdc0b0;
    --b-ink-3:   #93877a;
    --b-line:    #33291f;
  }
}

/* Thanh trên cùng mảnh, có đường kẻ vàng */
.theme-elegance .blog-bar { border-bottom: 1px solid var(--gold); }
.theme-elegance .blog-bar__name { letter-spacing: .04em; font-size: 1.05rem; }
.theme-elegance .blog-bar__nav a { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }

/* Ảnh bìa phủ lớp mờ để chữ nổi rõ. Chỉ áp khi thật sự có ảnh — phủ lên nền
   chuyển sắc của hồ sơ chưa có ảnh bìa chỉ làm nó xám xịt. */
.theme-elegance .bhero__cover:not(.bhero__cover--blank)::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgb(25 20 16 / .1), rgb(25 20 16 / .45));
}
.theme-elegance .bhero__inner { align-items: flex-end; }
.theme-elegance .bhero__portrait .avatar { border-radius: 2px; box-shadow: 0 0 0 1px var(--gold), var(--shadow-lg); }
.theme-elegance .bhero__awards { color: var(--gold); letter-spacing: .16em; font-size: .75rem; }
.theme-elegance .bhero__name { letter-spacing: -.01em; }

/* Tiêu đề khối kèm gạch chân vàng ngắn */
.theme-elegance .bsection__title {
  border-bottom: 0; position: relative; padding-bottom: .9rem;
  letter-spacing: .01em;
}
.theme-elegance .bsection__title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 56px; height: 2px; background: var(--gold);
}

.theme-elegance .bstats dd { font-size: 1.25rem; }
.theme-elegance .bstats dt { color: var(--gold); }

/* Bài viết: chữ hoa nhỏ cho ngày tháng, phân cách bằng đường kẻ mảnh */
.theme-elegance .bpost__meta { letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; }
.theme-elegance .bpost__cover { border-radius: 2px; }
.theme-elegance .bentry__title { letter-spacing: -.015em; }
.theme-elegance .bentry__body p:first-of-type::first-letter {
  float: left; font-size: 3.4em; line-height: .82; padding: .06em .09em 0 0;
  color: var(--gold); font-weight: 500;
}
.theme-elegance .bsocial a { border-radius: 2px; border-color: var(--gold); color: var(--b-ink-2); }
.theme-elegance .bauthor { border-radius: 2px; border-top: 2px solid var(--gold); }
.theme-elegance .bnav__item { border-radius: 2px; }
