/* 页面标题区域 */
.page-header {
padding: 160px 0 60px;
background-color: var(--light-color);
text-align: center;
}

.page-header h1 {
font-size: 42px;
font-weight: 700;
color: var(--dark-color);
margin-bottom: 15px;
position: relative;
display: inline-block;
max-width: 900px;
line-height: 1.3;
}

.page-header h1::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 3px;
background-color: var(--accent-color);
}

.page-meta {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
gap: 20px;
margin-top: 25px;
}

.page-meta-item {
display: flex;
align-items: center;
color: var(--gray-color);
font-size: 14px;
}

.page-meta-item i {
color: var(--primary-color);
margin-right: 8px;
}

.news-category {
display: inline-block;
background-color: var(--accent-color);
color: white;
padding: 6px 15px;
border-radius: 20px;
font-size: 14px;
font-weight: 500;
margin-top: 20px;
}

/* 面包屑导航 */
.breadcrumb {
padding: 20px 0;
background-color: white;
border-bottom: 1px solid var(--light-gray);
}

.breadcrumb ul {
display: flex;
list-style: none;
}

.breadcrumb ul li {
margin-right: 10px;
font-size: 14px;
}

.breadcrumb ul li a {
color: var(--gray-color);
text-decoration: none;
transition: color 0.3s;
}

.breadcrumb ul li a:hover {
color: var(--primary-color);
}

.breadcrumb ul li:after {
content: '>';
margin-left: 10px;
color: var(--gray-color);
}

.breadcrumb ul li:last-child:after {
content: '';
}

.breadcrumb ul li.active a {
color: var(--primary-color);
font-weight: 500;
}

/* 新闻详情内容 */
.news-detail-container {
padding:20px 0 50px 0;
}

.detail-content-container {
display: grid;
grid-template-columns: 3fr 1fr;
gap: 50px;
}

.news-detail {
background-color: white;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* 新闻特色图片 */
.featured-image {
height: 400px;
overflow: hidden;
}

.featured-image img {
width: 100%;
height: 100%;
object-fit: cover;
}

/* 新闻内容 */
.news-content {
padding: 50px;
}

.news-intro {
font-size: 20px;
color: var(--dark-color);
line-height: 1.6;
margin-bottom: 40px;
padding-bottom: 30px;
border-bottom: 1px solid var(--light-gray);
font-weight: 500;
}

.news-body {
font-size: 16px;
line-height: 1.8;
color: #444;
}

.news-body p {
margin-bottom: 25px;
}

.news-body h3 {
font-size: 22px;
color: var(--dark-color);
margin: 40px 0 20px;
padding-bottom: 10px;
border-bottom: 2px solid var(--light-color);
}

.news-body ul, .news-body ol {
margin-left: 20px;
margin-bottom: 25px;
}

.news-body li {
margin-bottom: 10px;
}

.news-body blockquote {
border-left: 4px solid var(--primary-color);
padding-left: 20px;
margin: 30px 0;
font-style: italic;
color: var(--gray-color);
font-size: 18px;
}

/* 图片展示 */
.image-gallery {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
margin: 40px 0;
}

.gallery-item {
border-radius: 10px;
overflow: hidden;
height: 250px;
}

.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
}

/* 新闻标签 */
.news-tags {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin: 40px 0;
padding-top: 30px;
border-top: 1px solid var(--light-gray);
}

.tag {
background-color: var(--light-color);
color: var(--dark-color);
padding: 8px 16px;
border-radius: 20px;
font-size: 14px;
text-decoration: none;
transition: all 0.3s;
}

.tag:hover {
background-color: var(--primary-color);
color: white;
}

/* 分享和导航 */
.news-actions {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 40px;
padding-top: 30px;
border-top: 1px solid var(--light-gray);
}

.share-buttons {
display: flex;
gap: 10px;
}

.share-btn {
width: 40px;
height: 40px;
border-radius: 50%;
background-color: var(--light-color);
color: var(--dark-color);
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
transition: all 0.3s;
}

.share-btn:hover {
transform: translateY(-3px);
}

