/* CC翻译 brand CSS. Prefix: ccf-. Version 1.0.12. Bump enqueue version only when this file changes. */
:root {
  --ccf-blue: #3758f9;
  --ccf-blue-600: #2c48d9;
  --ccf-blue-700: #243cc0;
  --ccf-ink: #152033;
  --ccf-body: #3a4558;
  --ccf-muted: #5c6b80;
  --ccf-line: #e6eaf2;
  --ccf-soft: #f3f6ff;
  --ccf-soft-2: #eef2fc;
  --ccf-footer: #101826;
  --ccf-footer-text: #e8edf7;
  --ccf-footer-muted: #c5cde0;
  --ccf-white: #ffffff;
  --ccf-max: 1120px;
  --ccf-radius: 16px;
  --wp--preset--color--primary: #3758f9;
  --wp--preset--color--secondary: #4b6afb;
  --wp--preset--color--foreground: #3758f9;
  --wp--preset--color--tertiary: #f3f6ff;
  --wp--preset--color--heading: #152033;
  --wp--preset--color--body: #3a4558;
}

html { scroll-behavior: smooth; }

body.wp-theme-spectra-one,
body {
  color: var(--ccf-body);
  background: var(--ccf-white);
  font-family: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.7;
}

/* Content must stay visible even if theme scripts fail. No entrance hide. */
body.wp-theme-spectra-one .wp-site-blocks,
body.wp-theme-spectra-one .wp-block-group,
body.wp-theme-spectra-one .wp-block-image,
body.wp-theme-spectra-one .ccf-section,
body.wp-theme-spectra-one .ccf-hero,
body.wp-theme-spectra-one [class*="swt-"],
.ccf-reveal,
[data-aos],
.has-opacity-0 {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
}

/* Spectra One adds block-gap margin between header / main / footer. */
body.wp-theme-spectra-one .wp-site-blocks > * {
  margin-block-start: 0;
  margin-block-end: 0;
}
body.wp-theme-spectra-one header.wp-block-template-part,
body.wp-theme-spectra-one main.ccf-main,
body.wp-theme-spectra-one footer.wp-block-template-part {
  margin: 0;
}

body .is-layout-constrained > .ccf-header,
body .is-layout-constrained > .ccf-footer,
body .is-layout-constrained > .ccf-hero,
body .is-layout-constrained > .ccf-section,
body .is-layout-constrained > .ccf-band,
body .is-layout-constrained > .ccf-page-hero,
body .ccf-breakout {
  max-width: none;
  width: 100%;
}

.ccf-wrap {
  width: min(var(--ccf-max), calc(100% - 40px));
  margin-inline: auto;
}

/* ----- Header (one style, light, sitewide) ----- */
.ccf-header,
.wp-block-group.ccf-header {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.2) blur(16px);
  backdrop-filter: saturate(1.2) blur(16px);
  border-bottom: 1px solid var(--ccf-line);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 !important;
}

.ccf-header__bar {
  min-height: 72px;
  width: min(var(--ccf-max), calc(100% - 40px));
  margin-inline: auto;
  gap: 20px;
}

.ccf-logo,
.ccf-logo img,
.ccf-header .ccf-logo img,
.site-logo-img img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.ccf-logo figcaption { display: none; }
.ccf-logo a { display: inline-flex; line-height: 0; }

.ccf-nav,
.ccf-header .wp-block-navigation {
  flex: 1 1 auto;
}

.ccf-header .wp-block-navigation-item a,
.ccf-header .wp-block-navigation-item__content {
  color: var(--ccf-ink) !important;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
}

.ccf-header .wp-block-navigation-item a:hover {
  color: var(--ccf-blue) !important;
  background: var(--ccf-soft);
}

.ccf-header .wp-block-buttons,
.ccf-header-cta { margin: 0; }

.ccf-btn .wp-block-button__link,
a.ccf-btn,
.ccf-btn-primary,
.ccf-header-cta .wp-block-button__link {
  background: var(--ccf-blue) !important;
  color: var(--ccf-white) !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  text-decoration: none !important;
  box-shadow: none !important;
  line-height: 1.3 !important;
  position: relative;
  overflow: hidden;
  transition: background .2s ease, transform .2s ease;
}

