:root {
  --main-color: #165DFF;
  --main-light: #E8F3FF;
  --main-dark: #0E42BC;
  --text-black: #222222;
  --text-gray: #666666;
  --text-light: #888888;
  --bg-white: #ffffff;
  --bg-gray: #f7f8fa;
  --bg-soft: #f2f5fb;
  --border-line: #e5e9f2;
  --footer-bg: #222222;
  --shadow-soft: 0 10px 30px rgba(18, 38, 63, 0.08);
  --radius-card: 6px;
  --radius-pill: 999px;
  --shell: 1320px;
  --page-gutter: 40px;
  --section-space: 72px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-gray);
  background: var(--bg-white);
  font: 16px/1.75 "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, opacity .25s ease;
}

button,
input {
  font: inherit;
}

button {
  transition: opacity .25s ease, background-color .25s ease, border-color .25s ease;
}

.pt-shell {
  width: min(var(--shell), calc(100% - var(--page-gutter)));
  margin: 0 auto;
}

.pt-empty {
  width: 100%;
  margin: 0;
  padding: 28px;
  border: 1px dashed var(--border-line);
  border-radius: var(--radius-card);
  background: var(--bg-white);
  color: var(--text-light);
  text-align: center;
}

.cms-crumb,
.pt-crumb {
  width: min(var(--shell), calc(100% - var(--page-gutter)));
  margin: 20px auto 0;
  color: var(--text-light);
  font-size: 14px;
}

.cms-crumb a,
.pt-crumb a {
  color: var(--text-gray);
}

.cms-crumb a:hover,
.pt-crumb a:hover {
  color: var(--main-color);
}

.pt-pager {
  margin-top: 32px;
}

.pt-pager .pagination,
.pt-pager .pager,
.pt-pager ul,
.pt-pager ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pt-pager a,
.pt-pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border-line);
  border-radius: var(--radius-pill);
  background: var(--bg-white);
}

.pt-pager .active,
.pt-pager .current,
.pt-pager [aria-current="page"] {
  border-color: var(--main-color);
  background: var(--main-color);
  color: #fff;
}

.pt-backtop {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 75;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-white);
  color: var(--main-color);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.pt-backtop:hover {
  background: var(--main-color);
  color: #fff;
}

@media (max-width: 1024px) {
  :root {
    --page-gutter: 32px;
    --section-space: 56px;
  }
}

@media (max-width: 767px) {
  :root {
    --page-gutter: 24px;
    --section-space: 42px;
  }

  body {
    font-size: 16px;
  }

  .pt-backtop {
    right: 14px;
    bottom: 66px;
    width: 38px;
    height: 38px;
  }
}
