/* Main CSS File - Based on Nuxt Project Styles */

/* CSS Variables */
:root {
    --main-color: #00b96b;
    --width-layout-max: 1024px;
    --text-primary: #374151;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    padding: 0;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen,
    Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #fafafa;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-link {
    height: 100%;
    max-width: var(--width-layout-max);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
}

.header .logo {
    color: #000;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.logo:hover {
    color: var(--main-color);
}

.header a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.header a:hover {
    color: #00b96b;
    background: rgba(0, 185, 107, 0.1);
}

/* Language Switcher */
.language-switcher {
    position: relative;
    display: inline-block;
    margin-left: auto;
}

.language-toggle {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    transition: all 0.2s ease;
    min-width: 120px;
    justify-content: space-between;
}

.language-toggle:hover {
    border-color: #007bff;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.1);
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.dropdown-arrow.open {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    margin-top: 4px;
}

.language-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header .language-option {
    display: block;
    padding: 10px 12px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.language-option:last-child {
    border-bottom: none;
}

.header .language-option:hover {
    background-color: #f8f9fa;
}

/* Content Wrapper */
.content-wrapper {
    max-width: var(--width-layout-max);
    margin: 80px auto 0;
    width: 100%;
    min-height: calc(100vh - 80px);
    padding: 0 20px;
}

.main-content {
    margin-top: 10px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
    background: var(--bg-white);
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
    user-select: none;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 185, 107, 0.2);
}

.btn-primary {
    background: var(--main-color);
    color: white;
    border-color: var(--main-color);
}

.btn-primary:hover {
    background: #009456;
    border-color: #009456;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn-outline:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .nav-link {
        padding: 0 16px;
        gap: 16px;
    }

    .logo {
        font-size: 20px;
    }

    .header a {
        font-size: 14px;
        padding: 6px 12px;
    }

    .language-toggle {
        min-width: 100px;
        padding: 6px 10px;
        font-size: 13px;
    }

    .language-option {
        padding: 8px 10px;
        font-size: 13px;
    }

    .content-wrapper {
        padding: 0 16px;
    }

    /* Home Page Mobile */
    .site-name {
        font-size: 2.5rem;
    }

    .blog-intro h2 {
        font-size: 1.5rem;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .posts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .post-card {
        padding: 20px;
    }

    /* Blog List Mobile */
    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-filters {
        flex-direction: column;
    }

    .search-box,
    .category-filter {
        min-width: auto;
    }

    .blog-card {
        padding: 20px;
    }

    .blog-meta {
        flex-wrap: wrap;
    }

    .blog-title {
        font-size: 1.25rem;
    }

    .blog-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* Blog Detail Mobile */
    .article-title {
        font-size: 2rem;
    }

    .article-excerpt {
        font-size: 1.1rem;
    }

    .markdown-body {
        font-size: 1rem;
    }

    .markdown-body h2 {
        font-size: 1.5rem;
        margin-top: 32px;
    }

    .markdown-body h3 {
        font-size: 1.25rem;
        margin-top: 24px;
    }

    .post-navigation {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .next-post {
        text-align: left;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .article-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-buttons {
        width: 100%;
        justify-content: center;
    }

    /* Pagination Mobile */
    .pagination {
        gap: 4px;
    }

    .pagination-btn,
    .pagination-number {
        padding: 6px 8px;
        font-size: 0.75rem;
    }

    .pagination-numbers {
        gap: 2px;
    }

    /* About Page Mobile */
    .about-page h1 {
        font-size: 2rem;
    }

    .about-content {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .site-name {
        font-size: 2rem;
    }

    .blog-intro h2 {
        font-size: 1.25rem;
    }

    .blog-header h1 {
        font-size: 1.75rem;
    }

    .article-title {
        font-size: 1.75rem;
    }

    .post-card,
    .blog-card {
        padding: 16px;
    }

    .about-content {
        padding: 20px;
    }

    .nav-post,
    .related-post {
        padding: 16px;
    }
}

/* Home Page Styles - Inspired by gongjumi.com */
.index {
    padding: 40px 0;
}

.site-name {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-primary);
    line-height: 1.2;
}

.slogan {
    text-align: center;
    margin-bottom: 48px;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.blog-intro {
    text-align: center;
    margin-bottom: 64px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-intro h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.blog-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Latest Posts Section */
.latest-posts {
    margin-bottom: 64px;
}

.latest-posts h3 {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.post-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--main-color);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.post-category {
    background: rgba(0, 185, 107, 0.1);
    color: var(--main-color);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.post-date {
    color: var(--text-secondary);
}

.post-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    flex-grow: 1;
}

.post-card h4 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.post-card h4 a:hover {
    color: var(--main-color);
}

.post-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.view-all {
    text-align: center;
    margin-top: 32px;
}

/* Blog List Page Styles */
.blog-page {
    padding: 40px 0;
}

.blog-header {
    text-align: center;
    margin-bottom: 48px;
}

.blog-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.blog-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.blog-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.search-box,
.category-filter {
    flex: 1;
    min-width: 200px;
}

.search-input,
.category-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "SimSun", sans-serif;
    line-height: 1.5;
    background: var(--bg-white);
    transition: border-color 0.2s ease;
    text-align: left;
    vertical-align: middle;
}

.search-input:focus,
.category-select:focus {
    outline: none;
    border-color: var(--main-color);
    box-shadow: 0 0 0 2px rgba(0, 185, 107, 0.2);
}

/* CJK字符优化 */
.search-input,
.category-select {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 针对中文字符的微调 */
.search-input:lang(zh),
.category-select:lang(zh) {
    font-size: 15px;
    line-height: 1.4;
}

/* 针对日文字符的微调 */
.search-input:lang(ja),
.category-select:lang(ja) {
    font-size: 15px;
    line-height: 1.4;
}

/* 针对韩文字符的微调 */
.search-input:lang(ko),
.category-select:lang(ko) {
    font-size: 15px;
    line-height: 1.4;
}

.blog-list {
    display: grid;
    gap: 24px;
    margin-bottom: 48px;
}

.blog-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--main-color);
}

.blog-card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.875rem;
}

.blog-category {
    background: rgba(0, 185, 107, 0.1);
    color: var(--main-color);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.blog-date {
    color: var(--text-secondary);
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-title a:hover {
    color: var(--main-color);
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.blog-tag {
    background: var(--bg-light);
    color: var(--text-secondary);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.reading-time {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.read-more {
    color: var(--main-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: #009456;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }

.p-0 { padding: 0; }
.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.p-4 { padding: 32px; }
.p-5 { padding: 40px; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }

.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.border { border: 1px solid var(--border-color); }
.border-0 { border: none; }

.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-main { color: var(--main-color); }

/* Blog Detail Page Styles */
.blog-detail {
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.breadcrumb {
    margin-bottom: 32px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--main-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #009456;
}

.breadcrumb span {
    margin: 0 8px;
}

.article-header {
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.article-category {
    background: rgba(0, 185, 107, 0.1);
    color: var(--main-color);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.article-date,
.article-reading-time {
    color: var(--text-secondary);
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.article-excerpt {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-tag {
    background: var(--bg-light);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
}

.article-content {
    margin-bottom: 48px;
}

.markdown-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
}

.markdown-body h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 24px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
}

.markdown-body h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.markdown-body p {
    margin-bottom: 24px;
}

.markdown-body ul,
.markdown-body ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.markdown-body li {
    margin-bottom: 8px;
}

.markdown-body code {
    background: var(--bg-light);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
}

.markdown-body pre {
    background: var(--bg-light);
    padding: 16px;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin-bottom: 24px;
}

.markdown-body pre code {
    background: none;
    padding: 0;
}

.article-footer {
    margin-bottom: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 8px 16px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-primary);
    cursor: pointer;
}

.share-btn:hover {
    background: var(--main-color);
    color: white;
    border-color: var(--main-color);
    transform: translateY(-2px);
}

.share-btn.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.share-btn.facebook:hover {
    background: #4267b2;
    border-color: #4267b2;
}

.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

.nav-post {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.nav-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--main-color);
}

.nav-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.nav-title {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.4;
}

.prev-post {
    text-align: left;
}

.next-post {
    text-align: right;
}

.related-posts {
    margin-bottom: 48px;
}

.related-posts h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.related-post {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--main-color);
}

.related-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.75rem;
}

.related-post-category {
    background: rgba(0, 185, 107, 0.1);
    color: var(--main-color);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-weight: 500;
}

.related-post-date {
    color: var(--text-secondary);
}

.related-post-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    flex-grow: 1;
}

.related-post-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.related-post-title a:hover {
    color: var(--main-color);
}

.related-post-excerpt {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-post-footer {
    margin-top: auto;
}

.related-post-reading-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 48px 0;
    flex-wrap: wrap;
}

.pagination-btn,
.pagination-number {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-primary);
    background: var(--bg-white);
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
}

.pagination-btn:hover,
.pagination-number:hover {
    background: var(--main-color);
    color: white;
    border-color: var(--main-color);
    transform: translateY(-1px);
}

.pagination-number.current {
    background: var(--main-color);
    color: white;
    border-color: var(--main-color);
}

.pagination-numbers {
    display: flex;
    gap: 4px;
}

/* No Posts Message */
.no-posts {
    text-align: center;
    padding: 64px 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.no-posts h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.no-posts p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* About Page Styles */
.about-page {
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.about-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.about-content {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    line-height: 1.8;
}

.about-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.about-content p {
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.about-content li {
    margin-bottom: 8px;
    color: var(--text-primary);
}

.about-content strong {
    color: var(--main-color);
    font-weight: 600;
}

/* About Page Header */
.about-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.about-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.about-excerpt {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

/* Feature Grid for About Page */
.about-features {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--main-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Page Content Styles */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.page-excerpt {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

.page-body {
    margin-bottom: 48px;
}
