.bannerBox{
    background: url('../image/consult/banner.png') center/cover no-repeat;
    background-size: 100% 100%;
    padding: 0 10vw;
    height: 43vh;
    position: relative;
}
.bannerHeaderBox{
    position: absolute;
    top: 50%;
    left: 10vw;
    transform: translateY(-50%);
    color: white;
}
.bannerTextImg{
    /* max-width: 10vw; */
    height: 10vh;
}
.bannerSubTitle{
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 0.2vw 0.5vw;
    width: 20vw;
    border-radius: 5px;
}
/* 卡片箭头圆圈 */
.card-arrow-circle {
    position: static;
    width: 1.5vw;
    height: 1.5vw;
    background: linear-gradient(90deg, rgba(15, 143, 255, 1) 0%, rgba(82, 174, 235, 1) 100%);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    /* align-self: flex-start; */
    /* margin-top: 1.5vh; */
}

.card-arrow-circle:hover {
    transform: scale(1.1);
}

.card-arrow-circle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}
.shengjiBox{
    padding: 1vw 10vw 8vh;
    background:  url('../image/rongzi/bg.png');
    background-size: 100% 100%;
    background-repeat: no-repeat, ;
    background-position: bottom center;
}
/* 搜索栏 */
.searchIcon{
    width: 1vw;
    margin-right: 0.2vw;
}
section7-search-box{
    display: flex;
}
.section7-search {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 10px 2px;
}

.section7-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.8vw;
    color: #333;
    background: transparent;
}

.section7-search-input::placeholder {
    color: #999;
}

