@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.5;
    font-size: 16px;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

header {
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    color: white;
    padding: 15px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
h1{font-size:21px;}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-img {
    width: auto;
    margin-bottom: 5px;
}

nav {
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 80px;
    z-index: 99;
}

.nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list li {
    flex: 1;
    text-align: center;
}

.nav-list a {
    display: block;
    padding: 15px 0;
    text-decoration: none;
    color: #555;
    font-size: 15px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.nav-list a.active {
    color: #1a73e8;
    border-bottom-color: #1a73e8;
    font-weight: 500;
}

.nav-list a i {
    margin-right: 8px;
    font-size: 26px;
    font-weight:600;
}

/* 筛选按钮区域 */
.filter-section {
    background-color: #f9f9f9;
    padding: 12px 15px;
    /* display: flex; */
    /* gap: 10px; */
    border-bottom: 1px solid #e0e0e0;
}

.filter-btn {
    /* flex: 1; */
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    background-color: #f0f0f0;
}

.filter-btn i {
    margin-right: 8px;
    font-size:20px;
    font-weight:600;
}

/* 分类列表 */
.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* 分类项 */
.category-item {
    flex: 0 0 calc(50% - 5px);
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
}

.category-item:hover {
    background-color: #f0f0f0;
}

/* 搜索框区域 */
.search-section {
    background-color: #f9f9f9;
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.search-box {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    position: relative;
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    background-color: #fff;
}

.search-input {
    display: flex;
    flex: 9;
    border: none;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    font-size: 14px;
    height: 46px;
    line-height: 46px;
    padding-left: 10px;
}

.search-input:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #757575;
    cursor: pointer;
}

.search-btn{
    display: flex;
    flex: 3;
    height: 46px;
    background-color: #1a73e8;
    border: none;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    color: #fff;
    float: right;
}
.search-btn i{font-size:26px;margin: 0px auto;line-height: 46px;}

/* 主要内容区域 */
.main-content {
    padding: 20px 0 100px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 20px;
    color: #1a73e8;
    margin: 25px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
    background-color: #e8f0fe;
    padding: 8px;
    font-size:26px;
}

/* 信息卡片 */
.exhibition-cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.exhibition-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.exhibition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a73e8;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.card-title a {
    color: #1a73e8;
    text-decoration: none;
}

.card-title i {
    font-size: 16px;
    color: #ff9800;
}
.icon-box{margin-left:10px;}
.card-content {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* 功能板块 */
        /* 功能板块样式 */
        .feature-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin: 20px 0;
        }
        
        .feature-card {
            background-color: white;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        }
        
        .feature-icon {
            margin-bottom: 10px;
            color: #1a73e8;
            background-color: #e8f0fe;
            width: 60px;
            height: 60px;
            line-height: 60px;
            border-radius: 50%;
            display: inline-block;
        }

        .feature-icon .layui-icon {
            font-size: 38px;
            font-weight: 900;
        }
        
        .feature-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 5px;
            color: #333;
        }
        
        .feature-desc {
            font-size: 13px;
            color: #666;
        }

/* 翻页组件 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0 30px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    background-color: white;
    color: #555;
    border-radius: 8px;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-btn:hover {
    background-color: #f0f0f0;
}

.pagination-btn.active {
    background-color: #1a73e8;
    color: white;
    border-color: #1a73e8;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 底部导航  */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    z-index: 100;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    font-size: 15px;
    padding: 8px 5px;
    flex: 1;
}

.bottom-nav-item.active {
    color: #1a73e8;
}

.bottom-nav-item i {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 4px;
}

/* 供求字体 */
.font-tag {
    font-size: 16px;
    font-weight: 600;
    padding: 8px;
    border-radius: 4px;
    color: #fff;
}

.gong-color {
    background-color: #1a73e8;
}   
.qiu-color {
    background-color: #e74c3c;
    color: white;
}


.mt-10{margin-top:10px;}
.mt-20{margin-top:20px;}
.ml-10{margin-left:10px;}
.ml-20{margin-left:20px;}
.f14{font-size:14px;}
.f16{font-size:16px;}
.fb{font-weight:600;}
.text-center{text-align: center;}

.item-about-box{
    display: flex;
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top:20px;
}

.item-about-box .btn-box{
    display: flex;flex: 1;
}
.item-about-box .date{
    display: flex;flex: 1;justify-content: flex-end;line-height: 36px;
}

.pop-box{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.info-item{margin-top:20px;border:1px solid #ddd;border-radius:5px;height:38px;line-height:38px;}
.info-label{display: table-cell;background-color:#ddd;height:38px;line-height:38px;padding: 0px 10px;}
.info-value{display: table-cell;padding-left: 20px;}
.flex-box{display: flex;align-items: center;}
.flex-item1{flex: 1;}
.flex-item2{flex: 2;}
.flex-item3{flex: 3;}
.flex-item4{flex: 4;}
.flex-item5{flex: 5;}
.flex-item6{flex: 6;}
.flex-item7{flex: 7;}
.flex-item8{flex: 8;}
.flex-item9{flex: 9;}
.flex-item10{flex: 10;}
.flex-item11{flex: 11;}
.flex-col{flex-direction: column;}

/* 响应式调整 */
@media (min-width: 768px) {
    .container {
        max-width: 600px;
    }
}