/* Cleanroom 主题 — 洁净室科技风（青绿主色） */
:root {
    --cm-bg: #f8f9fa;
    --cm-surface: #ffffff;
    --cm-elevated: #f1f3f5;
    --cm-border: rgba(15, 23, 42, 0.08);
    --cm-text: #0b1220;
    --cm-muted: #5c6670;
    --cm-dim: #8b949e;
    --cm-primary: #006d7e;
    --cm-primary-dark: #00535f;
    --cm-accent: #0a8a9e;
    --cm-accent-soft: rgba(0, 109, 126, 0.1);
    --cm-grid: rgba(0, 109, 126, 0.06);
    --cm-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    --cm-radius: 12px;
    --cm-radius-lg: 20px;
    --cm-font: "Noto Sans SC", "Inter", system-ui, -apple-system, sans-serif;
    --cm-font-display: "Inter", "Noto Sans SC", system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body.cm-site {
    font-family: var(--cm-font);
    color: var(--cm-text);
    background: var(--cm-bg);
    -webkit-font-smoothing: antialiased;
}

.cm-site--home {
    background: #ffffff;
}

.min-w-0 {
    min-width: 0;
}

/* —— 顶栏与导航外壳 —— */
.cm-nav-shell {
    z-index: 2000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--cm-border);
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.cm-nav-shell--scrolled {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    background: rgba(255, 255, 255, 0.99);
}

.cm-topbar {
    background: linear-gradient(90deg, rgba(0, 109, 126, 0.08), rgba(10, 138, 158, 0.06));
    border-bottom: 1px solid var(--cm-border);
    font-size: 0.8125rem;
    color: var(--cm-muted);
    z-index: 1040;
}

.cm-topbar a {
    color: var(--cm-primary-dark);
    text-decoration: none;
}

.cm-topbar a:hover {
    text-decoration: underline;
}

.cm-navbar {
    position: relative;
    background: transparent;
    border-bottom: none;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.cm-navbar .navbar-brand {
    font-family: var(--cm-font-display);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--cm-text) !important;
    font-size: 1.05rem;
}

.cm-navbar .nav-link {
    color: var(--cm-muted) !important;
    font-weight: 500;
    padding: 0.5rem 0.85rem !important;
    border-radius: 10px;
}

.cm-navbar .nav-link:hover,
.cm-navbar .nav-link:focus {
    color: var(--cm-primary-dark) !important;
    background: var(--cm-accent-soft);
}

.cm-navbar .navbar-nav .active > .nav-link,
.cm-navbar .nav-link.active {
    color: var(--cm-primary-dark) !important;
    background: var(--cm-accent-soft);
}

.cm-navbar .dropdown-menu {
    border: 1px solid var(--cm-border);
    border-radius: 12px;
    box-shadow: var(--cm-shadow);
}

.cm-navbar .navbar-toggler {
    border-color: var(--cm-border);
}

.cm-navbar .navbar-toggler-icon {
    filter: invert(0.35);
}

.navbar-collapse.cm-navbar-collapse {
    z-index: 1045;
}

@media (max-width: 991.98px) {
    .cm-navbar .navbar-collapse {
        position: absolute;
        top: calc(100% + 0.35rem);
        left: 0.75rem;
        right: 0.75rem;
        padding: 0.75rem;
        background: var(--cm-surface);
        border-radius: var(--cm-radius);
        border: 1px solid var(--cm-border);
        box-shadow: var(--cm-shadow);
    }

    .cm-navbar .navbar-nav .nav-link {
        display: block;
    }
}

/* —— 首页 Hero —— */
.cm-hero {
    position: relative;
    padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
    overflow: hidden;
}

.cm-hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 420px at 12% 20%, rgba(0, 109, 126, 0.14), transparent 60%),
        radial-gradient(700px 380px at 88% 30%, rgba(10, 138, 158, 0.12), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, rgba(244, 248, 252, 0.4) 100%);
    pointer-events: none;
}

.cm-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--cm-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--cm-grid) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 100%);
    opacity: 0.9;
    pointer-events: none;
}

.cm-hero__inner {
    position: relative;
}

