/* GangJin — teal brand palette (aligned with corporate logo) */
:root {
  --gj-teal-900: #002830;
  --gj-teal-800: #003b46;
  --gj-teal-700: #004d56;
  --gj-teal-600: #1a6b78;
  --gj-teal-500: #2a8d9c;
  --gj-teal-400: #4aafb8;
  --gj-teal-300: #76c7c0;
  --gj-teal-200: #9ad9d4;
  --gj-bg: #ffffff;
  --gj-bg-alt: #f4fafa;
  --gj-card: #ffffff;
  --gj-border: rgba(26, 107, 120, 0.14);
  --gj-border-focus: var(--gj-teal-600);
  --gj-gold: var(--gj-teal-600);
  --gj-gold-light: var(--gj-teal-500);
  --gj-accent-on: #ffffff;
  --gj-text: #1e3a40;
  --gj-muted: #5f7d84;
  --gj-radius: 12px;
  --gj-shadow: 0 4px 24px rgba(0, 59, 70, 0.08);
  /* Type scale (reference site uses 16px root) */
  --gj-fs-body: 16px;
  --gj-fs-sm: 14px;
  --gj-fs-xs: 13px;
  --gj-fs-nav: 14px;
  --gj-fs-h1: 2.85rem;   /* ~46px */
  --gj-fs-h2: 2rem;      /* 32px */
  --gj-fs-h3: 1.125rem;  /* 18px service cards */
}

* { box-sizing: border-box; }

/* Override bootstrap 62.5% (10px) so rem matches reference site */
html {
  font-size: 16px;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: var(--gj-fs-body);
  background: var(--gj-bg);
  color: var(--gj-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.gj-nav-open { overflow: hidden; }

a { color: var(--gj-teal-600); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gj-teal-500); text-decoration: none; }

.gj-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.gj-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; }
.gj-wrap img { max-width: 100%; height: auto; }

/* Header — logo left, nav center (ref. auharbor.com) */
.gj-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gj-border);
}
.gj-header .gj-container {
  max-width: 1360px;
}
.gj-header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 48px;
  height: 76px;
}
.gj-logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--gj-teal-600);
}
.gj-logo img { height: 44px; width: auto; display: block; }
.gj-header-nav {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  justify-self: center;
  padding: 0 12px;
  overflow: visible;
  pointer-events: none;
}
.gj-nav > li,
.gj-nav a {
  pointer-events: auto;
}
.gj-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: visible;
}
.gj-nav > li { position: relative; }
.gj-nav a {
  display: block;
  padding: 10px 16px;
  color: var(--gj-text);
  border-radius: 0;
  font-size: var(--gj-fs-nav);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
  background: transparent;
}
.gj-nav > li > a:hover { color: var(--gj-teal-600); }
.gj-nav > li.active > a,
.gj-nav > li.active > a:first-child {
  color: var(--gj-teal-600);
  font-weight: 600;
}
.gj-nav-submenu li.active > a {
  color: var(--gj-teal-600);
  font-weight: 600;
  background: var(--gj-bg-alt);
}
@media (min-width: 769px) {
  .gj-nav > li.active > a,
  .gj-nav > li.active > a:first-child {
    box-shadow: inset 0 -2px 0 var(--gj-teal-600);
  }
}
.gj-nav-has-submenu { position: relative; }
.gj-nav-has-submenu::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}
.gj-nav-has-submenu > a:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.gj-nav-has-submenu > a:first-child::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-top: -2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.45;
  transition: transform 0.2s, opacity 0.2s;
}
.gj-nav-has-submenu:hover > a:first-child,
.gj-nav-has-submenu.is-open > a:first-child {
  color: var(--gj-teal-600);
}
.gj-nav-has-submenu:hover > a:first-child::after,
.gj-nav-has-submenu.is-open > a:first-child::after {
  opacity: 0.9;
}
@media (min-width: 769px) {
  .gj-nav-has-submenu:hover > a:first-child,
  .gj-nav-has-submenu.is-open > a:first-child {
    box-shadow: inset 0 -2px 0 var(--gj-teal-500);
  }
  .gj-nav-has-submenu:hover > .gj-nav-submenu { display: block; }
}
.gj-nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid var(--gj-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 59, 70, 0.08);
  z-index: 1100;
}
.gj-nav-submenu li { margin: 0; }
.gj-nav-submenu a {
  padding: 11px 20px;
  color: var(--gj-text);
  border-radius: 0;
  background: transparent;
  border: none;
  font-size: var(--gj-fs-sm);
  font-weight: 400;
  text-align: left;
}
.gj-nav-submenu a:hover {
  color: var(--gj-teal-600);
  background: var(--gj-bg-alt);
}
.gj-header-actions {
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
  padding-left: 8px;
}
.gj-lang-switch {
  position: relative;
  z-index: 11;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--gj-fs-sm);
  line-height: 1;
  white-space: nowrap;
}
.gj-lang-current {
  color: var(--gj-muted);
  cursor: default;
  user-select: none;
}
.gj-lang-link {
  position: relative;
  z-index: 1;
  color: var(--gj-teal-600);
  font-weight: 500;
  transition: color 0.2s;
}
.gj-lang-link:hover {
  color: var(--gj-teal-500);
}
.gj-lang-sep {
  color: var(--gj-muted);
  opacity: 0.5;
}
.gj-lang-label--short {
  display: none;
}

