:root {
  --page-bg: #ffffff;
  --section-bg: #f7f8fa;
  --soft-blue: #eef5fb;
  --ink: #09243f;
  --nav-bg: #e3effb;
  --panel-bg: #ffffff;
  --text: #333333;
  --muted: #666666;
  --subtle: #888888;
  --primary: #1366ac;
  --primary-dark: #014b88;
  --primary-strong: #0162b1;
  --accent: #b78341;
  --danger: #c41b1a;
  --line: #e3e7ed;
  --line-strong: #c9d7e6;
  --shadow-sm: 0 3px 12px rgb(69 77 93 / 0.08);
  --shadow-md: 0 8px 24px rgb(69 77 93 / 0.12);
  --display-font: "Geist", "Noto Serif SC", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgb(19 102 172 / 0.08), transparent 28rem),
    linear-gradient(180deg, #fbfdff 0%, #fff 38rem);
  color: var(--text);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

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

a:hover {
  color: var(--primary);
}

.material-symbols-outlined {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  overflow: hidden;
  direction: ltr;
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  font-feature-settings: "liga";
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1200;
  background: var(--primary);
  color: #fff;
  padding: 10px 14px;
}

.skip-link:focus {
  left: 16px;
}

:focus-visible {
  outline: 3px solid rgb(19 102 172 / 0.42);
  outline-offset: 2px;
}

.site-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.site-main {
  min-height: 56vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-top: 1px solid rgb(255 255 255 / 0.72);
  border-bottom: 1px solid rgb(203 216 230 / 0.78);
  background: rgb(255 255 255 / 0.92);
  box-shadow: 0 10px 32px rgb(9 36 63 / 0.06);
  backdrop-filter: blur(18px);
}

.site-header .navbar {
  padding: 0;
}

.site-header .site-container {
  width: calc(100% - 72px);
  max-width: none;
}

.site-header-bar {
  min-height: 86px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  min-width: 230px;
}

.site-brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 92px;
  max-height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
}

.site-brand-fallback-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 3px;
  background: linear-gradient(135deg, #0b5cad, #183b6c);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  object-fit: contain;
}

.site-brand-text {
  display: inline-block;
  max-width: 340px;
  overflow: hidden;
  color: #052b5f;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  gap: 0;
}

.site-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 0 15px;
  border-bottom: 2px solid transparent;
  color: #394a5f;
  font-size: 0.98rem;
  font-weight: 800;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.site-nav-link:hover,
.site-nav-link.is-active {
  border-color: var(--primary-strong);
  color: #052b5f;
  background: transparent;
}

.site-breadcrumb {
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 0.78);
}

.site-breadcrumb .site-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: #6b7788;
  font-size: 0.9rem;
  font-weight: 600;
}

.site-breadcrumb a {
  color: #40536b;
}

.site-breadcrumb a:hover {
  color: var(--primary-dark);
}

.site-breadcrumb [aria-current="page"] {
  color: var(--ink);
}

.site-nav-item {
  position: relative;
}

.site-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  min-width: 178px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--primary-strong);
  padding: 10px;
  background: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  visibility: hidden;
}

.site-nav-item:hover .site-nav-dropdown,
.site-nav-item:focus-within .site-nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.site-nav-dropdown-wide {
  display: grid;
  grid-template-columns: repeat(2, minmax(168px, 1fr));
  width: max-content;
  max-width: 720px;
  gap: 4px 14px;
}

.site-nav-menu-group {
  min-width: 168px;
}

.site-nav-menu-link {
  display: flex;
  align-items: center;
  min-height: 34px;
  border-radius: 4px;
  padding: 7px 10px;
  color: #4a596d;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.site-nav-menu-link:hover,
.site-nav-menu-link:focus {
  background: #eef5fc;
  color: var(--primary-dark);
}

.site-nav-menu-heading {
  color: #052b5f;
  font-weight: 800;
}

.site-nav-menu-link.is-child {
  padding-left: 18px;
  color: #657389;
  font-size: 0.85rem;
  font-weight: 500;
}

.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 14px;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.lang-btn.active {
  background: var(--primary);
  color: #fff;
}

.site-cta,
.btn-primary-custom,
.btn-outline-custom,
.index-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  padding: 9px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-cta,
.btn-primary-custom {
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
}

.site-cta:hover,
.btn-primary-custom:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

@media (min-width: 1200px) {
  .reference-header .site-header-bar {
    position: relative;
    display: flex;
    align-items: stretch;
  }

  .reference-header .site-brand {
    position: absolute;
    left: 20px;
    top: 50%;
    z-index: 2;
    min-width: 0;
    max-width: 400px;
    transform: translateY(-50%);
  }

  .reference-header #mainNav {
    display: flex !important;
    justify-content: flex-end;
    align-items: stretch;
    width: 100%;
    padding-left: 420px;
  }

  .reference-header .site-brand-text {
    max-width: 320px;
    font-size: 1.22rem;
  }

  .reference-header .site-nav-link {
    min-height: 86px;
    padding-right: 12px;
    padding-left: 12px;
    padding-top: 30px;
    font-size: 0.93rem;
  }

  .reference-header .header-tools {
    align-self: center;
    margin-top: 20px;
  }
}

