:root {
  --primary: #123b5d;
  --primary-2: #1b577f;
  --red: #c91f35;
  --ink: #17212b;
  --muted: #ffffff;
  --line: #e5e9ed;
  --soft: #f5f7f9;
  --green: #2d7d68;
  --amber: #b97816;
  --radius: 16px;
}

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #fff;
}

a {
  text-decoration: none;
  color: inherit;
}

.topbar {
  font-size: 13px;
  background: #102f49;
  color: #dbe7ef;
}

.navbar {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.navbar-brand {
  font-weight: 800;
  letter-spacing: .2px;
}

.navbar-brand small {
  font-size: 10px;
  display: block;
  color: var(--muted);
  font-weight: 500;
}

.nav-link {
  font-size: 14px;
  font-weight: 650;
  color: #263542 !important;
}

.nav-link:hover {
  color: var(--primary) !important;
}

/* =========================================================
   HERO 区域主样式
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #eef5f9 0%, #f8fafb 58%, #fff 100%);
  border-bottom: 1px solid var(--line);
  padding-bottom: 30px;
}

/* 背景图片层 */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out, transform 8s ease;
  transform: scale(1.02);
}

.hero-bg.active {
  opacity: 1;
  transform: scale(1);
}

/* 背景蒙版 */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        135deg,
        rgba(13, 165, 233, 0.68) 0%,
        rgba(13, 128, 190, 0.78) 45%,
        rgba(24, 49, 82, 0.88) 72%,
        rgba(13, 34, 58, 0.92) 100%
    );
}

.hero-overlay:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 75% 45%,
    rgba(255,255,255,.35),
    rgba(255,255,255,0) 45%
  );
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 760px;
}

.hero-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--soft);
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: 1.04;
	  color: var(--muted);
}

.hero p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 720px;
}

/* 搜索框 */
.searchbox {
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 16px;
    padding: 7px !important;

    box-shadow:
        0 18px 45px rgba(8, 35, 58, .20),
        0 2px 8px rgba(8, 35, 58, .08);

    backdrop-filter: blur(12px);
}

.searchbox:focus-within {
    border-color: rgba(27,87,127,.45);

    box-shadow:
        0 16px 45px rgba(18,59,93,.16),
        0 0 0 4px rgba(27,87,127,.08);
}

.searchbox input {
    height: 52px;
    padding-left: 18px;

    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;

    background: transparent;
    color: var(--ink);
    font-size: 15px;
}

.searchbox input::placeholder {
    color: #8a98a4;
    opacity: 1;
}

.searchbox input:focus {
    color: var(--ink);
    background: transparent;
    outline: none;
    box-shadow: none !important;
}


/* 搜索按钮 */
.searchbox .btn-search {
    height: 52px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .03em;
    color: var(--heading-color);

    border: 0;
    border-radius: 12px;
    background: rgba(27, 87, 127, .04);
}

/* 鼠标悬停 */
.searchbox .btn-search:hover {
    color: #fff;
    background: linear-gradient(135deg, #1b577f, #287da8);
    box-shadow:
        0 6px 16px rgba(27, 87, 127, .22);
}

/* 鼠标按下 */
.searchbox .btn-search:active {
    box-shadow: 0 2px 6px rgba(27, 87, 127, .15);
}

/* 键盘聚焦 */
.searchbox .btn-search:focus-visible {
    outline: 3px solid rgba(27, 87, 127, .2);
}

#hotKeywords {
    visibility: hidden;
}

.hot a {
  font-size: 0.75rem;
  color: var(--muted);
  display: inline-flex; /* 改为 flex 让内部元素完美居中 */
  align-items: center;  /* 垂直居中 */
}

.hot a:hover {
    color: var(--red);
    text-shadow:
        0 0 4px rgba(255, 255, 255, 0.5),
        0 0 10px rgba(255, 255, 255, 0.3);
}

/* 通用面板与卡片 */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.badge-soft {
  background: #edf4f8;
  color: var(--primary);
  font-weight: 700;
}

/* =========================================================
   幻灯片指示器
   ========================================================= */

.hero-slider-indicator {
    position: absolute;
    left: 50%;
    bottom: 18px;

    transform: translateX(-50%);

    z-index: 10;

    display: flex;
    align-items: center;
    gap: 6px;

    padding: 6px 9px;
    border-radius: 20px;

    background: rgba(0,0,0,.12);
    backdrop-filter: blur(6px);
}

/* 每一个指示条 */
.hero-slider-indicator span {
    display: block;

    width: 18px;
    height: 3px;

    border-radius: 10px;

    background: rgba(255,255,255,.55);

    cursor: pointer;

    transition:
        width .3s ease,
        background .3s ease,
        opacity .3s ease;
}

/* 当前图片 */
.hero-slider-indicator span.active {
    width: 32px;
    background: #fff;
}

/* 鼠标经过 */
.hero-slider-indicator span:hover {
    background: rgba(255,255,255,.9);
}

@media (min-width: 1400px) { .mega-columns > [class*="col-"] { width: 20%; flex: 0 0 20%; } }



@media (max-width: 991px) {
  .hero {
    padding-bottom: 30px;
  }
  .navbar-collapse {
    padding: 14px 0;
  }

}

@media (max-width: 575px) {
  .topbar .right {
    display: none;
  }
  .hero h1 {

    font-size: 36px;
  }
  .searchbox {
    padding: 8px !important;
  }
  .searchbox .btn {
    width: 100%;
    margin-top: 8px;
  }
}