/* ==========================================================================
   Halaman detail berita
   ========================================================================== */

.article { padding-bottom: clamp(40px, 6vw, 80px); }

.article-head { max-width: 880px; padding-top: clamp(36px, 6vw, 68px); }

.article-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-600); margin-bottom: 22px;
  transition: gap .3s var(--ease), color .3s;
}
.article-back svg { width: 15px; height: 15px; }
.article-back:hover { gap: 13px; color: var(--gold-600); }

.article-meta {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute);
}

.article-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  line-height: 1.1; letter-spacing: -.03em;
  margin: 14px 0 24px;
  text-wrap: balance;
}

.article-byline { display: flex; align-items: center; gap: 12px; }
.avatar-lg {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
  background: var(--ink-800); color: var(--gold-300);
  font-weight: 800; font-size: .95rem;
}
.article-byline strong { display: block; font-size: .88rem; }
.article-byline small { font-size: .74rem; color: var(--text-mute); }

.article-hero { max-width: 1080px; margin: clamp(28px, 4vw, 44px) auto 0; padding-inline: var(--pad); }
.article-hero img {
  width: 100%; max-height: 560px; object-fit: cover;
  border-radius: clamp(16px, 2vw, 26px);
  box-shadow: var(--shadow-md);
}

.article-body {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(32px, 5vw, 56px);
  align-items: start;
}

.article-content {
  font-size: 1.03rem; line-height: 1.85; color: #26332e;
  max-width: 68ch;
}
.article-content > * + * { margin-top: 1.1em; }
.article-content p { margin: 0 0 1.1em; }
.article-content h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.6rem; line-height: 1.25; letter-spacing: -.02em;
  margin: 1.8em 0 .6em; color: var(--ink-900);
}
.article-content h3 { font-size: 1.2rem; font-weight: 700; margin: 1.5em 0 .5em; }
.article-content strong { color: var(--ink-900); }
.article-content a { color: var(--ink-600); border-bottom: 1px solid rgba(23, 83, 72, .3); }
.article-content a:hover { color: var(--gold-600); border-color: var(--gold-400); }
.article-content ul, .article-content ol { padding-left: 1.3em; margin-bottom: 1.1em; }
.article-content li + li { margin-top: .4em; }
.article-content blockquote {
  margin: 1.6em 0; padding: 18px 24px;
  border-left: 3px solid var(--gold-400);
  background: var(--cream-100);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-display); font-style: italic;
  font-size: 1.18rem; line-height: 1.5; color: var(--ink-800);
}
.article-content img { border-radius: 14px; margin: 1.4em 0; }
.article-content figure { margin: 1.6em 0; }
.article-content figcaption { font-size: .78rem; color: var(--text-mute); margin-top: 8px; font-style: italic; }
.article-content table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.article-content th, .article-content td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.article-content th { background: var(--cream-100); }

.article-gallery { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-gallery h2 { font-family: var(--font-sans); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 16px; }
.article-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.article-gallery-grid img { aspect-ratio: 4/3; width: 100%; object-fit: cover; border-radius: 10px; transition: transform .5s var(--ease); }
.article-gallery-grid a:hover img { transform: scale(1.04); }

.article-share { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.article-share p { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 12px; }
.share-btns { display: flex; gap: 8px; flex-wrap: wrap; }

.article-side {
  position: sticky; top: 100px;
  background: #fff; border-radius: var(--r-md);
  border: 1px solid var(--line);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.article-side h3 { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 16px; }
.side-item { display: grid; grid-template-columns: 78px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.side-item:first-of-type { border-top: 0; padding-top: 0; }
.side-thumb { border-radius: 9px; overflow: hidden; aspect-ratio: 1; background: var(--cream-200); }
.side-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.side-item:hover .side-thumb img { transform: scale(1.07); }
.side-item time { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); }
.side-item h4 { font-size: .84rem; font-weight: 600; line-height: 1.4; margin-top: 4px; transition: color .3s; }
.side-item:hover h4 { color: var(--ink-600); }

.article-cta { background: var(--ink-900); color: var(--cream-100); padding: clamp(48px, 6vw, 76px) 0; text-align: center; }
.article-cta h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.02em; }
.article-cta p { color: rgba(255, 255, 255, .55); margin-top: 8px; }
.article-cta .btn { margin-top: 24px; }

@media (max-width: 960px) {
  .article-body { grid-template-columns: 1fr; }
  .article-side { position: static; }
}