.btn-outline-custom,
.index-more {
  border-color: var(--primary);
  background: #fff;
  color: var(--primary);
}

.btn-outline-custom:hover,
.index-more:hover {
  background: var(--primary);
  color: #fff;
}

.site-message-wrap {
  padding: 18px 0 0;
}

.site-message {
  border: 1px solid var(--line);
  padding: 11px 14px;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.site-message-success {
  border-color: #b6e4c2;
  background: #e6f6ea;
  color: #1f7a42;
}

.site-message-error {
  border-color: #f4bac2;
  background: #fde9eb;
  color: #aa1d30;
}

.site-message-warning,
.site-message-info {
  border-color: #c8d9ef;
  background: #edf4ff;
  color: #264d74;
}

.hero-section {
  position: relative;
  min-height: calc(100vh - 86px);
  min-height: calc(100svh - 86px);
  height: calc(100vh - 86px);
  height: calc(100svh - 86px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 30%, rgb(183 131 65 / 0.28), transparent 22rem),
    linear-gradient(135deg, #08243f, #0f5c95 64%, #19466c);
}

.hero-section-video-only {
  align-items: stretch;
  background: #000;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(115deg, rgb(10 55 92 / 0.95), rgb(19 102 172 / 0.78)),
    #135c9f;
  transition: opacity 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-media img,
.hero-slide-media,
.hero-slide video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 72% 40%, rgb(255 255 255 / 0.18), transparent 20rem),
    linear-gradient(90deg, rgb(3 22 38 / 0.74), rgb(3 22 38 / 0.16) 58%, rgb(3 22 38 / 0.28));
}

.hero-overlay.is-hidden,
.hero-content.is-hidden {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  padding: 64px 0;
  color: #fff;
}

.hero-content::after {
  content: "";
  position: absolute;
  right: max(-18vw, -260px);
  bottom: -88px;
  width: min(42vw, 520px);
  aspect-ratio: 4 / 3;
  border: 1px solid rgb(255 255 255 / 0.38);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.12), rgb(255 255 255 / 0.02)),
    radial-gradient(circle at 78% 26%, rgb(183 131 65 / 0.24), transparent 12rem);
  box-shadow: 0 30px 90px rgb(0 0 0 / 0.18);
}

.label-caps,
.section-kicker {
  display: inline-block;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-title {
  max-width: min(1120px, 100%);
  margin: 18px 0 16px;
  color: #fff;
  font-family: var(--display-font);
  font-size: clamp(3rem, 4.6vw, 5.35rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-desc {
  max-width: 720px;
  color: rgb(255 255 255 / 0.9);
  font-size: 1.12rem;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 5;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgb(0 0 0 / 0.35);
  animation: heroScrollCueBounce 1.35s ease-in-out infinite;
}

.hero-scroll-cue:hover {
  color: #fff;
}

.hero-scroll-cue-arrow {
  width: 16px;
  height: 16px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
}

@keyframes heroScrollCueBounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 8px);
  }
}

.portal-section,
.section-block {
  padding: 96px 0;
  background: #fff;
}

.section-light {
  background: var(--section-bg);
}

.portal-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.portal-section-title,
.section-title {
  margin: 0;
  color: var(--text);
  font-family: var(--display-font);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.28;
}

.section-subtitle,
.muted-text {
  color: var(--muted);
}

.portal-about {
  background:
    linear-gradient(90deg, rgb(247 250 252 / 0.96), rgb(237 244 248 / 0.84)),
    url("../img/home/home-company-capability-bg.webp") center right / cover no-repeat;
}

.portal-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 48px;
  align-items: center;
}

.portal-about-copy p {
  margin: 18px 0 24px;
  color: var(--muted);
  font-size: 1rem;
}

.portal-about-panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f9fbfe, #edf4fb);
  padding: 24px;
}

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

.metric-card {
  min-height: 116px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px 14px;
  text-align: center;
}

.metric-card strong,
.metric-num {
  color: var(--primary);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
}

