/* ============================================================
   NewsWorld — 記事ページ専用スタイル
   ファイル: assets/css/article.css
   ============================================================ */

.article-hero {
  padding: 32px 0 24px;
  background: linear-gradient(180deg, var(--bg-tint) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin-bottom: 14px;
}
.article-meta .news-card-cat { font-size: 0.78rem; }
.article-meta time { color: var(--text-muted); font-weight: 600; }
.article-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.6rem, 3.5vw + 0.6rem, 2.4rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.article-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.95;
  max-width: 780px;
}
.article-body {
  margin: 32px auto 0;
  max-width: 780px;
  font-size: 1.06rem;
  line-height: 2.05;
}
.article-body h2 {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.article-body h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--gold-deep);
}
.article-body p { margin-bottom: 18px; }
.article-body strong { font-weight: 700; color: var(--text); background: linear-gradient(transparent 60%, color-mix(in srgb, var(--gold) 28%, transparent) 60%); padding: 0 2px; }
.article-body ul, .article-body ol { padding-left: 1.6em; margin-bottom: 18px; }
.article-body ul li { list-style: disc; margin-bottom: 6px; }
.article-body ol li { list-style: decimal; margin-bottom: 6px; }
.article-body blockquote {
  margin: 24px 0;
  padding: 16px 22px;
  background: var(--bg-soft);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  font-style: italic;
  color: var(--text-muted);
}
.article-body img {
  margin: 28px auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.article-body figure { margin: 28px 0; }
.article-body figcaption { font-size: 0.85rem; color: var(--text-subtle); text-align: center; margin-top: 8px; }
.article-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--gold-deep); }

.article-sources {
  margin: 40px auto 0;
  max-width: 780px;
  padding: 24px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.article-sources h3 {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
}
.article-sources ul { display: flex; flex-direction: column; gap: 8px; }
.article-sources li { font-size: 0.92rem; }
.article-sources a { color: var(--accent); text-decoration: underline; }
.article-sources .sources-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-subtle);
  line-height: 1.7;
}

/* SNS共有 */
.share-buttons {
  margin: 36px auto;
  max-width: 780px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all .2s var(--ease);
}
.share-btn:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }
.share-btn svg { width: 16px; height: 16px; }

/* 関連記事 */
.related-articles {
  margin: 56px auto 0;
  max-width: 1180px;
}
.related-articles h2 {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 28px;
}

/* 著作権・出典明記 */
.article-footer-note {
  margin: 40px auto 0;
  max-width: 780px;
  padding: 16px 18px;
  font-size: 0.82rem;
  color: var(--text-subtle);
  background: color-mix(in srgb, var(--gold) 6%, transparent);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  line-height: 1.7;
}

/* 目次 */
.toc {
  margin: 24px auto;
  max-width: 780px;
  padding: 20px 24px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.toc-title {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.toc ol { padding-left: 1.4em; }
.toc li { list-style: decimal; margin-bottom: 6px; }
.toc a { color: var(--text-muted); font-size: 0.95rem; }
.toc a:hover { color: var(--gold-deep); text-decoration: underline; }
