/* 产品新闻页面样式 */
.product-hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.product-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    backdrop-filter: blur(10px);
}

.product-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.product-cas {
    font-size: 1.125rem;
    opacity: 0.9;
    margin: 0;
}

.product-description {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
}

.news-content {
    padding: 4rem 0;
    background: #f8fafc;
}

.news-list {
    display: grid;
    gap: 2rem;
}

.news-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.news-item-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    margin: 0 0 0.75rem 0;
    flex: 1;
}

.news-date {
    font-size: 0.875rem;
    color: #64748b;
    white-space: nowrap;
    margin-left: 1rem;
}

.news-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: #1d4ed8;
}

.news-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.news-link:hover::after {
    transform: translateX(4px);
}

.no-news {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.no-news-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-news h3 {
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.no-news p {
    color: #64748b;
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #1d4ed8;
}

.back-link::before {
    content: '←';
    transition: transform 0.3s ease;
}

.back-link:hover::before {
    transform: translateX(-4px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-header {
        flex-direction: column;
        text-align: center;
    }
    
    .product-info h1 {
        font-size: 2rem;
    }
    
    .news-item-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .news-date {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* 分页样式 */
.pagination-container {
    margin-top: 3rem;
    text-align: center;
}

.pagination {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    background: #f8fafc;
    color: #475569;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.875rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.page-link:hover {
    background: #e2e8f0;
    color: #1e293b;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.page-link.current {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    cursor: default;
}

.page-link.prev,
.page-link.next {
    font-weight: 600;
    min-width: auto;
    padding: 0 1rem;
}

.page-link.disable {
    background: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
    cursor: not-allowed;
    pointer-events: none;
}

.page-link.disable:hover {
    background: #f1f5f9;
    color: #94a3b8;
    border-color: #e2e8f0;
    transform: none;
}

.page-link.prev:hover,
.page-link.next:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.pagination-info {
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* 分页响应式设计 */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-link {
        min-width: 2rem;
        height: 2rem;
        font-size: 0.8rem;
    }
    
    .page-link.prev,
    .page-link.next {
        padding: 0 0.75rem;
    }
}