.metric-card span,
.metric-label {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.portal-news {
  background:
    linear-gradient(90deg, rgb(245 248 251 / 0.96), rgb(239 245 249 / 0.86)),
    url("../img/home/home-news-center-bg.webp") center right / cover no-repeat;
}

.portal-product-system {
  background:
    linear-gradient(90deg, rgb(237 243 248 / 0.94), rgb(239 245 249 / 0.82)),
    url("../img/home/home-product-structure-bg.webp") center right / cover no-repeat;
}

.portal-qualifications {
  background:
    linear-gradient(90deg, rgb(247 250 252 / 0.96), rgb(237 244 248 / 0.84)),
    url("../img/home/home-qualifications-bg.webp") center right / cover no-repeat;
}

.portal-product-system-head {
  align-items: flex-end;
}

.product-system-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 18px;
}

.product-system-card {
  position: relative;
  min-height: 188px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgb(151 177 198 / 0.9);
  background: linear-gradient(145deg, #d2e0ea, #e3ebf1);
  box-shadow: inset 0 3px 0 rgb(183 131 65 / 0.76), 0 12px 30px rgb(13 55 84 / 0.08);
  padding: 24px;
  color: var(--ink);
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.product-system-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 42%, rgb(255 255 255 / 0.14));
  opacity: 0.72;
  transition: opacity 0.22s ease;
}

.product-system-card:nth-child(1) {
  grid-column: span 7;
  min-height: 260px;
}

.product-system-card:nth-child(2) {
  grid-column: span 5;
  min-height: 260px;
}

.product-system-card:nth-child(3),
.product-system-card:nth-child(4),
.product-system-card:nth-child(5) {
  grid-column: span 4;
}

.product-system-card:nth-child(6),
.product-system-card:nth-child(7) {
  grid-column: span 6;
}

.product-system-card:nth-child(1),
.product-system-card:nth-child(2),
.product-system-card:nth-child(7) {
  border-color: rgb(53 105 139 / 0.92);
  background: linear-gradient(145deg, #0b3f6b, #125f88);
  box-shadow: inset 0 3px 0 rgb(209 162 94 / 0.88), 0 16px 36px rgb(7 42 69 / 0.2);
}

.product-system-card:nth-child(4),
.product-system-card:nth-child(5) {
  border-color: rgb(80 126 148 / 0.92);
  background: linear-gradient(145deg, #356f8d, #4d7f96);
  box-shadow: inset 0 3px 0 rgb(209 162 94 / 0.86), 0 14px 32px rgb(20 62 82 / 0.16);
}

.product-system-card strong {
  position: relative;
  z-index: 1;
  color: #052b5f;
  font-family: var(--display-font);
  font-size: clamp(1.35rem, 2.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.18;
}

.product-system-card span {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-top: 14px;
  color: #617086;
  font-size: 0.95rem;
  font-weight: 650;
}

.product-system-card:nth-child(1) strong,
.product-system-card:nth-child(2) strong,
.product-system-card:nth-child(4) strong,
.product-system-card:nth-child(5) strong,
.product-system-card:nth-child(7) strong {
  color: #fff;
}

.product-system-card:nth-child(1) span,
.product-system-card:nth-child(2) span,
.product-system-card:nth-child(4) span,
.product-system-card:nth-child(5) span,
.product-system-card:nth-child(7) span {
  color: #e2edf3;
}

.product-system-card:nth-child(3) span,
.product-system-card:nth-child(6) span {
  color: #40596e;
}

.product-system-card:hover {
  border-color: rgb(209 162 94 / 0.96);
  box-shadow: inset 0 3px 0 rgb(209 162 94 / 0.96), 0 22px 54px rgb(9 36 63 / 0.22);
  color: var(--ink);
  transform: translateY(-4px);
}

.product-system-card:nth-child(1):hover,
.product-system-card:nth-child(2):hover,
.product-system-card:nth-child(7):hover {
  background: linear-gradient(145deg, #082f52, #0d5278);
}

.product-system-card:nth-child(4):hover,
.product-system-card:nth-child(5):hover {
  background: linear-gradient(145deg, #285d78, #3b7189);
}

.product-system-card:nth-child(3):hover,
.product-system-card:nth-child(6):hover {
  background: linear-gradient(145deg, #c4d6e3, #d6e2ea);
}

.product-system-card:hover::before {
  opacity: 1;
}

.product-system-card:focus-visible {
  outline: 3px solid #f1b75f;
  outline-offset: 3px;
  box-shadow: inset 0 3px 0 rgb(209 162 94 / 0.96), 0 0 0 2px #fff, 0 20px 48px rgb(9 36 63 / 0.24);
}

.portal-news-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
}

.portal-news-feature-stack {
  display: grid;
  gap: 14px;
}

.portal-news-feature,
.portal-news-feature-media {
  min-height: 0;
}

.portal-news-feature-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #dce5ee;
}

.portal-news-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portal-news-feature-media:hover img {
  transform: scale(1.04);
}

.portal-news-feature-media span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  background: rgb(0 0 0 / 0.55);
  color: #fff;
  font-weight: 700;
}

.portal-news-list,
.portal-news-list-page {
  display: grid;
  gap: 14px;
}

.portal-news-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border-bottom: 1px dashed #cdd6df;
  background: #fff;
  padding: 18px;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.portal-news-row:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.portal-news-row time {
  min-width: 98px;
  color: var(--primary);
  font-weight: 700;
}

.portal-news-row h2,
.portal-news-row h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
}

.portal-news-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.portal-service {
  display: flex;
  background: #135c9f;
}

.portal-service-item {
  position: relative;
  flex: 1 1 0;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-right: 1px solid rgb(255 255 255 / 0.28);
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transition: flex 0.32s ease, background 0.32s ease;
}

.portal-service-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, rgb(255 255 255 / 0.08), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.portal-service-item:hover {
  flex: 1.34 1 0;
  background: rgb(5 43 95 / 0.28);
  color: #fff;
}

.portal-service-item:hover::before {
  opacity: 1;
}

.portal-service-item .material-symbols-outlined {
  font-size: 2.3rem;
}

.portal-service-item strong {
  font-size: 1.1rem;
}

.portal-service-item em {
  color: rgb(255 255 255 / 0.78);
  font-style: normal;
  font-size: 0.92rem;
}

.qualification-strip,
.partner-grid,
.portal-product-grid,
.portal-link-grid {
  display: grid;
  gap: 18px;
}

.qualification-strip {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
}

.qualification-tile {
  display: grid;
  grid-template-rows: minmax(172px, 1fr) auto;
  gap: 12px;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.86), rgb(239 246 252 / 0.72)),
    #fff;
  padding: 12px;
  transition: filter 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.qualification-tile img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  background: #fff;
  opacity: 1;
}

