/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'SimHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-green{
    color: #2E7D32;
}
/* 头部导航区 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar {
    height: 135px;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 100px;
    object-fit: contain;
}

.org-name {
    display: flex;
    flex-direction: column;
}

.chinese-name {
    font-size: 26px;
    font-weight: bold;
    color: #2E7D32;
    line-height: 1.2;
}

.english-name {
    font-size: 14px;
    color: #666;
    line-height: 1.2;
    margin-top: 5px;
}

.top-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn {
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: 200px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}
.marbot10{
    margin-bottom: 10px;
}
.btn-primary {
    background: #2E7D32;
    color: white;
}

.btn-primary:hover {
    background: #1B5E20;
    transform: translateY(-1px);
}

/* 主导航栏 */
.main-nav {
    background: #2E7D32;
    position: relative;
}

.nav-list {
    display: flex;
    list-style: none;
    height: 100%;
    align-items: center;
    gap: 20px;
}

.nav-list > li {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: block;
}

.nav-link:hover,
.nav-link.active {
    background: #1B5E20;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* 子导航样式 */
.subnav {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 180px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.has-subnav:hover .subnav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.subnav-link {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.subnav-link:last-child {
    border-bottom: none;
}

.subnav-link:hover {
    background: #f8f9fa;
    color: #2E7D32;
    padding-left: 25px;
}

/* 子导航指示器 */
.has-subnav > .nav-link::after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.has-subnav:hover > .nav-link::after {
    transform: rotate(180deg);
}

/* Banner轮播区 */
.mySwiper{
    height: 400px;
    --swiper-theme-color: #ff6600;
    --swiper-pagination-color: #00ff33;/* 两种都可以 */
}
.mySwiper2,.mySwiper3{
    text-align: center;
    position: relative;
}.mySwiper2{
    text-align: center;
    position: relative;
}
.banner {
    margin-top: 110px;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 功能模块 */
.main-content {
    padding: 30px 50px;
}
/* 全局扁平化样式重置 */
.flat-title-section {
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 2px solid #e0e0e0;
}

.flat-breadcrumb {
    font-size: 14px;
    color: #666;
}

.flat-breadcrumb a {
    color: #2E7D32;
    text-decoration: none;
}

.flat-breadcrumb a:hover {
    text-decoration: underline;
}
/* 扁平化内容网格布局 */
.flat-content-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

/* 扁平化侧边栏 */
.flat-sidebar {
    background: #f8f8f8;
    border: 1px solid #e6e6e6;
    padding: 0;
}

.flat-sidebar-section {
    padding: 20px;
    border-bottom: 1px solid #e6e6e6;
}

.flat-sidebar-section:last-child {
    border-bottom: none;
}

.flat-sidebar-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2E7D32;
}

.flat-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flat-category-list li {
    margin-bottom: 8px;
}

.flat-category-link {
    display: block;
    padding: 10px 15px;
    color: #666;
    text-decoration: none;
    background: white;
    border: 1px solid #e6e6e6;
    transition: all 0.2s ease;
}

.flat-category-link:hover {
    background: #e9ecef;
    color: #333;
}

.flat-category-link.active {
    background: #2E7D32;
    color: white;
    border-color: #2E7D32;
}

.flat-article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flat-article-list li {
    margin-bottom: 8px;
}

.flat-article-link {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border-left: 3px solid #2E7D32;
    background: white;
    border: 1px solid #e6e6e6;
    transition: all 0.2s ease;
}

.flat-article-link:hover {
    background: #f0f0f0;
    border-left-color: #1B5E20;
}

/* 扁平化主内容区域 */
.flat-main-content {
    background: white;
    border: 1px solid #e6e6e6;
}
/* 扁平化分页控件 */
.flat-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-top: 1px solid #e6e6e6;
    background: #f8f8f8;
}

.flat-page-link {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    color: #666;
    text-decoration: none;
    border: 1px solid #e6e6e6;
    background: white;
    transition: all 0.2s ease;
}

.flat-page-link:hover {
    background: #f0f0f0;
    color: #333;
}

.flat-page-link.active {
    background: #2E7D32;
    color: white;
    border-color: #2E7D32;
}
/* 底部信息区 */
.footer {
    background: #F5F5F5;
    padding: 20px 0;
    /* margin-top: 50px; */
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-nav h4,
.footer-contact h4,
.footer-links h4 {
    color: #2E7D32;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 8px;
}

.footer-nav a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #2E7D32;
}

.footer-contact p {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.footer-contact a {
    color: #2E7D32;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}
.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.links-grid a {
    color: #000000;
    text-decoration: none;
    /* font-size: 13px; */
    transition: color 0.3s ease;
}

.links-grid a:hover {
    color: #2E7D32;
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
    text-align: center;
}

.footer-info p {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}
