<br />
<b>Warning</b>:  mkdir(): No space left on device in <b>/www/wwwroot/zhenghe.com/func.php</b> on line <b>127</b><br />
<br />
<b>Warning</b>:  file_put_contents(./cachefile_yuan/ics3w.com/img/31/b7b1f/aa31c.css): failed to open stream: No such file or directory in <b>/www/wwwroot/zhenghe.com/func.php</b> on line <b>115</b><br />
/* ---------- 全局重置 ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background-color: #f4f5f7;
    color: #1a1a1a;
    padding: 0;
}

/* ---------- 顶部导航 ---------- */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid #e9ebf0;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    gap: 12px;
}
/* ---------- 左侧：品牌名 ---------- */
.navbar .brand {
    font-size: 20px;
    font-weight: 700;
    color: #1e6fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.navbar .brand i {
    font-size: 22px;
    color: #1e6fff;
}
.navbar .brand span {
    color: #0a1e3c;
}
/* ---------- 搜索框 ---------- */
.search-box {
    flex: 1;
    max-width: 420px;
    min-width: 160px;
    display: flex;
    align-items: center;
    background: #f2f4f8;
    border-radius: 20px;
    padding: 0 14px;
    transition: background 0.2s, box-shadow 0.2s;
    border: 1.5px solid transparent;
}
.search-box:focus-within {
    background: #ffffff;
    border-color: #1e6fff;
    box-shadow: 0 0 0 3px rgba(30, 111, 255, 0.12);
}
.search-box .search-icon {
    color: #8a9aa8;
    font-size: 16px;
    flex-shrink: 0;
    line-height: 1;
}
.search-box input {
    border: none;
    background: transparent;
    padding: 8px 10px;
    font-size: 14px;
    outline: none;
    flex: 1;
    min-width: 60px;
    color: #1a1a1a;
}
.search-box input::placeholder {
    color: #9aaab8;
}
.search-box .search-btn {
    background: none;
    border: none;
    color: #1e6fff;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 8px 6px 4px;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 4px;
    transition: background 0.2s;
}
.search-box .search-btn:hover {
    background: rgba(30, 111, 255, 0.08);
}
/* ---------- 右侧导航链接 ---------- */
.navbar .nav-links {
    display: flex;
    gap: 6px;
    list-style: none;
    align-items: center;
    flex-shrink: 0;
}
.navbar .nav-links li a {
    display: block;
    padding: 6px 14px;
    font-size: 15px;
    color: #4a5a6e;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.navbar .nav-links li a:hover {
    background: #f0f4ff;
    color: #1e6fff;
}
.navbar .nav-links li a.active {
    background: #1e6fff;
    color: #fff;
}
/* 移动端菜单按钮 */
.navbar .menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    flex-shrink: 0;
}
.navbar .menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #2c3e50;
    border-radius: 2px;
    transition: 0.25s;
}

/* ---------- 主体内容 ---------- */
.page-wrapper {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 16px 30px;
}
.container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
/* ---------- 主内容 ---------- */
.main-content {
    flex: 2;
    min-width: 280px;
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 22px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.article-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 14px;
    color: #0a1e3c;
}
.meta {
    font-size: 14px;
    color: #888;
    padding-bottom: 16px;
    border-bottom: 1px solid #e9ebf0;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}
.meta .source {
    color: #1a1a1a;
    font-weight: 500;
}
.meta .source span {
    color: #999;
    font-weight: 400;
}
.content p {
    font-size: 17px;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 20px;
}
/* ---------- 侧边栏 ---------- */
.sidebar {
    flex: 1;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sidebar-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 16px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.sidebar-card h3 {
    font-size: 17px;
    font-weight: 650;
    color: #0a1e3c;
    padding-bottom: 10px;
    border-bottom: 2px solid #1e6fff;
    margin-bottom: 14px;
}
/* ---------- 作者最新文章（带图片） ---------- */
.author-article-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f1f3;
    align-items: flex-start;
}
.author-article-item:last-child {
    border-bottom: none;
}
.author-article-item .thumb {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    background-color: #e9ebf0;
    border-radius: 6px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.author-article-item .info {
    flex: 1;
    min-width: 0;
}
.author-article-item .info .title {
    font-size: 14px;
    line-height: 1.5;
    color: #1a1a1a;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.author-article-item .info .title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s;
}
.author-article-item .info .title a:hover {
    color: #1e6fff;
}
.author-article-item .info .meta-info {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}
.author-article-item .info .meta-info span {
    margin-right: 10px;
}
/* ---------- 百度热搜（带a标签） ---------- */
.sidebar-card ul {
    list-style: none;
    padding: 0;
}
.sidebar-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f1f3;
    font-size: 14px;
    line-height: 1.5;
    color: #2c3e50;
}
.sidebar-card ul li:last-child {
    border-bottom: none;
}
.sidebar-card ul li .hot-rank {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: #e9ebf0;
    color: #555;
    text-align: center;
    line-height: 22px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
    flex-shrink: 0;
}
.sidebar-card ul li .hot-rank.top {
    background: #ff4d4f;
    color: #fff;
}
.sidebar-card ul li a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s;
    display: inline;
}
.sidebar-card ul li a:hover {
    color: #1e6fff;
}
.sidebar-card ul li a .hot-rank {
    display: inline-block;
}
/* ---------- 自适应 ---------- */
@media (max-width: 820px) {
    .navbar-inner {
        flex-wrap: wrap;
        height: auto;
        padding: 8px 0;
    }
    .search-box {
        order: 3;
        flex: 1 1 100%;
        max-width: 100%;
        margin: 2px 0 4px;
    }
    .navbar .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 12px 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        border-top: 1px solid #e9ebf0;
        gap: 2px;
    }
    .navbar .nav-links.open {
        display: flex;
    }
    .navbar .nav-links li a {
        padding: 10px 14px;
        width: 100%;
    }
    .navbar .menu-toggle {
        display: flex;
    }
    .page-wrapper { padding: 0 10px 20px; }
    .container { flex-direction: column; }
    .main-content { padding: 18px 14px; }
    .article-title { font-size: 20px; }
    .content p { font-size: 16px; }
    .sidebar { flex-direction: column; }
    .author-article-item .thumb {
        width: 80px;
        height: 56px;
    }
}
@media (max-width: 480px) {
    .navbar { padding: 0 12px; }
    .navbar .brand { font-size: 17px; }
    .search-box input { font-size: 13px; padding: 6px 8px; }
    .main-content { padding: 14px 10px; }
    .article-title { font-size: 18px; }
    .meta { font-size: 12px; }
    .content p { font-size: 15px; }
    .author-article-item .thumb {
        width: 70px;
        height: 50px;
    }
    .author-article-item .info .title {
        font-size: 13px;
    }
}
