/* blog.css — gaya khusus halaman Blog (daftar + artikel).
   File terpisah (bukan style.css) supaya menambah gaya blog TIDAK mengubah hash
   ?v= style.css → halaman lama tetap byte-identik. Memakai token yang sudah ada
   (--gold/--ink/--line/--paper/--radius/--ink-soft/--ivory/--max). */

.blog-hero { padding: 96px 0 28px; background: var(--ivory); border-bottom: 1px solid var(--line); }
.blog-hero .eyebrow { color: var(--gold-deep); }
.blog-hero h1 { font-size: clamp(28px, 4vw, 44px); margin: 6px 0 10px; }
.blog-hero p { color: var(--ink-soft); max-width: 640px; font-size: 15.5px; }

.blog-list { padding: 34px 0 64px; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.blog-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); text-decoration: none; color: inherit; transition: box-shadow .18s, transform .18s; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-card-media { aspect-ratio: 16 / 9; background: var(--sand); overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-noimg { background: linear-gradient(135deg, var(--ivory), var(--sand)); }
.blog-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card-meta { display: flex; align-items: center; gap: 10px; }
.blog-date { font-size: 12.5px; color: var(--ink-soft); }
.blog-card-body h3 { font-size: 18px; line-height: 1.3; margin: 0; }
.blog-card-body p { font-size: 14px; color: var(--ink-soft); margin: 0; }
.blog-more { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--gold-deep); }
.blog-empty { color: var(--ink-soft); }

.blog-pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.blog-page-link { font-size: 13.5px; font-weight: 600; padding: 7px 13px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.blog-page-link:hover { border-color: var(--gold); }
.blog-page-link.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* halaman artikel */
/* Latar gelap SELALU (tidak bergantung overlay gambar) supaya header (H1/chip/
   tanggal berwarna terang) terbaca baik dengan maupun tanpa gambar hero. */
.blog-article-hero { background: var(--ink); min-height: auto; padding-top: 92px; }
.blog-article-hero .hero-content { padding-top: 8px; }
.blog-article-hero h1 { color: #fff; }
.blog-article-hero .blog-date { color: #e9e4d8; margin-top: 8px; }
.blog-article-body { padding: 40px 0 64px; }
/* Isi memakai container situs (--max) → tepi kiri SEJAJAR header/footer. Teks
   prose dibatasi 760 untuk keterbacaan, RATA KIRI (margin-left:0, bukan center).
   Tombol kembali ikut tepi kiri container yang sama. */
.blog-article-body .prose { max-width: 760px; margin-left: 0; text-align: left; }
.prose > *:first-child { margin-top: 0; }
.prose p { font-size: 16px; line-height: 1.75; color: var(--ink); margin: 0 0 18px; }
.prose h2 { font-size: 24px; margin: 34px 0 12px; }
.prose h3 { font-size: 19px; margin: 26px 0 10px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; }
.prose li { font-size: 16px; line-height: 1.7; margin-bottom: 6px; }
.prose a { color: var(--gold-deep); text-decoration: underline; }
.prose blockquote { margin: 0 0 18px; padding: 10px 18px; border-left: 3px solid var(--gold); background: var(--ivory); color: var(--ink-soft); font-style: italic; }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 6px 0 18px; }
.prose strong { font-weight: 700; }
.blog-back { margin-top: 26px; display: inline-block; }
