/* 全局样式 */
body {
    background-color: #f7f8fa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 标签样式 */
.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.tag:hover {
    background-color: #e5e7eb;
}

/* 文章内容样式 */
.article-content {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #374151;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.25;
}

.article-content h1 { font-size: 2.25rem; }
.article-content h2 { font-size: 1.875rem; }
.article-content h3 { font-size: 1.5rem; }
.article-content h4 { font-size: 1.25rem; }
.article-content h5 { font-size: 1.125rem; }
.article-content h6 { font-size: 1rem; }

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

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

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

.article-content blockquote {
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #10B981;
    background-color: #f3f4f6;
    font-style: italic;
}

.article-content code {
    padding: 0.2rem 0.4rem;
    background-color: #f3f4f6;
    border-radius: 0.25rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.article-content pre {
    margin: 2rem 0;
    padding: 1rem;
    background-color: #1f2937;
    border-radius: 0.5rem;
    overflow-x: auto;
}

.article-content pre code {
    padding: 0;
    background-color: transparent;
    color: #f3f4f6;
}

.article-content img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 0.5rem;
}

/* 卡片悬停效果 */
.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* 更多链接样式 */
.more-link {
    color: #10B981;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.more-link:hover {
    color: #059669;
}

/* 工具项样式 */
.tool-item {
    transition: all 0.2s ease;
}

.tool-item:hover {
    background-color: #f5f5f5;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .article-content {
        font-size: 1rem;
    }
    
    .article-content h1 { font-size: 2rem; }
    .article-content h2 { font-size: 1.75rem; }
    .article-content h3 { font-size: 1.5rem; }
    .article-content h4 { font-size: 1.25rem; }
    .article-content h5 { font-size: 1.125rem; }
    .article-content h6 { font-size: 1rem; }
} 