@charset "UTF-8";
/*西环动态 */
        /* Banner样式（匹配设计图） */
        .news-hero {
            background: url('../images/news_banner.jpg') no-repeat center center;
            background-size: cover;
            color: #fff;
            padding: 4rem 0;
            position: relative;
            background-color: #0066cc;
			margin-top: 80px;
        }
        
        .news-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 33, 99, 0.7);
            z-index: 1;
        }
        
        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 1200px;
        }
        
        .news-hero h1 {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
            font-weight: 700;
        }
        
        .news-hero p {
            font-size: 1.1rem;
            line-height: 1.8;
            opacity: 0.95;
        }

        /* 新闻列表区域样式 */
        .news-section {
            padding: 4rem 0;
            background-color: #fff;
        }

        /* 头条新闻轮播样式 - 核心修改 */
        .top-news {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 2rem;
            margin-bottom: 4rem;
            padding: 0 2%;
            align-items: flex-start;
            position: relative;
            height: 400px; /* 固定轮播高度 */
            overflow: hidden;
        }

        /* 轮播图片容器 */
        .top-news-carousel {
            width: 100%;
            height: 100%;
            position: relative;
        }

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

        .carousel-item.active {
            opacity: 1;
        }

        .top-news-img {
            width: 100%;
            height: 100%;
            border-radius: 0.5rem;
            object-fit: cover;
        }

        /* 轮播控制按钮 */
        .carousel-controls {
            position: absolute;
            bottom: 1rem;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 0.8rem;
            z-index: 10;
        }

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

        .carousel-dot.active {
            background-color: #fff;
            width: 30px;
            border-radius: 6px;
        }

        /* 轮播内容容器 */
        .top-news-content {
            padding: 0 1rem;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .news-content-item {
            display: none;
        }

        .news-content-item.active {
            display: block;
        }

        .news-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            color: #999;
            font-size: 0.9rem;
        }

        .news-date {
            font-size: 1.5rem;
            color: #666;
            font-weight: 500;
        }

        .news-date span {
            font-size: 1rem;
            color: #999;
            margin-left: 0.5rem;
        }

        .news-views {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .top-news-title {
            font-size: 1.4rem;
            color: #333;
            margin-bottom: 1.5rem;
            font-weight: 600;
            line-height: 1.4;
        }

        .top-news-desc {
            font-size: 1rem;
            color: #666;
            line-height: 1.8;
            margin-bottom: 1.5rem;
            text-align: justify;
        }

        .news-more {
            display: inline-block;
            background-color: #0066cc;
            color: #fff;
            padding: 0.5rem 1.2rem;
            border-radius: 0.3rem;
            text-decoration: none;
            font-size: 0.9rem;
            transition: background-color 0.3s;
        }

        .news-more:hover {
            background-color: #003399;
        }






        /* 新闻列表网格样式 - 核心修改：4列布局 + 竖版图片 + hover效果 */
        .news-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr); /* 修改为4列 */
            gap: 2rem;
            padding: 0 2%;
            margin-bottom: 3rem;
        }

        .news-card {
            background-color: #fff;
            border-radius: 0.5rem;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .news-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        /* 竖版图片样式 */
        .news-card-img {
            width: 100%;
            height: 250px; /* 竖版高度 */
            object-fit: cover;
        }

        /* hover效果核心修改 */
        .news-card-content {
            padding: 1.2rem;
            flex: 1;
            transition: all 0.3s ease; /* 过渡动画 */
        }

        .news-card:hover .news-card-content {
            background-color: #0066cc; /* 背景变蓝色 */
            color: #fff; /* 文字反白 */
        }

        .news-card-date {
            font-size: 0.9rem;
            color: #999;
            margin-bottom: 0.8rem;
            transition: color 0.3s ease;
        }

        .news-card-title {
            font-size: 1rem;
            color: #333;
            margin-bottom: 0.8rem;
            font-weight: 500;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            transition: color 0.3s ease;
        }

        /* hover时文字颜色反白 */
        .news-card:hover .news-card-date,
        .news-card:hover .news-card-title {
            color: #fff;
        }

        /* 特殊卡片样式（设计图中蓝色标签） */
        .news-card.special .news-card-content {
            position: relative;
        }

        .news-card.special .special-tag {
            position: absolute;
            top: -25px;
            left: 0;
            background-color: #0066cc;
            color: #fff;
            padding: 0.5rem 1rem;
            font-size: 0.9rem;
            width: 100%;
        }
        
        
.news-card a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}


        /* 分页样式 */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
            margin-top: 2rem;
        }

        .page-btn {
            width: 2.5rem;
            height: 2.5rem;
            border: 1px solid #ddd;
            background-color: #fff;
            color: #666;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 0.3rem;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.9rem;
        }

        .page-btn:hover {
            border-color: #0066cc;
            color: #0066cc;
        }

        .page-btn.active {
            background-color: #0066cc;
            color: #fff;
            border-color: #0066cc;
        }

        .page-btn.disabled {
            color: #ccc;
            cursor: not-allowed;
            border-color: #eee;
        }

        .page-btn.disabled:hover {
            border-color: #eee;
            color: #ccc;
            background-color: #fff;
        }

        /* 响应式适配 */
        @media (max-width: 1200px) {
            .top-news {
                grid-template-columns: 1fr;
                height: auto;
            }
            .news-grid {
                grid-template-columns: repeat(2, 1fr); /* 平板端2列 */
            }
            .top-news-carousel {
                height: 300px;
            }
        }

        @media (max-width: 768px) {
            .news-grid {
                grid-template-columns: 1fr; /* 手机端1列 */
            }
            .top-news {
                padding: 0;
                height: auto;
            }
            .news-grid {
                padding: 0;
            }
            .news-card-img {
                height: 200px; /* 手机端竖版图片高度 */
            }
            .top-news-carousel {
                height: 250px;
            }
        }

     
	 
	 /*详情页*/
	 
	
	         /* Banner样式（与列表页统一） */
	         .news-hero {
	             background: url('../images/news_banner.jpg') no-repeat center center;
	             background-size: cover;
	             color: #fff;
	             padding: 2.5rem 0;
	             position: relative;
	             background-color: #0066cc;
	         }
	         
	         .news-hero::before {
	             content: '';
	             position: absolute;
	             top: 0;
	             left: 0;
	             width: 100%;
	             height: 100%;
	             background: rgba(0, 33, 99, 0.7);
	             z-index: 1;
	         }
	         
	         .hero-content {
	             position: relative;
	             z-index: 2;
	             max-width: 1200px;
	         }
	         
	         .news-hero h1 {
	             font-size: 2rem;
	             margin-bottom: 0.3rem;
	             font-weight: 700;
	         }
	         
	         .news-hero p {
	             font-size: 1rem;
	             line-height: 1.6;
	             opacity: 0.95;
	         }
	 
	         /* 新闻详情核心样式 */
	         .news-detail {
	             padding: 4rem 0;
	             background-color: #fff;
	         }
	 
	         .detail-layout {
	             max-width: 1200px;
	             margin: 0 auto;
	             padding: 0 2rem;
	             display: grid;
	             grid-template-columns: 70% 28%;
	             gap: 2%;
	         }
	 
	         .detail-wrapper {
	             width: 100%;
	         }
	 
	         .detail-title {
	             font-size: 1.8rem;
	             color: #222;
	             text-align: left;
	             margin-bottom: 2rem;
	             line-height: 1.4;
	             font-weight: 600;
	         }
	 
	         .detail-meta {
	             display: flex;
	             justify-content: flex-start;
	             align-items: center;
	             gap: 2rem;
	             color: #999;
	             font-size: 0.9rem;
	             padding-bottom: 1rem;
	             margin-bottom: 2rem;
	             border-bottom: 1px solid #eee;
	         }
	 
	         .meta-item {
	             display: flex;
	             align-items: center;
	             gap: 0.5rem;
	         }
	 
	         .meta-icon {
	             font-size: 1rem;
	         }
	 
	         .detail-content {
	             font-size: 1rem;
	             color: #444;
	             line-height: 2;
	             text-align: justify;
	             margin-bottom: 3rem;
	         }
	 
	         .detail-content p {
	             margin-bottom: 1.5rem;
	             text-indent: 2em;
	         }
	 
	         .detail-content h4 {
	             font-size: 1.1rem;
	             color: #222;
	             margin: 2rem 0 1rem;
	             font-weight: 600;
	         }
	 
	         .detail-img {
	             width: 100%;
	             height: auto;
	             border-radius: 0.5rem;
	             margin: 2rem 0;
	             box-shadow: 0 2px 10px rgba(0,0,0,0.08);
	         }
	 
	         /* 上下篇导航 + 三横杠分隔 - 核心修改 */
	         .news-nav {
	             display: flex;
	             justify-content: space-between;
	             align-items: center;
	             padding: 2rem 0;
	             border-top: 1px solid #eee;
	             margin-top: 2rem;
	         }
	 
	         .news-nav-item {
	             display: flex;
	             align-items: center;
	             gap: 0.8rem;
	             padding: 0.8rem 1.5rem;
	             background-color: #f8fafc;
	             border-radius: 0.3rem;
	             width: 45%;
	             transition: all 0.3s ease;
	             text-decoration: none;
	         }
	 
	         .news-nav-item.prev {
	             justify-content: flex-start;
	             border: 1px solid #eee;
	             color: #666;
	         }
	 
	         .news-nav-item.next {
	             justify-content: flex-end;
	             background-color: #0066cc;
	             color: #fff;
	             border: 1px solid #0066cc;
	         }
	 
	         .news-nav-item:hover {
	             transform: translateY(-2px);
	             box-shadow: 0 3px 8px rgba(0,0,0,0.1);
	         }
	 
	         .nav-text {
	             white-space: nowrap;
	             overflow: hidden;
	             text-overflow: ellipsis;
	             max-width: 200px;
	         }
	 
	         /* 三横杠分隔符 - 核心新增 */
	         .nav-divider {
	             width: 30px;
	             height: 20px;
	             display: flex;
	             flex-direction: column;
	             justify-content: space-between;
	             align-items: center;
	             cursor: pointer;
	         }
	 
	         .divider-line {
	             width: 18px;
	             height: 3px;
	             background-color: #ccc;
	             border-radius: 2px;
	             transition: all 0.3s;
	         }
	 
	         .nav-divider:hover .divider-line {
	             background-color: #0066cc;
	         }
	 
	         /* 分享功能区 - 核心新增 */
	         .share-section {
	             padding: 2rem 0;
	             border-top: 1px solid #eee;
	             margin-top: 1rem;
	         }
	 
	         .share-title {
	             font-size: 1rem;
	             color: #666;
	             margin-bottom: 1rem;
	             font-weight: 500;
	         }
	 
	         .share-buttons {
	             display: flex;
	             gap: 1rem;
	         }
	 
	         .share-btn {
	             display: flex;
	             align-items: center;
	             justify-content: center;
	             width: 40px;
	             height: 40px;
	             border-radius: 50%;
	             background-color: #f5f5f5;
	             color: #666;
	             font-size: 1.2rem;
	             text-decoration: none;
	             transition: all 0.3s ease;
	         }
	 
	         .share-btn:hover {
	             transform: translateY(-3px);
	             box-shadow: 0 3px 8px rgba(0,0,0,0.1);
	         }
	 
	         .share-btn.wechat:hover {
	             background-color: #07C160;
	             color: #fff;
	         }
	 
	         .share-btn.weibo:hover {
	             background-color: #E6162D;
	             color: #fff;
	         }
	 
	         .share-btn.qq:hover {
	             background-color: #12B7F5;
	             color: #fff;
	         }
	 
	         .share-btn.link:hover {
	             background-color: #0066cc;
	             color: #fff;
	         }
	 
	         /* 右侧相关推荐（与上一版一致） */
	         .related-news {
	             background-color: #f8fafc;
	             border-radius: 0.8rem;
	             padding: 1.5rem;
	             height: fit-content;
	             position: sticky;
	             top: 8rem;
	         }
	 
	         .related-title {
	             font-size: 1.2rem;
	             color: #222;
	             font-weight: 600;
	             padding-bottom: 1rem;
	             margin-bottom: 1.5rem;
	             border-bottom: 2px solid #0066cc;
	             display: flex;
	             align-items: center;
	             gap: 0.8rem;
	         }
	 
	         .related-title::before {
	             content: '';
	             width: 4px;
	             height: 1.2rem;
	             background-color: #0066cc;
	             border-radius: 2px;
	         }
	 
	         .related-list {
	             list-style: none;
	         }
	 
	         .related-item {
	             padding: 1rem 0;
	             border-bottom: 1px dashed #eee;
	             transition: all 0.3s ease;
	         }
	 
	         .related-item:last-child {
	             border-bottom: none;
	         }
	 
	         .related-item:hover {
	             transform: translateX(5px);
	         }
	 
	         .related-link {
	             text-decoration: none;
	             color: #333;
	             display: block;
	         }
	 
	         .related-item-title {
	             font-size: 0.95rem;
	             line-height: 1.5;
	             margin-bottom: 0.5rem;
	             display: -webkit-box;
	             -webkit-line-clamp: 2;
	             -webkit-box-orient: vertical;
	             overflow: hidden;
	             transition: color 0.3s;
	         }
	 
	         .related-link:hover .related-item-title {
	             color: #0066cc;
	         }
	 
	         .related-item-meta {
	             font-size: 0.8rem;
	             color: #999;
	             display: flex;
	             justify-content: space-between;
	         }
	 
	         /* 响应式适配 */
	         @media (max-width: 992px) {
	             .detail-layout {
	                 grid-template-columns: 1fr;
	             }
	             .related-news {
	                 margin-top: 3rem;
	                 position: static;
	             }
	             .detail-title {
	                 text-align: center;
	             }
	             .detail-meta {
	                 justify-content: center;
	             }
	         }
	 
	         @media (max-width: 768px) {
	             .detail-wrapper {
	                 padding: 0 1rem;
	             }
	             .detail-layout {
	                 padding: 0 1rem;
	             }
	             .detail-title {
	                 font-size: 1.5rem;
	             }
	             .detail-meta {
	                 flex-direction: column;
	                 gap: 0.8rem;
	                 align-items: center;
	             }
	             .news-nav {
	                 flex-direction: column;
	                 gap: 1.5rem;
	             }
	             .news-nav-item {
	                 width: 100%;
	             }
	             .nav-divider {
	                 transform: rotate(90deg);
	             }
	             .detail-content {
	                 line-height: 1.8;
	             }
	             .detail-content p {
	                 text-indent: 1em;
	             }
	         }
	 

