﻿
body {
    background-color: #fff;
}

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

.module-table {
    flex: 1;
}

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


.breadcrumbs {
    font-size: 14px;
    color: #666;
    padding: 10px 20px;
    /* background-color: #f5f5f5; */
}

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

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

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

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

.brand-price-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: 20px;
}

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

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

    .price-list li {
        padding: 8px 0;
        font-size: 16px;
        color: #333;
    }

        .price-list li::before {
            content: "◆";
            color: #d90000;
            margin-right: 8px;
        }

.hot-articles-box {
    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-articles-box .box-header {
        background-color: #d90000;
        color: #fff;
        padding: 10px 15px;
        font-size: 18px;
        font-weight: bold;
    }

    .hot-articles-box .articles-list {
        list-style: none;
        margin: 0;
        padding: 0;
        white-space: nowrap; /* 防止文本换行 */
        overflow: hidden; /* 隐藏溢出的内容 */
        text-overflow: ellipsis; /* 显示省略符号来代表被修剪的文本 */
    }

        .hot-articles-box .articles-list li {
            padding: 10px 15px;
            font-size: 16px;
            color: #333;
            border-bottom: 1px solid #eee;
            line-height: 1.5;
            white-space: nowrap; /* 防止文本换行 */
            overflow: hidden; /* 隐藏溢出的内容 */
            text-overflow: ellipsis; /* 显示省略符号来代表被修剪的文本 */
        }

            .hot-articles-box .articles-list li:last-child {
                border-bottom: none;
            }

            .hot-articles-box .articles-list li::before {
                content: "●";
                color: #d90000;
                margin-right: 8px;
            }

.gold-table-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
/*    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
    margin-bottom: 20px;
}

    .gold-table-container .table-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 15px;
        box-sizing: border-box;
        border-bottom: 1px solid #eee;
    }

    .gold-table-container .table-title {
        font-size: 18px;
        font-weight: bold;
        color: #e02020;
    }

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

    .gold-table-container .update-time {
        font-size: 16px;
        color: #999;
    }


    .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; */
    }


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

    .gold-table-container th,
    .gold-table-container td {
        padding: 10px 15px;
        box-sizing: border-box;
        text-align: center;
        border-bottom: 1px solid #eee;
        font-size:16px;
    }

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

.gold-table-container td {
    border:1px solid #eee;
    color:#333;
}

    .gold-table-container tr:nth-child(even) {
        background-color: #fcfcfc;
    }

    .gold-table-container tr:hover {
        background-color: #fef5f5;
    }

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

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

    .gold-table-container .high {
        color: #e02020;
        display: block;
    }

    .gold-table-container .low {
        color: #28a745;
        display: block;
    }


.wholesale-strategy-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    /* background: #fff; */
    /* border: 1px solid #eee; */
    border-radius: 4px;
    padding: 15px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
}

.strategy-column {
    /*flex: 1;*/
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #d90000;
}

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

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

    .view-more {
        font-size: 14px;
        color: #666;
        text-decoration: none;
    }

.strategy-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .strategy-list li {
        margin-bottom: 10px;
        font-size: 16px;
        color: #333;
        white-space: nowrap; /* 防止文本换行 */
        overflow: hidden; /* 隐藏溢出的内容 */
        text-overflow: ellipsis; /* 显示省略符号来代表被修剪的文本 */
    }

        .strategy-list li::before {
            content: "●";
            color: #d90000;
            margin-right: 8px;
        }

.market-area-container {
    width: 100%;
    border-radius: 4px;
    /*    padding: 15px;*/
    margin: 10px 0 0 0;
}

    .market-area-container .box-header {
        background-color: #d90000;
        color: #fff;
        padding: 10px 15px;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 18px;
        font-weight: bold;
    }

.market-area-container .area-grid{
/*    margin:10px 0 0 0;*/
    padding: 10px 10px;
    box-sizing: border-box;
    box-shadow: 0 0 0 1px #f5f5f5;
    margin: 1px;
}

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

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

    .area-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

.area-tag {
    padding: 8px 15px;
    background-color: #f5f5f5;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    position: relative;
}

    .area-tag:hover {
        background-color: #d90000;
        color: #fff;
    }

.market-list-container {
    width: 420px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: absolute;
    top: 37px;
    left: 0;
    z-index: 39;
    max-height: 400px;
    overflow: auto;
    display: none;
}

.area-tag:hover .market-list-container {
    display: block;
}

.market-list-container .city-section {
    margin-bottom: 20px;
}

.market-list-container .city-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #f0f0f0;
}

    .market-list-container .city-title span {
        color: #666;
        font-weight: normal;
        margin-left: 8px;
    }

.market-list-container .market-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    font-size: 16px;
    color: #333;
}

.market-list-container .market-item {
    padding: 6px 0;
}

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

    .breadcrumbs{
        display: none;
    }

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

    .market-list-container{
        width: 330px;
        text-align: left;
    }

    .area-tag {
        padding: 5px 0px;
        font-size: 14px;
        width: 18%;
        text-align: center;
    }

    .market-list-container .market-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .market-area-container .area-grid .area-tag:nth-child(5n+2) .market-list-container{
       left: -60px;
    }

    .market-area-container .area-grid .area-tag:nth-child(5n+3) .market-list-container {
        left: -125px;
    }

    .market-area-container .area-grid .area-tag:nth-child(5n+4) .market-list-container {
        left: -193px;
    }

    .market-area-container .area-grid .area-tag:nth-child(5n+5) .market-list-container {
        left: -260px;
    }

    .gold-table-container th, .gold-table-container td{
        padding: 0px;
        font-size: 12px;
    }

    .strategy-list li, .hot-articles-box .articles-list li {
        font-size: 14px;
    }
  }