/*
Theme Name: LX-GEO文旅生成式搜索联合实验室 Production
Theme URI: https://lxgeo.org.cn/
Description: lxgeo.org.cn production child theme for LX-GEO文旅生成式搜索联合实验室.
Author: OpenLX
Template: blocksy
Version: 1.1.0
Text Domain: lxgeo-blocksy-preview
*/

:root {
  --brand-primary: #244E78;
  --brand-secondary: #34A6A0;
  --brand-accent: #D5C74A;
  --brand-surface: #F5F7F6;
  --brand-ink: #202426;
  --brand-muted: color-mix(in srgb, var(--brand-ink) 66%, var(--brand-surface));
  --brand-line: color-mix(in srgb, var(--brand-primary) 18%, var(--brand-surface));
  --brand-shadow: 0 18px 45px color-mix(in srgb, var(--brand-ink) 12%, transparent);
  --brand-heading-font: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --brand-body-font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body.lxgeo-blocksy-preview-site { background: var(--brand-surface); color: var(--brand-ink); font-family: var(--brand-body-font); }
body.lxgeo-blocksy-preview-site a { color: var(--brand-primary); text-underline-offset: .18em; }
body.lxgeo-blocksy-preview-site a:hover, body.lxgeo-blocksy-preview-site a:focus-visible { color: var(--brand-secondary); }
body.lxgeo-blocksy-preview-site h1, body.lxgeo-blocksy-preview-site h2, body.lxgeo-blocksy-preview-site h3 { color: var(--brand-ink); font-family: var(--brand-heading-font); letter-spacing: -.02em; }
body.lxgeo-blocksy-preview-site .site-header, body.lxgeo-blocksy-preview-site header.site-header, body.lxgeo-blocksy-preview-site .ct-header { border-bottom: 1px solid var(--brand-line); background: color-mix(in srgb, var(--brand-surface) 94%, white); }
body.lxgeo-blocksy-preview-site .site-footer, body.lxgeo-blocksy-preview-site footer { border-top: 3px solid var(--brand-primary); }
body.lxgeo-blocksy-preview-site .home .entry-header, body.lxgeo-blocksy-preview-site .home .wp-block-post-title { display: none; }

body.lxgeo-blocksy-preview-site .openlx-home { color: var(--brand-ink); overflow-wrap: anywhere; }
body.lxgeo-blocksy-preview-site .openlx-wrap { box-sizing: border-box; margin: 0 auto; max-width: 1180px; padding-left: 28px; padding-right: 28px; width: 100%; }
body.lxgeo-blocksy-preview-site .openlx-hero { background: linear-gradient(135deg, var(--brand-primary), color-mix(in srgb, var(--brand-primary) 72%, var(--brand-secondary))); color: var(--brand-surface); padding: clamp(64px, 10vw, 128px) 0; }
body.lxgeo-blocksy-preview-site .openlx-hero h1, body.lxgeo-blocksy-preview-site .openlx-hero h2, body.lxgeo-blocksy-preview-site .openlx-hero p { color: inherit; }
body.lxgeo-blocksy-preview-site .openlx-hero-grid { align-items: start; display: grid; gap: clamp(28px, 5vw, 72px); grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); }
body.lxgeo-blocksy-preview-site .openlx-kicker { color: var(--brand-accent); font-size: .76rem; font-weight: 700; letter-spacing: .12em; margin: 0 0 14px; text-transform: uppercase; }
body.lxgeo-blocksy-preview-site .openlx-hero .openlx-kicker { color: color-mix(in srgb, var(--brand-surface) 76%, var(--brand-accent)); }
body.lxgeo-blocksy-preview-site .openlx-lead { font-size: clamp(1.06rem, 1.9vw, 1.3rem); line-height: 1.8; max-width: 48rem; }
body.lxgeo-blocksy-preview-site .openlx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
body.lxgeo-blocksy-preview-site .openlx-btn { background: var(--brand-accent); border: 1px solid var(--brand-accent); color: var(--brand-ink); display: inline-block; font-weight: 700; padding: .78rem 1.12rem; text-decoration: none; }
body.lxgeo-blocksy-preview-site .openlx-btn:hover, body.lxgeo-blocksy-preview-site .openlx-btn:focus-visible { background: var(--brand-surface); border-color: var(--brand-surface); color: var(--brand-primary); }
body.lxgeo-blocksy-preview-site .openlx-btn-secondary { background: transparent; border-color: currentColor; color: inherit; }
body.lxgeo-blocksy-preview-site .openlx-card, body.lxgeo-blocksy-preview-site .openlx-topic-card, body.lxgeo-blocksy-preview-site .openlx-step, body.lxgeo-blocksy-preview-site .openlx-faq-card { background: color-mix(in srgb, var(--brand-surface) 93%, white); border: 1px solid var(--brand-line); box-shadow: none; box-sizing: border-box; padding: 24px; }
body.lxgeo-blocksy-preview-site .openlx-hero .openlx-card { background: color-mix(in srgb, var(--brand-ink) 20%, transparent); border-color: color-mix(in srgb, var(--brand-surface) 28%, transparent); }
body.lxgeo-blocksy-preview-site .openlx-hero .openlx-card h2, body.lxgeo-blocksy-preview-site .openlx-hero .openlx-card p, body.lxgeo-blocksy-preview-site .openlx-hero .openlx-card li { color: inherit; }
body.lxgeo-blocksy-preview-site .openlx-list { margin: 0; padding-left: 1.2em; }
body.lxgeo-blocksy-preview-site .openlx-list li + li { margin-top: .6em; }
body.lxgeo-blocksy-preview-site .openlx-trust-strip { background: var(--brand-ink); color: var(--brand-surface); padding: 17px 0; }
body.lxgeo-blocksy-preview-site .openlx-trust-strip .openlx-wrap { display: flex; flex-wrap: wrap; gap: 12px 30px; justify-content: space-between; }
body.lxgeo-blocksy-preview-site .openlx-band { padding: clamp(48px, 7vw, 88px) 0; }
body.lxgeo-blocksy-preview-site .openlx-band:nth-of-type(even) { background: color-mix(in srgb, var(--brand-primary) 5%, var(--brand-surface)); }
body.lxgeo-blocksy-preview-site .openlx-section-head { margin-bottom: 30px; max-width: 48rem; }
body.lxgeo-blocksy-preview-site .openlx-section-head h2 { font-size: clamp(1.7rem, 3vw, 2.7rem); margin: 0 0 10px; }
body.lxgeo-blocksy-preview-site .openlx-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.lxgeo-blocksy-preview-site .openlx-flow { counter-reset: openlx-step; display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.lxgeo-blocksy-preview-site .openlx-step::before { color: var(--brand-accent); content: "0" counter(openlx-step); counter-increment: openlx-step; display: block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; font-weight: 700; margin-bottom: 18px; }
body.lxgeo-blocksy-preview-site .openlx-faq-card summary { color: var(--brand-primary); cursor: pointer; font-weight: 700; }
body.lxgeo-blocksy-preview-site .openlx-cta { background: var(--brand-secondary); color: var(--brand-ink); padding: clamp(52px, 8vw, 96px) 0; }
body.lxgeo-blocksy-preview-site .openlx-cta h2, body.lxgeo-blocksy-preview-site .openlx-cta p { color: inherit; max-width: 48rem; }
body.lxgeo-blocksy-preview-site .openlx-cta .openlx-kicker { color: color-mix(in srgb, var(--brand-ink) 68%, var(--brand-surface)); }

@media (max-width: 780px) {
  body.lxgeo-blocksy-preview-site .openlx-wrap { padding-left: 18px; padding-right: 18px; }
  body.lxgeo-blocksy-preview-site .openlx-hero-grid, body.lxgeo-blocksy-preview-site .openlx-grid, body.lxgeo-blocksy-preview-site .openlx-flow { grid-template-columns: 1fr; }
  body.lxgeo-blocksy-preview-site .openlx-card, body.lxgeo-blocksy-preview-site .openlx-topic-card, body.lxgeo-blocksy-preview-site .openlx-step, body.lxgeo-blocksy-preview-site .openlx-faq-card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; } }