.qualification-tile figcaption {
  position: static;
  color: var(--primary-dark);
  padding: 0;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
}

.qualification-tile:hover {
  box-shadow: var(--shadow-sm);
  filter: contrast(1.03) saturate(0.96);
  transform: translateY(-2px);
}

.portal-partner-head {
  border-bottom: 0;
  margin-bottom: 22px;
  padding-bottom: 0;
}

.partner-grid {
  overflow: hidden;
}

.partner-marquee {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partner-track {
  display: flex;
  width: max-content;
  gap: 14px;
  padding: 8px 0;
  animation: partnerMarquee 32s linear infinite;
}

.partner-item {
  border: 0;
  background: #fff;
  padding: 18px;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 84px;
  text-align: center;
  font-weight: 700;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.partner-marquee:hover .partner-track {
  animation-play-state: paused;
}

@keyframes partnerMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 7px));
  }
}

.partner-item:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.partner-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 190px;
  max-height: 62px;
  object-fit: contain;
}

.portal-contact-strip {
  background:
    radial-gradient(circle at 84% 16%, rgb(183 131 65 / 0.22), transparent 16rem),
    linear-gradient(135deg, #062847, #135c9f);
  padding: 58px 0;
}

.portal-contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.portal-contact-strip h2 {
  margin: 0;
  color: #fff;
  font-family: var(--display-font);
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
}

.portal-contact-strip p {
  margin: 0;
  color: rgb(255 255 255 / 0.72);
}

[data-motion-text] span {
  will-change: opacity;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 70px;
  background:
    radial-gradient(circle at 76% 28%, rgb(183 131 65 / 0.24), transparent 18rem),
    linear-gradient(100deg, rgb(4 46 82 / 0.96), rgb(19 102 172 / 0.72)),
    #1366ac;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
}

.page-hero.has-hero-image {
  background-image:
    radial-gradient(circle at 76% 28%, rgb(183 131 65 / 0.22), transparent 18rem),
    linear-gradient(100deg, rgb(4 46 82 / 0.92), rgb(19 102 172 / 0.68)),
    var(--page-hero-image);
}

.page-hero .site-container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 10px 0;
  max-width: min(980px, 100%);
  font-family: var(--display-font);
  font-size: clamp(2.35rem, 4vw, 4.3rem);
  font-weight: 700;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgb(255 255 255 / 0.86);
}

.page-hero .label-caps {
  color: #f3d69c;
}

.portal-list-section {
  padding-top: 54px;
}

.product-catalog-section {
  background: #f7f9fc;
}

.product-catalog-section .site-container {
  width: min(100% - 48px, 1580px);
}

