/* Article Semantic Styles */

.article-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

.article-header {
  margin-bottom: 2rem;
}

.article-header h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #1a1a1a;
  font-weight: 700;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  color: #666;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.article-meta time {
  color: #666;
}

.article-meta span[itemprop="author"] {
  color: #333;
}

.article-cover {
  margin: 0 0 2rem 0;
}

.article-cover img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.article-content {
  line-height: 1.8;
  font-size: 1.1rem;
  color: #333;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: #1a1a1a;
  font-weight: 600;
}

.article-content h3 {
  font-size: 1.4rem;
  margin: 1.5rem 0 0.75rem;
  color: #1a1a1a;
  font-weight: 600;
}

.article-content h4 {
  font-size: 1.2rem;
  margin: 1.25rem 0 0.5rem;
  color: #333;
  font-weight: 600;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.article-content a {
  color: #0066cc;
  text-decoration: underline;
}

.article-content a:hover {
  color: #004499;
}

.article-content blockquote {
  border-left: 4px solid #ddd;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #555;
}

.article-content ul,
.article-content ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content pre {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 0.9rem;
}

.article-content code {
  background: #f5f5f5;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-size: 0.9em;
}

.article-content pre code {
  background: none;
  padding: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .article-container {
    padding: 1rem;
  }

  .article-header h1 {
    font-size: 1.8rem;
  }

  .article-meta {
    font-size: 0.85rem;
  }

  .article-content {
    font-size: 1rem;
  }

  .article-content h2 {
    font-size: 1.5rem;
  }

  .article-content h3 {
    font-size: 1.2rem;
  }
}