.share-btn.weibo { background-color: #e6162d; color: white; }
.share-btn.weixin { background-color: #07c160; color: white; }
.share-btn.qq { background-color: #12b7f5; color: white; }

.news-navigation {
display: flex;
gap: 20px;
}

.nav-btn {
display: flex;
align-items: center;
gap: 8px;
text-decoration: none;
font-weight: 500;
padding: 10px 20px;
border-radius: 30px;
border: 1px solid var(--light-gray);
transition: all 0.3s;
color: white;
}

.nav-btn:hover {
background-color: var(--primary-color);
color: white;
border-color: var(--primary-color);
}

/* 侧边栏 */
.sidebar-widget {
background-color: white;
padding: 30px;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
margin-bottom: 30px;
}

.widget-title {
font-size: 20px;
color: var(--dark-color);
margin-bottom: 25px;
padding-bottom: 15px;
border-bottom: 2px solid var(--light-color);
position: relative;
}

.widget-title::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 50px;
height: 2px;
background-color: var(--accent-color);
}

.category-list {
list-style: none;
}

.category-list li {
margin-bottom: 12px;
}

.category-list li a {
color: var(--gray-color);
text-decoration: none;
transition: all 0.3s;
display: flex;
justify-content: space-between;
align-items: center;
}

.category-list li a:hover {
color: var(--primary-color);
padding-left: 5px;
}

.category-list li a span {
background-color: var(--light-color);
color: var(--dark-color);
padding: 3px 10px;
border-radius: 12px;
font-size: 12px;
}

.recent-news {
list-style: none;
}

.recent-news li {
display: flex;
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: 1px solid var(--light-gray);
}

.recent-news li:last-child {
margin-bottom: 0;
padding-bottom: 0;
border-bottom: none;
}

.recent-news-img {
width: 80px;
height: 80px;
border-radius: 8px;
overflow: hidden;
margin-right: 15px;
flex-shrink: 0;
}

.recent-news-img img {
width: 100%;
height: 100%;
object-fit: cover;
}

.recent-news-content h4 {
font-size: 16px;
color: var(--dark-color);
margin-bottom: 8px;
line-height: 1.4;
}

.recent-news-content span {
font-size: 13px;
color: var(--gray-color);
}

/* 相关新闻 */
.related-news {
padding: 80px 0;
background-color: var(--light-color);
}

.section-header {
text-align: center;
margin-bottom: 60px;
}

.section-header h2 {
font-size: 36px;
font-weight: 700;
color: var(--dark-color);
margin-bottom: 15px;
position: relative;
display: inline-block;
}

.section-header h2::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 3px;
background-color: var(--accent-color);
}

.related-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
gap: 30px;
}

.related-card {
background-color: white;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
height: 100%;
}

.related-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.related-image {
height: 200px;
overflow: hidden;
}

.related-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}

.related-card:hover .related-image img {
transform: scale(1.05);
}

.related-content {
padding: 25px;
}

.related-date {
display: inline-block;
background-color: var(--accent-color);
color: white;
padding: 6px 15px;
border-radius: 20px;
font-size: 14px;
font-weight: 500;
margin-bottom: 15px;
}

.related-title {
font-size: 20px;
color: var(--dark-color);
margin-bottom: 15px;
line-height: 1.4;
}

.related-excerpt {
color: var(--gray-color);
margin-bottom: 20px;
line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 992px) {
.detail-content-container {
    grid-template-columns: 1fr;
}

.related-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
}

@media (max-width: 768px) {
.page-header {
    padding: 140px 0 40px;
}

.page-header h1 {
    font-size: 32px;
}

.news-content {
    padding: 30px;
}

.news-intro {
    font-size: 18px;
}

.featured-image {
    height: 300px;
}

.image-gallery {
    grid-template-columns: 1fr;
}

.gallery-item {
    height: 200px;
}

.news-actions {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.section-header h2 {
    font-size: 32px;
}

.related-grid {
    grid-template-columns: 1fr;
}
}

@media (max-width: 576px) {
.page-header h1 {
    font-size: 28px;
}

.news-content {
    padding: 25px;
}

.news-body h3 {
    font-size: 20px;
}
}