/* 通用布局 */
.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 轮播图区域 */
.banner-section {
    position: relative;
    width: 100%;
    min-width: 1200px;
    overflow: hidden;
    margin-top: 50px;
}

.banner-swiper {
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 710; /* 设置宽高比 */
    position: relative;
    z-index: 1;
}

/* 焦点图加载状态样式 */
#bannerLoading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;  /* 确保加载图标在轮播图下方 */
}

#bannerLoading .loading-spinner {
    margin: 0 auto;
}

#bannerLoading .loading-text {
    text-align: center;
    margin-top: 10px;
}

.banner-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    object-fit: cover; /* 覆盖容器，保持宽高比 */
    object-position: top; /* 图片顶端对齐 */
}

/* 导航菜单 */
.nav-menu {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 2;
}

.menu-list {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
}

.menu-list li a {
    color: #333;
    font-size: 16px;
    padding: 10px 15px;
    transition: color 0.3s;
}

.menu-list li a:hover {
    color: #1E90FF;
}

/* 新闻动态区域 */
.news-section {
    padding: 30px 0;
    background: #fff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 24px;
    color: #333;
    position: relative;
    padding-left: 15px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #1E90FF;
}

.news-content {
    display: flex;
    gap: 35px; /* 设置新闻与图片之间的间距为35px */
}

.news-main {
    flex: 0 0 60%;
    position: relative;
}

.news-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
}

.news-list {
    flex: 0 0 40%;
}

.news-list-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.news-list-item .news-time {
    color: #999;
    font-size: 12px;
}

/* 页脚样式 */
.footer {
    background: #003366;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

.footer-content p {
    margin: 0;
    font-size: 16px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 30px;
}

.footer-links img {
    height: 40px;
    width: auto;
}

.hotspot-section,
.announcement-section,
.news,
.hotspot-gallery,
.hotspot-videos {
    max-width: 1200px; /* 设置顶宽为1200px */
    margin: 0 auto; /* 居中对齐 */
    padding: 0 0 40px ; /* 可根据需要调整内边距 */

}

.hotspot-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center; /* 居中显示 */
    /* transform: translateY(-50px); 向上浮动50px */
}

.hotspot-item {
    flex: 0 0 10%;
    text-align: center;
    margin-bottom: 20px;
}

.hotspot-item img {
    width: 100px;
    height: 100px;
    border-radius:20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease; /* 添加过渡效果 */
}

.hotspot-item img:hover {
    transform: scale(1.0625); /* 放大5个像素 */
}

.hotspot-item p {
    font-size: 16px;
    color: #fff;
    font-weight: bold;
}

.hotspot-item a {
    text-decoration: none;
    color: inherit;
}

.main {
     /*background: url('../../images/pc_niews.png') no-repeat center center;*/
    background:#2181d9;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
    color: #fff; /* 确保字体颜色为白色 */
}

.announcement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.announcement-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ddbd82;
}

.announcement-title {
    display: flex;
    align-items: center;
    font-size: 36px;
    color: #ddbd82;
}

.announcement-icon {
    font-size: 26px;
    margin-right: 10px;
    color: #ddbd82;
    vertical-align: middle;
}

.bullet-icon {
    font-size: 16px; /* 设置图标大小 */
    margin-right: 10px;
    color: #fff; /* 设置图标颜色为白色 */
}

.announcement-more {
    font-size: 18px;
    color: #ddbd82; /* 设置文字颜色为白色 */
    text-decoration: none;
    padding-top: 28px;
}

.announcement-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.announcement-item {
    flex: 0 0 48%; /* 每行显示两个 */
    display: flex;
    align-items: center;
    background-color: transparent; /* 设置背景为透明 */
    padding: 10px  0 0; /* 调整内边距去底部空隙 */
    border-radius: 4px;
    box-shadow: none; /* 移除阴影 */
    margin-bottom: 0; /* 去掉底部的外边距 */
}

.bullet-icon {
    width: 16px;
    height: 16px;
    margin-right: 10px;
}