/* OpenLX formal-launch visual hardening — 2026-08-04 */
body.p5-kadence-preview-site.home .entry-hero,
body.p5-kadence-preview-site.home .page-hero-section,
body.fdd-generatepress-preview-site.home .entry-header,
body.jogeo-blocksy-preview-site.home .hero-section,
body.jogeo-blocksy-preview-site.home [class*="page-title"],
body.o6-neve-preview-site.home .nv-page-title-wrap,
body.o6-neve-preview-site.home .entry-header,
body.lxgeo-blocksy-preview-site.home .hero-section,
body.lxgeo-blocksy-preview-site.home [class*="page-title"] { display: none !important; }

body.p5-kadence-preview-site.home .content-area,
body.fdd-generatepress-preview-site.home .site-content,
body.jogeo-blocksy-preview-site.home .site-main,
body.o6-neve-preview-site.home .nv-content-wrap,
body.lxgeo-blocksy-preview-site.home .site-main { margin: 0 !important; padding: 0 !important; max-width: none !important; }

body.p5-kadence-preview-site.home .content-container,
body.p5-kadence-preview-site.home .entry-content-wrap,
body.fdd-generatepress-preview-site.home .site.grid-container,
body.fdd-generatepress-preview-site.home .site-content,
body.fdd-generatepress-preview-site.home #primary,
body.jogeo-blocksy-preview-site.home .ct-container-full,
body.o6-neve-preview-site.home .container.single-page-container,
body.lxgeo-blocksy-preview-site.home .ct-container-full { max-width: none !important; width: 100% !important; padding: 0 !important; }

