/* ========================================
   基础样式和全局设置
   ======================================== */
body {
    min-width: 1440px;
    min-height: 738px;
}

/* ========================================
   头部导航区域
   ======================================== */
.header {
    width: 100%;
    height: 122px;
    background: url(../images/bg-header.png) no-repeat left top;
    background-size: 100% 100%;
    position: relative;
    z-index: 99;
}

.header-content {
    width: 1400px;
    height: 100%;
    margin: 0 auto;
}

/* 顶部链接栏 */
.header-content .link {

    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
}

.header-content .link .link-item {
    position: relative;
    gap: 6px;
    font-size: 14px;
    color: #FFB53E;
}
.header-content .link .link-item a {
    display: flex;
    align-items: center;
}
.header-content .link-item {
    position: relative;
}
.header-content .link .link-item .downlist-box {
    display: none;
    position: absolute;
    top: 32px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background-color: #004ea2;
    width: 120px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
}
.header-content .link .link-item .downlist-box div {
    cursor: pointer;
}
.header-content .link .link-item .downlist-box div a {
    display: block;
    padding: 6px 12px;
    color: #E6991C;
    text-align: center;
}
.header-content .link .link-item.active:first-child img {
    transform: rotate(180deg);
}
.header-content .link .link-item:first-child img {
    width: 8px;
    height: 8px;
    margin-left: 6px;
}

/* 链接间分隔线 */
.header-content .link a:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.4);
    margin-left: 10px;
}

.header-content .link .link-item img {
    margin-right: 6px;
    width: 16px;
    height: 16px;
}

/* Logo区域 */
.header-content .logo {
    width: 100%;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-content .logo>img {
    width: 300px;
    height: auto;
}

/* ========================================
   主内容区域 - Banner轮播图
   ======================================== */
.main {
    width: 100%;
    /* height: calc(100vh - 389px); */
    min-height: 350px;
}

.banner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 350px;
    overflow: hidden;
}

/* Swiper轮播容器 */
.banner-swiper {
    width: 100%;
    height: 830px;
}

.banner-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.banner-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   搜索框组件
   ======================================== */
/* 搜索框容器 */
.banner-content {
    position: absolute;
    top: 402px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 1200px;
}

/* 搜索框主体 */
.search-box {
    background: #036dbc url(../images/bg-search.png) no-repeat right center;
    background-size: auto 100%;
    border-radius: 8px;
    box-shadow: 0px 4px 40px 0px rgba(18, 35, 69, 0.1);
    width: 1200px;
    height: 240px;
    display: flex;
    align-items: center;
}

/* 左侧搜索标签区域 */
.search-tab {
    width: 280px;
    height: 100%;
    display: inline-block;
    background-color: #fff;
    border-radius: 8px 0 0 8px;
}

.search-tab a {
    display: block;
    width: 100%;
    height: 60px;
    line-height: 60px;
    padding: 0 16px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    text-align: center;
    background: #fff;
    transition: all 0.3s ease;
}

/* 标签激活和悬停状态 */
.search-tab a.active,
.search-tab a:hover {
    color: #fff;
    background: #2E80D8;
}

/* 第一个标签的圆角 */
.search-tab a:first-child {
    border-radius: 8px 0 0 0;
}

/* 右侧搜索输入区域 */
.search-input {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    padding: 30px 40px;
    box-sizing: border-box;
}

/* 搜索标题 */
.search-input h1 {
    font-size: 24px;
    font-weight: 500;
    color: #fff;
    margin: 0;
}

/* 搜索输入框行 */
.search-input-row {
    display: flex;
    gap: 0;
    align-items: center;
    /* border: 1px solid #E0E0E0; */
    background-color: #FFF;
    border-radius: 4px;
}
.select2-container--default .select2-selection--single {
    border: 0;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
        background-color: #2E80D8;
}
.select2-dropdown{
    /* border: 0; */
}
/* 搜索输入框 */
.search-input input {
    flex: 1;
    height: 50px;
    padding: 0 20px 0 20px;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    outline: none;
    /* transition: border-color 0.3s ease;
    background: #fff url(../images/icon-search.png) no-repeat left 20px center; */
    background-size: 20px 20px;
}

.search-input input:focus {
    border-color: #1976d2;
}

/* 搜索按钮 */
.search-input button {
    width: 105px;
    height: 50px;
    background: #E6991C;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-input button:hover {
    background: #d2860b;
}

/* 快捷链接区域 */
.search-input-tips {
    display: flex;
    flex-wrap: wrap;
    line-height: 36px;
    font-size: 14px;
    text-align: left;
}

.search-input-tips a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.search-input-tips a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* 快捷链接间分隔线 */
.search-input-tips a:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.4);
    margin: 0 19px;
}

/* ========================================
   Swiper分页器样式
   ======================================== */
.banner-swiper .swiper-pagination {
    bottom: 30px;
}

/* 分页器圆点 */
.banner-swiper .swiper-pagination-bullet {
    width: 16px;
    height: 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 10px;
    transition: all 0.3s ease;
}

