/* ==================== 全局重置 ==================== */
* {
    margin: 0;
    padding: 0;
}

html,
body {
    position: relative;
    height: 100%;
}

body {
    font-family: Microsoft YaHei UI;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #fff;
}

ul,
li {
    list-style: none;
}

input {
    border: 0;
    outline: 0;
}

input:focus {
    outline: none;
    box-shadow: none;
}

button {
    border: none;
    outline: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

/* ==================== 通用工具类 ==================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
    position: relative;
}

.cle {
    clear: both;
}

.line {
    border-bottom: 1px solid #d3e8f7;
    margin-top: 30px;
}

.fixTop {
    margin-top: -180px;
}

/* ==================== 导航栏 ==================== */
/* ---------- 导航容器 ---------- */
#Navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: transparent;
    z-index: 999;
    background: linear-gradient(-30deg, #bae3ff, #fff);
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(90deg, #b5dcff, #91d0fa) 1;
}

.navBar {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* ---------- 导航左侧 ---------- */
.navLeft {
    display: flex;
    gap: 40px;
    position: relative;
}

.navLeft a {
    color: #0771ba;
    font-size: 24px;
}

.navLeft a:hover {
    color: #0771ba;
    font-size: 24px;
    font-weight: 900;
}

.navItem {
    position: relative;
}

.navItem::after {
    content: "";
    position: absolute;
    top: 33px;
    left: 37px;
    width: 26px;
    height: 14px;
    background: url("../images/navHover.png") no-repeat center;
    background-size: contain;
    z-index: -1;
    opacity: 0;
    transition: 0.5s;
}

.navItem:hover::after {
    opacity: 1;
}

.navItem.active::after {
    opacity: 1;
}

.navItem.active {
    font-weight: 900;
}

/* ---------- 导航右侧 ---------- */
.navRight {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.navRight a {
    height: 35px;
    text-align: center;
    line-height: 35px;
    border-radius: 20px;
    color: #000;
    padding: 0px 15px;
    margin: 0px 8px;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid transparent;
}

.navRight a:nth-child(1) {
    background: #5497e1;
    width: 77px;
    color: #fff;
}

.navRight a:nth-child(1) img {
    width: 15px;
}

.navRight a:nth-child(2) {
    background: #b82d2e;
    color: #fff;
}

.navRight a:nth-child(3) {
    background: #1658a0;
    color: #fff;
}

.navRight a:nth-child(4) {
    background: #5497e1;
    color: #fff;
    width: 62px;
}

.navRight a img {
    width: 15px;
    margin-right: 5px;
}

.navRight a:hover {
    border-radius: 5px;
    border: 1px solid #0771ba;
    transition: 1s;
}

/* 大背景图重置开始 */

.swiper-slide.lunBo {
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: 1s linear 2s;
    transform: scale(1.1, 1.1);
    animation: bgScale 5s ease-out forwards;
}

.slideBg1 {
    background-image: url("../images/fade1.jpg");
}

/* .slideBg12 {
    background-image: url("./images/fade2.jpg");
} */

.fadeOneIP {
    position: relative;
    z-index: 2;
}

@keyframes bgScale {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.fadeOneIP {
    width: 500px;
    height: 400px;
    position: absolute;
    right: 0px;
    top: 280px;
}

/* 大背景图重置结束 */

/* ---------- 移动端导航隐藏标记 ---------- */
#mobileNavbar,
#mobileFullMenu {
    display: none !important;
}

/* ==================== Header / 轮播图区域 ==================== */
.header {
    position: relative;
}

.bannerLogo {
    margin: 0 auto;
    width: 100%;
}

.bannerLogo {
    position: absolute;
}

/* ---------- 轮播图 ---------- */
.mySwiper {
    z-index: -1;
    height: 745px;
    overflow: hidden;
}

.lunBo img {
    width: 100%;
    height: 800px;
    min-height: 100%;
    transition: 1s linear 2s;
    transform: scale(1.1, 1.1);
}

.swiper-slide-active img,
.swiper-slide-duplicate-active img {
    transition: 6s linear;
    transform: scale(1, 1);
}

/* ---------- 风扇装饰图 ---------- */
.fengShan img {
    position: absolute;
    right: 100px;
    bottom: 200px;
    height: 300px;
    opacity: 0.5;
    -webkit-mask-image: linear-gradient(to top, transparent, black 100%);
    mask-image: linear-gradient(to top, transparent, black 100%);
}

/* ---------- Logo ---------- */
.logo {
    text-align: center;
    padding-top: 200px;
    display: block;
}

/* ---------- 搜索框 ---------- */
.searchBox {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.searchKeywords {
    width: 713px;
    height: 75px;
    border: 1px solid #a5dafe;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0);
    padding-left: 20px;
    font-size: 20px;
    box-sizing: border-box;
}

.searchKeywords::placeholder {
    font-size: 20px;
    color: #79858d;
    padding-left: 10px;
}
.subform{position: relative;}
.searchSubmit {
    background: rgba(165, 218, 254, 0.4);
    width: 180px;
    height: 75px;
    font-size: 20px;
    font-weight: bold;
    color: #0771ba;
    border: 0;
    border-top-left-radius: 0px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 50px;
    right:0;
    position: absolute;
    z-index: 1;
}

/* 头条开始 */
.hotTopNews {
    background: transparent;
    margin-top: 30px;
}

.hotTopNewsTit a {
    font-size: 42px;
    color: #0771ba;
    text-align: center;
    display: block;
    padding: 35px 0px;
}

.hotTopNewsTit a:hover {
    transform: translateY(-5px);
    transition: 0.5s;
}


/* 头条结束 */

/* ---------- 大背景装饰图 ---------- */
.fadeOneIP {
    position: absolute;
    right: 100px;
    bottom: 130px;
    z-index: 99;
}

.fadeOneIP img {
    width: 400px;
    height: auto;
    /* 渐变规则：底部遮40% + 顶部遮一部分，中间渐变显示 */
    -webkit-mask-image: linear-gradient(to top, transparent 0%, transparent 19%, black 60%, black 0%, transparent 85%);
    mask-image: linear-gradient(to top, transparent 0%, transparent 19%, black 60%, black 0%, transparent 85%);
    opacity: 0.5;
}

#mobileMenuToggle {
    display: none;
}

#mobileMenuToggle:checked~.navBar .navRight a:nth-child(1) {
    background: #5497e1;
    width: auto;
}

#mobileMenuToggle:checked~.navBar .navRight a:nth-child(2) {
    background: #5497e1;
}

#mobileMenuToggle:checked~.navBar .navRight a:nth-child(3) {
    background: #5497e1;
}

#mobileMenuToggle:checked~.navBar .navRight a:nth-child(4) {
    background: #5497e1;
    width: auto;
}

