.cx-home {
  --cx-ink: #203042;
  --cx-muted: #77756e;
  --cx-paper: #f5f0e7;
  --cx-white: #fffdf9;
  --cx-line: #e7ddcf;
  --cx-navy: #173451;
  --cx-gold: #b68b45;
  background: var(--cx-paper);
  color: var(--cx-ink);
}

.cx-container {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.cx-kicker {
  font-size: 10px;
  color: var(--cx-gold);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
}

.cx-hero {
  padding: 118px 0 28px;
  background:
    radial-gradient(circle at 84% 10%, rgba(201, 167, 106, .18), transparent 30%),
    linear-gradient(180deg, #f8f4ec 0%, #f2ece2 100%);
}

.cx-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 64px;
  align-items: center;
}

.cx-hero-copy h1 {
  margin: 15px 0 18px;
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.12;
  letter-spacing: 1px;
  font-weight: 400;
}

.cx-hero-copy > p {
  max-width: 570px;
  color: var(--cx-muted);
  font-size: 15px;
  line-height: 1.9;
}

.cx-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.cx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid var(--cx-navy);
  background: var(--cx-navy);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  transition: transform .2s ease, background .2s ease;
}

.cx-btn:hover { transform: translateY(-2px); background: #21496d; }
.cx-btn.ghost { background: transparent; color: var(--cx-navy); border-color: #c9baa4; }
.cx-btn.ghost:hover { background: #fff; }

.cx-search-form {
  display: flex;
  gap: 8px;
  margin-top: 32px;
  padding: 7px;
  max-width: 620px;
  background: #fff;
  border: 1px solid var(--cx-line);
  box-shadow: 0 16px 38px rgba(30, 43, 56, .07);
}

.cx-search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0 12px;
  font: inherit;
  color: var(--cx-ink);
}

.cx-search-form button {
  border: 0;
  background: var(--cx-navy);
  color: #fff;
  min-height: 42px;
  padding: 0 18px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}

.cx-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.cx-quick-links a {
  color: #867154;
  font-size: 11px;
  text-decoration: none;
  border-bottom: 1px solid #d7c4a7;
  padding-bottom: 2px;
}

.cx-hero-art {
  min-height: 560px;
  position: relative;
}

.cx-art-main {
  position: absolute;
  inset: 0 0 70px 16%;
  overflow: hidden;
  background: #dfd4c4;
}

.cx-art-main img,
.cx-art-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cx-art-small {
  position: absolute;
  width: 38%;
  height: 210px;
  overflow: hidden;
  border: 8px solid #f7f2e9;
  box-shadow: 0 14px 30px rgba(30, 40, 50, .13);
}

.cx-art-small.a { left: 0; bottom: 8px; }
.cx-art-small.b { right: -8px; bottom: 30px; height: 180px; }

.cx-art-note {
  position: absolute;
  left: 0;
  top: 18px;
  width: 180px;
  padding: 16px;
  background: rgba(255, 253, 248, .93);
  border: 1px solid var(--cx-line);
  backdrop-filter: blur(8px);
  font-size: 10px;
  line-height: 1.65;
  color: #746b5e;
}

.cx-art-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--cx-navy);
  font-size: 12px;
  letter-spacing: 1px;
}

.cx-section { padding: 78px 0; }
.cx-section.white { background: var(--cx-white); }
.cx-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.cx-section-head h2 {
  margin: 7px 0 0;
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 400;
  letter-spacing: 1px;
}

.cx-section-head p {
  max-width: 480px;
  margin: 0;
  color: var(--cx-muted);
  font-size: 13px;
  line-height: 1.8;
}

.cx-section-head .cx-more {
  color: var(--cx-gold);
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.cx-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cx-spec-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  text-decoration: none;
  background: #e8dfd2;
}

.cx-spec-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.cx-spec-card:hover img { transform: scale(1.05); }
.cx-spec-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(12, 28, 44, .76) 100%);
}

.cx-spec-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  color: #fff;
}

.cx-spec-label b {
  display: block;
  font-size: 18px;
  letter-spacing: 1px;
}

.cx-spec-label span {
  display: block;
  font-size: 10px;
  opacity: .7;
  margin-top: 2px;
  letter-spacing: 1px;
}

.cx-series-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cx-series-card {
  display: block;
  background: #fff;
  border: 1px solid var(--cx-line);
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}

.cx-series-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(32, 42, 52, .1);
}

