/*
Theme Name: Logisment Light
Theme URI: https://www.logisment.com/
Author: Logisment
Description: Lightweight WordPress theme for Logisment consulting, training, events, and WeChat excerpt content.
Version: 0.2.45
Text Domain: logisment-light
*/

:root {
  --ink: #191816;
  --muted: #68615a;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #ddd7cf;
  --brand: #990100;
  --brand-dark: #690200;
  --green: #14894f;
  --gold: #b28746;
  --teal: #1f6f72;
  --blue: #355f88;
  --shadow: 0 18px 45px rgba(25, 24, 22, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(153, 1, 0, 0.22);
  background: rgba(251, 250, 247, 0.95);
}

.temporary-site-tools {
  position: fixed;
  right: 28px;
  top: 48vh;
  transform: translateY(-50%);
  z-index: 45;
  display: grid;
  gap: 10px;
  width: min(210px, calc(100vw - 36px));
}

.temporary-site-tools__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 16px 12px 13px;
  border: 1px solid rgba(153, 1, 0, 0.24);
  border-radius: 6px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 16px 34px rgba(105, 2, 0, 0.22);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.temporary-site-tools__link--secondary {
  border-color: rgba(25, 24, 22, 0.16);
  color: var(--ink);
  background: #fff;
}

.temporary-site-tools__link:hover,
.temporary-site-tools__link:focus-visible {
  transform: translateX(-2px);
  background: var(--brand-dark);
}

.temporary-site-tools__link--secondary:hover,
.temporary-site-tools__link--secondary:focus-visible {
  color: #fff;
}

.temporary-site-tools__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--brand);
  background: #fff;
  font-size: 15px;
}

.temporary-site-tools__link--secondary .temporary-site-tools__icon {
  color: #fff;
  background: var(--brand);
}

@media (max-width: 860px) {
  .temporary-site-tools {
    right: 14px;
    top: auto;
    bottom: 16px;
    transform: none;
    width: min(250px, calc(100vw - 28px));
  }
}

.nav {
  width: min(1180px, calc(100% - 36px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--brand);
}

.brand-mark img,
.wechat-paywall__lock img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.nav-links,
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.nav-links > li,
.menu > li {
  position: relative;
}

.nav-links a,
.menu a {
  position: relative;
  display: inline-flex;
  padding: 8px 0;
  transition: color 160ms ease;
}

.nav-links a::after,
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.nav-links a:hover,
.menu a:hover,
.current-menu-item > a,
.current_page_item > a {
  color: var(--brand);
}

.nav-links a:hover::after,
.menu a:hover::after,
.current-menu-item > a::after,
.current_page_item > a::after {
  transform: scaleX(1);
}

.nav-links .sub-menu,
.menu .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 30;
  width: max-content;
  min-width: 260px;
  max-width: 320px;
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(25, 24, 22, 0.14);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  visibility: hidden;
}

.nav-links .sub-menu::before,
.menu .sub-menu::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 0;
  right: 0;
  height: 13px;
}

.nav-links .has-submenu:hover > .sub-menu,
.nav-links .has-submenu:focus-within > .sub-menu,
.menu .has-submenu:hover > .sub-menu,
.menu .has-submenu:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.nav-links .sub-menu a,
.menu .sub-menu a {
  display: block;
  padding: 8px 10px;
  color: var(--ink);
  line-height: 1.35;
  white-space: nowrap;
}

.nav-links .sub-menu a::after,
.menu .sub-menu a::after {
  display: none;
}

.nav-links .sub-menu a:hover,
.nav-links .sub-menu a:focus,
.menu .sub-menu a:hover,
.menu .sub-menu a:focus {
  color: var(--brand);
  background: #f8f4ef;
}

.submenu-heading {
  padding: 8px 10px 3px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
}