/* 英文导航项较长时，适度收窄间距 */
@media (min-width: 769px) and (max-width: 1360px) {
  .gj-header-inner {
    column-gap: 32px;
  }
  .gj-nav a {
    padding: 10px 12px;
    font-size: 13px;
  }
  .gj-lang-switch {
    font-size: 12px;
    gap: 6px;
  }
}
.gj-btn-sm {
  padding: 8px 20px;
  font-size: var(--gj-fs-sm);
}
.gj-nav-toggle {
  display: none;
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--gj-border);
  color: var(--gj-text);
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}
.gj-nav-toggle[aria-expanded="true"] {
  border-color: var(--gj-border-focus);
  color: var(--gj-teal-600);
  background: var(--gj-bg-alt);
}

/* Buttons */
.gj-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: var(--gj-fs-body);
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}
.gj-btn-primary {
  background: linear-gradient(135deg, var(--gj-teal-500), var(--gj-teal-700));
  color: #ffffff;
}
.gj-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(42, 141, 156, 0.28); color: #ffffff; }
.gj-btn-outline {
  background: transparent;
  border: 1px solid var(--gj-border);
  color: var(--gj-teal-600);
}
.gj-btn-outline:hover { background: rgba(26, 107, 120, 0.06); color: var(--gj-teal-700); }

