/* 共享基础样式；排版由共享框架和各页面样式定义。 */
:root {
  --color-brand: #235dab;
  --color-brand-deep: #1e59a8;
  --color-surface: #e8e8e8;
  --color-panel: #fff;
  --color-text: #333;
  --color-rule: #bfc0c2;
  --color-interactive-bg: #dce3ec;
  --color-shell-divider: #87a9d1;
  --page-gutter: 16px;
  --content-max: 100%;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-surface);
  font-family:
    "Noto Sans SC", "Source Han Sans CN", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 26px;
  overflow-wrap: break-word;
}
h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: #235dab33;
}
button {
  cursor: pointer;
}
a:hover {
  color: var(--color-brand-deep);
}
a:active,
button:active {
  filter: brightness(86%);
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
main :focus-visible {
  outline-color: var(--color-brand-deep);
}
[hidden] {
  display: none !important;
}
.container {
  width: min(var(--content-max), calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
}
.visually-hidden {
  position: absolute;
  width: 2px;
  height: 2px;
  padding: 0;
  margin: -2px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 16px;
  color: #fff;
  background: var(--color-brand-deep);
  transform: translateY(calc(-100% - 16px));
}
.skip-link:focus-visible {
  transform: translateY(0);
}

.footerWrap{
	background: var(--color-brand-deep) url("../assets/images/footer-pattern.png")
	  center / cover;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
