/* ===== 单页内容样式（与产品详情页内容一致） ===== */

/* 单页容器 */
.single-page-container {
    background: #ffffff;
    border-radius: 28px;
    padding: 48px 56px;
    border: 1px solid #edf2f9;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
    margin-bottom: 40px;
    width: 100%;
    box-sizing: border-box;
}

/* 单页标题 */
.single-page-title {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid #eef2f8;
    position: relative;
}
.single-page-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    border-radius: 3px;
}
.single-page-title h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e2f3c;
    letter-spacing: -0.3px;
    line-height: 1.35;
    margin: 0 0 12px 0;
}
.single-page-title .subtitle {
    font-size: 0.9rem;
    color: #7f8c9a;
    letter-spacing: 0.5px;
}

/* 正文内容（与 .detail-text 一致） */
.single-page-content {
    font-size: 0.92rem;
    color: #2d3e4e;
    line-height: 1.85;
    margin-bottom: 22px;
    letter-spacing: 0.01em;
}
.single-page-content p {
    margin-bottom: 1rem;
    line-height: 1.85;
}
.single-page-content p:last-child {
    margin-bottom: 0;
}
.single-page-content p:first-of-type {
    margin-top: 0;
}

/* 标题 H2 H3（与产品详情页 .detail-text 标题风格一致） */
.single-page-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 2.4rem;
    margin-bottom: 1rem;
    color: #1e3a5f;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.1px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #f0f6ff 0%, #f8fbff 100%);
    border-radius: 14px;
    border-left: 4px solid #2563eb;
    position: relative;
    line-height: 1.4;
}
.single-page-content h2::before {
    content: '\f022';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.85rem;
    color: #2563eb;
    opacity: 0.85;
}
.single-page-content h2:first-of-type {
    margin-top: 0;
}
.single-page-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.9rem;
    color: #1e3a5f;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.1px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #f0f6ff 0%, #f8fbff 100%);
    border-radius: 14px;
    border-left: 4px solid #2563eb;
    position: relative;
    line-height: 1.4;
}
.single-page-content h3::before {
    content: '\f022';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    color: #2563eb;
    opacity: 0.85;
}
.single-page-content h3:first-of-type {
    margin-top: 0;
}

