/* 新闻资讯页面样式 */

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Banner模块样式 */
.news-banner-section {
	padding: 120px 0 80px;
	background: url(/template/pc/skin/images/z_01.png) no-repeat center center;
	background-size: cover;
	position: relative;
}

.news-banner-content {
	text-align: center;
	position: relative;
	z-index: 2;
}

.news-banner-title h1 {
    font-family: 'AlibabaPuHuiTi';
	font-size: 36px;
	font-weight: 500;
	color: #1A2233;
	margin: 0;
	line-height: 1.4;
	margin-bottom: 30px;
}
.highlight {
    display: inline-block;
	color: #FD423C;
    margin-left: 150px;
}

.news-banner-bg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(240, 240, 240, 0.3) 0%, rgba(245, 245, 245, 0.1) 100%);
	z-index: -1;
}

/* 主要内容区域样式 */
.news-main-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.news-content-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* 左侧文章列表样式 */
.news-articles-column {
    flex: 1;
    min-width: 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.article-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    border: 1px solid transparent;
    word-wrap: break-word;
    word-break: break-word;
}

.article-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 12px 32px rgba(79, 70, 229, 0.22) !important;
    border: 1px solid #FD423C !important;
}

.article-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 20px;
}

.article-title {
    font-size: 16px;
    font-weight: 600;
    color: #1A2233;
    margin: 0 0 15px 0;
    line-height: 1.4;
    min-height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    word-break: break-word;
}

.article-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    word-break: break-word;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-category {
    background: #FD423C;
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.article-date {
    font-size: 12px;
    color: #999;
}

/* 分页样式 */
.pagination-section {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 16px;
    font-size: 16px;
}

.pagination-info {
  
    text-align: left;
}

.pagination-info span {
    font-size: 16px;
    color: #666;
}

.pagination-info .total-count strong {
    color: #FD423C;
}

.pagination-links li {
    color: #666;
    font-weight: bold;
    display: inline-block;
    height: 40px;
    min-width: 40px;
    line-height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 6.25px;
    
}
.pagination-links .active {
    background: rgba(253, 67, 60,0.5);
    
    color: #FD423C;
}
.pagination-links .active a{
    color: #fff;
}
.pagination-links a:hover{

    color: #fd423c;
    
}
.pagination-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}

.page-link {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.page-link:hover {
    border-color: #FD423C;
    color: #FD423C;
}

.page-link.active {
    background: #fef2f2;
    border-color: #FD423C;
    color: #FD423C;
}

.page-ellipsis {
    padding: 8px 12px;
    color: #999;
}

/* 上一篇下一篇样式 */
.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    /* border-top: 1px solid #eee; */
}

.nav-item {
    display: flex;
    align-items: center;
    max-width: 45%;
    min-width: 300px;
    height: 48px;
    line-height: 48px;
    text-align: left;
    box-sizing: border-box;
    border-radius: 12px;
border: 1px solid rgba(79, 70, 229, 0.1);
    transition: all 0.3s ease;
}

.nav-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.nav-label {
    font-size: 14px;
    color: rgba(26, 34, 51,0.7);
    margin-right: 16px;
    display: block;
    padding-left: 16px;
    width:80px;
}

.nav-title {
    font-size: 14px;
    color: #FD423C;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.nav-title:hover {
    color: #c0392b;
}

/* 右侧侧边栏样式 */
.news-sidebar-column {
    width: 260px;
    flex-shrink: 0;
}

/* 作者资料样式 */
.sidebar-author-section {
	background: url(/template/pc/skin/images/z_05.png) no-repeat center center;
	background-size: cover;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	margin-bottom: 30px;
}

