/* ============================================================
   Suditek homepage refresh — layout language referenced from
   torpug.com; palette unchanged (brand blue #034FE7 + gold #C9A961)
   Scope: body.home-refresh only. No other page is affected.
   ============================================================ */

body.home-refresh {
  --hr-ink: #14181a;
  --hr-body: #3b424d;
  --hr-muted: #6b7174;
  --hr-line: #e3e2de;
  --hr-line-2: #d5d7d6;
  --hr-paper: #ffffff;
  --hr-paper-2: #f5f4f1;
  --hr-blue: #034fe7;
  --hr-blue-dk: #02369e;
  --hr-gold: #c9a961;
  --hr-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  --hr-cond: "Roboto Condensed", "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --hr-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  font-family: var(--hr-sans);
  color: var(--hr-body);
  background: var(--hr-paper);
  padding-top: 110px;
}

body.home-refresh h1,
body.home-refresh h2,
body.home-refresh h3 {
  font-family: var(--hr-cond);
  color: var(--hr-ink);
  letter-spacing: -0.01em;
}

body.home-refresh a { color: inherit; }
body.home-refresh .container { max-width: 1240px; padding: 0 24px; }

/* ---------- shared type ---------- */
body.home-refresh .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--hr-mono);
  font-size: 10.5px;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hr-muted);
  margin-bottom: 18px;
}
body.home-refresh .eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--hr-gold);
}

body.home-refresh .sec-head { max-width: 760px; margin-bottom: 40px; }
body.home-refresh .section-title {
  position: relative;
  text-align: left !important;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.08;
  font-weight: 700;
  text-align: left;
  color: var(--hr-ink);
  margin: 0;
}
body.home-refresh .section-title::after { display: none; content: none; }
body.home-refresh .section-desc {
  text-align: left !important;
  margin-left: 0 !important;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--hr-muted);
  max-width: 660px;
  margin: 14px 0 0;
}
body.home-refresh .section { padding: 96px 0; }
body.home-refresh .section-gray { background: var(--hr-paper-2); }
body.home-refresh .section-lined { border-top: 1px solid var(--hr-line); }

