/* BlogKit - tema default, diselaraskan dengan beranda sahid.biz.id.
   Font sistem, warna steel blue, kartu membulat, dan mode gelap lewat atribut data-theme.
   Variabel warna dasar didefinisikan di site-shell.css; blok di bawah hanya cadangan. */
:root {
  --steel-blue: #2b73ae;
  --steel-blue-light: rgba(43, 115, 174, 0.1);
  --steel-blue-dark: #216094;
  --text-primary: #1a1a1a;
  --text-secondary: #7f8c8d;
  --bg-white: #ffffff;
  --bg-light: #f0f4ff;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 60px rgba(43, 115, 174, 0.15);
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --muted: #5d6d7e;
  --rule: rgba(43, 115, 174, 0.18);
}
[data-theme="dark"] {
  --text-primary: #ffffff;
  --text-secondary: #b0bec5;
  --bg-white: #0f1419;
  --bg-light: #1a1f2e;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 20px 60px rgba(43, 115, 174, 0.25);
  --steel-blue-light: rgba(43, 115, 174, 0.2);
  --muted: #b0bec5;
  --rule: rgba(43, 115, 174, 0.25);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg-white);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel-blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--steel-blue); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--steel-blue); color: #fff; padding: .6rem 1rem; z-index: 10002; }
.skip:focus { left: 0; }
.main { padding-top: 7.5rem; padding-bottom: 5rem; min-height: 60vh; }

/* Cadangan header lama (dipakai hanya bila shell tidak terpasang) */
.site-head { border-bottom: 1px solid var(--rule); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 1rem; padding-bottom: 1rem; flex-wrap: wrap; }
.brand { text-decoration: none; color: var(--text-primary); font-weight: 800; }
.brand-logo { height: 2.25rem; width: auto; }
.site-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .95rem; }
.site-nav a { color: var(--text-primary); text-decoration: none; }
.site-foot { border-top: 1px solid var(--rule); padding: 2rem 0 3rem; font-size: .9rem; color: var(--muted); }
.foot-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.foot-nav a { color: var(--muted); }

/* Judul bagian: tengah dengan garis aksen seperti beranda */
.section-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.2; color: var(--text-primary); text-align: center; margin: 0 0 2.75rem; position: relative; padding-bottom: 1.1rem; }
.section-title::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 60px; height: 3px; border-radius: 3px; background: var(--steel-blue); }

