:root {
  --theme-primary: #0f4c8a;
  --theme-primary-rgb: 15, 76, 138;
  --theme-primary-dark: #0b3a67;
  --theme-primary-light: #1a6fd4;
  --theme-accent: #bf1f2f;
  --theme-heading: #11314f;
  --theme-text: #243648;
  --theme-muted: #66788a;
  --theme-border: #d7e0e8;
  --theme-border-light: #e8eef3;
  --theme-surface: #ffffff;
  --theme-surface-soft: #f6f9fc;
  --theme-body-bg: var(--theme-surface);
  --theme-section-muted-bg: var(--theme-surface-soft);
  --theme-hero-overlay: rgba(7, 18, 35, 0.45);
  --theme-shadow: 0 14px 38px rgba(16, 35, 56, 0.12);
  --header-height: 88px;
  --theme-text-muted: #7a8b99;
  --theme-border-subtle: #d9e1e8;
  --theme-hero-bg: #071223;
  --theme-hero-visual-bg: #081827;
  --theme-video-outer-bg: #071223;
  --theme-video-inner-bg: #0b1830;
  --gs-gray-bg: #f4f7fa;
  --container-max-sm: 540px;
  --container-max-md: 720px;
  --container-max-lg: 1200px;
  --container-max-xl: 1440px;
  --container-max-2xl: 1800px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  color: var(--theme-text);
  background: var(--theme-surface-soft);
}

.container {
  --bs-gutter-x: 1.25rem;
}

@media (min-width: 576px) {
  .container {
    max-width: var(--container-max-sm);
  }
}

@media (min-width: 768px) {
  .container {
    max-width: var(--container-max-md);
  }
}

@media (min-width: 992px) {
  .container {
    max-width: var(--container-max-lg);
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: var(--container-max-xl);
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: min(var(--container-max-2xl), calc(100vw - 3rem));
  }
}

a {
  color: var(--theme-primary);
}

a:hover {
  color: var(--theme-primary-dark);
}

img {
  max-width: 100%;
}

.page-body {
  background: var(--theme-surface-soft);
}

.cms-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 10rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem;
  border: 1px solid #e4e7ed;
  border-radius: inherit;
  background: linear-gradient(180deg, #fafafa 0%, #f5f7fa 100%);
  color: #909399;
  text-align: center;
}

.cms-image-placeholder__icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #edf2fc;
  color: #a8abb2;
  font-size: 1.5rem;
  line-height: 1;
}

.cms-image-placeholder__text {
  font-size: 0.9375rem;
  line-height: 1.4;
}