.ccf-btn .wp-block-button__link:hover,
a.ccf-btn:hover,
.ccf-header-cta .wp-block-button__link:hover {
  background: var(--ccf-blue-600) !important;
  color: var(--ccf-white) !important;
}

a.ccf-btn-ghost,
.ccf-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ccf-ink);
  border: 1px solid var(--ccf-line);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

a.ccf-btn-ghost:hover { border-color: var(--ccf-blue); color: var(--ccf-blue); }

.ccf-hero-actions,
.ccf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

/* ----- Typography / section titles (centered by default) ----- */
.ccf-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ccf-blue);
  text-align: center;
}

.ccf-h1, .ccf-hero h1, .ccf-page-hero h1 {
  margin: 0 0 16px;
  color: var(--ccf-ink);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  letter-spacing: -0.02em;
}
.ccf-hero .ccf-h1,
.ccf-hero h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.28em 0.35em;
  flex-wrap: wrap;
  font-size: clamp(2.9rem, 6.4vw, 4.75rem);
}
.ccf-hero .ccf-h1-icon {
  width: 1em;
  height: 1em;
  display: block;
  flex: none;
  background: transparent;
  box-shadow: none;
  border: 0;
}
.ccf-hero .ccf-h1-accent {
  color: #5770FB;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .ccf-hero .ccf-h1-accent {
    background-image: linear-gradient(90deg, #4383FF 0%, #5770FB 50%, #6A5BF5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}


.ccf-h2, .ccf-section h2 {
  margin: 0 0 12px;
  color: var(--ccf-ink);
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.ccf-lead, .ccf-page-hero .ccf-lead, .ccf-hero .ccf-lead, .ccf-section .ccf-intro {
  margin: 0 auto;
  max-width: 42rem;
  color: var(--ccf-body);
  font-size: 1.05rem;
  text-align: center;
}
.ccf-hero .ccf-lead {
  max-width: none;
  line-height: 1.75;
}

.ccf-section { padding: 88px 0; }
.ccf-section--tight { padding: 56px 0; }
.ccf-section--soft { background: var(--ccf-soft); }

/* ----- Hero ----- */
.ccf-hero {
  position: relative;
  padding: 72px 0 24px;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(55, 88, 249, 0.10), transparent 60%),
    radial-gradient(700px 380px at 0% 20%, rgba(55, 88, 249, 0.06), transparent 55%),
    #fff;
}

.ccf-hero .ccf-wrap {
  text-align: center;
  width: min(1280px, calc(100% - 40px));
}

.ccf-ui {
  display: block;
  margin: 48px auto 0;
  width: min(960px, 100%);
  background: transparent;
  box-shadow: none;
  border: 0;
  filter: drop-shadow(0 18px 32px rgba(21, 32, 51, 0.16));
}

.ccf-ui img {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
  box-shadow: none;
  border: 0;
}

/* ----- Selling points: no decorative numbers ----- */
.ccf-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 24px;
  margin-top: 40px;
}

.ccf-point {
  background: var(--ccf-white);
  border: 1px solid var(--ccf-line);
  border-radius: var(--ccf-radius);
  padding: 22px 22px 20px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.ccf-point h3 {
  margin: 0 0 8px;
  color: var(--ccf-ink);
  font-size: 1.08rem;
  font-weight: 700;
  text-align: left;
}

.ccf-point p { margin: 0; color: var(--ccf-body); text-align: left; font-size: 0.98rem; }


/* ----- Zigzag features ----- */
.ccf-zigzag { padding: 36px 0; }
.ccf-zig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
}
.ccf-zig--flip { direction: rtl; }
.ccf-zig--flip > * { direction: ltr; }
.ccf-zig .ccf-copy h2,
.ccf-zig .ccf-copy .ccf-kicker,
.ccf-zig .ccf-copy p {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
}
.ccf-zig .ccf-copy p { color: var(--ccf-body); font-size: 1.02rem; }

/* ----- Scenarios: tighter band ----- */
.ccf-scenes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.ccf-scene {
  background: var(--ccf-white);
  border-radius: 14px;
  padding: 22px 20px;
  border: 1px solid var(--ccf-line);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ccf-scene h3 {
  margin: 0 0 8px;
  color: var(--ccf-ink);
  font-size: 1.05rem;
  text-align: left;
}
.ccf-scene p { margin: 0; text-align: left; }

/* ----- Download band ----- */
.ccf-download {
  position: relative;
  overflow: hidden;
  background: var(--ccf-ink);
  color: var(--ccf-footer-text);
  padding: 72px 0;
  text-align: center;
}
.ccf-download .ccf-wrap { position: relative; z-index: 1; }
.ccf-download .ccf-ico { margin: 0 auto 16px; }
.ccf-download .ccf-kicker { color: #9db0ff; }
.ccf-download h2, .ccf-download p { color: var(--ccf-white); }
.ccf-download p { max-width: 42rem; margin-left: auto; margin-right: auto; color: var(--ccf-footer-muted); }

/* ----- Blog grid ----- */
.ccf-blog .ccf-more {
  display: block;
  text-align: center;
  margin: 8px 0 28px;
  color: var(--ccf-blue);
  font-weight: 600;
  text-decoration: none;
}
.ccf-blog .ccf-more:hover { text-decoration: underline; }
section.ccf-section.ccf-blog {
  padding-bottom: 8px;
}
.ccf-blog-embed {
  width: min(var(--ccf-max), calc(100% - 40px));
  max-width: var(--ccf-max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 0 88px !important;
}
body.wp-theme-spectra-one .ccf-blog .wp-block-post-template,
body.wp-theme-spectra-one .ccf-blog-embed .wp-block-post-template,
.ccf-blog .wp-block-post-template,
.ccf-blog-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.ccf-blog .wp-block-post-template > li,
.ccf-blog .wp-block-post {
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  box-sizing: border-box;
  background: var(--ccf-white);
  border: 1px solid var(--ccf-line);
  border-radius: var(--ccf-radius);
  padding: 10px 10px 20px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ccf-blog .wp-block-post-featured-image {
  display: block;
  margin: 0 0 4px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ccf-soft);
}
.ccf-blog .wp-block-post-featured-image a,
.ccf-blog .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}
.ccf-blog .wp-block-post-title,
.ccf-blog .wp-block-post-title a {
  display: block;
  color: var(--ccf-ink);
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  padding: 10px 8px 0;
}
.ccf-blog .wp-block-post-date {
  display: block;
  color: var(--ccf-muted);
  font-size: 13px;
  padding: 6px 8px 0;
  white-space: nowrap;
}
.ccf-empty-blog {
  text-align: center;
  color: var(--ccf-muted);
  margin: 8px 0 0;
}

/* ----- FAQ centered ----- */
.ccf-faq { text-align: center; }
.ccf-faq-list {
  max-width: 42rem;
  margin: 36px auto 0;
  display: grid;
  gap: 22px;
}
.ccf-faq-item {
  text-align: center;
  background: var(--ccf-white);
  border: 1px solid var(--ccf-line);
  border-radius: var(--ccf-radius);
  padding: 22px 24px 20px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ccf-faq-item .ccf-ico { margin: 0 auto 12px; }
.ccf-faq-item h3,
.ccf-faq-item .ccf-q {
  margin: 0 0 8px;
  color: var(--ccf-ink);
  font-size: 1.12rem;
  font-weight: 700;
  text-align: center;
}
.ccf-faq-item p,
.ccf-faq-item .ccf-a {
  margin: 0;
  color: var(--ccf-body);
  text-align: center;
}
.ccf-faq-more { margin-top: 28px; text-align: center; }
.ccf-faq-more a { color: var(--ccf-blue); font-weight: 600; text-decoration: none; }
.ccf-faq-more a:hover { text-decoration: underline; }

/* ----- Page hero ----- */
.ccf-page-hero {
  padding: 72px 0 40px;
  background: linear-gradient(180deg, var(--ccf-soft) 0%, #fff 100%);
  text-align: center;
}

.ccf-platforms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 18rem));
  gap: 20px;
  justify-content: center;
  margin: 40px auto 0;
}
a.ccf-platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 196px;
  padding: 28px 20px 24px;
  border: 1px solid var(--ccf-line);
  border-radius: 20px;
  background: var(--ccf-white);
  color: var(--ccf-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
a.ccf-platform:hover {
  border-color: var(--ccf-blue);
  color: var(--ccf-ink);
  box-shadow: 0 10px 28px rgba(21, 32, 51, 0.08);
  transform: translateY(-2px);
}
.ccf-platform__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
}
.ccf-platform__mark {
  width: 48px;
  height: 48px;
  display: block;
}
.ccf-platform__name {
  text-align: center;
}
.ccf-platform__cta {
  margin-top: 4px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--ccf-soft);
  color: var(--ccf-blue);
  font-size: 0.88rem;
  font-weight: 600;
}
a.ccf-platform:hover .ccf-platform__cta {
  background: var(--ccf-blue);
  color: #fff;
}

/* ----- Legal / prose pages ----- */
.ccf-prose {
  max-width: 44rem;
  margin: 0 auto;
  padding: 12px 0 80px;
  color: var(--ccf-body);
}
.ccf-prose h2 {
  margin: 2.2em 0 0.7em;
  color: var(--ccf-ink);
  font-size: 1.35rem;
  text-align: left;
}
.ccf-prose p, .ccf-prose li { font-size: 1rem; }
.ccf-prose a { color: var(--ccf-blue); }
.ccf-prose ul { padding-left: 1.2em; }


/* ----- Icons (inline SVG, currentColor) ----- */
.ccf-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 0 14px;
  border-radius: 14px;
  background: var(--ccf-soft);
  color: var(--ccf-blue);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.ccf-ico svg {
  width: 24px;
  height: 24px;
  display: block;
}
.ccf-ico--lg {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  margin: 0 auto 18px;
}
.ccf-ico--lg svg { width: 30px; height: 30px; }
.ccf-ico--on-dark {
  background: rgba(255, 255, 255, 0.10);
  color: #c9d4ff;
}
.ccf-page-hero .ccf-ico { margin-left: auto; margin-right: auto; }

.ccf-point:hover,
.ccf-scene:hover,
.ccf-step:hover,
.ccf-about-card:hover,
.ccf-faq-item:hover,
.ccf-blog .wp-block-post-template > li:hover,
.ccf-blog .wp-block-post:hover {
  border-color: #c5d0fb;
  box-shadow: 0 12px 28px rgba(55, 88, 249, 0.12);
  transform: translateY(-3px);
}
.ccf-point:hover .ccf-ico,
.ccf-scene:hover .ccf-ico,
.ccf-step:hover .ccf-ico,
.ccf-about-card:hover .ccf-ico,
.ccf-faq-item:hover .ccf-ico {
  background: var(--ccf-blue);
  color: #fff;
}

/* ----- Work / install steps ----- */
.ccf-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.ccf-step {
  background: var(--ccf-white);
  border: 1px solid var(--ccf-line);
  border-radius: var(--ccf-radius);
  padding: 24px 18px 22px;
  text-align: center;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ccf-step .ccf-ico { margin: 0 auto 14px; }
.ccf-step h3 {
  margin: 0 0 8px;
  color: var(--ccf-ink);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}
.ccf-step p { margin: 0; color: var(--ccf-body); text-align: center; font-size: 0.98rem; }

.ccf-ui--page { margin-top: 48px; }

/* ----- About ----- */
.ccf-prose--flush { padding-bottom: 8px; }
.ccf-about-scenes { margin-top: 28px; margin-bottom: 8px; }
.ccf-about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 56px 0 24px;
}
.ccf-about-card {
  background: var(--ccf-white);
  border: 1px solid var(--ccf-line);
  border-radius: var(--ccf-radius);
  padding: 24px 24px 20px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ccf-about-card h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  text-align: left;
}
.ccf-about-card p { margin: 0 0 10px; color: var(--ccf-body); }
.ccf-about-card p:last-child { margin-bottom: 0; }
.ccf-about-card a { color: var(--ccf-blue); }

/* ----- Hero orbs (never cover type; wrap stays above) ----- */
.ccf-hero .ccf-wrap { position: relative; z-index: 1; }
.ccf-hero-decor,
.ccf-download-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.ccf-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}
.ccf-orb-a {
  width: 420px;
  height: 420px;
  right: -80px;
  top: -140px;
  background: radial-gradient(circle, rgba(87, 112, 251, 0.22), rgba(87, 112, 251, 0) 68%);
}
.ccf-orb-b {
  width: 340px;
  height: 340px;
  left: -100px;
  top: 120px;
  background: radial-gradient(circle, rgba(67, 131, 255, 0.16), rgba(67, 131, 255, 0) 68%);
}
.ccf-orb-c {
  width: 260px;
  height: 260px;
  right: 18%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(106, 91, 245, 0.12), rgba(106, 91, 245, 0) 70%);
}
.ccf-orb-d {
  width: 380px;
  height: 380px;
  left: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(87, 112, 251, 0.28), rgba(87, 112, 251, 0) 70%);
}
.ccf-orb-e {
  width: 300px;
  height: 300px;
  right: -60px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(106, 91, 245, 0.22), rgba(106, 91, 245, 0) 70%);
}

