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

.module-table {
    flex: 1;
}

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



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

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

     .update-time {
        font-size: 12px;
        color: #999;
    }

.price-table-container {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
}

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

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

    .price-table-container .notice-text {
        font-size: 14px;
        color: #666;
    }

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

        .price-table-container .price-table th,
        .price-table-container .price-table td {
            padding: 12px 15px;
            text-align: center;
            border: 1px solid #eee;
            font-size: 16px;
        }

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

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

    /* 涨跌幅样式 */
    .price-table-container .rise {
        color: #d90000;
    }

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

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

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

    .chart-container .chart-img {
        width: 100%;
        border-radius: 4px;
    }

.guide-container {
    width: 100%;
    background: #fff;
    border-radius: 4px;
    padding: 20px;
    line-height: 1.6;
    margin-top: 15px;
}

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

.guide-intro {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 15px 0 10px;
}

.section-content {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
}

.note-text {
    font-size: 16px;
    color: #666;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed #eee;
}

.disclaimer-bar {
    margin-top: 15px;
    width: 100%;
    max-width: 850px;
    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;
        }

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

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

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
}

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

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

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

.product-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: 15px;
}

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

    .product-price-container .price-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 15px;
    }

    .product-price-container .price-item {
        padding: 8px 10px;
        background-color: #f5f5f5;
        border-radius: 4px;
        font-size: 16px;
        color: #333;
        text-align: center;
    }

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

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

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

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

            .brand-recovery-container .brand-list li::before {
                content: "♦";
                color: #d90000;
                margin-right: 8px;
            }

.city-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: 15px;
}

    .city-brand-price-container .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #d90000;
        color: #fff;
        padding: 10px 15px;
        font-size: 18px;
        font-weight: bold;
    }

    .city-brand-price-container .more-link {
        font-size: 14px;
        color: #fff;
        text-decoration: none;
        font-weight: normal;
    }

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

        .city-brand-price-container .price-list li {
            padding: 8px 0;
            font-size: 16px;
            color: #333;
            line-height: 1.5;
        }

            .city-brand-price-container .price-list li::before {
                content: "♦";
                color: #d90000;
                margin-right: 8px;
            }

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

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

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

    .ranking-container .ranking-item {
        padding: 10px 15px;
        font-size: 16px;
        color: #333;
        border-bottom: 1px solid #f0f0f0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
        /* 前三项渐变背景色 */
        .ranking-container .ranking-item:nth-child(1) {
            background-color: #ffe6e6;
        }

        .ranking-container .ranking-item:nth-child(2) {
            background-color: #fff3e6;
        }

        .ranking-container .ranking-item:nth-child(3) {
            background-color: #e6ffe6;
        }

.city-recovery-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;
    margin-bottom: 15px;
}

    .city-recovery-box .city-header {
        background-color: #d90000;
        color: #fff;
        padding: 10px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .city-recovery-box .city-title {
        font-size: 18px;
        font-weight: bold;
    }

    .city-recovery-box .view-more {
/*        color: #fff;*/
        text-decoration: none;
/*        font-size: 16px;*/
    }


    .city-recovery-box .province-list {
        padding: 12px 5px;
        font-size: 16px;
        color: #333;
        line-height: 1.8;
    }

    .city-recovery-box .province-item {
        /*margin-right: 12px;*/
        cursor: pointer;
        display: inline-block;
        width: 32%;
        padding: 2px 3px;
        box-sizing: border-box;
        border: 1px solid transparent;
        border-radius: 3px;
        position: relative;
    }

        .city-recovery-box .province-item:hover {
            padding: 2px 6px;
            border: 1px solid #d90000;
            border-radius: 3px;
            color: #d90000;
            background-color: #fff;
        }

        .city-recovery-box .province-item .province-item-window {
            display: none;
            position: absolute;
            top: 32px;
            left: 0;
            z-index: 39;
            width: 300px;
            box-sizing: border-box;
            height: 300px;
            background: #fff;
            border: 1px solid #eee;
            border-radius: 4px;
            /* padding: 15px; */
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .city-recovery-box .province-item:hover .province-item-window {
            display: block;
        }



    .city-recovery-box .province-item-window .province-item-window-area {
        width: 130px;
        max-height: 300px;
        overflow: auto;
        padding: 0;
        background-color: #f7f7f7;
        scrollbar-width: none; /* Firefox */
    }

        .city-recovery-box .province-item-window .province-item-window-area::-webkit-scrollbar {
            display: none; /* Chrome, Safari, Opera*/
        }

        .city-recovery-box .province-item-window .province-item-window-area > div {
            padding: 5px 10px;
            box-sizing: border-box;
            color: #000;
        }

            .city-recovery-box .province-item-window .province-item-window-area > div:hover > a {
                color: #d90000;
            }

            .city-recovery-box .province-item-window .province-item-window-area > div > .province-item-window-area {
                background-color: #fff;
                display: none;
                position: absolute;
                top: 0px;
                left: 130px;
                z-index: 40;
                /* width: 300px; */
                max-height: 300px;
            }


            .city-recovery-box .province-item-window .province-item-window-area > div:hover > .province-item-window-area {
                display: block;
            }

                .city-recovery-box .province-item-window .province-item-window-area > div:hover > .province-item-window-area div:hover a {
                    color: #d90000;
                }

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

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

    .module-news .history-container .history-title {
        font-size: 18px;
        font-weight: bold;
    }

    .module-news .history-container .history-list {
        list-style: none;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

        .module-news .history-container .history-list li {
            padding: 10px 15px;
            box-sizing: border-box;
            border-bottom: 1px solid #eee;
            line-height: 1.5;
            font-size: 16px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

            .module-news .history-container .history-list li:last-child {
                border-bottom: none;
            }

            .module-news .history-container .history-list li:before {
                content: "";
                color: #d90000;
                margin-right: 5px;
                display: inline-block;
                width: 10px;
                height: 10px;
                border-radius: 50%;
                overflow: hidden;
                background-color: #d90000;
            }
.module-news .view-more {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}
/* 当屏幕宽度小于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;
    }

    .price-table-container .notice-text {
        display: none;
    }

    .breadcrumbs {
        display: none;
    }

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

    .price-table-container .table-header-bar {
        padding: 10px 0px;
        box-sizing: border-box;
    }

    .chart-container {
        margin: 0;
        padding: 0px 0px;
        box-sizing: border-box;
    }

    .module-news {
        width: 100%;
        padding: 0 0;
        box-sizing: border-box;
    }

    .faq-item {
        padding: 5px 0;
    }

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

    .chart-container .chart-title {
        margin: 10px 0 10px 0;
    }

    .price-table-container .price-table th, .price-table-container .price-table td {
        font-size: 13px;
        padding: 10px 15px;
        box-sizing: border-box;
    }

    .guide-container {
        padding: 10px 20px;
        box-sizing: border-box;
    }

    .faq-grid {
        display: block;
    }

    .faq-item {
        margin-bottom: 10px;
    }

    .faq-container {
        padding: 10px;
        padding: 15px;
        box-sizing: border-box;
    }

    .city-recovery-box .province-list .province-item:nth-child(3n+2) .province-item-window {
        left: -90px;
    }

    .city-recovery-box .province-list .province-item:nth-child(3n+3) .province-item-window {
        left: -190px;
    }
}
