/* ============================================================
   蜂巢观察 HIVESYS.CN — 设计系统
   风格：国际化商业智库 / 深墨蓝 + 蜂巢金
   ============================================================ */

:root {
  --ink:        #0d1b2a;   /* 主文字 */
  --ink-soft:   #3d4f61;   /* 次级文字 */
  --ink-faint:  #7a8b9c;   /* 辅助文字 */
  --line:       #e3e8ee;   /* 分割线 */
  --paper:      #ffffff;
  --paper-alt:  #f7f9fb;   /* 底色 */
  --navy:       #12263f;   /* 品牌深色 */
  --navy-deep:  #0a1a2b;
  --honey:      #d9a441;   /* 蜂巢金 */
  --honey-soft: #f0c66b;
  --risk:       #b4402f;

  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC",
           Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI",
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          "Noto Sans SC", Helvetica, Arial, sans-serif;

  --radius: 3px;
  --shadow-sm: 0 1px 2px rgba(13,27,42,.06);
  --shadow:    0 4px 20px rgba(13,27,42,.08);
  --shadow-lg: 0 12px 40px rgba(13,27,42,.12);
  --maxw: 1200px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--honey); }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------------------------------------------------- 顶部 */
.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,.62);
  font-size: 12.5px;
  letter-spacing: .04em;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 38px;
}
.topbar-meta { display: flex; gap: 22px; }
.topbar-meta span { white-space: nowrap; }
.topbar a { color: rgba(255,255,255,.72); }
.topbar a:hover { color: var(--honey-soft); }

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px; gap: 32px;
}

.brand { display: flex; align-items: baseline; gap: 11px; }
.brand-mark {
  font-size: 27px; line-height: 1; transform: translateY(2px);
}
.brand-name {
  font-family: var(--serif);
  font-size: 25px; font-weight: 700;
  letter-spacing: .09em; color: var(--navy);
}
.brand-latin {
  font-size: 11px; letter-spacing: .22em;
  color: var(--ink-faint); font-weight: 600;
  text-transform: uppercase;
  border-left: 1px solid var(--line);
  padding-left: 11px;
}

.nav { display: flex; gap: 6px; align-items: center; }
.nav a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  padding: 8px 15px; border-radius: var(--radius);
  position: relative;
}
.nav a:hover { background: var(--paper-alt); color: var(--navy); }
.nav a.active { color: var(--navy); font-weight: 600; }
.nav a.active::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 0;
  height: 2px; background: var(--honey);
}

.nav-search {
  display: flex; align-items: center;
  border: 1px solid var(--line); border-radius: 40px;
  padding: 0 4px 0 15px; height: 38px;
  transition: border-color .2s, box-shadow .2s;
  background: var(--paper-alt);
}
.nav-search:focus-within {
  border-color: var(--honey); box-shadow: 0 0 0 3px rgba(217,164,65,.13);
  background: #fff;
}
.nav-search input {
  border: 0; background: transparent; outline: none;
  width: 150px; font-size: 13.5px; font-family: var(--sans);
  color: var(--ink);
}
.nav-search input::placeholder { color: var(--ink-faint); }
.nav-search button {
  border: 0; background: var(--navy); color: #fff;
  width: 30px; height: 30px; border-radius: 50%;
  cursor: pointer; display: grid; place-items: center;
  font-size: 13px; transition: background .18s;
}
.nav-search button:hover { background: var(--honey); }

/* ---------------------------------------------------- 通栏 */
.masthead {
  background: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 58%, #1d3a5c 100%);
  color: #fff; position: relative; overflow: hidden;
}
.masthead::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 78% 28%, rgba(217,164,65,.20), transparent 46%),
    radial-gradient(circle at 12% 88%, rgba(217,164,65,.09), transparent 40%);
}
/* 蜂巢网格纹理 */
.masthead::after {
  content: ''; position: absolute; right: -60px; top: -40px;
  width: 420px; height: 420px; opacity: .16;
  background-image:
    repeating-linear-gradient(60deg, transparent 0 26px, rgba(240,198,107,.5) 26px 27px),
    repeating-linear-gradient(-60deg, transparent 0 26px, rgba(240,198,107,.5) 26px 27px),
    repeating-linear-gradient(0deg, transparent 0 45px, rgba(240,198,107,.5) 45px 46px);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 72%);
          mask-image: radial-gradient(circle, #000 20%, transparent 72%);
}
.masthead .wrap {
  position: relative; z-index: 1;
  padding-top: 62px; padding-bottom: 62px;
}
.masthead-inner { max-width: 760px; }
.masthead-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--honey-soft); font-weight: 600; margin-bottom: 20px;
}
.masthead-kicker::before {
  content: ''; width: 26px; height: 1px; background: var(--honey-soft);
}
.masthead h1 {
  font-family: var(--serif);
  font-size: 42px; line-height: 1.32; font-weight: 700;
  margin: 0 0 18px; letter-spacing: .01em;
}
.masthead p {
  font-size: 16.5px; line-height: 1.85;
  color: rgba(255,255,255,.76); margin: 0 0 30px; max-width: 620px;
}
.masthead-stats {
  display: flex; gap: 46px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 26px;
}
.masthead-stats div { display: flex; flex-direction: column; gap: 3px; }
.masthead-stats strong {
  font-family: var(--serif); font-size: 27px;
  color: var(--honey-soft); font-weight: 700;
}
.masthead-stats span {
  font-size: 12.5px; color: rgba(255,255,255,.55); letter-spacing: .06em;
}

