/* 自定义样式 */
body {
    background-color: #f8f8f8;
    color: #333;
    font-family: "Microsoft YaHei", sans-serif;
}

.layui-header{height:70px !important;box-shadow:0 0 20px rgba(0,0,0,0.08);background-color:#fff !important}
.layui-nav{background-color:#fff}
.layui-nav-item{line-height:70px !important}
.layui-nav .layui-this a{color:#616161 !important;font-size:15px !important}
.layui-nav .layui-nav-item  a{color:#616161 !important;font-size:15px}
.fly-nav-user{position:absolute;top:0;right:0}
.logo img{width:150px;margin-top:7px;margin-left:50px}

.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.logo {
    /*color: #333;*/
    font-size: 24px;
    font-weight: bold;
}
.main-container {
    margin-top: 85px;
}
.left-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 2px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
}
.right-content {
    padding-left: 15px; /* 修复右侧内容间距问题 */
}
.right-box {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 2px;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
}
.right-title {
    border-left: 4px solid #009688;
    padding-left: 10px;
    font-size: 18px;
    margin-bottom: 15px;
}
.article-item {
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
}
.article-item:last-child {
    border-bottom: none;
}
.article-cover {
    width: 180px;
    height: 120px;
    margin-right: 20px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 2px;
}
.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.article-cover:hover img {
    transform: scale(1.05);
}
.article-content {
    flex: 1;
}
.article-title {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
}
.article-title a {
    color: #333;
}
.article-title a:hover {
    color: #009688;
}
.article-meta {
    color: #999;
    font-size: 12px;
}
.article-meta span {
    margin-right: 15px;
}
.article-desc {
    color: #666;
    margin-top: 10px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.footer {
    background-color: #333;
    color: #eee;
    padding: 30px 0;
    margin-top: 30px;
}
.footer a {
    color: #ccc;
}
.footer a:hover {
    color: #fff;
}
.qrcode {
    text-align: center;
}
.qrcode img {
    width: 120px;
    height: 120px;
    background: #fff;
    padding: 5px;
}
@media (max-width: 768px) {
    .article-item {
        flex-direction: column;
    }
    .article-cover {
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-bottom: 15px;
    }
    .right-content {
        padding-left: 15px; /* 在小屏幕设备上添加左侧内边距 */
    }
}