@charset "UTF-8";

/* Article Detail - Magazine Style */
.article-section { padding: 60px 0 80px; }

.article-container {
  max-width: 780px;
  margin: 0 auto;
}

.article-header { margin-bottom: 40px; }

.article-meta-top {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.article-tag {
  padding: 4px 14px;
  background: rgba(74,111,165,0.1);
  color: var(--secondary);
  font-size: 13px;
  border-radius: 4px;
  font-weight: 500;
}

.article-date {
  font-size: 14px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 16px;
}

.article-summary {
  padding: 20px 24px;
  background: #F8FAFC;
  border-radius: 12px;
  border-left: 4px solid var(--secondary);
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

/* Article Content - Magazine Reading */
.article-body {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text);
}

.article-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.article-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin: 36px 0 16px;
}

.article-body p {
  margin-bottom: 20px;
  text-align: justify;
}

.article-body a {
  color: var(--secondary);
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.article-body a:hover { border-bottom-color: var(--secondary); }

.article-body ul,
.article-body ol {
  margin: 20px 0;
  padding-left: 28px;
}

.article-body li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.article-body strong { color: var(--dark); }

.article-body blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: #F8FAFC;
  border-radius: 12px;
  border-left: 4px solid var(--secondary);
  font-style: italic;
  color: var(--text-light);
}

/* Article Footer */
.article-footer {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.article-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.article-tags a {
  padding: 6px 16px;
  background: #F8FAFC;
  border-radius: 50px;
  font-size: 13px;
  color: var(--text);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.article-tags a:hover {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

/* Related Articles */
.related-section { padding: 60px 0 80px; background: #F8FAFC; }

.related-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.related-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.related-item:hover {
  box-shadow: 0 4px 12px var(--shadow);
  border-color: var(--secondary);
}

.related-num {
  width: 40px;
  height: 40px;
  background: rgba(74,111,165,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  flex-shrink: 0;
}

.related-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
  line-height: 1.4;
}

.related-text span {
  font-size: 12px;
  color: var(--text-light);
}

/* Prev/Next Nav */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.article-nav a {
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.article-nav a:hover {
  border-color: var(--secondary);
  box-shadow: 0 4px 12px var(--shadow);
}

.article-nav .label {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.article-nav .title {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
}

.article-nav .next { text-align: right; }

/* Responsive */
@media (max-width: 768px) {
  .article-title { font-size: 24px; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 20px; }
  .related-list { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .next { text-align: left; }
}
