﻿

body {
    background-color: #fff;
}
/* 主内容区与侧边栏布局 */
.main-content {
    display: flex;
}

.module-table {
    flex: 1;
}

.module-news {
    width: 390px;
    padding-left: 20px;
}



.breadcrumbs {
    font-size: 14px;
    color: #666;
    padding: 10px 15px;
}

    .breadcrumbs a {
        color: #666;
        text-decoration: none;
    }

        .breadcrumbs a:hover {
            color: #d90000;
        }

    .breadcrumbs .separator {
/*        margin: 0 5px;*/
        color: #999;
    }

    .breadcrumbs .current {
        color: #d90000;
        font-weight: 500;
    }




.search-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    /* 可根据需求调整宽度 */
    margin-top: 10px;
}

.search-input {
    flex: 1;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #e02020;
    border-right: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 16px;
}

.search-btn {
    height: 36px;
    padding: 0 18px;
    background-color: #e02020;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 16px;
    cursor: pointer;
}

    .search-btn:hover {
        background-color: #c01010;
    }

.hot-articles {
    margin-top: 15px;
    width: 100%;
    /* background: #fff; */
    /* border: 1px solid #eee; */
    border-radius: 4px;
    padding: 15px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
}

    .hot-articles .section-title {
        font-size: 18px;
        font-weight: bold;
        color: #d90000;
        margin-bottom: 15px;
    }

    .hot-articles .article-item {
        display: flex;
        gap: 15px;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

        .hot-articles .article-item:last-child {
            border-bottom: none;
        }

    .hot-articles .article-img {
        width: 140px;
        height: 100px;
        object-fit: cover;
        border-radius: 4px;
    }

    .hot-articles .article-content {
        flex: 1;
    }

    .hot-articles .article-content a {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2; /* 限制显示的行数为2 */
        overflow: hidden;
    }

.hot-articles .article-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 限制显示的行数为2 */
    overflow: hidden;
}

    .hot-articles .article-meta {
        font-size: 14px;
        color: #999;
        display: flex;
        justify-content: space-between;
    }



.hot-tags-container {
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-top: 15px;
}

    .hot-tags-container .container-header {
        background-color: #d90000;
        color: #fff;
        padding: 10px 15px;
        font-size: 18px;
        font-weight: bold;
    }

    .hot-tags-container .tags-row {
        padding: 15px 0 0 15px;
    }

    .hot-tags-container .tag-item {
        display: inline-block;
        padding: 6px 12px;
        background: #f5f5f5;
        border-radius: 4px;
        font-size: 16px;
        color: #333;
        cursor: pointer;
        margin: 0 15px 15px 0;
    }




.search-container {
    width: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-top: 15px;
}

    .search-container .container-header {
        background-color: #d90000;
        color: #fff;
        padding: 10px 15px;
        font-size: 18px;
        font-weight: bold;
    }

    .search-container .search-list {
        list-style: none;
        margin: 0;
        padding: 15px;
    }

    .search-container .search-item {
        font-size: 16px;
        color: #333;
        padding: 10px 0;
        line-height: 1.5;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        .search-container .search-item::before {
            content: "●";
            color: #d90000;
            margin-right: 8px;
        }



.filter-bar {
    display: flex;
    gap: 10px;
    /* width: fit-content; */
    padding: 10px 0;
}

    .filter-bar .filter-item {
        flex: 1;
        text-align: center;
        padding: 8px 20px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
        color: #333;
        cursor: pointer;
        background-color: #fff;
        position: relative;
    }

    .filter-bar .filter-item:hover {
        border-color: #d90000;
        background-color: #fff0f0;
        color: #d90000;
        font-weight: 500;
    }

    .filter-bar .filter-item::after {
        content: "∨";
        margin-left: 5px;
        font-size: 14px;
    }

.filter-item-tags-container {
    position: absolute;
    top: 36px;
    left: 0;
    width: 600px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: left;
    display: none;
}

.filter-bar .filter-item:hover .filter-item-tags-container {
    display: block;
}

.filter-item-tag-item {
    display: inline-block;
    /* width: 100px; */
    color: #000;
    padding: 10px 0;
    padding: 8px 15px;
    background: #f5f5f5;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    margin-right: 10px;
}

    .filter-item-tag-item:hover {
        color: #d90000;
    }

.disclaimer-bar {
    width: 100%;
    max-width: 800px;
    padding: 10px 15px;
    background-color: #e2e2e2;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
}

.disclaimer-bar .highlight {
    color: #d90000;
    font-weight: 500;
}

.disclaimer-bar a {
    color: #0066cc;
    text-decoration: none;
}

.disclaimer-bar a:hover {
    text-decoration: underline;
}

/* 当屏幕宽度小于725px时 */
@media (max-width: 725px) {
    .main-content {
        display: flex;
        flex-direction: column;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .module-table {
        order: 1;
    }

    .module-news {
        order: 2;
        width: 100%;
        padding: 0;
    }

    .breadcrumbs{
        display:none;
    }

    .hot-tags-container .container-header, .search-container .container-header {
        font-size: 16px;
    }

    .hot-tags-container .tags-row {
        padding: 10px 10px;
        box-sizing: border-box;
    }

    .hot-tags-container .tag-item {
        font-size: 13px;
        margin: 0 5px 5px 0;
    }

    .filter-bar .filter-item {
        padding: 5px 10px;
        box-sizing: border-box;
    }

    .article-content {
        font-size: 14px;
    }

    .hot-articles .section-title{
        margin: 0 0 0 0;
    }

    .hot-articles .article-desc {
        font-size: 12px;
    }

    .hot-articles .article-content a {
        width: 161px;
    }

    .hot-articles {
        padding: 0px 0 15px 0;
        box-sizing: border-box;
        margin: 0 0 0 0;
    }

    .hot-articles .article-meta {
        font-size: 12px;
    }
 }