/*
 * 安邦生物官网 · 复古公共样式（对应老站 2010 年视觉）
 * 被 index.html / about.html / news.html / products.html / knowledge.html / contact.html 共用
 * 栏目页结构：顶部 logo 行 → 导航 → banner → 左侧「栏目导航」+ 右侧正文
 */
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  font-family:"Microsoft YaHei","宋体",SimSun,Arial,sans-serif;
  font-size:12px;color:#000;line-height:1.6;
  background:#fff url(images/legacy/bg.jpg) repeat-x left top;
}
a{color:#000;text-decoration:none}
a:hover{text-decoration:underline;color:#666}
img{border:0;display:inline}
.wrap{width:956px;margin:0 auto}

/* 顶部 logo 行 */
.top{height:70px}
.top td{vertical-align:middle}
.top .logo{width:90px;text-align:center}
.top .cname{width:556px}
.top .music{text-align:right;vertical-align:bottom;padding-bottom:8px}
.music-btn{
  display:inline-flex;align-items:center;gap:5px;cursor:pointer;
  border:1px solid #cbd8ef;background:#f4f9ff;color:#12467f;
  padding:4px 10px;border-radius:14px;font-size:12px;
}
.music-btn:hover{background:#e8f1fc}
.music-dot{width:8px;height:8px;border-radius:50%;background:#9bb}
.music-btn.on .music-dot{background:#e33;box-shadow:0 0 6px #e33}

/* 导航 */
.nav{height:40px;background:#fff}
.nav-table{height:40px;margin:0 auto}
.nav td{text-align:center;font-size:16px;width:150px}
.nav a{display:block;padding:10px 0;color:#000}
.nav a:hover{background:#e8f1fc;color:#12467f;text-decoration:none}
.nav a.cur{background:#12467f;color:#fff;font-weight:bold}

/* banner */
.banner{height:229px;background:#fff;overflow:hidden;position:relative}
.banner img{
  width:956px;height:229px;display:block;
  animation:bannerZoom 18s ease-in-out infinite alternate;
  transform-origin:center center;
}
@keyframes bannerZoom{0%{transform:scale(1)}100%{transform:scale(1.06)}}
.banner-tag{
  position:absolute;right:10px;bottom:8px;color:#fff;font-size:11px;
  background:rgba(0,0,0,.35);padding:2px 8px;border-radius:10px;
}

/* 标题条 */
.bar{height:27px;line-height:27px;background:url(images/legacy/titbg.gif) repeat-x #3f86c8}
.bar .cap{float:left;color:#fff;font-weight:bold;font-size:14px;padding-left:26px}
.bar .cap-blue{color:#ff6a00}
.bar .more{float:right;margin-right:6px;margin-top:3px}
.bar-side{height:23px;line-height:23px;background:url(images/legacy/sidebg.gif) repeat-x #3f86c8}
.bar-side .cap{float:left;color:#000;font-weight:bold;padding-left:26px}
.bar-right{height:23px;line-height:23px;background:url(images/legacy/rightbg.gif) repeat-x #3f86c8}
.bar-right .cap{float:left;color:#000;font-weight:bold;padding-left:26px}

/* 栏目页主体：左栏目导航 + 右正文 */
.cols{margin-top:4px}
table.fixed{table-layout:fixed}
.side-col{width:180px;vertical-align:top}
.side-nav{border:1px solid #cbd8ef;border-top:0;padding:0}
.side-nav .grp{border-bottom:1px solid #cbd8ef}
.side-nav .grp:last-child{border-bottom:0}
.side-nav .grp-title{
  background:#eef4fb;color:#12467f;font-weight:bold;font-size:13px;
  padding:6px 12px;border-bottom:1px solid #d8e5f3;
}
.side-nav .grp-title a{color:#12467f}
.side-nav a{display:block;padding:6px 12px 6px 22px;font-size:12px;color:#333}
.side-nav a:hover{background:#e8f1fc;color:#12467f;text-decoration:none}
.side-nav a.cur{background:#12467f;color:#fff;font-weight:bold}
.side-friends{margin-top:8px}
.side-friends .links{padding:8px 12px;line-height:1.9;color:#555}
.side-friends .links a{color:#555}

/* 正文栏 */
.main-col{width:775px;vertical-align:top}
.main-box{border:1px solid #cbd8ef;border-top:0;padding:14px 16px}
.main-title{font-size:16px;font-weight:bold;color:#12467f;text-align:center;padding:10px 0 14px}
.main-box p{line-height:1.9;text-align:justify;padding:3px 0}
.main-box p.ind{text-indent:2em}

/* 列表页条目 */
.list-item{padding:7px 2px;border-bottom:1px dotted #ccc;display:flex;align-items:center}
.list-item .dot{width:14px;text-align:center;flex:none}
.list-item .tt{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.list-item .dt{width:86px;text-align:right;color:#888;flex:none}
.list-item .tt b{color:#e05a00;font-weight:normal}
.pager{text-align:center;padding:14px 0;color:#666}
.pager span{margin:0 5px;color:#999}
.pager b{color:#12467f}

/* 产品展示 */
.prod-cats{margin-bottom:6px}
.prod-cats .cat{
  display:inline-block;margin:0 8px 6px 0;padding:3px 12px;
  background:#eef4fb;border:1px solid #cbd8ef;color:#12467f;font-size:12px;
}
.prod-cats .cat:hover{background:#12467f;color:#fff;text-decoration:none}
.prod-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2px}
.prod-cell{text-align:center;padding:10px 6px;border:1px solid #eef2f7}
.prod-cell:hover{background:#f8fbff}
.prod-cell img{width:120px;height:132px;object-fit:contain;margin:0 auto;display:block}
.prod-cell .nm{display:block;margin-top:6px;height:19px;overflow:hidden;line-height:19px}
.prod-cell .nm a{color:#12467f}

/* 文章详情 */
.article-title{font-size:19px;font-weight:bold;color:#12467f;text-align:center;padding:12px 0 6px}
.article-meta{
  text-align:center;color:#888;border-bottom:1px solid #dcdcdc;
  padding-bottom:10px;margin-bottom:12px;background:#f7fafd;
}
.article-body p{line-height:2;font-size:14px;padding:6px 0;text-indent:2em}
.article-body h4{font-size:15px;color:#12467f;padding:10px 0 4px}

/* 技术资料列表 */
.tech-list{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
.tech-item{padding:6px 2px;border-bottom:1px dotted #ddd;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.tech-item a{color:#333}
.tech-item .dt{color:#999;font-size:11px;margin-left:6px}
.tech-item a:hover{color:#12467f}

/* 搜索 */
.search-bar{padding:8px 0 12px;text-align:right}
.search-bar input{width:150px;padding:4px 6px;border:1px solid #cbd8ef;font-size:12px}
.search-bar button{padding:4px 14px;border:1px solid #12467f;background:#12467f;color:#fff;cursor:pointer;font-size:12px}
.search-bar button:hover{background:#1b6ac0}

/* 底部 */
.foot{margin-top:8px;background:#fff;border-top:3px solid #e6e6e6;padding:16px 0 24px;text-align:center;line-height:1.9;color:#333}
.foot .tel{font-size:14px;color:#12467f;font-weight:bold}
.foot .beian a{color:#333}
.foot .admin{color:#999;font-size:11px}

/* 小屏等比缩放 */
@media (max-width:980px){
  body{background:#fff}
  .scale-box{width:956px;transform-origin:top left;transform:scale(var(--s,1))}
}