.cx-series-cover {
  aspect-ratio: 1.24;
  overflow: hidden;
  background: #ede6da;
}

.cx-series-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.cx-series-card:hover img { transform: scale(1.04); }

.cx-series-body { padding: 14px 15px 16px; }

.cx-series-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cx-series-body h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.cx-series-tag {
  flex: 0 0 auto;
  font-size: 9px;
  color: #8b6434;
  background: #f5ead8;
  padding: 2px 7px;
}

.cx-series-body p {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--cx-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cx-series-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid #eee6db;
  color: #9b9388;
  font-size: 10px;
}

.cx-series-foot span:last-child { color: var(--cx-gold); }

.cx-series-loading {
  grid-column: 1 / -1;
  padding: 48px;
  text-align: center;
  color: var(--cx-muted);
  font-size: 13px;
}

.cx-ai-band {
  padding: 58px 0;
  background: linear-gradient(135deg, #142e4b 0%, #234b6c 100%);
  color: #fff;
}

.cx-ai-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 48px;
}

.cx-ai-band h2 {
  margin: 8px 0 10px;
  font-family: Georgia, "Songti SC", "SimSun", serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
}

.cx-ai-band p { color: rgba(255,255,255,.7); line-height: 1.8; }
.cx-ai-band .cx-kicker { color: #e4cc9e; }
.cx-ai-card {
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  padding: 22px;
}

.cx-ai-card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 8px;
}

.cx-ai-card p { margin: 0 0 16px; font-size: 12px; }
.cx-ai-card .cx-btn { width: 100%; background: #fff; color: var(--cx-navy); border-color: #fff; }

.cx-story-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 18px;
}

.cx-story-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--cx-line);
  overflow: hidden;
}

.cx-story-cover {
  height: 210px;
  background: #e9e2d6;
  overflow: hidden;
}

.cx-story-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}

.cx-story-card:hover img { transform: scale(1.04); }
.cx-story-cover.fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #24463b, #9aad88);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 28px;
  letter-spacing: 6px;
}

.cx-story-body { padding: 16px 18px 20px; }
.cx-story-date { color: var(--cx-gold); font-size: 10px; letter-spacing: 1px; }
.cx-story-body h3 { margin: 7px 0 8px; font-size: 17px; line-height: 1.5; }
.cx-story-body p { margin: 0; color: var(--cx-muted); font-size: 11px; line-height: 1.75; }

.cx-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 34px 0;
  border-top: 1px solid var(--cx-line);
  border-bottom: 1px solid var(--cx-line);
}

.cx-stat { text-align: center; border-right: 1px solid var(--cx-line); }
.cx-stat:last-child { border-right: 0; }
.cx-stat b { display: block; font-family: Georgia, serif; font-size: 30px; font-weight: 400; color: var(--cx-navy); }
.cx-stat span { display: block; margin-top: 4px; font-size: 10px; letter-spacing: 1px; color: var(--cx-muted); }

@media (max-width: 1050px) {
  .cx-series-grid { grid-template-columns: repeat(3, 1fr); }
  .cx-story-grid { grid-template-columns: 1fr 1fr; }
  .cx-story-card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .cx-container { width: min(100% - 32px, 680px); }
  .cx-hero { padding-top: 98px; }
  .cx-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .cx-hero-art { min-height: 420px; }
  .cx-art-main { left: 9%; }
  .cx-ai-grid { grid-template-columns: 1fr; }
  .cx-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .cx-series-grid { grid-template-columns: repeat(2, 1fr); }
  .cx-section { padding: 58px 0; }
}

@media (max-width: 560px) {
  .cx-hero-copy h1 { font-size: 39px; }
  .cx-search-form { flex-direction: column; background: transparent; border: 0; box-shadow: none; padding: 0; }
  .cx-search-form input { background: #fff; border: 1px solid var(--cx-line); min-height: 46px; padding: 0 14px; }
  .cx-search-form button { width: 100%; }
  .cx-hero-art { min-height: 350px; }
  .cx-art-main { inset: 0 0 58px 6%; }
  .cx-art-small { width: 42%; height: 150px; }
  .cx-art-small.b { height: 125px; bottom: 10px; }
  .cx-art-note { display: none; }
  .cx-section-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .cx-story-grid { grid-template-columns: 1fr; }
  .cx-story-card:first-child { grid-column: auto; }
  .cx-stats { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .cx-stat:nth-child(2) { border-right: 0; }
}
