/* 新闻动态页面样式 */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
  }
  
  body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  .news-main {
    flex: 1;
    /* 你原有的 .news-main 样式可以保留 */
  }

  .news-detail-main {
    flex: 1;
  }
.news-main {
    margin-top: 86px;
    position: relative;
}

/* 新闻动态banner */
.news-banner {
    background: url('../../images/news/bgddc-65093 1.png') no-repeat center center;
    background-size: cover;
    padding: 70px 0;
    text-align: left;
    position: relative;
}

.news-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.3); */
}

.news-banner .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-banner h1 {
    color: #000;
    font-size: 48px;
    font-weight: 400;
    margin-left: 180px;
}

.news-banner-image {
    max-height: 200px;
    margin-right: 60px;
}

/* 筛选区样式 */
.news-filter {
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 0 80px;
}

.filter-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.filter-label {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-right: 15px;
}

.year-filter .filter-label {
    font-size: 16px;
    font-weight: 400;
}

.filter-options {
    display: flex;
    align-items: center;
}

.filter-options a {
    display: inline-block;
    padding: 5px 15px;
    margin-right: 20px;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.filter-options a.active,
.filter-options a:hover {
    color: #000;
    text-decoration: underline;
    font-weight: 700;
}

/* 新闻列表样式 */
.news-list-section {
    padding: 0px 0 80px;
    background-color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 80px;
}

.news-item {
    background-color: #fff;
    border: 1px solid #f7f7f7;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 340px;
    display: flex;
    flex-direction: column;
}

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

.news-img {
    height: 221px;
    background-color: #D2E7FF;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.news-item.featured .news-img {
    background-color: #D2E7FF;
}

.news-tag {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1F79FF;
    color: #fff;
    padding: 10px 20px;
    font-size: 48px;
    font-weight: 700;
}

.company-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #80B6FF;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
}

.news-info {
    padding: 20px 0;
    margin: 0 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 1px solid #f7f7f7;
}

.news-title {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.27;
}

.news-date {
    font-size: 12px;
    color: #000;
    margin-top: auto;
    line-height: 1.27;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 8px;
}

.pagination a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
    color: #5C5F6A;
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
}

.pagination .page-num {
    width: 40px;
    height: 32px;
}

.pagination .page-num.active {
    background-color: #1F79FF;
    color: #fff;
}

.pagination .page-prev,
.pagination .page-next {
    color: #5C5F6A;
}

.pagination .page-dots {
    font-size: 14px;
}

/* 新闻详情页样式 */
.news-detail-main {
    margin-top: 86px;
    padding: 60px 0;
    background-color: #fff;
}

.back-to-news {
    display: inline-flex;
    align-items: center;
    margin-bottom: 30px;
    color: #1F79FF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
}

.back-to-news i {
    margin-right: 8px;
}

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

.news-detail-content {
    max-width: 1000px;
    margin: 0 auto;
}

.news-detail-header {
    margin-bottom: 30px;
}

.news-detail-header h1 {
    font-size: 32px;
    color: #000;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.news-meta {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.news-type {
    background-color: #1F79FF;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    margin-right: 15px;
}

.news-date {
    margin-right: 15px;
}

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

.news-views i {
    margin-right: 5px;
}

.news-cover {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.news-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.news-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.news-content p {
    margin-bottom: 20px;
}

.news-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: #000;
}

.news-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
}

/* 相关新闻 */
.related-news {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.related-news h2 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 700;
    color: #000;
}

.related-news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-news-item {
    background-color: #fff;
    border: 1px solid #f7f7f7;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.related-news-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-news-img {
    height: 160px;
    overflow: hidden;
}

.related-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.related-news-item:hover .related-news-img img {
    transform: scale(1.05);
}

.related-news-info {
    padding: 15px;
    border-top: 1px solid #f7f7f7;
}

.related-news-title {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #000;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px;
}

.related-news-date {
    font-size: 12px;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-banner-image {
        max-height: 150px;
        margin-right: 50px;
    }
}

@media (max-width: 768px) {
    .news-main {
        margin-top: 60px;
    }
    
    .filter-container {
        padding: 0 20px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 20px;
    }
    
    .news-item {
        height: auto;
        min-height: 300px;
    }
    
    .news-banner {
        padding: 40px 0;
    }
    
    .news-banner .container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .news-banner h1 {
        font-size: 32px;
        margin-left: 0;
        margin-bottom: 20px;
    }
    
    .news-banner-image {
        max-height: 100px;
        margin-right: 0;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-label {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .filter-options {
        flex-wrap: wrap;
        margin-bottom: 10px;
    }
    
    .filter-options a {
        margin-bottom: 5px;
        padding: 3px 10px;
        font-size: 14px;
    }
    
    .news-tag {
        font-size: 32px;
        padding: 8px 16px;
    }
    
    .company-name {
        font-size: 24px;
        width: 80%;
        text-align: center;
    }
    
    .news-info {
        padding: 15px 0;
    }
    
    .pagination {
        margin-top: 30px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination a {
        width: 32px;
        height: 32px;
    }
    
    .pagination .page-num {
        width: 32px;
        height: 28px;
    }
    
    .news-detail-main {
        margin-top: 60px;
        padding: 30px 20px;
    }
    
    .news-detail-header h1 {
        font-size: 24px;
    }
    
    .related-news-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .news-banner h1 {
        font-size: 28px;
    }
    
    .filter-label {
        font-size: 20px;
    }
    
    .year-filter .filter-label {
        font-size: 14px;
    }
    
    .filter-options a {
        margin-right: 10px;
        padding: 3px 8px;
        font-size: 13px;
    }
    
    .news-img {
        height: 180px;
    }
    
    .news-title {
        font-size: 15px;
    }
    
    .news-date {
        font-size: 11px;
    }
    
    .company-name {
        font-size: 20px;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .pagination a {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .pagination .page-num {
        width: 28px;
        height: 24px;
    }
    
    .news-detail-header h1 {
        font-size: 20px;
    }
    
    .news-meta {
        flex-wrap: wrap;
    }
    
    .news-type {
        margin-bottom: 10px;
    }


}