/* Hero */
.gj-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gj-teal-800) 0%, var(--gj-teal-700) 50%, var(--gj-teal-600) 100%);
}
.gj-hero-slide {
  display: none;
  min-height: 560px;
  background-size: cover;
  background-position: center;
}
.gj-hero-slide.active { display: flex; align-items: center; }
.gj-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,38,43,0.92) 0%, rgba(10,38,43,0.6) 60%, transparent 100%);
}
.gj-hero-content { position: relative; z-index: 2; max-width: 600px; padding: 80px 0; color: #ffffff; }
.gj-hero-tag {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  font-size: var(--gj-fs-xs);
  color: var(--gj-teal-200);
  margin-bottom: 20px;
}
.gj-hero h1 { font-size: var(--gj-fs-h1); margin: 0 0 16px; line-height: 1.2; color: #ffffff; }
.gj-hero p { font-size: 18px; color: rgba(255, 255, 255, 0.82); margin-bottom: 32px; }
.gj-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.gj-hero .gj-btn-outline {
  border-color: rgba(255, 255, 255, 0.65);
  color: #ffffff;
}
.gj-hero .gj-btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}
.gj-hero-nav {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.gj-hero-nav button {
  width: 44px; height: 44px;
  border: 1px solid var(--gj-border);
  background: rgba(0, 59, 70, 0.55);
  color: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
}
.gj-hero-nav button:hover { border-color: var(--gj-teal-200); color: var(--gj-teal-200); }

/* Section common */
.gj-section { padding: 50px 0; }
.gj-section-alt { background: var(--gj-bg-alt); }
.gj-section-header { text-align: center; margin-bottom: 48px; }
.gj-section-label {
  display: block;
  font-size: var(--gj-fs-xs);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gj-gold);
  margin-bottom: 12px;
}
.gj-section-header h2 { font-size: var(--gj-fs-h2); margin: 0 0 12px; }
.gj-section-header p { color: var(--gj-muted); margin: 0; font-size: var(--gj-fs-body); }
.gj-section--channel-page { padding-top: 0; }
.gj-channel-banner-wrap {
  overflow: hidden;
  border-radius: var(--gj-radius);
  max-height: 280px;
}
.gj-section--channel-page .gj-channel-banner {
  display: block;
  width: 100%;
  height: 280px;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
  margin: 0;
}
.gj-section--channel-page .gj-section-header {
  padding-top: 40px;
}
.gj-section--channel-page .gj-article-detail {
  margin-top: 0;
}

/* News grid */
.gj-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gj-news-grid--4col { grid-template-columns: repeat(4, 1fr); }
.gj-news-card {
  background: var(--gj-card);
  border: 1px solid var(--gj-border);
  border-radius: var(--gj-radius);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.gj-news-card:hover {
  border-color: rgba(26, 107, 120, 0.28);
  box-shadow: 0 6px 20px rgba(0, 59, 70, 0.06);
}
.gj-news-card.featured { grid-row: span 1; }
.gj-news-thumb {
  height: 180px;
  background: var(--gj-bg-alt) center/cover no-repeat;
  overflow: hidden;
}
.gj-news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gj-news-body { padding: 20px; }
.gj-news-cat {
  display: inline-block;
  font-size: var(--gj-fs-xs);
  padding: 4px 10px;
  background: rgba(42, 141, 156, 0.1);
  color: var(--gj-teal-700);
  border-radius: 4px;
  margin-bottom: 10px;
}
.gj-news-body h3 { font-size: var(--gj-fs-body); margin: 0 0 10px; line-height: 1.4; }
.gj-news-body h3 a { color: var(--gj-text); }
.gj-news-body h3 a:hover { color: var(--gj-teal-600); }
.gj-news-body p { font-size: var(--gj-fs-sm); color: var(--gj-muted); margin: 0 0 12px; }
.gj-news-date { font-size: var(--gj-fs-xs); color: var(--gj-muted); }
.gj-news-compact-list { margin-top: 24px; }
.gj-news-compact-main { flex: 1; }
.gj-news-compact {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--gj-card);
  border: 1px solid var(--gj-border);
  border-radius: var(--gj-radius);
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.gj-news-compact:hover { border-color: var(--gj-teal-600); }
.gj-news-compact h4 { margin: 0 0 6px; font-size: var(--gj-fs-body); }
.gj-news-compact p { margin: 0; font-size: var(--gj-fs-sm); color: var(--gj-muted); }
.gj-news-compact .gj-news-date { flex-shrink: 0; white-space: nowrap; }
.gj-news-compact h4 a { color: var(--gj-text); }
.gj-news-more { text-align: center; margin-top: 40px; }

/* Services */
.gj-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gj-service-card {
  background: var(--gj-card);
  border: 1px solid var(--gj-border);
  border-radius: var(--gj-radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.25s;
}
.gj-service-card:hover {
  border-color: var(--gj-teal-600);
  transform: translateY(-4px);
  box-shadow: var(--gj-shadow);
}
.gj-service-icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  background: rgba(42, 141, 156, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.gj-service-card h3 { font-size: var(--gj-fs-h3); margin: 0 0 12px; }
.gj-service-card h3 a { color: var(--gj-text); }
.gj-service-card p { font-size: var(--gj-fs-sm); color: var(--gj-muted); margin: 0; }

/* About Us — homepage */
.gj-about {
  background-size: 48px 48px;
}
.gj-about-header {
  text-align: center;
  margin-bottom: 56px;
}
.gj-about-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gj-teal-500);
  font-size: var(--gj-fs-xs);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.gj-about-label-line {
  width: 48px;
  height: 1px;
  background: var(--gj-teal-400);
}
.gj-about-header h2 {
  font-size: var(--gj-fs-h2);
  margin: 0;
  color: var(--gj-text);
}
.gj-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.gj-about-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--gj-text);
}
.gj-about-text {
  color: var(--gj-muted);
  font-size: var(--gj-fs-body);
  line-height: 1.9;
}
.gj-about-media {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(24, 59, 75, 0.12);
}
.gj-about-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Footer */
.gj-footer {
  background: #183b4b;
  border-top: none;
  padding: 60px 0 0;
  margin-top: auto;
}
.gj-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  align-items: start;
}
.gj-footer-col--links { min-width: 0; }
.gj-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
}
.gj-footer-links li { margin-bottom: 0; }
.gj-footer-brand .gj-logo img { max-height: 40px; width: auto; }
.gj-footer-bottom p {
  margin: 0;
  padding: 0 16px;
  line-height: 1.6;
  word-break: break-word;
}
.gj-footer h4 { color: var(--gj-teal-200); font-size: var(--gj-fs-body); margin: 0 0 20px; }
.gj-footer p, .gj-footer li { color: rgba(255, 255, 255, 0.78); font-size: var(--gj-fs-sm); }
.gj-footer ul { list-style: none; padding: 0; margin: 0; }
.gj-footer ul li { margin-bottom: 10px; }
.gj-footer-contact {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--gj-fs-sm);
  line-height: 2;
}
.gj-footer ul a { color: rgba(255, 255, 255, 0.78); }
.gj-footer ul a:hover { color: var(--gj-teal-200); }
.gj-footer-brand { font-size: 20px; font-weight: 700; color: #ffffff; margin-bottom: 16px; }
.gj-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--gj-fs-sm);
}

