
.indexad{width:1200px;margin:0 auto;}
.indexad img{width:1200px;object-fit:cover;margin-top:15px;border-radius:5px;}

/*-------------------新闻焦点图与焦点新闻----------------------*/
.focus { margin-top: 20px; }

/* 焦点区宽度分配：轮播 700 + 间隙 18 + 右侧文字块 482 = 1200。
   原来是轮播 800 + 文字块 382，文字内容只有 340px —— 按 --fs-h3 18.5px 算一行才 18 字，
   而实测三条头条标题分别是 22 / 28 / 38 字，又被 nowrap 强制单行，三条全部被省略号截断。
   收窄轮播 100px 给文字，文字内容宽到 440（约 23.8 字/行），第一条 22 字可完整显示。
   轮播高度不动（326），首屏总高不变；比例由 2.45:1 变为 2.15:1，横图裁切也顺带减轻。 */
.focusimg { width: 700px; height: 326px; position: relative; zoom: 1; overflow: hidden; float: left;background }
.focusimg .FP_angle { width: 7px; height: 7px; overflow: hidden; font-size: 0; line-height: 0; position: absolute; z-index: 10; }
.focusimg .FP_arr_left { width: 13px; height: 25px; position: absolute; z-index: 8; top: 150px; left: 5px; background: url(/static/images/p_w_06.gif) no-repeat 0 0; filter: Alpha(Opacity=80); opacity: .8; cursor: pointer; }
.focusimg .FP_arr_right { width: 13px; height: 25px; position: absolute; z-index: 8; top: 150px; right: 5px; background: url(/static/images/p_w_06.gif) no-repeat -200px 0; filter: Alpha(Opacity=80); opacity: .8; cursor: pointer; }
.focusimg .FP_NumList { position: absolute; right: 20px; bottom: 7px; zoom: 1; overflow: hidden; z-index: 9; }

.focusimg .FP_NumList span { float: left; width: 22px; height: 22px; text-align: center; line-height: 22px; font-weight: bold; vertical-align: middle; border-radius: 13px; margin-left: 10px; display: inline; background: var(--bg-num); color: var(--font-white); font-family: Arial, Helvetica, sans-serif; cursor: pointer; }

.focusimg .FP_NumList span.selected { background: var(--border-list); color: var(--font-light); border-radius: 13px; }

/* 轮播轨道改成原生横向 scroll-snap（与移动端 index_mob.css 同一套做法）。
   宽度一律用 100% 由 .focusimg 决定，脚本不再写死像素 —— 旧 ScrollPic 的
   frameWidth/pageWidth 是 800，而 .focusimg 已收窄到 700，每翻一页多滚 100px，
   第 2 张起画面里就同时露出两张图。现在位移由浏览器按容器真实宽度算，改宽不会再错位。 */
.focusimg .FP_cont { display: flex; width: 100%; height: 326px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; }
.focusimg .FP_cont::-webkit-scrollbar { display: none; }
.focusimg .FP_cont.grabbing { cursor: grabbing; scroll-snap-type: none; }
/* float 在 flex 容器里本来会被忽略，显式清掉是为了将来有人把容器的 display 改回去时不至于错位 */
.focusimg .FP_pic { flex: 0 0 100%; width: 100%; height: 326px; overflow: hidden; float: none; position: relative; border-radius: 5px; text-align:center;background:var(--font-light); scroll-snap-align: start; scroll-snap-stop: always; }
/* 不写 display:block：标题条是靠 margin-top:-40px 从行盒底部往上叠的，
   高度固定 326 + overflow:hidden 已把行盒多余部分裁掉，改块级会让标题条上移几像素 */
.focusimg .FP_pic img { height: 326px;width:100%; object-fit: cover; }
.focusimg .FP_pic .FP_tit_bg { height: 40px; width: 100%; margin-top: -40px; background: var(--bg-mask); filter: Alpha(Opacity=30); opacity: .3; }
/* 右侧留 190px：圆点是绝对定位（right:20px，5 个 22px + 10px 间距 = 160），
   标题条原来只有 padding-left，长标题会直接从数字底下穿过去。
   里面的 a 必须单独做成块级并自带省略号：a 是行内元素，父级的 text-overflow 管不到它，
   长标题会被硬切掉且不出「…」。也不靠父级 nowrap 兜底 —— 折行的话第二行落在 40px
   标题条之外，会被 .FP_pic 的 overflow:hidden 裁掉，看起来像标题丢了半句。 */
