/* ==== base/base.css ==== */
/* ============================================================
   base.css · 基座公共骨架（设计文档 14）
   令牌变量由 BaseRenderer 以 :root 内联输出，此处仅提供兜底默认值
   ============================================================ */
:root {
  --c-primary: #1768ac;
  --c-primary-rgb: 23, 104, 172;
  --c-accent: #e6a23c;
  --c-text: #303133;
  --c-text-light: #909399;
  --c-bg: #ffffff;
  --c-bg-soft: #f5f7fa;
  --c-border: #e4e7ed;
  --font-heading: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  --fs-base: 15px;
  --radius: 4px;
  --container: 1200px;
  --section-gap: 48px;
}

/* ---- reset ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-primary); }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.35; }

/* ---- 布局工具 ---- */
.bs-container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.bs-section { padding: calc(var(--section-gap) / 2) 0; }
.bs-section--full { padding-left: 0; padding-right: 0; }

/* ---- 组件通用标题栏 ---- */
.bs-hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.bs-hd-title { font-size: 22px; }
.bs-hd-more { font-size: 13px; color: var(--c-text-light); }
.bs-hd-more:hover { color: var(--c-primary); }
/* 标题栏样式预设 */
.bs-hd--underline { border-bottom: 2px solid var(--c-border); padding-bottom: 10px; }
.bs-hd--underline .bs-hd-title { position: relative; }
.bs-hd--underline .bs-hd-title::after {
  content: ""; position: absolute; left: 0; bottom: -12px; width: 64px; height: 2px; background: var(--c-primary);
}
.bs-hd--block .bs-hd-title { border-left: 4px solid var(--c-primary); padding-left: 12px; }

/* 视觉隐藏但保留给屏幕阅读器/搜索引擎（如图片 logo 模式下首页的 H1 站名） */
.bs-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- 通用占位 / 空态 ---- */
.bs-empty {
  padding: 32px; text-align: center; color: var(--c-text-light);
  background: var(--c-bg-soft); border-radius: var(--radius); font-size: 13px;
}

/* ---- 图片比例容器 ---- */
.bs-ratio { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--c-bg-soft); }
.bs-ratio > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bs-ratio--16x9 { aspect-ratio: 16 / 9; }
.bs-ratio--4x3 { aspect-ratio: 4 / 3; }
.bs-ratio--1x1 { aspect-ratio: 1 / 1; }

/* ---- hover 效果 ---- */
.bs-hover-lift { transition: transform .2s ease, box-shadow .2s ease; }
.bs-hover-lift:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }

/* ---- 密度（区块内行距节奏，组件内引用变量） ---- */
[data-density="compact"] { --row-gap: 8px; }
[data-density="normal"] { --row-gap: 12px; }
[data-density="loose"] { --row-gap: 18px; }

/* ---- 编辑态（仅工作台预览注入 data-bk-editing 时生效） ---- */
body[data-bk-editing] [data-bk-id] { position: relative; }
body[data-bk-editing] [data-bk-id]:hover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  outline: 2px dashed rgba(var(--c-primary-rgb), .7); outline-offset: -2px;
}
body[data-bk-editing] [data-bk-id].bk-selected::after,
body[data-bk-editing] [data-bk-id].bk-hover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  outline: 2px solid var(--c-primary); outline-offset: -2px;
}
body[data-bk-editing] [data-bk-id].bk-hover::after { outline-style: dashed; }

/* ---- 列表页 / 详情页骨架（页面模板级设置） ---- */
.bs-container--narrow { max-width: 900px; }
.bs-page-cols { display: flex; gap: 28px; align-items: flex-start; }
.bs-page-main { flex: 1; min-width: 0; }
.bs-page-side { width: 300px; flex-shrink: 0; }
/* 列表/详情主体、侧栏内复用组件时，去掉组件自带的 section/container 内衬（外层已提供） */
.bs-page-main .bs-section, .bs-page-side .bs-section,
.bs-list-embed .bs-section { padding: 0; }
.bs-page-main .bs-container, .bs-page-side .bs-container,
.bs-list-embed .bs-container { padding: 0; max-width: none; }

.bs-crumb { font-size: 13px; color: var(--c-text-light); margin-bottom: 14px; }
.bs-detail-title { font-size: 26px; margin-bottom: 10px; }
.bs-detail-meta { font-size: 13px; color: var(--c-text-light); margin-bottom: 20px; }
.bs-article-body { line-height: 1.9; }
.bs-article-body p { margin-bottom: 1em; }