/* ---------- top bar ---------- */
body.home-refresh .navbar {
  background: #fff;
  border-bottom: 1px solid var(--hr-line);
  box-shadow: none;
}
body.home-refresh .nav-top {
  background: var(--hr-ink);
  border-bottom: 1px solid #24282c;
}
body.home-refresh .nav-top-label { color: rgba(255, 255, 255, 0.55); }
body.home-refresh .nav-top-value { color: #fff; }
body.home-refresh .nav-top-value:hover { color: var(--hr-gold); }
body.home-refresh .nav-top-divider { color: rgba(255, 255, 255, 0.25); }
body.home-refresh .nav-search-input {
  background: #1b1f24;
  border-color: #343941;
  border-right: none;
  color: #fff;
}
body.home-refresh .nav-search-input::placeholder { color: rgba(255, 255, 255, 0.45); }
body.home-refresh .nav-search-input:focus { border-color: var(--hr-gold); }
body.home-refresh .nav-search-btn {
  background: #24282c;
  border-color: #343941;
  color: #fff;
}
body.home-refresh .nav-search-btn:hover { background: #343941; }
body.home-refresh .nav-lang-btn {
  background: transparent;
  border-color: #3d434b;
  color: #fff;
}
body.home-refresh .nav-lang-btn:hover { border-color: var(--hr-gold); }

/* ---------- nav ---------- */
body.home-refresh .nav-main {
  background: #fff;
  backdrop-filter: none;
}
body.home-refresh .nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  height: 72px;
  padding: 0;
}
body.home-refresh .logo img { height: 44px; width: auto; }
body.home-refresh .nav-menu {
  justify-self: center;
  align-items: center;
  gap: 30px;
}
body.home-refresh .nav-link {
  font-size: 14px;
  color: #2b313a;
  padding: 6px 0;
  position: relative;
}
body.home-refresh .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  background: var(--hr-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
body.home-refresh .nav-link:hover { color: var(--hr-ink); }
body.home-refresh .nav-link:hover::after,
body.home-refresh .nav-link.active::after { transform: scaleX(1); }
body.home-refresh .nav-link.active {
  color: var(--hr-ink);
  font-weight: 500;
}
body.home-refresh .nav-toggle { color: var(--hr-ink); }

body.home-refresh .nav-quote {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 20px;
  background: var(--hr-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0;
  transition: background 0.2s ease;
}
body.home-refresh .nav-quote:hover { background: var(--hr-blue-dk); }
body.home-refresh .nav-main .nav-link:hover,
body.home-refresh .nav-main .nav-link:focus-visible {
  background: transparent !important;
  color: var(--hr-blue) !important;
}
body.home-refresh .nav-main .nav-link.active { color: var(--hr-ink) !important; }

/* dropdown panel stays consistent with flat style */
body.home-refresh .nav-dropdown {
  border: 1px solid var(--hr-line);
  border-radius: 0;
  box-shadow: 0 18px 40px rgba(20, 24, 26, 0.10);
  background: #fff;
}
body.home-refresh .nav-dd-cat { border-radius: 0; }

/* ---------- hero ---------- */
body.home-refresh .hero {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #fff !important;
  background-image: none !important;
  text-align: left !important;
  align-items: initial !important;
  justify-content: initial !important;
  overflow: hidden;
  border-bottom: 1px solid var(--hr-line);
}
body.home-refresh .hero::before { display: none; content: none; }
body.home-refresh .hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: stretch;
  gap: 0;
  padding: 0 24px;
}
body.home-refresh .hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 74px 56px 70px 0;
}
body.home-refresh .hero-title {
  font-family: var(--hr-cond);
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--hr-ink);
  max-width: 640px;
  margin: 0 0 22px;
  text-shadow: none;
}
body.home-refresh .hero-subtitle {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--hr-body);
  max-width: 520px;
  margin: 0 0 30px;
  text-shadow: none;
}
body.home-refresh .hero-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  margin: 0 0 26px;
}
body.home-refresh .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
body.home-refresh .btn-primary {
  background: var(--hr-blue);
  color: #fff;
  border: 1px solid var(--hr-blue);
  box-shadow: none;
}
body.home-refresh .btn-primary:hover {
  background: var(--hr-blue-dk);
  border-color: var(--hr-blue-dk);
  transform: none;
  box-shadow: none;
}
body.home-refresh .hero-actions .btn-ghost {
  background: #fff;
  color: var(--hr-ink);
  border: 1px solid var(--hr-line-2);
  font-weight: 500;
}
body.home-refresh .hero-actions .btn-ghost:hover {
  background: #fff;
  border-color: var(--hr-ink);
  color: var(--hr-ink);
}
body.home-refresh .hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  font-family: var(--hr-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hr-muted);
}
body.home-refresh .hero-meta li { display: flex; align-items: center; }
body.home-refresh .hero-meta li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--hr-gold);
  margin: 0 12px;
}

body.home-refresh .hero-media {
  position: relative;
  min-height: 540px;
  background: var(--hr-paper-2);
  border-left: 1px solid var(--hr-line);
  overflow: hidden;
}
body.home-refresh .hero-scene {
  position: absolute;
  inset: 0;
  display: block !important;
}
body.home-refresh .hero-scene-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease, transform 6s linear;
  transform: scale(1.02);
}
body.home-refresh .hero-scene-img.active {
  opacity: 1;
  transform: scale(1);
}
body.home-refresh .hero-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--hr-line);
  font-family: var(--hr-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hr-muted);
}

