@charset "utf-8";

:root {
  --primary-color: #2d89c6;  /* 调整后的主色 */
    --primary-dark: #226ec4;   /* 调整后的深色 */
    --primary-light: #4aa5de;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --border-color: #eee;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
   
}

body {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f5f7fa;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

.wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 导航栏 */
.navbg {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
/*    box-shadow: 0 2px 15px rgba(0,0,0,0.1);*/
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar > ul {
    display: flex;
    list-style: none;
}

.navbar ul li {
    position: relative;
}

.navbar li a {
    display: block;
    padding: 20px 22px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    letter-spacing: 0.5px;
}

.navbar li a i {
    margin-right: 8px;
    transition: var(--transition);
}

.navbar li a:hover {
    background-color: rgba(255,255,255,0.1);
     transform: translateY(-2px);
}

.navbar li a::before {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    width: 0;
    height: 2px;
    background: white;
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar li a:hover::before {
    width: calc(100% - 44px);
}

/* 下拉菜单 */
.navbar ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0 0 6px 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    padding: 8px 0;
}

.navbar ul li:hover ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar ul li ul li {
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.navbar ul li ul li:last-child {
    border-bottom: none;
}

.navbar ul li ul li a {
    color: var(--text-color);
    padding: 12px 20px;
    text-align: left;
    display: flex;
    align-items: center;
    font-weight: 400;
}

.navbar ul li ul li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

.navbar ul li ul li a i {
    margin-right: 10px;
    font-size: 14px;
    color: var(--primary-color);
}

/* 横幅轮播 */
.bigdiv {
    margin-top: 60px;
}

.focusBox {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.focusBox .pic img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.focusBox .hd {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.focusBox .hd li {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.focusBox .hd li.on {
    background: white;
    transform: scale(1.2);
}

.focusBox .prev, .focusBox .next {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 60px;
    margin-top: -30px;
    background: rgba(0,0,0,0.3) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"/></svg>') no-repeat center;
    background-size: 20px;
    border-radius: 4px;
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.focusBox .next {
    right: 20px;
    transform: rotate(180deg);
}

.focusBox .prev {
    left: 20px;
}

.focusBox:hover .prev, .focusBox:hover .next {
    opacity: 1;
}

/* 主要内容区 */
.main_content {
    display: flex;
    margin: 30px auto;
    gap: 30px;
    animation: fadeIn 0.6s ease-out;
    max-width: 1200px;
    width: 90%;
}
.liss {
    margin-bottom: 10px;
    text-align: center;
}
/* 侧边栏 */
.siderleft-wrapper {
    width: 280px;
    flex-shrink: 0;
}
 
.siderleft {
    width: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border-color);
}
 
.siderleft h2 {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 20px;
    margin: 0;
    font-size: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
}
 
.siderleft h2 i {
    margin-right: 10px;
    font-size: 24px;
}
 
.slider_nav > ul > li {
    border-bottom: 1px solid var(--border-color);
}
 
.slider_nav > ul > li:last-child {
    border-bottom: none;
}
 
.slider_nav > ul > li > a {
    display: block;
    padding: 15px 20px;
    background-color: var(--primary-dark);
    color: white;
    font-weight: 500;
    text-align: center;
    font-size: 16px;
    line-height: 1.4;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
.slider_nav > ul > li > a:hover {
    background-color: var(--primary-color);
}
 
.slider_nav > ul > li > a i {
    margin-right: 10px;
    font-size: 18px;
}
 
.slider_nav ul ul {
    border-top: 1px solid var(--border-color);
}
 
.slider_nav ul ul li a {
    display: block;
    padding: 12px 20px 12px 30px;
    background-color: var(--bg-light);
    color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
   font-size: 17px; /* 左侧二级菜单文字*/
    line-height: 1.4;
    min-height: 40px;
    display: flex;
    align-items: center;
     justify-content: center; /* 水平居中 */
    text-align: center; /* 文字居中 */
}
 
.slider_nav ul ul li a:hover {
    background-color: #e9ecef;
    color: var(--primary-color);
    padding-left: 35px;
}
 
/*
.slider_nav ul ul li a::before {
    content: "•";
    color: var(--primary-color);
    margin-right: 8px;
}
*/
 
.slider_nav ul ul li a i {
    margin-right: 8px;
    font-size: 14px;
}

/* 主内容区 */
.main_right {
    flex-grow: 1;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    max-width: 800px;
}

.title_cont {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 15px 25px;
}

.title_cont h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    text-align: center;
}

.contents {
    padding: 25px;
    font-size: 16px;
}

.contents p {
    text-indent: 2em;
    margin-bottom: 15px;
    line-height: 1.8;
}

.contents h3 {
    color: var(--primary-dark);
    margin: 20px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.contents img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* 页脚 */
.footerBG {
    background: linear-gradient(135deg, var(--primary-dark), #2c3e50);
    color: rgba(255,255,255,0.8);
    padding: 30px 0;
    margin-top: 30px;
}

.footer {
    text-align: center;
    font-size: 14px;
    line-height: 1.8;
}

.footer a {
    color: white;
    margin: 0 10px;
    font-size: 18px;
}

.footer a:hover {
    color: #fff;
    opacity: 0.8;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .wrapper {
        width: 95%;
    }
    
    .main_content {
        flex-direction: column;
    }
    
    .siderleft, .main_right {
        width: 100%;
    }
    
    .siderleft h2 {
        height: auto;
        padding: 15px;
    }
    
    .slider_nav > ul > li > a {
        height: auto;
        padding: 12px 15px;
    }
    
    .navbar {
        flex-direction: column;
    }
    
    .navbar > ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .navbar li a {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .focusBox {
        height: 250px;
    }
    
    .focusBox .pic img {
        height: 250px;
    }
    
    .navbg {
        position: relative;
    }
    
    .bigdiv {
        margin-top: 0;
    }
}

/* 打印样式 */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .navbg, .footerBG, .siderleft {
        display: none;
    }
    
    .main_right {
        width: 100%;
        box-shadow: none;
    }
}