.announcement-item p {
    width: 99%;
    font-size: 18px; /* 设置公告标题为18号字 */
    color: #fff; /* 设置文字颜色为白色 */
    margin: 0;
    padding-right:0;
    line-height: 1.5; /* 设置行高 */
    height: 1.5em; /* 设置高度为两行的距离 */
    overflow: hidden; /* 隐藏超出部分 */
    word-wrap: break-word; /* 超过行数自动折行 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

}
.announcement-item p:hover {
    color: #b9bac1; /* 鼠标悬停时改变颜色 */
}
.fa-solid, .fas {
    line-height: 1;
}

.news {
    max-width: 1200px; /* 设置顶宽为1200px */
    margin: 0 auto; /* 居中对齐 */
    padding: 20px 0 50px; /* 可根据需要调整内边距 */
    color: #fff; /* 确保字体颜色为白色 */
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.news-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #ddbd82;
}

.news-title {
    display: flex;
    align-items: center;
    font-size: 36px;
    color: #ddbd82;
}

.news-icon {
    font-size: 26px;
    margin-right: 10px;
    color: #ddbd82;
}

.news-more {
    font-size: 18px;
    color: #ddbd82;
    text-decoration: none;
    padding-top:28px;
}

.news-content {
    display: flex;
    gap: 20px;
}

.news-image {
    flex: 0 0 45%;
}

.news-image img {
    width: 520px; /* 设置宽度为520px */
    height: 282px; /* 设置高度为282px */
    border-radius: 4px;
    object-fit: cover; /* 确保图片按比例填充 */
}

.news-list {
    flex: 0 0 55%;
}

.news-list ul {
    list-style: none;
    padding: 0;
}

.news-list li {
    width: 99%;
    font-size: 18px; /* 设置新闻题目为18号字 */
    margin-bottom: 10px;
    cursor: pointer;
    transition: color 0.3s;
    overflow: hidden; /* 隐藏超出部分 */
    word-wrap: break-word; /* 超过行数自动折行 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-list li:hover {
    color: #b9bac1; /* 鼠标悬停时改变颜色 */
}

.swiper-button-prev, .swiper-button-next {
    width: 40px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.9); /* 改为白色背景 */
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    transform: scale(1.5); /* 缩小到1.5倍 */
    margin: 0 50px;
}

.swiper-button-prev:hover, .swiper-button-next:hover {
    transform: scale(1.6); /* 悬停时稍微放大 */
}

.swiper-button-prev::after,
.swiper-button-next::after {
    color: #666; /* 改为浅灰色 */
    font-size: 20px;
}

.swiper-pagination-bullet {
    width: 16px; /* 增加按钮的宽度 */
    height: 16px; /* 增加按钮的高度 */
    background-color: #ddbd82; /* 设置未选中状态为实心 */
    border-radius: 50%; /* 使按钮呈现圆形 */
    display: inline-block;
    opacity: initial;
    transition: transform 0.3s ease, background-color 0.3s ease; /* 添加过渡效果 */
    border: none; /* 移除边框 */
}

.swiper-pagination-bullet-active {
    transform: scale(1.2); /* 当前激活的按钮放大 */
    background-color: #1E90FF; /* 改变激活按钮的颜色为蓝色 */
}

.hotspot-gallery, .hotspot-videos {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
}
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, 45px);
    top: var(--swiper-pagination-top, auto);
    left: 0;
    width: 100%;
}
.gallery-item, .video-item {
    flex: 0 0 32%;
    text-align: center;
    position: relative;
}

.gallery-item img, .video-thumbnail img {
    width: 390px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item img:hover, .video-thumbnail:hover img {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: rgba(255, 255, 255, 0.8);
    pointer-events: none;
}

.gallery-item p, .video-item p {
    margin-top: 10px;
    font-size: 16px;
    color: #fff;
    text-align: left;
}

.section-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
}

.section-title {
    display: flex;
    align-items: center;
    font-size: 24px;
    color: #1E90FF; /* 改为白色 */
}

.section-title i {
    font-size: 24px;
    margin-right: 10px;
    color: #1E90FF; /* 改为白色 */
}

.section-more {
    font-size: 14px;
    color: #1E90FF; /* 改为白色 */
    text-decoration: none;
}

