/* Default tpl industrial skin */
:root {
  --tpl-bg: #e6e4df;
  --tpl-panel: #ffffff;
  --tpl-ink: #1c2430;
  --tpl-muted: #5f6b7a;
  --tpl-steel: #1e4a7a;
  --tpl-steel-2: #2b61a9;
  --tpl-accent: #c56a1a;
  --tpl-line: #d7dbe2;
  --tpl-soft: #f4f5f7;
  --tpl-width: 1000px;
  --tpl-radius: 6px;
  --tpl-shadow: 0 8px 28px rgba(28, 36, 48, 0.08);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "HarmonyOS Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--tpl-ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(197, 106, 26, 0.08), transparent 28%),
    linear-gradient(180deg, #eceae5 0%, var(--tpl-bg) 40%, #ddd9d2 100%);
  min-height: 100vh;
}

a {
  color: var(--tpl-steel-2);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--tpl-accent);
}

.site-wrap {
  width: var(--tpl-width);
  margin: 24px auto 40px;
  background: var(--tpl-panel);
  box-shadow: var(--tpl-shadow);
  border-radius: var(--tpl-radius);
  overflow: visible;
}

.site-brand,
.site-nav,
.site-banner,
.site-crumb,
.site-footer {
  width: 100%;
  max-width: none;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: linear-gradient(90deg, #fbfbfa 0%, #f3f1ec 100%);
  border-bottom: 1px solid var(--tpl-line);
}

.site-brand .logo {
  width: 56px;
  height: 56px;
  float: none;
  margin: 0;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--tpl-line);
}

.site-brand .biaoti,
.biaoti {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
  color: var(--tpl-ink);
  margin: 0;
}

.site-nav {
  background: linear-gradient(180deg, var(--tpl-steel-2) 0%, var(--tpl-steel) 100%);
  padding: 0 12px;
}

.site-nav-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 48px;
}

.site-nav a,
.site-nav a:link,
.site-nav a:visited,
.site-nav a font,
.site-nav .qiehuan a,
.site-nav .qiehuan a font {
  color: #fff !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 12px 18px;
  display: inline-block;
  border-radius: 4px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:hover font {
  background: rgba(255, 255, 255, 0.12);
  color: #ffd7a8 !important;
  transform: translateY(-1px);
}

.site-banner {
  position: relative;
  overflow: hidden;
  height: 280px;
  background: #2a3545;
}

.site-banner img,
.site-banner > img {
  width: 100% !important;
  height: 280px !important;
  object-fit: cover;
  display: block;
  animation: bannerIn 0.7s ease-out;
  transition: transform 4s ease;
}

.site-banner:hover img {
  transform: scale(1.03);
}

@keyframes bannerIn {
  from { opacity: 0.35; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

.site-crumb {
  padding: 10px 20px;
  font-size: 13px;
  color: var(--tpl-muted);
  background: var(--tpl-soft);
  border-bottom: 1px solid var(--tpl-line);
}

.site-crumb .style1,
.site-crumb span {
  color: var(--tpl-muted) !important;
}

.site-main {
  width: 100%;
  background: #fff;
  overflow: hidden;
}

.site-side {
  float: left;
  width: 280px;
  max-width: 280px;
  background: #f7f8fa;
  border-right: 1px solid var(--tpl-line);
  padding: 16px 12px 24px;
  box-sizing: border-box;
}

.site-content {
  margin-left: 280px;
  padding: 16px 18px 28px;
  box-sizing: border-box;
}

.panel-title {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 10px;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--tpl-steel) 0%, var(--tpl-steel-2) 100%);
  border-radius: 4px;
  letter-spacing: 1px;
  box-sizing: border-box;
}

.site-side .panel-title {
  max-width: 100%;
}

.panel-title .more {
  float: right;
  color: #ffd7a8;
  font-size: 12px;
  font-weight: 600;
}

.panel-box {
  background: #fff;
  border: 1px solid var(--tpl-line);
  border-radius: 4px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.panel-box.yqlink-box {
  padding: 10px 8px;
  overflow: visible;
  text-align: center;
}

.panel-box.yqlink-box table {
  width: 206px !important;
  max-width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}

.panel-box.yqlink-box img {
  display: block;
  width: 206px !important;
  max-width: 100%;
  height: auto !important;
  margin: 0 auto 6px;
}

.cc {
  text-align: left;
  font-size: 13px;
  line-height: 1.8;
  color: var(--tpl-ink);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 10px;
  padding: 10px 12px;
  background: var(--tpl-soft);
  border-left: 4px solid var(--tpl-accent);
  border-radius: 0 4px 4px 0;
}

.section-head .14,
.section-head span {
  font-size: 15px;
  font-weight: 700;
  color: var(--tpl-ink);
  line-height: 1.4;
}

.section-head a {
  font-size: 12px;
  color: var(--tpl-muted);
  text-decoration: none;
  white-space: nowrap;
}

.section-head a:hover {
  color: var(--tpl-accent);
}

.section-body {
  border: 1px solid var(--tpl-line);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 18px;
  background: #fff;
}

.tpl-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.tpl-news-item {
  width: 50%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  font-size: 13px;
  line-height: 1.6;
}

.tpl-news-item a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--tpl-ink);
}

