/* Halaman blog publik (daftar + artikel). Dimuat setelah landing.css. */
.blog-page { padding-top: 72px; background: #fff; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--primary-700); }
.crumbs [aria-current] { color: var(--ink-2); }

.blog-hero { padding: 56px 0 34px; background: radial-gradient(800px 380px at 90% -20%, rgba(52, 211, 153, .25), transparent 60%), linear-gradient(180deg, #f3fbf7, #fff); text-align: left; }
.blog-hero h1 { font-size: clamp(26px, 3.7vw, 46px); letter-spacing: -.035em; font-weight: 800; line-height: 1.12; max-width: none; text-wrap: balance; }
@media (min-width: 900px) { .blog-hero h1 { white-space: nowrap; } }
.blog-hero p { color: var(--ink-2); font-size: 18px; max-width: 700px; margin: 12px 0 22px; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-cats a { padding: 7px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; font-size: 14px; text-decoration: none !important; transition: all .15s; }
.blog-cats a:hover { border-color: var(--primary); color: var(--primary-700); }
.blog-cats a.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.blog-list-wrap { padding-top: 34px; padding-bottom: 20px; }
.blog-pager { margin-top: 34px; display: flex; justify-content: center; }
.blog-empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.blog-empty svg { color: var(--primary); }
.blog-empty h2 { margin: 12px 0 6px; color: var(--ink); }
.post-grid.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Artikel */
.post-wrap { max-width: 820px; padding-top: 44px; padding-bottom: 40px; }
.post-head h1 { font-size: clamp(30px, 4.6vw, 46px); letter-spacing: -.035em; font-weight: 800; line-height: 1.12; margin: 10px 0 14px; }
.post-lead { font-size: 20px; line-height: 1.55; color: var(--ink-2); margin-bottom: 16px; }
.post-figure { margin: 26px 0 8px; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 44px rgba(15, 23, 42, .12); }
.post-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.article { font-size: 17.5px; line-height: 1.8; color: #1e293b; margin-top: 26px; overflow-wrap: anywhere; }
.article > *:first-child { margin-top: 0; }
.article h2 { font-size: 27px; letter-spacing: -.02em; margin: 2em 0 .6em; line-height: 1.25; }
.article h3 { font-size: 21px; margin: 1.6em 0 .5em; }
.article h4 { font-size: 18px; margin: 1.4em 0 .4em; }
.article p { margin: 0 0 1.15em; }
.article a { color: var(--primary-700); text-decoration: underline; text-underline-offset: 3px; }
.article ul, .article ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.article li { margin-bottom: .4em; }
.article blockquote { margin: 1.5em 0; padding: 14px 20px; border-left: 4px solid var(--primary); background: var(--primary-50); border-radius: 0 12px 12px 0; color: var(--ink-2); }
.article blockquote p:last-child { margin: 0; }
.article code { background: var(--line-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.article pre { background: #0b1220; color: #e2e8f0; padding: 16px; border-radius: 12px; overflow-x: auto; }
.article pre code { background: none; padding: 0; color: inherit; }
.article table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15.5px; display: table; }
@media (max-width: 640px) { .article table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
.article th, .article td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.article th { background: var(--line-2); }
.article hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.article img { max-width: 100%; height: auto; border-radius: 12px; }
.md-preview.article { margin-top: 16px; min-height: 200px; padding: 6px 4px; }

.post-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin: 40px 0 22px; padding: 26px 28px; border-radius: 20px; background: linear-gradient(135deg, #065f46, #0b1220); color: #d1fae5; }
.post-cta h2 { color: #fff; font-size: 21px; margin: 0 0 4px; } .post-cta p { margin: 0; color: #a7f3d0; font-size: 15px; max-width: 480px; }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.share a { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-2); font-weight: 600; text-decoration: none !important; }
.share a:hover { border-color: var(--primary); color: var(--primary-700); }
.related { padding-top: 10px; padding-bottom: 20px; }
.related > h2 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 18px; }
.preview-bar { background: #fef3c7; color: #92400e; text-align: center; padding: 10px 16px; font-size: 14px; font-weight: 600; }
.preview-bar a { margin-left: 10px; text-decoration: underline; }
