/* ============================================================
   PT Pabrik Lakban Terdekat — Article styles (shared)
   Uniform: Judul · Share · Sidebar · Footer · SEO shell · Responsive
   Version: 2026-08-31 (v16 — case-box HP fix)
   ============================================================ */

:root {
  --kraft: #22D3EE;
  --kraft-dark: #0891B2;
  --paper: #0B1220;
  --ink: #F1F5F9;
  --ink-soft: #94A3B8;
  --red: #22D3EE;
  --red-dark: #06B6D4;
  --steel: #64748B;
  --line: rgba(148, 163, 184, 0.2);
  --white: #111827;
  --wa: #25D366;
  --dark: #0F172A;
  --surface: #111827;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  max-width: 100%;
}
body {
  background: var(--paper);
  color: #E2E8F0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  overflow-x: clip;
  max-width: 100%;
  min-height: 100vh;
}
img, video, iframe, svg { max-width: 100%; height: auto; display: block; }
table { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--kraft); }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
/* Anti teks terpotong kiri/kanan */
article,
.article-body,
.article-layout > article {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
article p,
article li,
article h1,
article h2,
article h3,
.lead,
.tip-box,
.faq-item,
.byline,
.bl-meta {
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  box-sizing: border-box;
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  main,
  article,
  .article-layout,
  .article-hero,
  .article-body,
  .article-layout > article {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    overflow-x: clip;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .article-hero h1 {
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }
  article h2 {
    padding-left: 12px;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  article p,
  article li,
  .lead,
  .tip-box,
  .faq-item p {
    max-width: 100%;
  }
  .tip-box,
  .faq-block,
  .article-cta,
  .related-posts {
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
  }
  .table-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100000;
  background: var(--kraft); color: #0B1220; padding: 10px 16px;
  font-weight: 600; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; outline: 2px solid #fff; }

/* ===== HEADER (seragam artikel.html) — fixed, hanya nav utama ===== */
body > header {
  position: fixed;
  top: 0; left: 0; right: 0; width: 100%;
  z-index: 10050;
  background: #0F172A;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
/* body padding-top diisi JS agar konten tidak ketutup header */
body.has-fixed-header {
  padding-top: 64px;
}
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 28px; max-width: var(--max); margin: 0 auto; gap: 16px;
  position: relative;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; transition: opacity .2s; }
.brand:hover { opacity: .9; }
.brand img { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; }
.brand-name {
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 13px;
  letter-spacing: .03em; line-height: 1.25; color: #fff;
}
.brand-name span {
  display: block; font-size: 10px; font-family: 'IBM Plex Mono', monospace;
  color: #94A3B8; letter-spacing: .04em; font-weight: 400;
}
.nav-right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.navlinks {
  display: flex; gap: 22px; font-family: 'Oswald', sans-serif; font-size: 12px;
  letter-spacing: .04em; text-transform: uppercase; font-weight: 500;
}
.navlinks a {
  position: relative; padding-bottom: 3px; color: #E2E8F0; transition: color .2s;
}
.navlinks a:hover, .navlinks a.active { color: var(--kraft); }
.navlinks a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--kraft); transition: width .25s; border-radius: 1px;
}
.navlinks a:hover::after, .navlinks a.active::after { width: 100%; }
.navlinks a.active { font-weight: 600; }

/* Lang switch */
.lang-switch {
  display: flex; border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 999px; overflow: hidden; flex-shrink: 0;
}
.lang-btn {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 600;
  padding: 6px 11px; background: transparent; color: #94A3B8;
  border: none; cursor: pointer; transition: all .2s; line-height: 1;
}
.lang-btn.active { background: var(--kraft); color: #0B1220; }
.lang-btn:hover:not(.active) { color: #E2E8F0; }

/* Nav CTA WA */
.nav-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: #25D366; color: #fff !important; font-family: 'Oswald', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 6px; transition: filter .2s, transform .15s;
}
.nav-cta:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff !important; }
.nav-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Mobile menu toggle — merah seperti homepage */
.menu-toggle {
  display: none;
  background: #C4362A;
  border: none;
  border-radius: 6px;
  width: 40px;
  height: 36px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #FFFFFF;
  padding: 0;
  line-height: 0;
  flex-shrink: 0;
  z-index: 10060;
  position: relative;
}
.menu-toggle svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  display: block;
}

@media (max-width: 900px) {
  .navlinks,
  #primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    background: #0F172A;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 14px 18px 18px;
    gap: 0;
    z-index: 10055;
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
  }
  .navlinks.open,
  #primary-nav.open { display: flex; }
  .navlinks a,
  #primary-nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(148,163,184,.12);
    color: #E2E8F0;
    font-size: 14px;
  }
  .navlinks a:hover,
  #primary-nav a:hover { color: #22D3EE; }
  .navlinks a::after { display: none; }
  .menu-toggle {
    display: flex;
  }
  .nav-cta { display: none; }
  nav { padding: 10px 16px; position: relative; }
}

