/* ══════════════════════════════════════════
   PAGE-ARTICLE — halaman single article
══════════════════════════════════════════ */

.nav-active { color: var(--teal) !important; }

/* ── Article hero ── */
.art-hero {
  background: var(--navy-dk); padding: 9rem 5% 5rem;
  position: relative; overflow: hidden;
}
.art-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='78'%3E%3Cpath d='M45 2 L83 23 L83 65 L45 86 L7 65 L7 23 Z' fill='none' stroke='rgba(42,181,160,0.05)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 90px 78px; pointer-events: none;
}
.art-hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .68rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 1.6rem;
}
.breadcrumb a       { color: rgba(255,255,255,.3); transition: color .2s; }
.breadcrumb a:hover { color: var(--teal-lt); }
.breadcrumb span    { color: var(--teal-lt); }
.breadcrumb-sep     { font-size: .5rem; }

.art-cat-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .6rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px; margin-bottom: 1.2rem;
  border: 1px solid rgba(42,181,160,.35); color: var(--teal-lt);
}
.art-cat-badge::before { content: ''; width: 5px; height: 5px; background: var(--teal); border-radius: 50%; }

.art-hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700; color: #fff; line-height: 1.12; letter-spacing: .5px; margin-bottom: 1.8rem;
}
.art-meta-row {
  display: flex; gap: 2rem; flex-wrap: wrap; align-items: center;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08);
}
.art-meta-item {
  display: flex; align-items: center; gap: .45rem;
  font-size: .75rem; color: rgba(255,255,255,.32);
}
.art-meta-item svg { flex-shrink: 0; }

/* ── 404 state ── */
#art-404 {
  background: var(--bg-lt); padding: 8rem 5%; text-align: center;
}
#art-404 h2 { font-family: 'Rajdhani', sans-serif; font-size: 2rem; color: var(--navy); margin-bottom: 1rem; }
#art-404 p  { color: var(--muted); margin-bottom: 2rem; }

/* ── Article layout ── */
.art-layout { background: #fff; padding: 5rem 5%; }
.art-layout-inner {
  max-width: 820px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 220px; gap: 4rem; align-items: start;
}

/* ── Article body typography ── */
.art-body { min-width: 0; }
.art-body p {
  font-size: .97rem; line-height: 1.9; color: #2D3748; margin-bottom: 1.5rem;
}
.art-body p.lead {
  font-size: 1.08rem; color: var(--navy); font-weight: 500;
  line-height: 1.85; border-left: 3px solid var(--teal);
  padding-left: 1.2rem; margin-bottom: 2rem;
}
.art-body h2 {
  font-family: 'Rajdhani', sans-serif; font-size: 1.5rem; font-weight: 700;
  color: var(--navy); letter-spacing: .5px; margin: 2.5rem 0 .9rem;
  padding-top: .5rem;
}
.art-body h3 {
  font-family: 'Rajdhani', sans-serif; font-size: 1.15rem; font-weight: 700;
  color: var(--navy); margin: 2rem 0 .7rem;
}
.art-body ul,
.art-body ol { padding-left: 1.4rem; margin-bottom: 1.5rem; }
.art-body li {
  font-size: .95rem; color: #2D3748; line-height: 1.8; margin-bottom: .4rem;
}
.art-body li strong { color: var(--navy); }
.art-body blockquote {
  border-left: 3px solid var(--orange); margin: 2rem 0;
  padding: 1.2rem 1.6rem; background: rgba(247,148,29,.05);
  border-radius: 0 3px 3px 0;
}
.art-body blockquote p {
  font-size: 1.02rem; color: var(--navy); font-style: italic;
  line-height: 1.75; margin: 0; font-weight: 500;
}
.art-body img {
  width: 100%; border-radius: 3px; margin: 1.5rem 0;
}

/* Tags */
.art-tags-wrap { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.art-tags-label {
  font-size: .62rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); margin-bottom: .8rem;
}
#art-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.art-tag {
  font-size: .6rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 9px; border-radius: 2px;
  color: var(--teal); border: 1px solid rgba(42,181,160,.25);
  background: rgba(42,181,160,.04);
}

