﻿/* 全局统一配色 与首页完全一致 wl_前缀 */
:root {
    --wl-main-blue: #0F3460;
    --wl-light-blue: #1A5099;
    --wl-orange: #FF7D00;
    --wl-gray-light: #f5f7fa;
    --wl-gray: #94a3b8;
    --wl-dark: #1e293b;
    --wl-white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    background-color: var(--wl-gray-light);
    color: var(--wl-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.wl_container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.wl_btn {
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
}

.wl_btn_orange {
    background: var(--wl-orange);
    color: white;
}

    .wl_btn_orange:hover {
        background: #e67000;
    }

.wl_btn_blue {
    background: var(--wl-light-blue);
    color: #fff;
}

    .wl_btn_blue:hover {
        background: #14407a;
    }

.wl_btn_gray {
    background: #e2e8f0;
    color: var(--wl-dark);
}

    .wl_btn_gray:hover {
        background: #cbd5e1;
    }

/* 顶部通栏 */
.wl_header_top {
    background-color: var(--wl-main-blue);
    color: var(--wl-white);
    padding: 10px 0;
    font-size: 14px;
}

    .wl_header_top .wl_container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.wl_top_left i {
    margin-right: 6px;
}

.wl_top_right a {
    margin-left: 20px;
}

    .wl_top_right a:hover {
        color: var(--wl-orange);
    }

/* 主导航栏 固定顶部 */
.wl_nav {
    background-color: var(--wl-white);
    box-shadow: 0 2px 8px rgba(15, 52, 96, 0.15);
    position: sticky;
    top: 0;
    z-index: 99;
}

    .wl_nav .wl_container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 70px;
    }

.wl_logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;
    font-weight: bold;
    color: var(--wl-main-blue);
}

    .wl_logo i {
        font-size: 30px;
        color: var(--wl-orange);
    }

.wl_menu_list {
    display: flex;
    gap: 35px;
}

    .wl_menu_list li a {
        font-size: 16px;
        font-weight: 500;
        padding: 8px 0;
        position: relative;
        color: var(--wl-dark);
    }

        .wl_menu_list li a.active {
            color: var(--wl-light-blue);
        }

            .wl_menu_list li a.active::after {
                width: 100%;
            }

        .wl_menu_list li a:hover {
            color: var(--wl-light-blue);
        }

        .wl_menu_list li a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 0;
            height: 3px;
            background: var(--wl-orange);
            transition: 0.3s;
        }

        .wl_menu_list li a:hover::after {
            width: 100%;
        }

/* 面包屑导航 */
.wl_bread {
    padding: 20px 0;
    font-size: 14px;
    color: var(--wl-gray);
}

    .wl_bread a {
        color: var(--wl-light-blue);
    }

/* 页面标题渐变横幅 */
.wl_page_title {
    background: linear-gradient(135deg, var(--wl-main-blue), var(--wl-light-blue));
    padding: 45px 0;
    color: #fff;
    text-align: center;
}

    .wl_page_title h1 {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .wl_page_title p {
        font-size: 17px;
        opacity: 0.9;
    }

/* 筛选栏卡片 */
.wl_filter_box {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(15,52,96,0.1);
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.wl_filter_row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.wl_filter_item label {
    display: inline-block;
    color: var(--wl-main-blue);
    font-weight: 500;
    margin-right: 10px;
}

.wl_filter_item select,
.wl_filter_item input {
    border: 1px solid #cbd5e1;
    padding: 9px 12px;
    border-radius: 4px;
    width: 160px;
    font-size: 14px;
}

.wl_filter_tag_list {
    display: flex;
    gap: 10px;
    margin-top: 0px;
    flex-wrap: wrap;
}

    .wl_filter_tag_list span {
        padding: 6px 14px;
        border-radius: 20px;
        font-size: 14px;
        cursor: pointer;
        border: 1px solid var(--wl-light-blue);
        color: var(--wl-light-blue);
    }

        .wl_filter_tag_list span.active {
            background: var(--wl-light-blue);
            color: #fff;
        }

/* 货源列表主体区域 */
.wl_content_wrap {
    margin-top: 30px;
    position: relative;
    z-index: 10;
    padding-bottom: 80px;
}

.wl_list_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

    .wl_list_head h2 {
        font-size: 24px;
        color: var(--wl-main-blue);
    }

.wl_sort_group {
    display: flex;
    gap: 12px;
}

.wl_goods_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.wl_goods_card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,0.07);
    transition: all 0.3s;
    display: flex;
}

    .wl_goods_card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 22px rgba(15,52,96,0.15);
    }

.wl_goods_img {
    width: 180px;
    background-color: var(--wl-light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 50px; 
}
.wl_goods_img img {
    width: 180px;
    height:265px;
}

.wl_goods_info {
    flex: 1;
    padding: 22px;
}

    .wl_goods_info h4 {
        font-size: 19px;
        color: var(--wl-main-blue);
        margin-bottom: 10px;
    }

.wl_goods_addr_row {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--wl-gray);
    margin-bottom: 12px;
}

.wl_goods_tag {
    display: flex;
    gap: 8px;
    margin: 12px 0;
    flex-wrap: wrap;
}

    .wl_goods_tag span {
        font-size: 12px;
        padding: 4px 9px;
        background: #e8f0fc;
        color: var(--wl-light-blue);
        border-radius: 3px;
    }

.wl_goods_desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
}

.wl_goods_bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

.wl_goods_tel {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--wl-orange);
    font-weight: bold;
}

.wl_goods_time {
    font-size: 13px;
    color: var(--wl-gray);
}

/* 分页 */
/* 分页控件 */
 .page-bar {
            margin-top: 20px;
            display: flex;
            gap: 8px;
            align-items: center;
            justify-content: center; /* 水平居中 */
            flex-wrap: wrap;
        }

        .page-item {
            padding: 8px 14px;
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            cursor: pointer;
        }

            .page-item.current {
                background: var(--wl-main-blue);
                color: #fff;
                border-color: var(--wl-main-blue);
            }

            .page-item.disable {
                background: #f3f4f6;
                color: #aaa;
                cursor: not-allowed;
            }

/* 页脚 与首页统一 */
/* 页脚 */
.wl_footer {
    background: #0a2240;
    color: #b8c5d6;
    padding: 60px 0 30px;
}

.wl_footer_wrap {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
}

.wl_footer_col h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--wl-orange);
    width: 140px;
}

.wl_footer_col li {
    margin-bottom: 12px;
}

.wl_footer_col a:hover {
    color: var(--wl-orange);
}

.wl_copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #17355e;
    font-size: 14px;
}
.ellipsis‑3row{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp:3;  /*超过3行省略*/
    -webkit-box-orient: vertical;
}
.ellipsis‑1row{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp:1;  /*超过3行省略*/
    -webkit-box-orient: vertical;
}