/* ========== 全局重置与盒模型 ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}

/* ========== 基础元素样式 ========== */
body {
    margin: 0 auto;
    max-width: 1200px;
    width: 90%;
    padding: 0 5%;
    font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

h1, h2, h3 {
    margin: 1.5em 0 1em;
    color: #000066;
    font-weight: bold;
    font-family: "Microsoft YaHei", sans-serif;
}

h1 { font-size: 1.8rem; line-height: 1.2; }
h2 { font-size: 1.4rem; line-height: 1.3; }
h3 { font-size: 1.1rem; line-height: 1.4; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== 通用工具类 ========== */
.text {   
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #000099;
    margin: 1rem 0;
}

/* [修改] TEXT2 类：字体改回微软雅黑，大小调整为 14px */
.text2 {   
    font-family: "Microsoft YaHei", sans-serif; /* 与 .text 保持一致 */
    font-size: 14px;        /* 修改为 14px */
    line-height: 1.6;
    color: #000099;
    margin: 1rem 0;
}

/* 链接样式同时应用于 .text 和 .text2 */
.text a, .text2 a { 
    color: #0000cc; 
    text-decoration: underline; 
}
.text a:hover, .text2 a:hover { 
    color: #FF0000; 
}
.text a:visited, .text2 a:visited { 
    color: #000099; 
}

/* ========== 新增 TEXT3 类 ========== */
.text3 {   
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #000000; /* 黑色 */
    margin: 1rem 0;
}

/* TEXT3 链接样式 */
.text3 a { 
    color: #000000; /* 默认链接颜色为黑色 */
    text-decoration: underline; 
}

.text3 a:hover { 
    color: #0000FF; /* 鼠标悬停时变为蓝色 */
}

.text3 a:visited { 
    color: #000000; /* 访问过的链接保持黑色 */
}

.ls, .lsl {
    font-size: 0.9rem;
    color: #0000FF;
    text-decoration: underline;
}

.tabl1 {
    border-bottom: 4px solid #1269C9;
    border-top: 1px dashed #1C8ABF;
    margin: 1.5rem 0;
    padding: 0.5rem 0;
}

.tab2 {
    border: 1px solid #0066cc;
    margin: 1rem 0;
    padding: 0.8rem;
}

.title {
    font-size: 1.1rem;
    color: #000066;
    font-weight: bold;
    margin: 1.2rem 0;
}

.hs {
    font-size: 1.4rem;
    font-weight: bolder;
    color: #FF0000;
    margin: 1rem 0;
}

.bg, .bgg {
    background-size: cover;
    background-position: center;
}

/* ========== 导航栏 (wrapper) ========== */
.wrapper {
    width: 100%;
    background-color: #7A67EE;
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
    border-radius: 4px;
    overflow: hidden;
}

.wrapper > div {
    flex: 1 1 140px;
    position: relative;
    text-align: center;
    background-color: #7A67EE;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.wrapper > div:last-child {
    border-right: none;
}

.meun, .meun1, .meun2 {
    display: block;
    width: 100%;
    height: 100%;
    padding: 1rem 0.5rem;
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.4;
    cursor: pointer;
}

.wrapper > div:hover {
    background-color: #6a54d1;
    z-index: 1;
}

.meun:hover, .meun1:hover, .meun2:hover {
    text-decoration: none;
    color: #FFFFFF;
}

.meun1:hover {
    color: #FFD700;
    text-shadow: 0 0 2px rgba(0,0,0,0.5);
}



/* ========== 自定义盒子 (custom-box) ========== */
.custom-box {
    border: 1px dashed #999999;
    background-color: #ffffff;
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    color: #000000;
    box-sizing: border-box;
    padding: 0;
    max-width: 100%;
}

.custom-box h3 {
    background-color: #F9F8F6;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    padding: 15px 20px;
}

.custom-sandwich-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background-color: #ffffff;
    margin-top: 5px;
    margin-bottom: 25px;
    margin-left: 80px;
    margin-right: 80px;
}

.custom-sandwich-box {
    border: 0.8px dashed #d1d5db;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

.custom-sandwich-text {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
    color: #000000;
    font-size: 13px;
    line-height: 1.4;
    background-color: #ffffff;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 50px;
    padding-right: 70px;
    text-align: left;
    word-break: break-all;
}

.custom-box p {
    background-color: #ffffff;
    font-size: 14px;
    color: #000000;
    line-height: 1.6;
    margin-left: 80px;
    margin-right: 80px;
    margin-top: 0;
    margin-bottom: 10px;
}

.custom-box p:last-child {
    margin-bottom: 20px;
}

/* ========== 媒体查询 ========== */

/* 大屏幕 (≥1200px) 导航菜单平分 */
@media (min-width: 1200px) {
    .wrapper > div {
        flex: 1 1 auto;
    }
}

/* 平板及手机 (≤768px) */
@media (max-width: 768px) {
    /* 导航栏垂直排列 */
    .wrapper {
        flex-direction: column;
    }
    .wrapper > div {
        flex: 0 0 100%;
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        text-align: left;
        padding-left: 1rem;
    }
    .wrapper > div:last-child {
        border-bottom: none;
    }
    .meun, .meun1, .meun2 {
        font-size: 1.05rem;
        padding: 1.2rem 0;
        text-align: left;
        padding-left: 0;
    }

    /* 轮播移动端适配 */
    .wrap {
        height: 40vw;
        min-height: 150px;
    }
    .wrap ol {
        display: none;
    }
}

/* 超小屏幕 (≤480px) */
@media (max-width: 480px) {
    body {
        width: 95%;
        padding: 0 2.5%;
    }
    .meun, .meun1, .meun2 {
        font-size: 1.1rem;
        padding: 1rem 0;
    }
}