.product-catalog-layout {
  display: grid;
  grid-template-columns: minmax(210px, 252px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.product-catalog-sidebar {
  position: sticky;
  top: 96px;
}

.product-catalog-panel {
  border-right: 1px solid var(--line-strong);
  background: transparent;
  max-height: calc(100vh - 118px);
  overflow: auto;
  padding-right: 18px;
}

.product-catalog-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 14px;
}

.product-catalog-panel-head strong {
  color: var(--text);
  font-size: 0.98rem;
}

.product-catalog-panel-head span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-catalog-categories {
  display: grid;
  gap: 3px;
}

.product-catalog-branch {
  display: grid;
  gap: 3px;
}

.product-catalog-branch > summary {
  list-style: none;
  cursor: pointer;
}

.product-catalog-branch > summary::-webkit-details-marker {
  display: none;
}

.product-catalog-children {
  display: grid;
  gap: 3px;
}

.product-catalog-category {
  --level: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 34px;
  gap: 8px;
  border-left: 3px solid transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  padding: 7px 4px 7px calc(10px + var(--level) * 16px);
  text-decoration: none;
}

.product-catalog-branch > .product-catalog-category {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.product-catalog-category-name {
  color: inherit;
  min-width: 0;
  text-decoration: none;
}

.product-catalog-category:hover,
.product-catalog-category.active {
  border-left-color: var(--primary);
  color: var(--primary);
  background: #fff;
}

.product-catalog-category small,
.product-catalog-category i {
  color: #6f7d90;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
}

.product-catalog-category i::before {
  content: "+";
}

.product-catalog-branch[open] > .product-catalog-category i::before {
  content: "-";
}

.product-catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  min-height: 46px;
  margin-bottom: 18px;
}

.product-catalog-toolbar span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-catalog-toolbar strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}

.portal-filter-bar,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.filter-chip {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--muted);
  padding: 7px 16px;
  font-weight: 700;
}

.filter-chip.active,
.filter-chip:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.portal-news-list-page .portal-news-row {
  grid-template-columns: 84px 220px minmax(0, 1fr);
  align-items: stretch;
}

.portal-date-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f7f8fa;
  color: var(--primary);
}

.portal-date-card strong {
  font-size: 2rem;
  line-height: 1;
}

.portal-date-card span {
  margin-top: 8px;
  font-size: 0.82rem;
}

.portal-row-thumb {
  display: block;
  overflow: hidden;
  background: #dde7f1;
}

.portal-row-thumb img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  transition: transform 0.38s ease, filter 0.38s ease;
}

.portal-news-row:hover .portal-row-thumb img {
  filter: contrast(1.06) saturate(0.92);
  transform: scale(1.035);
}

.portal-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.portal-row-meta span {
  background: #edf4fb;
  color: var(--primary);
  padding: 3px 8px;
  font-size: 0.78rem;
}

.portal-row-content h2 {
  margin: 0 0 9px;
  font-size: 1.2rem;
}

.portal-row-content p {
  margin: 0;
  color: var(--muted);
}

.portal-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-catalog-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px 18px;
}

.product-catalog-grid .portal-product-card {
  border-radius: 0;
  box-shadow: none;
}

.product-catalog-grid .portal-product-media {
  background: #eef3f8;
}

.product-catalog-grid .portal-product-media img {
  aspect-ratio: 4 / 5;
}

.product-catalog-grid .portal-product-body {
  display: flex;
  flex-direction: column;
  min-height: 182px;
  padding: 14px 10px 16px;
}

.product-catalog-grid .portal-product-body span {
  display: block;
  color: var(--primary);
  font-size: 0.76rem;
}

.product-catalog-grid .portal-product-body h2 {
  margin: 6px 0 8px;
  font-size: 0.98rem;
  line-height: 1.42;
}

.product-catalog-grid .portal-product-body p {
  min-height: 46px;
  margin-bottom: 12px;
  font-size: 0.86rem;
  line-height: 1.55;
}

.product-catalog-grid .index-more {
  align-self: center;
  min-width: 98px;
  margin-top: auto;
  font-size: 0.82rem;
  text-align: center;
}

.portal-product-card,
.feature-card,
.portfolio-card,
.news-card,
.qualification-card,
.portal-contact-card,
.portal-link-card {
  border: 1px solid var(--line);
  background: #fff;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.portal-product-card:hover,
.feature-card:hover,
.portfolio-card:hover,
.news-card:hover,
.qualification-card:hover,
.portal-contact-card:hover,
.portal-link-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.portal-product-media,
.card-media,
.news-card-thumb,
.detail-cover {
  display: block;
  overflow: hidden;
  background: #dfe7f0;
}

.portal-product-media img,
.card-media img,
.news-card-thumb img,
.detail-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.portal-product-media img {
  aspect-ratio: 5 / 3;
  transition: transform 0.38s ease, filter 0.38s ease;
}

.portal-product-card:hover .portal-product-media img,
.qualification-card:hover .qualification-media img,
.news-card:hover .news-card-thumb img {
  filter: contrast(1.06) saturate(0.92);
  transform: scale(1.035);
}

.portal-product-body,
.feature-card-body,
.portfolio-card-body,
.news-card-body,
.qualification-card-body {
  padding: 20px;
}

.portal-product-body span,
.qualification-category {
  color: var(--primary);
  font-size: 0.86rem;
  font-weight: 700;
}

.portal-product-body h2 {
  margin: 8px 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
}

.portal-product-body p {
  min-height: 76px;
  margin: 0 0 16px;
  color: var(--muted);
}

.portal-link-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portal-link-card {
  padding: 18px;
  color: var(--text);
  font-weight: 700;
}

.portal-contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
}

