* { box-sizing: border-box; margin: 0; padding: 0; text-decoration: none;}
body { line-height: 1.6; color: #333; background: #f9f9f9; }
.container { max-width: 800px; margin: 0 auto; padding: 20px; }
header { text-align: center; margin-bottom: 30px; }
nav a { margin: 0 10px; text-decoration: none; color: #0073aa; }
.post { background: white; padding: 10px; margin-bottom: 10px; border-radius: 5px;  }
.comment { margin-top: 10px; padding-left: 0px; border-left: 0px solid #eee; }
.comment .avatar { width: 40px; height: 40px; border-radius: 50%; float: left; margin-right: 10px; }
.comment-content { overflow: hidden; }
.pagination { text-align: center; margin: 20px 0; }
.pagination a, .pagination span { display: inline-block;  margin: 0 2px; text-decoration: none; border-radius: 3px;border-color: #000;
    text-decoration: none;
    border: 1px solid #3690cf;
    padding: 2px 10px;
    margin: 2px;
    color: #000;}
.pagination .current { background: #0073aa; color: white; }
form label { display: block; margin-top: 10px; }
form input, form textarea, form select { width: 100%; padding: 8px; margin-top: 5px; }
.btn { background: #0073aa; color: white; border: none; padding: 10px 15px; cursor: pointer; }
.admin-menu { background: #333; padding: 10px; }
.admin-menu a { color: white; margin-right: 15px; text-decoration: none; }



        .meta {
            color: #888;
            font-size: 0.95em;
            margin-bottom: 30px;
        }
        .post-content {
            font-size: 1.05em;
        }
        .post-content blockquote {
            border-left: 4px solid #ddd;
            padding-left: 15px;
            color: #666;
            margin: 20px 0;
        }
        /* 图片样式 */
        .post-content img {
            max-width: 100%;
            height: auto;
            margin: 15px 0;
            display: block;
            border-radius: 8px;
        }
        /* 视频响应式 */
        .post-content .video-wrapper {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 */
            height: 0;
            margin: 15px 0;
        }
        .post-content .video-wrapper iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
        /* 视频原生（MP4） */
        .post-content video {
            max-width: 100%;
            margin: 15px 0;
        }
        /* 代码块 */
        .post-content pre {
            background: #2d2d2d;
            color: #f8f8f2;
            padding: 15px;
            border-radius: 5px;
            overflow-x: auto;
            margin: 15px 0;
            font-size: 0.95em;
        }
        .post-content code {
            background: #f0f0f0;
            padding: 2px 4px;
            border-radius: 3px;
            font-family: monospace;
        }
        /* 链接样式 */
        .post-content a {
            color: #007bff;
            text-decoration: underline;
        }
        
        
         /* --- 前端 --- */
         
         
           .gk {
            
         }
        /* 顶部导航栏 */
        .navbar {
            
            
            display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin-bottom: 15px;
    background: #dfd7c8;
    background-color: #ff7171;
    background-image: url(https://pic.616pic.com/phototwo/00/00/57/618a541e796b89735.jpg);
    background-position: center;
    border-radius: 10px 10px 20px 20px;
    border: 2px solid #4d4343;
    box-shadow: 5px 5px 0px -2px #434343, 5px 5px #434343;
            
        }
         
          .navbar .archive-and-about {
            display: flex;
            align-items: center;
        }

        .navbar .archive-and-about a {
            font-size: 16px;
            color: white;
            text-decoration: none;
            margin-left: 16px;
        }
        
        
        .navbar .logo {
            font-size: 24px;
            font-weight: bold;
            color: white;
            text-decoration: none;
        }
        
        .navbar .logo-title {
        isplay: flex;
    flex-direction: column;
        
        }
        
        
        .gk-title {
            font-size: 24px;
            margin-bottom: 5px;
            position: relative;
    overflow: hidden;
    margin: auto;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
        }
        
        
        .gk-subtitle {
            color: #000;
            font-size: 14px;
        }
        
         
         
          .content-card {
            background-color: #fff;
            width: 360px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            overflow: hidden;
        }

        /* --- 最新动态标题 --- */
        .dynamic-title {
            font-size: 18px; /* 主标题字号 */
            font-weight: bold;
            padding: 20px 20px 10px;
            color: #333;
        }

        /* --- 列表模块 --- */
        .list-section {
            padding: 0 0px 0px;
        }

        .section-title {
            font-size: 16px; /* 模块标题字号 */
            font-weight: bold;
            margin-bottom: 10px;
            color: #333;
            padding-top: 10px;
            
            border-bottom: 1px solid #eee;
        }

        .item-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .list-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid #eee;
        }

        .list-item:last-child {
            border-bottom: none;
        }

        .item-date {
            
            color: #999;
            margin-right: 10px;
            
            
        }

        .item-title {
            font-family: 'Noto Serif SC', serif;
            color: #333;
            flex-grow: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .item-title a{
            text-decoration: none;
            color: #333;
            font-weight: 600;
        }
        
/*-- 搜索框 --*/
.search-box {
            text-align: center;
            margin: 20px 0;
        }
        .search-box input {
            width: 80%; padding: 10px; font-size: 16px; border: 1px solid #ccc; border-radius: 4px;
        }
        .search-box button {
            padding: 10px 15px; background: #007bff; color: white; border: none; border-radius: 4px; cursor: pointer;
        }
        .result-item {
            margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #eee;
        }
        .result-item h2 {
            font-size: 22px;
            margin-bottom: 8px;
        }
        .result-item h2 a {
            text-decoration: none; color: #333;
        }
        .result-item h2 a:hover {
            color: #007bff;
        }
        .meta { color: #888; font-size: 0.9em; margin: 5px 0; }
        .excerpt { color: #555; margin-top: 8px; }
        .no-results { color: #888; text-align: center; margin-top: 30px; }