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

/* Banner 下引言：大字号段落风格 */
.semi-intro-blurb {
    background: #ffffff;
    padding: 24px 0;
}

.semi-intro-blurb-inner {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 48px;
    box-sizing: border-box;
}

.semi-intro-blurb p {
    font-size: 28px;
    line-height: 1.8;
    color: #132A3E;
    margin: 0;
    text-align: center;
}

/* 三列里程碑 */
.semi-milestones {
    background: #ffffff;
    padding: 72px 0 36px;
}

.semi-milestones-inner {
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 48px;
    box-sizing: border-box;
}

.semi-milestones-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(16px, 3vw, 40px);
}

.semi-milestone {
    flex: 1 1 0;
    max-width: 420px;
    text-align: center;
    padding: 0 16px;
    position: relative;
    box-sizing: border-box;
}

.semi-milestone:not(:last-child)::after {
    content: "/";
    position: absolute;
    right: -8px;
    top: 0.5em;
    font-size: 28px;
    font-family: "HarmonyOS Sans SC Light";
    font-weight: normal;
    color: #6ba3d4;
}

.semi-milestone-num {
    font-size: 42px;
    font-weight: 700;
    color: #132A3E;
    margin-bottom: 8px;
}

.semi-milestone-num .semi-mile-arrow {
    font-size: 0.55em;
    margin-right: 6px;
    vertical-align: middle;
}

.semi-milestone-brand {
    font-size: 36px;
    font-weight: 700;
    color: #132A3E;
    margin-bottom: 8px;
}

.semi-milestone-sub {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

/* 分栏区块：与 calibration-m1-content 组合使用 */
.semi-measure-split {
    padding: 48px 0 40px;
    background: #ffffff;
}

.semi-measure-split > .calibration-m1-content.semi-m1-content {
    padding-bottom: 0;
}

.semi-measure-split--pb {
    padding-bottom: 72px;
}

/* 探针台等独立图文：区间 72px + 图文 48px，上下对称 */
.semi-measure-split--even-pad {
    padding: 48px 0 40px;
}

.semi-measure-split--even-pad > .calibration-m1-content.semi-m1-content {
    padding-bottom: 48px;
}

/* 洁净室压差：无上内边距，图文下内边距 48px */
.semi-measure-split--flush {
    padding-top: 0;
    padding-bottom: 0;
}

.semi-measure-split.semi-measure-split--flush > .calibration-m1-content.semi-m1-content {
    padding-top: 0;
    padding-bottom: 48px;
}

.semi-measure-split-inner {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

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

/* 左文右图（DOM 仍为 图块在前、文块在后，与校准页一致） */
.semi-m1-content--rtl {
    flex-direction: row-reverse;
}

.semi-m1-img-stack .semi-link-blue {
    display: block;
    margin-top: 12px;
}

/* 「从湿到干再从干到湿」：较原 h3 +2px，非粗体 */
.semi-split-lead {
    font-size: 26px;
    font-weight: 400;
    color: #132A3E;
    margin: 0 0 16px 0;
    line-height: 1.35;
}

.semi-link-blue {
    font-size: 15px;
    color: #00A1E9;
    text-decoration: underline;
}

.semi-link-blue:hover {
    color: #0088c7;
}

.semi-subhead {
    font-size: 18px;
    font-weight: 400;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.semi-block-h3 {
    font-size: 42px;
    font-family: "HarmonyOS Sans SC Light", sans-serif;
    font-weight: normal;
    color: #132A3E;
    margin: 0 0 20px 0;
}

.semi-btn-row {
    margin: 16px 0 0 0;
}

.semi-btn-row .semi-btn-navy {
    margin-right: 12px;
    margin-top: 0;
}

.semi-btn-row .semi-btn-navy:last-child {
    margin-right: 0;
}

.semi-btn-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
}

.semi-btn-stack .semi-btn-navy {
    margin-top: 0;
}

/* 选择精优达的理由：三列卡片，标题居中 */
.semi-reasons {
    padding: 56px 0 56px;
    background-color: #00233D;
}

.semi-reasons-title {
    font-size: 44px;
    font-family: "HarmonyOS Sans SC Light";
    font-weight: normal;
    color: #ffffff;
    text-align: center;
    margin: 0 0 32px 0;
}

.semi-reasons-grid {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    box-sizing: border-box;
}

.semi-reasons-grid--row2 {
    max-width: 1480px;
    margin: 24px auto 0;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    box-sizing: border-box;
}

.semi-reason-card {
    width: 450px;
    height: auto;
    min-height: 0;
    box-sizing: border-box;
    padding: 24px 28px;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.semi-reason-card h3 {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

.semi-reason-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    text-align: center;
}

.semi-reason-card--light {
    background: #ffffff;
    color: #333;
}

.semi-reason-card--light h3 {
    color: #132A3E;
}

.semi-reason-card--light p {
    color: #333;
}

/* 半导体制造应用 · 居中标题 + 分栏 */
.semi-apps {
    padding: 72px 0;
    background: #ffffff;
}

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

.semi-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;
}

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

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

/* 半导体产品应用：按钮尺寸沿用 .semi-btn-navy，描边样式对齐首页 weather-monitoring-button--pill */
.semi-btn-home-pill {
    color: #3d3d3d;
    background-color: transparent;
    border: 1px solid #00A1E9;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* 光刻 · 浅青底 */
.semi-litho {
    padding: 72px 0 80px;
    background-color: #e9f8ff;
}

.semi-litho-title {
    font-size: 36px;
    font-weight: 600;
    color: #132A3E;
    text-align: center;
    margin: 0 0 20px 0;
}

.semi-litho-intro {
    max-width: 960px;
    margin: 0 auto 40px;
    padding: 0 24px;
    font-size: 17px;
    line-height: 1.8;
    color: #1a3a3e;
    text-align: center;
}

.semi-litho-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 40px;
    justify-content: center;
    justify-items: stretch;
    box-sizing: border-box;
}

.semi-litho-item {
    text-align: left;
    box-sizing: border-box;
}

.semi-litho-item-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.semi-litho-item h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #132A3E;
}

.semi-litho-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #1a3a3e;
}

