﻿/* ============================================================
   MINTCOM Blog Detail CSS
   Shared by blog detail pages (working-principle, manufacturing-quality-comparison, ...)
   MUST be loaded AFTER css/common.css
   Version: V1.0
============================================================ */

/* ============================================================
   01. 对齐 common.css 的差异覆盖（保持博客详情页基准外观）
============================================================ */
:root {
    --primary-red: #8B0000;
    --border: #ddd;
    --muted: #666;
    --text: #222;
    --bg: #fff;
}
/* common.css 的 * 强制 Helvetica Neue，覆盖回 Arial */
* {
    font-family: Arial, Helvetica, sans-serif;
}
body {
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-family: Arial, Helvetica, sans-serif;
}
/* common.css 的 * 清空了默认外边距，补偿基础排版 */
p {
    margin: 0 0 12px;
}
main {
    padding: 55px 0 80px;
}


/* ============================================================
   02. Hero 区域（img 版，图片路径写在 HTML）
============================================================ */
.application-hero {
    position: relative;
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
/* 深色遮罩，提升文字可读性 */
.application-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}
.application-hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}
/* 主大标题 */
.application_hero-text h2 {
    color: #ffffff !important;
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.6);
    letter-spacing: 1px;
}
.application_section-title {
    color: #ffffff !important;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin: 0;
    padding: 0 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.application_hero-subtitle {
    color: #ffffff !important;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    margin: 0;
    padding: 0 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   03. 业务模块通用样式
============================================================ */
.calc-block {
    margin-bottom: 50px;
    padding: 18px;
    background: #fafafa;
    border-left: 4px solid var(--primary-red);
    border-radius: 0 8px 0;
}
.calc-block--large {
    margin-bottom: 60px;
    padding: 24px;
}
.calc-title {
    color: var(--primary-red);
    margin-bottom: 16px;
    font-size: 24px;
}
.calc-title-sm {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 22px;
}
.calc-code {
    display: block;
    padding: 12px;
    background: #fff;
    margin: 10px 0;
    font-size: 16px;
}
.grid-two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 10px;
    margin-bottom: 18px;
}
.grid-three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}
.param-card {
    padding: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
}
.param-card h4 {
    color: var(--primary-red);
    margin-bottom: 8px;
    font-size: 16px;
}
.param-card p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
    flex-grow: 1;
}

/* ============================================================
   04. 内容插图通用样式（图片路径写 HTML，CSS 仅控制布局）
============================================================ */
.img-wrap {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 6px;
    box-sizing: border-box;
    background: #fff;
}
.img-inner-box {
    width: 100%;
    max-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.img-inner-box img {
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
}
.img-caption {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin: 8px 0 0;
}

/* ============================================================
   05. 工况案例卡片
============================================================ */
.case-box {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
}
.case-tip {
    font-size: 14px;
    color: #c0392b;
    background: #fff5f5;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #f8ccd0;
}

/* ============================================================
   06. 通用提示文本 / 链接
============================================================ */
.text-center-muted {
    text-align: center;
    color: var(--muted);
    margin-bottom: 40px;
}
.sub-heading {
    font-size: 18px;
    margin: 24px 0 12px;
}
.quote-btn-wrap {
    text-align: center;
    margin-top: 60px;
}
.table-model-link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}
.table-model-link:hover {
    text-decoration: underline;
    color: #600000;
}
.model-td {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

/* ============================================================
   07. 表格全套样式（已剥离所有行内 style）
============================================================ */
.table-wrap {
    margin-bottom: 40px;
}
.aqua-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--border);
}
.aqua-table th {
    border: 1px solid var(--border);
    padding: 12px;
}
.aqua-table th:first-child {
    text-align: left;
}
.aqua-table th:not(:first-child) {
    text-align: center;
}
.aqua-table td {
    border: 1px solid var(--border);
    padding: 12px;
}
.aqua-table td:not(:first-child) {
    text-align: center;
}
.table-desc-text {
    margin-top: 16px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

/* ============================================================
   08. Working Principle 对比系列
============================================================ */
.principle-comparison {
    margin-bottom: 20px;
}
.principle-summary {
    margin: 14px 8px 4px;
    padding: 12px 14px;
    background: #f7f9fb;
    border-left: 3px solid #1f4f82;
    color: #444;
    font-size: 14px;
    line-height: 1.7;
}
.principle-product-grid {
    align-items: stretch;
}
.principle-product-card {
    padding: 18px;
}
.principle-product-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
}
.principle-subtitle {
    font-size: 16px;
    color: #1f4f82;
    margin: 8px 0 6px;
}
.principle-short-text {
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 12px;
    line-height: 1.6;
}
.principle-detail-image {
    margin: 10px 0 14px;
}
.principle-detail-image .img-inner-box {
    max-height: none;
}
.principle-detail-image .img-inner-box img {
    width: 100%;
    max-height: none;
}
/* common.css 的 ul{list-style:none} 去掉了圆点，这里给内容列表补回 */
.principle-bullets {
    list-style: disc;
    padding-left: 22px;
    margin: 0 0 12px;
}
.principle-bullets li {
    margin-bottom: 6px;
}
.compact-comparison {
    margin-bottom: 12px;
}
.compact-comparison .aqua-table {
    font-size: 12.5px;
    line-height: 1.35;
}
.compact-comparison .aqua-table th,
.compact-comparison .aqua-table td {
    padding: 7px 9px;
}
.compact-comparison .aqua-table th:first-child,
.compact-comparison .aqua-table td:first-child {
    width: 22%;
    font-weight: 600;
}
.compact-comparison .aqua-table th {
    background: #f7f9fb;
}