body.p5-kadence-preview-site.home article,
body.fdd-generatepress-preview-site.home article,
body.jogeo-blocksy-preview-site.home article,
body.o6-neve-preview-site.home article,
body.lxgeo-blocksy-preview-site.home article { margin: 0 !important; padding: 0 !important; box-shadow: none !important; }

body.fdd-generatepress-preview-site.home #right-sidebar,
body.fdd-generatepress-preview-site.home #left-sidebar { display: none !important; }

.openlx-home .openlx-hero h1 { font-size: clamp(2.15rem, 5vw, 4.4rem); line-height: 1.12; margin: 0 0 20px; max-width: 18ch; }
.openlx-home .openlx-eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; margin: 0 0 16px; text-transform: uppercase; }
.openlx-home .openlx-meta-row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; font-size: .9rem; opacity: .88; }
.openlx-home .openlx-stack { display: grid; gap: 14px; }
.openlx-home .openlx-number { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.openlx-home .openlx-topic-card h3 { margin-top: 0; }
.openlx-home .openlx-topic-card p:last-child { margin-bottom: 0; }

body.p5-kadence-preview-site .p5-path { border-left: 4px solid var(--brand-secondary); display: grid; gap: 0; }
body.p5-kadence-preview-site .p5-path-row { align-items: start; border-bottom: 1px solid var(--brand-line); display: grid; gap: 20px; grid-template-columns: 100px 1fr; padding: 24px 28px; }
body.p5-kadence-preview-site .p5-path-row:last-child { border-bottom: 0; }
body.p5-kadence-preview-site .p5-note { background: var(--brand-accent); color: white; padding: 30px; }
body.p5-kadence-preview-site .p5-note h2, body.p5-kadence-preview-site .p5-note p { color: inherit; }

body.fdd-generatepress-preview-site .fdd-hero { background: var(--brand-surface); color: var(--brand-ink); border-top: 8px solid var(--brand-primary); }
body.fdd-generatepress-preview-site .fdd-hero .openlx-hero-grid { grid-template-columns: minmax(0, 1.55fr) minmax(280px, .45fr); }
body.fdd-generatepress-preview-site .fdd-hero .openlx-brief { border-left: 1px solid var(--brand-line); padding-left: 32px; }
body.fdd-generatepress-preview-site .fdd-index { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--brand-line); }
body.fdd-generatepress-preview-site .fdd-index article { border-bottom: 1px solid var(--brand-line); padding: 28px; }
body.fdd-generatepress-preview-site .fdd-index article:nth-child(odd) { border-right: 1px solid var(--brand-line); }

