//* Reset */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Noto Sans TC", sans-serif;
  background: #f7f8fa;
  color: #1f2937;
  line-height: 1.8;
}

/* Layout */
.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 16px 80px;
}

/* Nav */
.article-nav {
  margin-bottom: 24px;
}

.article-nav a {
  color: #2563eb;
  text-decoration: none;
  font-size: 14px;
}

.article-nav a:hover {
  text-decoration: underline;
}

/* Header */
.article-header {
  margin-bottom: 32px;
}

.article-tag {
  display: inline-block;
  background: #e0e7ff;
  color: #3730a3;
  padding: 4px 10px;
  font-size: 13px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.article-title {
  font-size: 32px;
  font-weight: 700;
  margin: 12px 0 20px;
  line-height: 1.3;
}

/* Meta */
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-size: 15px;
  font-weight: 600;
}

.publish-time {
  font-size: 13px;
  color: #6b7280;
}

/* Cover */
.article-cover {
  margin: 32px 0;
}

.article-cover img {
  width: 100%;
  border-radius: 12px;
}

.article-cover figcaption {
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
  text-align: center;
}

/* Content */
.article-content {
  font-size: 17px;
}

.article-content h2 {
  font-size: 24px;
  margin: 48px 0 16px;
  border-left: 4px solid #2563eb;
  padding-left: 12px;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul {
  padding-left: 20px;
  margin-bottom: 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  background: #eef2ff;
  border-left: 4px solid #4f46e5;
  font-style: italic;
  color: #4338ca;
}

/* Footer */
.article-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

/*.article-tags span {
  display: inline-block;
  margin-right: 10px;
  font-size: 13px;
  color: #2563eb;
}*/

.article-tags {
  margin-bottom: 16px;
}
.article-tags .tag {
  display: inline-block;
  border: 1px solid #333;
  border-radius: 999px;
  padding: 6px 14px;
  margin-right: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #333;
}

.article-tags .active {
  display: inline-block;
  border: 1px solid #2563eb;
  border-radius: 999px;
  padding: 6px 14px;
  margin-right: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #2563eb;
} 

/* Responsive */
@media (max-width: 600px) {
  .article-title {
    font-size: 26px;
  }

  .article-content {
    font-size: 16px;
  }
}