/* ========================================
   行业资讯页面样式
   ======================================== */

/* ========== Hero区域 ========== */
.news-hero {
    position: relative;
    min-height: 580px;
    background: #0B1E3F;
    overflow: hidden;
    padding: 140px 0;
}

.news-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 30, 63, 0.88) 0%, rgba(11, 30, 63, 0.65) 45%, rgba(11, 30, 63, 0.55) 100%);
    pointer-events: none;
    z-index: 1;
}

.news-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 80%, rgba(34, 211, 238, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.news-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/news_banner.png');
    background-size: cover;
    background-position: center;
}

.news-hero .container {
    position: relative;
    z-index: 2;
}

.news-hero-content {
    max-width: 720px;
    color: #fff;
}

.news-hero h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.25;
}

.news-hero h1 span {
    color: #93C5FD;
}

.news-hero p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin: 0 0 28px;
}
.news-hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.news-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}
.news-btn-primary {
    background: #2563EB;
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}
.news-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
}
.news-btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}
.news-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ========== 分类筛选 ========== */
.news-filter {
    position: sticky;
    top: 80px;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.news-filter-wrap {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.news-filter-btn {
    padding: 10px 24px;
    background: #f3f4f6;
    border: 2px solid transparent;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-filter-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.news-filter-btn.active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* ========== 新闻列表区域 ========== */
.news-list-section {
    padding: 60px 0 100px;
    background: #f9fafb;
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}

.news-main {
    min-width: 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

/* ========== 带图特色文章 ========== */
.news-card--featured {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
}

.news-card--featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.news-card--featured .news-card-link {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.news-card--featured .news-card-img {
    position: relative;
    width: 200px;
    min-height: 180px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f1f5f9;
}

.news-card--featured .news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card--featured:hover .news-card-img img {
    transform: scale(1.06);
}

.news-card--featured .news-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.news-badge--company { color: #10b981; }
.news-badge--industry { color: #3b82f6; }
.news-badge--tech { color: #8b5cf6; }
.news-badge--product { color: #f59e0b; }

.news-card--featured .news-card-body {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.news-card--featured .news-card-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 10px;
    font-weight: 500;
}

.news-card--featured .news-card-date::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") no-repeat center / contain;
}

.news-card--featured .news-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-card--featured:hover .news-card-title {
    color: #2563eb;
}

.news-card--featured .news-card-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== 无图文字列表 ========== */
.news-card--text {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
}

.news-card--text:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #2563eb;
}

.news-card--text .news-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-card--text .news-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

.news-card--text .news-card-title {
    font-size: 17px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-card--text:hover .news-card-title {
    color: #2563eb;
}

.news-card--text .news-card-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card--text .news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.news-card--text .news-card-date-text {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.news-card--text .news-day {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

.news-card--text .news-month {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 500;
}

.news-card--text .news-arrow {
    color: #d1d5db;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.news-card--text:hover .news-arrow {
    color: #2563eb;
    transform: translateX(4px);
}

/* ========== 右侧边栏 ========== */
.news-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-sidebar-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.news-sidebar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f3f4f6;
}

.news-sidebar-title svg {
    color: #2563eb;
}

/* 热门标签 */
.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.news-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.news-tag:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.news-tag.active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

/* 最新解决方案 */
.news-solutions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-solution-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.news-solution-item:hover {
    background: #f9fafb;
    border-color: #e5e7eb;
}

.news-solution-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 10px;
}

.news-solution-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.news-solution-item:hover .news-solution-info h4 {
    color: #2563eb;
}

.news-solution-info p {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
}

/* 联系我们CTA */
.news-sidebar-cta {
    background: #1e3a5f;
    border-color: transparent;
    text-align: center;
}

.news-sidebar-cta h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.news-sidebar-cta p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    line-height: 1.6;
}

.news-sidebar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: #fff;
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.news-sidebar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.news-sidebar-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-sidebar-phone:hover {
    color: #fff;
}

/* ========== 分页 ========== */
.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
}

.news-page-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-page-btn:hover:not(:disabled) {
    border-color: #2563eb;
    color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.news-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.news-page-numbers {
    display: flex;
    gap: 6px;
}

.news-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-page-num:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.news-page-num.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

/* ========== 空状态 ========== */
.news-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    color: #9ca3af;
}

.news-empty svg {
    margin-bottom: 20px;
    opacity: 0.5;
}

.news-empty p {
    font-size: 16px;
    margin: 0;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1200px) {
    .news-layout {
        grid-template-columns: 1fr 260px;
        gap: 24px;
    }
    
    .news-card--featured .news-card-img {
        width: 160px;
    }
}

@media (max-width: 992px) {
    .news-hero {
        min-height: auto;
        padding: 110px 0 100px;
    }
    
    .news-hero h1 {
        font-size: 38px;
    }
    
    .news-hero p {
        font-size: 15px;
    }
    
    .news-filter {
        top: 70px;
        padding: 16px 0;
    }
    
    .news-filter-wrap {
        gap: 8px;
    }
    
    .news-filter-btn {
        padding: 8px 18px;
        font-size: 14px;
    }
    
    .news-list-section {
        padding: 40px 0 60px;
    }
    
    .news-layout {
        grid-template-columns: 1fr;
    }
    
    .news-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .news-card--featured .news-card-img {
        width: 140px;
        min-height: 160px;
    }
    
    .news-card--featured .news-card-title {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .news-hero {
        min-height: auto;
        padding: 100px 0 80px;
    }
    .news-hero h1 { font-size: 32px; }
    .news-hero p { font-size: 15px; }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card--featured .news-card-link {
        flex-direction: column;
    }
    
    .news-card--featured .news-card-img {
        width: 100%;
        min-height: 200px;
    }
    
    .news-card--featured .news-card-body {
        padding: 16px;
    }
    
    .news-card--text .news-card-body {
        padding: 18px;
        min-height: auto;
    }
    
    .news-card--text .news-card-title {
        font-size: 15px;
    }
    
    .news-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .news-hero {
        padding: 90px 0 70px;
    }
    
    .news-hero h1 {
        font-size: 26px;
    }
    
    .news-hero p {
        font-size: 14px;
    }
    .news-hero-cta { flex-direction: column; }
    .news-btn { justify-content: center; }
    
    .news-filter-wrap {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 20px;
        -webkit-overflow-scrolling: touch;
    }
    
    .news-filter-btn {
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .news-card--featured .news-card-title {
        font-size: 14px;
    }
    
    .news-card--text .news-day {
        font-size: 24px;
    }

    .news-pagination {
        flex-wrap: wrap;
    }

    .news-page-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .news-page-num {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}