body.jogeo-blocksy-preview-site .jogeo-fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--brand-line); }
body.jogeo-blocksy-preview-site .jogeo-field { background: white; border-right: 1px solid var(--brand-line); border-bottom: 1px solid var(--brand-line); padding: 24px; }
body.jogeo-blocksy-preview-site .jogeo-field:nth-child(3n) { border-right: 0; }
body.jogeo-blocksy-preview-site .jogeo-ledger { background: var(--brand-ink); color: white; padding: 30px; }
body.jogeo-blocksy-preview-site .jogeo-ledger h2, body.jogeo-blocksy-preview-site .jogeo-ledger h3, body.jogeo-blocksy-preview-site .jogeo-ledger p { color: inherit; }

body.o6-neve-preview-site .o6-matrix { display: grid; gap: 16px; grid-template-columns: repeat(2,minmax(0,1fr)); }
body.o6-neve-preview-site .o6-matrix article { background: color-mix(in srgb, var(--brand-secondary) 9%, white); border-top: 4px solid var(--brand-secondary); padding: 28px; }
body.o6-neve-preview-site .o6-stages { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
body.o6-neve-preview-site .o6-stages article { border-left: 1px solid var(--brand-line); padding: 24px; }
body.o6-neve-preview-site .o6-stages article:first-child { border-left: 0; }

body.lxgeo-blocksy-preview-site .lxgeo-protocol { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); }
body.lxgeo-blocksy-preview-site .lxgeo-protocol article { border-top: 3px solid var(--brand-secondary); padding: 22px 16px; }
body.lxgeo-blocksy-preview-site .lxgeo-log { background: var(--brand-ink); color: white; display: grid; gap: 1px; grid-template-columns: repeat(2,minmax(0,1fr)); }
body.lxgeo-blocksy-preview-site .lxgeo-log article { background: color-mix(in srgb, var(--brand-ink) 94%, white); padding: 26px; }
body.lxgeo-blocksy-preview-site .lxgeo-log h3, body.lxgeo-blocksy-preview-site .lxgeo-log p { color: inherit; }

@media (max-width: 780px) {
  .openlx-home .openlx-hero { padding: 52px 0; }
  .openlx-home .openlx-hero h1 { font-size: clamp(2rem, 10vw, 3rem); }
  body.p5-kadence-preview-site .p5-path-row { grid-template-columns: 1fr; padding: 22px; }
  body.fdd-generatepress-preview-site .fdd-hero .openlx-hero-grid,
  body.fdd-generatepress-preview-site .fdd-index,
  body.jogeo-blocksy-preview-site .jogeo-fields,
  body.o6-neve-preview-site .o6-matrix,
  body.o6-neve-preview-site .o6-stages,
  body.lxgeo-blocksy-preview-site .lxgeo-protocol,
  body.lxgeo-blocksy-preview-site .lxgeo-log { grid-template-columns: 1fr; }
  body.fdd-generatepress-preview-site .fdd-hero .openlx-brief { border-left: 0; border-top: 1px solid var(--brand-line); padding: 24px 0 0; }
  body.fdd-generatepress-preview-site .fdd-index article:nth-child(odd),
  body.jogeo-blocksy-preview-site .jogeo-field,
  body.o6-neve-preview-site .o6-stages article { border-right: 0; border-left: 0; border-bottom: 1px solid var(--brand-line); }
}
