﻿
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: #999;
        font-weight: 500;
    }

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

.showroom-intro-container {
    width: 100%;
    background: #fff;
/*    border: 1px solid #eee;*/
/*    border-radius: 4px;*/
/*    padding: 20px;*/
/*    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);*/
    font-size: 14px;
    line-height: 1.6;
    color: #333;
/*    margin-top: 15px;*/
}

.showroom-item {
    margin: 15px 0;
}

    .showroom-item > p {
        margin-bottom: 10px;
        /*        letter-spacing: 2px;*/
    }

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

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

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

.price-table-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: 10px;
}

    .price-table-container .rise {
        color: #e02020;
    }

    .price-table-container .fall {
        color: #28a745;
    }

.table-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    font-size: 16px;
}

.main-title {
    font-size: 18px;
    font-weight: bold;
    color: #d90000;
}

.gold-price-table {
    width: 100%;
    border-collapse: collapse;
}

    .gold-price-table th,
    .gold-price-table td {
        padding: 12px;
        text-align: center;
        font-size: 16px;
    }

    .gold-price-table th {
        background-color: #d90000;
        color: #fff;
        font-weight: bold;
    }

    .gold-price-table td {
        border: 1px solid #eee;
        color: #333;
        /* background-color: #f9f9f9; */
    }


.module-table .tip-container {
    text-align: center;
    padding: 15px;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.module-table .reference-tip {
    margin-bottom: 5px;
}

.module-table .attention-tip a {
    color: #e02020;
    text-decoration: none;
}


.module-table .chart-container {
    width: 100%;
    border-radius: 4px;
/*    padding: 15px;*/
/*    margin-top: 15px;*/
}

    .module-table .chart-container .chart-title {
        font-size: 18px;
        font-weight: bold;
        color: #d90000;
        margin-bottom: 10px;
        margin-top: 40px;
    }

    .module-table .chart-container .chart-img {
        width: 90%;
        border-radius: 4px;
    }

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

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

    .module-table .section-title::before {
        content: '';
        display: inline-block;
        width: 4px;
        height: 14px;
        background-color: red;
        margin-right: 5px;
    }

.module-table .recommend-list {
    list-style: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

    .module-table .recommend-list li {
        margin-bottom: 10px;
        /*font-size: 14px;*/
        line-height: 1.5;
        max-width:770px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        .module-table .recommend-list li:before {
            content: "";
            color: #d90000;
            margin-right: 8px;
            display: inline-block;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            overflow: hidden;
            background-color: #d90000;
        }

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

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

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

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


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

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

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

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

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

/* 当屏幕宽度小于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%;
    }

    .breadcrumbs {
        display: none;
    }

    .wholesale-strategy-container {
        display: block;
    }

    .gold-price-table th, .gold-price-table td {
        font-size: 12px;
        padding: 10px 0;
        box-sizing: border-box;
    }

    .news-item, .module-table .recommend-list li, .related-tags-container .tag-item {
        font-size: 14px;
    }

    .related-tags-container .tag-item{
        margin: 0 10px 10px 0px;
    }

    .tags-row {
        padding: 10px 0 0 10px;
    }
}