/* 导航容器：保持 110px，垂直居中 */
#c1163206.nav-wrapper ul { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    min-height: 30px;
    display: flex;
    justify-content: space-around; 
    align-items: stretch; 
    position: relative;}

#c1163206.nav-wrapper > ul > li > a {
    text-shadow: 0 0 8px #000, 0 0 8px #000;}

/* 一级导航项 */
#c1163206.nav-wrapper ul li { 
    position: relative; 
    margin-left: 2px; 
    display: flex; 
    height:50px;
    z-index: 2;}

/* 一级导航链接：110px 内垂直居中，完全透明 */
#c1163206.nav-wrapper ul li a {
font-family: "Source Han Serif SC", "Noto Serif SC", "SimSun", 
               "Microsoft YaHei", "Segoe UI", sans-serif;    text-decoration: none;
    max-width: 230px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 8px;
    height: 100%;
    box-sizing: border-box;
    font-size: 20px;
    line-height: 1.2;
    background: transparent;
    transition: color 0.3s ease;
    position: relative;}

/* 导航项底部横线容器 */
#c1163206.nav-wrapper ul li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #900f00;
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
    z-index: 3;}

/* 悬停时展开横线 */
#c1163206.nav-wrapper ul li:hover::after,
#c1163206.nav-wrapper ul li.current-nav-item::after {
    width: 60%;}

/* 状态切换 */
#c1163206.nav-wrapper ul li a:hover,
#c1163206.nav-wrapper ul li a#current {
    background: transparent;
    // color: #000;}

/* 当前激活状态类（可配合JS使用） */
#c1163206.nav-wrapper ul li.current-nav-item a {
    background: transparent;
    color: #fff;}

/* 二级下拉菜单：实色背景、不限高、宽度随内容自适应、从上到下展开 */
#c1163206.nav-wrapper ul li ul.sub-nav { 
    display: block; 
    position: absolute; 
    top: 50px; 
    left: 0; 
    z-index: 9999;
    background: #ffffff;
    padding: 5px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    border: 1px solid #f0f0f0;
    
    width: max-content;
    min-width: 100%; 
    height: auto;
    
    opacity: 0;
    visibility: hidden;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease, opacity 0.3s ease;}

/* 悬浮显示 */
#c1163206.nav-wrapper ul li:hover ul.sub-nav { 
    opacity: 1; 
    visibility: visible;
    transform: scaleY(1);}

/* 二级菜单项内容：非加粗，自适应排版 */
#c1163206.nav-wrapper ul li ul.sub-nav li a {
    width: 100%; 
    min-height: 38px; 
    height: auto;
    font-size: 15px; 
    color: #333333; 
    font-weight: normal; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    white-space: nowrap; 
    background: #ffffff;
    border-bottom: 1px solid #f2f2f2;}

/* 二级菜单项悬停效果 */
#c1163206.nav-wrapper ul li ul.sub-nav li a:hover { 
    background: #f8f8f8; 
    color: #000;}

#c1163206.nav-wrapper ul li ul.sub-nav li:last-child a {
    border-bottom: none;}

/* IE 支持 */
#c1163206.nav-wrapper { 
    behavior: url(/system/resource/js/hover.htc);
    position: relative;}
