/*
Theme Name: BaoLog 线报助手子主题
Template: baolog-main
Description: 适配线报站的自定义子主题
Version: 1.0
*/

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft Yahei", sans-serif;
    background: #f5f5f5;
}

/* 顶部滚动公告 */
.top-scroll-banner {
    background: #ff3030;
    color: #fff;
    padding: 8px 0;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}
.top-scroll-banner marquee {
    width: 100%;
}

/* 图标导航 */
.icon-nav {
    display: flex;
    justify-content: space-around;
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid #f2f2f2;
}
.icon-item {
    text-align: center;
    color: #333;
    text-decoration: none;
}
.icon-item img {
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto 5px;
}
.icon-item span {
    font-size: 12px;
}

.icon-nav .icon-item:hover {
    color: #ff3333;
    transform: scale(1.05);
}

/* 分类标签栏 */
.category-tabs {
    display: flex;
    gap: 30px;
    padding: 12px 15px;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.category-tabs .tab {
    font-size: 18px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
}
.category-tabs .tab.active {
    color: #ff3333;
}
.category-tabs .tab:hover {
    color: #ff3333;
}

/* 线报文章列表 */
.article-list {
    background: #fff;
    padding: 0 15px;
    margin-top: 10px;
}
.linebao-item {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}
.linebao-item:last-child {
    border-bottom: none;
}
.linebao-title {
    font-size: 16px;
    margin-bottom: 4px;
}
.linebao-title a {
    color: #333;
    text-decoration: none;
}
.linebao-title a:hover {
    color: #ff3333;
}
.linebao-meta {
    font-size: 12px;
    color: #999;
}

/* 隐藏侧边栏 */
#sidebar {
    display: none !important;
}

/* 页脚固定在底部 */
html, body {
    height: 100%;
    margin: 0;
}
body {
    display: flex;
    flex-direction: column;
}
#body {
    flex: 1;
}
#site-footer {
    background: #f8f8f8;
    color: #666;
    font-size: 13px;
    padding: 15px;
    text-align: center;
    border-top: 1px solid #eee;
}