/*
Theme Name: CosmoxOne
Theme URI: https://github.com/cosmoxone
Author: CosmoxOne
Author URI: https://github.com/cosmoxone
Description: CosmoxOne 官网主题 —— 推动超级自动化（AGI to SI）在企业落地。面向 3–100 人团队的 AI 产品与解决方案官网，深色科技风 + 内容页卡片体系。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: MIT
Text Domain: cosmox
*/

:root {
  --cx-ink: #0b1220;
  --cx-ink-2: #1a2436;
  --cx-body: #39445a;
  --cx-muted: #6b7690;
  --cx-line: #e5e9f2;
  --cx-bg: #ffffff;
  --cx-bg-soft: #f5f7fc;
  --cx-dark: #070b18;
  --cx-dark-2: #0d1428;
  --cx-blue: #2f5bff;
  --cx-violet: #7a4dff;
  --cx-cyan: #22c3e6;
  --cx-grad: linear-gradient(135deg, #2f5bff 0%, #7a4dff 100%);
  --cx-grad-text: linear-gradient(120deg, #4d79ff, #9a6bff 60%, #22c3e6);
  --cx-radius: 16px;
  --cx-shadow: 0 10px 40px rgba(16, 24, 48, .08);
  --cx-shadow-lg: 0 24px 70px rgba(16, 24, 48, .16);
  --cx-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --cx-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--cx-font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--cx-body);
  background: var(--cx-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--cx-blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cx-violet); }

h1, h2, h3, h4, h5 {
  font-family: var(--cx-font);
  color: var(--cx-ink);
  line-height: 1.3;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1em; }

::selection { background: rgba(47, 91, 255, .18); }

/* ---------- 通用布局 ---------- */
.cx-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.cx-section { padding: 88px 0; }
.cx-section--alt { background: var(--cx-bg-soft); }
.cx-section--tight { padding: 56px 0; }
.cx-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cx-blue); margin-bottom: 14px;
}
.cx-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--cx-grad); border-radius: 2px; }
.cx-h2 { margin-bottom: 14px; }
.cx-sub { max-width: 760px; color: var(--cx-muted); font-size: 1.06rem; margin-bottom: 44px; }
.cx-center { text-align: center; }
.cx-center .cx-sub { margin-left: auto; margin-right: auto; }
.cx-center .cx-eyebrow::before { display: none; }

/* ---------- 按钮 ---------- */
.cx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s, border-color .18s;
}
.cx-btn:hover { transform: translateY(-2px); color: inherit; }
.cx-btn--primary { background: var(--cx-grad); color: #fff; box-shadow: 0 10px 28px rgba(47, 91, 255, .35); }
.cx-btn--primary:hover { color: #fff; box-shadow: 0 14px 34px rgba(47, 91, 255, .45); }
.cx-btn--ghost { border-color: #c9d2e6; color: var(--cx-ink); background: #fff; }
.cx-btn--ghost:hover { border-color: var(--cx-blue); color: var(--cx-blue); }
.cx-btn--light { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.cx-btn--light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .14); }

/* ---------- 头部 ---------- */
.cx-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(11, 18, 32, .07);
  transition: box-shadow .25s;
}
.cx-header.is-scrolled { box-shadow: 0 8px 30px rgba(11, 18, 32, .08); }
.cx-header__inner { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.cx-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.18rem; color: var(--cx-ink); letter-spacing: -.02em; }
.cx-brand:hover { color: var(--cx-ink); }
.cx-brand__mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--cx-grad);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 800; letter-spacing: 0;
  box-shadow: 0 6px 16px rgba(47, 91, 255, .35);
}
.cx-brand__tag {
  font-size: .66rem; font-weight: 700; letter-spacing: .08em;
  color: #7a4dff; border: 1px solid rgba(122, 77, 255, .35);
  padding: 2px 8px; border-radius: 999px; white-space: nowrap;
}
.cx-header__cta { margin-left: auto; }