#mobileMenuToggle:checked~.navBar .navRight a:hover {
    border-radius: 16px;
    border: none;
    opacity: 0.85;
}

.shiLaoHua button img {
    width: 80%;
}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, 0px);
    top: var(--swiper-pagination-top, auto);
    left: 0;
    width: 100%;
}

/* 面包屑 */
.breadWrap {
    background: url(../images/bread-bg.png) no-repeat center bottom,
        url(../images/bread-icon.png) no-repeat left center;
    font-size: 14px;
    line-height: 80px;
    height: 80px;
    padding-left: 30px;
}

.breadWrap a:hover {
    color: #1658a0;
}

/* ==================== 响应式 (320px – 767px) ==================== */
@media screen and (min-width: 320px) and (max-width: 767px) {

    .container {
        width: 96% !important;
        margin: 0 auto;
        box-sizing: border-box;
    }

    /* ---------- 布局覆盖 ---------- */
    .logo {
        text-align: center;
        padding-top: 50px;
        display: block;
    }

    .logo img {
        width: 80%;
        margin: 0 auto;
    }

    /* ---------- 搜索框覆盖 ---------- */
    .searchBox {
        margin-top: 20px;
        height: 50px;
        position: relative;
    }

    .searchKeywords {
        position: absolute;
        width: 80%;
        height: 55px;
        border: 1px solid #a5dafe;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0);
        padding: 0;
        font-size: 14px;
        margin: 0;
    }

    .searchKeywords::placeholder {
        font-size: 14px;
        color: #79858d;
        padding-left: 10px;
    }

    .searchSubmit {
        background: rgba(165, 218, 254, 0.4);
        width: 80px;
        height: 55px;
        font-size: 14px;
        font-weight: normal;
        color: #0771ba;
        border: 0;
        border-top-left-radius: 0px;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        border-bottom-left-radius: 28px;
        position: absolute;
        right: 10%;
        top: -2px;
    }

    .header {
        height: 300px;
    }

    .bannerLogo {
        margin-top: 50px;
    }

    /* ---------- 轮播图覆盖 ---------- */
    .mySwiper {
        z-index: -1;
        height: 200px;
        overflow: hidden;
    }

    .fadeOneIP {
        width: 200px;
        height: 200px;
        position: absolute;
        right: 0px;
        top: 44px;
    }

    .lunBo img {
        height: 200px;
        width: 100%;
    }

    .fadeOneIP img {
        width: 200px !important;
        height: auto !important;
    }

    /* 面包屑 */
    .breadWrap {
        background: none,
            url(../images/bread-icon.png) no-repeat left center;
        font-size: 14px;
        line-height: 50px;
        height: 50px;
        padding-left: 30px;
    }

    /* ---------- 导航容器覆盖 ---------- */
    #Navbar {
        width: 100%;
        height: 50px;
        background: linear-gradient(-30deg, #bae3ff, #fff);
        border-bottom: 1px solid #b5dcff;
        position: inherit;
    }

    .navBar {
        max-width: 100%;
        height: 50px;
        padding: 0 50px 0 10px;
        position: relative;
        display: flex;
        align-items: center;
    }

    /* ---------- 三点菜单按钮 ---------- */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        width: 44px;
        height: 52px;
        cursor: pointer;
        position: absolute;
        right: 0px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
        background: none;
        border: none;
        padding: 0;
        background: linear-gradient(465deg, #bae3ff, #fff);
    }

    .mobile-menu-btn span {
        display: block;
        width: 20px;
        height: 2px;
        background: #0771ba;
        transition: all 0.3s ease;
    }

    /* checkbox 选中 → 三点变叉号 */
    #mobileMenuToggle:checked~.navBar .mobile-menu-btn span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
        border-radius: 0;
        width: 20px;
        height: 2px;
    }

    #mobileMenuToggle:checked~.navBar .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
    }

    #mobileMenuToggle:checked~.navBar .mobile-menu-btn span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
        border-radius: 0;
        width: 20px;
        height: 2px;
    }

    /* ---------- navLeft 移动端横向可滑动 ---------- */
    .navLeft {
        display: flex;
        gap: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        white-space: nowrap;
        flex: 1;
        align-items: center;
        height: 100%;
    }

    .navLeft::-webkit-scrollbar {
        display: none;
    }

    .navLeft a {
        flex-shrink: 0;
        font-size: 15px;
        padding: 0 14px;
        height: 50px;
        line-height: 50px;
        color: #0771ba;
        text-decoration: none;
        white-space: nowrap;
        position: relative;
    }

    .navLeft a::after {
        content: "";
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: #0771ba;
        border-radius: 1px;
        transition: width 0.3s;
    }

    .navItem:active {
        font-size: 15px !important;
        font-weight: 500;
    }

    .navLeft a:hover::after,
    .navLeft a.active::after {
        width: 60%;
    }

    .navLeft a:hover {
        font-size: 15px !important;
        font-weight: bold;
    }

    .navItem::after {
        display: none !important;
    }

    /* ---------- navRight 移动端默认隐藏 ---------- */
    .navRight {
        display: none;
        position: absolute;
        top: 50px;
        right: 0;
        width: 100%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 0;
        flex-direction: column;
        z-index: 998;
        border-top: 1px solid #eef5fc;
    }

    /* ---------- checkbox 选中 → 展开菜单 ---------- */
    #mobileMenuToggle:checked~.navBar {
        height: auto;
        min-height: 50px;
        flex-wrap: wrap;
        background: linear-gradient(465deg, #bae3ff, #fff);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        border-bottom: 1px solid #e0e8f0;
        border: 1px solid #a8dcff;
    }

    #mobileMenuToggle:checked~.navBar .navLeft {
        height: 200px;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 45px;
        border-bottom: 1px solid #a5dafe;
        padding-bottom: 15px;
    }

    #mobileMenuToggle:checked~.navBar .navLeft a {
        height: 48px;
        line-height: 48px;
        font-size: 16px;
        width: 42%;
        margin: 2%;
        box-sizing: border-box;
        background: #fff;
        border: 1px solid #bae3ff;
        color: #333;
        text-align: center;
        border-radius: 4px;
    }

    #mobileMenuToggle:checked~.navBar .navLeft a::after {
        display: none;
    }

    #mobileMenuToggle:checked~.navBar .navLeft a:hover,
    #mobileMenuToggle:checked~.navBar .navLeft a.active {
        background: #e6f3ff;
        color: #0771ba;
        font-weight: bold;
    }

    #mobileMenuToggle:checked~.navBar .navRight {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        position: static;
        width: 100%;
        padding: 30px 15px 52px 15px;
        gap: 8px;
        justify-content: space-evenly;
        box-shadow: none;
        border-top: none;
    }

    #mobileMenuToggle:checked~.navBar .navRight a {
        height: 28px;
        line-height: 28px;
        font-size: 14px;
        padding: 3%;
        width: 40% !important;
        margin: 0;
        border-radius: 5px;
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        text-decoration: none;
        border: none;
        white-space: nowrap;
        color: #fff;
    }

    /* 头条开始 */
    .hotTopNews {
        background: #fff;
        width: 100%;
        margin: 0 auto;
    }

    .hotTopNewsTit a {
        font-size: 16px;
        font-weight: 200;
        color: #0771ba;
        text-align: center;
        display: block;
        padding: 5%;
        width: 90%;
        margin: 0 auto;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;

    }

    .hotTopNewsTit a:hover {
        transform: translateY(-5px);
        transition: 0.5s;
    }

    .line {
        margin-top: 20px;
    }
}