.nav-action {
  position: relative;
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border: 1px solid #0f5b3a;
  border-radius: 4px;
  color: #7a0f12;
  background: #fff;
  box-shadow: 0 8px 22px rgba(25, 24, 22, 0.08);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.nav-action:hover,
.nav-action:focus {
  border-color: #0f5b3a;
  background: #f7f4ef;
  box-shadow: 0 12px 28px rgba(25, 24, 22, 0.14);
}

.nav-action-label {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 14px 0 16px;
  line-height: 1;
}

.wechat-mini {
  width: 36px;
  height: 100%;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-left: 1px solid #e0e0e0;
  color: #111;
  background: transparent;
}

.wechat-mini svg {
  display: block;
}

.nav-action::after,
.nav-action .wechat-popover {
  position: absolute;
  right: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-action::after {
  content: "";
  top: calc(100% + 12px);
  z-index: 13;
  width: 12px;
  height: 12px;
  right: 14px;
  background: #fff;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg) translateY(6px);
}

.nav-action:hover::after,
.nav-action:hover .wechat-popover,
.nav-action:focus::after,
.nav-action:focus .wechat-popover,
.nav-action:focus-within::after,
.nav-action:focus-within .wechat-popover {
  opacity: 1;
  pointer-events: auto;
}

.nav-action:hover::after,
.nav-action:focus::after,
.nav-action:focus-within::after {
  transform: rotate(45deg) translateY(0);
}

.nav-action:hover .wechat-popover,
.nav-action:focus .wechat-popover,
.nav-action:focus-within .wechat-popover {
  transform: translateY(0);
}

.wechat-popover {
  top: calc(100% + 18px);
  z-index: 12;
  width: 172px;
  padding: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 18px 38px rgba(25, 24, 22, 0.16);
  text-align: center;
}

.wechat-qr {
  width: 112px;
  height: 112px;
  margin: 0 auto 10px;
  background: #fff url("assets/wechat-qr.png") center / contain no-repeat;
  border: 1px solid var(--line);
}

.wechat-popover span,
.wechat-popover a {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.wechat-popover a {
  margin-top: 8px;
  color: var(--brand);
  font-weight: 800;
}

.wrap {
  width: 100%;
  margin: 0 auto;
}

.wrap > :not(.hero) {
  width: min(1180px, calc(100% - 36px));
  margin-left: auto;
  margin-right: auto;
}

.hero {
  padding: 56px 0 34px;
  border-bottom: 1px solid var(--line);
}

.wrap > .hero {
  width: 100%;
  min-height: 360px;
  margin-left: 0;
  margin-right: 0;
  padding: 78px max(20px, calc((100% - 1180px) / 2)) 70px;
  color: #fff;
  border-bottom: 4px solid var(--brand);
  background:
    linear-gradient(90deg, rgba(10, 15, 20, 0.78) 0%, rgba(10, 15, 20, 0.56) 52%, rgba(10, 15, 20, 0.2) 100%),
    linear-gradient(0deg, rgba(153, 1, 0, 0.22), rgba(153, 1, 0, 0.03)),
    url("assets/hero-office-building.jpg") center 42% / cover no-repeat;
}

.wrap > .hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 15px;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
}

.wrap > .hero .eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: #fff;
}

.wrap > .hero h1 {
  max-width: 820px;
  margin: 16px 0 18px;
  color: #fff;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.08;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.32);
}

.wrap > .hero .lead {
  max-width: 720px;
  color: #f4eee8;
  font-size: 18px;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.36);
}

.eyebrow {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
}