.section7-search-button {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(166, 166, 166, 1);
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.section7-search-button:hover {
    background: #f8f9fa;
    color: #007bff;
}

/* 右侧搜索按钮 */
.section7-search-RightButton {
    background: linear-gradient(90deg, rgba(15, 143, 255, 1) 0%, rgba(82, 174, 235, 1) 100%);
    color: white;
    border: none;
    border-radius: 4px;
    /* padding: 8px 2vw; */
    width: 5.5vw;
    height: 32px;
    font-size: 0.8vw;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    white-space: nowrap;
}

.section7-search-RightButton:hover {
    background: linear-gradient(90deg, rgba(12, 120, 220, 1) 0%, rgba(70, 150, 210, 1) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.section7-search-RightButton:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.consultBox{
    padding: 1vw 10vw 8vh;
    background:  url('../image/rongzi/bg.png');
    background-size: 100% 100%;
    background-repeat: no-repeat, ;
    background-position: bottom center;
}

/* 政策分类按钮样式 */
.selectBIg{
    display: flex;
    justify-content: center;
    margin: 2vw 0;
}
.policy-tabs {
    display: flex;
    gap: 1vw;
    margin-bottom: 2vh;
    padding: 0.5vw;
    border-radius: 8px;
    width: 50vw;
}

.policy-tab {
    flex: 1;
    padding: 0.8vw 1.5vw;
    border: none;
    border-radius: 6px;
    font-size: 0.9vw;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background-color: white;
    color: #000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.policy-tab:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.policy-tab.active {
    background: linear-gradient(90deg, rgba(15, 143, 255, 1) 0%, rgba(82, 174, 235, 1) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(15, 143, 255, 0.3);
    transform: translateY(-1px);
}

.policy-tab.active::after {
    content: '';
    position: absolute;
    bottom: -0.6vw;
    left: 50%;
    transform: translateX(-50%);
    width: 0.8vw;
    height: 0.8vw;
    background: linear-gradient(90deg, rgba(15, 143, 255, 1) 0%, rgba(82, 174, 235, 1) 100%);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}
.competition-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2vh;
    margin-bottom: 4vh;
    position: relative;
    z-index: 2;
}

.competition-card {
    background: white;
    border-radius: 12px;
    padding: 3vh 3vw;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: 0.2px solid #f0f0f0;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.competition-card:hover .competition-title,
.competition-card.selected .competition-title {
    color: rgba(10, 116, 209, 1);
}


.card-content {
    flex: 1;
    margin-right: 2vw;
}

.competition-title {
    font-size: 1.2vw;
    font-weight: 600;
    color: #333;
    margin: 0 0 1vh 0;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-meta {
    display: flex;
    align-items: center;
    margin-bottom: 1vh;
}

.competition-tag {
    background: rgba(247, 247, 247, 1);
    color: rgba(128, 128, 128, 1);
    padding: 0.5vh 1vw;
    border-radius: 2px;
    font-size: 0.6vw;
}

.competition-date {
    color: rgba(128, 128, 128, 1);
    font-size: 0.8vw;
    font-weight: 400;
    margin-top: 0.5vh;
}

.card-action {
    flex-shrink: 0;
}

.learn-more-btn {
    background: none;
    color: white;
    border: none;
    padding: 0;
    border-radius: 0;
    font-size: 1vw;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: none;
    position: relative;
    width: auto;
    height: auto;
}

.learn-more-btn:hover {
    transform: translateY(-1px);
    box-shadow: none;
    background: none;
}

.btn-icon {
    width: 7.5vw;
    height: auto;
}

/* 悬浮和选中状态下的competition-card样式 */
.competition-card:hover,
.competition-card.active {
    background: #f0f8ff;
    border: 1px solid #007bff;
    box-shadow: 0 0.5vh 1.5vw rgba(0, 123, 255, 0.2);
    transform: translateY(-2px);
}

.competition-card:hover .learn-more-btn .btn-icon,
.competition-card.active .learn-more-btn .btn-icon {
    opacity: 0;
}

.competition-card:hover .learn-more-btn::after,
.competition-card.active .learn-more-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 7.5vw;
    height: 3.5vw;
    background-image: url('../image/talent-improve/talljgdlogo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* 分页 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5vw;
    margin-top: 4vh;
    position: relative;
    z-index: 10;
}

.page-btn {
    background: white;
    border: 1px solid #ddd;
    color: rgba(128, 128, 128, 1);
    padding: 0.8vh 0.8vh;
    border-radius: 6px;
    font-size: 1vw;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 3vw;
    height: 3vw;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover {
    background: #f8f9fa;
    border-color: #41a6f0;
    color: #41a6f0;
}

.page-btn.active {
    background: #41a6f0;
    color: white;
    border-color: #41a6f0;
}

.page-btn.prev-btn,
.page-btn.next-btn {
    font-size: 1.2vw;
    font-weight: bold;
}

.page-ellipsis {
    color: #999;
    font-size: 1vw;
    padding: 0 0.5vw;
}

/* 筛选区域样式 */
.shaixuan {
    display: flex;
    justify-content: flex-end;
    margin: 2vh 0;
    /* padding: 0 10vw; */
}

.filter-options {
    display: flex;
    gap: 2vw;
    align-items: center;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.3vw;
    padding: 0.5vh 1vw;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    font-size: 0.9vw;
    font-weight: 400;
    border-radius: 4px;
    position: relative;
}

.filter-option:hover {
    background-color: #f5f5f5;
    color: #007bff;
}

.filter-option.active {
    color: #007bff;
    font-weight: 500;
}



.sort-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    gap: 1px;
}

/* 放大排序图标尺寸 */
.filter-option .sort-icon svg {
    width: 24px;
    height: 24px;
}

.sort-arrow-up,
.sort-arrow-down {
    transition: all 0.3s ease;
}

.sort-arrow-up {
    opacity: 0.3;
}

.sort-arrow-down {
    opacity: 0.3;
}

/* 默认状态：两个箭头都显示为灰色 */
.filter-option .sort-icon .sort-arrow-up,
.filter-option .sort-icon .sort-arrow-down {
    opacity: 0.3;
}

/* 悬停状态：两个箭头都变为蓝色 */
.filter-option:hover .sort-icon .sort-arrow-up,
.filter-option:hover .sort-icon .sort-arrow-down {
    fill: #007bff;
    opacity: 0.6;
}

/* 激活状态：根据排序方向显示对应箭头 */
.filter-option.active .sort-icon .sort-arrow-up,
.filter-option.active .sort-icon .sort-arrow-down {
    fill: #007bff;
}

/* 升序状态：只显示向上箭头 */
.filter-option.active.sort-asc .sort-icon .sort-arrow-up {
    opacity: 1;
}

.filter-option.active.sort-asc .sort-icon .sort-arrow-down {
    opacity: 0.3;
}

/* 降序状态：只显示向下箭头 */
.filter-option.active.sort-desc .sort-icon .sort-arrow-up {
    opacity: 0.3;
}

.filter-option.active.sort-desc .sort-icon .sort-arrow-down {
    opacity: 1;
}

/* 空状态样式 */
.no-data {
    text-align: center;
    padding: 4vh 2vw;
    color: #999;
    font-size: 1vw;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 480px) {

}
@media (max-width: 768px) {
    .bannerSubTitle{
        width: 50vw;
    }
    .searchIcon{
        width: 12px;
    }
    .section7-search-input{
        font-size: 12px;
    }
    .section7-search-RightButton{
        width: 100px;
        font-size: 12px;
    }
    .bannerTextImg{
        height: 7vh;
    }
    .bannerBox{
        margin-top: 5vh;
        height: 20vh;
    }
    
    /* 移动端政策分类按钮样式 */
    .policy-tabs {
        gap: 1vh;
        padding: 1vh;
        margin-bottom: 3vh;
        width: 100%;
        display: flex;
        align-items: center;
    }
    
    .policy-tab {
        padding: 1vh 3vw;
        font-size: 8px;
        border-radius: 8px;
    }
    
    .policy-tab.active::after {
        display: none; /* 移动端隐藏箭头 */
    }
    
    /* 移动端筛选区域样式 */
    .shaixuan {
        padding: 0 5vw;
        margin: 1vh 0;
    }
    
    .filter-options {
        gap: 4vw;
    }
    
    .filter-option {
        font-size: 12px;
        padding: 0.8vh 2vw;
        gap: 0.5vw;
    }
    
    .filter-option.active::after {
        width: 1vw;
        height: 0.2vh;
    }
    /* 移动端图标适当缩小，保持清晰度 */
    .filter-option .sort-icon svg {
        width: 20px;
        height: 20px;
    }
}