.portal-contact-card {
  padding: 28px;
}

.portal-contact-card h2 {
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 1.35rem;
  font-weight: 800;
}

.portal-contact-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.portal-contact-list li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px dashed var(--line);
  padding: 12px 0;
  color: var(--muted);
}

.portal-contact-list span {
  color: var(--text);
  font-weight: 700;
}

.contact-info-map {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #f7f8fa;
  color: var(--muted);
  text-align: center;
}

.portal-message-form .form-control,
.contact-form .form-control {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  box-shadow: none;
}

.portal-message-form textarea.form-control,
.contact-form textarea.form-control {
  min-height: 132px;
}

.portal-message-form .form-control:focus,
.contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgb(19 102 172 / 0.16);
}

.content-prose {
  max-width: 920px;
  color: var(--text);
}

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

.content-prose p,
.content-prose li {
  color: var(--muted);
  font-size: 1rem;
}

.detection-intro-content {
  display: grid;
  gap: 34px;
}

.detection-lead {
  padding-left: 20px;
  border-left: 4px solid var(--primary);
}

.detection-highlight-grid,
.detection-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detection-highlight-grid div,
.detection-card-grid article,
.detection-policy,
.detection-contact-box {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
}

.detection-highlight-grid strong {
  display: block;
  color: var(--primary-dark);
  font-family: var(--display-font);
  font-size: 1.42rem;
  line-height: 1.2;
}

.detection-highlight-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.detection-card-grid h3,
.detection-policy h2,
.detection-contact-box h2 {
  margin-top: 0;
}

.detection-equipment-list {
  display: grid;
  gap: 10px;
  padding-left: 1.1rem;
}

.detection-equipment-list.is-enhanced {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detection-equipment-card {
  min-width: 0;
  height: 360px;
}

.detection-equipment-button {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  perspective: 1200px;
}

.detection-equipment-button:focus-visible {
  outline: 3px solid #d1a25e;
  outline-offset: 4px;
}

.detection-equipment-rotator {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 460ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transform-style: preserve-3d;
}

.detection-equipment-card.is-flipped .detection-equipment-rotator {
  transform: rotateY(180deg);
}

.detection-equipment-face {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border: 1px solid rgb(19 102 172 / 0.24);
  border-radius: 6px;
  backface-visibility: hidden;
  box-shadow: 0 12px 30px rgb(4 41 70 / 0.12);
}

.detection-equipment-button:hover .detection-equipment-face {
  border-color: rgb(19 102 172 / 0.5);
  box-shadow: 0 16px 34px rgb(4 41 70 / 0.18);
}

.detection-equipment-front {
  background: #315f7b;
}

.detection-equipment-media {
  position: absolute;
  inset: 0;
  display: block;
  background:
    linear-gradient(145deg, rgb(7 48 77 / 0.12), rgb(19 102 172 / 0.5)),
    repeating-linear-gradient(135deg, rgb(255 255 255 / 0.08) 0 1px, transparent 1px 24px),
    #315f7b;
}

.detection-equipment-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgb(3 30 52 / 0.04) 34%, rgb(3 30 52 / 0.88) 100%);
}