@media screen and (min-width: 320px) and (max-width: 767px) {
.subform {
    width: 100%;
}
    .searchKeywords {
        width: 80%;
        left: 10%;
    }
    .searchSubmit {
        right: 10%;
		top: 0px;
    }
.searchBox {
        margin-top: 10px;
        margin-bottom: 30px;
    }
.swiperBanner img {
	height:245px;
	}
}
/* ==================== 中屏适配：防止125%缩放等窄视口下导航折行（追加修复，原代码未改动） ==================== */

/* 1. 折行兜底：导航文字强制单行（同优先级靠后声明生效，覆盖原 .navLeft a / .navRight a） */
.navLeft a,
.navRight a {
    white-space: nowrap;
}

/* 2. 中屏压缩：768~1334px 视口（覆盖 125%~150% 缩放下各常见分辨率）
   clamp() 让字号与间距随视口连续缩放；≥1335px 视口（含1366/1440/1920屏100%）走原样式，完全不变 */
@media screen and (min-width: 768px) and (max-width: 1334px) {
    .navBar {
        padding: 0 12px;
    }
    .navLeft {
        gap: clamp(14px, 2.2vw, 26px);
    }
    .navLeft a {
        font-size: clamp(18px, 1.7vw, 20px);
    }
    .navRight a {
        font-size: clamp(12px, 1.1vw, 13px);
        padding: 0 clamp(8px, 0.9vw, 10px);
        margin: 0 clamp(3px, 0.35vw, 4px);
    }
    /* 去除两项固定宽度按钮，改为按内容自适应，释放宽度 */
    .navRight a:nth-child(1),
    .navRight a:nth-child(4) {
        width: auto;
    }
}

/* 3. 窄屏兜底：768~960px 视口（如 1024屏@125%），左侧导航改为横向滑动，避免折行与溢出 */
@media screen and (min-width: 768px) and (max-width: 960px) {
    .navLeft {
        flex: 1;
        gap: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .navLeft::-webkit-scrollbar {
        display: none;
    }
    .navLeft a {
        flex-shrink: 0;
        padding: 0 14px;
        height: 80px;
        line-height: 80px;
    }
}