@charset "utf-8";

/* ==========================================================================
   站点框架层：顶部信息条、站点标头、主导航、面包屑、页头、栅格侧栏、页脚
   ========================================================================== */

/* --------------------------------------------------------------------------
   顶部信息条
   -------------------------------------------------------------------------- */

.utilbar {
  background-color: #eef4fc;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  font-size: 13px;
}

.utilbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}

.utilbar__note {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  white-space: nowrap;
}

.utilbar__note > span {
  position: relative;
}

.utilbar__note > span + span::before {
  position: absolute;
  left: -10px;
  color: var(--line-strong);
  content: "|";
}

.utilbar__note strong {
  color: var(--primary-dark);
  font-weight: 600;
}

.utilbar__links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: none;
}

.utilbar__links a {
  color: var(--text-2);
}

.utilbar__links a:hover {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   站点标头
   -------------------------------------------------------------------------- */

.masthead {
  background-color: var(--paper);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
  padding-top: 16px;
  padding-bottom: 16px;
  transition: min-height 0.26s var(--ease), padding 0.26s var(--ease);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(150deg, #5199fa 0%, #2461c4 100%);
  box-shadow: 0 8px 18px rgba(47, 123, 226, 0.26);
  transition: width 0.26s var(--ease), height 0.26s var(--ease),
    border-radius 0.26s var(--ease);
}

/* 站标图形本身是白色透明图，衬在蓝色底块上才可见 */
.brand__mark-img {
  display: block;
  width: 64%;
  height: 64%;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.4px;
  transition: font-size 0.26s var(--ease);
}

.brand__sub {
  color: var(--text-3);
  font-size: 12.5px;
  letter-spacing: 0.3px;
}

.masthead__aside {
  display: flex;
  align-items: center;
  gap: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: var(--paper-2);
  color: var(--text-2);
  font-size: 13px;
  white-space: nowrap;
}

.status-pill__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-3);
}

.status-pill__dot::after {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background-color: currentColor;
  opacity: 0.28;
  content: "";
}

.status-pill[data-state="open"] .status-pill__dot {
  background-color: var(--green);
  color: var(--green);
}

.status-pill[data-state="soon"] .status-pill__dot {
  background-color: var(--gold);
  color: var(--gold);
}

.status-pill[data-state="closed"] .status-pill__dot {
  background-color: var(--red);
  color: var(--red);
}

/* 滚动后标头收窄 */
html.is-scrolled .masthead__inner {
  min-height: 70px;
  padding-top: 10px;
  padding-bottom: 10px;
}

html.is-scrolled .brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

html.is-scrolled .brand__title {
  font-size: 18.5px;
}

html.is-scrolled .brand__sub {
  display: none;
}

/* --------------------------------------------------------------------------
   主导航
   -------------------------------------------------------------------------- */

.mainnav {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: var(--primary);
  border-bottom: 1px solid var(--primary);
  transition: box-shadow 0.22s var(--ease);
}

html.is-scrolled .mainnav {
  box-shadow: 0 10px 24px rgba(31, 58, 102, 0.16);
}

.mainnav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mainnav__list {
  display: flex;
  align-items: stretch;
  gap: 4px;
}

.mainnav__item > a {
  position: relative;
  display: block;
  padding: 0 20px;
  height: var(--header-h);
  line-height: var(--header-h);
  color: rgba(255, 255, 255, 0.86);
  font-size: 15.5px;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.mainnav__item > a:hover {
  background-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.mainnav__item.is-active > a {
  color: #fff;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 -3px 0 var(--gold);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  height: 42px;
  margin: 8px 0;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14.5px;
  cursor: pointer;
}

.nav-toggle__bar {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background-color: currentColor;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background-color: currentColor;
  content: "";
}

.nav-toggle__bar::before {
  top: -5px;
}

.nav-toggle__bar::after {
  top: 5px;
}

/* --------------------------------------------------------------------------
   面包屑
   -------------------------------------------------------------------------- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 22px 0 0;
  color: var(--text-3);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--text-2);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb .divider {
  margin: 0 9px;
  color: var(--line-strong);
}

.breadcrumb .is-current {
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   页头
   -------------------------------------------------------------------------- */

.pagetitle {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(126deg, #ffffff 0%, #f6faff 52%, #eaf3fb 100%);
  box-shadow: var(--shadow-sm);
}

.pagetitle::before {
  position: absolute;
  right: -70px;
  top: -110px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 40% 40%,
    rgba(47, 123, 226, 0.14),
    rgba(47, 123, 226, 0) 68%
  );
  content: "";
  pointer-events: none;
}

.pagetitle::after {
  position: absolute;
  right: 26px;
  bottom: -26px;
  width: 96px;
  height: 96px;
  border-radius: 22px;
  background-color: rgba(47, 123, 226, 0.07);
  content: "";
  transform: rotate(-12deg);
  pointer-events: none;
}

.pagetitle__inner {
  position: relative;
  z-index: 1;
  padding: 34px 36px 36px;
}

.pagetitle__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  padding: 4px 14px;
  border-radius: 999px;
  background-color: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
}

.pagetitle__title {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.4px;
}

.pagetitle__sub {
  max-width: 800px;
  margin-top: 14px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.9;
}

.pagetitle__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pagetitle__facts > li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.86);
  font-size: 13.5px;
  color: var(--text-2);
}

