/* t203_3 · 典雅紫·左侧导航 */
body.tpl-t203.var-v3 {
  --tpl-primary: #ed2be5;
  --tpl-secondary: #95138c;
  --tpl-accent: #f3affd;
  --tpl-bg: #faf5ff;
  --tpl-radius: 12px;
  --tpl-max: 880px;
  --tpl-sidebar: 248px;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: #faf5ff;
  color: #1e293b;
  line-height: 1.65;
}
body.var-v3 a:hover { color: var(--tpl-primary); }
body.var-v3 .tpl-sec-label, body.var-v3 .sec-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--tpl-accent);
  margin-bottom: 6px;
}
body.var-v3 h2 { color: var(--tpl-secondary) !important; }
body.var-v3 .btn, body.var-v3 .my_btn, body.var-v3 .my_btn2,
body.var-v3 button[type="submit"], body.var-v3 input[type="submit"] {
  background: var(--tpl-primary) !important;
  border-color: var(--tpl-primary) !important;
  border-radius: var(--tpl-radius) !important;
}
body.var-v3 .nav-list li.active a, body.var-v3 .nav-list a:hover,
body.var-v3 .menu-item.is-active, body.var-v3 .menu-item:hover,
body.var-v3 .mune .m-list > a:hover, body.var-v3 .header_r a:hover,
body.var-v3 .header a.tv, body.var-v3 .nav-menu .menu-item.is-active {
  color: var(--tpl-primary) !important;
}

/* topbar / accent */
body.var-v3 .tpl-topbar.tpl-v1 {
  background: linear-gradient(90deg, var(--tpl-secondary), var(--tpl-primary));
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}
body.var-v3 .tpl-topbar-inner {
  max-width: var(--tpl-max);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
body.var-v3 .tpl-badge {
  background: rgba(255,255,255,.2);
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 12px;
}
body.var-v3 .tpl-hotline { opacity: .85; font-size: 12px; }
body.var-v3 .tpl-accent-ring {
  height: 5px;
  background: linear-gradient(90deg, var(--tpl-primary), var(--tpl-accent), var(--tpl-primary));
}
body.var-v3 .tpl-hero-strip {
  background: var(--tpl-bg);
  border-bottom: 2px solid var(--tpl-accent);
  text-align: center;
  padding: 12px;
  color: var(--tpl-secondary);
  letter-spacing: .25em;
  font-size: 13px;
}

/* header v1 sticky light */
body.hdr-sticky-light .tpl-header, body.hdr-sticky-light .header,
body.hdr-sticky-light .head-box, body.hdr-sticky-light .c-layer--nav,
body.hdr-sticky-light .tpl-nav {
  position: sticky !important;
  top: 0;
  z-index: 900;
  background: #fff !important;
  box-shadow: 0 2px 16px rgba(0,0,0,.08) !important;
  border-bottom: 3px solid var(--tpl-primary) !important;
}

/* header v2 gradient round */
body.hdr-gradient-round .tpl-header, body.hdr-gradient-round .header,
body.hdr-gradient-round .head-box, body.hdr-gradient-round .c-layer--nav {
  background: linear-gradient(135deg, var(--tpl-secondary), var(--tpl-primary)) !important;
  border-radius: 0 0 24px 24px !important;
  margin: 0 16px !important;
  color: #fff !important;
  box-shadow: 0 8px 32px rgba(0,0,0,.15) !important;
}
body.hdr-gradient-round .header a, body.hdr-gradient-round .nav-list a,
body.hdr-gradient-round .menu-item, body.hdr-gradient-round .header_r a {
  color: #fff !important;
}

/* header v3 sidebar */
body.hdr-sidebar-fixed .tpl-shell-v3 {
  display: flex;
  min-height: 100vh;
}
body.hdr-sidebar-fixed .tpl-aside-v3 {
  width: var(--tpl-sidebar);
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--tpl-secondary), #2d1b69) !important;
  color: #fff !important;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 950;
  box-shadow: 4px 0 24px rgba(0,0,0,.12);
}
body.hdr-sidebar-fixed .tpl-aside-v3 .nav,
body.hdr-sidebar-fixed .tpl-aside-v3 .c-layer--nav,
body.hdr-sidebar-fixed .tpl-aside-v3 .header {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  position: static !important;
}
body.hdr-sidebar-fixed .tpl-aside-v3 .nav-menu,
body.hdr-sidebar-fixed .tpl-aside-v3 .menu-item,
body.hdr-sidebar-fixed .tpl-aside-v3 .header_r ul,
body.hdr-sidebar-fixed .tpl-aside-v3 ul {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 4px !important;
  padding: 16px 12px !important;
}
body.hdr-sidebar-fixed .tpl-aside-v3 .menu-item,
body.hdr-sidebar-fixed .tpl-aside-v3 .header_r li a,
body.hdr-sidebar-fixed .tpl-aside-v3 .nav-list a {
  color: rgba(255,255,255,.9) !important;
  padding: 10px 16px !important;
  border-radius: 8px !important;
  display: block !important;
}
body.hdr-sidebar-fixed .tpl-aside-v3 .menu-item.is-active,
body.hdr-sidebar-fixed .tpl-aside-v3 .header_r a.tv {
  background: var(--tpl-primary) !important;
  color: #fff !important;
}
body.hdr-sidebar-fixed .tpl-aside-v3 .nav-logo,
body.hdr-sidebar-fixed .tpl-aside-v3 .header > a {
  display: block;
  padding: 24px 16px 16px;
  font-size: 18px;
  font-weight: 700;
  color: #fff !important;
  border-bottom: 1px solid rgba(255,255,255,.15);
  margin-bottom: 8px;
}
body.hdr-sidebar-fixed .tpl-main-v3 {
  flex: 1;
  min-width: 0;
  background: var(--tpl-bg);
}

/* nav pill buttons v2 */
body.nav-pill-buttons .nav-list li a,
body.nav-pill-buttons .header_r li a,
body.nav-pill-buttons .menu-item {
  border-radius: 20px !important;
  padding: 6px 16px !important;
  margin: 0 4px !important;
  background: rgba(255,255,255,.12) !important;
  transition: .2s;
}
body.nav-pill-buttons .nav-list li.active a,
body.nav-pill-buttons .header_r a.tv,
body.nav-pill-buttons .menu-item.is-active {
  background: var(--tpl-primary) !important;
  color: #fff !important;
}

/* footer */
body.var-v3 .tpl-footer, body.var-v3 .footer, body.var-v3 .foot,
body.var-v3 .c-layer--footer, body.var-v3 .c-layer--copyright {
  background: var(--tpl-secondary) !important;
  color: #fff !important;
}
body.foot-minimal-center .tpl-footer, body.foot-minimal-center .c-layer--footer {
  text-align: center !important;
  padding: 48px 24px !important;
  background: var(--tpl-bg) !important;
  color: var(--tpl-secondary) !important;
}
body.foot-gradient-footer .tpl-footer, body.foot-gradient-footer .footer {
  background: linear-gradient(135deg, var(--tpl-secondary), var(--tpl-primary)) !important;
}
body.foot-dark-bar .tpl-footer {
  border-top: 4px solid var(--tpl-accent);
}

@media (max-width: 992px) {
  body.hdr-sidebar-fixed .tpl-shell-v3 { flex-direction: column; }
  body.hdr-sidebar-fixed .tpl-aside-v3 {
    width: 100%;
    height: auto;
    position: relative;
  }
  body.hdr-sidebar-fixed .tpl-aside-v3 .nav-menu,
  body.hdr-sidebar-fixed .tpl-aside-v3 .header_r ul {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    overflow-x: auto;
  }
}