body.home-refresh .hero-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  border-top: 1px solid var(--hr-line);
}
body.home-refresh .hero-category {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-right: 1px solid var(--hr-line);
  text-decoration: none;
  color: var(--hr-ink);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease;
}
body.home-refresh .hero-category:first-child { padding-left: 0; }
body.home-refresh .hero-category:last-child { border-right: 0; padding-right: 0; }
body.home-refresh .hero-category:hover { background: var(--hr-paper-2); }
body.home-refresh .hc-idx {
  font-family: var(--hr-mono);
  font-size: 10px;
  color: var(--hr-muted);
  letter-spacing: 0.08em;
}
body.home-refresh .hc-arrow {
  margin-left: auto;
  color: var(--hr-blue);
  transition: transform 0.2s ease;
}
body.home-refresh .hero-category:hover .hc-arrow { transform: translateX(4px); }

/* 旧样式在 ≤768px 隐藏了分类条内所有 span，这里恢复 */
body.home-refresh .hero-category span { display: inline-block !important; }
body.home-refresh .nav-lang-mobile-top .nav-lang-btn {
  color: var(--hr-ink) !important;
  background: #fff !important;
  border: 1px solid var(--hr-line) !important;
  font-family: var(--hr-mono);
  font-size: 10px !important;
  letter-spacing: 0.12em;
  height: 32px;
  padding: 0 10px !important;
  border-radius: 0 !important;
}
body.home-refresh .nav-lang-mobile-top .nav-lang-btn:hover {
  border-color: var(--hr-ink) !important;
  color: var(--hr-ink) !important;
}

/* ---------- stat band ---------- */
body.home-refresh .statband {
  background: var(--hr-paper-2);
  border-bottom: 1px solid var(--hr-line);
}
body.home-refresh .statband .hero-stats {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  align-items: stretch !important;
  gap: 0 !important;
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: stretch !important;
}
body.home-refresh .statband .hero-stat {
  padding: 28px 22px 30px !important;
  border-left: 1px solid var(--hr-line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
}
body.home-refresh .statband .hero-stat:first-child { border-left: 0; padding-left: 0 !important; }
body.home-refresh .statband .hero-stat-num {
  font-family: var(--hr-cond);
  font-size: clamp(24px, 2.3vw, 34px) !important;
  font-weight: 700;
  line-height: 1.05 !important;
  color: var(--hr-ink) !important;
  margin: 0 !important;
}
body.home-refresh .statband .hero-stat-label {
  font-family: var(--hr-mono);
  font-size: 10px !important;
  line-height: 1.55 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--hr-muted) !important;
  white-space: normal !important;
}
body.home-refresh .statband .hero-stat-divider { display: none !important; }

/* ---------- featured products: flat 4-up hairline grid ---------- */
body.home-refresh #featuredProducts { padding-top: 92px; }
body.home-refresh .carousel-wrapper {
  position: relative;
  display: block;
  margin: 0;
}
body.home-refresh .carousel-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--hr-line);
  border: 1px solid var(--hr-line);
  overflow: visible;
  padding: 0;
  scroll-snap-type: none;
}
body.home-refresh .carousel-btn,
body.home-refresh .carousel-dots { display: none !important; }
body.home-refresh .carousel-card {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease;
}
body.home-refresh .carousel-card:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
  background: #fcfcfb;
}
body.home-refresh .carousel-card-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  background: #fff;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.home-refresh .carousel-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  transition: transform 0.4s ease;
}
body.home-refresh .carousel-card:hover .carousel-card-img img { transform: scale(1.04); }
body.home-refresh .carousel-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
}
body.home-refresh .carousel-card-body h4 {
  font-family: var(--hr-sans);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--hr-ink);
  margin: 0 0 8px;
  min-height: 39px;
}
body.home-refresh .carousel-card-body p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--hr-muted);
  margin: 0 0 18px;
  min-height: 38px;
}
body.home-refresh .carousel-card-body::after {
  content: "View specification →";
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--hr-blue);
  letter-spacing: 0;
}

