/* 51国际本科 — 自研学院风（深蓝学院 + 金点缀）
 * 不依赖易优；桌面 + 手机一体；渠道站点 51guojibenke
 */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700&family=Noto+Serif+SC:wght@600;700&display=swap");

:root {
  --ink: #121c1e;
  --ink-soft: #2a3a3d;
  --teal: #163a5f;
  --teal-deep: #0c2744;
  --teal-mid: #1e568a;
  --mint: #2a7ab8;
  --maple: #b8860b;
  --maple-soft: #d4a017;
  --gold: #c4a05a;
  --fog: #eef2f7;
  --paper: #f7f9fc;
  --line: #d5dde8;
  --muted: #5a6a7a;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 12px 32px rgba(12, 39, 68, 0.1);
  --shadow-sm: 0 4px 14px rgba(12, 39, 68, 0.07);
  --font-d: "Noto Serif SC", "Source Han Serif SC", "Songti SC", Georgia, serif;
  --font-b: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --max: 1120px;
  --gutter: 20px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-b);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.gjbk-nav-open {
  overflow: hidden;
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--teal-deep);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-d);
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gjbk-container {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* MidHub CMS 注入兜底：无自带 container 时也按桌面 1120 限宽 */
.gjbk-cms-html {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
}

.gjbk-section > .gjbk-cms-html,
.gjbk-cms-host > .gjbk-cms-html:not(:has(.gjbk-container)) {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* 桌面强制限宽，防止被 width:100% 栅格/组件顶破 */
@media (min-width: 992px) {
  .gjbk-container,
  .gjbk-header__inner.gjbk-container,
  .gjbk-footer > .gjbk-container,
  .gjbk-cta > .gjbk-container,
  .gjbk-hero .gjbk-container,
  .gjbk-page-banner .gjbk-container,
  .gjbk-section > .gjbk-container,
  .gjbk-cms-host > .gjbk-container,
  .gjbk-section > .gjbk-cms-html,
  .gjbk-cms-host > .gjbk-cms-html:not(:has(.gjbk-container)) {
    width: 100% !important;
    max-width: var(--max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .gjbk-intro,
  .gjbk-svc,
  .gjbk-svc__grid,
  .gjbk-why-grid,
  .gjbk-case-grid,
  .gjbk-blog-grid,
  .gjbk-school-grid,
  .gjbk-mode-grid,
  .gjbk-quick,
  .gjbk-faq,
  .gjbk-howto,
  .gjbk-row-2,
  .gjbk-cms-html .gjbk-school-grid,
  .gjbk-cms-html .gjbk-why-grid,
  .gjbk-cms-html .gjbk-mode-grid,
  .gjbk-cms-html .gjbk-blog-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
}

.gjbk-section {
  padding: 72px 0;
}

.gjbk-section--fog {
  background: var(--fog);
}

.gjbk-section--ink {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
}

.gjbk-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maple);
  margin-bottom: 10px;
  font-family: var(--font-b);
}

.gjbk-heading {
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  color: var(--teal-deep);
  margin-bottom: 12px;
}

.gjbk-lead {
  font-size: 15px;
  max-width: 52ch;
  color: var(--muted);
}

.gjbk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  background: var(--teal);
  color: #fff !important;
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.gjbk-btn:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
}

.gjbk-btn--sm {
  padding: 8px 14px;
  font-size: 13px;
}

.gjbk-btn--maple {
  background: var(--maple);
}

.gjbk-btn--maple:hover {
  background: #9a2f25;
}

.gjbk-btn--ghost {
  background: transparent;
  color: var(--teal) !important;
  border: 1px solid var(--line);
}

.gjbk-btn--ghost:hover {
  background: var(--fog);
  color: var(--teal-deep) !important;
}

/* —— Header —— */
.gjbk-header {
  position: sticky;
  top: 0;
  z-index: 4000;
  height: var(--header-h);
  background: rgba(247, 249, 252, 0.96);
  border-bottom: 1px solid var(--line);
  /* 不用 backdrop-filter，避免 fixed 菜单被 stacking 困住挡住/被 banner 盖住 */
}

.gjbk-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.gjbk-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.gjbk-logo img {
  width: 148px;
  height: auto;
}

.gjbk-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.gjbk-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--teal-deep);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.2s;
}

