﻿
body {
    background-color: #fff;
}

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

.module-table {
    flex: 1;
}

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

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

    .search-wrap .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-wrap .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-wrap .search-btn:hover {
            background-color: #c01010;
        }

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

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

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

    .breadcrumbs span {
/*        color: #d90000;*/
        font-weight: 500;
    }

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


.disclaimer-bar {
    width: 100%;
    max-width: 800px;
    padding: 10px 15px;
    background-color: #e2e2e2;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 12px;
    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;
        }

.article-nav {
    margin-top: 15px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 16px;
}

.nav-item {
    display: flex;
    align-items: center;
    flex: 1;
}

    .nav-item a {
        max-width: 240px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


.nav-label {
    color: #333;
    margin-right: 8px;
}

.nav-link {
    color: #d90000;
    text-decoration: none;
}

    .nav-link:hover {
        text-decoration: underline;
    }

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

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

    .related-articles-container .related-article-list{
        margin-bottom:10px;
    }
    .related-articles-container .article-item {
        margin-bottom: 18px;
        border-bottom: 1px solid #f5f5f5;
        padding-bottom: 12px;
    }

    .related-articles-container .article-title {
        font-size: 16px;
        color: #333;
        margin-bottom: 6px;
        cursor: pointer;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 770px;
    }

        .related-articles-container .article-title:hover {
            color: #d90000;
        }

    .related-articles-container .article-desc {
        font-size: 14px;
        color: #666;
        margin-bottom: 8px;
        line-height: 1.5;
    }

    .related-articles-container .article-time {
        font-size: 12px;
        color: #999;
    }

.popular-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;
}

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

    .popular-container .article-item {
        display: flex;
        gap: 10px;
        padding: 12px 15px;
        /* border-bottom: 1px solid #f5f5f5; */
        align-items: center;
    }

    .popular-container .article-img {
        width: 80px;
        height: 60px;
        object-fit: cover;
        border-radius: 4px;
        background: #f5f5f5;
    }

    .popular-container .article-title {
        font-size: 16px;
        color: #333;
        line-height: 1.4;
        cursor: pointer;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

        .popular-container .article-title:hover {
            color: #d90000;
        }

.price-title-container {
    width: 100%;
    padding: 15px;
    border-radius: 4px;
}

    .price-title-container .main-title {
        font-size: 23px;
        font-weight: bold;
        color: #333;
        margin-bottom: 8px;
    }

    .price-title-container .update-time {
        font-size: 14px;
        color: #999;
    }


.price-content-container {
    width: 100%;
    padding-left: 15px;
}

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

    .module-news{
        display:  none;
    }

    .price-title-container, .price-content-container {
        padding: 0px 15px;
        box-sizing: border-box;
    }

    .price-title-container, .price-content-container img {
        width: 100%;
    }

    .article-nav .nav-item {
        flex: 1;
        white-space: nowrap; 
        overflow: hidden;
        text-overflow: ellipsis; 
    }

    .article-nav .nav-item a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .article-nav .nav-item .nav-label {
        display: none;
    }

    .related-articles-container .article-title {
        font-size: 14px;
    }

  }