/* ---------- applications ---------- */
body.home-refresh #appList.grid-2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--hr-line);
  border: 1px solid var(--hr-line);
}
body.home-refresh .app-card {
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background 0.2s ease;
}
body.home-refresh .app-card:hover { background: #fcfcfb; box-shadow: none; transform: none; }
body.home-refresh .app-card-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--hr-paper-2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.home-refresh .app-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
body.home-refresh .app-card:hover .app-card-media img { transform: scale(1.04); }
body.home-refresh .app-card-icon { font-size: 42px; opacity: 0.35; }
body.home-refresh .app-card-body { padding: 18px 18px 22px; }
body.home-refresh .app-card-body h4 {
  font-family: var(--hr-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--hr-ink);
  margin: 0 0 8px;
}
body.home-refresh .app-card-body p {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--hr-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- journal cards (#appGrid) ---------- */
body.home-refresh #appGrid { gap: 1px; background: var(--hr-line); border: 1px solid var(--hr-line); }
body.home-refresh #appGrid .blog-card {
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.2s ease;
}
body.home-refresh #appGrid .blog-card:hover { box-shadow: none; transform: none; background: #fcfcfb; }
body.home-refresh #appGrid .blog-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 0;
}
body.home-refresh #appGrid .blog-card > div { padding: 18px 18px 22px; }
body.home-refresh #appGrid .blog-meta {
  display: flex;
  gap: 12px;
  font-family: var(--hr-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hr-muted);
  margin-bottom: 10px;
}
body.home-refresh #appGrid .blog-card h3 {
  font-family: var(--hr-sans);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 10px;
}
body.home-refresh #appGrid .blog-card h3 a { color: var(--hr-ink); text-decoration: none; }
body.home-refresh #appGrid .blog-card:hover h3 a { color: var(--hr-blue); }
body.home-refresh #appGrid .blog-excerpt {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--hr-muted);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.home-refresh #appGrid .blog-more {
  font-size: 12px;
  font-weight: 600;
  color: var(--hr-blue);
  text-decoration: none;
}

/* ---------- certifications ---------- */
body.home-refresh #certifications .section-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--hr-line);
  border-bottom: 1px solid var(--hr-line);
}
body.home-refresh #certifications .cert-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--hr-line);
  border-radius: 0;
  padding: 26px 24px;
  text-decoration: none;
  transition: background 0.2s ease;
}
body.home-refresh #certifications .cert-card:first-child { border-left: 0; padding-left: 0; }
body.home-refresh #certifications .cert-card:hover {
  background: rgba(255, 255, 255, 0.55);
  box-shadow: none;
  transform: none;
}
body.home-refresh #certifications .cert-card img {
  width: 100%;
  height: 168px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
body.home-refresh #certifications .cert-card:hover img { filter: grayscale(0); opacity: 1; }
body.home-refresh #certifications .cert-card h4 {
  font-family: var(--hr-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hr-ink);
  margin: 0;
}

