/* 绿色主题样式 */
.green-theme {
    --primary-color: #03830B;
    --primary-hover: #73d13d;
    --primary-light: #d9f7be;
    --text-color: #333;
    --bg-color: #f6ffed;
    --border-color: #b7eb8f;
}

/* 绿色主题头部样式 */
.header.green-theme{
    background-image: url('../images/green/bk@2x.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 680px;
    position: relative;
    overflow: hidden;
}

.header.green-theme > * {
    /* position: relative; */
    /* z-index: 2; */
}

.green_container{
    padding: 15px 0;
}

.nav-container.green-theme .nav-item:hover {
    background-color: #03830B !important;
    transform: translateY(-2px);
}

.section-header:after{
    content: ""; /* 必须设置content属性，才能使伪元素生效 */
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px; /* 确保横线出现在文字下方 */
    height: 2px; /* 下横线的粗细 */
    background-color: #52c41a; /* 下横线的颜色 */
}

.nav-item.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-container.green-theme {
    background: rgba(124, 227, 130, .4) !important;
    margin-top: -55px;
    position: relative;
}

/* 绿色主题二级菜单样式 - 保持白色背景 */
.green-theme .submenu {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.green-theme .submenu::before {
    border-bottom-color: white;
}

.green-theme .submenu-item:hover {
    background-color: #f6ffed;
    color: #52c41a;
}

.search-btn.green-theme {
    background-color: #52c41a;
}

.search-btn.green-theme:hover {
    background-color: #73d13d;
}

/* 支队新闻背景 */
.barnch-zd-bg.green-theme{
    background-image: url('../images/green/barnch-bg.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px 0;
}

/* 举报平台样式 */
.report-platform-section.green-theme {
    background: url('../images/green/jbpt-blue.png') no-repeat center center;
    background-size: 100% 100%;
    padding: 30px 0;
    position: relative;
}

/* 页脚背景 */
.site-footer.green-theme {
    background: url('../images/pubilc/footer-bg.png') no-repeat center center;
    background-size: 100% 100%;
    color: white;
    position: relative;
    overflow: hidden;
}

.section-icon {
    color: #03830B;
    font-size: 16px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 绿色主题横幅链接样式 */
.green-theme .banner-link {
    color: #03830B !important;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

.more-link {
    color: #03830B;
    text-decoration: none;
    font-size: 14px;
}

/* 绿色主题基层励志导航样式 */
.green-theme .grassroots-nav-item.active {
    color: #03830B !important;
}

.green-theme .grassroots-nav-item:hover {
    color: #03830B !important;
}

.branch-title-rz{
    color: #FFA71A;
    font-size: 14px; 
}

/* 绿色主题学习天地导航样式 */
.green-theme .learning-nav-item:hover {
    color: #73d13d !important;
}

.nav-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    background: #999999;
    background: linear-gradient(131deg, rgba(115, 209, 61, 0.08) 0%, rgba(115, 209, 61, 0.15) 100%);
    border-radius: 4px 4px 4px 4px;
    margin-bottom: 20px;
}

.green-theme .learning-nav-item.active {
    color: #73d13d !important;
}

.green-theme.nav-menu-item:hover {
    background: #73d13d;
}

.green-theme.nav-menu-item.active {
    background: #52c41a;
    color: white;
    box-shadow: 0 2px 8px rgba(82, 196, 26, 0.3);
}

/* 绿色主题军队要闻图标 */
.green-theme .jdyw_icon {
    background-image: url('../images/green/icon-jdyw.png');
    filter: hue-rotate(0deg) saturate(1) brightness(1);
} 

.green-theme .zdxw_icon {
    background-image: url('../images/green/icon-zdxw.png');
    filter: hue-rotate(0deg) saturate(1) brightness(1);
} 

.green-theme .zytz_icon {
    background-image: url('../images/green/icon-zytz.png');
    filter: hue-rotate(0deg) saturate(1) brightness(1);
} 

.green-theme .wmkg_icon {
    background-image: url('../images/green/icon-wmkg.png');
    filter: hue-rotate(0deg) saturate(1) brightness(1);
} 

.green-theme .jclz_icon {
    background-image: url('../images/green/icon-jclz.png');
    filter: hue-rotate(0deg) saturate(1) brightness(1);
} 

.green-theme .xxtd_icon {
    background-image: url('../images/green/icon-xxtd.png');
    filter: hue-rotate(0deg) saturate(1) brightness(1);
} 

.green-theme .jyzl_icon {
    background-image: url('../images/green/icon-jyzl.png');
    filter: hue-rotate(0deg) saturate(1) brightness(1);
} 

.green-theme .mzjc_icon {
    background-image: url('../images/green/icon-mzjc.png');
    filter: hue-rotate(0deg) saturate(1) brightness(1);
} 

.green-theme .llcs_icon {
    background-image: url('../images/green/icon-llce.png');
    filter: hue-rotate(0deg) saturate(1) brightness(1);
} 

.green-theme .yxja_icon {
    background-image: url('../images/green/icon-yxja.png');
    filter: hue-rotate(0deg) saturate(1) brightness(1);
} 

.green-theme .jazp_icon {
    background-image: url('../images/green/iocn-jazp.png');
    filter: hue-rotate(0deg) saturate(1) brightness(1);
} 

.green-theme .qjdf_icon {
    background-image: url('../images/green/icon-qjdf.png');
    filter: hue-rotate(0deg) saturate(1) brightness(1);
} 

.green-theme .gbfc_icon {
    background-image: url('../images/green/icon-gbfc.png');
    filter: hue-rotate(0deg) saturate(1) brightness(1);
} 

.green-theme .jysp_icon {
    background-image: url('../images/green/icon-jysp.png');
    filter: hue-rotate(0deg) saturate(1) brightness(1);
} 

/* 绿色主题支队新闻样式 */
.green-theme .branch-news-section {
    border-radius: 8px;
}

.green-theme .branch-nav-menu {
    /* background: linear-gradient(135deg, rgba(115, 209, 61, 0.05) 0%, rgba(115, 209, 61, 0.1) 100%);
    border-right: 1px solid rgba(115, 209, 61, 0.2); */
}

.green-theme .nav-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    background: rgba(153, 153, 153, 0.1);
    /* background: linear-gradient(131deg, rgba(115, 209, 61, 0.08) 0%, rgba(115, 209, 61, 0.15) 100%); */
    border-radius: 4px 4px 4px 4px;
    margin-bottom: 20px;
    /* background: linear-gradient(131deg, rgba(115, 209, 61, 0.08) 0%, rgba(115, 209, 61, 0.15) 100%); */
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.green-theme .nav-menu-item:hover {
    background: linear-gradient(131deg, rgba(115, 209, 61, 0.2) 0%, rgba(115, 209, 61, 0.3) 100%);
    border-left-color: #73d13d;
    transform: translateX(5px);
}

.green-theme .nav-menu-item.active {
    /* background: linear-gradient(131deg, rgba(115, 209, 61, 0.3) 0%, #73d13d 100%); */
    background: linear-gradient( 131deg, rgba(12,136,20,0.5) 0%, #03830B 100%);
    color: white;
    border-left-color: #52c41a;
    box-shadow: 0 2px 8px rgba(115, 209, 61, 0.3);
}

.green-theme .nav-menu-item.active .nav-icon {
    filter: brightness(0) invert(1);
}

.green-theme .branch-news-item:hover {
    background: rgba(115, 209, 61, 0.05);
}

.green-theme .branch-news-item:hover .news-title {
    color: #73d13d;
}

.green-theme .more-link {
    color: #03830B;
}

.green-theme .more-link:hover {
    color: #03830B;
} 

/* 绿色主题支队新闻标题样式 */
/* .green-theme .section-title {
    color: #52c41a;
} */

.green-theme .section-header:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    background-color: #03830B;
}

.green-theme .section-icon {
    color: #03830B;
} 

/* 绿色主题支队新闻轮播图样式 */
.green-theme .branch-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    position: absolute;
    bottom: 15px;
    right: 23px;
}

.green-theme .branch-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(115, 209, 61, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.green-theme .branch-dot.active {
    background: #73d13d;
    transform: scale(1.2);
}

.green-theme .branch-dot:hover {
    background: #73d13d;
}

/* .green-theme .branch-image-caption {
    background: rgba(115, 209, 61, 0.9);
    color: white;
}  */

/* 绿色主题支队新闻日期样式 */
.green-theme .branch-news-item .news-date {
    color: #666;
}

.green-theme .branch-news-item:hover .news-date {
    color: #03830B;
} 

.green-theme.news-title:hover {
    color: #03830B;
}

/* 绿色主题支队新闻标题默认样式 */
.green-theme .branch-news-item .news-title {
    color: #333;
}

.green-theme .branch-news-item:hover .news-title {
    color: #03830B;
    font-weight: 600;
} 

/* 绿色主题下的按钮样式 */
.green-theme .search-btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.green-theme .search-btn:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* 绿色主题下的链接样式 */
.green-theme a {
    color: var(--primary-color);
}

.green-theme a:hover {
    color: var(--primary-hover);
}

/* 绿色主题下的边框样式 */
.green-theme .border-green {
    border-color: var(--border-color);
}

/* 绿色主题下的背景样式 */
.green-theme .bg-green {
    background-color: var(--bg-color);
}

.site-footer.green-theme {
    background: url('../images/green/footer-bg.png') no-repeat center center;
    background-size: 100% 100%;
    color: white;
    position: relative;
    overflow: hidden;
}
/* 绿色主题右侧新闻hover样式 */
.green-theme .news-item:hover {
    background: rgba(115, 209, 61, 0.05);
}

.green-theme .news-item:hover .news-title {
    color: #03830B;
    font-weight: 600;
}

.green-theme .news-item:hover .news-date {
    color: #03830B;
}

.green-theme .main-news-item:hover {
    /* background: rgba(115, 209, 61, 0.05); */
}

.green-theme .main-news-item:hover .main-news-title {
    color: #03830B;
    font-weight: 600;
}

.green-theme .news-items:hover {
    background: rgba(115, 209, 61, 0.05);
}

.green-theme .news-items:hover .news-title {
    color: #03830B;
    font-weight: 600;
}

/* 通知公告hover样式 - 绿色主题 */
.green-theme .notice-item:hover {
    background: rgba(115, 209, 61, 0.05);
    padding-left: 10px;
}

.green-theme .notice-item:hover .notice-title {
    color: #03830B;
    font-weight: 600;
}

.green-theme .foreign-media-item:hover {
    background: rgba(115, 209, 61, 0.05);
    padding-left: 10px;
}

.green-theme .foreign-media-item:hover .foreign-media-title-text {
    color: #03830B;
    font-weight: 600;
}



/* 绿色主题detail页面新闻hover样式 */
.green-theme .news-item:hover {
    background: rgba(115, 209, 61, 0.05);
}

.green-theme .news-item:hover .news-title {
    color: #03830B;
    font-weight: 600;
}

.green-theme .news-item:hover .news-date {
    color: #03830B;
}