.cm-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-family: var(--cm-font-display);
    color: var(--cm-primary-dark);
    background: rgba(0, 109, 126, 0.12);
    border: 1px solid rgba(0, 109, 126, 0.22);
    margin-bottom: 1rem;
}

.cm-hero__title {
    font-family: var(--cm-font-display);
    font-weight: 700;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: var(--cm-text);
}

.cm-hero__lead {
    font-size: 1.05rem;
    color: var(--cm-muted);
    max-width: 34rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.cm-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cm-btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.65rem 1.35rem;
    border: 1px solid transparent;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cm-btn--primary {
    background: linear-gradient(135deg, var(--cm-primary), var(--cm-accent));
    color: #fff !important;
    box-shadow: 0 12px 30px rgba(0, 109, 126, 0.35);
}

.cm-btn--primary:hover {
    transform: translateY(-1px);
    color: #fff !important;
    box-shadow: 0 16px 36px rgba(0, 109, 126, 0.42);
}

.cm-btn--ghost {
    background: var(--cm-surface);
    border-color: var(--cm-border);
    color: var(--cm-text) !important;
}

.cm-btn--ghost:hover {
    border-color: rgba(0, 109, 126, 0.35);
    color: var(--cm-primary-dark) !important;
}

.cm-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cm-hero__panel {
    position: relative;
    width: min(100%, 420px);
    aspect-ratio: 1;
    border-radius: 24px;
    background: linear-gradient(145deg, #ffffff, #eef6ff);
    border: 1px solid var(--cm-border);
    box-shadow: var(--cm-shadow);
    overflow: hidden;
}

.cm-hero__panel::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 210deg, rgba(0, 109, 126, 0.15), transparent, rgba(10, 138, 158, 0.12), transparent);
    animation: cm-spin 18s linear infinite;
}

.cm-hero__wafer {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), rgba(224, 242, 254, 0.9));
    border: 1px solid rgba(0, 109, 126, 0.25);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.cm-hero__wafer::after {
    content: "";
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    background-image:
        linear-gradient(90deg, rgba(0, 109, 126, 0.12) 1px, transparent 1px),
        linear-gradient(rgba(0, 109, 126, 0.12) 1px, transparent 1px);
    background-size: 14px 14px;
    opacity: 0.7;
}

.cm-hero__orbit {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cm-hero__ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0, 109, 126, 0.35);
}

.cm-hero__ring--1 {
    width: 72%;
    height: 72%;
    animation: cm-pulse 5s ease-in-out infinite;
}

.cm-hero__ring--2 {
    width: 88%;
    height: 88%;
    border-color: rgba(10, 138, 158, 0.22);
    animation: cm-pulse 7s ease-in-out infinite reverse;
}

@keyframes cm-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes cm-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

/* —— 幻灯 —— */
.cm-hero-slider {
    position: relative;
    z-index: 1;
}

.cm-hero-slider .slider {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cm-hero-slider__frame {
    position: relative;
    border-radius: 0 0 var(--cm-radius) var(--cm-radius);
    overflow: hidden;
    border: 1px solid var(--cm-border);
    border-top: none;
    background: var(--cm-surface);
}

.cm-hero-slider__media-link {
    display: block;
    width: 100%;
    aspect-ratio: 21 / 8;
}

@media (max-width: 767.98px) {
    .cm-hero-slider__media-link {
        aspect-ratio: 16 / 10;
    }
}

.cm-hero-slider__media-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cm-hero-slider__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem 0 1.5rem;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.92));
}

.cm-hero-slider__title {
    font-family: var(--cm-font-display);
    font-weight: 700;
    font-size: clamp(1.15rem, 2.5vw, 1.65rem);
    color: var(--cm-text);
    margin: 0;
}

.cm-hero-slider__desc {
    margin: 0.35rem 0 0;
    color: var(--cm-muted);
    font-size: 0.95rem;
}

.cm-hero-slider .sy-pager {
    bottom: 0.75rem;
}

.cm-hero-slider .sy-pager li.sy-active a {
    background-color: var(--cm-primary);
}

/* —— 通用区块 —— */
.cm-section {
    padding: clamp(2.75rem, 5vw, 4.25rem) 0;
}