/* Button shine (content stays visible; shine is decorative overlay) */
.ccf-btn .wp-block-button__link::after,
a.ccf-btn::after,
.ccf-btn-primary::after,
.ccf-header-cta .wp-block-button__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, 0.28) 50%, transparent 75%);
  transform: translateX(-130%);
  pointer-events: none;
  transition: transform .55s ease;
}
.ccf-btn .wp-block-button__link:hover::after,
a.ccf-btn:hover::after,
.ccf-btn-primary:hover::after,
.ccf-header-cta .wp-block-button__link:hover::after {
  transform: translateX(130%);
}

/* Hero UI gentle float: transform only, fully visible at rest */
@media (prefers-reduced-motion: no-preference) {
  .ccf-hero .ccf-ui--hero {
    animation: ccf-float 7s ease-in-out infinite;
  }
  .ccf-orb-a,
  .ccf-orb-c {
    animation: ccf-orb-shift 12s ease-in-out infinite;
  }
  .ccf-orb-b {
    animation: ccf-orb-shift 14s ease-in-out infinite reverse;
  }
}
@keyframes ccf-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes ccf-orb-shift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(12px, -16px); }
}

/* ----- 404 mark ----- */
.ccf-404-visual {
  display: flex;
  justify-content: center;
  margin: 0 0 12px;
}
.ccf-404-mark {
  width: min(220px, 70vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.28));
}