.hotspot-videos-wrapper {
    background-color: #2181d9; /* 使用深蓝色作为背景色 */
    padding: 20px 0;
}

.hotspot-videos {
    max-width: 1200px; /* 设置最大宽度为1200px */
    margin: 0 auto; /* 居中对齐 */
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
    margin-bottom: 50px;
}

.video-item {

    text-align: center;
    position: relative;
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.video-thumbnail img {
    width: 390px;
    height: auto;
    display: block;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    color: rgba(255, 255, 255, 0.8); /* 改为白色 */
    pointer-events: none;
}

.video-item p {
    margin-top: 10px;
    font-size: 16px;
    color: #333; /* 改为白色 */
    text-align: left;
}

.section-title i {
    font-size: 24px;
    margin-right: 10px;
    color: #1E90FF; /* 改为白色 */
}

/* 热点图集样式 */
.hotspot-gallery .section-title {
    display: flex;
    align-items: center;
    font-size: 36px;
    color: #1E90FF; /* 设置为蓝色 */
}

.hotspot-gallery .section-title i {
    font-size: 24px;
    margin-right: 10px;
    color: #1E90FF; /* 设置为蓝色 */
}

.hotspot-gallery .section-more {
    font-size: 18px;
    color: #fff; /* 设置为蓝色 */
    text-decoration: none;
}

/* 热点视频样式 */
.hotspot-videos-wrapper .section-title {
    display: flex;
    align-items: center;
    font-size: 24px;
    color: #fff; /* 保持为白色 */
}

.hotspot-videos-wrapper .section-title i {
    font-size: 24px;
    margin-right: 10px;
    color: #fff; /* 保持为白色 */
}

.gallery-detail {
    padding: 0; /* 移除内边距 */
    margin: 0; /* 移除外边距 */
    background: none; /* 移除背景 */
    border: none; /* 移除边框 */
    box-shadow: none; /* 移除阴影 */
}

.gallery-detail h1 {
    font-size: inherit; /* 使用继承的字体大小 */
    color: inherit; /* 使用继承的颜色 */
    margin: 0; /* 移除标题的外边距 */
    padding: 0; /* 移除标题的内边距 */
    text-align: inherit; /* 使用继承的对齐方式 */
}

.gallery-images {
    padding: 0; /* 移除内边距 */
    margin: 0; /* 移除外边距 */
    list-style: none; /* 移除列表样式 */
}

.breadcrumb {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666;
}

.breadcrumb a {
    color: #1E90FF;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 添加加载状态样式 */
.loading-state {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    background: #fff;
    border-radius: 8px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #1E90FF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

/* 图片加载状态样式 */
.image-loading {
    position: relative;
   
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #eee;
    border-top: 3px solid #1E90FF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

/* 图片加载完成时的淡入效果 */
.image-loaded {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 热点活动区域样式 */
.hotspot-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.hotspot-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.hotspot-item {
    flex: 0 0 13%;
    text-align: center;
    margin-bottom: 20px;
}

.hotspot-item img {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.hotspot-item img:hover {
    transform: scale(1.0625);
}

/* Lightbox样式 */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    cursor: pointer;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #ccc;
}

/* 轮播图缩略图样式 */
.gallery-thumbs .swiper-slide {
    opacity: 0.5;  /* 默认半透明 */
    cursor: pointer;
    transition: opacity 0.3s ease;  /* 只对透明度添加过渡效果 */
}

.gallery-thumbs .swiper-slide:hover {
    opacity: 1;  /* 鼠标悬停时完全不透明 */
}

/* 当前激活的缩略图样式 */
.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1 !important;  /* 当前图片始终完全不透明 */
    border: 2px solid #1E90FF;  /* 当前图片添加边框 */
    box-sizing: border-box;  /* 确保边框不会改变图片大小 */
}

.gallery-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;  /* 防止图片底部有间隙 */
}

/* 面包屑导航样式 */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #1E90FF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #0056b3;
}

.breadcrumb span {
    margin: 0 8px;
    color: #999;
}

/* 当前页面标题样式 */
.breadcrumb .current-page {
    color: #666;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
