: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 {
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
  background: #0d2b45; /* 视频未加载完成时的默认底色，防止白屏闪烁 */
}

/* 视频容器置底 */
.hero .center-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* 提升基准层级，确保在容器背景之上 */
  overflow: hidden;
}

/* 视频全屏裁切覆盖 */
.hero .center-background video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;

    /* 不添加滤镜 */
    filter: none;
    transform: none;
}

/* 视频暗色遮罩层（保证前景白色文字和搜索框高对比度） */
.hero .center-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;

    /* 保留深蓝色调，但降低遮罩强度 */
    background: linear-gradient(
		135deg,
		rgba(13,165,233,0.8) 10%,
		rgba(13,165,233,0.93) 55%,
		rgba(0,0,0,0.8) 100%
    );

    /* 关键：取消视频模糊 */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

@media (max-width: 991.98px) {
  .hero .center-overlay {
    background: rgba(13, 43, 69, 0.85); /* 移动端提升遮罩不透明度，保证可读性 */
  }
}

/* 内容层确保在最上方 */
.hero > .container {
  position: relative;
  z-index: 3;
}

/* 背景图片层 */
.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);
}

#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;
  }
}