.focusimg .FP_pic .FP_tit_txt { line-height: 36px; padding-left: 18px; padding-right: 190px; margin-top: -40px; font-size: var(--fs-body); font-weight: bold; color: var(--font-white); position: relative; *position: static;text-align:left; }
.focusimg .FP_pic .FP_tit_txt a { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.focusimg .FP_pic .FP_tit_ico { width: 11px; height: 15px; margin: -22px 0 0 7px; overflow: hidden; font-size: 0; line-height: 0; position: relative; *position: static; }
.focusimg .FP_pic a:link, .FP_pic a:visited { color: var(--font-white); text-decoration: none; }
.focusimg .FP_pic a:hover { text-decoration: underline; }


.focustext { width: calc(100% - 760px); height: 306px; float: right; overflow: hidden; border: 1px solid var(--border); background: var(--border-list); border-radius: 5px; padding: 10px 20px; }
.focustext h3 { margin-top: 0px; font-size: var(--fs-h3); color: var(--font-bold); height: 30px; line-height: 30px; background-repeat: no-repeat; padding-top: 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.focustext h3 a { color: var(--font-bold); }
.focustext h3 a:hover{color:var(--nav-hover);}
.focustext span { font-size: var(--fs-small); height: 45px; line-height: 22px; margin-bottom: 10px; margin-top: 8px; overflow: hidden; width: 100%; color:var(--font-span); display: block; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; }

/*最新资讯*/
.articlephoto { width:100%;overflow:hidden;}
.articlephoto .tit { font-size: var(--fs-body); line-height: 35px; margin-top: 20px; padding-bottom: 5px; background:var(--bg-tit); padding: 0 10px; border-radius: 5px; }
.articlephoto .tit a { color:var(--font-bold); font-weight: 500; display: block; }
/* 板块标题统一加红竖条（与 inside.css 内页标题同款），首页各板块辨识度一致。
   注：带底色框的标题条（.articlephoto .tit）不加竖条 —— 底框配竖条过乱，用户定稿 */
.memberlist .tit a,
.about .tit a,
.news .tit a,
.company .tit a,
.products .tit a,
.newsphoto .tit a { border-left: 3px solid var(--font-bold); padding-left: 10px; }
/* 板块标题用 h1 承载（语义化，便于搜索引擎识别页面主题），
   类名与 div 版一致，样式沿用 .articlephoto .tit，视觉不变 */
h1.tit { font-weight: normal; }

.articlephoto .list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top:20px;}
.articlephoto .item { overflow: hidden; background: var(--border-list); border-radius: 5px; border: 1px solid var(--border); }
.articlephoto .pic { width: 100%; padding-top: 60%; position: relative; overflow: hidden; margin: 0 auto; }
.articlephoto .pic img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
/* 卡片标题 15px（--fs-small）+ 20px 行高：3 行正好 60px，与 height:60px 对齐。
   原来是 17px 且没写行高，默认约 1.4 倍（≈24px），3 行 71px > 60px，第三行会被切掉半行。 */
.articlephoto .title { font-size: var(--fs-small); line-height: 20px; padding: 10px; height: 60px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; white-space: normal; }
.articlephoto .date { padding: 10px; border-top: 1px solid var(--border); margin-top: 10px; height: 30px; color: var(--font-span); font-size: var(--fs-small); }
.articlephoto .date i { margin-right: 5px; }
.articlephoto .time { float: left; }
.articlephoto .look { float: right; }


/*会员风采*/
.memberlist { background: var(--border-list); margin-top: 30px; border-radius: 5px; border: 1px solid var(--border); padding: 10px; }
.memberlist .tit { font-size: var(--fs-body); line-height: 35px; margin-bottom: 10px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.memberlist .tit a { color: var(--font-bold); font-weight: 500; }

/* 第二块标题「荣誉会长 • 名誉会长」：两段都可点，分别进会员列表并选中该职务。
   竖条只留给第一段 —— 否则一行里出现两根竖条，中间再夹个圆点，看起来很乱 */
.memberlist .tit .tit-dot { color: var(--font-span); margin: 0 6px; font-weight: normal; }
.memberlist .tit a + .tit-dot + a { border-left: 0; padding-left: 0; }

.memberlist .list { margin-top: 15px; }
.memberlist .list .photo { background: var(--border); width: 140px; height: 180px; margin-right: 10px; border-radius: 5px; }
.memberlist .list .photo .img-zoom-in { width: 140px; height: 140px; overflow: hidden; border-top-left-radius: 5px; border-top-right-radius: 5px; }
/* 姓名与职务：原未设字号，继承 body 的 17px，在 140px 宽的卡片里偏大。
   取 --fs-small(15px) 与「商会动态」卡片标题同一档；行高仍用 40px，
   因为 .photo 高 180 = 头像 140 + 这一行 40，改行高会把卡片撑破。 */
.memberlist .list .photo .name { font-size: var(--fs-small); line-height: 40px; font-weight: 500; }
/* 姓名深色加粗、职务灰色小一号：原来两者同色同号挤在一行，层级不清 */
.memberlist .list .photo .name .job { color: var(--font-span); font-size: var(--fs-tiny); margin-left: 6px; font-weight: normal; }

.memberlist .list img { width: 140px; height: 140px; object-fit: cover; margin-right: 10px; }
/* PC 横向滚动条：按住可拖、两侧箭头翻页，默认静止不自动跑
   （位移、拖动与箭头显隐见 jsMemberScroll.js）。
   为什么用原生滚动而不是 JS 连续位移：原来那条 20ms 左移 1px 的跑马灯，
   名单一直在动，看不清人也不好点；原生滚动还顺带支持触控板横滑、键盘左右键。
   容器高度 180 与卡片同高（头像 140 + 姓名行 40），多出的部分裁掉不外溢。 */
.pcmarquee { position: relative; height: 180px; }

.pcscroll {
    display: flex;
    height: 180px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;          /* Firefox：隐藏滚动条，不占卡片高度 */
    cursor: grab;
}

.pcscroll::-webkit-scrollbar { display: none; }

/* 拖动过程中必须关掉吸附，否则每挪几像素就被拉回最近的卡片，手感像被粘住 */
.pcscroll.grabbing { scroll-snap-type: none; }

/* a 的 cursor:pointer 优先级高于父级，拖动时要连链接一起改成抓手，
   否则鼠标停在卡片上仍是手指图标，看不出正在拖 */
.pcscroll.grabbing,
.pcscroll.grabbing a { cursor: grabbing; }

/* 卡片不收缩、不换行，每张按自身 140+10 的宽度排在轨道上；
   scroll-snap-align 让松手后自动停在某张卡的左边缘，不会停在半张脸上 */
.pcscroll .photo { flex: 0 0 auto; scroll-snap-align: start; }

/* 人数不足一屏时居中（脚本按实际是否溢出加 .centered，不用 :not(.scrollable)：
   脚本没跑起来时保持左对齐，真溢出了也不会把第一张裁到看不见） */
.pcmarquee.centered .pcscroll { justify-content: center; }

/* 两侧翻页箭头：浮在卡片上方，默认隐身；内容超出时脚本给容器加 .scrollable 才显形 */
.pcnav {
    position: absolute;
    top: 73px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--font-white);
    color: var(--font-bold);
    font-size: 22px;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, background-color .2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    z-index: 5;
}

.pcmarquee.scrollable .pcnav { opacity: 1; visibility: visible; }

.pcnav:hover { background: var(--border-list); }

/* 到头了就置灰：还能点的话按下去毫无反应，用户会以为坏了 */
.pcnav:disabled { opacity: .25; cursor: default; }
.pcnav:disabled:hover { background: var(--font-white); }

.pcnav-prev { left: 4px; }
.pcnav-next { right: 4px; }

/* 移动端那一套（.mcarousel）在 PC 不显示：服务端在 PC 端本就不往里塞数据，
   这里显式关掉，避免将来有人在两端都渲染时冒出一排重复头像 */
.memberlist .mcarousel { display: none; }



/*最新栏目*/
.about { background:var(--border-list); margin-top: 30px; border-radius: 5px; border: 1px solid var(--border); padding: 10px; }
.about .tit { font-size: var(--fs-body); line-height: 35px; margin-bottom: 10px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.about .tit a { color:var(--font-bold); font-weight: 500; }

.about .list { margin-top: 10px; padding: 5px 10px; display: flex; flex-wrap: wrap; }
.about .item { flex: 1; height: auto; }
.about .item .img { width: 90%; height: 150px; overflow: hidden; border-radius: 5px; margin: 0 auto; border: 1px solid var(--border); }
.about .item .img img { width: 100%; height: 100%; object-fit: cover; }
.about .item p { height: 60px; line-height: 30px; overflow: hidden; width: 90%; text-align: center; margin-top:10px; }
.about .item p span{color:var(--font-span);font-size:var(--fs-tiny);}


/*内容列表*/
/*.newslist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.news { box-sizing: border-box;background:var(--border-list); margin-top: 30px; border-radius: 5px; padding: 10px; border: 1px solid var(--border); }
.news .tit { font-size: var(--fs-body); line-height: 35px; margin-bottom: 10px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.news .tit a { color:var(--font-bold); font-weight: 500; }

.news .list { padding: 15px 24px; font-size: var(--fs-small); }
.news .list li {width:100%; height: 26px; line-height: 26px; margin-bottom: 10px; float: left; list-style-type: square; }
.news .list a { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; float: left; text-indent: 10px; }
.news .list li b { color: var(--nav-hover); }
*/

/*内容列表*/
.newslist { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 15px; 
  min-width: 0; /* 新增 */
  width: 100%; /* 新增 */
}
/* 只有两列资讯时（家乡新闻无数据被隐藏）降为两列，
   否则残留的第三列会空着，视觉上像掉了一块 */
.newslist-2 {
  grid-template-columns: repeat(2, 1fr);
}
.news { 
  background:var(--border-list); 
  margin-top: 30px; 
  border-radius: 5px; 
  padding: 10px; 
  border: 1px solid var(--border);
  box-sizing: border-box; 
  min-width: 0; /* 新增 */
}
.news .tit { 
  font-size: var(--fs-body); 
  line-height: 35px; 
  margin-bottom: 10px; 
  border-bottom: 1px solid var(--border); 
  padding-bottom: 10px; 
}
.news .tit a { color:var(--font-bold); font-weight: 500; }

.news .list { padding: 15px 24px; font-size: var(--fs-small); }
.news .list li {
  height: 26px; 
  line-height: 26px; 
  margin-bottom: 10px; 
  list-style-type: square; 
}
.news .list a { 
  display: block; /* 必须加 */
  width: 100%; /* 必须加 */
  overflow: hidden; 
  white-space: nowrap; 
  text-overflow: ellipsis; 
  text-indent: 10px;
}
.news .list li b { color: var(--nav-hover); }


/*企业列表*/
.company { background:var(--border-list); margin-top: 30px; border-radius: 5px; padding: 10px; border: 1px solid var(--border); }
.company .tit { font-size: var(--fs-body); line-height: 35px; margin-bottom: 10px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.company .tit a { color:var(--font-bold); font-weight: 500; }


.company .list { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 20px; padding: 10px; justify-content: flex-start; }
.company .item { width: calc(10% - 20px); text-align: center; margin-bottom: 20px; }
.company .item .img { width: 100%; aspect-ratio: 1/1; overflow: hidden; border-radius: 5px; margin: 0 auto; border: 1px solid var(--border); background: var(--border-list); }
/* logo 用 contain 完整显示：cover 会把宽logo或长logo裁掉一半，各格子观感参差 */
.company .item .img img { width: 100%; height: 100%; object-fit: contain; }
.company .item p { height: 25px; line-height: 25px; overflow: hidden; width: 100px; text-align: center; margin: 0 auto; padding-top: 10px; font-size: var(--fs-tiny); }



/*----产品推荐---*/
.products { background:var(--border-list); margin-top: 30px; border-radius: 5px; padding: 10px; border: 1px solid var(--border); }
.products .tit { font-size: var(--fs-body); line-height: 35px; margin-bottom: 10px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.products .tit a { color:var(--font-bold); font-weight: 500; }

.products .list { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 20px; padding: 10px; justify-content: flex-start; }
.products .item { width: calc(20% - 20px); text-align: center; margin: 15px 0px; }
.products .item .img { width: 100%; aspect-ratio:4/3; overflow: hidden; border-radius: 5px; margin: 0 auto; border: 1px solid var(--border); }
.products .item .img img { width: 100%; height: 100%; object-fit: cover; }
.products .item p { height: 60px; line-height: 30px; overflow: hidden; width: 90%; text-align: center; margin-top: 10px; }
.products .item p span { color:var(--font-span);font-size:var(--fs-tiny); }

/*----美图欣赏---*/
.newsphoto { background:var(--border-list); margin-top: 30px; border-radius: 5px; padding: 15px; border: 1px solid var(--border); }
.newsphoto .tit { font-size: var(--fs-body); line-height: 35px; margin-bottom: 10px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.newsphoto .tit a { color:var(--font-bold); font-weight: 500; }

.newsphoto .list { margin-top: 10px; }
.newsphoto .item { float: left; width: 20%; text-align: center; margin: 15px 0px; }
.newsphoto .item .img { width: 200px; height: 150px; overflow: hidden; border-radius: 5px; margin: 0 auto; }
.newsphoto .item .img img { width: 200px; height: 150px; object-fit: cover;}
.newsphoto .item p { height: 50px; line-height: 25px; overflow: hidden; width: 200px; text-align: center; margin: 0 auto; padding-top: 10px; color:var(--font-span);font-size:var(--fs-tiny);}


/*-----------友情链接------------- */

.link { margin-top: 20px; background:var(--border-list); border-radius:5px;padding:15px;line-height:25px;border:1px solid var(--border);color:var(--font-bold);}
.link a {margin-left:10px; }

/* ---- 卡片悬停反馈（仅 PC）：轻阴影 + 上浮 2px，让可点击的卡片"活"起来 ----
   只挂在卡片级元素上（动态卡 / 产品图 / 企业 logo 格），整块的板块容器不挂 */
.articlephoto .item,
.company .item .img,
.products .item .img { transition: box-shadow .2s ease, transform .2s ease; }
.articlephoto .item:hover,
.company .item .img:hover,
.products .item .img:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, .10); transform: translateY(-2px); }