/* ============================================================
   09. Manufacturing Difference 系列
============================================================ */
.manufacturing-intro-grid {
    margin-bottom: 22px;
}
.manufacturing-card {
    min-height: 185px;
}
.manufacturing-card .principle-bullets {
    margin-bottom: 0;
}
.manufacturing-difference-image {
    margin-top: 8px;
    margin-bottom: 22px;
}
.manufacturing-difference-image .img-inner-box {
    max-height: none;
}
.manufacturing-difference-image img {
    width: 100%;
    height: auto;
    max-height: none;
    display: block;
}
.manufacturing-conclusion {
    padding: 20px 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
}
.manufacturing-conclusion p {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.75;
}
.manufacturing-conclusion p:last-of-type {
    margin-bottom: 18px;
}
.manufacturing-product-link {
    display: inline-block;
    text-decoration: none;
    padding: 10px 20px;
}

/* ============================================================
   10. Manufacturing Quality Comparison 系列
   （当前用于 manufacture-quality-comparison 博客页）
============================================================ */
.quality-item {
    margin-bottom: 34px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--border);
}
.quality-item:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.quality-item-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-red);
    margin: 0 0 14px;
}
.quality-item-image {
    margin-bottom: 14px;
}
.quality-side ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.quality-side li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
}
.quality-side li:last-child {
    margin-bottom: 0;
}
.quality-side.good h4 {
    color: #1f7a35;
}
.quality-side.issue h4 {
    color: #c62828;
}
.quality-side.good li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #1f7a35;
    font-weight: 700;
}
.quality-side.issue li::before {
    content: "×";
    position: absolute;
    left: 0;
    top: 0;
    color: #c62828;
    font-weight: 700;
}
.quality-conclusion h4 {
    margin: 0 0 10px;
    color: var(--primary-red);
    font-size: 18px;
}
.quality-note {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
    font-size: 13px;
}

/* ============================================================
   11. 流程步骤组件（QC process flow，5步横向流程）
============================================================ */
.qc-process-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 28px;
    margin-bottom: 18px;
}
.qc-process-step {
    text-align: center;
    padding: 22px 14px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 6px;
}
.qc-process-step .step-no {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 8px;
}
.qc-process-step h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: var(--text);
}
.qc-process-step p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
}

/* ============================================================
   12. 响应式
============================================================ */
@media (max-width: 800px) {
    .nav-wrapper {
        flex-wrap: wrap;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
    }
    nav ul {
        gap: 18px;
    }
    .grid-two-col {
        grid-template-columns: 1fr !important;
    }
    .qc-process-flow {
        grid-template-columns: 1fr;
    }
    .principle-detail-image .img-inner-box img {
        width: 100%;
    }
    .compact-comparison {
        overflow-x: auto;
    }
    .compact-comparison .aqua-table {
        min-width: 700px;
    }
}
@media (max-width: 768px) {
    .manufacturing-intro-grid {
        grid-template-columns: 1fr;
    }
}