.gjbk-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.gjbk-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.gjbk-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.gjbk-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.gjbk-nav a {
  display: inline-block;
  padding: 8px 12px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  white-space: nowrap;
}

.gjbk-nav a:hover,
.gjbk-nav a.is-active {
  color: #fff;
  background: var(--teal);
}

.gjbk-nav a.gjbk-nav__tel {
  color: var(--maple);
  font-weight: 600;
}

.gjbk-nav a.gjbk-nav__tel:hover {
  background: rgba(184, 134, 11, 0.1);
  color: var(--maple);
}

/* —— Hero ——
 * 厚遮罩盖住原图自带文案，只留自研排版（对齐 51ossd 质感）。
 */
.gjbk-hero {
  position: relative;
  z-index: 0;
  isolation: auto;
  min-height: clamp(400px, 48vw, 540px);
  overflow: hidden;
  background: var(--teal-deep);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.gjbk-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(4%, 0, 0) scale(1.02);
  transition:
    opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0.9s;
  background-size: cover;
  background-position: center;
  will-change: opacity, transform;
}

.gjbk-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  z-index: 1;
}

/* 蒙版：轻微全幅 + 底部渐变（禁止左侧大块实色，避免「左边空白条」） */
.gjbk-hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(8, 28, 52, 0.1) 0%,
      transparent 38%,
      rgba(8, 28, 52, 0.2) 72%,
      rgba(8, 28, 52, 0.48) 100%
    );
}

.gjbk-hero__content {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: clamp(400px, 48vw, 540px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 88px;
  color: #fff;
  max-width: 680px;
}

.gjbk-hero__content h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  margin-bottom: 14px;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.75),
    0 2px 16px rgba(0, 0, 0, 0.55);
  line-height: 1.35;
}

/* MidHub rebuild 标题常包 <a>，须盖过全局 a{color:teal}，否则深蓝字贴在深色遮罩上几乎看不见 */
.gjbk-hero__content a {
  color: #fff !important;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.gjbk-hero__content a:hover,
.gjbk-hero__content a:focus {
  color: #fff !important;
  text-decoration: none;
}

.gjbk-hero__content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.85;
  margin: 0;
  max-width: 52ch;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.7),
    0 2px 12px rgba(0, 0, 0, 0.45);
}

.gjbk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.gjbk-hero__actions .gjbk-btn {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.gjbk-hero__actions .gjbk-btn--ghost {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.gjbk-hero__actions .gjbk-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff !important;
}

.gjbk-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.gjbk-hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

/* 扩大圆点可点区域，方便手机点按 */
.gjbk-hero__dot::before {
  content: "";
  position: absolute;
  inset: -10px;
}

.gjbk-hero__dot.is-active,
.gjbk-hero__dot:hover {
  background: var(--gold);
  transform: scale(1.15);
}

.gjbk-hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(12, 39, 68, 0.45);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  font-size: 0;
  line-height: 0;
  padding: 0;
  pointer-events: auto;
}

.gjbk-hero__arrow:hover {
  background: rgba(12, 39, 68, 0.75);
  border-color: var(--gold);
}

.gjbk-hero__arrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.gjbk-hero__prev {
  left: 14px;
}

.gjbk-hero__prev::before {
  transform: rotate(-135deg);
  margin-left: 3px;
}

.gjbk-hero__next {
  right: 14px;
}

.gjbk-hero__next::before {
  transform: rotate(45deg);
  margin-right: 3px;
}

/* —— Page banner (inner) ——
 * 背景可全宽；标题区走 .gjbk-container 居中限宽 1120。
 * 蒙版仅上下渐变，禁止左侧大块实色（避免「左边空白条」）。
 * 必须有背景图 + 标题。空 div 只会露出矮色带。
 */