@media (max-width: 720px) {
  body > header {
    background: #0F172A;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    min-height: 56px;
  }
  .brand-name { font-size: 12px; }
  .brand-name span { font-size: 9px; }
  body.has-fixed-header { padding-top: 56px; }
}

/* Focus visible */
:focus-visible { outline: 2px solid var(--kraft); outline-offset: 2px; }
button:focus:not(:focus-visible), a:focus:not(:focus-visible) { outline: none; }

/* ===== ARTICLE LAYOUT ===== */
.article-col {
  min-width: 0;
  max-width: 100%;
  grid-column: 1;
}
.article-layout > .sidebar {
  grid-column: 2;
}
@media (max-width: 960px) {
  .article-col,
  .article-layout > .sidebar {
    grid-column: 1;
  }
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 44px;
  align-items: start;
  padding: 20px 0 48px;
  width: 100%;
}
@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sidebar { position: static !important; width: 100%; max-height: none; }
}

/* ===== JUDUL / HERO — tidak sticky (hanya nav body>header yang sticky) ===== */
.article-hero {
  position: static !important;
  top: auto !important;
  padding: 28px 0 8px;
  border: none;
  background: transparent;
}
.article-hero .eyebrow,
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: var(--kraft);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
  font-weight: 500;
}
.article-hero h1 {
  font-family: 'Anton', 'Oswald', sans-serif;
  font-size: clamp(26px, 4.2vw, 38px);
  line-height: 1.18;
  color: #F8FAFC;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
  font-weight: 400;
  text-transform: none;
  word-break: break-word;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .article-hero h1 {
    font-size: clamp(20px, 5.8vw, 26px);
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
  }
  .article-hero { padding: 16px 0 4px; }
  /* URL & link panjang tidak mendorong layout */
  article a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .featured-img {
    max-height: 200px;
    object-fit: cover;
    width: 100%;
  }
  /* Sidebar list di HP: 1 kolom biar tidak sempit */
  .side-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
}

/* Byline */
.byline {
  display: flex; align-items: center; gap: 12px; margin: 0 0 8px;
}
.byline .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #0E7490, #22D3EE);
  color: #0B1220; font-family: 'Oswald', sans-serif; font-weight: 600;
  font-size: 13px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.byline .bl-name {
  font-size: 13.5px; font-weight: 600; color: #E2E8F0;
}
.byline .bl-meta {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px; color: var(--steel); margin-top: 2px;
}

