/* ==================================================================
 * 咏春视界 · 对外公开主页样式
 *
 * 视觉参考：企业官网式
 *   深色顶栏 + 白色头部（logo/搜索/电话）+ 蓝色导航 + 宽屏 1280
 *   数据统计卡 + 居中板块标题 + 卡片网格 + 关于区块 + 多列页脚
 * 移动端自适应（参考站为固定 1200 宽，这里做了响应式）。
 * ================================================================== */

:root {
  --blue: #315DC1;
  --blue-dark: #2753B2;
  --blue-light: #4699FE;
  --blue-soft: #EAF7FF;
  --topbar: #252525;
  --text: #333333;
  --text-2: #666666;
  --text-3: #999999;
  --title: #434665;
  --line: #EDEDED;
  --bg: #FFFFFF;
  --bg-gray: #F6F6F6;
  --shadow: 0 0 30px rgba(0, 0, 0, 0.08);
  --wrap: 1280px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 700; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------------- 顶栏 ---------------- */
.topbar {
  background: var(--topbar);
  color: #8F8F8F;
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px;
}
.tb-left { display: flex; align-items: center; gap: 8px; }
.tb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFDD00;
}
.tb-right { display: flex; gap: 22px; }
.tb-right a { color: #8F8F8F; transition: color 0.2s; }
.tb-right a:hover { color: #FFDD00; }

/* ---------------- 头部：logo / 搜索 / 电话 ---------------- */
.site-header {
  background: #fff;
  padding: 22px 0 26px;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.logo-mark {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text b { font-size: 26px; letter-spacing: 3px; color: var(--title); }
.logo-text i { font-style: normal; font-size: 12px; color: var(--text-3); letter-spacing: 1px; }

.search {
  margin-left: auto;
  display: flex;
  width: 380px;
  max-width: 42vw;
}
.search input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 15px;
  border: 2px solid var(--blue);
  border-right: 0;
  border-radius: 2px 0 0 2px;
  font-size: 14px;
  outline: none;
  color: var(--text);
}
.search input::placeholder { color: #B5B5B5; }
.search button {
  flex: 0 0 auto;
  white-space: nowrap;
  height: 40px;
  padding: 0 20px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  border-radius: 0 2px 2px 0;
  cursor: pointer;
  letter-spacing: 2px;
  transition: background 0.2s;
}
.search button:hover { background: var(--blue-dark); }

.tel {
  flex: 0 0 auto;
  text-align: right;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.4;
}
.tel span {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--title);
  letter-spacing: 0.5px;
}

/* ---------------- 蓝色导航 ---------------- */
.main-nav {
  background: var(--blue);
  min-height: 62px;
}
.main-nav .wrap { display: flex; }
.nav-item {
  position: relative;
  display: block;
  padding: 0 24px;
  line-height: 62px;
  font-size: 16px;
  color: #fff;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.nav-item:hover,
.nav-item.active { background: #fff; color: var(--blue); }
.nav-item:hover::before,
.nav-item.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
}

/* ---------------- 首页主图轮播 ---------------- */
.banner-carousel {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: #10264F;
}
.carousel-track { position: absolute; inset: 0; }
.slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s;
  color: #fff;
}
.slide.active { opacity: 1; visibility: visible; z-index: 2; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 7s ease-out;
}
.slide.active img { transform: scale(1); }
.slide-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 22, 52, 0.78) 0%, rgba(8, 22, 52, 0.42) 46%, rgba(8, 22, 52, 0.06) 100%);
}
.slide-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.slide-inner .wrap { width: 100%; }
.slide-kicker { margin: 0 0 12px; font-size: 14px; letter-spacing: 4px; color: #A9C6FF; }
.slide-title {
  margin: 0 0 14px;
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: 6px;
  color: #fff;
}
.slide-sub { margin: 0 0 26px; max-width: 560px; font-size: 16px; color: rgba(255, 255, 255, 0.85); }
.slide-btn {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 30px;
  background: #fff;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}
.slide:hover .slide-btn { background: #F0F5FF; transform: translateY(-1px); }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 48px;
  height: 80px;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s, background 0.2s;
}
.banner-carousel:hover .carousel-arrow { opacity: 1; }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-arrow:hover { background: rgba(49, 93, 193, 0.85); }

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 64px;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  gap: 12px;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.carousel-dot.active { background: #fff; border-color: #fff; transform: scale(1.2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 28px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #fff; color: var(--blue); }
.btn-primary:hover { background: #F0F5FF; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------------- 数据统计 ---------------- */
.stats-wrap {
  position: relative;
  margin-top: -42px;
  z-index: 5;
}
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border: 1px solid #F3F3F3;
  border-radius: 4px;
  box-shadow: var(--shadow);
  padding: 28px 18px;
}
.stat {
  position: relative;
  text-align: center;
  padding: 0 10px;
}
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 16px;
  width: 1px;
  height: 56px;
  background: var(--line);
}
.stat-num {
  font-size: 44px;
  font-weight: 200;
  color: #555;
  line-height: 1.1;
}
.stat-num em {
  font-style: normal;
  font-size: 14px;
  color: var(--text-3);
  margin-left: 4px;
}
.stat-label { font-size: 13px; color: var(--text-3); margin-top: 4px; }

/* ---------------- 板块与标题 ---------------- */
.block { padding: 64px 0; }
.block-white { background: #fff; }
.block-gray { background: var(--bg-gray); }

/* 蓝底栏目：标题转白，卡片仍为白色，靠阴影浮起来 */
.block-blue { background: var(--blue); }
.block-blue .block-title h2 { color: #fff; }
.block-blue .block-title p { color: rgba(255, 255, 255, 0.75); }
.block-blue .block-title::after { background: #fff; }
.block-blue .card {
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(8, 22, 52, 0.22);
}
.block-blue .card:hover {
  border-color: transparent;
  box-shadow: 0 16px 36px rgba(8, 22, 52, 0.34);
}
.block-blue .empty {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
}
.block-blue .block-more a {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.block-blue .block-more a:hover {
  background: #fff;
  color: var(--blue);
  border-color: #fff;
}

.block-title { text-align: center; margin-bottom: 34px; }
.block-title h2 {
  font-size: 30px;
  color: var(--title);
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.block-title p { margin: 0; font-size: 15px; color: #AFAFAF; }
.block-title::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 18px auto 0;
}

.block-more { text-align: center; margin-top: 34px; }
.block-more a {
  display: inline-block;
  height: 42px;
  line-height: 42px;
  padding: 0 30px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text-2);
  font-size: 14px;
  transition: all 0.2s;
}
.block-more a:hover { border-color: var(--blue); color: var(--blue); }

.page-hero {
  background: linear-gradient(120deg, #1E3F8F 0%, var(--blue) 100%);
  color: #fff;
  padding: 54px 0;
}
.page-hero h1 { font-size: 34px; letter-spacing: 3px; margin-bottom: 8px; }
.page-hero p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 15px; }

/* ---------------- 内页：上（横幅+面包屑）+ 下（左栏 + 右栏） ---------------- */
.breadcrumb { background: #fff; border-bottom: 1px solid #f0f0f0; }
.breadcrumb .wrap {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-3);
}
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--blue); }

.page-body { background: #F3F7FC; padding: 24px 0 72px; }
.page-layout { display: flex; gap: 20px; align-items: flex-start; }

/* 左栏 */
.side {
  flex: 0 0 280px;
  width: 280px;
  background: #fff;
  border: 1px solid #F3F3F3;
}
.side-title {
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  line-height: 58px;
  padding-left: 30px;
}
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav li { border-bottom: 1px solid #F1F1F1; }
.side-nav li a {
  display: block;
  line-height: 50px;
  padding-left: 30px;
  font-size: 15px;
  color: #555;
  transition: color 0.2s, padding-left 0.2s, background 0.2s;
}
.side-nav li a:hover { color: var(--blue); padding-left: 38px; }
.side-nav li.active a { color: var(--blue); font-weight: 600; background: #F5F9FF; }

.side-hot { margin-top: 20px; }
.hot-list { list-style: none; margin: 0; padding: 12px 15px; background: #fff; }
.hot-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 40px;
  border-bottom: 1px solid #F3F3F3;
  overflow: hidden;
}
.hot-list li:last-child { border-bottom: 0; }
.hot-num {
  flex: 0 0 22px;
  text-align: center;
  font-size: 12px;
  color: #999;
  background: #F2F2F2;
  line-height: 20px;
}
.hot-list li:first-child .hot-num { background: #FF8400; color: #fff; }
.hot-list a {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  color: #666;
}
.hot-list a:hover { color: var(--blue); }
.hot-empty { padding: 18px 15px; color: var(--text-3); font-size: 13px; background: #fff; }

/* 右栏 */
.main-col {
  flex: 1;
  min-width: 0;
  background: #fff;
  padding: 26px 34px 38px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.06);
}
.col-title {
  color: var(--blue);
  font-size: 24px;
  border-bottom: 1px solid #EDEDED;
  margin-bottom: 26px;
}
.col-title span {
  display: inline-block;
  border-bottom: 2px solid var(--blue);
  line-height: 40px;
  padding-bottom: 14px;
}

/* 文章列表 */
.artlist { display: block; }
.artlist-item {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.artlist-item:first-child { padding-top: 6px; }
.artlist-item:last-child { border-bottom: 0; }
.artlist-item-body { flex: 1; min-width: 0; }
.artlist-item-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.artlist-item-title:hover { color: var(--blue); }
.artlist-item-desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.artlist-item-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-3);
}
.artlist-item-date {
  flex: 0 0 auto;
  text-align: right;
  color: var(--text-3);
  font-size: 14px;
  white-space: nowrap;
  padding-top: 2px;
}
.artlist-item-date b {
  display: block;
  font-size: 24px;
  font-weight: 300;
  color: #C9C9C9;
  line-height: 1.2;
}

.main-col .empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--text-3);
  background: #FAFAFA;
  border: 1px dashed #DCDCDC;
}

/* 内页详情（右栏内的文章） */
.detail-title { font-size: 28px; line-height: 1.4; color: var(--title); margin: 0 0 12px; }
.detail-meta {
  font-size: 14px;
  color: var(--text-3);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  margin: 0 0 24px;
}
.detail-body { font-size: 15px; line-height: 1.95; color: var(--text); }
.detail-body p { margin: 0 0 14px; }
.detail-note {
  margin: 26px 0 0;
  padding: 12px 16px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 14px;
  border-left: 3px solid var(--blue);
}

/* ---------------- 卡片网格 ---------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-act { grid-template-columns: repeat(3, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(49, 93, 193, 0.12);
  border-color: #D7E2F7;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px 0;
}
.card-date { font-size: 13px; color: var(--text-3); }
.card-body { padding: 10px 18px 14px; flex: 1; }
.card-body h3 {
  font-size: 18px;
  line-height: 1.45;
  color: var(--title);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-desc {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  border-top: 1px solid #F6F6F6;
  font-size: 13px;
  color: var(--text-3);
  background: #FCFCFC;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.tag-green { background: #E8F8EF; color: #0A7B44; }
.tag-blue { background: var(--blue-soft); color: var(--blue); }
.tag-gray { background: #F0F1F0; color: #6B7572; }
.tag-plain { background: #F5F5F5; color: var(--text-3); font-weight: 500; }

.empty {
  grid-column: 1 / -1;
  padding: 56px 20px;
  text-align: center;
  color: var(--text-3);
  background: #fff;
  border: 1px dashed #DCDCDC;
  border-radius: 4px;
}

/* ---------------- 关于 ---------------- */
.about {
  background: #fff;
  padding: 72px 0;
}
.about-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text .block-title { text-align: left; margin-bottom: 22px; }
.about-text .block-title::after { margin: 16px 0 0; }
.about-text p { color: var(--text-2); font-size: 15px; line-height: 1.9; }
.about-link { margin-top: 18px; }
.about-link a { color: var(--blue); font-size: 14px; }
.about-link a:hover { text-decoration: underline; }
.about-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
  background:
    radial-gradient(280px 180px at 30% 20%, rgba(70, 153, 254, 0.5), transparent 65%),
    linear-gradient(135deg, #1E3F8F 0%, var(--blue) 100%);
  border-radius: 4px;
}
.about-mark {
  font-size: 120px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 8px;
}

/* ---------------- 详情 ---------------- */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 36px 40px;
}
.article { max-width: 900px; margin: 0 auto; }
.article-head { padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.article-head h1 { font-size: 30px; line-height: 1.35; color: var(--title); margin: 12px 0 10px; }
.article-meta { margin: 0; font-size: 14px; color: var(--text-3); }
.article-body { font-size: 15px; color: var(--text); line-height: 1.95; }
.article-body p { margin: 0 0 14px; }
.article-note {
  margin: 26px 0 0;
  padding: 12px 16px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-size: 14px;
  border-left: 3px solid var(--blue);
}
.back { margin: 26px 0 0; }
.back a { color: var(--blue); font-size: 14px; }
.back a:hover { text-decoration: underline; }

/* ---------------- 历程时间线 ---------------- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--blue), #C9D8F5);
}
.tl-item { position: relative; margin-bottom: 22px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--blue);
}
.tl-year {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.tl-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px 22px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.tl-body:hover { box-shadow: var(--shadow); border-color: #D7E2F7; }
.tl-body h3 { font-size: 17px; color: var(--title); margin-bottom: 6px; }
.tl-body p { margin: 0; color: var(--text-2); font-size: 14px; }

/* ---------------- 页脚 ---------------- */
.site-footer {
  background: #1E1E1E;
  color: #989898;
  padding-top: 56px;
}
.foot-cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}
.fb-name { font-size: 24px; font-weight: 700; color: #fff; letter-spacing: 3px; margin-bottom: 10px; }
.foot-brand p { margin: 0 0 8px; font-size: 14px; }
.fb-note a { color: var(--blue-light); }
.foot-col h3 { font-size: 18px; color: #fff; margin-bottom: 14px; font-weight: 600; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { line-height: 30px; font-size: 14px; }
.foot-col li a { transition: color 0.2s, transform 0.2s; display: inline-block; }
.foot-col li a:hover { color: #fff; transform: translateX(6px); }
.foot-copy {
  border-top: 1px solid #333;
  padding: 18px 0;
  font-size: 12px;
  color: #777;
  text-align: center;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1100px) {
  .grid, .grid-act { grid-template-columns: repeat(2, 1fr); }
  .search { max-width: 34vw; }
  .tel { display: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .page-layout { flex-direction: column; }
  .side { width: 100%; flex: none; }
  .side-nav { display: flex; flex-wrap: wrap; }
  .side-nav li { border-bottom: 0; border-right: 1px solid #F1F1F1; }
  .side-nav li a { padding: 10px 16px; line-height: 1.4; }
  .side-nav li a:hover { padding-left: 16px; }
  .side-hot { display: none; }
  .main-col { padding: 20px; }
  .artlist-item { flex-direction: column; gap: 8px; }
  .artlist-item-date { text-align: left; }
  .artlist-item-date b { display: inline; font-size: 15px; font-weight: 400; color: var(--text-3); }
}

@media (max-width: 760px) {
  /* 顶栏 */
  .topbar .wrap { height: 40px; font-size: 12px; }
  .tb-left { display: none; }
  .tb-right { gap: 10px; margin-left: auto; }
  .tb-right a { white-space: nowrap; font-size: 12px; }

  /* 头部：logo 一行，搜索整行 */
  .site-header { padding: 12px 0 14px; }
  .site-header .wrap { flex-wrap: wrap; gap: 10px 12px; }
  .logo-mark { width: 40px; height: 40px; font-size: 20px; border-radius: 10px; }
  .logo-text b { font-size: 18px; letter-spacing: 1px; }
  .logo-text i { display: none; }
  .search {
    order: 3;
    width: 100%;
    max-width: none;
    margin-left: 0;
    height: 40px;
    border-radius: 20px;
  }
  .search input { font-size: 14px; padding-left: 16px; }
  .search button { font-size: 14px; padding: 0 16px; }

  /* 导航：横向滚动，不换行、不撑破 */
  .main-nav .wrap {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .main-nav .wrap::-webkit-scrollbar { display: none; }
  .nav-item { flex: 0 0 auto; padding: 0 9px; font-size: 13px; white-space: nowrap; letter-spacing: 0; }

  /* 主图 */
  .banner-carousel { height: 300px; }
  .slide-inner { padding: 0 18px; }
  .slide-kicker { font-size: 12px; letter-spacing: 2px; margin-bottom: 8px; }
  .slide-title { font-size: 26px; letter-spacing: 2px; }
  .slide-sub { font-size: 13px; line-height: 1.6; margin-bottom: 16px; max-width: none; }
  .slide-btn { padding: 9px 18px; font-size: 13px; }
  .carousel-arrow { display: none; }
  .carousel-dots { bottom: 16px; gap: 8px; }
  .carousel-dot { width: 8px; height: 8px; }

  /* 数据条 */
  .stats { grid-template-columns: repeat(3, 1fr); gap: 0; padding: 16px 0; }
  .stat { padding: 10px 0; }
  .stat::after { display: none; }
  .stat-num { font-size: 28px; }
  .stat-label { font-size: 12px; }

  /* 区块 */
  .block { padding: 32px 0; }
  .block-title { margin-bottom: 16px; }
  .block-title h2 { font-size: 21px; }
  .block-title p { font-size: 13px; }
  .grid, .grid-act { grid-template-columns: 1fr; gap: 12px; }
  .card { border-radius: 10px; }
  .card-body h3 { font-size: 15px; }
  .card-desc { font-size: 13px; }
  .block-more a { font-size: 14px; }

  /* 关于我们 */
  .about-inner { grid-template-columns: 1fr; gap: 20px; }
  .about-media { height: 160px; }
  .about-mark { font-size: 64px; }

  /* 内页 */
  .panel { padding: 20px 16px; }
  .article-head h1 { font-size: 21px; }
  .page-hero { padding: 30px 0; }
  .page-hero h1 { font-size: 23px; }

  /* 页脚：手机端两列——品牌整行，浏览 | 了解并排，联系单独一行 */
  .foot-cols {
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
    padding-bottom: 24px;
    align-items: start;
  }
  .foot-brand {
    grid-column: 1 / -1;
    padding-bottom: 14px;
    border-bottom: 1px solid #333;
  }
  .foot-col { grid-column: auto; grid-row: auto; }
  .foot-col:last-child { grid-column: 1 / -1; }
  .fb-name { font-size: 20px; margin-bottom: 6px; }
  .foot-brand p { font-size: 13px; margin-bottom: 6px; }
  .foot-col h3 { font-size: 15px; margin-bottom: 8px; }
  .foot-col li { line-height: 26px; font-size: 13px; }
  /* 手机端「浏览」恢复单列 */
  .foot-browse ul { display: block; }
  .site-footer { padding-top: 28px; }
}

/* 超小屏（≤360px） */
@media (max-width: 360px) {
  .slide-title { font-size: 22px; }
  .nav-item { padding: 0 7px; font-size: 12px; }
  .stat-num { font-size: 24px; }
  .block-title h2 { font-size: 19px; }
}

/* 页脚「浏览」栏：电脑端二列（手机端在 760px 断点内恢复单列） */
.foot-browse ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

/* ---------------- 正文图片：任何尺寸都不撑破布局 ---------------- */
.detail-body img,
.ed-rich img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 10px 0;
  display: block;
}
.detail-body h3 {
  font-size: 17px;
  margin: 20px 0 10px;
  color: var(--title);
}
.detail-body ul,
.detail-body ol {
  padding-left: 22px;
  margin: 0 0 14px;
}
.detail-body li { margin-bottom: 4px; }
.detail-body blockquote {
  margin: 14px 0;
  padding: 10px 16px;
  border-left: 3px solid var(--blue);
  background: var(--blue-soft);
  color: var(--blue-dark);
}

/* 卡片封面：固定比例，避免异常图片把列表撑高 */
.card-cover img,
.cnt-card img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------------- 卡片封面（默认取正文首图） ---------------- */
.card-cover {
  background: #EEF2F8;
  overflow: hidden;
}
.card-cover img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.3s;
}
.card:hover .card-cover img {
  transform: scale(1.03);
}

/* 列表项右侧缩略图（16:9） */
.artlist-item-thumb {
  flex: 0 0 160px;
  width: 160px;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #EEF2F8;
  margin-top: 2px;
}
.artlist-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.artlist-item:hover .artlist-item-thumb img {
  transform: scale(1.04);
}
@media (max-width: 760px) {
  .artlist-item-thumb {
    flex: 0 0 110px;
    width: 110px;
  }
}

/* ---------------- 历程：限高滚动（避免页面无限拉长） ---------------- */
.timeline-scroll {
  max-height: 70vh;
  min-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 14px;
  scrollbar-width: thin;
  scrollbar-color: #C3D2EA transparent;
  -webkit-overflow-scrolling: touch;
}
.timeline-scroll::-webkit-scrollbar {
  width: 8px;
}
.timeline-scroll::-webkit-scrollbar-track {
  background: #F1F4F9;
  border-radius: 4px;
}
.timeline-scroll::-webkit-scrollbar-thumb {
  background: #C3D2EA;
  border-radius: 4px;
}
.timeline-scroll::-webkit-scrollbar-thumb:hover {
  background: #98B0D8;
}
/* 底部渐隐，暗示还有更多 */
.timeline-scroll::after {
  content: '';
  position: sticky;
  bottom: 0;
  display: block;
  height: 28px;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}
@media (max-width: 760px) {
  .timeline-scroll {
    max-height: 60vh;
    padding-right: 10px;
  }
}

/* 侧栏空行占位（最新推荐不足 10 条时保持高度） */
.hot-empty-item {
  color: transparent;
  border-bottom: 1px solid #F3F3F3;
}

/* 历程页：右侧年表与左侧栏等高、底部对齐 */
.page-layout:has(.timeline-scroll) {
  align-items: stretch;
}
.page-layout:has(.timeline-scroll) .main-col {
  display: flex;
  flex-direction: column;
}
.page-layout:has(.timeline-scroll) .timeline-scroll {
  flex: 1 1 auto;
  min-height: 320px;
  max-height: none;
}

/* 历程页：右侧与左侧栏底部严格对齐（消掉主列 38px 底部内边距） */
.page-layout:has(.timeline-scroll) .main-col {
  padding-bottom: 0;
}
.page-layout:has(.timeline-scroll) .timeline-scroll {
  margin-bottom: 0;
}

/* 历程页：高度固定为 10 条记录（约 480px），不随左侧栏拉伸 */
.page-layout:has(.timeline-scroll) {
  align-items: flex-start;
}
.page-layout:has(.timeline-scroll) .main-col {
  display: block;
  padding-bottom: 38px;
}
.page-layout:has(.timeline-scroll) .timeline-scroll {
  flex: none;
  height: 410px;
  max-height: 410px;
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .page-layout:has(.timeline-scroll) .timeline-scroll {
    height: 360px;
    max-height: 360px;
  }
}

/* 最终方案：右侧历程与左侧栏等高，底边齐平（覆盖上面的固定高度） */
.page-layout:has(.timeline-scroll) {
  align-items: stretch;
}
.page-layout:has(.timeline-scroll) .main-col {
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}
.page-layout:has(.timeline-scroll) .timeline-scroll {
  flex: 1 1 auto;
  height: auto;
  max-height: none;
  min-height: 320px;
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .page-layout:has(.timeline-scroll) .timeline-scroll {
    height: auto;
    max-height: none;
  }
}

/* 历程页：左侧栏保持自然高度，右侧由 JS 按左侧底边对齐（见 public.js） */
.page-layout:has(.timeline-scroll) {
  align-items: flex-start;
}
.page-layout:has(.timeline-scroll) .main-col {
  display: block;
  padding-bottom: 38px;
}
.page-layout:has(.timeline-scroll) .timeline-scroll {
  flex: none;
  height: auto;
  max-height: 480px;
}

/* ---------------- 内页顶部标题区：统一 banner 底图（首页不受影响） ---------------- */
.page-hero {
  background:
    linear-gradient(120deg, rgba(30, 63, 143, 0.82) 0%, rgba(49, 93, 193, 0.70) 100%),
    url('../images/page-banner.jpg') center / cover no-repeat;
  color: #fff;
  padding: 54px 0;
}
@media (max-width: 760px) {
  .page-hero {
    padding: 38px 0;
    background:
      linear-gradient(120deg, rgba(30, 63, 143, 0.84) 0%, rgba(49, 93, 193, 0.72) 100%),
      url('../images/page-banner.jpg') center / cover no-repeat;
  }
}

/* 内页标题区：遮罩改为左深右浅（文字在左，右侧保留图片清晰度） */
.page-hero {
  background:
    linear-gradient(90deg,
      rgba(16, 36, 84, 0.88) 0%,
      rgba(22, 48, 110, 0.58) 42%,
      rgba(28, 60, 140, 0.18) 100%),
    url('../images/page-banner.jpg') center / cover no-repeat;
}
.page-hero h1,
.page-hero p {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
@media (max-width: 760px) {
  .page-hero {
    background:
      linear-gradient(90deg,
        rgba(16, 36, 84, 0.86) 0%,
        rgba(22, 48, 110, 0.62) 55%,
        rgba(28, 60, 140, 0.30) 100%),
      url('../images/page-banner.jpg') center / cover no-repeat;
  }
}

/* 数据条第三行：小字备注 */
.stat-note {
  margin-top: 6px;
  font-size: 12px;
  color: #9AA3B2;
  line-height: 1.4;
  letter-spacing: 0.3px;
}
@media (max-width: 760px) {
  .stat-note {
    font-size: 11px;
    margin-top: 4px;
  }
}

/* ---------------- 首页「近期动态」：左图右文 ---------------- */
.news-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.news-row {
  display: flex;
  gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.news-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(49, 93, 193, 0.12);
  border-color: #D7E2F7;
}
.news-row-thumb {
  flex: 0 0 170px;
  width: 170px;
  align-self: stretch;
  min-height: 128px;
  background: #EEF2F8;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-row-thumb span {
  font-size: 34px;
  color: #B8C6E0;
  font-weight: 700;
}
.news-row-body {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-row-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-row-body p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-row-date {
  font-size: 12px;
  color: #9AA3B2;
}
@media (max-width: 760px) {
  .news-rows {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .news-row-thumb {
    flex: 0 0 112px;
    width: 112px;
    min-height: 96px;
  }
  .news-row-body {
    padding: 10px 12px;
  }
  .news-row-body h3 {
    font-size: 15px;
    margin-bottom: 4px;
  }
  .news-row-body p {
    font-size: 12px;
    margin-bottom: 6px;
  }
}