.cm-section--soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(244, 248, 252, 0.9));
    border-top: 1px solid var(--cm-border);
    border-bottom: 1px solid var(--cm-border);
}

.cm-section__head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2.25rem;
}

.cm-section__title {
    font-family: var(--cm-font-display);
    font-weight: 700;
    font-size: clamp(1.45rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
    color: var(--cm-text);
}

.cm-section__sub {
    margin: 0;
    color: var(--cm-muted);
    line-height: 1.7;
}

/* —— 方案能力栅格 —— */
.cm-bento {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .cm-bento {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cm-feature-card {
    background: var(--cm-surface);
    border: 1px solid var(--cm-border);
    border-radius: var(--cm-radius);
    padding: 1.35rem 1.35rem 1.25rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cm-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--cm-shadow);
}

.cm-feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
    color: var(--cm-text);
}

.cm-feature-card h3 i {
    color: var(--cm-primary);
    margin-right: 0.35rem;
}

.cm-feature-card p {
    margin: 0;
    color: var(--cm-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* —— 数据指标 —— */
.cm-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 992px) {
    .cm-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.cm-stat {
    background: var(--cm-surface);
    border: 1px solid var(--cm-border);
    border-radius: var(--cm-radius);
    padding: 1.35rem 1.15rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.cm-stat__value {
    font-family: var(--cm-font-display);
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--cm-primary-dark);
    line-height: 1.1;
}

.cm-stat__suffix {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cm-accent);
    margin-left: 0.15rem;
}

.cm-stat__label {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--cm-muted);
}

/* —— 案例卡片 —— */
.cm-cases .row {
    --bs-gutter-y: 1.25rem;
}

.cm-case-card {
    background: var(--cm-surface);
    border: 1px solid var(--cm-border);
    border-radius: var(--cm-radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.2s ease;
}

.cm-case-card:hover {
    box-shadow: var(--cm-shadow);
}

.cm-case-card__thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--cm-elevated);
}

.cm-case-card__thumb a {
    position: absolute;
    inset: 0;
}

.cm-case-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cm-case-card__body {
    padding: 1rem 1.1rem 1.15rem;
    flex: 1;
}

.cm-case-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.cm-case-card__title a {
    color: var(--cm-text);
    text-decoration: none;
}

.cm-case-card__title a:hover {
    color: var(--cm-primary-dark);
}

.cm-case-card__excerpt {
    margin: 0.45rem 0 0;
    font-size: 0.875rem;
    color: var(--cm-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* —— 合作伙伴 —— */
.cm-partners__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    align-items: center;
}

@media (min-width: 576px) {
    .cm-partners__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .cm-partners__grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.cm-partner-cell {
    background: var(--cm-surface);
    border: 1px solid var(--cm-border);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cm-partner-cell:hover {
    border-color: rgba(0, 109, 126, 0.35);
    box-shadow: 0 8px 22px rgba(0, 109, 126, 0.1);
}

.cm-partner-cell img {
    max-width: 100%;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.15);
    opacity: 0.92;
}

.cm-partner-cell a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 0.4rem;
    color: var(--cm-muted);
    text-decoration: none;
}

.cm-partner-name {
    font-size: 0.78rem;
    line-height: 1.35;
    text-align: center;
    color: var(--cm-muted);
}

/* —— 资讯 —— */
.cm-news-card {
    background: var(--cm-surface);
    border: 1px solid var(--cm-border);
    border-radius: var(--cm-radius);
    overflow: hidden;
    height: 100%;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cm-news-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--cm-shadow);
}

.cm-news-card .item-image {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--cm-elevated);
}

.cm-news-card .item-image > a {
    position: absolute;
    inset: 0;
}

.cm-news-card .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cm-news-card .header h3 {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 1rem 1rem;
    margin: 0;
    line-height: 1.45;
}

.cm-news-card .header h3 a {
    color: var(--cm-text);
    text-decoration: none;
}

.cm-news-card .header h3 a:hover {
    color: var(--cm-primary-dark);
}

/* —— CTA 条 —— */
.cm-cta {
    padding: clamp(2.25rem, 4vw, 3rem) 0;
    background: linear-gradient(120deg, rgba(0, 109, 126, 0.12), rgba(10, 138, 158, 0.08));
    border-top: 1px solid var(--cm-border);
    border-bottom: 1px solid var(--cm-border);
}

