/* ── 아티클 공통 스타일 ── */
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.breadcrumb {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-sub); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 6px; }

.article-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.tag-column { background: var(--secondary); color: #fff; }
.tag-guide  { background: var(--primary);   color: #fff; }
.tag-story  { background: #ef4444;           color: #fff; }

.article-title {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-sub);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.article-meta .dot { color: var(--border); }

.article-hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 36px;
  display: block;
}

/* ── 본문 타이포그래피 ── */
.article-body {
  font-size: 16px;
  line-height: 1.9;
  color: #222;
}
.article-body h2 {
  font-size: 22px;
  font-weight: 900;
  margin: 40px 0 16px;
  color: var(--text);
}
.article-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 32px 0 12px;
}
.article-body p { margin-bottom: 20px; }
.article-body strong { font-weight: 700; }
.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.article-body li { margin-bottom: 8px; }
.article-body blockquote {
  border-left: 4px solid var(--secondary);
  padding: 14px 20px;
  margin: 28px 0;
  background: #f8f5ff;
  border-radius: 0 8px 8px 0;
  font-size: 17px;
  font-style: italic;
  color: #444;
}
.article-body .article-img {
  width: 100%;
  border-radius: 10px;
  margin: 28px 0 8px;
  display: block;
}
.article-body .img-caption {
  text-align: center;
  font-size: 12px;
  color: #aaa;
  margin-bottom: 28px;
}
.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* ── 태그 ── */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-tags a {
  padding: 4px 12px;
  background: var(--bg-gray);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-sub);
  transition: all 0.2s;
}
.article-tags a:hover { background: #e9e5ff; color: var(--secondary); }

/* ── 승부예측 CTA ── */
.predict-cta {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a2e 100%);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  color: #fff;
  margin: 48px 0;
}
.predict-cta h3 { font-size: 18px; font-weight: 900; margin-bottom: 8px; }
.predict-cta p  { font-size: 13px; color: #888; margin-bottom: 20px; }
.predict-cta a {
  display: inline-block;
  padding: 11px 24px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s;
}
.predict-cta a:hover { background: var(--primary-dark); }

/* ── 관련 글 ── */
.related-section h2 {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 16px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  display: block;
}
.related-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.related-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: #eee;
}
.related-card-body { padding: 12px; }
.related-card-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card-meta { font-size: 11px; color: #bbb; margin-top: 6px; }

@media (max-width: 600px) {
  .article-wrap { padding: 32px 16px 60px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