/* ---------------------------------------------------- 栏目条 */
.ticker {
  border-bottom: 1px solid var(--line);
  background: var(--paper-alt);
}
.ticker .wrap {
  display: flex; align-items: center; gap: 4px;
  height: 54px; overflow-x: auto;
}
.ticker-label {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 700; margin-right: 16px;
  white-space: nowrap;
}
.ticker a {
  font-size: 14px; color: var(--ink-soft); font-weight: 500;
  padding: 6px 15px; border-radius: 40px; white-space: nowrap;
  transition: all .18s;
}
.ticker a:hover { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.ticker a.active { background: var(--navy); color: #fff; }
.ticker a .cnt { opacity: .55; font-size: 12px; margin-left: 4px; }

/* ---------------------------------------------------- 主体 */
.main { padding: 54px 0 76px; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 30px; padding-bottom: 15px;
  border-bottom: 2px solid var(--navy);
}
.section-head h2 {
  font-family: var(--serif); font-size: 23px; margin: 0;
  letter-spacing: .05em; font-weight: 700; color: var(--navy);
}
.section-head .sub {
  font-size: 13px; color: var(--ink-faint); letter-spacing: .05em;
}

/* 头条 */
.lead {
  display: grid; grid-template-columns: 1.32fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--paper);
  box-shadow: var(--shadow-sm); margin-bottom: 20px;
  transition: box-shadow .25s, transform .25s;
}
.lead:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.lead-body { padding: 42px 44px; display: flex; flex-direction: column; }
.lead-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; color: var(--ink-faint); margin-bottom: 17px;
  letter-spacing: .04em;
}
.lead h3 {
  font-family: var(--serif); font-size: 30px; line-height: 1.42;
  margin: 0 0 17px; font-weight: 700; letter-spacing: .01em;
}
.lead:hover h3 { color: var(--navy); }
.lead p {
  font-size: 15px; line-height: 1.85; color: var(--ink-soft);
  margin: 0 0 26px; flex: 1;
}
/* 头条通栏：白底，上下各一条贯通横线 */
.lead-band {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.lead-band .lead-body { padding: 38px 0 40px; }
.lead-band h3 a { color: var(--ink); }
.lead-band h3 a:hover { color: var(--navy); }

.lead-aside {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; padding: 42px 38px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.lead-aside::after {
  content: ''; position: absolute; right: -50px; bottom: -50px;
  width: 220px; height: 220px; opacity: .17;
  background-image:
    repeating-linear-gradient(60deg, transparent 0 18px, rgba(240,198,107,.55) 18px 19px),
    repeating-linear-gradient(-60deg, transparent 0 18px, rgba(240,198,107,.55) 18px 19px),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(240,198,107,.55) 31px 32px);
  -webkit-mask-image: radial-gradient(circle, #000 15%, transparent 70%);
          mask-image: radial-gradient(circle, #000 15%, transparent 70%);
}
.lead-aside-label {
  font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--honey-soft); font-weight: 700; margin-bottom: 16px;
  position: relative; z-index: 1;
}
.lead-aside-list { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.lead-aside-list li {
  padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.11);
  font-size: 14px; line-height: 1.6;
}
.lead-aside-list li:last-child { border-bottom: 0; }
.lead-aside-list a { color: rgba(255,255,255,.86); }
.lead-aside-list a:hover { color: var(--honey-soft); }
.lead-aside-list .d {
  display: block; font-size: 11.5px; color: rgba(255,255,255,.42);
  margin-top: 4px; letter-spacing: .05em;
}

/* 卡片网格 */
.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px 24px;
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card:hover {
  box-shadow: var(--shadow); transform: translateY(-3px);
  border-color: #d3dbe4;
}
.card-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--ink-faint); margin-bottom: 13px;
  letter-spacing: .04em;
}
.card h3 {
  font-family: var(--serif); font-size: 19px; line-height: 1.55;
  margin: 0 0 12px; font-weight: 700; letter-spacing: .005em;
}
.card p {
  font-size: 14px; line-height: 1.8; color: var(--ink-soft);
  margin: 0 0 18px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--ink-faint);
}