.cm-cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.cm-cta__title {
    font-family: var(--cm-font-display);
    font-weight: 700;
    font-size: 1.35rem;
    margin: 0 0 0.35rem;
}

.cm-cta__desc {
    margin: 0;
    color: var(--cm-muted);
    max-width: 36rem;
}

/* —— 页脚 —— */
.cm-footer {
    background: #ffffff;
    border-top: 1px solid var(--cm-border);
    padding: 2.5rem 0 1.5rem;
    color: var(--cm-muted);
}

.cm-footer__brand {
    font-family: var(--cm-font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--cm-text);
    margin-bottom: 0.5rem;
}

.cm-footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
}

.cm-footer__links a {
    color: var(--cm-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.cm-footer__links a:hover {
    color: var(--cm-primary-dark);
}

.cm-footer__meta {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--cm-border);
    font-size: 0.8125rem;
    color: var(--cm-dim);
}

.cm-footer__meta a {
    color: var(--cm-muted);
}

/* —— 内页主区域 —— */
.cm-main-wrap {
    padding: 0.75rem 0 2.5rem;
}

.cm-two-col {
    margin-top: 4.5rem;
}

@media (max-width: 991.98px) {
    .cm-two-col {
        margin-top: 4.25rem;
    }
}

.cm-list .tc-gridbox,
.cm-article .tc-box,
.cm-page .tc-box,
.cm-aside-box .tc-box {
    background: var(--cm-surface);
    border: 1px solid var(--cm-border);
    border-radius: var(--cm-radius);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
    padding: 1.5rem 1.35rem;
}

.cm-list__stream {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cm-list-card {
    border-radius: var(--cm-radius);
    border: 1px solid var(--cm-border);
    background: var(--cm-surface);
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.cm-list-card:hover {
    box-shadow: var(--cm-shadow);
}

.cm-list-card__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

@media (min-width: 768px) {
    .cm-list-card__link {
        flex-direction: row;
        align-items: stretch;
    }
}

.cm-list-card__thumb {
    position: relative;
    flex: 0 0 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    background: var(--cm-elevated);
}

@media (min-width: 768px) {
    .cm-list-card__thumb {
        flex: 0 0 30%;
        max-width: 30%;
        aspect-ratio: 16 / 10;
        min-height: 0;
        align-self: stretch;
    }

    .cm-list-card__body {
        padding: 0.75rem 0.95rem;
    }

    .cm-list-card__title {
        font-size: 1rem;
        margin-bottom: 0.3rem;
        line-height: 1.35;
    }

    .cm-list-card__excerpt {
        font-size: 0.875rem;
        line-height: 1.5;
    }
}

.cm-list-card__thumb img.cm-list-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cm-list-card__body {
    padding: 1.1rem 1.2rem;
    flex: 1;
    min-width: 0;
}

.cm-list-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--cm-text);
}

.cm-list-card__excerpt {
    margin: 0;
    color: var(--cm-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.cm-list__pager.pagination {
    margin-top: 1.5rem;
    justify-content: center;
}

.cm-list__pager .page-link {
    border-radius: 10px;
    margin: 0 0.2rem;
    color: var(--cm-primary-dark);
    border-color: var(--cm-border);
}

.cm-article .article-infobox,
.cm-page .article-infobox {
    color: var(--cm-muted);
    font-size: 0.875rem;
}

.cm-article h2,
.cm-page h2 {
    font-family: var(--cm-font-display);
    font-weight: 700;
    color: var(--cm-text);
}

.cm-aside-box .headtitle h2 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--cm-text);
}

.cm-aside-box .dl-horizontal dt {
    width: 72px;
}

.cm-aside-box .dl-horizontal dd {
    margin-left: 84px;
}

.cm-aside-box .posts .dl-horizontal {
    margin-bottom: 0.85rem;
}

.cm-aside-box .img-wraper img {
    border-radius: 8px;
    width: 64px;
    height: 48px;
    object-fit: cover;
}

.cm-aside-box .ranking li {
    padding: 0.35rem 0;
    border-bottom: 1px dashed var(--cm-border);
}

.cm-aside-box .ranking li a {
    color: var(--cm-muted);
    text-decoration: none;
}

.cm-aside-box .ranking li a:hover {
    color: var(--cm-primary-dark);
}

/* 富文本：防止撑开横向滚动 */
#article_content,
#article_content * {
    overflow-wrap: anywhere;
    word-break: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

#article_content pre,
#article_content .hljs {
    white-space: pre-wrap !important;
    word-break: break-all;
}