/* Inner pages */
.gj-breadcrumb-bar {
  background: var(--gj-bg-alt);
  border-bottom: 1px solid var(--gj-border);
  padding: 12px 0;
}
.gj-page-header {
  background: var(--gj-bg-alt);
  border-bottom: 1px solid var(--gj-border);
  padding: 16px 0 28px;
}
.gj-page-title {
  margin: 12px 0 0;
  font-size: var(--gj-fs-h2);
  line-height: 1.3;
}
.gj-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  font-size: var(--gj-fs-sm);
  line-height: 1.6;
}
.gj-breadcrumb-link {
  color: var(--gj-muted);
  transition: color 0.2s;
}
.gj-breadcrumb-link:hover { color: var(--gj-teal-600); }
.gj-breadcrumb-current {
  color: var(--gj-text);
  font-weight: 500;
}
.gj-breadcrumb-sep {
  display: inline-block;
  margin: 0 8px;
  color: rgba(95, 125, 132, 0.45);
  user-select: none;
}
.gj-content { padding: 48px 0; }
.gj-content--article { padding-top: 32px; }
.gj-content .row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.gj-content .col-main { flex: 0 0 75%; max-width: 75%; padding: 0 15px; }
.gj-content .col-side { flex: 0 0 25%; max-width: 25%; padding: 0 15px; }

