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

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Logo样式 */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo_{
    height: 40px;
    width: 80px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    color: white;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2;
}

.logo-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    line-height: 1.2;
}

/* 顶部栏样式 */
.header-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-links span {
    cursor: pointer;
    transition: opacity 0.3s;
}

.header-links span:hover {
    opacity: 0.8;
}

/* 主要内容区域样式 */
.main-page-container {
    padding: 20px 0 20px 0;
    background: white;
}

/* 顶部横幅样式 */
.top-banner {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.banner-title {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    text-align: center;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.banner-summary {
    flex: 1;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-right: 20px;
    text-align: center;
}



.banner-link:hover {
    text-decoration: underline;
}

/* 内容区域布局 */
.content-section {
    display: flex;
    flex-direction: column;
    /* gap: 30px; */
}

/* 左侧轮播图区域 */
.carousel-section {
    flex: 2;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    position: relative;
    /* padding-bottom: 10px; */
    /* border-bottom: 2px solid #0056b3; */
}



.carousel-container {
    position: relative;
    height: 100%;
}

.carousel-image {
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    font-size: 14px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
    position: absolute;
    bottom: 15px;
    right: 23px;
}

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

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* 右侧新闻列表区域 */
.news-section {
    /*flex: 1;*/
    width: 460px;
}

.news-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}


.more-link:hover {
    text-decoration: underline;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-items {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 3px 0;
    /* border-bottom: 1px solid #f0f0f0; */
}

.news-items:last-child {
    border-bottom: none;
}

.news-bullet {
    color: #ff6b35;
    font-size: 12px;
    margin-top: 2px;
    min-width: 12px;
}

.news-title {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    cursor: pointer;
    white-space: nowrap; /* 防止文本换行 */
  overflow: hidden; /* 隐藏溢出的内容 */
  text-overflow: ellipsis; /* 显示省略号来代表被修剪的文本 */
}

.news-title:hover {
    color: #0056b3;
}

.news-date {
    color: #999;
    font-size: 12px;
    white-space: nowrap;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .content-section {
        flex-direction: column;
    }
    
    .banner-content {
        flex-direction: column;
    }
    
    .banner-summary {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* 搜索框样式 */
.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    /* max-width: 600px; */
    /* margin: 0 auto; */
}

.search-input {
   width: 300px;
    padding: 12px 16px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.3);
    color: #333;
  
}

.search-input::placeholder {
    color: #FFFFFF;
}

.search-input:focus {
    outline: none;
    background-color: white;
}

.search-btn {
    padding: 14px 16px;
    border: none;
    border-radius: 0 4px 4px 0;
    background-color: #0073E6;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background-color: #0056b3;
}

/* 导航栏样式 */
.nav-container {
    /* padding: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100; */
}

.nav-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    /* padding: 15px 0; */
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    padding: 15px 20px;
    /* border-radius: 8px; */
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    z-index: 9999;
}



.nav-item span {
    font-size: 16px;
    font-weight: 500;
    /* margin-bottom: 4px; */
}

/* 二级菜单样式 - 白色背景 */
.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 8px;
    padding: 12px 0;
    min-width: 125px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.submenu-item {
    padding: 10px 20px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.submenu-item:last-child {
    border-bottom: none;
}

.submenu-item:hover {
    background-color: #f5f5f5;
    color: #0056b3;
    /* padding-left: 25px; */
}

/* 添加小箭头指示器 */
.submenu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid white;
}

/* 通用样式 */
.flex{
    display: flex;
    flex-direction: row;
}
.align-center{
    align-items: center;
}
.justify-between{
    justify-content: space-between;
}
.timer_header{
    font-size: 14px;
    margin-left: 10px;
}

.text-white{
    color:white;
}
.marginleft-10{
    margin-left: 10px;
}
.text-16{
font-family: Microsoft YaHei, Microsoft YaHei;
font-weight: 400;
font-size: 16px;
}

/* 主题切换器样式 */
.theme-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 15px;
}