/* ===== SHARE LINK ===== */
.share-row {
  display: flex; align-items: center; gap: 10px;
  margin: 18px 0 8px; flex-wrap: wrap;
}
.share-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px; color: var(--steel);
  text-transform: uppercase; letter-spacing: .04em;
  margin-right: 2px;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 6px; font-size: 12px;
  font-weight: 600; color: #fff !important; transition: filter .2s, transform .15s;
  line-height: 1.2;
}
.share-btn:hover { filter: brightness(1.1); transform: translateY(-1px); color: #fff !important; }
.share-btn svg { width: 14px; height: 14px; flex-shrink: 0; fill: currentColor; }
.share-btn.fb { background: #1877F2; }
.share-btn.li { background: #0A66C2; }
.share-btn.wa { background: #25D366; }
@media (max-width: 520px) {
  .share-label { width: 100%; margin-bottom: 2px; }
  .share-btn { padding: 7px 10px; font-size: 11px; }
  .share-btn span { display: inline; }
}

/* ===== ARTICLE BODY ===== */
article {
  color: #E2E8F0;
}
/* Hero di dalam kolom artikel — bukan full halaman */
.article-col .featured-img,
article .featured-img,
.featured-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  margin: 8px 0 22px;
  background: #0F172A;
  box-sizing: border-box;
}
@media (max-width: 960px) {
  .article-col .featured-img,
  article .featured-img,
  .featured-img {
    max-height: 280px;
  }
}
@media (max-width: 600px) {
  .article-col .featured-img,
  article .featured-img,
  .featured-img {
    max-height: 200px;
    margin: 10px 0 16px;
    border-radius: 10px;
  }
}

.lead, p.lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: #CBD5E1;
  margin-bottom: 28px;
}
/* Drop cap modern */
.lead::first-letter {
  float: left;
  font-family: 'Anton', 'Oswald', sans-serif;
  font-size: 3.35em;
  line-height: 0.82;
  padding: 0.08em 0.12em 0.02em 0;
  margin: 0.05em 0.1em 0 0;
  color: #22D3EE;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-shadow: 0 0 24px rgba(34, 211, 238, 0.25);
}
@media (max-width: 600px) {
  .lead::first-letter {
    font-size: 2.75em;
    line-height: 0.85;
    padding: 0.06em 0.1em 0 0;
    margin: 0.04em 0.08em 0 0;
  }
}

article h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: #F8FAFC;
  margin: 36px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--kraft);
  line-height: 1.35;
}
article h3 {
  font-size: 1.08rem;
  font-weight: 650;
  color: #F1F5F9;
  margin: 26px 0 10px;
}
article p {
  margin-bottom: 16px;
  color: #CBD5E1;
}
article ul, article ol {
  margin: 12px 0 20px 1.25em;
  color: #CBD5E1;
}
article li { margin-bottom: 8px; }
article li::marker { color: var(--kraft); }

.inline-link {
  color: var(--kraft) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .15s;
}
.inline-link:hover { color: #67E8F9 !important; }

.tip-box {
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-left: 4px solid var(--kraft);
  border-radius: 8px;
  padding: 16px 18px;
  margin: 28px 0;
  color: #E2E8F0;
  font-size: 0.98rem;
}

/* Tables — responsive PC / TAB / HP (tidak melebar ke body) */
.table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0 28px;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-sizing: border-box;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 0;
  table-layout: auto;
}
.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: #CBD5E1;
  vertical-align: top;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}