.tpl-news-item a:hover {
  color: var(--tpl-accent);
}

.tpl-news-item a::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--tpl-accent);
  vertical-align: middle;
}

.tpl-news-date {
  flex: 0 0 auto;
  color: var(--tpl-muted);
  font-size: 12px;
}

.site-footer {
  background: linear-gradient(180deg, #24344a 0%, #1a2738 100%);
  color: #dce3ec;
  text-align: center;
  padding: 22px 16px;
  font-size: 12px;
  line-height: 1.8;
}

.site-footer a,
.site-footer a:link,
.site-footer a:visited {
  color: #ffd7a8;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .cc,
.site-footer .big {
  color: #dce3ec;
  font-size: 12px;
}

/* Forms */
input[type="text"],
input[type="email"],
textarea,
input.field {
  padding: 6px 8px;
  border: 1px solid #c9d0da;
  border-radius: 4px;
  font-size: 13px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  vertical-align: middle;
  box-sizing: border-box;
}

/* Contact form fields keep wider inputs */
#regform input[type="text"],
#regform input[type="email"],
#regform input.field {
  width: 100%;
  max-width: 420px;
  padding: 8px 10px;
}

textarea {
  width: 100%;
  max-width: 100%;
  min-height: 140px;
  resize: vertical;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--tpl-steel-2);
  box-shadow: 0 0 0 3px rgba(43, 70, 102, 0.12);
}

/* Resource center search: keep one row */
.section-body table td,
.site-content table td {
  white-space: nowrap;
}

.section-body input[name="pm"],
.section-body input[name="cz"],
.section-body input[name="gg"],
.site-content input[name="pm"],
.site-content input[name="cz"],
.site-content input[name="gg"] {
  width: auto !important;
  max-width: 110px !important;
  display: inline-block;
}

.section-body select[name="pz"],
.site-content select[name="pz"] {
  display: inline-block;
  vertical-align: middle;
  max-width: 90px;
}

.section-body input[type="submit"],
.site-content input[type="submit"][name="Submit"] {
  min-width: 64px;
  padding: 6px 14px;
  vertical-align: middle;
}

input[type="submit"],
input[type="reset"],
.btn {
  display: inline-block;
  min-width: 88px;
  padding: 8px 18px;
  margin-right: 8px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

input[type="submit"] {
  background: var(--tpl-steel);
  color: #fff;
}

input[type="submit"]:hover {
  background: var(--tpl-accent);
  transform: translateY(-1px);
}

input[type="reset"] {
  background: #e8ebf0;
  color: var(--tpl-ink);
}

input[type="reset"]:hover {
  background: #dce1e8;
}

/* Legacy class bridges */
.left {
  background: none !important;
  width: auto !important;
  height: auto !important;
}

.style1 {
  color: var(--tpl-muted) !important;
}

.style2 {
  font-size: 14px;
}

.qiehuan {
  color: #fff;
  font-weight: 600;
}

#code {
  position: fixed;
  left: auto;
  right: 16px;
  bottom: 48px;
  z-index: 10008;
  padding: 0;
  background: #fff;
  font-size: 12px;
  border-radius: 8px;
  box-shadow: var(--tpl-shadow);
  border: 1px solid var(--tpl-line);
  overflow: hidden;
}

.cs_qcode {
  padding: 10px 0 0;
}
