/* 产品新闻页面样式表 */
/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局变量 */
:root {
    --primary-color: #1e3c72;
    --secondary-color: #2a5298;
    --accent-color: #2ecc71;
    --text-color: #333;
    --light-text: #666;
    --lighter-text: #999;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用标题样式 */
.section-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    display: block;
}

/* 产品特色部分 */
.product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    padding: 30px;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

/* 技术规格部分 */
.specs-section {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 40px;
    margin: 60px 0;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.spec-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.spec-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.spec-header i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.spec-title {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid #eee;
}

.spec-table tr:last-child {
    border-bottom: none;
}

.spec-table td {
    padding: 10px 0;
}

.spec-label {
    color: var(--light-text);
}

.spec-value {
    text-align: right;
    font-weight: 500;
}

/* 应用领域部分 */
.applications {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #eef2f7 100%);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.application-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.application-header {
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.application-header i {
    font-size: 3.5rem;
    color: var(--white);
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.application-content {
    padding: 25px;
    text-align: center;
}

.application-title {
    color: var(--primary-color);
    margin: 0 0 15px;
    font-size: 1.4rem;
}

.application-desc {
    color: var(--light-text);
    line-height: 1.7;
    margin: 0;
}

/* 下载区域 */
.download-section {
    text-align: center;
    margin-top: 40px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    margin: 10px;
}

.download-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.download-btn i {
    margin-right: 8px;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .specs-section {
        padding: 30px 20px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.6rem;
    }
    
    .applications {
        padding: 50px 0;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
}

/* 打印样式 */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .container {
        width: 100%;
        padding: 0;
    }
    
    .specs-section, .application-card {
        break-inside: avoid;
    }
}

/* ==============================
   产品新闻详情 - 新品标识与按钮
   供新闻内的产品发布详情页使用
   ============================== */
/* 避免被固定导航遮挡的顶部间距（在新闻内的产品详情容器上） */
.product-container { margin-top: 72px; }

/* 新品徽标 */
.new-badge {
    display: inline-block;
    background: #ff4d4f;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 8px;
    vertical-align: middle;
}

/* 新品说明文字 */
.new-announcement { color: #555; font-size: 14px; margin: 8px 0 0; }

/* 页面顶部操作按钮区域 */
.action-buttons { display: flex; gap: 12px; margin: 8px 0 16px; flex-wrap: wrap; }
.action-buttons .btn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    border: 1px solid #e5e5e5;
    color: #333;
    background: #f7f7f7;
}
.action-buttons .btn:hover { background: #eee; }
.action-buttons .btn.primary { background: #1677ff; border-color: #1677ff; color: #fff; }
.action-buttons .btn.primary:hover { background: #3a89ff; }