.gjbk-page-banner {
  position: relative;
  z-index: 0;
  width: 100%;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  padding: 64px 0 44px;
  color: #fff;
  overflow: hidden;
  background-color: var(--teal-deep);
  background-image: linear-gradient(
      180deg,
      rgba(8, 28, 52, 0.1) 0%,
      transparent 42%,
      rgba(8, 28, 52, 0.26) 72%,
      rgba(8, 28, 52, 0.5) 100%
    ),
    var(
      --page-banner-img,
      url("https://oss.51liuxue.com/midhub/sites/51guojibenke/uploads/allimg/20240618/1-24061Q12Z3521.jpg")
    );
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

.gjbk-page-banner__title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-d);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.gjbk-page-banner__sub {
  position: relative;
  z-index: 1;
  margin: 8px 0 0;
  max-width: 36em;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.gjbk-crumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  font-size: 13px;
  color: var(--muted);
}

.gjbk-crumb a {
  color: var(--teal);
}

.gjbk-crumb span {
  margin: 0 6px;
  opacity: 0.5;
}

/* —— Intro / tabs —— */
.gjbk-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.gjbk-intro__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gjbk-intro__img img {
  width: 100%;
  object-fit: cover;
  min-height: 280px;
}

.gjbk-tabs {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 6px;
}

.gjbk-tabs input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.gjbk-tabs > label {
  flex: 1 1 140px;
  text-align: center;
  padding: 10px 12px;
  background: var(--fog);
  border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.gjbk-tabs input:checked + label {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.gjbk-tabs__panels {
  flex: 1 1 100%;
  width: 100%;
}

.gjbk-tabs__panel {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-sm);
  min-height: 200px;
}

.gjbk-tabs input#tab1:checked ~ .gjbk-tabs__panels #content1,
.gjbk-tabs input#tab2:checked ~ .gjbk-tabs__panels #content2,
.gjbk-tabs input#tab3:checked ~ .gjbk-tabs__panels #content3 {
  display: block;
}

.gjbk-tabs__panel h5 {
  font-size: 1.05rem;
  color: var(--teal-deep);
  margin-bottom: 10px;
}

.gjbk-tabs__panel p:last-child {
  margin-bottom: 0;
}

.gjbk-img-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.gjbk-img-row img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.gjbk-content-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.gjbk-content-block + .gjbk-content-block {
  margin-top: 24px;
}

.gjbk-content-block img {
  margin-top: 12px;
  border-radius: var(--radius);
}

/* —— Services —— */
.gjbk-svc {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.gjbk-svc__aside .gjbk-heading {
  margin-bottom: 14px;
}

.gjbk-svc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gjbk-svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gjbk-svc-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.gjbk-svc-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: var(--font-b);
}

.gjbk-svc-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.gjbk-svc-card p {
  font-size: 13.5px;
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

/* —— Why —— */
.gjbk-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.gjbk-why-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
}

.gjbk-why-card:hover {
  transform: translateY(-4px);
}

.gjbk-why-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--fog);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-family: var(--font-d);
  font-size: 1.15rem;
  font-weight: 700;
}

.gjbk-why-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--ink);
}

.gjbk-why-card p {
  font-size: 13.5px;
  margin: 0;
  line-height: 1.7;
}

/* —— Showcase —— */
.gjbk-showcase__imgs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.gjbk-showcase__imgs img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

/* —— CTA strip —— */
.gjbk-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--teal-deep), var(--teal) 55%, #1a4a7a);
  padding: 56px 0;
  text-align: center;
}

.gjbk-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(184, 134, 11, 0.25), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(196, 160, 90, 0.15), transparent 35%);
  pointer-events: none;
}

.gjbk-cta .gjbk-container {
  position: relative;
  z-index: 1;
}

.gjbk-cta h3 {
  color: #fff;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 8px;
}