#article_content table {
    max-width: 100% !important;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

#article_content .table-responsive {
    overflow-x: auto;
}

#article_content img,
#article_content video {
    max-width: 100% !important;
    height: auto !important;
}

/* iframe / embed 没有图片那种固有比例，不要写 height:auto，否则会盖掉编辑器里的宽高 */
#article_content iframe,
#article_content embed,
#article_content object {
    max-width: 100%;
}

#article_content p,
#article_content div,
#article_content span,
#article_content td,
#article_content th {
    white-space: normal !important;
}

/* —— 联系页 —— */
.cm-contact {
    color: var(--cm-muted);
}

.cm-contact .section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--cm-text);
    margin-bottom: 0.75rem;
}

.cm-contact .contact-info h5 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--cm-dim);
    margin-top: 0.75rem;
    margin-bottom: 0.25rem;
}

.cm-contact .contact-info p {
    margin: 0;
}

/* —— 商品列表（product_list + product_grid）参考图卡片 —— */
.cm-product-grid-wrap {
    width: 100%;
    min-width: 0;
}

.cm-product-grid-wrap--catalog {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-bottom: 0.5rem;
}

.cm-product-grid--cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .cm-product-grid--cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

.cm-product-grid__pager {
    margin-top: 1.75rem;
    justify-content: center;
}

.cm-product-grid__pager .page-link {
    border-radius: 10px;
    margin: 0 0.2rem;
    color: var(--cm-primary-dark);
    border-color: var(--cm-border);
    background: var(--cm-surface);
}

.cm-product-grid__pager .page-link:hover {
    border-color: rgba(0, 109, 126, 0.45);
    color: var(--cm-primary-dark);
}

.cm-product-grid__pager .active .page-link {
    background: var(--cm-accent-soft);
    border-color: var(--cm-primary);
    color: var(--cm-primary-dark);
}

.cm-product-card-v2 {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    background: var(--cm-surface);
    border: 1px solid var(--cm-border);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cm-product-card-v2:hover {
    border-color: rgba(0, 109, 126, 0.28);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.cm-product-card-v2:focus-visible {
    outline: 2px solid var(--cm-primary);
    outline-offset: 2px;
}

.cm-product-card-v2__media {
    position: relative;
    background: #0b1220;
}

.cm-product-card-v2__badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    left: auto;
    z-index: 2;
    max-width: calc(100% - 1.5rem);
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--cm-primary);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    line-height: 1.2;
}

.cm-product-card-v2__thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.cm-product-card-v2__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.cm-product-card-v2:hover .cm-product-card-v2__img {
    transform: scale(1.03);
}

.cm-product-card-v2__body {
    flex: 1 1 auto;
    padding: 1.1rem 1.15rem 0.75rem;
    min-width: 0;
}

.cm-product-card-v2__title {
    font-family: var(--cm-font-display);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.5rem;
    color: var(--cm-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cm-product-card-v2:hover .cm-product-card-v2__title {
    color: var(--cm-primary-dark);
}

.cm-product-card-v2__excerpt {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--cm-muted);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 0;
}

.cm-product-card-v2__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1.15rem 1.05rem;
    margin-top: auto;
    border-top: 1px solid var(--cm-border);
    background: rgba(248, 249, 250, 0.65);
}

