/* 行业资讯页面样式 */

/* 资讯列表页样式 */
.news-list-section {
    padding: 60px 0 80px;
    background-color: var(--bg-gray);
}

.news-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.news-main {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.news-item:last-child {
    border-bottom: none;
}

.news-item-header {
    margin-bottom: 15px;
}

.news-item-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-item-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.news-item-title a:hover {
    color: var(--primary-color);
}

.news-item-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.news-item-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.news-item-date {
    color: var(--text-light);
}

.news-item-excerpt {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.news-item-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.news-item-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.news-load-more {
    text-align: center;
    margin-top: 40px;
}

.news-more-link {
    text-align: center;
    margin-top: 30px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .news-layout {
        grid-template-columns: 1fr;
    }
    
    .news-sidebar {
        order: -1;
    }
    
    .sidebar-widget {
        margin-bottom: 20px;
    }
    
    .news-main {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .news-item-title {
        font-size: 18px;
    }
    
    .news-item-excerpt {
        font-size: 14px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
}

/* 侧边栏样式 */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.sidebar-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-link {
    display: block;
    padding: 10px 15px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.category-link:hover,
.category-link.active {
    background: var(--primary-color);
    color: white;
}

.recent-posts {
    list-style: none;
    padding: 0;
}

.recent-post-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
    transition: color 0.3s;
    display: block;
}

.recent-post-link:hover {
    color: var(--primary-color);
}

.recent-post-date {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
}

/* 资讯详情页样式 */
.news-detail-section {
    padding: 60px 0 80px;
    background-color: var(--bg-gray);
}

.news-detail-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 8px;
    padding: 50px;
    box-shadow: var(--shadow);
}

.news-detail-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
}

.news-detail-date {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.news-detail-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-detail-meta {
    color: var(--text-light);
    font-size: 14px;
}

.news-detail-body {
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 16px;
}

.news-detail-body h2 {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-dark);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.news-detail-body h3 {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-dark);
    margin: 30px 0 15px;
}

.news-detail-body p {
    margin-bottom: 20px;
    text-align: justify;
}

.news-detail-body ul,
.news-detail-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.news-detail-body li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.news-detail-body strong {
    color: var(--primary-color);
    font-weight: bold;
}

.news-detail-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 20px 0;
    color: var(--text-light);
    font-style: italic;
}

.news-navigation {
    text-align: center;
    margin-top: 40px;
}

/* 响应式 */
@media (max-width: 768px) {
    .news-detail-content {
        padding: 30px 20px;
    }
    
    .news-detail-title {
        font-size: 24px;
    }
    
    .news-detail-body {
        font-size: 14px;
    }
    
    .news-detail-body h2 {
        font-size: 20px;
    }
    
    .news-detail-body h3 {
        font-size: 18px;
    }
}