.gjbk-cta p {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* —— Cases：横排小 logo + 文案 —— */
.gjbk-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.gjbk-case-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  min-height: 0;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gjbk-case-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.gjbk-case-card__logo,
.gjbk-case-detail__logo {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f6f9;
  border-radius: 8px;
  overflow: hidden;
}

.gjbk-case-card__logo img,
.gjbk-case-detail__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.gjbk-case-card__body {
  flex: 1;
  min-width: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gjbk-case-card__tag {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--maple);
  margin-bottom: 4px;
  font-family: var(--font-b);
  font-weight: 600;
}

.gjbk-case-card__body h4 {
  color: var(--ink);
  font-size: 15px;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gjbk-case-card__body p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gjbk-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.gjbk-case-card--blog .gjbk-blog-card__date {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.gjbk-blog-card {
  display: none;
}

/* —— Case detail —— */
.gjbk-case-detail__hero {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 18px;
}

.gjbk-case-detail__logo {
  width: 72px;
  height: 72px;
}

.gjbk-case-detail__hero-text h1 {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  margin: 0 0 6px;
  color: var(--teal-deep);
}

.gjbk-case-detail__name {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.gjbk-case-detail__panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px 22px;
  margin-bottom: 16px;
}

.gjbk-case-detail__panel h2 {
  font-size: 1.05rem;
  margin: 0 0 14px;
  color: var(--teal-deep);
}

.gjbk-case-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.gjbk-case-detail__kv {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gjbk-case-detail__kv .k {
  font-size: 12px;
  color: var(--muted);
}

.gjbk-case-detail__kv .v {
  font-size: 14px;
  color: var(--ink);
  word-break: break-word;
}

.gjbk-case-detail__rich {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
  word-break: break-word;
}

.gjbk-case-detail__offers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.gjbk-case-detail__offers a {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #f8fafc;
}

.gjbk-case-detail__offers img {
  width: 100%;
  height: auto;
  display: block;
}

.gjbk-case-detail__back {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 0;
}

.gjbk-loading,
.gjbk-empty {
  text-align: center;
  padding: 32px 12px;
  color: var(--muted);
  grid-column: 1 / -1;
}

/* —— Contact form —— */
.gjbk-lxpg {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 32px 36px;
}

.gjbk-lxpg h3 {
  color: var(--teal-deep);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.gjbk-lxpg .lead {
  margin-bottom: 22px;
}

.gjbk-lxpg .section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  margin: 20px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.06em;
  font-family: var(--font-b);
}

.gjbk-field {
  margin-bottom: 14px;
}

.gjbk-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.gjbk-field label .req {
  color: var(--maple);
  margin-right: 3px;
}

.gjbk-field input,
.gjbk-field select,
.gjbk-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 12px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--fog);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.gjbk-field input:focus,
.gjbk-field select:focus,
.gjbk-field textarea:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(42, 122, 184, 0.18);
  background: #fff;
}

.gjbk-field.is-error input,
.gjbk-field.is-error select,
.gjbk-field.is-error textarea {
  border-color: var(--maple);
  animation: gjbk-flash 0.45s ease 2;
}

@keyframes gjbk-flash {
  0%, 100% { box-shadow: 0 0 0 0 transparent; }
  50% { box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.25); }
}

.gjbk-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.gjbk-submit {
  width: 100%;
  margin-top: 18px;
  padding: 13px 18px;
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.04em;
  font-family: inherit;
  transition: background 0.2s;
}

.gjbk-submit:hover:not(:disabled) {
  background: var(--teal-deep);
}

.gjbk-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.gjbk-hint {
  text-align: center;
  font-size: 12px;
  margin-top: 10px;
}

.gjbk-channel-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 6px;
}

.gjbk-done {
  text-align: center;
  padding: 36px 12px;
}

.gjbk-done h4 {
  color: var(--teal-deep);
  margin-bottom: 10px;
}

.gjbk-done .err {
  color: var(--maple);
}

/* —— Footer —— */
.gjbk-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 40px 0 32px;
  text-align: center;
}

.gjbk-footer img {
  width: 140px;
  margin: 0 auto 16px;
  filter: brightness(1.05);
}

.gjbk-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.gjbk-footer a:hover {
  color: var(--gold);
}

.gjbk-footer__top {
  display: inline-block;
  margin: 10px 0 14px;
  font-size: 13px;
}

.gjbk-footer p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  margin: 0;
}

