/* Halaman baca artikel (baca.php) */
.narrow-page { max-width: 820px; }
.center-text { text-align: center; }
.center-text h1 { color: var(--navy-800); margin-bottom: 12px; }
.center-text p { margin-bottom: 20px; }

.preview-bar {
  background: #FFF3CD; color: #7A5600; padding: 10px 16px; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; text-align: center;
}
.preview-bar a { text-decoration: underline; }

.article-hero {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800) 60%, var(--blue-600));
  color: #fff; padding: 48px 0 96px; position: relative; overflow: hidden;
}
.article-hero::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  border: 3px dashed rgba(255,194,26,.35); animation: spin 40s linear infinite;
}
.crumbs { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.crumbs a:hover { color: var(--yellow); }
.crumbs span { margin: 0 6px; opacity: .5; }
.article-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 40px); line-height: 1.2; animation: fadeUp .7s ease both; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.8); }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .icon { color: var(--yellow); }

.article-cover { margin: -64px 0 32px; position: relative; z-index: 1; }
.article-cover img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 2 / 1; object-fit: cover; }
.article-body { padding-top: 8px; }
.article-cover + .article-body { padding-top: 0; }
.article-hero + .container .article-body:first-child { margin-top: 32px; }

.article-share { display: flex; align-items: center; gap: 10px; margin: 36px 0 28px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.article-share > span { font-weight: 700; color: var(--ink); font-size: 14px; }
.share {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; min-width: 40px; justify-content: center;
  border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy-800); padding: 0 12px;
  font: 600 13px var(--font); transition: .2s;
}
.share .icon { width: 18px; height: 18px; }
.share.wa:hover { background: #25D366; color: #fff; border-color: #25D366; }
.share.fb:hover { background: #1877F2; color: #fff; border-color: #1877F2; }
.share.copy:hover { background: var(--navy-800); color: #fff; }

.article-cta {
  display: flex; align-items: center; gap: 20px; justify-content: space-between; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); color: #fff; border-radius: var(--radius-lg);
  padding: 26px 28px; margin-bottom: 64px;
}
.article-cta h2 { color: #fff; font-size: 20px; margin-bottom: 4px; }
.article-cta p { color: rgba(255,255,255,.85); font-size: 14px; }

.related { background: var(--blue-50); padding: 56px 0 64px; }
.related h2 { color: var(--navy-800); margin-bottom: 22px; font-size: 22px; }
.article-grid.three { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 720px) {
  .article-hero { padding: 32px 0 80px; }
  .article-cover { margin-top: -56px; }
  .article-grid.three { grid-template-columns: 1fr; }
  .article-cta { padding: 22px 20px; }
  .article-cta .btn { width: 100%; white-space: normal; }
}
