/* romzhijia desktop: shared foundation. Page layouts belong to their own stylesheet. */

:root {
  --brand: #237cd2;
  --brand-strong: #1963be;
  --brand-soft: #edf5ff;
  --ink: #333;
  --muted: #999;
  --line: #ededed;
  --surface: #fff;
  --canvas: #f8f8f8;
  --radius: 0;
  --shadow: none;
}

*,*::before,*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font: 14px/1.6 Arial,"Microsoft YaHei",sans-serif;
}

h1,h2,h3,h4,h5,p,ul,ol,dl,dd {
  margin: 0;
}

ul,ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .18s,background-color .18s,box-shadow .18s;
}

a:hover {
  color: var(--brand-strong);
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

img:not([src]),img[src=""] {
  display: none;
}

button,input {
  font: inherit;
}

button {
  cursor: pointer;
}

em,i,u {
  font-style: normal;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid #64c9fa;
  outline-offset: 3px;
}

.container,.header-inner,.utility-inner {
  width: min(1200px,calc(100% - 48px));
  margin-inline: auto;
}

.utility-bar {
  background: #33363d;
  color: #c3cbd4;
  font-size: 12px;
}

.utility-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 38px;
}

.mobile-link:hover,.site-menu-label:hover {
  color: #fff;
}

.site-menu {
  position: relative;
  cursor: default;
  margin-right: auto;
}

.site-menu-label { cursor: pointer; list-style: none; position: relative; padding-left: 28px; line-height: 38px; color: #fff; }
.site-menu-label::-webkit-details-marker { display: none; }
.site-menu-label::before { content: ''; position: absolute; left: 0; top: 14px; width: 15px; height: 10px; background: repeating-linear-gradient(to bottom,#999 0 2px,transparent 2px 4px); }

.site-menu-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  width: min(560px,calc(100vw - 48px));
  padding: 16px 24px;
  color: #fff;
  background: #33363d;
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: var(--shadow);
}

.site-menu[open] .site-menu-panel {
  display: block;
}

.site-menu-panel a { display: inline-block; margin: 4px 20px 4px 0; }

.sitemap a {
  display: inline-block;
  margin: 4px 12px 4px 0;
}

.sitemap ul {
  margin-bottom: 12px;
}

.sitemap img {
  max-width: 40px;
}

.site-header {
  background: #fff;
  border-block: 1px solid #ddd;
  box-shadow: 0 7px 13px rgb(0 0 0 / 5%);
}

.header-inner {
  display: flex; align-items: center; min-height: 80px; gap: 80px;
}

.logo {
  display: block;
  width: 238px;
  height: 34px;
  flex-shrink: 0;
  overflow: hidden;
}

.site-nav {
  display: flex; align-items: stretch; gap: 30px;
}

.site-nav-item a {
  position: relative; display: block; height: 80px; line-height: 80px; font-size: 16px; font-weight: 400;
}

.site-nav-item.is-active a {
  color: var(--brand);
}

.breadcrumbs {
  padding-block: 18px; color: #999; font-size: 12px; overflow-wrap: anywhere;
}

.breadcrumbs span {
  margin-inline: 8px;
}

.section-heading,.section-title,.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 650;
}

.section-heading>p::before,.section-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  margin-right: 10px;
  border-radius: 3px;
  background: var(--brand);
  vertical-align: -3px;
}

.section-title>i {
  margin-right: -10px;
}

.section-title>i,.section-title>u {
  color: inherit;
}

.button,.button-small {
  display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 5px 18px; border: 1px solid var(--brand); border-radius: 2px; color: #fff; background: var(--brand); font-weight: 400;
}

.button:hover,.button-small:hover {
  color: #fff;
  background: var(--brand-strong);
}

.is-disabled {
  opacity: .55;
  cursor: not-allowed;
}

.pager,.page {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px 0;
}

.pager a,.pager .is-current,.page>a,.page>span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 5px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.pager .is-current,.page>span {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.pager .total {
  margin-left: 12px;
  color: var(--muted);
}

footer[data-shell] {
  margin-top: 30px; padding: 32px 20px; background: #0e0e0f; color: #aaa; font-size: 12px; text-align: center;
}

.footer-links {
  width: min(1200px,calc(100% - 48px));
  display: flex;
  gap: 30px;
  margin: 0 auto 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.footer-links-heading {
  flex-shrink: 0;
}

.footer-links-heading p {
  color: var(--ink);
  font-size: 16px;
}

.footer-links-heading span {
  font-size: 11px;
}

.footer-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
}

footer p {
  margin-top: 8px;
}

footer a {
  margin-inline: 5px;
}

@media (max-width:1000px) {
  .header-inner {
    gap: 44px;
  }

  .site-nav {
    gap: 26px;
  }

  .site-nav-item a {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.logo img {
  width: 238px;
  height: 34px;
  max-width: none;
  object-fit: none;
  object-position: left top;
}

.utility-inner a:first-of-type { margin-left: auto; }
.site-footer { padding: 32px 20px; text-align: center; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; margin-bottom: 12px; }
.site-footer p { margin: 6px 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