.data-table th {
  background: rgba(34, 211, 238, 0.08);
  color: #F8FAFC;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  white-space: normal;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover td { background: rgba(34, 211, 238, 0.04); }
@media (max-width: 600px) {
  /* Tabel horizontal ringkas: font kecil, kolom ikuti isi */
  .table-wrap {
    margin: 14px 0 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  .data-table {
    display: table !important;
    width: 100%;
    min-width: 0;
    table-layout: auto;
    font-size: 0.72rem;
    border-collapse: collapse;
  }
  .data-table thead {
    display: table-header-group !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
  }
  .data-table tbody { display: table-row-group !important; }
  .data-table tr {
    display: table-row !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
  .data-table th,
  .data-table td {
    display: table-cell !important;
    padding: 7px 8px !important;
    font-size: 0.72rem !important;
    line-height: 1.4 !important;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .data-table th {
    white-space: normal !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.02em;
    padding: 8px 8px !important;
    background: rgba(34, 211, 238, 0.1);
  }
  .data-table td::before { content: none !important; display: none !important; }
  .data-table tbody tr:hover td { background: rgba(34, 211, 238, 0.04); }
}

/* Related posts — 2 kolom, gambar zoom modern */
.related-posts {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.related-posts h2 {
  border-left: none;
  padding-left: 0;
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.related-posts h2 span { color: var(--kraft); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.related-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  transition: border-color .25s, background .25s, transform .25s, box-shadow .25s;
  text-decoration: none;
  min-width: 0;
}
.related-card:hover {
  border-color: rgba(34, 211, 238, 0.45);
  background: #0F172A;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}
.related-card .rc-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1E293B;
}
.related-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  flex-shrink: 0;
  transition: transform .45s ease;
  display: block;
}
.related-card:hover img {
  transform: scale(1.08);
}
.related-card .rc-body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.related-card .rc-title {
  font-size: 13px;
  font-weight: 600;
  color: #E2E8F0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.related-card:hover .rc-title { color: #22D3EE; }
.related-card .rc-excerpt {
  font-size: 12px;
  line-height: 1.5;
  color: #94A3B8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 600px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .related-card .rc-body { padding: 10px 10px 12px; }
  .related-card .rc-title { font-size: 12px; -webkit-line-clamp: 3; }
  .related-card .rc-excerpt { font-size: 11px; -webkit-line-clamp: 2; }
}
.related-card .rc-cat {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #22D3EE;
}

/* FAQ block (visible + schema FAQPage) */
.faq-block {
  margin: 32px 0 8px;
  padding: 0;
}
.faq-block > h2 {
  margin-bottom: 16px;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-item strong,
.faq-item .faq-q {
  display: block;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 6px;
  line-height: 1.4;
}
.faq-item p,
.faq-item .faq-a {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: #CBD5E1;
}

/* Article CTA */
.article-cta {
  background: #0F172A;
  border: 1px solid var(--line);
  padding: 28px 24px;
  text-align: center;
  margin-top: 36px;
  border-radius: 10px;
}
.article-cta p {
  margin-bottom: 16px;
  color: #CBD5E1;
  font-size: 1rem;
}
.cta-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff !important;
  font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: .03em; text-transform: uppercase;
  padding: 12px 22px; border-radius: 8px;
  transition: filter .2s, transform .15s;
}
.cta-wa:hover { filter: brightness(1.08); transform: translateY(-1px); color: #fff !important; }


/* ===== CASE STUDY: kiri logo, kanan teks + tabel ===== */
.case-box {
  display: grid;
  grid-template-columns: minmax(120px, 200px) minmax(0, 1fr);
  gap: 18px 20px;
  align-items: start;
  background: #111827;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  margin: 18px 0 28px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.case-logo {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #0B1220;
  border: 1px solid rgba(148,163,184,0.18);
  min-width: 0;
}
.case-logo img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  display: block;
  background: #fff;
  padding: 10px;
  box-sizing: border-box;
}
.case-body {
  min-width: 0;
  max-width: 100%;
}
.case-body p {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #CBD5E1;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.case-table {
  display: table;
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  table-layout: fixed;
}
.case-table th,
.case-table td {
  display: table-cell;
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(148,163,184,0.15);
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.case-table th {
  width: 32%;
  color: #22D3EE;
  font-weight: 600;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: normal;
}
.case-table td {
  color: #E2E8F0;
  font-weight: 500;
  font-size: 0.88rem;
  line-height: 1.45;
}
.case-table tr:last-child th,
.case-table tr:last-child td {
  border-bottom: none;
}
@media (max-width: 600px) {
  .case-box {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }
  .case-logo {
    max-width: 200px;
    margin: 0 auto;
  }
  .case-logo img {
    max-height: 140px;
    padding: 8px;
  }
  .case-body p {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  /* Specs: baris label | value, font kecil agar muat */
  .case-table {
    table-layout: fixed;
    font-size: 0.8rem;
    width: 100%;
  }
  .case-table th,
  .case-table td {
    display: table-cell !important;
    padding: 8px 6px !important;
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
    border-bottom: 1px solid rgba(148,163,184,0.12);
  }
  .case-table th {
    width: 34% !important;
    font-size: 0.68rem !important;
    color: #22D3EE !important;
    white-space: normal !important;
  }
  .case-table td {
    width: 66% !important;
  }
  .case-table th::before,
  .case-table td::before {
    content: none !important;
    display: none !important;
  }
}

/* CTA box + tombol WA proporsional */
.cta-box {
  background: #0F172A;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 24px 0;
}
.cta-box h3 {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #F8FAFC;
  margin: 0 0 8px;
  border: none;
  padding: 0;
}
.cta-box p {
  margin: 0 0 14px;
  color: #CBD5E1;
  font-size: 0.95rem;
  line-height: 1.65;
}
.cta-wa {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #25D366 !important;
  color: #fff !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  line-height: 1.25 !important;
  text-decoration: none !important;
  max-width: 100%;
  box-sizing: border-box;
}
.cta-wa svg,
.cta-wa .cta-wa-icon {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
  display: block !important;
}
.cta-wa:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  color: #fff !important;
}
@media (max-width: 480px) {
  .cta-wa {
    font-size: 13px !important;
    padding: 9px 14px !important;
    width: 100%;
    justify-content: center;
  }
}


/* ===== SIDEBAR ===== */
.sidebar {
  position: sticky;
  top: 80px;
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 12px 12px;
  min-width: 0;
}
.sidebar h3,
.sidebar-head h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 12.5px;
  letter-spacing: .06em;
  color: var(--steel);
  margin-bottom: 14px;
  text-transform: uppercase;
  font-weight: 600;
}
.sidebar h3 span { color: var(--kraft); font-weight: 500; }

.side-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.side-item {
  display: flex;
  gap: 12px;
  align-items: stretch;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  text-decoration: none;
  transition: background .22s, border-color .22s, transform .22s, box-shadow .22s;
  min-width: 0;
  background: transparent;
}
.side-item:last-child { border-bottom: none; }
.side-item:hover {
  background: rgba(34, 211, 238, 0.06);
  border-color: rgba(34, 211, 238, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.side-item.is-current {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: inset 3px 0 0 #22D3EE;
}
.side-thumb {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  background: #1E293B;
  display: block;
}
.side-item img,
.side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: transform .4s ease;
}
.side-item:hover img,
.side-item:hover .side-thumb img {
  transform: scale(1.1);
}
.side-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
  justify-content: center;
}
/* Ranking + views di atas — cyan */
.side-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 6px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #22D3EE;
  line-height: 1.2;
}
.side-num,
.side-views {
  color: #22D3EE;
  font-weight: 600;
}
.side-dot {
  color: rgba(34, 211, 238, 0.45);
  font-weight: 400;
}
.side-title,
.side-item .si-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #E2E8F0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.side-item:hover .side-title,
.side-item.is-current .side-title,
.side-item.is-current .si-title {
  color: #22D3EE;
}
.side-cat,
.side-item .si-cat {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 10px;
  color: #22D3EE;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.side-more {
  font-size: 11px;
  font-weight: 600;
  color: #67E8F9;
  margin-top: 2px;
  letter-spacing: 0.01em;
  transition: color .2s, transform .2s;
}
.side-item:hover .side-more {
  color: #A5F3FC;
}


@media (max-width: 960px) {
  .sidebar {
    position: static !important;
    width: 100%;
    max-height: none;
    order: 2;
  }
}

/* ===== FOOTER ===== */
footer {
  position: relative;
  background-color: #0F172A;
  background-image: url('https://pabrikpackagingsemarang.co.id/images/footer-background-produksi.webp');
  background-size: cover;
  background-position: center;
  color: #E2E8F0;
  margin-top: 40px;
}
footer::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(11, 18, 32, 0.88);
  z-index: 0;
}
footer .wrap {
  position: relative; z-index: 1;
  padding-top: 40px; padding-bottom: 24px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 32px;
  margin-bottom: 28px;
}
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; gap: 20px; }
}
footer h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 13px; letter-spacing: .04em;
  margin-bottom: 12px; color: #fff; font-weight: 600;
  text-transform: uppercase;
}
footer p, footer li, footer a {
  font-size: 13.5px; color: #94A3B8; line-height: 1.6;
}
footer a:hover { color: var(--kraft); }
footer ul { list-style: none; }
footer li { margin-bottom: 6px; }
.foot-brand img { width: 40px; height: 40px; border-radius: 8px; margin-bottom: 10px; }
.foot-contact a { display: inline-flex; align-items: center; gap: 6px; }
.foot-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding-top: 18px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 12.5px; color: #64748B;
}
.visitor-stats {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  color: #CBD5E1;
  letter-spacing: 0.02em;
  line-height: 1.4;
  visibility: visible;
  opacity: 1;
}
.visitor-stats b,
.visitor-stats #visitOnline,
.visitor-stats #visitToday,
.visitor-stats #visitTotal {
  color: #FFFFFF;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ===== UTILITIES ===== */