/* 激活状态的分页器圆点 */
.banner-swiper .swiper-pagination-bullet-active {
    width: 40px;
    margin: 0 10px !important;
    background: #fff;
    transform: scale(1.2);
}

/* ========================================
   页脚区域
   ======================================== */
.footer {
    width: 100%;
    height: 268px;
    background: #194482 url(../images/bg-footer.jpg) no-repeat right top;
    background-size: 100% 100%;
}

.footer-content {
    width: 1400px;
    height: 100%;
    margin: 0 auto;
}

/* 页脚顶部内容 */
.footer-top {
    width: 100%;
    height: 188px;
    display: flex;
    align-items: start;
    justify-content: space-between;
    padding-top: 40px;
    box-sizing: border-box;
}

/* 页脚Logo */
.footer-top .logo {
    width: 370px;
    height: auto;
}

/* 页脚链接区域 */
.footer-top .link {
    display: flex;
    width: 730px;
    justify-content: space-between;
}

.footer-top .link .link-item {
    display: flex;
    flex-wrap: wrap;
}

.footer-top .link .link-item a {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    padding: 0 14px;
    border: 1px solid #E9C78F;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    color: #E9C78F;
    text-decoration: none;
    margin: 0 18px 20px 0;
    transition: all 0.3s ease;
}

/* .footer-top .link .link-item a:hover {
    border-color: rgba(145, 134, 116, 0.8);
    color: #a89785;
} */

/* 页脚链接分隔线 */
.footer-top .link::before {
    content: '';
    display: inline-block;
    width: 1px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.3);
    margin-right: 100px;
}

/* 二维码区域 */
.footer-top .qrcode {
    width: 110px;
    height: 110px;
}

.footer-top .qrcode img {
    width: 110px;
}

.footer-top .qrcode p {
    font-size: 12px;
    color: #fff;
    text-align: center;
    margin: 6px 0 0 0;
}

/* 版权信息 */
.copyright {
    width: 100%;
    height: 80px;
    padding-top: 14px;
    box-sizing: border-box;
}

.copyright p {
    line-height: 28px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.login-box {
    white-space: nowrap;
}
/* ========================================
   响应式设计
   ======================================== */
@media only screen and (min-width: 1px) and (max-width: 926px) {
    /* 移动端适配样式可在此添加 */
    .header-content,
    .footer-content {
        width: 100%;
    }
    .banner-content {
        width: 100%;
    }
    body {
        min-width: 0;
        min-height: 0;
    }
    .header-content .link {
        display: none;
    }
    .header {
        background: #FFF;
        padding: 13px 15px;
        height: 56px;
        box-sizing: border-box;
    }
    .header-content .logo {
        height: 30px;
    }
    .header-content .logo img {
        width: auto;
        height: 30px;
    }
    .page-header .before-login-1 {
        height: 32px;
        line-height: 32px;
        padding: 0 12px;
    }
    .page-header .after-login .user-name,
    .page-header .after-login .icon-arrow {
        display: none !important;
    }
    .banner-content {
        position: unset;
        transform: none;
        padding: 20px 15px;
        background: rgba(242, 247, 252, 1);
    }
    .main {
        height: auto;
    }
    .swiper-container {
        height: 240px;
    }
    .banner {
        min-height: 0;
    }
    html {
        zoom: 1;
    }
    .search-tab {
        width: auto;
        font-size: 0;
        height: auto;
        border-radius: 8px 8px 0 0;
        overflow: hidden;
        vertical-align: top;
    }
    .search-tab a {
        display: inline-block;
        vertical-align: top;
        width: auto;
        padding: 0 12px;
        height: 36px;
        line-height: 36px;
        font-size: 14px;
    }
    .search-box{
        display: block;
        width: 100%;
        height: auto;
        background: none;
        box-shadow: none;
    }
    .search-input {
        display: block;
        padding: 30px;
        border-radius: 0 8px 8px 8px;
        background: #036dbc url(../images/bg-search.png) no-repeat right
    }
    .search-input h1 {
        margin-bottom: 8px;
    }
    .search-input button {
        height: 32px;
        font-size: 14px;
        width: 50px;
    }
    .search-input input {
        height: 32px;
        flex: 1;
        width: 0;
    }
    .search-input-tips {
        line-height: 32px;
    }
    .footer-top {
        display: block;
        height: auto;
        padding-top: 0;
    }
    .footer-top .logo {
        width: auto;
        max-height: 70px;
        max-width: 80%;
    }
    .footer-content {
        padding: 24px 16px;
    }
    .footer-top .link {
        width: auto;
        margin-top: 24px;
    }
    .footer-top .link::before {
        display: none;
    }
    .footer-top .link .link-item a {
        margin: 0 10px 10px 0;
    }
    .footer {
        height: auto;
        background: url('../images/app_footer_bg.png') no-repeat center center;
        background-size: 100% 100%;
    }
    .copyright {
        padding-top: 20px;
    }
    .footer-top .qrcode {
        height: auto;
    }
}