.semi-litho-icon {
    flex-shrink: 0;
    line-height: 0;
}

.semi-litho-icon img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* 产品区：公共 .pc-grid / .pc-card（见 product-card-standard.css） */
.semi-products .pc-card-img {
    background-color: #e6e6e6;
}

.semi-inner {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

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

    .semi-milestone:not(:last-child)::after {
        font-size: max(var(--kyd-text-sm-min, 14px), calc(28px * var(--kyd-text-scale, 1)));
    }

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

    .semi-milestone-brand {
        font-size: max(var(--kyd-text-sm-min, 14px), calc(36px * var(--kyd-text-scale, 1)));
    }

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

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

    .semi-split-lead {
        font-size: max(var(--kyd-text-sm-min, 14px), calc(26px * var(--kyd-text-scale, 1)));
    }

    .semi-link-blue {
        font-size: max(var(--kyd-text-sm-min, 14px), calc(15px * var(--kyd-text-scale, 1)));
    }

    .semi-subhead {
        font-size: max(var(--kyd-text-sm-min, 14px), calc(18px * var(--kyd-text-scale, 1)));
    }

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

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

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

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

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

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

    .semi-litho-item h4 {
        font-size: max(var(--kyd-text-sm-min, 14px), calc(17px * var(--kyd-text-scale, 1)));
    }

    .semi-litho-item p {
        font-size: max(var(--kyd-text-sm-min, 14px), calc(15px * var(--kyd-text-scale, 1)));
    }

    .semi-reason-card {
        width: 100%;
        max-width: 450px;
        height: auto;
        min-height: 0;
    }
}

/* Small 768～1024：三看板仍同一行（仅压缩间距）；光刻仍两列、整体居中 */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .semi-milestones-inner {
        padding-left: 24px;
        padding-right: 24px;
    }

    .semi-milestones-row {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 12px;
    }

    .semi-milestone {
        padding: 0 8px;
        min-width: 0;
    }

    .semi-litho-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: center;
        padding: 0 20px;
        gap: 24px 28px;
    }
}

/* Phone ≤767：三看板 / 光刻单列，每一行居中 */
@media screen and (max-width: 767px) {
    .semi-milestones-row {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .semi-milestone {
        flex: none;
        width: 100%;
        max-width: 420px;
    }

    .semi-milestone:not(:last-child)::after {
        display: none;
    }

    .semi-litho-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .semi-litho-item {
        width: 100%;
        max-width: 520px;
        text-align: center;
    }

    .semi-litho-item-head {
        justify-content: center;
    }

    .semi-measure-split > .calibration-m1-content.semi-m1-content {
        padding-bottom: 72px;
    }

    .semi-measure-split--even-pad > .calibration-m1-content.semi-m1-content {
        padding-bottom: 32px;
    }

    .semi-measure-split.semi-measure-split--flush > .calibration-m1-content.semi-m1-content {
        padding-top: 0;
        padding-bottom: 32px;
    }

    .semi-milestones-inner,
    .semi-intro-blurb-inner,
    .semi-inner {
        padding-left: 24px;
        padding-right: 24px;
    }

    .semi-reasons {
        padding: 40px 0;
    }

    .semi-litho {
        padding: 48px 0 56px;
    }

    .semi-apps {
        padding: 48px 0;
    }
}
