@font-face {
    font-family: 'XWZK-Font'; 
    src: url('/fonts/xwzk.woff2') format('woff2'); 
    font-weight: normal;     font-style: normal; 
    font-display: swap; 
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 20px 15px; 
    font-family: 'XWZK-Font', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.uniform-link, .no-style-link {
    text-decoration: none;
    color: inherit;
    font: inherit; 
}
.uniform-link:hover, .no-style-link:hover {
    text-decoration: none;
}
.footer { 
    margin-top: 10px; 
    padding: 15px 0 15px; 
    border-top: 1px solid #e2e8f0; 
    text-align: center; 
    font-size: 14px; 
    color: #718096; 
}
.footer .record { 
    margin-top: 5px; 
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}
.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover {
    color: #bbb;
}
.text-center {
    text-align: center;
    margin: 20px 0;
}

.blog-header { 
    margin: 15px 0 40px 0; 
    text-align: center; 
}
.blog-header + .blog-title { 
    color: #2d3748; 
    font-size: 28px; 
    margin-bottom: 8px; 
    text-align: center;
}
.blog-header + .blog-title + .blog-subtitle { 
    color: #718096; 
    font-size: 16px; 
    font-weight: normal; 
    text-align: center;
    margin-bottom: 20px;
}
.article-card { 
    background-color: rgb(255,255,255); 
    padding: 20px 25px; 
    margin-bottom: 18px; 
    border-radius: 12px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); 
    transition: transform 0.2s; 
    display: none; 
    position: relative; 
    min-height: 100px; 
    align-items: center; 
    overflow: hidden; 
}
.article-card:hover { transform: translateY(-3px); }
.article-card .article-img { 
    position: absolute;
    right: 0; 
    top: 0; 
    height: 100%; 
    width: auto; 
    z-index: 1; 
    object-fit: cover; 
}
.article-card .article-text { 
    position: relative;
    z-index: 2; 
    max-width: 68%; 
}
.article-card .article-title { 
    font-size: 18px; 
    margin: 0; 
    color: #2d3748; 
}
.article-card .article-title a { 
    color: #2b6cb0; 
    text-decoration: none; 
}
.article-card .article-title a:hover { color: #2c5282; }
.load-more-btn {
    display: block;
    margin: 20px auto 15px;
    padding: 5px 8px;
    background-color: transparent;
    border: 1px solid #718096;
    color: #718096;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.3s, color 0.3s;
    outline: none;
}
.load-more-btn:hover {
    border-color: #4a5568;
    color: #4a5568;
}
.load-more-btn:disabled {
    background-color: transparent;
    border-color: #a0aec0;
    color: #a0aec0;
    cursor: not-allowed;
}

.article-meta + .article-content + .modal + .footer { 
    margin-top: 10px;
}
.article-title { 
    color: #2d3748; 
    font-size: 26px; 
    margin: 30px 0 15px; 
    line-height: 1.4; 
    text-align: center; 
}
.article-meta { 
    color: #718096; 
    font-size: 14px; 
    padding-bottom: 15px; 
    border-bottom: 1px solid #e2e8f0; 
    margin-bottom: 20px; 
    text-align: center; 
}
.article-content { 
    color: #4a5568; 
    line-height: 1.8; 
    font-size: 16px; 
    min-height: 120px; 
    padding: 25px; 
    margin: 0 0 20px; 
    border-radius: 12px; 
    background-color: rgba(255, 255, 255, 0.7); 
    backdrop-filter: blur(8px); 
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05); 
}
.article-content p { margin-bottom: 15px; } 
.article-content strong { color: #2d3748; }
.article-content img { 
    max-width: 100%; 
    height: auto; 
    border-radius: 10px; 
    margin: 1px auto; 
    display: block; 
}
.article-content .image-group {
    display: flex;
    justify-content: center; 
    margin: 5px 0; 
    gap: 10px;
}
.article-content .image-container {
    width: 100%; 
    text-align: center;
}
.article-content .thumbnail {
    width: 100%; 
    cursor: pointer;
    transition: transform 0.3s;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}
.article-content .thumbnail:hover {
    transform: scale(1.02); 
}
.article-content a {
    color: #3182ce;
    text-decoration: none;
}
.article-content a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .blog-header {
        margin: 10px 0 30px 0;
    }
    .blog-header + .blog-title { font-size: 24px; }
    .blog-header + .blog-title + .blog-subtitle { font-size: 14px; }
    .article-card {
        padding: 15px 20px;
        min-height: 90px; 
    }
    .article-card .article-text {
        max-width: 63%;
    }
    .article-card .article-title { font-size: 16px; }
    .load-more-btn {
        width: auto;
        padding: 4px 7px;
        margin: 15px auto 10px;
    }

    .article-title { font-size: 22px; margin-top: 20px; }
    .article-content { 
        font-size: 15px; 
        padding: 20px; 
    }
    .article-content .image-group {
        flex-direction: column;
    }

    .footer { font-size: 13px; }
}

@media (min-width: 481px) {
    body {
        max-width: 1000px;
        padding: 30px 40px;
    }
    .footer {
        font-size: 15px;
    }

    .blog-header + .blog-title {
        font-size: 32px;
    }
    .article-card {
        padding: 25px 30px;
    }

    .article-title {
        font-size: 32px;
        margin: 40px 0 20px;
    }
    .article-content {
        font-size: 17px;
        padding: 30px;
        margin: 0 auto 20px;
        max-width: 900px;
        min-height: 150px;
    }
    .article-content .image-group {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .article-content .image-container {
        width: 48%;
        max-width: 500px;
    }
}

.back-to-index {
             display: block;
             text-align: center;
             color: #718096; 
             font-size: 16px;
             margin: 10px 0 20px; 
             text-decoration: none; 
             cursor: default; 
             border: none; 
             background: transparent; 
             padding: 0; 
             margin-left: auto;
             margin-right: auto;
         }

         .back-to-index:hover,
         .back-to-index:active,
         .back-to-index:focus {
             text-decoration: none; 
             color: #718096; 
             outline: none; 
         }

         @media (max-width: 480px) {
             .back-to-index {
                 font-size: 15px;
                 margin: 8px 0 15px;
                 color: #718096;
             }
         }
    .blog-subtitle {
        font-size: 14px;
        color: #718096;
        margin-top: 5px;
    }
    @media (max-width: 480px) {
        .blog-subtitle {
            font-size: 14px;
        }
    }