.author-profile {
    padding: 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-profile::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 60px;
    height: 40px;
    background: url(/template/pc/skin/images/z_05.png) no-repeat center center;
    background-size: contain;
    opacity: 0.3;
    z-index: 1;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

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

.author-info {
    flex: 1;
    position: relative;
    z-index: 2;
}

.author-name {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.author-bio {
    height: 26px;
    line-height: 26px;
    width: 86px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    border: 0.5px solid #FFFFFF;
    border-radius: 20px;
}

.author-content {
  
    padding: 0 12px 12px 12px;
}

.author-description {
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 0.5px solid #fff;
}

.scan-code-section {
    background: #fef2f2;
    padding: 12px;
    border-radius: 12px;
    margin-top: 15px;
    position: relative;
}



.scan-code-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.scan-code-title {
    color: #FD423C;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 0;
}

.scan-code-text {
    color: #1A2233;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 0;
}

.scan-code-text .highlight {
    color: #FD423C;
    font-weight: bold;
}

.qr-code-area {
    display: flex;
    justify-content: flex-end;
    margin-left: 6px;
}

.qr-code-placeholder {
    width: 80px;
    height: 80px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qr-code-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* 热门文章样式 */
.sidebar-hot-articles {
   
    border-radius: 8px;
  
    margin-bottom: 30px;
  
}

.sidebar-section-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: #FD423C;
}

.title-icon {
    width: 4px;
    height: 16px;
    background: #FD423C;
    margin-right: 10px;
    border-radius: 2px;
}

.sidebar-section-title h3 {
    font-size: 16px;
    font-weight: 600;
    color: #FD423C;
    padding-left: 10px;
    margin: 0;
}

.hot-articles-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hot-article-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}



.article-number {
   
    color: #999;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.hot-articles-list li:nth-child(1) .article-number  {
    color: #FD423C;
}
.hot-articles-list li:nth-child(2) .article-number  {
    color: #FD423C;
    opacity: 0.7;
}
.hot-articles-list li:nth-child(3) .article-number {
    color: #FD423C;
    opacity: 0.4;
}
.hot-article-item .article-title2 {
    flex: 1;
    font-size: 14px;
    color: #1A2233;
    text-decoration: none;
    line-height: 1.4;
    margin: 0;
    height: auto;
    padding-right: 40px;
    
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-article-item .article-title2:hover {
    color: #FD423C;
}

.hot-article-item .article-date {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
    flex-shrink: 0;
}

/* 推荐文章样式 */
.sidebar-recommended {
   
    border-radius: 8px;
   
   
}

.filter-boxs{
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-boxs a {
    display: inline-block;
    background: #fff;
    border: 1px solid #FD423C;
    color: #FD423C;
    width:100px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 36px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
   
}

.filter-boxs .active,.filter-boxs a:hover {
    background: #FD423C;
    color: #fff;
    
}



/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        
    }
    
    .news-content-wrapper {
        gap: 30px;
    }
    
    .news-sidebar-column {
        width: 300px;
    }
}

@media (max-width: 992px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .news-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .news-sidebar-column {
        width: 100%;
    }
    

}

@media (max-width: 768px) {
    .news-banner-section {
        padding: 30px 0;
        background-size: auto;
    }
    .news-banner-title h1 {
        width: 100%;
        padding: 0 20px;
        font-size: 40px;
        line-height: 1.8;
        margin-top: 20px;
    }
    .highlight {
        margin-left: 40px;
        display: block;
    }
    
    .articles-grid {
       
        gap: 8px;
        margin-bottom: 20px;
    }

    .article-card {
        min-height: auto;
        overflow: hidden;
        margin-bottom: 4px;
    }

    .article-image {
        height: 140px;
    }

    .article-content {
        padding: 15px;
    }

    .article-title {
        font-size: 14px;
        height: auto;
        line-height: 1.3;
        margin-bottom: 10px;
        -webkit-line-clamp: 2;
    }

    .article-description {
        font-size: 12px;
        height: auto;
        line-height: 1.4;
        margin-bottom: 15px;
        -webkit-line-clamp: 2;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .article-category {
        font-size: 11px;
        padding: 3px 8px;
    }

    .article-date {
        font-size: 11px;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        width:100%;
        padding:0;
    }
    
    .nav-item {
        max-width: 96%!important;
        width:96%!important;
        padding: 15px;
    }

    .nav-label {
        font-size: 12px;
        margin-bottom: 6px;
        width:80px;
    }

    .nav-title {
        font-size: 13px;
        line-height: 1.3;
    }
    
    .recommended-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .recommended-btn {
        font-size: 11px;
        padding: 6px 10px;
    }

    .pagination-section {
        flex-direction: column;
        gap: 20px;
        margin-right: 0;
        margin-bottom: 0px;
    }

    .pagination-links {
        gap: 6px;
    }

    .page-link {
        padding: 6px 10px;
        min-width: 36px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .news-banner-section {
        padding: 30px 0;
        background-size: auto;
    }
    
    .news-main-section {
        padding: 16px 0;
    }
    
    .news-banner-title h1 {
        font-size: 22px;
        line-height: 1.8;
        margin-top: 20px;
    }

    .articles-grid {
        
        gap: 8px;
    }

    .article-image {
        height: 160px;
    }

    .article-content {
        padding: 12px;
    }

    .article-title {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .article-description {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .article-meta {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .recommended-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .recommended-btn {
        font-size: 10px;
        padding: 5px 8px;
        line-height: 1.1;
    }

    .sidebar-author-section {
        margin-bottom: 20px;
    }

    .author-profile {
        padding: 20px;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }

    .author-name {
        font-size: 18px;
    }

    .author-bio {
        font-size: 13px;
    }

    .author-content {
        padding: 15px;
    }

    .scan-code-section {
        padding: 15px;
    }

    .scan-code-title {
        font-size: 16px;
    }

    .scan-code-text {
        font-size: 13px;
    }

    .qr-code-placeholder {
        width: 60px;
        height: 60px;
    }
}

/* 新闻详情页样式 */
.breadcrumb-section {
    background: #F7F9FB;
    padding: 15px 0;
    /* border-bottom: 1px solid #eee; */
}

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

.breadcrumb-nav .separator {
    color: #ccc;
}

.article-main-section {
    padding:0 0 20px 0;
    background: #F7F9FB;
}

.article-content-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.article-content-column {
    flex: 1;
    max-width: calc(100% - 360px);
}

.article-header {
    margin-bottom: 30px;
}

.article-header .article-title {
    font-size: 32px;
    font-weight: 700;
    color: #1A2233;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.article-header .article-meta {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

.article-header .article-category {
    color: #fff;
    font-weight: 500;
}

.article-header .article-separator {
    color: #999;
}

.article-header .article-date {
    color: #999;
}

.article-main-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.article-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body {
 
    line-height: 1.8;
    color: #1A2233;
}
.article-body img{
    max-width: 100%;
    height: auto;
    display: block;
}

.article-body p {
    margin: 0 0 20px 0;
    font-size: 16px;
    text-align: justify;
}

.article-body p:last-child {
    margin-bottom: 0;
}

/* 底部咨询区域样式 */
.consultation-section {
    background: #FD423C;
    padding: 60px 0;
    color: #fff;
}

.consultation-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.consultation-text {
    flex: 1;
    max-width: 600px;
}

.consultation-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.consultation-subtitle {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

.consultation-form {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-shrink: 0;
}

.form-input {
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    min-width: 140px;
}

.form-input::placeholder {
    color: #999;
}

.submit-btn {
    background: #c0392b;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #a93226;
    transform: translateY(-2px);
}

/* 响应式设计 - 详情页 */
@media (max-width: 1200px) {
    .article-content-wrapper {
        gap: 30px;
    }
    
    .article-content-column {
        max-width: calc(100% - 320px);
    }
}

@media (max-width: 992px) {
    .article-content-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .article-content-column {
        max-width: 100%;
    }
    
    .consultation-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .consultation-form {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .article-header .article-title {
        font-size: 24px;
    }
    
    .article-body p {
        font-size: 15px;
    }
    
    .consultation-title {
        font-size: 22px;
    }
    
    .consultation-subtitle {
        font-size: 14px;
    }
    
    .consultation-form {
        flex-direction: column;
        width: 100%;
    }
    
    .form-input {
        width: 100%;
        min-width: auto;
    }
    
    .submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .article-main-section {
        padding: 0 0 20px 0;
    }
    
    .article-header .article-title {
        font-size: 20px;
    }
    
    .article-body p {
        font-size: 14px;
    }
    
    .consultation-section {
        padding: 40px 0;
    }
    
    .consultation-title {
        font-size: 18px;
    }
    
    .consultation-subtitle {
        font-size: 13px;
    }
} 