/* 新闻卡片动画 */
.news-grid .new-card {
    opacity: 0;
    animation: fadeInLeft 1s forwards;
}

.news-grid .new-card:nth-child(1) { animation-delay: 0s; }
.news-grid .new-card:nth-child(2) { animation-delay: 0.2s; }
.news-grid .new-card:nth-child(3) { animation-delay: 0.4s; }
.news-grid .new-card:nth-child(4) { animation-delay: 0.6s; }
.news-grid .new-card:nth-child(5) { animation-delay: 0.8s; }
.news-grid .new-card:nth-child(6) { animation-delay: 1.0s; }
.news-grid .new-card:nth-child(7) { animation-delay: 1.2s; }
.news-grid .new-card:nth-child(8) { animation-delay: 1.4s; }
.news-grid .new-card:nth-child(9) { animation-delay: 1.6s; }

/* 侧边栏动画 */
.news-sidebar {
    opacity: 0;
    animation: fadeInRight 1s forwards;
    animation-delay: 0.5s;
}

.news-sidebar .sidebar-widget {
    opacity: 0;
    animation: fadeInRight 1s forwards;
}

.news-sidebar .sidebar-widget:nth-child(1) { animation-delay: 0.5s; }
.news-sidebar .sidebar-widget:nth-child(2) { animation-delay: 1s; }
.news-sidebar .sidebar-widget:nth-child(3) { animation-delay: 1.5s; }
/* 新闻列表页样式 */
  

/* 面包屑导航 */
.news-breadcrumb {
    padding: 15px 5px;
    color: #666;
    font-size: 15px;
	background-color:#FFF; 
	border-radius:5px;
	margin-top:10px;
	
	
	
  
}

.news-breadcrumb a {
    color: #006ABB;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    padding: 5px 0;
}

.news-breadcrumb a:hover {
    color: #004a8f;
}

.news-breadcrumb a:not(:last-child):after {
    content: ">";
    margin: 0 8px;
    color: #999;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .news-breadcrumb {
        font-size: 14px;
        padding: 10px 0;
    }
    
    .news-breadcrumb a:not(:last-child):after {
        margin: 0 5px;
    }
}

/* 主要内容容器 */
.news-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0;
}

/* 左侧新闻列表 */
.news-list-main {
    flex: 1;
    min-width: 0;
    margin-right: 30px;
}

.news-list-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #006ABB;
}

/* 新闻网格布局 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.new-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.new-card:hover {
    transform: translateY(-5px);
}

.new-card-image {
    height: 200px;
    overflow: hidden;
}

.new-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.new-card:hover .new-card-image img {
    transform: scale(1.05);
}

.new-card-content {
    padding: 20px;
    flex: 1;
}

.new-card-content h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.new-card-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.new-card-content h3 a:hover {
    color: #006ABB;
}

.news-meta {
    margin-bottom: 10px;
    font-size: 13px;
    color: #999;
}

.news-meta span {
    margin-right: 15px;
}

.news-meta i {
    margin-right: 5px;
}

.new-card-content p {
    margin: 0 0 15px;
    color: #666;
    line-height: 1.6;
}

.read-more {
    display: block;
    width: fit-content;
    margin: 15px auto 0;
    padding: 8px 20px;
    background-color: #006ABB;
    color: white;
    font-size: 14px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    border: 1px solid #006ABB;
}

.read-more:hover {
    background-color: #004a8f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .read-more {
        padding: 6px 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .read-more {
        display: block;
        text-align: center;
        padding: 8px;
    }
}

/* 分页样式 */
.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px; }
.pagination > li {
    display: inline; }
.pagination > li > a,
.pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.42857;
    text-decoration: none;
    color: #337ab7;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px; }
.pagination > li:first-child > a,
.pagination > li:first-child > span {
    margin-left: 0;
    border-bottom-left-radius: 4px;
    border-top-left-radius: 4px; }
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px; }
.pagination > li > a:hover, .pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
    z-index: 2;
    color: #23527c;
    background-color: #eeeeee;
    border-color: #ddd; }
.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
    z-index: 3;
    color: #fff;
    background-color: #337ab7;
    border-color: #337ab7;
    cursor: default; }



/* 右侧边栏 */
.news-sidebar {
    flex: 0 0 300px;
}

.sidebar-widget {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 18px;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #333;
}

/* 新闻分类 */
.news-categories ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-categories li {
    margin-bottom: 8px;
}

.news-categories a {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.news-categories a:hover {
    color: #006ABB;
    padding-left: 5px;
}

.news-categories span {
    color: #999;
    font-size: 13px;
}

/* 推荐产品 */
.product-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.product-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.product-item img {
    flex: 0 0 80px;
    height: 60px;
    margin-right: 15px;
    object-fit: cover;
    border-radius: 3px;
}

.product-info h4 {
    margin: 0 0 5px;
    font-size: 15px;
}

.product-info h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.product-info h4 a:hover {
    color: #006ABB;
}

.product-info p {
    margin: 0;
    font-size: 13px;
    color: #999;
}

/* 热门新闻 */
.popular-news ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.popular-news li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eee;
}

.popular-news li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-news a {
    display: block;
    margin-bottom: 5px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.popular-news a:hover {
    color: #006ABB;
}

.popular-news .news-date1 {
    display: block;
    font-size: 12px;
    color: #999;
}

/* 新闻详情页样式 */
.news-detail-wrapper {
    display: flex;
    margin: 15px 0;
}

/* 新闻详情页动画 */
.news-title {
    opacity: 0;
    animation: fadeInDown 1s forwards;
    animation-delay: 0.5s;
}

.news-meta {
    opacity: 0;
    animation: fadeInLeft 1s forwards;
    animation-delay: 0.8s;
}

.news-content {
    opacity: 0;
    animation: fadeInUp 1s forwards;
    animation-delay: 1s;
}

.news-tags {
    opacity: 0;
    animation: fadeInRight 1s forwards;
    animation-delay: 1.2s;
}

.news-navigation {
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 2.5s;
}


.news-detail-main {
    flex: 1;
    margin-right: 30px;
}

.news-article {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.news-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
    text-align: center;
}

.news-meta {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    color: #999;
    font-size: 14px;
    text-align: center;
}

.news-meta span {
    display: inline-block;
    margin: 0 10px;
}

.news-meta i {
    margin-right: 5px;
}

.news-content {
    line-height: 1.8;
    color: #555;
}

.news-content p {
    margin-bottom: 20px;
}

.news-image {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
}

/* 移动端图片响应式 */
@media (max-width: 768px) {
    .news-content img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }
}

.news-tags {
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.news-tags a {
    display: inline-block;
    margin-right: 10px;
    padding: 5px 12px;
    background: #f5f5f5;
    color: #666;
    border-radius: 15px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.news-tags a:hover {
    background: #006ABB;
    color: #fff;
}

.news-navigation {
    margin-top: 40px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.news-navigation a {
    display: block;
    margin-bottom: 15px;
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.news-navigation a:hover {
    color: #006ABB;
}

.news-navigation i {
    margin: 0 5px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-content-wrapper,
    .news-detail-wrapper {
        flex-direction: column;
    }
    
    .news-list-main,
    .news-detail-main {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .news-sidebar {
        flex: 0 0 100%;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .news-article {
        padding: 20px;
    }
    
    .news-title {
        font-size: 22px;
    }
    
    .news-meta span {
        display: block;
        margin-bottom: 8px;
    }
}