h1 {
  max-width: 860px;
  margin: 10px 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.section {
  padding: 42px 0;
}

.compact-section {
  padding-top: 28px;
  padding-bottom: 28px;
}

.page-intro {
  padding-bottom: 18px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-head p,
.card p,
.meta {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.card,
.service,
.course-card,
.case-main,
.case-row,
.home-path,
.home-article,
.content-feature-card {
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.card:hover,
.card:focus-within,
.service:hover,
.service:focus-within,
.course-card:hover,
.course-card:focus-within,
.case-main:hover,
.case-main:focus-within,
.case-row:hover,
.case-row:focus-within,
.home-path:hover,
.home-path:focus-visible,
.home-article:hover,
.home-article:focus-within,
.content-feature-card:hover,
.content-feature-card:focus-within {
  position: relative;
  z-index: 1;
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), 0 16px 36px rgba(153, 1, 0, 0.12);
  transform: translateY(-2px);
}

.card h3 {
  margin: 10px 0;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}

.more {
  margin-top: auto;
  color: var(--brand);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: start;
}

.split p {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.feature-list {
  margin: 0;
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  list-style-position: inside;
}

.feature-list li {
  margin: 10px 0;
}

.client-doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 20px 0 10px;
}

.client-doc-grid a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 132px;
  padding: 18px;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.client-doc-grid a:hover,
.client-doc-grid a:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand), 0 14px 30px rgba(153, 1, 0, 0.1);
  transform: translateY(-2px);
}

.client-doc-grid strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.client-doc-grid span {
  display: block;
  color: var(--muted) !important;
  line-height: 1.6;
}

.contact-grid .card {
	min-height: 180px;
}

.about-contact {
  border-top: 4px solid var(--brand);
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 20px 0 8px;
  padding: 28px;
  border: 1px solid rgba(153, 1, 0, 0.2);
  border-top: 4px solid var(--brand);
  background: linear-gradient(135deg, #fff 0%, #fbf4f2 52%, #f1f6f1 100%);
  box-shadow: 0 16px 38px rgba(25, 24, 22, 0.07);
}

.contact-cta h2 {
  margin-top: 8px;
}

.contact-cta p {
  max-width: 820px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.contact-cta .home-button {
  flex: 0 0 auto;
  box-shadow: 0 14px 28px rgba(153, 1, 0, 0.16);
}

.contact-note {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.stat-strip div {
  padding: 24px;
  background: var(--panel);
}

.stat-strip strong {
  display: block;
  color: var(--brand);
  font-size: 28px;
  line-height: 1.2;
}

.stat-strip span {
  color: var(--muted);
}

.content-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.content-stat {
  min-height: 118px;
  padding: 22px;
  background: var(--panel);
}

.content-stat strong {
  display: block;
  color: var(--brand);
  font-size: 30px;
  line-height: 1.1;
}

.content-stat span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.insight-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.insight-filter-card {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background-color 0.18s ease;
}

.insight-filter-card:hover,
.insight-filter-card:focus-visible,
.insight-filter-card.is-active {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 1px var(--brand), 0 16px 36px rgba(153, 1, 0, 0.1);
  transform: translateY(-2px);
}

.insight-filter-card span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
}

.insight-filter-card strong {
  display: block;
  margin-top: 8px;
  font-size: 17px;
  line-height: 1.35;
}

.article {
  width: min(780px, calc(100% - 36px));
  margin: 44px auto;
}

.article h1 {
  margin-bottom: 14px;
  font-size: 38px;
}

.article h2 {
  margin-top: 34px;
  font-size: 24px;
}

.article p {
  margin: 0 0 18px;
  font-size: 17px;
}

.article-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.article-source-meta {
  margin: 0 0 24px;
}

.wechat-source-note {
  margin: 0 0 12px;
  color: var(--muted);
  border-left: 4px solid var(--brand);
  padding-left: 12px;
}

.wechat-read-more {
  margin-top: 42px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.wechat-original-link {
  color: var(--brand);
  font-weight: 700;
}

.wechat-paywall {
  position: relative;
  margin: 64px 0 0;
  padding: 42px 34px 34px;
  border: 1px solid rgba(153, 1, 0, 0.22);
  background:
    radial-gradient(circle at 100% 0, rgba(20, 137, 79, 0.12), transparent 32%),
    linear-gradient(135deg, rgba(153, 1, 0, 0.1), rgba(20, 137, 79, 0.06)),
    #fff;
  box-shadow: 0 28px 70px rgba(26, 24, 21, 0.16);
  overflow: visible;
}

.wechat-paywall::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 132px;
  pointer-events: none;
  background:
    linear-gradient(rgba(251, 250, 247, 0), rgba(251, 250, 247, 0.82) 55%, var(--paper));
}

.wechat-paywall::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -1px;
  right: -1px;
  left: -1px;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), #0f8a4c);
}

.wechat-paywall__lock {
  position: absolute;
  z-index: 2;
  top: -54px;
  left: 34px;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border: 8px solid var(--paper);
  box-shadow: 0 16px 34px rgba(153, 1, 0, 0.22);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.wechat-paywall__eyebrow {
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wechat-paywall h2 {
  margin-top: 0;
}

.wechat-paywall__actions {
  display: grid;
  grid-template-columns: 1fr 116px;
  gap: 14px 20px;
  align-items: center;
  margin-top: 26px;
}

.wechat-paywall__copy {
  padding: 18px;
  border: 1px solid rgba(153, 1, 0, 0.18);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.wechat-paywall__copy strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 17px;
}

.wechat-paywall__copy span {
  display: block;
  color: var(--muted);
  font-size: 15px;
}

.wechat-paywall__qr {
  width: 116px;
  height: 116px;
  object-fit: contain;
  border: 1px solid var(--line);
  background: #fff;
}

.site-footer {
  margin-top: 56px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.home-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-bottom: 4px solid var(--brand);
  background:
    linear-gradient(90deg, rgba(10, 15, 20, 0.82) 0%, rgba(10, 15, 20, 0.58) 46%, rgba(10, 15, 20, 0.24) 100%),
    linear-gradient(0deg, rgba(153, 1, 0, 0.22), rgba(153, 1, 0, 0.02)),
    url("assets/hero-office-building.jpg") center 42% / cover no-repeat;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--brand-dark) 0%, var(--brand) 44%, #4a1714 100%);
}

.home-hero-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 510px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 38px;
  align-items: center;
  padding: 60px 0 56px;
}

.home-hero-copy {
  max-width: 620px;
}

.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
}

