.banner {
    width: 100%;
    position: relative;
}

.banner img {
    width: 100%;
}

.about_content {
    width: 1200px;
    display: flex;
    justify-content: left;
    align-items: center;
    margin: 0 auto;
}

.banner .pos {
    width: 1200px;
    position: absolute;
    left: 50%;
    top: 40%;
    opacity: 1;
    transform: translateX(-50%);
    transition: opacity 0.3s ease;
}

.banner .pos .text {
    color: #fff;
    font-size: 30px;
    letter-spacing: 0.2em;
}

.banner .pos .text h2 {
    font-size: 1.5em;
    font-weight: bold;
}

.banner .pos .text p {
    font-weight: 400;
    border-bottom: 2px solid #fff;
    line-height: 2em;
    padding-bottom: 10px;
}

.nav-container {
    background-color: #f7eee6;
    position: relative;
    padding-bottom: 90px;
    display: flex;
    align-items: center;
    /* 适配设计高度 */
    border: 1px solid #eee;
    font-weight: 300;
}

.nav-container .about_content {
    position: absolute;
    top: -90px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
}

/* 左侧主项：关于西湖 */
.nav-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 160px;
    height: 80px;
    background-color: #EF7521;
    /* 橙色主色 */
    color: #fff;
    text-align: center;
    font-weight: 300;
}

.nav-main .cn {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.2;
}

.nav-main .en {
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.2;
    margin-top: 2px;
}

/* 右侧子导航列表 */
.nav-sub-list {
    display: flex;
    align-items: center;
    height: 80px;
}

/* 子导航项 */
.nav-sub-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 100%;
    font-size: 18px;
    color: #333;
    position: relative;
    background-color: rgba(255, 255, 255, 0.8);
    border-left: 1px solid #ccc;
}

/* 箭头分隔符 */
.nav-sub-item::before {
    content: ">";
    margin-right: 15px;
    font-size: 18px;
    font-weight: 300;
    color: #999;
}

/* 最后一项去掉箭头 */
.nav-sub-item:last-child::after {
    display: none;
}

/* 遮罩层 */
.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    /* 初始高度为0，隐藏遮罩 */
    background: rgba(0, 0, 0, 0.6);
    /* 黑色半透明 */
    transition: height 0.3s ease;
    /* 从下往上滑入动画 */
    z-index: 1;
}

/* 鼠标移入时显示遮罩 */
.banner:hover::after {
    height: 100%;
}

/* Tab 导航 */
.banner .tab-nav {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
    /* 确保在遮罩上方 */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banner .tab-nav .about_content {
    justify-content: space-between;
}

.banner:hover .tab-nav {
    opacity: 1;
    /* 遮罩显示时才显示Tab导航 */
}

.banner .tab-btn {
    width: 220px;
    height: 50px;
    font-size: 20px;
    padding: 5px 15px;
    background: #fff;
    border: none;
    cursor: pointer;
    border-radius: 2px;
}

.banner .tab-btn.active {
    background: #EE7521;
    color: white;
}

/* Tab 内容 */
.banner .tab-content {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banner:hover .tab-content {
    opacity: 1;
}

.banner:hover .pos {
    opacity: 0;
}

.banner .tab-pane {
    display: none;
    clear: both;
}

.banner .tab-pane>div {
    width: 40%;
    margin-left: 20%;
    float: left;
    position: relative;
}

.banner .tab-pane>div:first-child {
    margin-left: 0;
}

.banner .tab-pane>div:first-child::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -20%;
    transform: translateY(-50%);
    display: inline-block;
    width: 2px;
    height: 200px;
    background: linear-gradient(to bottom, #333, #fff, #333)
}

.banner .tab-pane .tit {
    font-size: 26px;
}

.banner .tab-pane .text {
    font-size: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: left;
}

.banner .tab-pane .text li {
    width: 50%;
    padding: .2em;

}

.banner .tab-pane>div:first-child li {
    width: 33%;
}

.banner .tab-pane.active {
    display: block;
}