.gj-article-list .gj-news-card { margin-bottom: 24px; }
.gj-article-detail {
  background: var(--gj-card);
  border: 1px solid var(--gj-border);
  border-radius: var(--gj-radius);
  padding: 32px;
  min-width: 0;
}
.gj-article-detail .gj-article-title,
.gj-article-detail h1:not(.gj-article-title) { font-size: var(--gj-fs-h2); margin: 0 0 16px; }
.gj-article-detail .gj-article-title { margin: 0 0 20px; padding-bottom: 16px; border-bottom: 1px solid var(--gj-border); line-height: 1.35; }
.gj-article-meta { color: var(--gj-muted); font-size: var(--gj-fs-sm); margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--gj-border); }
.gj-article-body {
  line-height: 1.8;
  font-size: var(--gj-fs-body);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-wrap: break-word;
  word-break: break-word;
}
.gj-article-body * { box-sizing: border-box; max-width: 100%; }
.gj-article-body p,
.gj-article-body li,
.gj-article-body td,
.gj-article-body th,
.gj-article-body div,
.gj-article-body span {
  overflow-wrap: anywhere;
  word-wrap: break-word;
  word-break: break-word;
}
.gj-article-body img,
.gj-article-body video,
.gj-article-body iframe,
.gj-article-body embed,
.gj-article-body object {
  max-width: 100% !important;
  height: auto !important;
}
.gj-article-body img { border-radius: 8px; }
.gj-article-body table {
  width: 100% !important;
  max-width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.gj-article-body pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-x: auto;
  max-width: 100%;
}
.gj-article-body h1,
.gj-article-body h2,
.gj-article-body h3,
.gj-article-body h4,
.gj-article-body h5,
.gj-article-body h6 {
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.gj-sidebar-widget {
  background: var(--gj-card);
  border: 1px solid var(--gj-border);
  border-radius: var(--gj-radius);
  padding: 24px;
  margin-bottom: 24px;
}
.gj-sidebar-widget h3 { font-size: var(--gj-fs-body); color: var(--gj-gold); margin: 0 0 16px; }
.gj-sidebar-item { padding: 12px 0; border-bottom: 1px solid var(--gj-border); }
.gj-sidebar-item:last-child { border-bottom: none; }
.gj-sidebar-item h4 { margin: 0 0 4px; font-size: var(--gj-fs-sm); }
.gj-sidebar-item h4 a { color: var(--gj-text); }
.gj-tag { display: inline-block; padding: 4px 10px; margin: 4px; background: rgba(42, 141, 156, 0.08); border-radius: 4px; font-size: var(--gj-fs-xs); color: var(--gj-teal-700); }

.gj-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; list-style: none; padding: 0; }
.gj-pagination a, .gj-pagination li.active span {
  display: block; padding: 8px 14px;
  border: 1px solid var(--gj-border);
  border-radius: 6px;
  color: var(--gj-text);
}
.gj-pagination li.active span { background: var(--gj-teal-600); color: #ffffff; border-color: var(--gj-teal-600); }
.gj-nav-prev-next { display: flex; justify-content: space-between; margin-top: 32px; }

.gj-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.gj-contact-card {
  background: var(--gj-card);
  border: 1px solid var(--gj-border);
  border-radius: var(--gj-radius);
  padding: 28px;
  text-align: center;
}
.gj-contact-card dt { color: var(--gj-gold); font-weight: 600; margin-bottom: 8px; }
.gj-contact-card dd { color: var(--gj-muted); margin: 0; }

.gj-alert { padding: 16px 20px; border-radius: 8px; margin-bottom: 20px; }
.gj-alert-info { background: rgba(33,150,243,0.15); border: 1px solid rgba(33,150,243,0.3); }
.gj-alert-danger { background: rgba(244,67,54,0.15); border: 1px solid rgba(244,67,54,0.3); }

#toTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  background: var(--gj-teal-600);
  color: #ffffff;
  line-height: 0;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(24, 59, 75, 0.35);
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
#toTop.is-visible { display: flex; }
#toTop:hover,
#toTop:focus {
  color: #ffffff;
  background: var(--gj-teal-500);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24, 59, 75, 0.4);
}
#toTop .gj-totop-icon {
  display: block;
  flex-shrink: 0;
}

/* Header — narrow desktop */
@media (max-width: 1100px) {
  .gj-nav a { padding: 8px 12px; font-size: 13px; }
  .gj-logo img { height: 40px; }
}

/* Responsive — tablet */
@media (max-width: 992px) {
  .gj-news-grid { grid-template-columns: repeat(2, 1fr); }
  .gj-news-grid--4col { grid-template-columns: repeat(2, 1fr); }
  .gj-services-grid { grid-template-columns: repeat(2, 1fr); }
  .gj-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .gj-footer-col--links { grid-column: auto; }
  .gj-footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 20px;
    max-width: 480px;
  }
  .gj-content .col-main, .gj-content .col-side { flex: 0 0 100%; max-width: 100%; }
  .gj-section { padding: 64px 0; }
  .gj-section--channel-page {
    padding-top: 0;
    padding-bottom: 48px;
  }
  .gj-channel-banner-wrap { max-height: 200px; }
  .gj-section--channel-page .gj-channel-banner {
    height: 200px;
    max-height: 200px;
  }
  .gj-section--channel-page .gj-section-header {
    padding-top: 28px;
    margin-bottom: 36px;
  }
}