.gjbk-footer a[href*="beian.miit.gov.cn"] {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gjbk-footer a[href*="beian.miit.gov.cn"]:hover {
  color: #fff;
}

/* —— Motion —— */
@media (prefers-reduced-motion: no-preference) {
  .gjbk-hero__slide.is-active .gjbk-hero__content {
    animation: gjbk-rise 0.7s ease both;
  }
  .gjbk-svc-card,
  .gjbk-why-card,
  .gjbk-case-card {
    animation: gjbk-fade-in 0.5s ease both;
  }
}

@keyframes gjbk-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gjbk-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— Responsive —— */
@media (max-width: 991px) {
  :root {
    --header-h: 64px;
  }

  .gjbk-nav-toggle {
    display: flex;
  }

  .gjbk-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 20px 32px;
    background: rgba(247, 249, 252, 0.98);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0.3s;
    overflow-y: auto;
    z-index: 4500;
    -webkit-overflow-scrolling: touch;
  }

  .gjbk-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .gjbk-nav a {
    display: block;
    padding: 14px 16px;
    font-size: 16px;
    border: 1px solid var(--line);
    background: var(--white);
  }

  .gjbk-intro,
  .gjbk-svc {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .gjbk-why-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

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

  .gjbk-hero,
  .gjbk-page-banner {
    min-height: 360px;
  }

  /* 手机：仅底部加深，去掉左侧实色条 */
  .gjbk-hero__slide::after {
    background: linear-gradient(
      180deg,
      rgba(8, 28, 52, 0.08) 0%,
      transparent 30%,
      rgba(8, 28, 52, 0.28) 62%,
      rgba(8, 28, 52, 0.58) 100%
    );
  }

  .gjbk-hero__content {
    min-height: 360px;
    padding: 56px 48px 72px 0;
    max-width: 100%;
    justify-content: flex-end;
    /* 可读性靠字影，不再铺左侧半透明底条 */
    background: none;
    border-radius: 0;
    padding-left: 0;
    margin-left: 0;
  }

  .gjbk-hero__content h2 {
    font-size: clamp(1.35rem, 5.6vw, 1.75rem);
    margin-bottom: 10px;
    max-width: 16em;
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.85),
      0 2px 14px rgba(0, 0, 0, 0.6);
  }

  .gjbk-hero__content p {
    font-size: 14px;
    line-height: 1.65;
    max-width: 36ch;
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.8),
      0 2px 10px rgba(0, 0, 0, 0.5);
  }

  .gjbk-hero__actions {
    margin-top: 16px;
    gap: 10px;
  }

  .gjbk-hero__arrow {
    display: flex;
    width: 36px;
    height: 36px;
    background: rgba(8, 28, 52, 0.62);
  }

  .gjbk-hero__prev {
    left: 8px;
  }

  .gjbk-hero__next {
    right: 8px;
  }

  .gjbk-hero__dots {
    bottom: 14px;
    gap: 10px;
  }

  .gjbk-page-banner {
    min-height: 180px;
    padding: 40px 0 28px;
  }

  .gjbk-section {
    padding: 52px 0;
  }

  .gjbk-tabs > label {
    flex: 1 1 100%;
    border-radius: var(--radius);
  }

  .gjbk-tabs__panel {
    border-radius: var(--radius);
  }

  .gjbk-img-row img {
    width: 100% !important;
  }
}

@media (max-width: 575px) {
  :root {
    --gutter: 14px;
  }

  .gjbk-container {
    width: 100%;
    max-width: var(--max);
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }

  .gjbk-logo img {
    width: 120px;
  }

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

  .gjbk-row-2 {
    grid-template-columns: 1fr;
  }

  .gjbk-lxpg {
    padding: 22px 16px 26px;
  }

  .gjbk-case-detail__grid {
    grid-template-columns: 1fr;
  }

  .gjbk-hero {
    min-height: 340px;
  }

  .gjbk-hero__content {
    min-height: 340px;
    padding: 52px 44px 76px 0;
  }

  .gjbk-hero__content h2 {
    font-size: 1.4rem;
  }

  .gjbk-page-banner {
    min-height: 160px;
    padding: 36px 0 24px;
  }

  .gjbk-page-banner__title {
    font-size: 1.35rem;
  }
}