/* ---------- latest guides (server-rendered, inline styles need !important) ---------- */
body.home-refresh #homeArticles {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1px !important;
  background: var(--hr-line) !important;
  border: 1px solid var(--hr-line);
}
body.home-refresh #homeArticles > a {
  display: block !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 26px 24px !important;
  text-decoration: none !important;
  transition: background 0.2s ease;
}
body.home-refresh #homeArticles > a:hover { background: #fcfcfb !important; }
body.home-refresh #homeArticles > a > div:first-child {
  font-family: var(--hr-mono) !important;
  font-size: 9.5px !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--hr-muted) !important;
  margin-bottom: 12px !important;
}
body.home-refresh #homeArticles h3 {
  font-family: var(--hr-sans) !important;
  font-size: 16px !important;
  line-height: 1.42 !important;
  font-weight: 600 !important;
  color: var(--hr-ink) !important;
  margin: 0 0 10px !important;
}
body.home-refresh #homeArticles p {
  font-size: 12.5px !important;
  line-height: 1.62 !important;
  color: var(--hr-muted) !important;
  margin: 0 !important;
}
body.home-refresh .sec-more { margin: 28px 0 0; }
body.home-refresh .sec-more a {
  font-size: 13px;
  font-weight: 600;
  color: var(--hr-blue);
  text-decoration: none;
}
body.home-refresh .sec-more a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- contact ---------- */
body.home-refresh .contact-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 64px;
  align-items: start;
}
body.home-refresh .contact-main .section-desc { margin-bottom: 30px; }
body.home-refresh .contact-form {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
}
body.home-refresh .contact-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
body.home-refresh .contact-form input,
body.home-refresh .contact-form textarea {
  width: 100%;
  margin: 0;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid var(--hr-line-2);
  border-radius: 0;
  font-family: var(--hr-sans);
  font-size: 14px;
  color: var(--hr-ink);
  min-height: 48px;
  transition: border-color 0.2s ease;
}
body.home-refresh .contact-form input::placeholder,
body.home-refresh .contact-form textarea::placeholder { color: #8b929d; }
body.home-refresh .contact-form input:focus,
body.home-refresh .contact-form textarea:focus {
  outline: none;
  border-color: var(--hr-blue);
  box-shadow: none;
}
body.home-refresh .contact-form textarea { min-height: 130px; resize: vertical; }
body.home-refresh .contact-form .btn {
  align-self: flex-start;
  width: auto;
  padding: 0 28px;
  margin-top: 4px;
  border-radius: 0;
  font-size: 14px;
}

body.home-refresh .contact-side {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--hr-line);
  border: 1px solid var(--hr-line);
}
body.home-refresh .side-box { background: #fff; padding: 22px 24px; }
body.home-refresh .side-label {
  display: block;
  font-family: var(--hr-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hr-muted);
  margin-bottom: 8px;
}
body.home-refresh .side-value {
  display: block;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--hr-ink);
  text-decoration: none;
}
body.home-refresh a.side-value:hover { color: var(--hr-blue); }
body.home-refresh .side-box p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--hr-muted);
}

/* footer: 2026-12-05 起复用全站 .sf-foot 样式，首页不再单独覆盖 */

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  body.home-refresh .nav-menu { gap: 22px; }
  body.home-refresh .hero-copy { padding-right: 40px; }
  body.home-refresh .hero-media { min-height: 480px; }
}