.detection-equipment-image {
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.detection-equipment-front-copy {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  display: flex;
  min-height: 48%;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px 24px 24px;
  color: #fff;
}

.detection-equipment-number {
  display: block;
  margin-bottom: 10px;
  color: #e4bd7f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
}

.detection-equipment-face strong {
  display: block;
  font-family: var(--display-font);
  font-size: 1.35rem;
  line-height: 1.35;
}

.detection-equipment-hint {
  display: block;
  margin-top: 14px;
  color: rgb(255 255 255 / 0.76);
  font-size: 0.82rem;
}

.detection-equipment-back {
  display: flex;
  flex-direction: column;
  padding: 27px 26px 24px;
  background: linear-gradient(145deg, #052c4d, #0b6288);
  color: #fff;
  transform: rotateY(180deg);
}

.detection-equipment-back::before {
  position: absolute;
  top: 0;
  right: 26px;
  left: 26px;
  height: 3px;
  content: "";
  background: #d1a25e;
}

.detection-equipment-back .detection-equipment-number {
  margin-top: 10px;
}

.detection-equipment-description {
  display: block;
  flex: 1;
  margin-top: 18px;
  overflow: auto;
  color: rgb(255 255 255 / 0.84);
  font-size: 0.94rem;
  line-height: 1.75;
}

.detection-equipment-back .detection-equipment-hint {
  padding-top: 14px;
  border-top: 1px solid rgb(255 255 255 / 0.2);
  color: #e4bd7f;
}

.detection-policy {
  border-color: rgb(19 102 172 / 0.28);
  background: linear-gradient(135deg, rgb(19 102 172 / 0.08), #fff);
}

.detection-policy p {
  color: var(--primary-dark);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: rgb(255 255 255 / 0.82);
}

.detail-cover {
  border: 1px solid var(--line);
}

.detail-cover img {
  max-height: 460px;
}

.party-culture-theme {
  --party-red: #b91c1c;
  --party-red-dark: #8f1111;
  --party-red-soft: #fff5f5;
  --party-red-line: #f0c7c7;
  --party-gold: #f6d58a;
}

.party-culture-theme .page-hero {
  background:
    linear-gradient(100deg, rgb(143 17 17 / 0.94), rgb(185 28 28 / 0.78)),
    #b91c1c;
}

.party-culture-theme .page-hero.has-hero-image {
  background-image:
    linear-gradient(100deg, rgb(143 17 17 / 0.93), rgb(185 28 28 / 0.76)),
    var(--page-hero-image);
}

.party-culture-theme .page-hero .label-caps {
  color: var(--party-gold);
}

.party-culture-theme .page-hero h1 {
  color: #fff8ef;
}

.party-culture-theme .page-hero p,
.party-culture-theme .detail-meta {
  color: rgb(255 248 239 / 0.86);
}

.party-culture-theme .portal-filter-bar {
  border-bottom-color: var(--party-red-line);
}

.party-culture-theme .filter-chip {
  border-color: var(--party-red-line);
  color: var(--party-red-dark);
}

.party-culture-theme .filter-chip.active,
.party-culture-theme .filter-chip:hover {
  border-color: var(--party-red);
  background: var(--party-red);
  color: #fff;
}

.party-culture-theme .portal-date-card {
  background: var(--party-red-soft);
  color: var(--party-red);
}

.party-culture-theme .portal-news-row:hover {
  border-color: var(--party-red-line);
  box-shadow: 0 10px 28px rgb(185 28 28 / 0.13);
}

.party-culture-theme .portal-row-content h2 a:hover,
.party-culture-theme .news-card-title:hover,
.party-culture-theme .content-prose a {
  color: var(--party-red);
}

.party-culture-theme .portal-row-meta span {
  color: var(--party-red-dark);
}

.party-culture-theme .inline-link-card {
  border-color: var(--party-red-line);
}

.party-culture-theme .party-recommend-title {
  color: var(--party-red);
}

.spec-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 16px;
  color: var(--muted);
  white-space: pre-wrap;
}

.inline-link-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.inline-link-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 16px;
}

.news-card-title {
  color: var(--primary);
  font-weight: 700;
}

.qualification-showcase {
  padding-top: 60px;
}

.qualification-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f7fa;
}

.qualification-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.38s ease;
}