.home-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: #fff;
}

.home-title-box {
  display: inline-block;
  max-width: 620px;
  padding: 18px 22px 20px;
  border: 3px solid var(--brand);
  background: rgba(105, 2, 0, 0.7);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
}

.home-title-box h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.12;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.32);
}

.home-lead {
  max-width: 600px;
  margin: 18px 0 0;
  color: #f4eee8;
  font-size: 17px;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.36);
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.home-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-weight: 800;
  border: 1px solid var(--ink);
}

.home-button.primary {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.home-button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.08);
}

.home-button.light {
  color: var(--brand);
  border-color: var(--line);
  background: #fff;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.home-panel {
  align-self: end;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
  border-left: 5px solid var(--brand);
  backdrop-filter: blur(8px);
}

.panel-top {
  padding: 24px 26px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.panel-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.panel-title {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.25;
}

.signal-map {
  min-height: 210px;
  position: relative;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(153, 1, 0, 0.08), rgba(25, 24, 22, 0.045)),
    #f7f3ed;
}

.signal-line {
  position: absolute;
  left: 58px;
  right: 58px;
  top: 104px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), #4a1714);
}

.signal-node {
  position: absolute;
  width: 112px;
  min-height: 64px;
  padding: 12px;
  border: 1px solid rgba(25, 24, 22, 0.12);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 24px rgba(25, 24, 22, 0.08);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.signal-node span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.signal-node:nth-child(2) {
  left: 26px;
  top: 38px;
}

.signal-node:nth-child(3) {
  left: 50%;
  top: 92px;
  transform: translateX(-50%);
}

.signal-node:nth-child(4) {
  right: 26px;
  top: 38px;
}

.home-path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 24px 26px 26px;
}