/* Intro beranda blog dan kepala arsip */
.intro { text-align: center; padding: 1rem 0 3rem; max-width: 52rem; margin: 0 auto; }
.intro h1, .archive-head h1 { font-size: clamp(2.25rem, 5.5vw, 3.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 1rem; background: linear-gradient(135deg, var(--text-primary), var(--steel-blue)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--text-primary); }
.lede { font-size: 1.2rem; color: var(--text-secondary); margin: 0 auto; max-width: 40rem; }
.archive-head { text-align: center; margin: 0 auto 3rem; max-width: 52rem; }
.archive-head p { color: var(--text-secondary); }
.count-line { font-size: .95rem; color: var(--text-secondary); margin: .5rem 0 0; }

/* Daftar artikel: grid kartu */
.listing { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }
.listing > .section-title, .listing > .empty, .listing > .pagination { grid-column: 1 / -1; }
.entry { display: flex; flex-direction: column; background: var(--bg-light); border: 1px solid var(--steel-blue-light); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.entry:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.entry-thumb { order: -2; display: block; }
.entry-thumb img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--steel-blue-light); }
.entry-meta { order: -1; display: flex; flex-wrap: wrap; gap: .15rem 1rem; padding: 1.25rem 1.5rem 0; font-size: .85rem; color: var(--text-secondary); }
.entry-meta a { color: var(--steel-blue); font-weight: 600; text-decoration: none; }
.entry-meta a:hover { text-decoration: underline; }
.entry-body { padding: .5rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.entry-title { font-size: 1.3rem; font-weight: 700; line-height: 1.35; margin: 0 0 .6rem; }
.entry-title a { color: var(--text-primary); text-decoration: none; }
.entry-title a:hover, .entry-title a:focus-visible { color: var(--steel-blue); }
.entry-ex { margin: 0 0 .75rem; color: var(--text-secondary); font-size: .98rem; line-height: 1.65; }
.entry-foot { margin: auto 0 0; font-size: .85rem; color: var(--text-secondary); }
.empty { color: var(--text-secondary); padding: 1.5rem 0; text-align: center; }

.topics { margin-top: 4.5rem; max-width: 52rem; margin-left: auto; margin-right: auto; }
.topic-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.topic-list li { margin: 0; }
.topic-list a { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1.1rem; border: 2px solid var(--steel-blue); border-radius: 50px; color: var(--steel-blue); font-weight: 600; text-decoration: none; transition: var(--transition); }
.topic-list a:hover { background: var(--steel-blue); color: #fff; }
.topic-list .count { color: var(--text-secondary); font-size: .85rem; }

/* CTA layanan */
.cta-card { margin-top: 3rem; padding: 2rem; border-radius: var(--radius); background: linear-gradient(135deg, var(--steel-blue-light), transparent), var(--bg-light); border: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.cta-card h2 { font-size: 1.35rem; font-weight: 800; line-height: 1.3; margin: 0 0 .35rem; }
.cta-card p { margin: 0; color: var(--text-secondary); max-width: 34rem; }
.cta-card .btn-primary { color: #fff; }
.home-cta { max-width: 60rem; margin-left: auto; margin-right: auto; margin-top: 4.5rem; }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .95rem; }
.pagination a, .pagination .pg-cur { padding: .4rem .85rem; border: 2px solid var(--rule); border-radius: 50px; text-decoration: none; min-width: 2.5rem; text-align: center; color: var(--text-primary); font-weight: 600; transition: var(--transition); }
.pagination a:hover { border-color: var(--steel-blue); color: var(--steel-blue); }
.pagination .pg-cur { background: var(--steel-blue); color: #fff; border-color: var(--steel-blue); }
.pagination .pg-gap { color: var(--text-secondary); }

/* Breadcrumb */
.crumbs { font-size: .88rem; color: var(--text-secondary); margin-bottom: 1.25rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--rule); }
.crumbs a { color: var(--text-secondary); text-decoration: none; }
.crumbs a:hover { color: var(--steel-blue); text-decoration: underline; }

/* Artikel */
.article-head { max-width: 64rem; margin-bottom: 2.25rem; }
.article-title { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.article-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
.article-side { font-size: .92rem; color: var(--text-secondary); }
.facts { margin: 0; display: grid; gap: .85rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); padding: 1.25rem 1.4rem; background: var(--bg-light); border: 1px solid var(--steel-blue-light); border-radius: var(--radius); }
.facts dt { font-size: .78rem; color: var(--text-secondary); }
.facts dd { margin: 0; color: var(--text-primary); font-weight: 600; }
.facts .sub { display: block; font-weight: 400; color: var(--text-secondary); font-size: .85rem; }
.facts a { color: var(--text-primary); text-decoration-color: var(--steel-blue); }
.toc { margin-top: 1.25rem; padding: 1.1rem 1.4rem; background: var(--bg-light); border: 1px solid var(--steel-blue-light); border-radius: var(--radius); }
.toc summary { cursor: pointer; font-weight: 700; color: var(--text-primary); }
.toc ol { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .4rem; }
.toc li.l3 { padding-left: 1rem; }
.toc a { color: var(--text-secondary); text-decoration: none; font-size: .92rem; line-height: 1.45; display: block; }
.toc a:hover { color: var(--steel-blue); text-decoration: underline; }
.article-main { min-width: 0; max-width: 46rem; }
.hero-img { margin: 0 0 2.25rem; }
.hero-img img { width: 100%; height: auto; border-radius: var(--radius); background: var(--steel-blue-light); box-shadow: var(--shadow); }

@media (min-width: 62rem) {
  .article-grid { grid-template-columns: 14.5rem minmax(0, 46rem); gap: 3.5rem; }
  .facts { grid-template-columns: 1fr; gap: 1rem; }
  .article-side { position: sticky; top: 6rem; align-self: start; max-height: calc(100vh - 7.5rem); overflow: auto; }
}

/* Isi artikel */
.prose { font-size: 1.125rem; line-height: 1.8; overflow-wrap: break-word; color: var(--text-primary); }
.prose > *:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.35rem; }
.prose h2 { font-size: 1.75rem; font-weight: 800; line-height: 1.25; letter-spacing: -0.015em; margin: 3rem 0 1rem; scroll-margin-top: 6rem; }
.prose h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.3; margin: 2.2rem 0 .75rem; scroll-margin-top: 6rem; }
.prose h4 { font-size: 1.1rem; font-weight: 700; line-height: 1.4; margin: 1.75rem 0 .5rem; scroll-margin-top: 6rem; }
.prose ul, .prose ol { margin: 0 0 1.35rem; padding-left: 1.5rem; }
.prose li { margin: .4rem 0; }
.prose li::marker { color: var(--steel-blue); }
.prose li > ul, .prose li > ol { margin: .35rem 0 0; }
.prose blockquote { margin: 1.5rem 0 1.75rem; padding: 1rem 1.4rem; border-left: 4px solid var(--steel-blue); background: var(--steel-blue-light); border-radius: 0 var(--radius) var(--radius) 0; color: var(--text-primary); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { margin: 1.5rem auto; border-radius: 12px; }
.prose figure { margin: 1.75rem 0; }
.prose figure img { margin: 0 auto; }
.prose figcaption { font-size: .88rem; color: var(--text-secondary); margin-top: .6rem; text-align: center; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }
.prose code { font: .9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--steel-blue-light); padding: .12em .4em; border-radius: 6px; }
.prose pre { background: var(--bg-light); border: 1px solid var(--rule); border-radius: 12px; padding: 1rem 1.2rem; overflow-x: auto; font-size: .9rem; line-height: 1.55; margin: 0 0 1.35rem; }
.prose pre code { background: none; padding: 0; }
.prose iframe { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; margin: 1.5rem 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1.6rem; border: 1px solid var(--rule); border-radius: 12px; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; line-height: 1.5; }
.prose th, .prose td { border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); padding: .65rem .85rem; text-align: left; vertical-align: top; }
.prose th:last-child, .prose td:last-child { border-right: 0; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { background: var(--steel-blue-light); font-weight: 700; }

/* FAQ, tag, penulis, terkait */
.faq { margin-top: 3.25rem; }
.faq h2, .author-box h2 { font-size: 1.5rem; font-weight: 800; line-height: 1.3; margin: 0 0 1rem; }
.faq details { background: var(--bg-light); border: 1px solid var(--steel-blue-light); border-radius: 12px; padding: .9rem 1.25rem; margin-bottom: .75rem; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; line-height: 1.5; }
.faq details[open] summary { color: var(--steel-blue); }
.faq-a { padding-top: .6rem; color: var(--text-primary); }
.faq-a p { margin: 0 0 .75rem; }
.taglist { margin: 2.5rem 0 0; font-size: .92rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.taglist .lbl { color: var(--text-secondary); }
.taglist a { color: var(--steel-blue); border: 2px solid var(--rule); border-radius: 50px; padding: .1rem .8rem; text-decoration: none; font-weight: 600; transition: var(--transition); }
.taglist a:hover { border-color: var(--steel-blue); background: var(--steel-blue-light); }
.author-box, .author-card { display: flex; gap: 1.25rem; align-items: flex-start; margin-top: 3rem; padding: 1.5rem; background: var(--bg-light); border: 1px solid var(--steel-blue-light); border-radius: var(--radius); }
.author-card { margin-top: 1rem; }
.author-box h2 { font-size: .85rem; font-weight: 600; color: var(--text-secondary); margin: 0 0 .25rem; }
.avatar { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; flex: none; background: var(--rule); }
.ab-name { margin: 0 0 .35rem; font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.ab-name a { color: var(--text-primary); text-decoration-color: var(--steel-blue); }
.ab-bio { margin: 0; font-size: .98rem; line-height: 1.65; color: var(--text-secondary); }
.ab-job { margin: 0 0 .35rem; font-size: .9rem; color: var(--text-secondary); }
.related { margin-top: 3.5rem; }
.related .section-title { text-align: left; font-size: 1.5rem; margin-bottom: 1.75rem; }
.related .section-title::after { left: 0; transform: none; }
.related .entry { margin-bottom: 1rem; }
.related .entry-meta { padding-top: 1rem; }
.related .entry-body { padding-bottom: 1.1rem; }
.related .entry-title { font-size: 1.1rem; margin: 0; }
.related .entry:hover { transform: translateY(-3px); }

/* Form pencarian */
.search-form { display: flex; gap: .5rem; max-width: 32rem; margin: 1.5rem auto; }
.search-form input { flex: 1; min-width: 0; padding: .75rem 1.1rem; border: 2px solid var(--rule); border-radius: 50px; background: var(--bg-white); color: var(--text-primary); font: inherit; font-size: 1rem; }
.search-form input:focus { border-color: var(--steel-blue); outline: none; }
.search-form button { padding: .75rem 1.5rem; border: 0; border-radius: 50px; background: var(--steel-blue); color: #fff; font: inherit; font-weight: 600; cursor: pointer; transition: var(--transition); }
.search-form button:hover { background: var(--steel-blue-dark); }

@media (max-width: 768px) {
  .wrap { padding: 0 1rem; }
  .main { padding-top: 6.25rem; padding-bottom: 3.5rem; }
  .listing { gap: 1.5rem; grid-template-columns: 1fr; }
  .prose { font-size: 1.0625rem; }
  .author-box, .author-card { flex-direction: column; }
  .cta-card { padding: 1.5rem; }
  .intro { padding-bottom: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .entry, .entry:hover, .related .entry:hover { transition: none; transform: none; }
}
@media print {
  .site-head, .site-foot, .toc, .related, .skip, .cta-card { display: none; }
  body { font-size: 11pt; color: #000; background: #fff; }
}

.preview-bar { background: #b45309; color: #fff; font-size: .9rem; line-height: 1.4; padding: .5rem 1rem; text-align: center; position: relative; z-index: 10002; }
.preview-bar a { color: #fff; }

/* Faveworks Insight brand layer */
:root{--fw-blue:#2B73AE;--fw-blue-dark:#216094;--fw-blue-light:#5EA8E6;--fw-purple:#946BD4;--fw-purple-dark:#8459C6;--fw-purple-light:#AC8BDE;--fw-grad:linear-gradient(135deg,#2B73AE 0%,#946BD4 100%);--font:'Montserrat','Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif}
body{font-family:var(--font)}
.logo{display:flex;align-items:center;gap:.6rem}
.logo .logo-text{font-weight:800;font-size:1.3rem;letter-spacing:-.5px;color:var(--text-primary)}
.scroll-progress-bar{background:var(--fw-grad)!important}
::selection{background:rgba(148,107,212,.25)}