.bs-prev-next { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--c-border); font-size: 14px; }
.bs-prev-next a { max-width: 48%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bs-prev-next a span { color: var(--c-text-light); margin-right: 8px; }
.bs-detail-related { margin-top: 40px; }
.bs-detail-related .bs-hd-title { font-size: 18px; }

.bs-pagination { display: flex; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.bs-pagination a, .bs-pagination .is-current { padding: 6px 12px; border-radius: var(--radius); font-size: 14px; }
.bs-pagination a { border: 1px solid var(--c-border); }
.bs-pagination a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.bs-pagination .is-current { background: var(--c-primary); color: #fff; }

/* ---- 响应式基础 ---- */
@media (max-width: 768px) {
  .bs-hd-title { font-size: 18px; }
  :root { --section-gap: 32px; }
  .bs-page-cols { flex-direction: column; }
  .bs-page-side { width: 100%; }
}


/* ==== header/style.css ==== */
/* ==== 顶栏 header ==== */
.c-header-notice { background: var(--c-primary); color: #fff; font-size: 13px; padding: 6px 0; }
.c-header-notice a { color: #fff; }

.c-header { border-bottom: 1px solid var(--c-border); background: var(--c-bg); }
.c-header--bg-soft { background: var(--c-bg-soft); }
.c-header--bg-primary { background: var(--c-primary); color: #fff; border-bottom: none; }
.c-header--bg-primary a, .c-header--bg-primary .c-header-name { color: #fff; }
.c-header--sticky { position: sticky; top: 0; z-index: 100; }

.c-header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h, 72px); }
.c-header-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.c-header-logo { display: flex; align-items: center; gap: 10px; }
.c-header-logo img { max-height: calc(var(--header-h, 72px) - 28px); width: auto; }
.c-header-name { margin: 0; font-size: 21px; font-weight: 700; color: var(--c-text); display: inline; }
.c-header-slogan { font-size: 12px; color: var(--c-text-light); border-left: 1px solid var(--c-border); padding-left: 12px; }

/* 导航 */
.c-nav { flex: 1; min-width: 0; }
.c-nav-list { display: flex; gap: 4px; flex-wrap: wrap; }
.c-nav-item { position: relative; }
.c-nav-item > a {
  display: block; padding: 8px 14px; font-size: 15px; border-radius: var(--radius);
  position: relative; white-space: nowrap;
}
.c-nav-badge {
  font-style: normal; font-size: 10px; color: #fff; background: #f56c6c;
  border-radius: 8px; padding: 0 5px; margin-left: 3px; vertical-align: super;
}
.c-nav-badge--new { background: #67c23a; }

/* 导航风格 */
.c-nav--style-underline .c-nav-item.is-active > a::after,
.c-nav--style-underline .c-nav-item > a:hover::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--c-primary);
}
.c-nav--style-underline .c-nav-item.is-active > a { color: var(--c-primary); font-weight: 600; }
.c-nav--style-pill .c-nav-item.is-active > a,
.c-nav--style-pill .c-nav-item > a:hover { background: var(--c-primary); color: #fff; }
.c-nav--style-divider .c-nav-item + .c-nav-item::before {
  content: ""; position: absolute; left: -2px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 14px; background: var(--c-border);
}
.c-nav--style-divider .c-nav-item.is-active > a { color: var(--c-primary); font-weight: 600; }

/* 通栏色条（门户式）：主色条 + 白字，激活/悬停加深 */
.c-nav--style-fill { background: var(--c-primary); border-radius: var(--radius) var(--radius) 0 0; }
.c-nav--style-fill .c-nav-list { gap: 0; }
.c-nav--style-fill .c-nav-item > a { color: #fff; padding: 11px 20px; border-radius: 0; font-weight: 500; }
.c-nav--style-fill .c-nav-item.is-active > a,
.c-nav--style-fill .c-nav-item > a:hover { background: rgba(0, 0, 0, .18); }
.c-nav--style-fill .c-nav-badge { vertical-align: middle; margin-top: -2px; }

/* 子菜单 */
.c-nav-sub {
  display: none; position: absolute; left: 0; top: 100%; z-index: 110; min-width: 150px;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08); padding: 6px 0;
}
.c-nav-item.has-children:hover .c-nav-sub { display: block; }
.c-nav-sub a { display: block; padding: 8px 16px; font-size: 14px; color: var(--c-text); }
.c-nav-sub a:hover { background: var(--c-bg-soft); color: var(--c-primary); }

/* 右侧扩展位 */
.c-header-extra { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.c-header-search input {
  border: 1px solid var(--c-border); border-radius: 16px; padding: 7px 14px 7px 32px;
  font-size: 13px; outline: none; width: 180px; background-color: var(--c-bg-soft);
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa7b5' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 11px center; background-size: 14px;
  transition: width .2s ease, border-color .2s ease, background-color .2s ease;
}
.c-header-search input:focus { border-color: var(--c-primary); background-color: #fff; width: 230px; }
.c-header-phone { font-size: 15px; font-weight: 700; color: var(--c-primary); }

/* 布局预设：两行式（第一行 = 品牌 + 搜索/电话，第二行 = 导航） */
.c-header--two-row .c-header-inner { flex-wrap: wrap; padding-top: 14px; }
.c-header--two-row .c-header-brand { flex: 1; }
.c-header--two-row .c-nav { order: 3; flex-basis: 100%; border-top: 1px solid var(--c-border); margin-top: 10px; }
.c-header--two-row .c-nav--style-fill { border-top: none; }

/* 布局预设：Logo 居中 */
.c-header--logo-center .c-header-inner { flex-direction: column; gap: 6px; padding: 14px 16px 0; }
.c-header--logo-center .c-nav-list { justify-content: center; }

@media (max-width: 768px) {
  .c-header-inner { flex-wrap: wrap; }
  .c-header-slogan, .c-header-extra { display: none; }
  .c-nav { flex-basis: 100%; overflow-x: auto; }
  .c-nav-list { flex-wrap: nowrap; }
}


/* ==== footer/style.css ==== */
/* ==== 页脚 footer ==== */
.c-footer { margin-top: var(--section-gap); font-size: 14px; }
.c-footer--bg-dark { background: #23272e; color: #9aa3ad; }
.c-footer--bg-dark a { color: #9aa3ad; }
.c-footer--bg-dark a:hover { color: #fff; }
.c-footer--bg-dark .c-footer-title { color: #e5e8ec; }
.c-footer--bg-soft { background: var(--c-bg-soft); color: var(--c-text-light); }
.c-footer--bg-soft .c-footer-title { color: var(--c-text); }
.c-footer--bg-primary { background: var(--c-primary); color: rgba(255, 255, 255, .75); }
.c-footer--bg-primary a { color: rgba(255, 255, 255, .75); }
.c-footer--bg-primary a:hover, .c-footer--bg-primary .c-footer-title { color: #fff; }

.c-footer-cols { display: flex; gap: 40px; padding: 40px 16px 28px; flex-wrap: wrap; }
.c-footer-col { flex: 1; min-width: 160px; }
.c-footer-about { flex: 1.6; }
.c-footer-title { font-size: 15px; margin-bottom: 14px; }
.c-footer-text { font-size: 13px; line-height: 1.9; }
.c-footer-links li { margin-bottom: 8px; font-size: 13px; }
.c-footer-qr { margin-top: 12px; text-align: center; width: 96px; }
.c-footer-qr img { width: 96px; height: 96px; border-radius: var(--radius); }
.c-footer-qr span { display: block; font-size: 12px; margin-top: 6px; }

.c-footer-friends {
  padding: 14px 16px; font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-wrap: wrap; gap: 6px 16px;
}
.c-footer--bg-soft .c-footer-friends { border-top-color: var(--c-border); }
.c-footer-friends-label { opacity: .7; }

.c-footer-bar { border-top: 1px solid rgba(255, 255, 255, .08); padding: 16px 0; font-size: 13px; }
.c-footer--bg-soft .c-footer-bar { border-top-color: var(--c-border); }
.c-footer-bar .bs-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.c-footer--simple .c-footer-bar { border-top: none; }

@media (max-width: 768px) {
  .c-footer-cols { gap: 24px; padding: 28px 16px 20px; }
  .c-footer-col { min-width: 40%; }
}


/* ==== banner-slider/style.css ==== */
/* ==== 轮播图 banner-slider ==== */
.c-banner { position: relative; overflow: hidden; height: var(--banner-h, 420px); }
.c-banner-track { position: relative; height: 100%; }
.c-banner-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .5s ease, transform .5s ease;
}
.c-banner-slide.is-active { opacity: 1; visibility: visible; }
.c-banner--slide .c-banner-slide { transform: translateX(4%); }
.c-banner--slide .c-banner-slide.is-active { transform: translateX(0); }
.c-banner-slide > img { width: 100%; height: 100%; object-fit: cover; }

.c-banner-caption {
  position: absolute; inset: 0; display: flex; align-items: center;
  background: linear-gradient(rgba(0, 0, 0, var(--banner-overlay, .3)), rgba(0, 0, 0, var(--banner-overlay, .3)));
  color: #fff;
}
.c-banner-caption--center { text-align: center; }
.c-banner-caption--right { text-align: right; }
.c-banner-title { font-size: 34px; margin-bottom: 12px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.c-banner-subtitle { font-size: 17px; opacity: .9; margin-bottom: 22px; }
.c-banner-btn {
  display: inline-block; background: var(--c-primary); color: #fff; padding: 10px 30px;
  border-radius: var(--radius); font-size: 15px;
}
.c-banner-btn:hover { color: #fff; filter: brightness(1.1); }

.c-banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 40px; height: 40px; border: none; border-radius: 50%; cursor: pointer;
  background: rgba(0, 0, 0, .3); color: #fff; font-size: 16px; opacity: 0; transition: opacity .2s;
}
.c-banner:hover .c-banner-arrow { opacity: 1; }
.c-banner-arrow--prev { left: 16px; }
.c-banner-arrow--next { right: 16px; }

.c-banner-dots {
  position: absolute; left: 0; right: 0; bottom: 14px; z-index: 5;
  display: flex; justify-content: center; gap: 8px;
}
.c-banner-dots button {
  border: none; cursor: pointer; background: rgba(255, 255, 255, .5);
  width: 10px; height: 10px; border-radius: 50%; padding: 0;
}
.c-banner-dots button.is-active { background: #fff; }
.c-banner-dots--numbers button {
  width: 24px; height: 24px; border-radius: var(--radius); font-size: 12px; color: var(--c-text);
  background: rgba(255, 255, 255, .7);
}
.c-banner-dots--numbers button.is-active { background: var(--c-primary); color: #fff; }

@media (max-width: 768px) {
  .c-banner { height: calc(var(--banner-h, 420px) * .55); }
  .c-banner-title { font-size: 22px; }
  .c-banner-subtitle { font-size: 14px; }
}


/* ==== page-hero/style.css ==== */
/* ==== 内页头图 page-hero ==== */
.c-pagehero { position: relative; height: var(--hero-h, 200px); overflow: hidden; display: flex; align-items: center; }
.c-pagehero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.c-pagehero-bg + .c-pagehero-inner { position: relative; z-index: 2; color: #fff; }
.c-pagehero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35); }
.c-pagehero-inner { position: relative; z-index: 2; color: #fff; width: 100%; }
.c-pagehero--center .c-pagehero-inner { text-align: center; }
.c-pagehero-title { font-size: 28px; }
.c-pagehero-subtitle { font-size: 14px; opacity: .85; margin-top: 8px; }
.c-pagehero-crumb { font-size: 12px; opacity: .8; margin-top: 12px; display: flex; gap: 8px; }
.c-pagehero--center .c-pagehero-crumb { justify-content: center; }
.c-pagehero-crumb a:hover { color: #fff; text-decoration: underline; }
.c-pagehero-crumb em { font-style: normal; }


/* ==== banner-single/style.css ==== */
/* ==== 单图横幅 banner-single ==== */
.c-bannersingle-img { width: 100%; border-radius: var(--radius); }
.c-bannersingle > img.c-bannersingle-img, .c-bannersingle > a > img.c-bannersingle-img { display: block; }
section.c-bannersingle:not(.bs-container) .c-bannersingle-img { border-radius: 0; }
.c-bannersingle-img--fixed { height: var(--bh, 240px); object-fit: cover; }


/* ==== split-hero/style.css ==== */
/* ==== 分屏横幅 split-hero ==== */
.c-split { display: flex; height: var(--split-h, 480px); overflow: hidden; }
.c-split--gap-thin { gap: 3px; }
.c-split-panel {
  position: relative; flex: 1; min-width: 0; display: flex; overflow: hidden;
  transition: flex .45s cubic-bezier(.4, 0, .2, 1);
}
.c-split-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.c-split-panel::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0, 0, 0, var(--split-overlay, .4));
  transition: background .3s;
}
.c-split-body {
  position: relative; z-index: 2; align-self: center; width: 100%;
  padding: 0 9%; color: #fff; text-align: center;
}
.c-split-tag {
  display: inline-block; font-style: normal; font-size: 12px; letter-spacing: 2px;
  padding: 4px 14px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 999px; margin-bottom: 16px;
}
.c-split-title { display: block; font-size: 34px; font-weight: 700; line-height: 1.3; font-family: var(--font-heading); }
.c-split-subtitle { display: block; font-style: normal; font-size: 15px; opacity: .85; margin-top: 12px; }
.c-split-btn {
  display: inline-block; font-weight: 500; font-size: 14px; margin-top: 22px;
  padding: 9px 28px; border: 1.5px solid #fff; border-radius: 999px;
  transition: background .25s, color .25s;
}

/* 悬停展开：当前面板变宽、背景微放大、遮罩变浅 */
.c-split--expand .c-split-panel:hover { flex: 1.5; }
.c-split--expand .c-split-panel:hover .c-split-bg { transform: scale(1.06); }
.c-split--expand .c-split-panel:hover::after { background: rgba(0, 0, 0, calc(var(--split-overlay, .4) * .55)); }
.c-split-panel:hover .c-split-btn { background: #fff; color: var(--c-text); }
.c-split-panel:hover { color: #fff; }

@media (max-width: 768px) {
  .c-split { flex-direction: column; height: auto; }
  .c-split-panel { min-height: calc(var(--split-h, 480px) / 2); }
  .c-split--expand .c-split-panel:hover { flex: 1; }
  .c-split-title { font-size: 24px; }
  .c-split-body { padding: 40px 8%; }
}


/* ==== news-list/style.css ==== */
/* ==== 新闻列表 news-list（8 版式） ==== */
.c-newslist-item { display: flex; gap: 14px; padding: var(--row-gap, 12px) 0; }
.c-newslist-title { font-size: 16px; font-weight: 500; }
.c-newslist-title a { display: block; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.c-newslist-summary {
  font-size: 13px; color: var(--c-text-light); margin-top: 6px;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.c-newslist-meta { display: flex; gap: 12px; font-size: 12px; color: var(--c-text-light); margin-top: 8px; }
.c-newslist-cat { color: var(--c-primary); }
.c-newslist-main { flex: 1; min-width: 0; }

/* 悬停 */
.c-newslist--hover-color .c-newslist-title a:hover { color: var(--c-primary); }
.c-newslist--hover-lift .c-newslist-item { transition: transform .2s, box-shadow .2s; }
.c-newslist--hover-lift .c-newslist-item:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.07); }

/* 1) 纯标题行 */
.c-newslist--title-rows .c-newslist-item { border-bottom: 1px dashed var(--c-border); align-items: baseline; }
.c-newslist--title-rows .c-newslist-item:last-child { border-bottom: none; }
.c-newslist--title-rows .c-newslist-summary { display: none; }
.c-newslist--title-rows .c-newslist-main { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.c-newslist--title-rows .c-newslist-title { flex: 1; min-width: 0; }
.c-newslist--title-rows .c-newslist-title a { -webkit-line-clamp: 1; white-space: nowrap; }
.c-newslist--title-rows .c-newslist-title a::before { content: "·"; color: var(--c-primary); margin-right: 8px; }
.c-newslist--title-rows .c-newslist-meta { margin-top: 0; flex-shrink: 0; }

/* 2) 左小图右文 */
.c-newslist--image-left .c-newslist-thumb { width: 180px; flex-shrink: 0; }
.c-newslist--image-left .c-newslist-item { border-bottom: 1px solid var(--c-border); }
.c-newslist--image-left .c-newslist-item:last-child { border-bottom: none; }

/* 3) 上图下文卡片 / 6) 三列 / 7) 四列 */
.c-newslist--card-top .c-newslist-body,
.c-newslist--cards-3 .c-newslist-body,
.c-newslist--cards-4 .c-newslist-body { display: grid; gap: 20px; }
.c-newslist--card-top .c-newslist-body { grid-template-columns: repeat(2, 1fr); }
.c-newslist--cards-3 .c-newslist-body { grid-template-columns: repeat(3, 1fr); }
.c-newslist--cards-4 .c-newslist-body { grid-template-columns: repeat(4, 1fr); }
.c-newslist--card-top .c-newslist-item,
.c-newslist--cards-3 .c-newslist-item,
.c-newslist--cards-4 .c-newslist-item {
  flex-direction: column; gap: 10px; padding: 0 0 12px;
  background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden;
}
.c-newslist--card-top .c-newslist-main,
.c-newslist--cards-3 .c-newslist-main,
.c-newslist--cards-4 .c-newslist-main { padding: 0 14px; }
.c-newslist--cards-4 .c-newslist-title { font-size: 14px; }
.c-newslist--cards-4 .c-newslist-summary { display: none; }

/* 4) 首条大图 + 标题行 */
.c-newslist--lead-rows .c-newslist-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0 28px; }
.c-newslist--lead-rows .c-newslist-item.is-lead {
  grid-row: 1 / span 6; flex-direction: column; padding: 0;
}
.c-newslist--lead-rows .c-newslist-item.is-lead .c-newslist-title { font-size: 19px; margin-top: 10px; }
.c-newslist--lead-rows .c-newslist-item:not(.is-lead) { border-bottom: 1px dashed var(--c-border); }
.c-newslist--lead-rows .c-newslist-item:not(.is-lead) .c-newslist-thumb { display: none; }
.c-newslist--lead-rows .c-newslist-item:not(.is-lead) .c-newslist-summary { display: none; }
.c-newslist--lead-rows .c-newslist-item:not(.is-lead) .c-newslist-title a { -webkit-line-clamp: 1; }

/* 5) 双列图文 */
.c-newslist--two-col .c-newslist-body { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.c-newslist--two-col .c-newslist-thumb { width: 150px; flex-shrink: 0; }
.c-newslist--two-col .c-newslist-item { border-bottom: 1px solid var(--c-border); }

/* 8) 日期徽章 */
.c-newslist--date-badge .c-newslist-item { border-bottom: 1px solid var(--c-border); align-items: flex-start; }
.c-newslist--date-badge .c-newslist-item:last-child { border-bottom: none; }
.c-newslist-datebadge {
  flex-shrink: 0; width: 64px; text-align: center; background: var(--c-bg-soft);
  border-radius: var(--radius); padding: 8px 0; color: var(--c-text-light);
}
.c-newslist-datebadge b { display: block; font-size: 24px; color: var(--c-primary); line-height: 1.2; }
.c-newslist-datebadge span { font-size: 12px; }

@media (max-width: 768px) {
  .c-newslist--cards-3 .c-newslist-body,
  .c-newslist--cards-4 .c-newslist-body,
  .c-newslist--card-top .c-newslist-body,
  .c-newslist--two-col .c-newslist-body,
  .c-newslist--lead-rows .c-newslist-body { grid-template-columns: 1fr; }
  .c-newslist--lead-rows .c-newslist-item.is-lead { grid-row: auto; }
  .c-newslist--image-left .c-newslist-thumb { width: 120px; }
}


/* ==== notice-bar/style.css ==== */
/* ==== 公告条 notice-bar ==== */
.c-notice-bar {
  display: flex; align-items: center; gap: 12px; padding: 9px 14px;
  border-radius: var(--radius); font-size: 14px;
}
.c-notice-bar--soft { background: var(--c-bg-soft); }
.c-notice-bar--primary { background: rgba(var(--c-primary-rgb), .08); }
.c-notice-label {
  flex-shrink: 0; background: var(--c-primary); color: #fff; font-size: 12px;
  padding: 2px 10px; border-radius: 10px;
}
.c-notice-roll { flex: 1; min-width: 0; position: relative; height: 22px; overflow: hidden; }
.c-notice-list li {
  position: absolute; inset: 0; opacity: 0; transform: translateY(100%);
  transition: opacity .4s, transform .4s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 22px;
}
.c-notice-list li.is-active { opacity: 1; transform: translateY(0); }


/* ==== headline-zone/style.css ==== */
/* ==== 头条区 headline-zone ==== */
.c-headline-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.c-headline-lead { display: block; position: relative; }
.c-headline-lead-title {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 28px 16px 12px; color: #fff; font-size: 18px; font-weight: 600;
  background: linear-gradient(transparent, rgba(0, 0, 0, .72));
  border-radius: 0 0 var(--radius) var(--radius);
}
.c-headline-side { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.c-headline-item { border-bottom: 1px dashed var(--c-border); padding-bottom: 10px; }
.c-headline-item:last-child { border-bottom: none; padding-bottom: 0; }
.c-headline-item h3 { font-size: 16px; font-weight: 500; }
.c-headline-item h3 a { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.c-headline-item h3 a:hover { color: var(--c-primary); }
.c-headline-item time { font-size: 12px; color: var(--c-text-light); }

.c-headline-center { text-align: center; padding: 8px 0 4px; }
.c-headline-h1 { font-size: 30px; line-height: 1.4; }
.c-headline-h1 a:hover { color: var(--c-primary); }
.c-headline-summary { color: var(--c-text-light); margin-top: 10px; font-size: 14px; }
.c-headline-subrow {
  display: flex; justify-content: center; gap: 28px; margin-top: 14px;
  font-size: 15px; flex-wrap: wrap;
}
.c-headline-sub::before { content: "·"; color: var(--c-primary); margin-right: 6px; }
.c-headline-sub:hover { color: var(--c-primary); }

@media (max-width: 768px) {
  .c-headline-grid { grid-template-columns: 1fr; }
  .c-headline-h1 { font-size: 21px; }
}


/* ==== news-columns/style.css ==== */
/* ==== 多栏新闻 news-columns ==== */
.c-newscols-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 32px; }
/* 网格项默认 min-width:auto，长标题会把 1fr 列撑宽导致横向溢出，必须允许收缩 */
.c-newscols-col { min-width: 0; }
.c-newscols-lead { display: block; min-width: 0; }
.c-newscols-hd {
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 2px solid var(--c-border); padding-bottom: 8px; margin-bottom: 12px; position: relative;
}
.c-newscols-hd::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 2px; background: var(--c-primary);
}
.c-newscols-title { font-size: 17px; }
.c-newscols-list li { padding: 6px 0; }
.c-newscols-lead strong {
  display: block; margin-top: 8px; font-size: 15px; font-weight: 600; line-height: 1.5;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.c-newscols-lead:hover strong { color: var(--c-primary); }
.c-newscols-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.c-newscols-rowtitle { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-newscols-rowtitle::before { content: "·"; color: var(--c-primary); margin-right: 6px; }
.c-newscols-row time { color: var(--c-text-light); font-size: 12px; flex-shrink: 0; }
.c-newscols-row:hover .c-newscols-rowtitle { color: var(--c-primary); }

@media (max-width: 768px) {
  .c-newscols-grid { grid-template-columns: 1fr; gap: 20px; }
}


/* ==== ranking-list/style.css ==== */
/* ==== 排行榜 ranking-list ==== */
.c-ranking-list { counter-reset: rank; }
.c-ranking-item {
  display: flex; align-items: center; gap: 12px; padding: 9px 0;
  border-bottom: 1px dashed var(--c-border); font-size: 14px;
}
.c-ranking-item:last-child { border-bottom: none; }
.c-ranking-no {
  font-style: normal; flex-shrink: 0; width: 22px; height: 22px; line-height: 22px;
  text-align: center; border-radius: 4px; font-size: 12px;
  background: var(--c-bg-soft); color: var(--c-text-light);
}
.c-ranking--medal .is-top:nth-child(1) .c-ranking-no { background: #f56c6c; color: #fff; }
.c-ranking--medal .is-top:nth-child(2) .c-ranking-no { background: #e6a23c; color: #fff; }
.c-ranking--medal .is-top:nth-child(3) .c-ranking-no { background: #f0c78a; color: #fff; }
.c-ranking-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-ranking-title:hover { color: var(--c-primary); }
.c-ranking-views { color: var(--c-text-light); font-size: 12px; }
.c-ranking-views::after { content: " 阅读"; }


/* ==== feed-sidebar/style.css ==== */
/* ==== 图文流+侧栏 feed-sidebar（门户双栏：左 feed 流 + 右热榜/快讯） ==== */
.c-feedside-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}
.c-feedside-main { min-width: 0; }

/* 主栏 feed 流：左图右文行 */
.c-feedside-item {
  display: flex; gap: 18px; padding: 18px 0;
  border-bottom: 1px solid var(--c-border);
}
.c-feedside-feed .c-feedside-item:first-child { padding-top: 4px; }
.c-feedside-thumb {
  flex: none; width: 232px; border-radius: var(--radius, 6px); overflow: hidden;
}
.c-feedside-thumb img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .25s;
}
.c-feedside-item:hover .c-feedside-thumb img { transform: scale(1.04); }
.c-feedside-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.c-feedside-title { font-size: 17px; line-height: 1.5; margin: 0 0 8px; font-weight: 600; }
.c-feedside-title a:hover { color: var(--c-primary); }
.c-feedside-summary {
  color: var(--c-text-light); font-size: 13.5px; line-height: 1.7; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.c-feedside-meta {
  display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 10px;
  color: var(--c-text-light); font-size: 12px;
}
.c-feedside-cat {
  color: var(--c-primary); background: color-mix(in srgb, var(--c-primary) 9%, transparent);
  padding: 2px 8px; border-radius: 3px;
}

/* 侧栏 */
.c-feedside-side { min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.c-feedside-side.is-sticky { position: sticky; top: 20px; }

.c-feedside-rank { margin: 0; padding: 0; list-style: none; }
.c-feedside-rank li {
  display: flex; align-items: center; gap: 10px; padding: 8px 0;
  border-bottom: 1px dashed var(--c-border); font-size: 14px;
}
.c-feedside-rank li:last-child { border-bottom: none; }
.c-feedside-rank i {
  font-style: normal; flex: none; width: 20px; height: 20px; line-height: 20px;
  text-align: center; border-radius: 4px; font-size: 12px;
  background: var(--c-bg-soft); color: var(--c-text-light);
}
.c-feedside-rank li.is-top:nth-child(1) i { background: #f56c6c; color: #fff; }
.c-feedside-rank li.is-top:nth-child(2) i { background: #e6a23c; color: #fff; }
.c-feedside-rank li.is-top:nth-child(3) i { background: #f0c78a; color: #fff; }
.c-feedside-rank a {
  flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.c-feedside-rank a:hover { color: var(--c-primary); }
.c-feedside-rank span { color: var(--c-text-light); font-size: 12px; }
.c-feedside-rank span::after { content: " 阅读"; }

.c-feedside-flash { margin: 0; padding: 0; list-style: none; }
.c-feedside-flash li {
  display: flex; gap: 10px; padding: 8px 0;
  border-bottom: 1px dashed var(--c-border); font-size: 13px;
}
.c-feedside-flash li:last-child { border-bottom: none; }
.c-feedside-flash time { flex: none; color: var(--c-text-light); font-size: 12px; padding-top: 2px; }
.c-feedside-flash a {
  flex: 1; min-width: 0; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.c-feedside-flash a:hover { color: var(--c-primary); }

@media (max-width: 900px) {
  .c-feedside-grid { grid-template-columns: 1fr; gap: 28px; }
  .c-feedside-side.is-sticky { position: static; }
  .c-feedside-thumb { width: 38%; }
}


/* ==== topic-list/style.css ==== */
/* ==== 专题聚合 topic-list ==== */
.c-topic-hero { display: block; position: relative; border-radius: var(--radius); overflow: hidden; }
.c-topic-hero img { width: 100%; max-height: 260px; object-fit: cover; }
.c-topic-caption {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  padding: 0 36px; color: #fff; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.05));
}
.c-topic-caption h2 { font-size: 26px; }
.c-topic-caption p { font-size: 14px; opacity: .85; margin-top: 8px; max-width: 480px; }
.c-topic-articles {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 36px; margin-top: 14px;
}
.c-topic-articles li {
  display: flex; justify-content: space-between; gap: 12px; padding: 7px 0;
  border-bottom: 1px dashed var(--c-border); font-size: 14px;
}
.c-topic-articles a { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-topic-articles a::before { content: "·"; color: var(--c-primary); margin-right: 6px; }
.c-topic-articles a:hover { color: var(--c-primary); }
.c-topic-articles time { color: var(--c-text-light); font-size: 12px; }

@media (max-width: 768px) {
  .c-topic-articles { grid-template-columns: 1fr; }
  .c-topic-caption { padding: 0 18px; }
  .c-topic-caption h2 { font-size: 19px; }
}


/* ==== tag-cloud/style.css ==== */
/* ==== 标签云 tag-cloud ==== */
.c-tagcloud-wrap { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
.c-tagcloud-item {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 12px; border-radius: 999px; font-size: 13px;
  background: var(--c-bg-soft); color: var(--c-text);
  border: 1px solid var(--c-border); transition: all .15s;
}
.c-tagcloud-item:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.c-tagcloud-item:hover .c-tagcloud-count { color: rgba(255, 255, 255, .8); }
.c-tagcloud-count { font-size: 11px; color: var(--c-text-light); }

/* 热度字号变体：去底色，按 level 放大 */
.c-tagcloud--weighted .c-tagcloud-item { background: none; border: none; padding: 2px 4px; }
.c-tagcloud--weighted .c-tagcloud-item:hover { color: var(--c-primary); }
.c-tagcloud--weighted .c-tagcloud-item--l1 { font-size: 13px; color: var(--c-text-light); }
.c-tagcloud--weighted .c-tagcloud-item--l2 { font-size: 15px; }
.c-tagcloud--weighted .c-tagcloud-item--l3 { font-size: 18px; font-weight: 600; color: var(--c-primary); }


/* ==== biz-card-list/style.css ==== */
/* ==== 商家卡片 biz-card-list（黄页/本地商圈） ==== */
.c-bizcard-grid { display: grid; gap: 16px; }
.c-bizcard-grid--2 { grid-template-columns: repeat(2, 1fr); }
.c-bizcard-grid--3 { grid-template-columns: repeat(3, 1fr); }
.c-bizcard-grid--4 { grid-template-columns: repeat(4, 1fr); }
.c-bizcard-item {
  min-width: 0; /* 防长店名撑宽 1fr 网格列 */
  background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius, 8px);
  overflow: hidden; transition: box-shadow .15s, transform .15s;
}
.c-bizcard-item:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.c-bizcard-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-bg-soft); }
.c-bizcard-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.c-bizcard-body { padding: 14px 16px 16px; }
.c-bizcard-name { font-size: 16px; margin: 0 0 6px; }
.c-bizcard-name a:hover { color: var(--c-primary); }
.c-bizcard-cat {
  display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 3px;
  background: var(--c-primary-soft, var(--c-bg-soft)); color: var(--c-primary); margin-bottom: 8px;
}
.c-bizcard-desc {
  font-size: 13px; color: var(--c-text-light); margin: 0 0 10px; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.c-bizcard-meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.c-bizcard-meta-item { font-size: 12.5px; color: var(--c-text-light); padding-left: 20px; position: relative; }
.c-bizcard-meta-item::before { position: absolute; left: 0; top: 0; opacity: .65; }
.c-bizcard-meta-item--addr::before { content: "📍"; }
.c-bizcard-meta-item--tel::before { content: "📞"; }
.c-bizcard-meta-item--hours::before { content: "🕐"; }

@media (max-width: 768px) {
  .c-bizcard-grid--3, .c-bizcard-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .c-bizcard-grid--2, .c-bizcard-grid--3, .c-bizcard-grid--4 { grid-template-columns: 1fr; }
}


/* ==== media-text/style.css ==== */
/* ==== 图文两栏 media-text ==== */
.c-mediatext--bg-soft { background: var(--c-bg-soft); }
.c-mediatext-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.c-mediatext--ratio-2-3 .c-mediatext-inner { grid-template-columns: 2fr 3fr; }
.c-mediatext--ratio-3-2 .c-mediatext-inner { grid-template-columns: 3fr 2fr; }
.c-mediatext--right .c-mediatext-media { order: 2; }
.c-mediatext-media img { border-radius: var(--radius); width: 100%; }
.c-mediatext-title { font-size: 24px; margin-bottom: 16px; }
.c-mediatext-text { line-height: 1.9; color: var(--c-text); }
.c-mediatext-text p { margin-bottom: .8em; }
.c-mediatext-btn {
  display: inline-block; margin-top: 14px; padding: 9px 26px;
  border: 1px solid var(--c-primary); color: var(--c-primary); border-radius: var(--radius);
}
.c-mediatext-btn:hover { background: var(--c-primary); color: #fff; }

@media (max-width: 768px) {
  .c-mediatext-inner { grid-template-columns: 1fr !important; gap: 20px; }
  .c-mediatext--right .c-mediatext-media { order: 0; }
}


/* ==== features/style.css ==== */
/* ==== 优势/卖点 features ==== */
.c-features--bg-soft { background: var(--c-bg-soft); }
.c-features-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 20px; }
.c-features-item { text-align: center; padding: 26px 18px; border-radius: var(--radius); }
.c-features--cards .c-features-item {
  border: 1px solid var(--c-border); background: var(--c-bg);
  transition: transform .2s, box-shadow .2s;
}
.c-features--cards .c-features-item:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,.07); }
.c-features-icon { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; }
.c-features-title { font-size: 17px; margin-bottom: 8px; }
.c-features-desc { font-size: 13px; color: var(--c-text-light); line-height: 1.7; }

.c-features--icon-left .c-features-item { display: flex; gap: 14px; text-align: left; padding: 14px; }
.c-features--icon-left .c-features-icon { margin: 0; flex-shrink: 0; }

@media (max-width: 768px) {
  .c-features-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}


/* ==== card-grid/style.css ==== */
/* ==== 图文卡片组 card-grid ==== */
.c-cardgrid-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; }
.c-cardgrid-card {
  display: block; border: 1px solid var(--c-border); border-radius: var(--radius);
  overflow: hidden; background: var(--c-bg);
}
.c-cardgrid--hover-lift .c-cardgrid-card { transition: transform .2s, box-shadow .2s; }
.c-cardgrid--hover-lift .c-cardgrid-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,.08); }
.c-cardgrid--hover-zoom .c-cardgrid-thumb img { transition: transform .3s; }
.c-cardgrid--hover-zoom .c-cardgrid-card:hover .c-cardgrid-thumb img { transform: scale(1.06); }
.c-cardgrid-thumb { border-radius: 0; }
.c-cardgrid-body { display: block; padding: 14px 16px; }
.c-cardgrid-title { display: block; font-size: 16px; }
.c-cardgrid-card:hover .c-cardgrid-title { color: var(--c-primary); }
.c-cardgrid-desc {
  display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  font-size: 13px; color: var(--c-text-light); margin-top: 6px;
}

@media (max-width: 768px) { .c-cardgrid-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }


/* ==== counter-bar/style.css ==== */
/* ==== 数据计数条 counter-bar ==== */
.c-counter--bg-primary { background: var(--c-primary); color: #fff; }
.c-counter--bg-soft { background: var(--c-bg-soft); }
.c-counter-grid { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; padding: 14px 0; }
.c-counter-item { text-align: center; min-width: 120px; }
.c-counter-num b { font-size: 38px; font-weight: 700; }
.c-counter-num span { font-size: 16px; margin-left: 2px; opacity: .8; }
.c-counter--bg-soft .c-counter-num b, .c-counter--bg-none .c-counter-num b { color: var(--c-primary); }
.c-counter-label { font-size: 13px; opacity: .85; margin-top: 4px; }


/* ==== team-cards/style.css ==== */
/* ==== 团队成员 team-cards ==== */
.c-team-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; }
.c-team-card {
  border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-bg);
  padding: 26px 20px; text-align: center; transition: box-shadow .2s;
}
.c-team-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.07); }
.c-team-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; }
.c-team-name { font-size: 17px; }
.c-team-title { font-size: 13px; color: var(--c-primary); margin: 4px 0 8px; }
.c-team-bio { font-size: 13px; color: var(--c-text-light); line-height: 1.7; }

.c-team--horizontal .c-team-card { display: flex; gap: 16px; text-align: left; align-items: flex-start; }
.c-team--horizontal .c-team-avatar { width: 72px; height: 72px; margin: 0; flex-shrink: 0; }

@media (max-width: 768px) { .c-team-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }


/* ==== showcase/style.css ==== */
/* ==== 案例橱窗 showcase ==== */
.c-showcase-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; }
.c-showcase-card { display: block; position: relative; border-radius: var(--radius); overflow: hidden; }
.c-showcase-info strong { display: block; font-size: 15px; }
.c-showcase-info em { font-style: normal; font-size: 12px; opacity: .8; display: block; margin-top: 4px; }

/* 悬停浮层 */
.c-showcase--overlay .c-showcase-info {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column;
  justify-content: flex-end; padding: 16px; color: #fff;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, .75));
  opacity: 0; transition: opacity .25s;
}
.c-showcase--overlay .c-showcase-card:hover .c-showcase-info { opacity: 1; }
.c-showcase--overlay .bs-ratio img { transition: transform .3s; }
.c-showcase--overlay .c-showcase-card:hover .bs-ratio img { transform: scale(1.05); }

/* 底部信息条 */
.c-showcase--bottom-info .c-showcase-card { border: 1px solid var(--c-border); background: var(--c-bg); }
.c-showcase--bottom-info .c-showcase-info { display: block; padding: 12px 14px; }
.c-showcase--bottom-info .c-showcase-info em { color: var(--c-text-light); }
.c-showcase--bottom-info .c-showcase-card:hover strong { color: var(--c-primary); }

@media (max-width: 768px) { .c-showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }


/* ==== bento-grid/style.css ==== */
/* ==== Bento 格栅 bento-grid ==== */
.c-bento--bg-soft { background: var(--c-bg-soft); }
.c-bento-head { text-align: center; margin-bottom: 28px; }
.c-bento-title { font-size: 28px; }
.c-bento-subtitle { font-size: 14px; color: var(--c-text-light); margin-top: 8px; }

.c-bento-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(var(--cols, 3), 1fr);
  grid-auto-rows: 150px;
  grid-auto-flow: dense;
}
.c-bento-item {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  padding: 22px; border-radius: calc(var(--radius) * 3 + 4px);
  transition: transform .25s ease, box-shadow .25s ease;
}
.c-bento-item:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0, 0, 0, .09); color: inherit; }
.c-bento-item--large { grid-column: span 2; grid-row: span 2; }
.c-bento-item--wide { grid-column: span 2; }
.c-bento-item--tall { grid-row: span 2; }

.c-bento-icon { font-size: 28px; line-height: 1; margin-bottom: 12px; }
.c-bento-item--large .c-bento-icon { font-size: 40px; }
.c-bento-item-title { font-size: 17px; font-family: var(--font-heading); }
.c-bento-item--large .c-bento-item-title { font-size: 22px; }
.c-bento-desc { font-style: normal; font-size: 13px; line-height: 1.6; color: var(--c-text-light); margin-top: 8px; }
.c-bento-media { display: block; flex: 1; min-height: 0; margin-top: 14px; border-radius: var(--radius); overflow: hidden; }
.c-bento-media img { width: 100%; height: 100%; object-fit: cover; }

/* 浅色填充版式 */
.c-bento--tint .c-bento-item { background: var(--c-bg-soft); }
.c-bento--tint .c-bento-item:nth-child(4n+1) { background: rgba(var(--c-primary-rgb), .07); }
.c-bento--bg-soft.c-bento--tint .c-bento-item { background: var(--c-bg); }

/* 描边卡片版式 */
.c-bento--outline .c-bento-item { background: var(--c-bg); border: 1px solid var(--c-border); }
.c-bento--outline .c-bento-item:hover { border-color: rgba(var(--c-primary-rgb), .45); }

@media (max-width: 768px) {
  .c-bento-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; gap: 10px; }
  .c-bento-item { padding: 16px; }
  .c-bento-title { font-size: 22px; }
}


/* ==== logo-wall/style.css ==== */
/* ==== Logo 墙 logo-wall ==== */
.c-logowall-grid { display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 16px; }
.c-logowall-item {
  display: flex; align-items: center; justify-content: center; padding: 16px;
  border: 1px solid var(--c-border); border-radius: var(--radius); background: var(--c-bg);
  transition: box-shadow .2s;
}
.c-logowall-item:hover { box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.c-logowall-item img { max-height: 44px; width: auto; }
.c-logowall--gray .c-logowall-item img { filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.c-logowall--gray .c-logowall-item:hover img { filter: none; opacity: 1; }

@media (max-width: 768px) { .c-logowall-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } }


/* ==== timeline/style.css ==== */
/* ==== 时间轴 timeline ==== */
.c-timeline-list { position: relative; padding-left: 24px; }
.c-timeline-list::before {
  content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px;
  background: var(--c-border);
}
.c-timeline-item { position: relative; padding: 0 0 22px; }
.c-timeline-item:last-child { padding-bottom: 0; }
.c-timeline-dot {
  position: absolute; left: -24px; top: 5px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--c-primary); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--c-primary);
}
.c-timeline-time { font-size: 13px; color: var(--c-primary); font-weight: 700; }
.c-timeline-title { font-size: 16px; margin: 2px 0 4px; }
.c-timeline-desc { font-size: 13px; color: var(--c-text-light); }

/* 左右交错 */
.c-timeline--alternate .c-timeline-list { padding-left: 0; }
.c-timeline--alternate .c-timeline-list::before { left: 50%; margin-left: -1px; }
.c-timeline--alternate .c-timeline-item { width: 50%; padding-right: 32px; }
.c-timeline--alternate .c-timeline-item:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 32px; }
.c-timeline--alternate .c-timeline-item:nth-child(odd) { text-align: right; }
.c-timeline--alternate .c-timeline-item:nth-child(odd) .c-timeline-dot { left: auto; right: -6px; }
.c-timeline--alternate .c-timeline-item:nth-child(even) .c-timeline-dot { left: -6px; }

@media (max-width: 768px) {
  .c-timeline--alternate .c-timeline-list { padding-left: 24px; }
  .c-timeline--alternate .c-timeline-list::before { left: 5px; margin: 0; }
  .c-timeline--alternate .c-timeline-item { width: 100%; padding: 0 0 22px; margin: 0 !important; text-align: left !important; }
  .c-timeline--alternate .c-timeline-item .c-timeline-dot { left: -24px !important; right: auto !important; }
}


/* ==== contact-card/style.css ==== */
/* ==== 联系方式卡 contact-card ==== */
.c-contact-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.c-contact-item {
  background: var(--c-bg-soft); border-radius: var(--radius); padding: 22px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.c-contact-label { font-size: 12px; color: var(--c-text-light); }
.c-contact-value { font-size: 15px; word-break: break-all; }
.c-contact-item--phone .c-contact-value { color: var(--c-primary); font-size: 18px; }

.c-contact--list-map .c-contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; }
.c-contact--list-map .c-contact-items { grid-template-columns: 1fr; }
.c-contact-map img { border-radius: var(--radius); width: 100%; }

@media (max-width: 768px) {
  .c-contact-items { grid-template-columns: repeat(2, 1fr); }
  .c-contact--list-map .c-contact-inner { grid-template-columns: 1fr; }
}


/* ==== contact-form/style.css ==== */
/* ==== 在线留言表单 contact-form ==== */
.c-cform--soft { background: var(--c-bg-soft); }
.c-cform-hd { text-align: center; margin-bottom: 24px; }
.c-cform-title { font-size: 24px; }
.c-cform-sub { color: var(--c-text-light); margin-top: 8px; font-size: 14px; }
.c-cform--narrow .c-cform-form { max-width: 640px; margin: 0 auto; }
.c-cform-hp { position: absolute; left: -9999px; top: -9999px; height: 1px; overflow: hidden; }
.c-cform-alert { border-radius: var(--radius); padding: 12px 16px; margin: 0 auto 20px; max-width: 640px; font-size: 14px; }
.c-cform-alert--ok { background: #ecf9f0; color: #1a7f37; border: 1px solid #bce6c9; }
.c-cform-alert--err { background: #fdf0ef; color: #c0392b; border: 1px solid #f3c7c3; }
.c-cform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.c-cform--narrow .c-cform-grid { grid-template-columns: 1fr; }
.c-cform-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--c-text-light); }
.c-cform-field em { color: #c0392b; font-style: normal; }
.c-cform-field--full { grid-column: 1 / -1; }
.c-cform-field input,
.c-cform-field textarea {
  border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 10px 12px; font-size: 14px; color: var(--c-text);
  background: var(--c-bg); font-family: inherit; resize: vertical;
}
.c-cform-field input:focus,
.c-cform-field textarea:focus { outline: none; border-color: var(--c-primary); }
.c-cform-actions { margin-top: 18px; text-align: center; }
.c-cform-submit {
  background: var(--c-primary); color: #fff; border: none; cursor: pointer;
  border-radius: var(--radius); padding: 11px 40px; font-size: 15px; font-family: inherit;
}
.c-cform-submit:hover { opacity: 0.88; }

@media (max-width: 768px) {
  .c-cform-grid { grid-template-columns: 1fr; }
}


/* ==== faq/style.css ==== */
/* ==== FAQ ==== */
.c-faq-item { border: 1px solid var(--c-border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.c-faq-q {
  padding: 14px 18px; font-size: 15px; font-weight: 600; cursor: pointer;
  background: var(--c-bg-soft); list-style: none; position: relative;
}
.c-faq--accordion summary.c-faq-q::-webkit-details-marker { display: none; }
.c-faq--accordion summary.c-faq-q::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  color: var(--c-text-light); font-weight: 400; font-size: 18px;
}
.c-faq--accordion details[open] summary.c-faq-q::after { content: "−"; }
.c-faq-q::before { content: "Q"; color: var(--c-primary); font-weight: 700; margin-right: 10px; }
.c-faq-a { padding: 14px 18px; font-size: 14px; color: var(--c-text); line-height: 1.8; }
.c-faq--list .c-faq-q { cursor: default; background: none; border-bottom: 1px dashed var(--c-border); }


/* ==== cta-bar/style.css ==== */
/* ==== CTA cta-bar ==== */
.c-cta { padding: 36px 0; margin: calc(var(--section-gap) / 2) 0; color: #fff; }
.c-cta--bg-primary { background: var(--c-primary); }
.c-cta--bg-gradient { background: linear-gradient(120deg, var(--c-primary), rgba(var(--c-primary-rgb), .72)); }
.c-cta--bg-soft { background: var(--c-bg-soft); color: var(--c-text); }
.c-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.c-cta-title { font-size: 24px; }
.c-cta-subtitle { font-size: 14px; opacity: .85; margin-top: 6px; }
.c-cta-actions { display: flex; align-items: center; gap: 20px; }
.c-cta-phone { font-size: 22px; font-weight: 700; }
.c-cta--bg-soft .c-cta-phone { color: var(--c-primary); }
.c-cta-btn {
  display: inline-block; padding: 11px 34px; border-radius: var(--radius);
  background: #fff; color: var(--c-primary); font-size: 15px; font-weight: 600;
}
.c-cta-btn:hover { color: var(--c-primary); transform: translateY(-2px); }
.c-cta--bg-soft .c-cta-btn { background: var(--c-primary); color: #fff; }


/* ==== gallery/style.css ==== */
/* ==== 图片相册 gallery ==== */
.c-gallery-grid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 14px; }
.c-gallery-item .bs-ratio img { transition: transform .3s; }
.c-gallery-item:hover .bs-ratio img { transform: scale(1.05); }
.c-gallery-caption { font-size: 13px; color: var(--c-text-light); text-align: center; margin-top: 6px; }

/* 瀑布流：CSS 多列布局，图片保持原始高度错落排布 */
.c-gallery--masonry .c-gallery-grid { display: block; columns: var(--cols, 4); column-gap: 14px; }
.c-gallery--masonry .c-gallery-item { break-inside: avoid; margin: 0 0 14px; }
.c-gallery--masonry .c-gallery-natural { display: block; border-radius: var(--radius); overflow: hidden; background: var(--c-bg-soft); }
.c-gallery--masonry .c-gallery-natural img { width: 100%; height: auto; transition: transform .3s; }
.c-gallery--masonry .c-gallery-item:hover .c-gallery-natural img { transform: scale(1.04); }
.c-gallery--masonry .c-gallery-caption { text-align: left; margin: 6px 2px 0; }

@media (max-width: 768px) {
  .c-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .c-gallery--masonry .c-gallery-grid { columns: 2; column-gap: 8px; }
  .c-gallery--masonry .c-gallery-item { margin-bottom: 8px; }
}


/* ==== video/style.css ==== */
/* ==== 视频 video ==== */
.c-video--narrow .c-video-box { max-width: 820px; margin: 0 auto; }
.c-video-title { font-size: 20px; text-align: center; margin-bottom: 16px; }
.c-video-player { width: 100%; border-radius: var(--radius); background: #000; }
.c-video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; }
.c-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.c-video-placeholder { position: relative; border-radius: var(--radius); overflow: hidden; }
.c-video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; line-height: 64px; text-align: center; border-radius: 50%;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 20px; padding-left: 4px;
}


/* ==== heading/style.css ==== */
/* ==== 标题 heading ==== */
.c-heading--center { text-align: center; }
.c-heading-title { font-size: 24px; }
.c-heading--sm .c-heading-title { font-size: 19px; }
.c-heading--lg .c-heading-title { font-size: 30px; }
.c-heading-subtitle { color: var(--c-text-light); margin-top: 8px; font-size: 14px; }

.c-heading--decor-line .c-heading-title {
  display: flex; align-items: center; gap: 18px;
}
.c-heading--decor-line.c-heading--center .c-heading-title { justify-content: center; }
.c-heading--decor-line .c-heading-title::before,
.c-heading--decor-line .c-heading-title::after {
  content: ""; height: 1px; background: var(--c-border); flex: 0 0 64px;
}
.c-heading--decor-line.c-heading--left .c-heading-title::before { display: none; }

.c-heading--decor-bar .c-heading-title span { position: relative; display: inline-block; padding-bottom: 10px; }
.c-heading--decor-bar .c-heading-title span::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto;
  width: 42px; height: 3px; border-radius: 2px; background: var(--c-primary);
}
.c-heading--decor-bar.c-heading--left .c-heading-title span::after { margin: 0; }


/* ==== rich-text/style.css ==== */
/* ==== 富文本 rich-text ==== */
.c-richtext-body { line-height: 1.9; font-size: 15px; }
.c-richtext-body p { margin-bottom: 1em; }
.c-richtext-body h2 { font-size: 22px; margin: 1.2em 0 .6em; }
.c-richtext-body h3 { font-size: 18px; margin: 1em 0 .5em; }
.c-richtext-body img { border-radius: var(--radius); margin: 12px auto; }
.c-richtext-body ul { list-style: disc; padding-left: 1.6em; margin-bottom: 1em; }
.c-richtext-body ol { list-style: decimal; padding-left: 1.6em; margin-bottom: 1em; }
.c-richtext-body a { color: var(--c-primary); text-decoration: underline; }
.c-richtext-body blockquote {
  border-left: 3px solid var(--c-primary); background: var(--c-bg-soft);
  padding: 10px 16px; margin-bottom: 1em; border-radius: 0 var(--radius) var(--radius) 0;
}
.c-richtext--narrow .c-richtext-body { max-width: 820px; margin: 0 auto; }
.c-richtext--bg-soft .c-richtext-body { background: var(--c-bg-soft); border-radius: var(--radius); padding: 24px 28px; }


/* ==== buttons/style.css ==== */
/* ==== 按钮组 buttons ==== */
.c-buttons-row { display: flex; gap: 14px; flex-wrap: wrap; }
.c-buttons--center .c-buttons-row { justify-content: center; }
.c-buttons-btn {
  display: inline-block; padding: 10px 30px; border-radius: var(--radius); font-size: 15px;
  border: 1px solid transparent; transition: all .2s;
}
.c-buttons--lg .c-buttons-btn { padding: 13px 42px; font-size: 16px; }
.c-buttons-btn--primary { background: var(--c-primary); color: #fff; }
.c-buttons-btn--primary:hover { color: #fff; filter: brightness(1.1); }
.c-buttons-btn--outline { border-color: var(--c-primary); color: var(--c-primary); }
.c-buttons-btn--outline:hover { background: var(--c-primary); color: #fff; }
.c-buttons-btn--text { color: var(--c-primary); padding-left: 6px; padding-right: 6px; }
.c-buttons-btn--text::after { content: " →"; }


/* ==== spacer/style.css ==== */
/* ==== 留白 spacer ==== */
.c-spacer { display: flex; align-items: center; }
.c-spacer .bs-container { width: 100%; }
.c-spacer-line { border: none; border-top: 1px solid var(--c-border); }