.cm-product-card-v2__meta {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    color: var(--cm-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cm-product-card-v2__go {
    flex: none;
    width: 2.1rem;
    height: 2.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--cm-border);
    background: var(--cm-surface);
    color: var(--cm-primary);
    font-size: 0.85rem;
}

.cm-product-card-v2:hover .cm-product-card-v2__go {
    border-color: var(--cm-primary);
    background: var(--cm-accent-soft);
}

/* ========== Cleanroom 参考布局扩展 ========== */
.cm-main-wrap {
    position: relative;
    z-index: 1;
}

.cm-two-col {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

/* 导航：中置菜单 + 右侧操作 */
.cm-navbar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 0;
}

.cm-navbar__toggler {
    border: 1px solid var(--cm-border);
    border-radius: 8px;
}

@media (min-width: 992px) {
    .cm-navbar-collapse {
        display: flex !important;
        flex: 1 1 auto;
        align-items: center;
        justify-content: space-between;
    }

    .cm-navbar__center {
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
    }

    .cm-navbar__actions {
        flex: 0 0 auto;
    }
}

.cm-navbar__cta {
    border-radius: 6px;
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
}

/* Hero 参考版 */
.cm-hero--reference {
    background: #ffffff;
    padding-top: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.cm-hero__tag--cn {
    text-transform: none;
    letter-spacing: 0.04em;
    font-size: 0.8125rem;
    font-family: var(--cm-font);
}

.cm-hero__accent {
    color: var(--cm-primary);
}

.cm-hero-media {
    position: relative;
    border-radius: var(--cm-radius-lg);
    overflow: hidden;
    aspect-ratio: 1.5 / 1;
    background: #0b1220;
    box-shadow: var(--cm-shadow);
}

.cm-hero-media__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cm-hero-media__badge {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 10px;
    padding: 0.65rem 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cm-hero-media__badge-k {
    font-size: 0.7rem;
    color: var(--cm-muted);
    letter-spacing: 0.06em;
}

.cm-hero-media__badge-v {
    font-size: 1rem;
    font-weight: 700;
    color: var(--cm-text);
}

.cm-btn--icon .fa {
    font-size: 0.85em;
}

.cm-btn {
    border-radius: 6px;
}

.cm-btn--primary {
    background: var(--cm-primary);
    box-shadow: 0 10px 24px rgba(0, 109, 126, 0.28);
}

.cm-btn--primary:hover {
    background: var(--cm-primary-dark);
    box-shadow: 0 12px 28px rgba(0, 109, 126, 0.35);
}

/* 分区 */
.cm-section--muted {
    background: var(--cm-bg);
    border-top: 1px solid var(--cm-border);
    border-bottom: 1px solid var(--cm-border);
}

.cm-section__head--split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0.75rem;
}

.cm-section__link {
    font-weight: 600;
    color: var(--cm-primary);
    text-decoration: none;
    white-space: nowrap;
}

.cm-section__link:hover {
    color: var(--cm-primary-dark);
    text-decoration: underline;
}

.cm-section__intro {
    color: var(--cm-muted);
    max-width: 42rem;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.cm-section__intro--left {
    margin-left: 0;
    margin-right: 0;
}

/* Bento Pro */
.cm-bento-pro {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .cm-bento-pro {
        grid-template-columns: repeat(2, 1fr);
    }
}

.cm-bento-card {
    position: relative;
    border-radius: var(--cm-radius);
    padding: 1.35rem 1.5rem;
    border: 1px solid var(--cm-border);
    background: var(--cm-surface);
    overflow: hidden;
    min-height: 11rem;
}

.cm-bento-card--white {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.cm-bento-card--accent {
    background: var(--cm-primary);
    border-color: transparent;
    color: #fff;
}

.cm-bento-card__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.12), transparent 45%),
        radial-gradient(400px 200px at 90% 20%, rgba(255, 255, 255, 0.18), transparent 55%);
    pointer-events: none;
}

.cm-bento-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cm-accent-soft);
    color: var(--cm-primary);
    margin-bottom: 1rem;
}

.cm-bento-card__icon--on-dark {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.cm-bento-card--accent .cm-bento-card__title,
.cm-bento-card--accent .cm-bento-card__desc {
    position: relative;
    z-index: 1;
}

.cm-bento-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: inherit;
}

.cm-bento-card__desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    margin: 0;
    color: inherit;
    opacity: 0.92;
}

.cm-bento-card--white .cm-bento-card__desc {
    color: var(--cm-muted);
}

.cm-bento-card__links {
    margin-top: 1rem;
    font-size: 0.875rem;
}