/* Responsive — mobile */
@media (max-width: 768px) {
  :root {
    --gj-fs-body: 14px;
    --gj-fs-sm: 13px;
    --gj-fs-xs: 12px;
    --gj-fs-h2: 1.5rem;
    --gj-fs-h3: 1.0625rem;
  }

  .gj-container { padding: 0 16px; }

  /* Mobile header: Logo 左 | 语言+菜单 右 */
  .gj-header .gj-container {
    max-width: none;
  }
  .gj-header-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 0;
    height: 64px;
    gap: 0;
  }
  .gj-logo {
    flex: 0 1 auto;
    min-width: 0;
    margin-right: auto;
    padding-right: 8px;
  }
  .gj-header-nav {
    flex: none;
    position: absolute;
    left: -16px;
    right: -16px;
    top: 100%;
    transform: none;
    width: auto;
    display: block;
    justify-content: flex-start;
    justify-self: auto;
    padding: 0;
    pointer-events: auto;
  }
  .gj-header-actions {
    flex: 0 0 auto;
    justify-self: auto;
    margin-left: 8px;
    padding-left: 0;
    gap: 8px;
  }
  .gj-lang-switch {
    font-size: var(--gj-fs-xs);
    gap: 5px;
  }
  .gj-lang-label--full {
    display: none;
  }
  .gj-lang-label--short {
    display: inline;
  }
  .gj-nav-toggle { display: flex; align-items: center; justify-content: center; }
  .gj-nav {
    display: none;
    position: static;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--gj-border);
    padding: 12px 16px 16px;
    box-shadow: var(--gj-shadow);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .gj-nav.open { display: flex; }
  .gj-nav > li { width: 100%; }
  .gj-nav a {
    width: 100%;
    padding: 12px 16px;
    font-size: var(--gj-fs-body);
  }
  .gj-nav-has-submenu > a:first-child {
    justify-content: space-between;
  }
  .gj-nav-has-submenu::before { display: none; }
  .gj-nav-has-submenu.is-open > a:first-child,
  .gj-nav-has-submenu.active > a:first-child,
  .gj-nav > li.active > a {
    color: var(--gj-teal-600);
    background: var(--gj-bg-alt);
  }
  .gj-nav-has-submenu.is-open > a:first-child::after {
    transform: rotate(-135deg);
    margin-top: 2px;
  }
  .gj-nav-submenu {
    position: static;
    display: none;
    transform: none;
    min-width: 0;
    margin: 0;
    padding: 4px 0 8px;
    box-shadow: none;
    background: transparent;
    border: none;
    border-radius: 0;
  }
  .gj-nav-has-submenu.is-open > .gj-nav-submenu { display: block; }
  .gj-nav-submenu a {
    padding: 10px 16px 10px 32px;
    color: var(--gj-muted);
    font-size: var(--gj-fs-sm);
    border-radius: 0;
  }
  .gj-nav-submenu a:hover,
  .gj-nav-submenu a:active {
    color: var(--gj-teal-600);
    background: var(--gj-bg-alt);
  }
  .gj-logo { font-size: 18px; }
  .gj-logo img {
    height: 32px;
    max-width: min(160px, 42vw);
  }
  .gj-logo span {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Hero */
  .gj-hero,
  .gj-hero-slide { min-height: 420px; }
  .gj-hero-content { padding: 48px 0 64px; max-width: 100%; }
  .gj-hero h1 { font-size: 1.75rem; line-height: 1.25; }
  .gj-hero p { font-size: var(--gj-fs-body); margin-bottom: 24px; }
  .gj-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .gj-hero-actions .gj-btn {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }
  .gj-hero-nav {
    bottom: 16px;
    right: 16px;
  }

  .gj-section { padding: 48px 0; }
  .gj-section--channel-page {
    padding-top: 0;
    padding-bottom: 40px;
  }
  .gj-channel-banner-wrap {
    max-height: 180px;
    border-radius: 8px;
  }
  .gj-section--channel-page .gj-channel-banner {
    height: 180px;
    max-height: 180px;
  }
  .gj-section--channel-page .gj-section-header {
    padding-top: 20px;
    margin-bottom: 28px;
  }
  .gj-section-header { margin-bottom: 32px; }
  .gj-section-header h2 { font-size: 1.5rem; }

  /* News & channel list */
  .gj-news-grid { grid-template-columns: 1fr; gap: 20px; }
  .gj-news-grid--4col { grid-template-columns: 1fr; }
  .gj-news-thumb { height: 160px; }
  .gj-news-body { padding: 16px; }
  .gj-nav-prev-next {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    margin-top: 24px;
  }
  .gj-nav-prev-next a,
  .gj-nav-prev-next span {
    display: block;
    text-align: center;
    padding: 12px 16px;
    border: 1px solid var(--gj-border);
    border-radius: 8px;
  }
  .gj-pagination { margin-top: 20px; gap: 6px; }
  .gj-news-compact {
    flex-direction: column;
    gap: 8px;
  }
  .gj-news-compact .gj-news-date { white-space: normal; }
  .gj-news-more .gj-btn { width: 100%; text-align: center; }

  /* Services & about */
  .gj-services-grid { grid-template-columns: 1fr; }
  .gj-service-card { padding: 24px 20px; }
  .gj-about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .gj-about:not(.gj-about--reverse) .gj-about-media { order: -1; }
  .gj-about-header { margin-bottom: 40px; }
  .gj-about-content h3 { font-size: 1.25rem; }

  /* Footer */
  .gj-footer { padding-top: 40px; }
  .gj-footer-grid { gap: 28px; }
  .gj-footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 12px;
    max-width: 100%;
  }
  .gj-footer-links a { font-size: var(--gj-fs-xs); }
  .gj-footer-brand .gj-logo img { max-height: 32px; }
  .gj-footer h4 { margin-bottom: 14px; }
  .gj-contact-grid { grid-template-columns: 1fr; }

  /* Inner pages */
  .gj-breadcrumb-bar { padding: 10px 0; }
  .gj-page-header { padding: 12px 0 20px; }
  .gj-page-title { font-size: 1.5rem; margin-top: 10px; }
  .gj-breadcrumb { font-size: var(--gj-fs-xs); }
  .gj-breadcrumb-sep { margin: 0 6px; }
  .gj-content { padding: 32px 0; }
  .gj-content--article { padding-top: 24px; }
  .gj-article-detail { padding: 20px 16px; min-width: 0; }
  .gj-article-detail .gj-article-title,
  .gj-article-detail h1 { font-size: 1.35rem; }
  .gj-article-detail .gj-article-title { margin-bottom: 16px; padding-bottom: 12px; }
  .gj-section--channel-page .gj-article-detail { padding: 16px 14px; }
  .gj-section--channel-page .gj-article-detail h1 { font-size: 1.25rem; margin-bottom: 12px; }
  .gj-article-body {
    font-size: var(--gj-fs-sm);
    line-height: 1.75;
  }
  /* 覆盖 CMS 编辑器内联字号/宽度，保证移动端可读与换行 */
  .gj-article-body p,
  .gj-article-body span,
  .gj-article-body font,
  .gj-article-body div,
  .gj-article-body li,
  .gj-article-body td,
  .gj-article-body th,
  .gj-article-body a {
    font-size: inherit !important;
    line-height: inherit !important;
    max-width: 100% !important;
    width: auto !important;
    white-space: normal !important;
  }
  .gj-article-body h1 { font-size: 1.25rem !important; }
  .gj-article-body h2 { font-size: 1.125rem !important; }
  .gj-article-body h3 { font-size: 1.0625rem !important; }
  .gj-article-body h4,
  .gj-article-body h5,
  .gj-article-body h6 { font-size: 1rem !important; }
  .gj-content .row { margin: 0; }
  .gj-content .col-main,
  .gj-content .col-side { padding: 0; }
  .gj-pagination { flex-wrap: wrap; }
  #toTop {
    bottom: 20px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
  #toTop .gj-totop-icon {
    width: 18px;
    height: 18px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .gj-header-inner { height: 56px; }
  .gj-logo img {
    height: 28px;
    max-width: min(130px, 38vw);
  }
  .gj-lang-switch {
    font-size: 11px;
    gap: 4px;
  }
  .gj-nav-toggle {
    min-width: 40px;
    min-height: 40px;
    padding: 6px 10px;
    font-size: 18px;
  }
  .gj-nav {
    max-height: calc(100vh - 56px);
  }
  .gj-channel-banner-wrap { max-height: 140px; }
  .gj-section--channel-page .gj-channel-banner {
    height: 140px;
    max-height: 140px;
  }
  .gj-section--channel-page .gj-section-header {
    padding-top: 16px;
    margin-bottom: 24px;
  }
  .gj-section--channel-page .gj-section-header h2 { font-size: 1.35rem; }
  .gj-article-detail { padding: 16px 12px; }
  .gj-section--channel-page .gj-article-detail { padding: 14px 12px; }
  .gj-article-body { font-size: var(--gj-fs-xs); }
  .gj-news-grid { gap: 16px; }
  .gj-news-thumb { height: 140px; }
  .gj-news-body h3 { font-size: var(--gj-fs-sm); }
}
