/* ── ARTICLE / NEWS DETAIL ── */
.article-header { margin-bottom: 2rem; }
.article-title {
  font-family: 'Press Start 2P', monospace;
  font-size: clamp(0.65rem, 2vw, 1rem);
  color: var(--text-bright);
  margin-bottom: 1rem;
  line-height: 1.8;
}
.article-meta { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.article-meta span { font-size: 1rem; color: var(--text-dim); }
.article-body { font-size: 1.2rem; color: var(--text); line-height: 1.7; }
.article-body p { margin-bottom: 1rem; }

/* ── ARTICLE DETAIL PAGE ── */
.article-detail {
  background: linear-gradient(180deg, var(--bg-card) 0%, #0d0d26 100%);
  border: 2px solid var(--border);
  padding: 2.5rem;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.7);
}
.article-back {
  margin-bottom: 2rem;
}
.article-detail .article-body {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}
.article-cover {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border: 2px solid var(--border);
  margin-bottom: 1.5rem;
}
.article-body h2,
.article-body h3 {
  font-family: 'Press Start 2P', monospace;
  color: var(--accent);
  font-size: 0.7rem;
  line-height: 1.8;
  margin: 1.5rem 0 0.75rem;
}
.article-body code {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.1rem 0.4rem;
  color: var(--accent3);
}
.article-inline-link { color: var(--accent); border-bottom: 1px solid var(--accent); }
.article-inline-img {
  max-width: 100%;
  border: 2px solid var(--border);
  margin: 1.25rem 0;
}
.article-list {
  list-style: square;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.article-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.article-media-item {
  background: var(--bg);
  border: 2px solid var(--border);
  padding: 0.75rem;
}
.article-img,
.article-video {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}
.article-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.article-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.article-media-cap {
  margin-top: 0.6rem;
  font-size: 1rem;
  color: var(--text-dim);
  text-align: center;
}
@media (max-width: 640px) {
  .article-detail { padding: 1.5rem; }
}