.cm-bento-card__links a {
    color: var(--cm-primary);
    text-decoration: none;
    font-weight: 600;
}

.cm-bento-card__links a:hover {
    text-decoration: underline;
}

.cm-bento-card--accent .cm-bento-card__links {
    position: relative;
    z-index: 1;
}

.cm-bento-card--accent .cm-bento-card__links a {
    color: #fff;
}

.cm-bento-card--accent .cm-bento-card__links a:hover {
    color: #fff;
}

.cm-bento-card--accent .cm-bento-card__links .text-muted {
    color: rgba(255, 255, 255, 0.55) !important;
}

/* 图文亮点 */
.cm-showcase__visual {
    position: relative;
    border-radius: var(--cm-radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #0b1220;
}

.cm-showcase__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cm-showcase__float {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    border-radius: 10px;
    padding: 0.5rem 0.85rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    z-index: 2;
}

.cm-showcase__float--1 {
    top: 1rem;
    left: 1rem;
}

.cm-showcase__float--2 {
    bottom: 1rem;
    right: 1rem;
}

.cm-showcase__float-t {
    font-size: 0.7rem;
    color: var(--cm-muted);
}

.cm-showcase__float-v {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--cm-text);
}

.cm-showcase__kicker {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cm-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.cm-showcase__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--cm-text);
}

.cm-showcase__lead {
    color: var(--cm-muted);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.cm-showcase__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.cm-showcase__list li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-bottom: 0.65rem;
    color: var(--cm-text);
    line-height: 1.55;
}

.cm-showcase__list .fa-check {
    color: var(--cm-primary);
    margin-top: 0.2rem;
}

.cm-showcase__doc {
    font-weight: 600;
    color: var(--cm-primary);
    text-decoration: none;
}

.cm-showcase__doc:hover {
    color: var(--cm-primary-dark);
    text-decoration: underline;
}

/* 资讯卡片 */
.cm-news__nav-btn {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border-radius: 999px;
    border: 1px solid var(--cm-border);
    background: var(--cm-surface);
    color: var(--cm-muted);
}

.cm-news__nav-btn:hover {
    border-color: var(--cm-primary);
    color: var(--cm-primary);
}

.cm-news__nav-btn:disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

.cm-news-scroll-outer {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    margin: 0 -0.5rem;
    padding: 0 0.5rem 0.25rem;
}

.cm-news-scroll-outer::-webkit-scrollbar {
    display: none;
}

.cm-news-scroll-row {
    flex-wrap: nowrap !important;
    margin-left: 0;
    margin-right: 0;
}

.cm-news-scroll-row > [class*="col-"] {
    flex-shrink: 0 !important;
}

@media (min-width: 992px) {
    .cm-news-scroll-row > [class*="col-"] {
        flex: 0 0 33.33333333% !important;
        width: 33.33333333% !important;
        max-width: 33.33333333% !important;
    }
}

.cm-news-pro {
    background: var(--cm-surface);
    border: 1px solid var(--cm-border);
    border-radius: var(--cm-radius);
    overflow: hidden;
    height: 100%;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
}

.cm-news-pro__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--cm-elevated);
}

.cm-news-pro__media-link {
    position: absolute;
    inset: 0;
    display: block;
}

.cm-news-pro__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cm-news-pro__date {
    display: block;
    padding: 0.85rem 1.1rem 0;
    font-size: 0.8rem;
    color: var(--cm-dim);
}

.cm-news-pro__title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    padding: 0.35rem 1.1rem 0;
    line-height: 1.4;
}

.cm-news-pro__title a {
    color: var(--cm-text);
    text-decoration: none;
}

.cm-news-pro__title a:hover {
    color: var(--cm-primary);
}

.cm-news-pro__excerpt {
    flex: 1;
    padding: 0.5rem 1.1rem 0;
    margin: 0;
    font-size: 0.9rem;
    color: var(--cm-muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cm-news-pro__more {
    padding: 1rem 1.1rem 1.15rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--cm-primary);
    text-decoration: none;
}

.cm-news-pro__more:hover {
    color: var(--cm-primary-dark);
}

/* CTA 通栏 */
.cm-cta-banner {
    padding: 2.5rem 0 3rem;
    background: #ffffff;
}

.cm-cta-banner__panel {
    background: var(--cm-primary);
    color: #fff;
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 3.25rem);
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 109, 126, 0.25);
}