/* Share buttons */
.art-share-wrap { margin-top: 2rem; }
.art-share-label {
  font-size: .62rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); margin-bottom: .8rem;
}
.share-btns { display: flex; gap: .6rem; }
.share-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1rem; border-radius: 2px; font-size: .72rem; font-weight: 600;
  text-decoration: none; transition: var(--t);
}
.share-btn.wa { background: #25D366; color: #fff; }
.share-btn.wa:hover { background: #1ebe5d; }
.share-btn.li { background: #0077B5; color: #fff; }
.share-btn.li:hover { background: #006097; }

/* ── Sidebar (sticky) ── */
.art-sidebar { position: sticky; top: 100px; }
.sidebar-card {
  background: var(--bg-lt); border: 1px solid var(--border); border-radius: 4px;
  padding: 1.5rem; margin-bottom: 1.5rem;
}
.sidebar-card h5 {
  font-family: 'Rajdhani', sans-serif; font-size: .75rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem;
}
.toc-list { list-style: none; padding: 0; }
.toc-list li { padding: .35rem 0; border-bottom: 1px solid var(--border); }
.toc-list li:last-child { border-bottom: none; }
.toc-list a { font-size: .8rem; color: var(--navy); transition: color .2s; text-decoration: none; }
.toc-list a:hover { color: var(--teal); }

/* Prev/next navigation */
.art-prevnext { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); display: flex; gap: 1rem; }
.pn-btn {
  flex: 1; border: 1px solid var(--border); border-radius: 3px; padding: 1rem 1.2rem;
  text-decoration: none; transition: var(--t); display: none;
}
.pn-btn:hover { border-color: var(--teal); background: rgba(42,181,160,.04); }
.pn-btn.prev { text-align: left; }
.pn-btn.next { text-align: right; }
.pn-label {
  font-size: .6rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--teal); display: block; margin-bottom: 4px;
}
.pn-title { font-size: .82rem; color: var(--navy); font-weight: 600; line-height: 1.35; }

/* ── Related articles ── */
#art-related { background: var(--bg-lt); padding: 5rem 5%; }
.art-related-inner { max-width: 1220px; margin: 0 auto; }
#art-related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2.5rem; }

.rel-card {
  background: #fff; border: 1px solid var(--border); border-radius: 4px;
  padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start;
  text-decoration: none; transition: var(--t);
}
.rel-card:hover { border-color: rgba(42,181,160,.3); box-shadow: var(--sh-sm); transform: translateY(-3px); }
.rel-thumb {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 3px;
  background: linear-gradient(160deg, #07111E, #0C2040);
  display: flex; align-items: center; justify-content: center;
}
.rel-thumb img { width: 28px; height: 28px; opacity: .65; }
.rel-body { min-width: 0; }
.rel-cat  { font-size: .58rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--teal); }
.rel-body h4 {
  font-family: 'Rajdhani', sans-serif; font-size: .92rem; font-weight: 700;
  color: var(--navy); margin: .3rem 0 .5rem; line-height: 1.25;
}
.rel-meta { font-size: .7rem; color: var(--muted); }

/* ── Back to articles CTA ── */
.art-back-wrap { background: var(--navy); padding: 4rem 5%; text-align: center; }
.art-back-wrap p { color: rgba(255,255,255,.4); font-size: .9rem; margin-bottom: 1.2rem; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .art-layout-inner  { grid-template-columns: 1fr; }
  .art-sidebar       { position: static; }
  #art-related-grid  { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 680px) {
  .art-meta-row      { gap: 1rem; }
  .art-prevnext      { flex-direction: column; }
  #art-related-grid  { grid-template-columns: 1fr; }
  .rel-card          { flex-direction: column; }
  .share-btns        { flex-wrap: wrap; }
}
