/**
 * greenhouse-gas-measurement.htm — 仅页面特有样式
 * Banner / 图文分栏 / 产品栅格五档已上收：
 *   page-banner-standard.css · shared-split-m1.css · product-card-standard.css
 */

/* ========== 引言：标题 + 整块正文 ========== */
.ghg-intro {
    padding: 58px 0;
    background: #ffffff;
}

.ghg-intro-inner {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 48px;
    box-sizing: border-box;
}

.ghg-intro-title {
    font-size: 36px;
    font-family: "HarmonyOS Sans SC Light";
    font-weight: normal;
    color: #132A3E;
    text-align: center;
    margin: 0 0 40px 0;
    line-height: 1.3;
}

.ghg-intro-body {
    max-width: 1200px;
    margin: 0 auto;
}

.ghg-intro-body p {
    margin: 0;
    font-size: 17px;
    line-height: 1.85;
    color: #333333;
    text-align: left;
}

/* 全系列二氧化碳传感器：紧贴引言，无上内边距 */
.hvac-section {
    padding-top: 0;
}

/* 图文区按钮（对齐 semiconductor .semi-btn-*，温室气体独立类名） */
.ghg-btn-navy {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    background-color: #132A3E;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
}

.ghg-btn-navy:hover {
    background-color: #1a3d56;
    color: #ffffff;
}

.calibration-m1-text .ghg-btn-navy {
    margin-top: 16px;
}

.ghg-btn-home-pill {
    color: #3d3d3d;
    background-color: transparent;
    border: 1px solid #00A1E9;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ghg-btn-home-pill:hover {
    background-color: rgba(0, 161, 233, 0.12);
    color: #3d3d3d;
    border-color: #00A1E9;
}

/* ========== 应用场景：背景图 + 三卡 ========== */
.ghg-apps {
    padding: 80px 0 96px;
    background-color: #2d4a3e;
    background-size: cover;
    background-position: center;
    position: relative;
}

.ghg-apps::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(19, 42, 62, 0.45);
    pointer-events: none;
}

.ghg-apps-inner {
    position: relative;
    z-index: 1;
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 48px;
    box-sizing: border-box;
}

.ghg-apps-title {
    font-size: 42px;
    font-family: "HarmonyOS Sans SC Light";
    font-weight: normal;
    color: #ffffff;
    text-align: center;
    margin: 0 0 48px 0;
}

.ghg-apps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ghg-app-card {
    background: #ffffff;
    padding: 28px 24px 32px;
    box-sizing: border-box;
    text-align: center;
}

.ghg-app-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #132A3E;
    margin: 16px 0 0 0;
    text-align: center;
}

.ghg-app-icon {
    text-align: center;
    font-size: 48px;
    line-height: 1;
}

.ghg-app-card ul {
    margin: 16px 0 0 0;
    padding: 0;
    list-style: none;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    text-align: center;
}

.ghg-app-card li {
    margin: 0 0 8px 0;
}

.ghg-app-card li:last-child {
    margin-bottom: 0;
}

/* ========== 产品区（栅格用公共 .pc-grid） ========== */
.ghg-products {
    padding: 56px 0 80px;
    background: #ffffff;
}

.ghg-products-inner {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 48px;
    box-sizing: border-box;
}

.ghg-products-title {
    font-size: 44px;
    font-family: "HarmonyOS Sans SC Light";
    font-weight: normal;
    color: #132A3E;
    text-align: center;
    margin: 0 0 40px 0;
}

.ghg-products-loading,
.ghg-products-empty {
    text-align: center;
    padding: 24px;
    color: #666;
    font-size: 16px;
}

/* 文案：≤1679 用 --kyd-text-scale；≥1680 定稿 */
@media screen and (max-width: 1679px) {
    .ghg-intro-title {
        font-size: max(var(--kyd-text-sm-min, 14px), calc(36px * var(--kyd-text-scale, 1)));
    }

    .ghg-intro-body p {
        font-size: max(var(--kyd-text-sm-min, 14px), calc(17px * var(--kyd-text-scale, 1)));
    }

    .ghg-btn-navy {
        font-size: max(var(--kyd-text-sm-min, 14px), calc(16px * var(--kyd-text-scale, 1)));
    }

    .ghg-apps-title {
        font-size: max(var(--kyd-text-sm-min, 14px), calc(42px * var(--kyd-text-scale, 1)));
    }

    .ghg-app-card h3 {
        font-size: max(var(--kyd-text-sm-min, 14px), calc(20px * var(--kyd-text-scale, 1)));
    }

    .ghg-app-icon {
        font-size: max(var(--kyd-text-sm-min, 14px), calc(48px * var(--kyd-text-scale, 1)));
    }

    .ghg-app-card ul {
        font-size: max(var(--kyd-text-sm-min, 14px), calc(15px * var(--kyd-text-scale, 1)));
    }

    .ghg-products-title {
        font-size: max(var(--kyd-text-sm-min, 14px), calc(44px * var(--kyd-text-scale, 1)));
    }

    .ghg-products-loading,
    .ghg-products-empty {
        font-size: max(var(--kyd-text-sm-min, 14px), calc(16px * var(--kyd-text-scale, 1)));
    }
}

/* Small：三卡单列（原 ≤900） */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .ghg-apps-grid {
        grid-template-columns: 1fr;
    }

    .ghg-intro-inner,
    .ghg-apps-inner,
    .ghg-products-inner {
        padding-left: 32px;
        padding-right: 32px;
    }
}

@media screen and (max-width: 767px) {
    .ghg-intro {
        padding: 40px 0;
    }

    .ghg-intro-inner,
    .ghg-apps-inner,
    .ghg-products-inner {
        padding-left: 24px;
        padding-right: 24px;
    }

    .ghg-apps {
        padding: 56px 0 64px;
    }

    .ghg-apps-grid {
        grid-template-columns: 1fr;
    }

    .ghg-apps-title {
        margin-bottom: 32px;
    }

    .ghg-products {
        padding: 40px 0 64px;
    }
}