/* 标签 */
.tag {
  display: inline-block; font-size: 11.5px; font-weight: 600;
  letter-spacing: .06em; padding: 2.5px 9px; border-radius: 2px;
  background: var(--paper-alt); color: var(--ink-soft);
}
.tag-business { background: #eef4fa; color: #2c5f8f; }
.tag-policy   { background: #fbf3e2; color: #9a7222; }
.tag-risk     { background: #fbecea; color: var(--risk); }
.tag-pin      { background: var(--navy); color: var(--honey-soft); }

/* 分页 */
.pager {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 44px;
}
.pager a, .pager span {
  min-width: 38px; height: 38px; padding: 0 13px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 14px; color: var(--ink-soft); background: var(--paper);
}
.pager a:hover { border-color: var(--navy); color: var(--navy); }
.pager .cur { background: var(--navy); color: #fff; border-color: var(--navy); }
.pager .dis { opacity: .4; pointer-events: none; }

/* 空态 */
.empty {
  text-align: center; padding: 90px 20px; color: var(--ink-faint);
}
.empty .ico { font-size: 44px; opacity: .35; margin-bottom: 16px; }
.empty h3 {
  font-family: var(--serif); font-size: 20px; color: var(--ink-soft);
  margin: 0 0 8px;
}

/* ---------------------------------------------------- 文章页 */
.article-head {
  max-width: 780px; margin: 0 auto 34px; text-align: left;
}
.article-head .meta {
  display: flex; align-items: center; gap: 13px;
  font-size: 13px; color: var(--ink-faint); margin-bottom: 20px;
  letter-spacing: .04em; flex-wrap: wrap;
}
.article-head h1 {
  font-family: var(--serif); font-size: 37px; line-height: 1.42;
  margin: 0 0 20px; font-weight: 700; letter-spacing: .005em;
}
.article-lead {
  font-size: 17px; line-height: 1.9; color: var(--ink-soft);
  border-left: 3px solid var(--honey); padding-left: 19px; margin: 0;
}
.article-layout {
  display: grid; grid-template-columns: 1fr 268px; gap: 64px;
  max-width: 1080px; margin: 0 auto;
}
/* 单栏居中（无侧栏时） */
.article-layout--center {
  grid-template-columns: 1fr;
  max-width: 780px;
}
.article-body {
  font-size: 16.5px; line-height: 1.95; color: #22303d;
  min-width: 0;
}
.article-body h2 {
  font-family: var(--serif); font-size: 24px; margin: 44px 0 16px;
  padding-bottom: 11px; border-bottom: 1px solid var(--line);
  font-weight: 700; color: var(--navy);
}
.article-body h3 {
  font-family: var(--serif); font-size: 19.5px; margin: 32px 0 12px;
  font-weight: 700; color: var(--navy);
}
.article-body p { margin: 0 0 21px; }
.article-body ul, .article-body ol { margin: 0 0 21px; padding-left: 24px; }
.article-body li { margin-bottom: 9px; }
.article-body blockquote {
  margin: 26px 0; padding: 17px 22px;
  background: var(--paper-alt); border-left: 3px solid var(--navy);
  color: var(--ink-soft); font-size: 15.5px;
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body table {
  width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 15px;
}
.article-body th, .article-body td {
  border: 1px solid var(--line); padding: 11px 14px; text-align: left;
}
.article-body th { background: var(--paper-alt); font-weight: 600; color: var(--navy); }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body code {
  background: var(--paper-alt); padding: 2px 6px; border-radius: 2px;
  font-size: .9em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

.article-foot {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--ink-faint); flex-wrap: wrap; gap: 12px;
}
/* 正文底部声明（AI 生成说明等）：紧跟正文末尾，观感上属于正文的一部分 */
.article-notice {
  margin: -6px 0 21px;         /* 负上边距抵消正文末段下边距，看起来紧贴正文 */
  padding: 12px 16px;
  background: transparent;     /* 与正文同背景（白色），去掉米色底 */
  border-left: 3px solid var(--honey);   /* 保留左侧黄色竖线 */
  font-size: 15px;             /* 与正文同字号，不再缩小 */
  line-height: 1.9;
  color: var(--ink-soft);      /* 略淡于正文，但仍属正文层级 */
}

.disclaimer {
  margin-top: 26px; padding: 16px 20px; background: var(--paper-alt);
  border-radius: var(--radius); font-size: 13px; line-height: 1.8;
  color: var(--ink-faint);
}

/* 侧栏 */
.side { font-size: 14px; }
.side-block { margin-bottom: 38px; }
.side-title {
  font-size: 12px; letter-spacing: .17em; text-transform: uppercase;
  color: var(--ink-faint); font-weight: 700;
  padding-bottom: 11px; border-bottom: 1px solid var(--line);
  margin-bottom: 15px;
}
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li {
  padding: 12px 0; border-bottom: 1px solid #eef1f5;
  font-size: 14px; line-height: 1.65;
}
.side-list li:last-child { border-bottom: 0; }
.side-list a { color: var(--ink-soft); }
.side-list a:hover { color: var(--navy); }
.side-list .d {
  display: block; font-size: 11.5px; color: var(--ink-faint);
  margin-top: 5px; letter-spacing: .04em;
}

/* 相关阅读 */
.related {
  margin-top: 70px; padding-top: 40px;
  border-top: 1px solid var(--line);
  max-width: 780px; margin-left: auto; margin-right: auto;
}
.related h2 {
  font-family: var(--serif); font-size: 20px; margin: 0 0 24px;
  color: var(--navy); letter-spacing: .05em;
}

/* ---------------------------------------------------- 页脚 */
.site-footer {
  background: var(--navy-deep); color: rgba(255,255,255,.55);
  margin-top: 0; padding: 52px 0 0;
  font-size: 13.5px;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand-name { color: #fff; font-size: 21px; }
.footer-brand .brand-latin { color: rgba(255,255,255,.4); border-color: rgba(255,255,255,.15); }
.footer-brand p {
  margin: 16px 0 0; line-height: 1.85;
  color: rgba(255,255,255,.48); font-size: 13px; max-width: 330px;
}
.footer-col h4 {
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.72); margin: 0 0 16px; font-weight: 700;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,.5); font-size: 13.5px; }
.footer-col a:hover { color: var(--honey-soft); }

/* 底部版权行 —— 按要求固定文案 */
.footer-bottom {
  padding: 24px 0 26px; text-align: center;
  font-size: 12.5px; line-height: 1.9;
  color: rgba(255,255,255,.44); letter-spacing: .02em;
}
.footer-legal {
  display: block; margin-top: 9px; font-size: 12.5px;
  color: rgba(255,255,255,.36);
}

/* ---------------------------------------------------- 响应式 */
@media (max-width: 1024px) {
  .lead { grid-template-columns: 1fr; }
  .lead-aside { padding: 32px 34px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; gap: 44px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px; }
  .masthead h1 { font-size: 34px; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .site-header .wrap { height: auto; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 16px; padding-bottom: 14px; }
  .nav { flex-wrap: wrap; gap: 2px; }
  .nav-search { width: 100%; }
  .nav-search input { width: 100%; flex: 1; }
  .topbar-meta { gap: 14px; font-size: 11.5px; }
  .masthead .wrap { padding-top: 40px; padding-bottom: 40px; }
  .masthead h1 { font-size: 26px; }
  .masthead p { font-size: 15px; }
  .masthead-stats { gap: 26px; }
  .main { padding: 32px 0 52px; }
  .lead-body { padding: 28px 24px; }
  .lead h3 { font-size: 22px; }
  .grid { grid-template-columns: 1fr; }
  .article-head h1 { font-size: 26px; }
  .article-body { font-size: 16px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .brand-latin { display: none; }
}

/* 正文页无侧栏时，相关阅读改为单列，避免 780px 内三列过挤 */
.related .grid {
  grid-template-columns: 1fr;
  gap: 14px;
}
.related .card { padding: 22px 24px; }

/* 搜索关键词高亮 */
mark.hl {
  background: linear-gradient(transparent 58%, rgba(217,164,65,.42) 58%);
  color: inherit; padding: 0 1px; border-radius: 2px;
  font-weight: 600;
}

/* 搜索结果的正文命中片段 */
p.snippet {
  font-size: 13px !important;
  color: var(--ink-faint) !important;
  line-height: 1.75;
  margin-top: -6px;
  padding-left: 11px;
  border-left: 2px solid var(--line);
  -webkit-line-clamp: 2;
}

/* 外部栏目链接 */
.nav a.nav-ext {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--ink-soft);
  border-left: 1px solid var(--line);
  margin-left: 6px; padding-left: 18px;
}
.nav a.nav-ext:hover { color: var(--navy); background: var(--paper-alt); }
.nav a.nav-ext .ext-ico {
  font-size: 11px; opacity: .5; transform: translateY(-1px);
}
.nav a.nav-ext:hover .ext-ico { opacity: 1; color: var(--honey); }

@media (max-width: 720px) {
  .nav a.nav-ext {
    border-left: 0; margin-left: 0; padding-left: 15px;
  }
}

/* 页脚备案号链接 */
.footer-legal a {
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: color .16s, border-color .16s;
}
.footer-legal a:hover {
  color: rgba(255,255,255,.72);
  border-bottom-color: rgba(255,255,255,.32);
}