/* 导航 */
.cx-nav-toggle { display: none; }
.cx-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.cx-nav li { position: relative; }
.cx-nav a {
  display: block; padding: 9px 14px; border-radius: 10px;
  color: var(--cx-ink-2); font-weight: 500; font-size: .95rem;
}
.cx-nav a:hover { color: var(--cx-blue); background: rgba(47, 91, 255, .07); }
.cx-nav .current-menu-item > a,
.cx-nav .current_page_item > a { color: var(--cx-blue); background: rgba(47, 91, 255, .08); font-weight: 600; }
.cx-nav .menu-item-has-children > a::after { content: "▾"; font-size: .7em; margin-left: 5px; opacity: .6; }
.cx-nav .sub-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 230px; padding: 8px;
  background: #fff; border: 1px solid var(--cx-line); border-radius: 14px;
  box-shadow: var(--cx-shadow-lg); flex-direction: column; gap: 2px;
}
.cx-nav li:hover > .sub-menu, .cx-nav li:focus-within > .sub-menu { display: flex; }
.cx-nav .sub-menu a { padding: 9px 14px; border-radius: 9px; font-size: .92rem; }

/* ---------- 首页 Hero ---------- */
.cx-hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1100px 520px at 78% -10%, rgba(122, 77, 255, .35), transparent 60%),
              radial-gradient(900px 460px at 8% 12%, rgba(34, 195, 230, .22), transparent 55%),
              radial-gradient(700px 500px at 55% 120%, rgba(47, 91, 255, .28), transparent 60%),
              var(--cx-dark);
  color: #dbe3f4; padding: 110px 0 96px;
}
.cx-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
}
.cx-hero .cx-wrap { position: relative; }
.cx-hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(140, 160, 255, .35); border-radius: 999px;
  background: rgba(47, 91, 255, .12);
  color: #b9c8ff; font-size: .84rem; font-weight: 600; letter-spacing: .04em;
  padding: 7px 16px; margin-bottom: 26px;
}
.cx-hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #22e0a8; box-shadow: 0 0 12px #22e0a8; }
.cx-hero__title {
  color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.18;
  letter-spacing: -.02em; max-width: 860px; margin-bottom: 22px;
}
.cx-hero__title .grad {
  background: var(--cx-grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cx-hero__sub { font-size: clamp(1.02rem, 1.6vw, 1.22rem); color: #9fb0d4; max-width: 760px; margin-bottom: 38px; }
.cx-hero__sub strong { color: #e8eeff; font-weight: 600; }
.cx-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }
.cx-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; color: #8798bd; font-size: .88rem; }
.cx-hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.cx-hero__meta span::before { content: "✓"; color: #22e0a8; font-weight: 700; }

/* ---------- 数据条 ---------- */
.cx-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  margin-top: -34px; position: relative; z-index: 2;
}
.cx-kpi {
  background: #fff; border: 1px solid var(--cx-line); border-radius: var(--cx-radius);
  padding: 24px 22px; box-shadow: var(--cx-shadow);
}
.cx-kpi__num {
  font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em;
  background: var(--cx-grad-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; line-height: 1.15;
}
.cx-kpi__label { font-size: .88rem; color: var(--cx-muted); margin-top: 4px; }

/* ---------- 卡片网格 ---------- */
.cx-grid { display: grid; gap: 22px; }
.cx-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cx-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cx-grid--4 { grid-template-columns: repeat(4, 1fr); }

.cx-card {
  position: relative; background: #fff; border: 1px solid var(--cx-line);
  border-radius: var(--cx-radius); padding: 28px 26px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  display: flex; flex-direction: column;
}
.cx-card:hover { transform: translateY(-5px); box-shadow: var(--cx-shadow-lg); border-color: #cfd9f3; }
.cx-card__icon {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .82rem; color: #fff;
  background: var(--cx-grad); box-shadow: 0 8px 20px rgba(47, 91, 255, .28);
  letter-spacing: .02em;
}
.cx-card__icon--alt { background: linear-gradient(135deg, #22c3e6, #2f5bff); box-shadow: 0 8px 20px rgba(34, 195, 230, .28); }
.cx-card__icon--green { background: linear-gradient(135deg, #0fb98a, #22e0a8); box-shadow: 0 8px 20px rgba(34, 224, 168, .26); }
.cx-card__icon--orange { background: linear-gradient(135deg, #f07b3f, #f5a623); box-shadow: 0 8px 20px rgba(245, 166, 35, .3); }
.cx-card__title { margin-bottom: 8px; font-size: 1.12rem; }
.cx-card__title a { color: var(--cx-ink); }
.cx-card__title a:hover { color: var(--cx-blue); }
.cx-card__text { font-size: .93rem; color: var(--cx-body); flex: 1; }
.cx-card__foot { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cx-card__link { font-weight: 600; font-size: .9rem; color: var(--cx-blue); }
.cx-card__link::after { content: " →"; transition: margin .2s; }
.cx-card__link:hover { color: var(--cx-violet); }
.cx-card__link:hover::after { margin-left: 3px; }

/* ---------- AGI→SI 层级 ---------- */
.cx-levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: lv; }
.cx-level {
  position: relative; border-radius: 14px; padding: 20px 20px 18px;
  background: #fff; border: 1px dashed #ccd5ec; counter-increment: lv;
}
.cx-level::before {
  content: "L" counter(lv - 1); display: inline-block;
  font-family: var(--cx-mono); font-weight: 700; font-size: .78rem;
  color: var(--cx-blue); background: rgba(47, 91, 255, .1);
  border-radius: 7px; padding: 2px 9px; margin-bottom: 10px;
}
.cx-level h3 { font-size: 1.02rem; margin-bottom: 4px; }
.cx-level p { font-size: .85rem; color: var(--cx-muted); margin: 0; }
.cx-level.is-hot {
  border: 1px solid transparent; background:
    linear-gradient(#fff, #fff) padding-box,
    var(--cx-grad) border-box;
  box-shadow: 0 14px 34px rgba(47, 91, 255, .18);
}
.cx-level.is-hot::before { color: #7a4dff; background: rgba(122, 77, 255, .12); }
.cx-level.is-hot .cx-level__flag {
  position: absolute; top: -12px; right: 14px;
  background: var(--cx-grad); color: #fff; font-size: .68rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; letter-spacing: .05em;
}

/* ---------- 流水线 / 流程 ---------- */
.cx-pipeline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cx-pipeline__step {
  background: #fff; border: 1px solid var(--cx-line); border-radius: 999px;
  padding: 9px 18px; font-size: .9rem; font-weight: 600; color: var(--cx-ink-2);
  box-shadow: 0 4px 14px rgba(16, 24, 48, .05);
}
.cx-pipeline__step em { font-style: normal; color: var(--cx-muted); font-weight: 500; font-size: .8rem; display: block; }
.cx-pipeline__arrow { color: #a9b6d6; font-size: 1.05rem; }

.cx-steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; gap: 0; }
.cx-steps li {
  counter-increment: st; position: relative; padding: 0 0 26px 58px;
}
.cx-steps li::before {
  content: counter(st); position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 12px;
  background: rgba(47, 91, 255, .09); color: var(--cx-blue);
  font-weight: 800; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(47, 91, 255, .18);
}
.cx-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 19px; top: 42px; bottom: 4px;
  width: 2px; background: linear-gradient(rgba(47, 91, 255, .28), rgba(47, 91, 255, .05));
}
.cx-steps h3 { margin-bottom: 4px; font-size: 1.05rem; }
.cx-steps p { margin: 0; font-size: .92rem; color: var(--cx-muted); }

/* ---------- 表格 ---------- */
.cx-table-wrap { overflow-x: auto; border: 1px solid var(--cx-line); border-radius: var(--cx-radius); box-shadow: var(--cx-shadow); background: #fff; }
table.cx-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.cx-table th, .cx-table td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--cx-line); vertical-align: top; }
.cx-table thead th {
  background: var(--cx-bg-soft); color: var(--cx-ink); font-weight: 700; font-size: .84rem;
  letter-spacing: .04em; border-bottom: 2px solid #dbe2f2; white-space: nowrap;
}
.cx-table tbody tr:last-child td { border-bottom: none; }
.cx-table tbody tr:hover { background: #fafbfe; }
.cx-table .ok { color: #0a9e6e; font-weight: 700; }
.cx-table .no { color: #b3bccc; }
.cx-table .hl { color: #7a4dff; font-weight: 700; }
.cx-table code { font-family: var(--cx-mono); font-size: .82em; background: rgba(47, 91, 255, .07); padding: 2px 6px; border-radius: 6px; color: #2b4bcc; }

/* ---------- 提示块 / 标签 ---------- */
.cx-callout {
  border-radius: 14px; padding: 22px 26px;
  background: linear-gradient(120deg, rgba(47, 91, 255, .06), rgba(122, 77, 255, .06));
  border: 1px solid rgba(47, 91, 255, .16); border-left: 4px solid;
  border-image: linear-gradient(180deg, #2f5bff, #7a4dff) 1;
}
.cx-callout h3, .cx-callout h4 { margin-bottom: 6px; }
.cx-callout p:last-child { margin-bottom: 0; }
.cx-callout p { font-size: .95rem; }

.cx-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.cx-tag {
  font-size: .8rem; font-weight: 600; color: var(--cx-ink-2);
  background: #fff; border: 1px solid var(--cx-line);
  padding: 5px 13px; border-radius: 999px;
}
.cx-tag--grad { background: rgba(47, 91, 255, .07); border-color: rgba(47, 91, 255, .25); color: #2b4bcc; }

/* ---------- CTA 横幅 ---------- */
.cx-cta {
  position: relative; overflow: hidden; border-radius: 24px;
  background: radial-gradient(700px 300px at 85% -20%, rgba(122, 77, 255, .5), transparent 60%),
              radial-gradient(500px 260px at 10% 120%, rgba(34, 195, 230, .35), transparent 55%),
              var(--cx-dark);
  color: #cfdaf3; padding: 64px 48px; text-align: center;
}
.cx-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cx-cta p { max-width: 640px; margin: 0 auto 30px; color: #9fb0d4; }
.cx-cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---------- 页头（内页） ---------- */
.cx-page-hero {
  background:
    radial-gradient(800px 320px at 80% -30%, rgba(122, 77, 255, .3), transparent 60%),
    radial-gradient(600px 260px at 5% 130%, rgba(34, 195, 230, .2), transparent 55%),
    var(--cx-dark);
  color: #9fb0d4; padding: 72px 0 60px;
}
.cx-page-hero h1 { color: #fff; margin-bottom: 12px; font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.cx-page-hero .cx-page-hero__sub { max-width: 780px; font-size: 1.05rem; margin: 0; }
.cx-page-hero .cx-crumb { font-size: .82rem; letter-spacing: .06em; color: #7d8db4; margin-bottom: 18px; text-transform: uppercase; font-weight: 600; }
.cx-page-hero .cx-crumb a { color: #a8b8e0; }
.cx-page-hero .cx-crumb a:hover { color: #fff; }

/* ---------- 正文排版 ---------- */
.cx-content { padding: 64px 0 88px; }
.cx-content .entry-content { max-width: 860px; }
.cx-content .entry-content > .cx-section { padding: 44px 0; }
.cx-content h2 { margin-top: 1.6em; }
.cx-content h3 { margin-top: 1.4em; }
.cx-content ul, .cx-content ol { padding-left: 1.3em; }
.cx-content li { margin-bottom: .4em; }
.cx-content blockquote {
  margin: 1.6em 0; padding: 14px 22px; border-left: 4px solid var(--cx-blue);
  background: var(--cx-bg-soft); border-radius: 0 12px 12px 0; color: var(--cx-ink-2);
}
.cx-content blockquote p:last-child { margin-bottom: 0; }
.cx-content code { font-family: var(--cx-mono); font-size: .86em; background: rgba(47, 91, 255, .08); padding: 2px 7px; border-radius: 6px; color: #2b4bcc; }
.cx-content pre { background: var(--cx-dark); color: #d7e2fa; padding: 20px 24px; border-radius: 14px; overflow-x: auto; font-size: .85rem; line-height: 1.7; }
.cx-content pre code { background: none; color: inherit; padding: 0; }

/* ---------- 博客 ---------- */
.cx-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cx-post-card { background: #fff; border: 1px solid var(--cx-line); border-radius: var(--cx-radius); padding: 26px; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.cx-post-card:hover { transform: translateY(-4px); box-shadow: var(--cx-shadow-lg); }
.cx-post-card__meta { font-size: .78rem; font-weight: 700; letter-spacing: .06em; color: var(--cx-blue); text-transform: uppercase; margin-bottom: 10px; }
.cx-post-card h2 { font-size: 1.15rem; margin-bottom: 8px; }
.cx-post-card h2 a { color: var(--cx-ink); }
.cx-post-card h2 a:hover { color: var(--cx-blue); }
.cx-post-card p { font-size: .92rem; color: var(--cx-muted); flex: 1; }
.cx-post-card__more { font-weight: 600; font-size: .88rem; margin-top: 14px; }
.cx-single { max-width: 800px; }
.cx-single .cx-single__meta { display: flex; gap: 14px; font-size: .85rem; color: var(--cx-muted); margin-bottom: 26px; }

/* ---------- 页脚 ---------- */
.cx-footer { background: var(--cx-dark); color: #8d9cbf; font-size: .92rem; }
.cx-footer a { color: #aeb9d6; }
.cx-footer a:hover { color: #fff; }
.cx-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding: 66px 0 46px; }
.cx-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: .04em; }
.cx-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cx-footer .cx-brand { color: #fff; margin-bottom: 14px; }
.cx-footer .cx-footer__mission { color: #8d9cbf; font-size: .9rem; max-width: 300px; }
.cx-footer__agisi {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  border: 1px solid rgba(140, 160, 255, .3); border-radius: 999px; padding: 5px 14px;
  color: #b9c8ff; font-size: .78rem; font-weight: 700; letter-spacing: .1em;
}
.cx-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .82rem; color: #6d7c9e; }

/* ---------- 404 ---------- */
.cx-404 { text-align: center; padding: 120px 24px; }
.cx-404 .num { font-size: 6rem; font-weight: 800; background: var(--cx-grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .cx-grid--4, .cx-kpis, .cx-levels { grid-template-columns: repeat(2, 1fr); }
  .cx-post-grid { grid-template-columns: repeat(2, 1fr); }
  .cx-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .cx-section { padding: 64px 0; }
  .cx-grid--2, .cx-grid--3 { grid-template-columns: 1fr; }
  .cx-hero { padding: 80px 0 72px; }
  .cx-cta { padding: 48px 26px; }
  .cx-post-grid { grid-template-columns: 1fr; }

  .cx-header__inner { position: relative; }
  .cx-nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--cx-line);
    background: #fff; margin-left: auto; cursor: pointer; font-size: 1.1rem; color: var(--cx-ink);
  }
  .cx-header__cta { display: none; }
  .cx-nav {
    position: absolute; top: calc(100% + 10px); left: -24px; right: -24px;
    background: #fff; border: 1px solid var(--cx-line); border-radius: 0 0 18px 18px;
    box-shadow: var(--cx-shadow-lg); padding: 10px; display: none; z-index: 99;
  }
  .cx-nav.is-open { display: block; }
  .cx-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .cx-nav a { padding: 12px 14px; }
  .cx-nav .sub-menu { display: flex; position: static; box-shadow: none; border: none; padding: 0 0 0 18px; min-width: 0; background: transparent; }
}
@media (max-width: 560px) {
  .cx-kpis, .cx-levels, .cx-footer__grid { grid-template-columns: 1fr; }
  .cx-brand__tag { display: none; }
}

/* WordPress 核心类 */
.aligncenter { display: block; margin: 1.5em auto; }
.alignleft { float: left; margin: .6em 1.6em 1em 0; }
.alignright { float: right; margin: .6em 0 1em 1.6em; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
}
.wp-caption { max-width: 100%; }
.sticky { position: relative; }