.home-path {
  display: flex;
  flex-direction: column;
  min-height: 116px;
  padding: 18px 16px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.home-path + .home-path {
  margin-left: -1px;
}

.home-path strong {
  display: block;
  font-size: 18px;
  line-height: 1.3;
  color: var(--brand-dark);
}

.home-path span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.home-band {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.home-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
}

.home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 34px;
}

.home-section-head h2 {
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.12;
}

.home-section-head p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service {
  min-height: 300px;
  padding: 34px;
  border: 1px solid transparent;
  background: #fff;
}

.service-kicker {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.service h3 {
  margin: 18px 0 14px;
  font-size: 24px;
  line-height: 1.25;
}

.service p {
  margin: 0;
  color: var(--muted);
}

.service ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: #33302c;
  font-weight: 700;
}

.service li + li {
  margin-top: 8px;
}

.service-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--brand);
  font-weight: 800;
}

.course-band {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.course-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 34px rgba(25, 24, 22, 0.06);
}

.course-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-top: 5px solid var(--brand);
  background: #191816;
}

.course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.course-badge {
  position: absolute;
  left: 18px;
  top: 16px;
  padding: 6px 10px;
  color: #fff;
  background: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.course-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.course-body h3 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.25;
}

.course-body p {
  margin: 0;
  color: var(--muted);
}

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  color: #3b352f;
  font-size: 13px;
  font-weight: 800;
}

.course-meta span {
  padding: 5px 8px;
  background: #f3eee8;
}

.course-link {
  margin-top: auto;
  padding-top: 22px;
  color: var(--brand);
  font-weight: 850;
}

.dark-band {
  color: #fff;
  background: #20201d;
}

.dark-band .home-section-head p,
.dark-band .case-meta {
  color: #c8c0b5;
}

.case-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.case-main,
.case-list {
  background: #20201d;
}