/* —— Nav dropdown —— */
.gjbk-nav__item { position: relative; }
.gjbk-nav__sub {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 200px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 6px;
  z-index: 20;
}
.gjbk-nav__item:hover .gjbk-nav__sub,
.gjbk-nav__item:focus-within .gjbk-nav__sub { display: block; }
.gjbk-nav__sub a {
  display: block !important;
  white-space: nowrap;
  padding: 10px 12px !important;
  color: var(--ink-soft) !important;
  background: transparent !important;
}
.gjbk-nav__sub a:hover {
  background: var(--fog) !important;
  color: var(--teal-deep) !important;
}
.gjbk-school-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.gjbk-school-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.gjbk-school-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.gjbk-school-card img { width: 100%; height: 140px; object-fit: cover; }
.gjbk-school-card__body { padding: 14px 14px 16px; }
.gjbk-school-card h4 { font-size: 15px; margin: 0 0 8px; color: var(--ink); }
.gjbk-school-card p { font-size: 12.5px; margin: 0 0 4px; }
.gjbk-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.gjbk-mode-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.gjbk-mode-card h3 { color: var(--teal-deep); font-size: 1.6rem; margin-bottom: 8px; }
.gjbk-article { max-width: 820px; margin: 0 auto; }
.gjbk-article h1 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); color: var(--teal-deep); }
.gjbk-article__meta { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.gjbk-article__body { font-size: 15px; line-height: 1.85; color: var(--ink-soft); }
.gjbk-article__body img { margin: 14px 0; border-radius: var(--radius); }
.gjbk-news-list { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.gjbk-news-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: var(--shadow-sm);
}
.gjbk-news-item img { width: 100%; height: 110px; object-fit: cover; }
.gjbk-news-item__body { padding: 14px 14px 14px 0; }
.gjbk-news-item h3 { font-size: 16px; margin: 0 0 8px; color: var(--ink); }
.gjbk-news-item p { font-size: 13px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gjbk-howto {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 24px;
}
.gjbk-howto li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.gjbk-howto img { width: 48px; height: 48px; margin: 0 auto 12px; }
@media (max-width: 991px) {
  .gjbk-school-grid, .gjbk-mode-grid { grid-template-columns: 1fr 1fr; }
  .gjbk-howto { grid-template-columns: 1fr 1fr; }
  .gjbk-nav__sub {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 12px;
    background: transparent;
  }
  .gjbk-nav__item.is-open .gjbk-nav__sub { display: block; }
  .gjbk-nav__sub a { border: 1px solid var(--line); margin-bottom: 4px; }
}
.gjbk-section--tight { padding-top: 28px; padding-bottom: 8px; }
.gjbk-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gjbk-quick a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.gjbk-quick a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.gjbk-quick strong { font-size: 16px; color: var(--ink); }
.gjbk-quick span { font-size: 12.5px; color: var(--muted, #6b7280); }
.gjbk-school-card__enroll {
  color: var(--brand, #0b7a5c);
  font-size: 13px !important;
  margin-bottom: 8px !important;
}
.gjbk-school-card__enroll em {
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  margin-right: 2px;
}
.gjbk-faq {
  margin-top: 20px;
  padding: 28px 24px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.gjbk-faq::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .55);
}
.gjbk-faq > * { position: relative; z-index: 1; }
.gjbk-faq a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255,255,255,.92);
  text-decoration: none;
  color: var(--ink);
}
.gjbk-faq a p { margin: 0; font-size: 14px; font-weight: 600; }
.gjbk-faq a span {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--brand, #0b7a5c);
}
.gjbk-faq .gjbk-btn {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 8px;
}
.gjbk-news-item__date {
  font-size: 12px;
  color: var(--muted, #6b7280);
  margin-bottom: 6px;
}
.gjbk-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: center;
  margin-top: 18px;
}
.gjbk-split img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  max-height: 320px;
}
.gjbk-pager__info { font-size: 13px; color: var(--muted, #6b7280); }
@media (max-width: 900px) {
  .gjbk-quick { grid-template-columns: 1fr 1fr; }
  .gjbk-faq { grid-template-columns: 1fr; }
  .gjbk-split { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .gjbk-school-grid, .gjbk-mode-grid, .gjbk-howto { grid-template-columns: 1fr; }
  .gjbk-news-item { grid-template-columns: 1fr; }
  .gjbk-news-item img { height: 160px; }
  .gjbk-news-item__body { padding: 12px 14px 16px; }
  .gjbk-quick { grid-template-columns: 1fr; }
}