.pagetitle__facts strong {
  color: var(--ink);
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   内容区与栅格
   -------------------------------------------------------------------------- */

.page {
  padding-bottom: 8px;
}

.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: 26px;
  align-items: start;
  margin-top: 26px;
}

.columns--plain {
  grid-template-columns: minmax(0, 1fr);
}

.column__stack > * + * {
  margin-top: 22px;
}

/* --------------------------------------------------------------------------
   侧栏组件
   -------------------------------------------------------------------------- */

.widget {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background-color: var(--paper);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.widget__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  background-color: var(--paper-2);
}

.widget__title {
  font-size: 15.5px;
}

.widget__more {
  color: var(--text-3);
  font-size: 12.5px;
}

.widget__more:hover {
  color: var(--primary);
}

.widget__body {
  padding: 16px 20px;
}

.widget__body--flush {
  padding: 6px 0;
}

.widget--accent .widget__head {
  background-color: var(--primary-soft);
  border-bottom-color: rgba(47, 123, 226, 0.16);
}

.widget--accent .widget__title {
  color: var(--primary-dark);
}

/* 本页导航在滚动时吸顶
   吸顶后会盖在同栏下方组件之上，因此必须抬高层级并保持不透明底色：
   同栏的提示清单等组件里有 position: relative 的条目，层级相同时
   会按 DOM 顺序叠到导航文字上，形成文字叠加 */
.widget[data-outline] {
  position: sticky;
  z-index: 20;
  top: calc(var(--header-h) + 16px);
  background-color: var(--paper);
  box-shadow: 0 12px 28px rgba(31, 58, 102, 0.14);
}

/* 侧栏链接列表 */
.linklist {
  list-style: none;
}

.linklist__item + .linklist__item {
  border-top: 1px solid var(--line);
}

.linklist__link {
  position: relative;
  display: block;
  padding: 12px 18px 12px 30px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.6;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.linklist__link::before {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background-color: var(--line-strong);
  content: "";
  transition: background-color 0.16s ease;
}

.linklist__link:hover {
  background-color: var(--primary-tint);
  color: var(--primary-dark);
}

.linklist__link:hover::before {
  background-color: var(--primary);
}

.linklist__link.is-current {
  background-color: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--primary);
}

.linklist__link.is-current::before {
  background-color: var(--primary);
}

/* 侧栏联系信息 */
.contact-list > li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  font-size: 14px;
  line-height: 1.7;
}

.contact-list > li + li {
  border-top: 1px solid var(--line);
}

.contact-list__label {
  flex: none;
  width: 66px;
  color: var(--text-3);
}

.contact-list__value {
  color: var(--text);
}

.contact-list__value strong {
  display: block;
  color: var(--primary-dark);
  font-size: 17px;
  letter-spacing: 0.3px;
}

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: 56px;
  padding: 46px 0 26px;
  background-color: var(--primary);
  background-image: linear-gradient(180deg, #2f7be2 0%, #2461c4 100%);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13.5px;
  line-height: 1.9;
}

.site-footer strong {
  color: #fff;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer a:hover {
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.footer__title {
  margin-bottom: 12px;
  color: #fff;
  font-size: 15px;
}

.footer__about p {
  max-width: 420px;
}

.footer__list li + li {
  margin-top: 5px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.62);
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */

@media (max-width: 1240px) {
  .mainnav__item > a {
    padding: 0 15px;
    font-size: 15px;
  }
}

@media (max-width: 1080px) {
  .columns {
    grid-template-columns: minmax(0, 1fr);
  }

  .widget[data-outline] {
    position: static;
  }
}

@media (max-width: 980px) {
  .utilbar__note {
    display: none;
  }

  .utilbar__inner {
    justify-content: center;
  }

  .masthead__inner {
    min-height: 80px;
  }

  .brand__title {
    font-size: 19px;
  }

  .masthead__aside .status-pill {
    display: none;
  }

  .mainnav__inner {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mainnav__list {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding-bottom: 10px;
  }

  .mainnav--open .mainnav__list {
    display: flex;
  }

  .mainnav__item > a {
    height: 46px;
    line-height: 46px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
  }

  .mainnav__item.is-active > a {
    box-shadow: inset 3px 0 0 var(--gold);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 780px) {
  .pagetitle__inner {
    padding: 26px 20px 28px;
  }

  .pagetitle__title {
    font-size: 23px;
  }

  .pagetitle::after {
    display: none;
  }

  .pagetitle__facts > li {
    padding: 7px 13px;
    font-size: 13px;
  }
}