.article-views { white-space: nowrap; }

/* Print */
@media print {
  header, .sidebar, .share-row, .fab-stack, .article-cta, footer { display: none !important; }
  .article-layout { display: block; }
  body { background: #fff; color: #111; }
}

/* ===== FOOTER detail (seragam) ===== */
.foot-accent {
  height: 3px; width: 100%;
  background: linear-gradient(90deg, #22D3EE 0%, #06B6D4 50%, #22D3EE 100%);
  position: relative; z-index: 1;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1.2fr 1.2fr;
  gap: 28px 24px;
  margin-bottom: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; gap: 20px; }
}
.foot-brand {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.foot-brand img {
  width: 36px; height: 36px; border-radius: 8px; object-fit: cover;
}
.foot-brand .name {
  font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 14px; color: #fff;
}
.foot-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff !important;
  font-family: 'Oswald', sans-serif; font-size: 11.5px; font-weight: 600;
  padding: 8px 14px; border-radius: 6px; margin-top: 4px;
  transition: background .2s, filter .2s;
}
.foot-cta:hover { background: #1EBD59; color: #fff !important; }
.foot-cta svg { width: 15px; height: 15px; fill: currentColor; }
.foot-area-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-area-badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 6px 10px; border-radius: 6px; color: #E2E8F0;
}
.flinks { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; }
.flinks a {
  display: flex; align-items: flex-start; gap: 8px;
  color: #E2E8F0; transition: color .2s;
}
.flinks a:hover { color: #22D3EE; }
.flinks a svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.flinks-row { display: flex; flex-wrap: wrap; gap: 6px; }
.flinks-row a {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px;
  color: #E2E8F0; background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 10px; border-radius: 6px; white-space: nowrap;
  transition: background .2s, color .2s;
}
.flinks-row a:hover { background: rgba(255, 255, 255, 0.12); color: #22D3EE; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px; color: #94A3B8;
}
.foot-social { display: flex; gap: 12px; }
.foot-social a {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: center;
  color: #94A3B8; transition: background .2s, color .2s;
}
.foot-social a:hover { background: rgba(255, 255, 255, 0.12); color: #22D3EE; }
.foot-social svg { width: 16px; height: 16px; fill: currentColor; }

.contact-person-box {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Oswald', sans-serif; font-size: 12.5px; font-weight: 600;
  letter-spacing: .03em; color: #E2E8F0 !important;
  background: rgba(34, 211, 238, 0.12);
  border: 1.5px solid #22D3EE; border-radius: 8px;
  padding: 11px 16px; margin-bottom: 14px;
  transition: background .25s, transform .2s, color .2s;
  cursor: pointer; text-decoration: none; max-width: 100%;
}
.contact-person-box strong { font-weight: 700; color: #22D3EE; transition: color .2s; }
.contact-person-box svg { flex-shrink: 0; color: #22D3EE; transition: color .2s; }
.contact-person-box:hover {
  background: #22D3EE; color: #0F172A !important; transform: translateY(-1px);
}
.contact-person-box:hover strong,
.contact-person-box:hover svg { color: #0F172A; }

.visitor-stats {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  color: #CBD5E1;
  letter-spacing: 0.02em;
  line-height: 1.4;
  visibility: visible !important;
  opacity: 1 !important;
}
.visitor-stats .v-sep { opacity: 0.5; color: #94A3B8; }
.visitor-stats .v-icon {
  width: 14px; height: 14px; flex-shrink: 0; stroke: #94A3B8; opacity: 0.85;
}
.visitor-stats .v-dot {
  display: inline-block;
  width: 7px; height: 7px; border-radius: 50%;
  background: #25D366;
  margin-right: 4px;
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
  animation: vOnlinePulse 1.8s ease-out infinite;
}
@keyframes vOnlinePulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.visitor-stats b,
.visitor-stats #visitOnline,
.visitor-stats #visitToday,
.visitor-stats #visitTotal {
  color: #FFFFFF !important;
  font-weight: 600 !important;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 720px) {
  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .visitor-stats {
    font-size: 11.5px;
    width: 100%;
  }
}
