/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

/* 包含 logo 和菜单栏的 div */
.wszhj-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-image: url('header-bj.png');
    background-size: 100% 100%;
    /* 让背景图片完全覆盖 div */
    background-repeat: no-repeat;
    height: 160px;
    display: flex;
    justify-content: space-between;
    align-items: center; /* 让子元素垂直居中对齐 */
    z-index: 1000;
}

/* 透明导航栏（覆盖在轮播图上方） */
.wszhj-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center; /* 让子元素垂直居中对齐 */
}


.wszhj-logo {
    height: 85px;
    transition: height 0.3s;
    margin-left: 150px;
    margin-bottom: 10px;
}

.wszhj-right-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 150px;
}

.wszhj-home-link {
    margin-bottom: 10px;
}

.wszhj-home-link a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.wszhj-main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: flex-end; /* 让菜单项垂直下端对齐 */
}

.wszhj-main-nav ul li {
`    cursor: pointer;
  position: 15px;
    text-align: center;
display: block; /* 或 flex */

}

.wszhj-main-nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 18px;
}

.wszhj-header.scrolled .wszhj-main-nav a {
    color: #333;
}

/* 二级菜单样式 */
.wszhj-main-nav ul ul {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    transform: translateX(-15%); /* 向左移动自身宽度的 50% */
}

.wszhj-main-nav ul ul li {
    margin-bottom: 10px;
}

.wszhj-main-nav ul ul a {
    color: #333;
}

/* 鼠标移动到二级菜单时，二级菜单上端加入 2PX 的蓝色上边框 */
.wszhj-main-nav ul li:hover > ul {
    border-top: 2px solid #0080b1;
}

/* 移动到二级菜单文字时，字体颜色改为蓝色 */
.wszhj-main-nav ul ul li a:hover {
    color: #0080b1;
}

/* 轮播图（距顶部0px） */
/* 修改后 */
.wszhj-slider {
    width: 100%;
    /* 移除固定高度，改为按比例自适应 */
    position: relative;
    overflow: hidden; /* 防止内容溢出 */
}

.wszhj-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}
/* 确保轮播图外层容器无固定高度 */
.wszhj-slider-parent { /* 若存在外层容器，添加此样式 */
    height: auto !important;
}
.wszhj-slide.active {
    opacity: 1;
}

.wszhj-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例并填满容器 */
}

/* 切换按钮（固定距边缘100px） */
.wszhj-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    z-index: 1001;
    cursor: pointer;
    background-repeat: no-repeat;
    background-size: cover;
}

.wszhj-prev-btn {
    left: 100px;
    background-image: url('ba-left.png');
}

.wszhj-next-btn {
    right: 100px;
    background-image: url('ba-right.png');
}