@media (max-width: 1023px) {
  body.home-refresh .nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 64px;
    height: 64px;
  }
  body.home-refresh .nav-quote { display: none; }
  body.home-refresh .nav-actions { display: flex; }
  body.home-refresh .nav-menu { top: 64px; }
  body.home-refresh .hero-grid { grid-template-columns: 1fr; padding: 0 20px; }
  body.home-refresh .hero-copy { padding: 56px 0 40px; }
  body.home-refresh .hero-media {
    min-height: 360px;
    border-left: 0;
    border-top: 1px solid var(--hr-line);
  }
  body.home-refresh .hero-cats { padding: 0 20px; }
  body.home-refresh .hero-category { padding: 16px 14px; font-size: 13px; }
  body.home-refresh .statband .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  body.home-refresh .statband .hero-stat { border-left: 1px solid var(--hr-line); padding: 22px 18px !important; }
  body.home-refresh .statband .hero-stat:nth-child(3n + 1) { border-left: 0; padding-left: 0 !important; }
  body.home-refresh .carousel-track { grid-template-columns: repeat(2, 1fr); }
  body.home-refresh #appList.grid-2 { grid-template-columns: repeat(2, 1fr); }
  body.home-refresh #appGrid { grid-template-columns: 1fr 1fr; }
  body.home-refresh #homeArticles { grid-template-columns: 1fr 1fr !important; }
  body.home-refresh #certifications .section-grid-4 { grid-template-columns: 1fr 1fr; }
  body.home-refresh #certifications .cert-card:nth-child(3) { border-left: 0; padding-left: 0; }
  body.home-refresh #certifications .cert-card:nth-child(n + 3) { border-top: 1px solid var(--hr-line); }
  body.home-refresh .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 767px) {
  body.home-refresh { padding-top: 64px; }
  body.home-refresh .nav-top { display: none; }
  body.home-refresh .logo img { height: 38px; }
  body.home-refresh .hero-copy { padding: 40px 0 32px; }
  body.home-refresh .hero-title { font-size: clamp(32px, 9vw, 42px); }
  body.home-refresh .hero-subtitle { font-size: 15px; }
  body.home-refresh .hero-media { min-height: 260px; }
  body.home-refresh .hero-cats { grid-template-columns: 1fr; padding: 0 20px; }
  body.home-refresh .hero-category { border-right: 0; border-bottom: 1px solid var(--hr-line); padding: 14px 0; }
  body.home-refresh .hero-category:last-child { border-bottom: 0; }
  body.home-refresh .statband .hero-stats { grid-template-columns: 1fr 1fr !important; }
  /* 移动端菜单：整幅白色面板，替代旧的窄浮层 */
  body.home-refresh .nav-menu {
    left: 0 !important;
    right: 0 !important;
    top: 64px !important;
    width: 100% !important;
    max-height: calc(100vh - 64px) !important;
    overflow-y: auto;
    padding: 4px 20px 24px !important;
    background: #fff !important;
    border-top: 1px solid var(--hr-line);
    border-bottom: 1px solid var(--hr-line);
    box-shadow: 0 16px 32px rgba(20, 24, 26, 0.06) !important;
  }
  body.home-refresh .nav-menu {
    align-items: stretch !important;
    gap: 0 !important;
  }
  body.home-refresh .nav-menu .nav-link {
    display: flex !important;
    align-items: center;
    width: 100% !important;
    padding: 15px 0 !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    color: var(--hr-ink) !important;
    background: transparent !important;
    border-radius: 0 !important;
    text-align: left !important;
    border-bottom: 1px solid var(--hr-line);
  }
  body.home-refresh .nav-menu .nav-link.active::after { display: none !important; }
  body.home-refresh .nav-menu .nav-has-dropdown > .nav-link {
    justify-content: space-between !important;
  }
  body.home-refresh .nav-menu .nav-has-dropdown > .nav-link::after {
    content: '+' !important;
    display: inline-block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border-radius: 0 !important;
    margin-left: auto;
    color: var(--hr-muted) !important;
    font-size: 20px !important;
    font-weight: 400;
    line-height: 1;
  }
  body.home-refresh .nav-menu .nav-has-dropdown.open > .nav-link::after {
    content: '\2212' !important;
    color: var(--hr-ink) !important;
  }
  body.home-refresh .nav-menu .nav-has-dropdown:last-of-type .nav-link { border-bottom: 0; }
  body.home-refresh .nav-menu .nav-link:hover { color: var(--hr-blue) !important; background: transparent !important; }
  body.home-refresh .statband .hero-stat:nth-child(3n + 1) { border-left: 1px solid var(--hr-line); padding-left: 18px !important; }
  body.home-refresh .statband .hero-stat:nth-child(odd) { border-left: 0; padding-left: 0 !important; }
  body.home-refresh .section { padding: 64px 0; }
  body.home-refresh .container { padding: 0 20px; }
  body.home-refresh .carousel-track { grid-template-columns: 1fr; }
  body.home-refresh .carousel-card-img { aspect-ratio: 16 / 10; }
  body.home-refresh #appList.grid-2 { grid-template-columns: 1fr; }
  body.home-refresh #appGrid { grid-template-columns: 1fr; }
  body.home-refresh #homeArticles { grid-template-columns: 1fr !important; }
  body.home-refresh #certifications .section-grid-4 { grid-template-columns: 1fr; }
  body.home-refresh #certifications .cert-card { border-left: 0; padding-left: 0; border-top: 1px solid var(--hr-line); }
  body.home-refresh #certifications .cert-card:first-child { border-top: 0; }
  body.home-refresh .contact-form .field-row { grid-template-columns: 1fr; }
}