.cm-cta-banner__title {
    font-size: clamp(1.5rem, 3.2vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cm-cta-banner__desc {
    max-width: 36rem;
    margin: 0 auto 1.5rem;
    opacity: 0.95;
    line-height: 1.65;
}

.cm-cta-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.cm-cta-banner__btn {
    border-radius: 6px;
    font-weight: 600;
    padding: 0.55rem 1.35rem;
}

.cm-cta-banner__btn--solid {
    background: #fff !important;
    color: var(--cm-primary) !important;
    border: none;
}

.cm-cta-banner__btn--solid:hover {
    background: #f1f3f5 !important;
    color: var(--cm-primary-dark) !important;
}

.cm-cta-banner__btn--outline {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.85) !important;
}

.cm-cta-banner__btn--outline:hover {
    background: rgba(255, 255, 255, 0.12) !important;
}

/* 页脚 */
.cm-footer-pro {
    background: var(--cm-bg);
    border-top: 1px solid var(--cm-border);
    color: var(--cm-muted);
}

.cm-footer-pro__brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--cm-text);
    margin-bottom: 0.75rem;
}

.cm-footer-pro__about {
    font-size: 0.9rem;
    line-height: 1.65;
    max-width: 22rem;
}

.cm-footer-pro__soc {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--cm-surface);
    border: 1px solid var(--cm-border);
    color: var(--cm-muted);
}

.cm-footer-pro__soc:hover {
    color: var(--cm-primary);
    border-color: var(--cm-primary);
}

.cm-footer-pro__col-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.02em;
    color: var(--cm-text);
    margin-bottom: 0.75rem;
}

.cm-footer-pro__list a {
    color: var(--cm-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.cm-footer-pro__list a:hover {
    color: var(--cm-primary);
}

.cm-footer-pro__list li {
    margin-bottom: 0.35rem;
}

.cm-footer-pro__aside {
    line-height: 1.55;
    max-width: 18rem;
}

.cm-footer-pro__bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--cm-border);
    font-size: 0.85rem;
}

.cm-footer-pro__bar--simple {
    justify-content: center;
    text-align: center;
}

.cm-footer-pro__powered {
    margin-top: 1rem;
}

.cm-footer-pro__powered a {
    color: var(--cm-muted);
}

/* —— 首页滚动动效（轻量） —— */
.cm-reveal {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition: opacity 0.55s ease, transform 0.55s ease;
    will-change: opacity, transform;
}

.cm-reveal[data-cm-reveal="up"] {
    transform: translate3d(0, 18px, 0);
}

.cm-reveal.cm-reveal--in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.cm-reveal[data-cm-delay="1"] {
    transition-delay: 0.08s;
}

.cm-reveal[data-cm-delay="2"] {
    transition-delay: 0.14s;
}

.cm-reveal[data-cm-delay="3"] {
    transition-delay: 0.2s;
}

.cm-reveal[data-cm-delay="4"] {
    transition-delay: 0.26s;
}

.cm-reveal[data-cm-delay="5"] {
    transition-delay: 0.32s;
}

.cm-reveal[data-cm-delay="6"] {
    transition-delay: 0.38s;
}

@keyframes cm-float-soft {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -5px, 0);
    }
}

@media (min-width: 992px) {
    .cm-motion-float.cm-reveal--in {
        animation: cm-float-soft 4.8s ease-in-out infinite;
    }

    .cm-showcase__float--2.cm-motion-float.cm-reveal--in {
        animation-delay: 0.7s;
    }
}

@media (max-width: 991.98px) {
    .cm-reveal {
        transform: translate3d(0, 12px, 0);
        transition-duration: 0.36s;
    }

    .cm-motion-float.cm-reveal--in {
        animation: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cm-reveal,
    .cm-reveal[data-cm-reveal="up"],
    .cm-reveal.cm-reveal--in {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .cm-motion-float.cm-reveal--in {
        animation: none !important;
    }
}
