/* 资讯模板 - news_blue 蓝色扁平风格 */
/* 基于Layui框架 */

/* 全局样式 */
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Logo区域 */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.logo-img {
    max-height: 40px;
    width: auto;
    margin-right: 10px;
}

.site-name {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

/* 文章列表样式 */
.article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-item {
    padding: 20px;
    border-bottom: 1px solid #e6e6e6;
    transition: background-color 0.3s;
}

.article-item:hover {
    background-color: #fafafa;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item article {
    display: flex;
    align-items: flex-start;
}

.article-thumb {
    flex-shrink: 0;
    margin-right: 15px;
}

.article-thumb img {
    border-radius: 4px;
}

.article-content {
    flex: 1;
    min-width: 0;
}

.article-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: normal;
}

.article-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.article-title a:hover {
    color: #1e9fff;
}

.article-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 10px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-meta {
    color: #999;
    font-size: 13px;
    margin-top: 10px;
}

.article-meta span {
    margin-right: 10px;
}

.meta-divider {
    margin: 0 8px;
    color: #ddd;
}

.article-meta a {
    color: #1e9fff;
    text-decoration: none;
}

/* 热门文章列表 */
.hot-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hot-list li {
    padding: 12px 15px;
    border-bottom: 1px solid #e6e6e6;
    transition: background-color 0.3s;
}

.hot-list li:hover {
    background-color: #f8f9fa;
}

.hot-list li:last-child {
    border-bottom: none;
}

.hot-list a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.hot-index {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #1e9fff 0%, #009688 100%);
    color: #fff;
    text-align: center;
    line-height: 30px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
    margin-right: 10px;
    flex-shrink: 0;
}

.hot-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-hits {
    color: #999;
    font-size: 12px;
    margin-left: 10px;
    flex-shrink: 0;
}

/* 分类列表 */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    padding: 12px 15px;
    border-bottom: 1px solid #e6e6e6;
    transition: background-color 0.3s;
}

.category-list li:hover {
    background-color: #f8f9fa;
}

.category-list li.active {
    background-color: #e6f7ff;
}

.category-list li.active a {
    color: #1e9fff;
    font-weight: bold;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.category-list i {
    margin-right: 8px;
}

/* 标签云 */
.tag-item {
    display: inline-block;
    padding: 5px 12px;
    margin: 5px 5px 5px 0;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
    font-size: 13px;
    transition: all 0.3s;
}

.tag-item:hover {
    background-color: #1e9fff;
    color: #fff;
    transform: translateY(-2px);
}

/* 友情链接列表 */
.link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
}

.link-list li:last-child {
    border-bottom: none;
}

.link-list a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.link-list a:hover {
    color: #1e9fff;
}

/* 页脚链接 */
.footer-link {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #fff;
}

/* 文章内容样式 */
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    word-wrap: break-word;
}

.article-content * {
    font-size: inherit;
    color: inherit;
}

.article-content p {
    margin-bottom: 15px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #333;
}

.article-content h1 {
    font-size: 24px;
}

.article-content h2 {
    font-size: 22px;
}

.article-content h3 {
    font-size: 20px;
}

.article-content ul,
.article-content ol {
    padding-left: 30px;
    margin-bottom: 15px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content a {
    color: #1e9fff;
    text-decoration: underline;
}

.article-content a:hover {
    color: #009688;
}

.article-content blockquote {
    border-left: 4px solid #1e9fff;
    padding-left: 15px;
    margin: 20px 0;
    color: #666;
    font-style: italic;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
}

.article-content code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: "Courier New", monospace;
    font-size: 14px;
}

.article-content pre {
    background-color: #282c34;
    color: #abb2bf;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    margin: 20px 0;
}

.article-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.article-content table th,
.article-content table td {
    border: 1px solid #e6e6e6;
    padding: 10px;
    text-align: left;
}

.article-content table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

/* 响应式 */
@media (max-width: 768px) {
    .article-item article {
        flex-direction: column;
    }
    
    .article-thumb {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
    }
    
    .article-thumb img {
        width: 100%;
        height: auto;
    }
    
    .hot-index {
        width: 25px;
        height: 25px;
        line-height: 25px;
        font-size: 11px;
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1e9fff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #009688;
}

/* 729148 */