.certificate-title {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.card-media {
  height: 220px;
}

.news-card-thumb {
  height: 200px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 260px;
  gap: 42px;
  padding: 42px 0;
}

.site-footer {
  background: #e3e3e3;
  color: #4e4e4e;
}

.footer-qr {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.footer-qr-box {
  width: 122px;
  height: 122px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--primary);
}

.footer-qr-box img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.footer-qr-box .material-symbols-outlined {
  font-size: 5rem;
}

.footer-qr p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-company h3,
.footer-links-wrap h4 {
  margin: 0 0 16px;
  color: #333;
  font-size: 1.1rem;
  font-weight: 800;
}

.footer-contact,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.footer-contact .material-symbols-outlined {
  margin-top: 4px;
  color: var(--primary);
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid #cfcfcf;
  padding: 16px 0 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1199.98px) {
  .product-catalog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .site-header .site-container {
    width: calc(100% - 32px);
  }

  .site-header-bar {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0 14px;
    min-height: 72px;
  }

  .site-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-brand-logo {
    max-width: 58px;
    max-height: 36px;
  }

  .site-brand-fallback-logo {
    width: 46px;
    height: 30px;
    font-size: 0.68rem;
  }

  .site-header .navbar-toggler {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    border-color: var(--line-strong);
    border-radius: 10px;
    padding: 0;
  }

  .site-header .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgb(19 102 172 / 0.16);
  }

  .site-header .navbar-collapse {
    flex-basis: 100%;
  }

  .site-nav-link {
    justify-content: flex-start;
    min-height: 46px;
    padding: 9px 0;
  }

  .site-nav-link:hover,
  .site-nav-link.is-active {
    background: transparent;
  }

  .site-nav-item {
    width: 100%;
  }

  .site-nav-dropdown,
  .site-nav-dropdown-wide {
    position: static;
    display: block;
    width: auto;
    max-width: none;
    min-width: 0;
    border: 0;
    padding: 0 0 8px 14px;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .site-nav-menu-group {
    min-width: 0;
  }

  .site-nav-menu-link {
    min-height: 32px;
    padding: 5px 0;
    white-space: normal;
  }

  .site-nav-menu-link.is-child {
    padding-left: 12px;
  }

  .header-tools {
    align-items: flex-start;
    flex-direction: column;
    margin: 12px 0 18px;
  }
}

@media (max-width: 991.98px) {
  .site-container {
    width: min(100% - 28px, 760px);
  }

  .hero-section {
    min-height: 62vh;
    min-height: 62svh;
    height: 62vh;
    height: 62svh;
    max-height: 680px;
  }

  .hero-slide-media,
  .hero-slide video,
  .hero-media img {
    object-position: center center;
  }

  .hero-section-video-only .hero-media,
  .hero-section-video-only .hero-slide {
    background: #000;
  }

  .hero-section-video-only .hero-slide-media,
  .hero-section-video-only .hero-slide video {
    object-fit: contain;
    object-position: center center;
  }

  .hero-title {
    font-size: 2.45rem;
  }

  .portal-about-grid,
  .portal-news-grid,
  .portal-contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .product-catalog-layout {
    grid-template-columns: 1fr;
  }

  .product-catalog-sidebar {
    position: static;
  }

  .product-catalog-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
    max-height: 360px;
    padding-right: 0;
    padding-bottom: 18px;
  }

  .portal-service {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .qualification-strip,
  .product-system-grid,
  .portal-product-grid,
  .portal-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-system-card,
  .product-system-card:nth-child(1),
  .product-system-card:nth-child(2),
  .product-system-card:nth-child(3),
  .product-system-card:nth-child(4),
  .product-system-card:nth-child(5),
  .product-system-card:nth-child(6),
  .product-system-card:nth-child(7) {
    grid-column: auto;
    min-height: 188px;
  }

  .qualification-strip img {
    grid-column: auto;
    max-height: none;
  }

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

  .portal-news-list-page .portal-news-row {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .portal-row-thumb {
    display: none;
  }

  .detection-equipment-list.is-enhanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  body.site-body {
    font-size: 15px;
  }

  .site-brand {
    min-width: 0;
    gap: 8px;
  }

  .site-brand-text {
    display: -webkit-box;
    max-width: min(238px, calc(100vw - 130px));
    overflow: hidden;
    font-size: 0.96rem;
    line-height: 1.2;
    text-overflow: clip;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .hero-section {
    min-height: clamp(320px, 48vh, 460px);
    min-height: clamp(320px, 48svh, 460px);
    height: clamp(320px, 48vh, 460px);
    height: clamp(320px, 48svh, 460px);
    max-height: 460px;
  }

  .hero-content::after {
    display: none;
  }

  .hero-section-video-only {
    min-height: auto;
    height: auto;
    max-height: none;
    aspect-ratio: 16 / 9;
  }

  .hero-scroll-cue {
    display: none;
  }

  .hero-title,
  .page-hero h1 {
    font-size: 2rem;
  }

  .portal-section,
  .section-block {
    padding: 52px 0;
  }

  .portal-product-system {
    background-position: 64% center;
  }

  .portal-news {
    background-position: 68% center;
  }

  .portal-qualifications {
    background-position: 72% center;
  }

  .portal-about {
    background-position: 66% center;
  }

  .portal-section-head,
  .portal-contact-strip-inner,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .metric-grid,
  .portal-service,
  .qualification-strip,
  .product-system-grid,
  .detection-highlight-grid,
  .detection-card-grid,
  .partner-grid,
  .portal-product-grid,
  .portal-link-grid,
  .inline-link-nav {
    grid-template-columns: 1fr;
  }

  .detection-equipment-list.is-enhanced {
    grid-template-columns: 1fr;
  }

  .detection-equipment-card {
    height: 340px;
  }

  .product-system-card,
  .product-system-card:nth-child(1),
  .product-system-card:nth-child(2),
  .product-system-card:nth-child(3),
  .product-system-card:nth-child(4),
  .product-system-card:nth-child(5),
  .product-system-card:nth-child(6),
  .product-system-card:nth-child(7) {
    grid-column: auto;
    min-height: 168px;
  }

  .portal-news-row {
    grid-template-columns: 1fr;
  }

  .product-catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .portal-news-row time {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue {
    animation: none;
  }

  .partner-track {
    animation: none;
  }

  .detection-equipment-rotator {
    transition: none;
  }
}