.case-main {
  min-height: 390px;
  padding: 34px;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.case-main h3 {
  max-width: 620px;
  margin: 0;
  font-size: 34px;
  line-height: 1.2;
}

.case-main p {
  max-width: 610px;
  color: #ddd7cf;
  font-size: 17px;
}

.case-list {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
}

.case-row {
  min-height: 98px;
  padding: 24px 28px;
  border: 1px solid transparent;
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.case-row:last-child {
  border-bottom-color: transparent;
}

.case-row strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
}

.article-meta {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.article-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.archive-list {
  border-top: 1px solid var(--line);
}

.archive-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 24px;
  margin: 0 -16px;
  padding: 22px 16px;
  border: 1px solid transparent;
  border-bottom-color: var(--line);
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s, background-color 0.18s;
}

.archive-item:hover,
.archive-item:focus-within {
  z-index: 1;
  border-color: var(--brand);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 1px var(--brand), 0 16px 36px rgba(153, 1, 0, 0.1);
  transform: translateY(-1px);
}

.archive-item h3 {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.archive-item h3 a {
  transition: color 0.16s;
}

.archive-item:hover h3 a,
.archive-item:focus-within h3 a {
  color: var(--brand);
}

.archive-item p {
  grid-column: 1;
  grid-row: 3;
  max-width: 880px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.archive-item .more {
  grid-column: 2;
  grid-row: 3;
  align-self: start;
  justify-self: end;
  white-space: nowrap;
}

.archive-detail {
  display: flex;
  grid-column: 1;
  grid-row: 2;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.archive-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid transparent;
  background: #f3eee8;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.archive-badge--ai {
  border-color: rgba(31, 111, 114, 0.2);
  background: #e7f1ef;
  color: #13565b;
}

.archive-badge--procurement {
  border-color: rgba(178, 135, 70, 0.28);
  background: #f7efe2;
  color: #77531f;
}

.archive-badge--supply-chain {
  border-color: rgba(53, 95, 136, 0.22);
  background: #e9eff5;
  color: #294f74;
}

.archive-badge--case {
  border-color: rgba(153, 1, 0, 0.18);
  background: #f5e8e6;
  color: var(--brand-dark);
}

.archive-badge--default {
  border-color: var(--line);
  background: #f4f1eb;
  color: var(--muted);
}

.archive-meta {
  grid-column: 1;
  grid-row: 1;
  color: var(--muted);
  font-size: 14px;
}

.pagination {
  margin-top: 28px;
}

.pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination a,
.pagination span {
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.pagination .current {
  border-color: var(--brand);
  color: #fff;
  background: var(--brand);
}

.home-article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home-article h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.32;
}

.home-article p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.tag {
  width: fit-content;
  margin-top: 22px;
  padding: 4px 9px;
  color: var(--blue);
  background: #eef4f7;
  font-size: 12px;
  font-weight: 800;
}

.content-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.content-feature-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(25, 24, 22, 0.045);
}

.content-feature-badge {
  width: fit-content;
  margin-bottom: 12px;
  padding: 4px 8px;
  color: #fff;
  background: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.content-feature-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  line-height: 1.35;
}

.content-feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.content-feature-card .more {
  margin-top: auto;
  padding-top: 18px;
}

.contact-qr {
  width: 136px;
  height: 136px;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: #fff url("assets/wechat-qr.png") center / contain no-repeat;
}

.logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.logo-cell {
  min-height: 104px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: #fff;
  filter: grayscale(1);
}

.logo-cell img {
  max-height: 48px;
  object-fit: contain;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
    position: relative;
  }

  .brand {
    width: 100%;
    min-width: 0;
    padding-right: 118px;
  }

  .brand > span {
    min-width: 0;
  }

  .brand > span > span:first-child,
  .brand-sub {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-links,
  .menu,
  .nav-menu {
    justify-content: flex-start;
  }

  .nav-menu {
    width: 100%;
    align-items: center;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .nav-links,
  .menu {
    min-width: max-content;
    flex-wrap: nowrap;
    gap: 14px;
    white-space: nowrap;
  }

  .nav-links .sub-menu,
  .menu .sub-menu {
    left: 0;
    min-width: 238px;
    transform: translate(0, 8px);
  }

  .nav-links .has-submenu:hover > .sub-menu,
  .nav-links .has-submenu:focus-within > .sub-menu,
  .menu .has-submenu:hover > .sub-menu,
  .menu .has-submenu:focus-within > .sub-menu {
    transform: translate(0, 0);
  }

  .nav-action {
    flex: 0 0 auto;
    position: absolute;
    top: 17px;
    right: 0;
    height: 36px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .split,
  .stat-strip,
  .content-stat-grid {
    grid-template-columns: 1fr;
  }

  .wrap > .hero {
    min-height: 300px;
    padding-top: 54px;
    padding-bottom: 50px;
  }

  .wrap > .hero h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .home-hero-inner,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-inner {
    min-height: 0;
  }

  .home-path-grid,
  .service-grid,
  .course-grid,
  .article-list,
  .content-feature-grid,
  .insight-filter-grid {
    grid-template-columns: 1fr;
  }

  .home-path + .home-path {
    margin-top: -1px;
    margin-left: 0;
  }

  .logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .archive-item {
    grid-template-columns: 1fr;
    margin-right: 0;
    margin-left: 0;
  }

  .archive-item .more {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }

  .contact-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .nav,
  .home-hero-inner,
  .home-section {
    width: min(100% - 28px, 1180px);
  }

  .brand-sub {
    display: none;
  }

  .home-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .logos {
    grid-template-columns: repeat(2, 1fr);
  }

  .article {
    margin-top: 34px;
  }

  .article h1 {
    font-size: 32px;
    line-height: 1.14;
  }

  .wechat-paywall {
    padding: 40px 22px 26px;
  }

  .wechat-paywall__lock {
    left: 22px;
  }

  .wechat-paywall__actions {
    grid-template-columns: 1fr;
  }

  .wechat-paywall__qr {
    justify-self: center;
  }
}