.theme-btn {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    background: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.theme-btn.active {
    /* border-color: white; */
    /* box-shadow: 0 0 8px rgba(255, 255, 255, 0.5); */
}

.theme-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* .blue-theme {
    background: linear-gradient(135deg, #0073E6, #0056b3);
}

.green-theme {
    background: linear-gradient(135deg, #228B22, #006400);
}

.red-theme {
    background: linear-gradient(135deg, #DC143C, #8B0000);
} */

.flex-hdeaeder{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 230px 0;
}

.font-500{
    font-weight: bold;
}

.bandner_hedwe{
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.header_topd{
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    margin-bottom: 20px;
}

/* 军队要闻区域样式 */
.military-news-section {
    background: white;
    border-radius: 8px;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    margin-top: 20px;
}

/* 支队新闻区域样式 */
.detachment-news-section {
    background: #fff;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.detachment-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-icon {
    font-size: 16px;
    color: white;
}

.detachment-news-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.detachment-news-content {
    display: flex;
    min-height: 400px;
}

/* 左侧导航区域 */
.detachment-nav-section {
    width: 200px;
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
    padding: 20px;
}

/* 图标网格区域 */
.icon-grid-section {
    margin-bottom: 30px;
}

.icon-grid-title {
    font-size: 14px;
    color: #6c757d;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.icon-item {
    width: 40px;
    height: 40px;
    background: #e9ecef;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.icon-item:hover {
    background: #007bff;
    transform: scale(1.05);
}

.icon-placeholder {
    width: 20px;
    height: 20px;
    background: #6c757d;
    border-radius: 2px;
}

/* 导航菜单 */
.detachment-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-menu-item {
    display: flex;
    align-items: center;
    /* padding: 12px 15px; */
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    /* background: white; */
}



.nav-menu-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.nav-menu-text {
    font-size: 14px;
    font-weight: 500;
}

/* 右侧新闻区域 */
.detachment-news-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 新闻列表 */
.detachment-news-list {
    flex: 1;
    padding: 20px;
    background: white;
}

.detachment-news-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.detachment-news-item:hover {
    background: #f8f9fa;
    padding-left: 10px;
    border-left: 3px solid #007bff;
}

.detachment-news-item:last-child {
    border-bottom: none;
}

.news-prefix {
    color: #ff6b35;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
    white-space: nowrap;
}

.detachment-news-item .news-title {
    flex: 1;
    font-size: 14px;
    color: #333;
    margin-right: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.detachment-news-item .news-date {
    color: #6c757d;
    font-size: 12px;
    white-space: nowrap;
}

/* 轮播图区域 */
.detachment-carousel-section {
    height: 200px;
    position: relative;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.detachment-carousel {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.detachment-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

.detachment-carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.detachment-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
}

.detachment-carousel-dots {
    position: absolute;
    bottom: 50px;
    right: 15px;
    display: flex;
    gap: 6px;
    z-index: 3;
}

.detachment-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.detachment-dot:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.detachment-dot.active {
    background: #007bff;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.8);
    transform: scale(1.3);
    border-color: #007bff;
}

/* 底部通知公告和外媒刊稿区域 */
.detachment-bottom-section {
    display: flex;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.notices-section,
.foreign-media-section {
    flex: 1;
    padding: 10px 20px;
}

.notices-section {
    border-right: 1px solid #e9ecef;
}

/* 通知公告样式 */
.notices-header,
.foreign-media-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.notices-icon,
.foreign-media-icon {
    font-size: 16px;
    margin-right: 8px;
}

.notices-title,
.foreign-media-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
}

.notices-list,
.foreign-media-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notice-item,
.foreign-media-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notice-item:hover,
.foreign-media-item:hover {
    background: #e3f2fd;
    padding-left: 10px;
    /* border-left: 3px solid #007bff; */
}

.notice-item:last-child,
.foreign-media-item:last-child {
    border-bottom: none;
}

.notice-title,
.foreign-media-title-text {
    flex: 1;
    font-size: 14px;
    color: #333;
    margin-right: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-source,
.foreign-media-source {
    color: #6c757d;
    font-size: 12px;
    margin-right: 15px;
    white-space: nowrap;
}

.notice-date,
.foreign-media-date {
    color: #6c757d;
    font-size: 12px;
    white-space: nowrap;
}

.detachment-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.detachment-dot:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.detachment-dot.active {
    background: #007bff;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.8);
    transform: scale(1.3);
    border-color: #007bff;
}

/* 主题教育轮播图样式 */
.theme-education-banner {
    position: relative;
    height: 141px;
    background: #f5f5f5;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.banner-carousel {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 139px;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}
.banner-slide a{
    height: 100%;
    width: 100%;
}

.banner-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-dots {
    position: absolute;
    bottom: 10px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.banner-dot:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.banner-dot.active {
    background: #fff;
    /* box-shadow: 0 0 8px rgba(0, 123, 255, 0.8); */
    transform: scale(1.3);
    border-color: #fff;
}


/* 头部标题和tab样式 */
.news-header-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:10px 0;
    /* border-bottom: 1px solid #e8e8e8; */
    /* background: #f8f9fa; */
}

.news-title-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.news-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #0066CC;
    border-radius: 50%;
}

.news-main-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.news-tabs {
    display: flex;
    gap: 0;
    background: white;
    /* border-radius: 6px; */
    /* border: 1px solid #ddd; */
    overflow: hidden;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
}

.tab-item {
    padding: 5px 14px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    /* border-right: 1px solid #ddd; */
    background: white;
    font-weight: 500;
    margin-right: 10px;
}

.tab-item:last-child {
    border-right: none;
}

.tab-item:hover {
    color: #0066CC;
    background: #f0f8ff;
}

.tab-item.active {
    background: #FFA700;
    color: white;
    font-weight: 600;
    border-radius: 4px;
}

.news-more {
    font-size: 14px;
}

.more-link {
    color: #0066CC;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.more-link:hover {
    color: #004499;
}

/* 新闻内容区域样式 */
.news-content-section {
    display: flex;
    margin-bottom: 40px;
    /* min-height: 550px; */
}

/* 左侧新闻列表样式 */
.news-list-section {
    flex: 1;
    padding: 10px 15px 0 0;
    /* border-right: 1px solid #e8e8e8; */
    background: white;
    position: relative;
}

/* 主要新闻展示区域样式 */
.main-news-display {
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
    padding: 25px;
    border: 1px solid #e8e8e8;
    pointer-events: none;
    will-change: opacity, visibility, transform;
}

.main-news-display.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* 主要新闻样式 */
.main-news-item {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    cursor: default;
}

.main-news-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.main-news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #999;
}

.news-source {
    color: #666;
    font-weight: 500;
}

.main-news-summary {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 18px;
}

.news-detail-link {
    color: #0066CC;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-detail-link:hover {
    color: #004499;
}

/* 其他新闻列表样式 */
.other-news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 10px;
    /* padding: 10px 0; */
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.news-item:hover {
    /* background: #f0f8ff; 移除固定背景色，让主题色覆盖 */
    /* padding: 10px 15px; */
    margin: 0 -15px;
    position: relative;
    z-index: 50;
    border-radius: 6px;
}

.news-bullet {
    color: #FF6B35;
    font-weight: bold;
    font-size: 18px;
    min-width: 18px;
}

.news-title {
    flex: 1;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.news-item:hover .news-title {
    /* color: #FF6B35; 移除固定文字颜色，让主题色覆盖 */
    font-weight: 600;
}

.news-date {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
}

/* 新闻项选中状态 */
.news-item.selected,
.main-news-item.selected {
    background: #f0f8ff;
    border-left: 4px solid #FF6B35;
    padding-left: 20px;
}

.news-item.selected .news-title,
.main-news-item.selected .main-news-title {
    color: #FF6B35;
    font-weight: 700;
}

/* 右侧图片区域样式 */
.news-image-section {
    flex: 1;
    height: 308px;
    /* padding: 30px; */
    /* display: flex;
    align-items: center;
    justify-content: center; */
    /* background: #f8f9fa; */
}

.news-image-container {
    width: 100%;
    height: 100%;
    max-height: 338px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.news-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-image-container:hover .news-main-image {
    transform: scale(1.08);
}

/* 支队新闻部分样式 */
.branch-news-section {
    /* margin: 40px 0; */
    /* background: #fff; */
    /* border-radius: 12px; */
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
    overflow: hidden;
}

.branch-news-content {
    display: flex;
    /* min-height: 400px; */
}

/* 左侧导航菜单样式 */
.branch-nav-menu {
    width: 200px;
    /* background: #f8f9fa; */
    border-right: 1px solid #e9ecef;
    padding: 0;
}



/* .nav-menu-item:hover {
    border-left-color: #2196f3;
}

.nav-menu-item.active {
    background: linear-gradient( 131deg, rgba(64,146,247,0.3) 0%, #4092F7 100%);
    color: white;
} */

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

.nav-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.nav-menu-item span {
    font-size: 14px;
    font-weight: 500;
}

/* 中央新闻列表样式 */
.branch-news-list {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* background-color: white; */
    margin-left: 10px;
}

.branch-news-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.branch-news-item:hover {
    background: #f8f9fa;
    /* padding: 12px 15px; */
    margin: 0 -15px;
    border-radius: 6px;
}

.branch-news-item .news-title {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.branch-news-item:hover .news-title {
    color: #2196f3;
    font-weight: 600;
}

.branch-news-item .news-date {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    margin-left: 15px;
}

/* 右侧轮播图样式 */
.branch-carousel-section {
    width: 430px;
    height: 316px;
    /* background: #f8f9fa; */
    padding: 20px;
    display: flex;
    /* align-items: center; */
    /* justify-content: center; */
}

.branch-carousel-container {
    width: 100%;
    height: 100%;
    max-height: 360px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.branch-carousel-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.branch-carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.branch-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    font-size: 13px;
    line-height: 1.4;
}

.branch-carousel-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

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

.branch-dot.active {
    background: white;
    transform: scale(1.2);
}

/* 底部新闻区域样式 */
.bottom-news-section {
    display: flex;
    gap: 30px;
    margin: 40px 0;
}

.notices-section,
.external-media-section {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.notices-section .section-headers,
.external-media-section .section-headers {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding:10px 0px;
    border-bottom: 1px solid #e9ecef;
    /* background: #f8f9fa; */
}

.section-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.notices-section .section-title,
.external-media-section .section-title {
    flex: 1;
    font-size: 18px;
    font-weight:900;
    color: #333;
    margin-left: 10px;
}

.notices-list,
.external-media-list {
    /* padding: 20px 25px; */
}

.notice-item,
.external-media-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notice-item:hover,
.external-media-item:hover {
    /* background: #f8f9fa; */
    padding: 12px 15px;
    margin: 0 -15px;
    border-radius: 6px;
}

.notice-title,
.media-title {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.notice-item:hover .notice-title,
.external-media-item:hover .media-title {
    color: #2196f3;
    font-weight: 600;
}

.notice-source,
.media-source {
    font-size: 12px;
    color: #666;
    margin: 0 15px;
    white-space: nowrap;
}

.notice-date,
.media-date {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .branch-news-content {
        flex-direction: column;
    }
    
    .branch-nav-menu {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        /* padding: 15px 0; */
    }
    
    .branch-nav-menu {
        display: flex;
        overflow-x: auto;
        gap: 20px;
        padding: 15px 20px;
    }
    
    .nav-menu-item {
        flex-shrink: 0;
        border-left: none;
        border-bottom: 3px solid transparent;
        /* padding: 10px 15px; */
    }
    
    .nav-menu-item.active {
        border-left: none;
        border-bottom-color: #1976d2;
    }
    
    .branch-carousel-section {
        width: 100%;
        height: 250px;
        padding: 15px;
    }
    
    .bottom-news-section {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .branch-news-list {
        padding: 15px 20px;
    }
    
    .branch-news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .branch-news-item .news-date {
        margin-left: 0;
    }
    
    .notice-item,
    .external-media-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .notice-source,
    .media-source {
        margin: 0;
    }
}

.report-platform-section {
    /* margin: 40px 0; */
    background: url('../images/blue/jbpt-blue.png') no-repeat center center;
    background-size: 100% 100%;
    padding: 30px 0;
    position: relative;
}

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

/* 举报平台样式 */
.report-platform-section::before {
    /* content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(33, 150, 243, 0.9);
    z-index: 1; */
}

.report-platform-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.report-platform-title {
    color: white;
    font-size: 28px;
    font-weight: 600;
    margin-bottom:20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.report-platform-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.report-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.report-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.report-card-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    width: 30px;
    margin-right:20px;
    /* margin-bottom: 20px; */
    /* text-align: left; */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.report-card-content {
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: white;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-label {
    font-size: 14px;
    font-weight: 500;
    min-width: 50px;
    margin-right: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-value {
    font-size: 14px;
    font-weight: 400;
    flex: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .report-platform-section {
        padding: 40px 0;
    }
    
    .report-platform-title {
        font-size: 22px;
        margin-bottom: 30px;
    }
    
    .report-platform-cards {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }
    
    .report-card {
        padding: 20px 15px;
    }
    
    .report-card-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .contact-item {
        margin-bottom: 10px;
    }
    
    .contact-label,
    .contact-value {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .report-platform-title {
        font-size: 20px;
        padding: 0 20px;
    }
    
    .report-platform-cards {
        padding: 0 15px;
    }
    
    .report-card {
        padding: 15px 12px;
    }
}

/* 基层励志样式 */
.grassroots-inspiration-section {
    /* margin: 40px 0; */
    background: white;
    padding: 30px 0;
}

.grassroots-nav-bar {
    display: flex;
    /* justify-content: center; */
    /* align-items: center; */
    /* margin: 30px 0; */
    /* background: #f8f9fa; */
    border-radius: 8px;
    padding: 5px;
    flex-wrap: wrap;
}

.grassroots-nav-item {
    padding: 1px 20px;
    margin: 0 5px;
    cursor: pointer;
    /* border-radius: 6px; */
    font-size: 14px;
    font-weight: bold;
    color: #666;
    transition: all 0.3s ease;
    border-right: 1px solid #ccc;
    white-space: nowrap;
}





.grassroots-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.grassroots-news-card {
    background: white;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 4px 4px 4px 4px;
    border: 1px solid #ccc;
    padding: 10px;
}

.grassroots-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.news-card-image {
    width: 581px;
    height: 144px;
    overflow: hidden;
    position: relative;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.grassroots-news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 10px 20px;
}

.news-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-link {
    color: #2196f3;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card-link:hover {
    color: #1976d2;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .grassroots-nav-bar {
        padding: 3px;
        margin: 20px 0;
    }
    
    .grassroots-nav-item {
        padding: 10px 15px;
        margin: 0 3px;
        font-size: 13px;
    }
    
    .grassroots-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }
    
    .news-card-image {
        height: 180px;
    }
    
    .news-card-content {
        padding: 15px;
    }
    
    .news-card-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .news-card-description {
        font-size: 13px;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .grassroots-nav-bar {
        flex-direction: column;
        gap: 5px;
    }
    
    .grassroots-nav-item {
        width: 100%;
        text-align: center;
        margin: 0;
    }
    
    .grassroots-news-grid {
        gap: 15px;
    }
    
    .news-card-image {
        height: 160px;
    }
    
    .news-card-content {
        padding: 12px;
    }
}

/* 学习天地样式 */
.learning-world-section {
    /* margin: 40px 0; */
    background:#F5F6FA;
    padding: 30px 0;
}

.learning-nav-bar {
    display: flex;
    /* justify-content: center; */
    /* align-items: center; */
    /* margin: 30px 0; */
    /* background: #f8f9fa; */
    border-radius: 8px;
    padding: 5px;
    flex-wrap: wrap;
}

.learning-nav-item {
    padding: 1px 20px;
    margin: 0 5px;
    cursor: pointer;
    /* border-radius: 6px; */
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    border-right: 1px solid #ccc;
}

.learning-nav-bar :last-child{
    border: none !important;
}

/* .learning-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #2196f3;
    border-radius: 1px;
} */

.learning-content-area {
    position: relative;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.learning-arrow {
    width: 40px;
    height: 40px;
    /* border: 2px dashed #ddd; */
    /* border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    /* background: white; */
    flex-shrink: 0;
}

.learning-arrow:hover {
    border-color: #2196f3;
    color: #2196f3;
    background: rgba(33, 150, 243, 0.1);
}

.learning-arrow-left svg {
    transform: rotate(180deg);
}

.learning-cards-container {
    flex: 1;
    overflow: hidden;
}

.learning-cards-wrapper {
    display: flex;
    gap: 25px;
    transition: transform 0.3s ease;
}

.learning-card {
    min-width: calc(33.333% - 17px);
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.learning-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-bg-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.card-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(2px);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-category {
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

.card-body {
    padding: 10px;
}

.card-main-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.card-main-title h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.view-details {
    color: #2196f3;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.view-details:hover {
    color: #1976d2;
}

.card-description {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-articles {
    margin-bottom: 15px;
}

.article-item {
    color: #333333;
    font-size: 14px;
    padding: 8px 0;
    /* color: #888; */
    border-bottom: 1px solid #ccc;
    line-height: 1.5;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-nav-arrow {
    display: flex;
    justify-content: center;
    color: #ccc;
    transition: color 0.3s ease;
}

.learning-card:hover .card-nav-arrow {
    color: #2196f3;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .learning-cards-wrapper {
        gap: 20px;
    }
    
    .learning-card {
        min-width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .learning-nav-bar {
        padding: 3px;
        margin: 20px 0;
    }
    
    .learning-nav-item {
        padding: 10px 15px;
        margin: 0 3px;
        font-size: 13px;
    }
    
    .learning-content-area {
        gap: 15px;
        margin-top: 20px;
    }
    
    .learning-arrow {
        width: 35px;
        height: 35px;
    }
    
    .learning-cards-wrapper {
        gap: 15px;
    }
    
    .learning-card {
        min-width: calc(100% - 15px);
    }
    
    .card-header {
        height: 100px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .card-main-title h3 {
        font-size: 15px;
    }
    
    .card-description {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .article-item {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .learning-nav-bar {
        flex-direction: column;
        gap: 5px;
    }
    
    .learning-nav-item {
        width: 100%;
        text-align: center;
        margin: 0;
    }
    
    .learning-content-area {
        flex-direction: column;
        gap: 10px;
    }
    
    .learning-arrow {
        width: 30px;
        height: 30px;
    }
    
    .learning-cards-wrapper {
        gap: 10px;
    }
    
    .card-header {
        height: 80px;
    }
    
    .card-category {
        font-size: 16px;
    }
    
    .card-body {
        padding: 12px;
    }
}

/* 教案专栏样式 */
.lesson-plan-section {
    /* margin: 40px 0; */
    background: white;
    padding: 10px 0;
}

.lesson-plan-column {
    margin-bottom: 40px;
}

.lesson-nav-buttons {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.lesson-nav-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 22%;
    padding: 15px 20px;
    /* background: #f8f9fa; */
    background: #EFF7FF;
    /* border: 2px dashed #2196f3; */
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    /* min-width: 100px; */
    position: relative;
}

.lesson-nav-btn:hover {
    background: rgba(33, 150, 243, 0.1);
    border-color: #1976d2;
    transform: translateY(-2px);
}

.lesson-nav-btn.active {
    background: rgba(33, 150, 243, 0.15);
    border-color: #2196f3;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
}

.btn-icon {
    font-size: 24px;
    color: #2196f3;
    display: flex;
    align-items: center;
    /* margin-bottom: 5px; */
}

.lesson-nav-btn span {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-align: center;
}

/* 强军典范样式 */
.military-exemplar-section {
    /* margin: 40px 0; */
    background: white;
    padding: 10px 0 60px 0;
}

.exemplar-carousel-container {
    margin-top: 30px;
    overflow: hidden;
    position: relative;
}

.exemplar-carousel-wrapper {
    display: flex;
    gap: 20px;
    padding: 10px;
    animation: exemplarScroll 30s linear infinite;
    width: max-content;
}

.exemplar-card {
    width: 248px;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0px 0px 8px 1px rgba(64,146,247,0.35);
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    height: 383px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* padding: 80px 0; */
}

.exemplar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.exemplar-image {
    width: 90%;
    height: 70%;
    overflow: hidden;
}

.exemplar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.exemplar-card:hover .exemplar-image img {
    transform: scale(1.05);
}

.exemplar-info {
    padding: 15px;
}

.exemplar-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    text-align: center;
}

.exemplar-description {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* 跑马灯动画 */
@keyframes exemplarScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 鼠标悬停时暂停动画 */
.exemplar-carousel-container:hover .exemplar-carousel-wrapper {
    animation-play-state: paused;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .lesson-nav-buttons {
        gap: 15px;
    }
    
    .lesson-nav-btn {
        min-width: 90px;
        padding: 12px 15px;
    }
    
    .exemplar-card {
        min-width: 180px;
    }
    
    .exemplar-image {
        height: 130px;
    }
}

@media (max-width: 768px) {
    .lesson-nav-buttons {
        gap: 10px;
        margin-top: 20px;
    }
    
    .lesson-nav-btn {
        min-width: 80px;
        padding: 10px 12px;
    }
    
    .btn-icon {
        font-size: 20px;
    }
    
    .lesson-nav-btn span {
        font-size: 12px;
    }
    
    .exemplar-carousel-wrapper {
        gap: 15px;
    }
    
    .exemplar-card {
        min-width: 160px;
    }
    
    .exemplar-image {
        height: 120px;
    }
    
    .exemplar-info {
        padding: 12px;
    }
    
    .exemplar-name {
        font-size: 14px;
    }
    
    .exemplar-description {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .lesson-nav-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .lesson-nav-btn {
        width: 100%;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        min-width: auto;
    }
    
    .btn-icon {
        margin-bottom: 0;
    }
    
    .exemplar-carousel-wrapper {
        gap: 10px;
    }
    
    .exemplar-card {
        min-width: 140px;
    }
    
    .exemplar-image {
        height: 100px;
    }
    
    .exemplar-info {
        padding: 10px;
    }
    
    .exemplar-name {
        font-size: 13px;
    }
    
    .exemplar-description {
        font-size: 11px;
    }
}

/* 官兵风采样式 */
.officer-soldier-section {
    /* margin: 40px 0; */
    background: #F5F6FA;
    padding: 30px 0;
}

.officer-soldier-gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    overflow: hidden;
}

.gallery-item {
    flex: 1;
    min-width: 0;
}

.gallery-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-image:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 12px 12px 8px;
    text-decoration:underline;
    font-size: 15px;
    line-height: 1.4;
}

/* 军营视频样式 */
.barracks-video-section {
    /* margin: 40px 0; */
    background: white;
    padding: 30px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.video-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-item:hover {
    transform: translateY(-3px);
}

.video-thumbnail {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.video-thumbnail img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-item:hover .play-button {
    background: rgba(33, 150, 243, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-caption {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    text-align: center;
}

/* 军事职业教育平台样式 */
.military-education-platform {
    /* margin: 40px 0; */
    /* background: linear-gradient(135deg, #1976d2, #42a5f5); */
    padding: 40px 0;
    color: white;
    background-color: white;
}

.platform-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.platform-logo {
    flex-shrink: 0;
}

.logo-circle {
    width: 80px;
    height: 80px;
    border: 3px solid white;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
}

.spiral-pattern {
    width: 40px;
    height: 40px;
    background: conic-gradient(from 0deg, transparent, white, transparent);
    border-radius: 50%;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.logo-text {
    position: absolute;
    font-size: 8px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    width: 100%;
    padding: 0 5px;
}

.platform-title {
    flex: 1;
    text-align: center;
}

.platform-title h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.platform-indicators {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .officer-soldier-gallery {
        gap: 15px;
    }
    
    .gallery-image img {
        height: 180px;
    }
    
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .platform-title h2 {
        font-size: 24px;
    }
    
    .logo-circle {
        width: 70px;
        height: 70px;
    }
    
    .spiral-pattern {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 768px) {
    .officer-soldier-gallery {
        flex-direction: column;
        gap: 15px;
    }
    
    .gallery-image img {
        height: 200px;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .video-thumbnail img {
        height: 100px;
    }
    
    .platform-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .platform-title h2 {
        font-size: 20px;
    }
    
    .logo-circle {
        width: 60px;
        height: 60px;
    }
    
    .spiral-pattern {
        width: 30px;
        height: 30px;
    }
    
    .logo-text {
        font-size: 7px;
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .video-thumbnail img {
        height: 120px;
    }
    
    .platform-title h2 {
        font-size: 18px;
    }
    
    .logo-circle {
        width: 50px;
        height: 50px;
    }
    
    .spiral-pattern {
        width: 25px;
        height: 25px;
    }
    
    .logo-text {
        font-size: 6px;
    }
    
    .platform-indicators {
        gap: 6px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* 页脚样式 */

/* 军事背景图片 */

/* 顶部导航栏 */
.footer-nav {
    background: rgba(0, 0, 0, .1);
    padding: 15px 0;
    position: relative;
    z-index: 10;
}

.footer-nav-menu {
    display: flex;
    justify-content: space-around;
    gap: 40px;
}

.footer-nav-item {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 11;
}

.footer-nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-text {
    font-size: 14px;
    font-weight: 500;
}

.chevron-down {
    transition: transform 0.3s ease;
}

.footer-nav-item:hover .chevron-down {
    transform: rotate(180deg);
}

/* 下拉菜单 */
.footer-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 4px;
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 5px;
}

.footer-nav-item:hover .footer-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 确保下拉菜单在显示时可见 */
.footer-dropdown.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* 调试样式 - 临时显示所有下拉菜单 */
.footer-dropdown {
    /* 临时注释掉隐藏样式用于调试 */
    /* opacity: 0; */
    /* visibility: hidden; */
    /* transform: translateY(-10px); */
}

.dropdown-item {
    padding: 8px 16px;
    font-size: 13px;
    transition: background 0.2s ease;
    color: white;
    cursor: pointer;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #42a5f5;
}

/* 主要内容区域 */
.footer-content {
    padding: 40px 0;
    position: relative;
    z-index: 2;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column {
    /* text-align: center; */
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px 0;
    color: white;
}

.footer-divider {
    width:100%;
    opacity: 0.55;
    height: 2px;
    background: white;
    margin:20px 0;
}

.footer-info p {
    margin: 8px 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

/* 版权信息 */
.footer-copyright {
    /* background: rgba(0, 0, 0, 0.3); */
    padding: 15px 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-copyright p {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .footer-nav-menu {
        gap: 30px;
    }
    
    .footer-columns {
        gap: 30px;
    }
    
    .footer-dropdown {
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .footer-nav-menu {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .footer-nav-item {
        width: 200px;
        justify-content: center;
    }
    
    .footer-dropdown {
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }
    
    .footer-nav-item:hover .footer-dropdown {
        transform: translateX(-50%) translateY(0);
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-nav-item {
        width: 180px;
        padding: 6px 12px;
    }
    
    .nav-text {
        font-size: 13px;
    }
    
    .footer-dropdown {
        min-width: 160px;
    }
    
    .dropdown-item {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .footer-content {
        padding: 30px 0;
    }
    
    .footer-title {
        font-size: 15px;
    }
    
    .footer-info p {
        font-size: 12px;
    }
}

.section-title {
    color: #000000;
    font-size: 18px;
    font-weight: bold;
   margin-left: 3px;
}




/* 军队要闻图标主题样式 */
.jdyw_icon {
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    transition: all 0.3s ease;
    display: inline-block;
    /* 默认使用蓝色主题图标 */
    background-image: url('../images/blue/icon-jdyw.png');
}

/* 支队新闻图标 */
.zdxw_icon {
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* transition: all 0.3s ease; */
    display: inline-block;
    background-image: url('../images/blue/icon-zdxw.png');
}

.zytz_icon {
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* transition: all 0.3s ease; */
    display: inline-block;
    background-image: url('../images/blue/icon-zytz.png');
}

.wmkg_icon {
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* transition: all 0.3s ease; */
    display: inline-block;
    background-image: url('../images/blue/icon-wmkg.png');
}

.jclz_icon {
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* transition: all 0.3s ease; */
    display: inline-block;
    background-image: url('../images/blue/icon-jclz.png');
}

.xxtd_icon {
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* transition: all 0.3s ease; */
    display: inline-block;
    background-image: url('../images/blue/icon-xxtd.png');
}

.jyzl_icon {
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* transition: all 0.3s ease; */
    display: inline-block;
    background-image: url('../images/blue/icon-jyzl.png');
}

.mzjc_icon{
    width: 38px;
    height: 38px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* transition: all 0.3s ease; */
    display: inline-block;
    background-image: url('../images/blue/icon-mzjc.png');
}
.llcs_icon{
    width: 38px;
    height: 38px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* transition: all 0.3s ease; */
    display: inline-block;
    background-image: url('../images/blue/icon-llce.png');
}
.yxja_icon{
    width: 38px;
    height: 38px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* transition: all 0.3s ease; */
    display: inline-block;
    background-image: url('../images/blue/icon-yxja.png');
}

.jazp_icon{
    width: 38px;
    height: 38px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* transition: all 0.3s ease; */
    display: inline-block;
    background-image: url('../images/blue/iocn-jazp.png');
}

.qjdf_icon {
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* transition: all 0.3s ease; */
    display: inline-block;
    background-image: url('../images/blue/icon-qjdf.png');
}

.gbfc_icon {
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* transition: all 0.3s ease; */
    display: inline-block;
    background-image: url('../images/blue/icon-gbfc.png');
}

.jysp_icon {
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    /* transition: all 0.3s ease; */
    display: inline-block;
    background-image: url('../images/blue/icon-jysp.png');
}


.breadcrumb span{
    color: #666666;
    font-size: 14px;
}
.submenu-item-a{
    text-decoration: none;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}




/* 公告通知弹窗样式 */
.announcement-popup {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    background: #ffffff;
    /* border: 2px solid #FFB6C1; */
    box-shadow: 0px 0px 10px 1px rgba(153,153,153,0.2);
    border-radius: 8px;
    z-index: 1000;
    background: linear-gradient( 136deg, #FFFFFF 0%, #F2F8FF 100%);
    font-family: "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.announcement-header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    /* background: #f8f9fa; */
    /* border-bottom: 1px solid #e9ecef; */
    border-radius: 6px 6px 0 0;
}

.announcement-icon {
    /* margin-right: 8px; */
    display: flex;
    align-items: center;
}

.announcement-title {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #666666;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.close-btn:hover {
    background-color: #f0f0f0;
}

.announcement-content {
    padding: 16px;
}

.announcement-item {
    position: relative;
    font-size: 14px;
    color: #333333;
    margin-bottom: 12px;
    font-weight: 400;
    padding: 8px 0;
    /* border-bottom: 1px solid #f0f0f0; */
}

.announcement-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.announcement-text {
    font-size: 13px;
    line-height: 1.4;
    color: #333333;
    font-weight: 400;

}

.watermark {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(-15deg);
    font-size: 10px;
    color: rgba(0, 0, 0, 0.3);
    font-weight: normal;
    pointer-events: none;
    z-index: 1;
}

/* .announcement-indicator {
    position: absolute;
    left: -8px;
    top: 20px;
    width: 6px;
    height: 6px;
    background-color: #ff4444;
    border-radius: 50%;
} */

/* 响应式设计 */
@media (max-width: 768px) {
    .announcement-popup {
        left: 10px;
        width: 280px;
    }
    
    .announcement-text {
        font-size: 12px;
    }
    
    .watermark {
        font-size: 9px;
    }
} 



/* 右侧垂直导航栏样式 */
.right-sidebar {
    position: fixed;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    z-index: 1000;
}

.sidebar-menu {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 12px;
}

.menu-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 6px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background-color: #f8f9fa;
}

.menu-icon {
    display: flex;
    align-items: center;
    /* height: 14px; */
    width: 14px;
    /* font-size: 16px;
    margin-bottom: 4px; */
}
.menu-icon img{
    height: 100%;
    width: 100%;
}
.menu-items{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 6px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
}
.menu-texts {
    font-size: 10px;
    text-align: center; 
    /* margin-top: 10px; */
}
.menu-text {
    font-size: 10px;
    color: #666;
    text-align: center;
    /* line-height: 1.2; */
    margin-left: 6px;
}

.back-to-top-text {
    color: #1890ff !important;
}

/* 马上办按钮样式 */
.handle-immediately-btn {
    display: flex;
    align-items: center;
    /* justify-content: end; */
    /* background: linear-gradient(135deg, #1890ff, #40a9ff); */
    background-image:url('../images/pubilc/icon-msb.png');
    height: 70px;
    width: 136px;
    color: #fff;
    background-repeat: no-repeat;
    position: fixed;
    right:3px;
    top: 100%;
    background-size: 100% 100%;
    /* padding: 8px 10px; */
    /* border-radius: 6px; */
    cursor: pointer;
    transition: all 0.3s ease;
    /* border: 2px dashed rgba(255, 255, 255, 0.3); */
    /* box-shadow: 0 2px 8px rgba(24, 144, 255, 0.3); */
}

.msb-top{
    display: flex;
    align-items: center;
    position: absolute;
    right: 14px;
    top: 44%;
}

.handle-immediately-btn:hover {
    transform: translateY(-1px);
    /* box-shadow: 0 4px 12px rgba(24, 144, 255, 0.4); */
}

.btn-icon {
    font-size: 14px;
}

.btn-text {
    font-size: 11px;
    font-weight: 500;
    /* margin: 0 6px; */
}

.btn-arrow {
    font-size: 12px;
    font-weight: bold;
}

/* 主题适配 */
.green-theme .handle-immediately-btn {
    background-image: url('../images/green/bk-greeen@2x.png');
    /* background: linear-gradient(135deg, #52c41a, #73d13d);
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3); */
}

.green-theme .handle-immediately-btn:hover {
    /* box-shadow: 0 6px 16px rgba(82, 196, 26, 0.4); */
}

.green-theme .back-to-top-text {
    color: #52c41a !important;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .right-sidebar {
        right: 15px;
        width: 55px;
    }
    
    .menu-item {
        padding: 8px 5px;
    }
    
    .menu-icon {
        font-size: 15px;
    }
    
    .menu-text {
        font-size: 9px;
    }
    
    .handle-immediately-btn {
        padding: 7px 9px;
    }
    
    .btn-text {
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .right-sidebar {
        position: fixed;
        right: 10px;
        width: 50px;
    }
    
    .menu-item {
        padding: 7px 4px;
    }
    
    .menu-icon {
        font-size: 14px;
    }
    
    .menu-text {
        font-size: 8px;
    }
    
    .handle-immediately-btn {
        padding: 6px 8px;
    }
    
    .btn-text {
        font-size: 9px;
    }
    
    .btn-icon {
        font-size: 12px;
    }
} 

.green-theme .back-to-top-text {
    color: #52c41a !important;
}

/* 绿色主题公告图标 */
.green-theme .announcement-icon img {
    content: url('../images/green/ic_green_@2x.png');
}

/* 响应式设计 */