/* ----- Footer (dark, white logo, readable type) ----- */
.ccf-footer,
.wp-block-group.ccf-footer {
  background: var(--ccf-footer) !important;
  color: var(--ccf-footer-text);
  padding: 64px 0 28px !important;
}
.ccf-footer a { color: var(--ccf-footer-text); text-decoration: none; }
.ccf-footer a:hover { color: #fff; text-decoration: underline; }
.ccf-footer .ccf-logo img { height: 40px; width: auto; }
.ccf-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  width: min(var(--ccf-max), calc(100% - 40px));
  margin: 0 auto 36px;
}
.ccf-footer .ccf-tagline {
  margin: 12px 0 0;
  color: var(--ccf-footer-muted);
  font-size: 15px;
  max-width: 18rem;
  text-align: left;
}
.ccf-footer h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  text-align: left;
}
.ccf-footer ul { list-style: none; margin: 0; padding: 0; }
.ccf-footer li { margin: 0 0 8px; }
.ccf-footer li a { font-size: 15px; color: var(--ccf-footer-muted); }
.ccf-footer-legal {
  width: min(var(--ccf-max), calc(100% - 40px));
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--ccf-footer-muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}
.ccf-footer-legal a { color: var(--ccf-footer-muted); }

/* ----- 404 ----- */
.ccf-404 {
  background: var(--ccf-footer);
  color: var(--ccf-footer-text);
  text-align: center;
  padding: 96px 20px 120px;
}
.ccf-404 h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 16px; }
.ccf-404 p { color: var(--ccf-footer-muted); max-width: 28rem; margin: 0 auto 28px; }
.ccf-404-links { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
.ccf-404-links a { color: #c9d4ff; }

/* ----- Single / blog index refinements ----- */
.ccf-single .wp-block-post-title,
.ccf-archive-hero h1,
.ccf-search-hero h1 {
  text-align: center;
  color: var(--ccf-ink);
}
.ccf-single .ccf-meta,
.ccf-article-meta {
  text-align: center;
  color: var(--ccf-muted);
  font-size: 14px;
  margin-bottom: 28px;
}
/* Never expose login names / author archives on the front */
.wp-block-post-author,
.wp-block-post-author-name,
.comment-author,
.swt-block-comment-group,
.wp-block-comments,
.ccf-hide-author {
  display: none !important;
}


/* ----- Single post prev/next nav ----- */
/* Core block may emit an empty wrapper when that side has no adjacent post. */
.ccf-post-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px 24px;
  width: 100%;
  margin: 40px 0 0;
  padding: 28px 0 8px;
  border-top: 1px solid var(--ccf-line);
}
.ccf-post-nav .wp-block-post-navigation-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 12rem;
  min-width: 0;
  max-width: calc(50% - 12px);
}
.ccf-post-nav .wp-block-post-navigation-link:empty,
.ccf-post-nav .wp-block-post-navigation-link:not(:has(a)) {
  display: none;
}
.ccf-post-nav .post-navigation-link-previous {
  margin-right: auto;
  text-align: left;
}
.ccf-post-nav .post-navigation-link-next {
  margin-left: auto;
  text-align: right;
}
.ccf-post-nav .post-navigation-link__label {
  display: block;
  color: var(--ccf-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ccf-post-nav .wp-block-post-navigation-link a,
.ccf-post-nav .post-navigation-link__title {
  display: block;
  color: var(--ccf-ink);
  text-decoration: none;
  font-weight: 600;
  line-height: 1.5;
  font-size: 0.98rem;
}
.ccf-post-nav .wp-block-post-navigation-link a:hover,
.ccf-post-nav .wp-block-post-navigation-link a:focus {
  color: var(--ccf-blue);
}

/* Search form hidden sitewide (no public search; no SearchAction). */
.wp-block-search,
form.search-form { display: none !important; }

@media (max-width: 900px) {
  .ccf-platforms { grid-template-columns: 1fr; max-width: 22rem; margin-left: auto; margin-right: auto; }
  .ccf-points,
  .ccf-scenes,
  .ccf-zig,
  .ccf-footer-grid,
  .ccf-about-cards {
    grid-template-columns: 1fr;
  }
  .ccf-steps { grid-template-columns: 1fr 1fr; }
  body.wp-theme-spectra-one .ccf-blog .wp-block-post-template,
  body.wp-theme-spectra-one .ccf-blog-embed .wp-block-post-template,
  .ccf-blog .wp-block-post-template,
  .ccf-blog-grid {
    grid-template-columns: 1fr !important;
  }
  .ccf-zig--flip { direction: ltr; }
  .ccf-section { padding: 64px 0; }
  .ccf-hero { padding-top: 48px; }
  .ccf-header__bar { min-height: 64px; }
  .ccf-header .wp-block-navigation__responsive-container-open svg { fill: var(--ccf-ink); }
}

@media (max-width: 640px) {
  .ccf-wrap, .ccf-header__bar, .ccf-footer-grid, .ccf-footer-legal {
    width: calc(100% - 32px);
  }
  .ccf-header-cta .wp-block-button__link { padding: 8px 14px !important; font-size: 14px !important; }
  .ccf-steps { grid-template-columns: 1fr; }
  .ccf-post-nav .wp-block-post-navigation-link {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .ccf-post-nav .post-navigation-link-previous,
  .ccf-post-nav .post-navigation-link-next {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ccf-hero .ccf-ui--hero,
  .ccf-orb,
  .ccf-orb-a,
  .ccf-orb-b,
  .ccf-orb-c,
  .ccf-orb-d,
  .ccf-orb-e {
    animation: none;
  }
  .ccf-point,
  .ccf-scene,
  .ccf-step,
  .ccf-about-card,
  .ccf-faq-item,
  a.ccf-platform,
  .ccf-blog .wp-block-post-template > li,
  .ccf-blog .wp-block-post {
    transition: none;
    transform: none;
  }
}