/* 加粗 */
.single-page-content strong {
    background: linear-gradient(135deg, #eff6ff, #e0edff);
    color: #1e40af;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.9em;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    transition: all 0.2s ease;
    border: 1px solid #dbeafe;
}
.single-page-content strong:hover {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e3a5f;
}

/* 引用块 */
.single-page-content blockquote {
    margin: 1.8rem 0;
    padding: 1.4rem 2rem;
    background: #f0f9ff;
    border-left: 5px solid #2563eb;
    border-radius: 20px;
    font-style: normal;
    color: #1e3a5f;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    position: relative;
    transition: all 0.2s;
    line-height: 1.7;
}
.single-page-content blockquote p {
    margin-bottom: 0;
    line-height: 1.7;
}
.single-page-content blockquote::before {
    content: "\201C";
    font-family: serif;
    font-size: 2.4rem;
    color: #2563eb;
    opacity: 0.4;
    position: absolute;
    left: 16px;
    top: -4px;
}
.single-page-content blockquote strong {
    background: #dbeafe;
    color: #1e40af;
}

/* 表格（与产品详情页 .detail-text table 完全一致） */
.single-page-content table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 24px 0 !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 12px rgba(30, 58, 95, 0.06) !important;
    border: 1.5px solid #c5d4e8 !important;
    font-size: 0.9rem !important;
}
.single-page-content table tr td,
.single-page-content table tr th {
    border-top: none !important;
    border-right: none !important;
    padding: 11px 14px !important;
    text-align: center !important;
    color: #3d4f63 !important;
    line-height: 1.55 !important;
    vertical-align: middle !important;
    word-break: break-word !important;
    font-size: 0.88rem !important;
}
.single-page-content table tr:first-child td,
.single-page-content table tr:first-child th {
    background: linear-gradient(135deg, #e8f0fa 0%, #dce8f8 100%) !important;
    color: #1a3352 !important;
    font-weight: 700 !important;
    padding: 12px 14px !important;
    letter-spacing: 0.3px !important;
    font-size: 0.9rem !important;
    border-bottom: 1px solid #b8cfee !important;
    border-left: 1px solid #e8edf5 !important;
    line-height: 1.5 !important;
}
.single-page-content table tr:first-child td:first-child,
.single-page-content table tr:first-child th:first-child {
    border-left: none !important;
    border-top-left-radius: 14px !important;
}
.single-page-content table tr:first-child td:last-child,
.single-page-content table tr:first-child th:last-child {
    border-top-right-radius: 14px !important;
}
.single-page-content table tr:not(:first-child) td {
    border-left: 1px solid #e8edf5 !important;
    border-bottom: 1px solid #e8edf5 !important;
    background: transparent !important;
}
.single-page-content table tr:not(:first-child) td:first-child {
    border-left: none !important;
    font-weight: 600 !important;
    color: #1d56d6 !important;
}
.single-page-content table tr:nth-child(even):not(:first-child) td {
    background: #f5f8fc !important;
}
.single-page-content table tr:last-child td {
    border-bottom: none !important;
}
.single-page-content table tr:last-child td:first-child {
    border-bottom-left-radius: 14px !important;
}
.single-page-content table tr:last-child td:last-child {
    border-bottom-right-radius: 14px !important;
}

/* 图片 */
.single-page-content img {
    max-width: 100%;
    height: auto;
    margin: 1.2rem 0;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* 列表 */
.single-page-content ul,
.single-page-content ol {
    padding-left: 1.8rem;
    margin: 1rem 0;
}
.single-page-content li {
    margin-bottom: 0.5rem;
    line-height: 1.85;
}

/* 链接 */
.single-page-content a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(transparent 62%, #dbeafe 62%);
    padding: 0 2px;
    border-radius: 4px;
    transition: all 0.25s ease;
    border-bottom: 1px dotted rgba(37, 99, 235, 0.4);
    cursor: pointer;
}
.single-page-content a:hover {
    color: #1e40af;
    background: linear-gradient(transparent 50%, #93c5fd 50%);
    border-bottom-color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.18);
    transform: translateY(-1px);
}
.single-page-content a:active {
    transform: translateY(0);
    box-shadow: none;
}
.single-page-content a:visited {
    color: #4f46e5;
}
.single-page-content a:visited:hover {
    color: #1e40af;
}

/* 特色卡片组 */
.single-page-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 2rem 0;
}
.single-page-card {
    background: #fafcfe;
    border: 1px solid #edf2f9;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s ease;
}
.single-page-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.1);
    border-color: #bfdbfe;
    background: #fff;
}
.single-page-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #2563eb;
    font-size: 1.3rem;
    margin: 0 auto 14px;
}
.single-page-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e2f3c;
    margin: 0 0 8px 0;
}
.single-page-card p {
    font-size: 0.82rem;
    color: #60758b;
    line-height: 1.7;
    margin: 0;
}

/* 响应式 */
@media (max-width: 768px) {
    .single-page-container {
        padding: 28px 24px;
        border-radius: 20px;
    }
    .single-page-title h1 {
        font-size: 1.6rem;
    }
    .single-page-cards {
        grid-template-columns: 1fr;
    }
    .single-page-content h2 {
        font-size: 1.15rem;
        padding: 8px 12px;
    }
    .single-page-content table td,
    .single-page-content table th {
        padding: 10px 12px;
    }
}
@media (max-width: 480px) {
    .single-page-container {
        padding: 24px 20px;
    }
    .single-page-title h1 {
        font-size: 1.4rem;
    }
    .single-page-content h2 {
        font-size: 1.05rem;
    }
    .single-page-content table {
        font-size: 0.8rem;
    }
    .single-page-content table th,
    .single-page-content table td {
        padding: 8px 10px;
    }
}
