/* ===== 会员企业展厅增强样式（org_member.css） ===== */
/* 行业标签（区别于等级标签的蓝色） */
.org-tag-ind {
  background: #e8f4ea;
  color: #2e8b57;
  border: 1px solid #bfe3c8;
}

/* 详情页头部大标签 */
.org-tag-lg {
  font-size: 14px;
  padding: 4px 14px;
  border-radius: 14px;
}

/* ---------- 列表卡片 hover 悬浮预览 ---------- */
.org-mcard {
  position: relative;
}
.mc-preview {
  position: absolute;
  inset: 0;
  background: rgba(18, 52, 98, 0.95);
  color: #fff;
  padding: 16px 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none; /* 点击穿透到卡片链接 */
  box-sizing: border-box;
}
.org-mcard:hover .mc-preview {
  opacity: 1;
  visibility: visible;
}
.mc-preview .mcp-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.mc-preview .mcp-tags {
  margin-bottom: 10px;
}
.mc-preview .mcp-row {
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 6px;
  color: #d8e6f6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mc-preview .mcp-row b {
  color: #9cc4ff;
  margin-right: 6px;
}
.mc-preview .mcp-more {
  margin-top: auto;
  color: #ffd97a;
  font-weight: 600;
  font-size: 14px;
}

/* ---------- 详情页 ---------- */
.ms-head {
  border-bottom: 2px solid #1e5bc6;
  padding-bottom: 12px;
  margin-bottom: 18px;
}
.ms-head .ms-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.ms-logo {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e5e6eb;
  background: #f4f7fb;
}
.ms-logo.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #86909c;
  text-align: center;
  padding: 6px;
  box-sizing: border-box;
}
.ms-head .ms-bx {
  min-width: 0;
}
.ms-head h2 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.3;
  color: #173a66;
}
.ms-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.ms-mcode {
  color: #888;
  font-size: 13px;
}
.ms-h3 {
  font-size: 18px;
  color: #173a66;
  border-left: 4px solid #1e5bc6;
  padding-left: 10px;
  margin: 28px 0 14px;
}
.ms-intro {
  line-height: 1.9;
  color: #333;
  background: #f7faff;
  border: 1px solid #e4eefb;
  border-radius: 6px;
  padding: 14px 16px;
}

/* 相册轮播 */
.ms-album {
  position: relative;
  background: #f3f7fc;
  border: 1px solid #e4eefb;
  border-radius: 8px;
  padding: 14px;
}
.ms-album-main {
  text-align: center;
  min-height: 200px;
}
.ms-album-main img {
  width: 90%;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.ms-album-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
}
.ms-thumb {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: border-color .15s;
}
.ms-thumb.active,
.ms-thumb:hover {
  border-color: #1e5bc6;
}
.ms-arrow {
  position: absolute;
  top: 46%;
  width: 38px;
  height: 38px;
  line-height: 36px;
  text-align: center;
  background: rgba(18,52,98,.7);
  color: #fff;
  font-size: 24px;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
}
.ms-arrow:hover { background: #1e5bc6; }
.ms-prev { left: 6px; }
.ms-next { right: 6px; }

/* 视频 */
.ms-video {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}
.ms-video video,
.ms-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

/* 荣誉 */
.ms-honor {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.ms-honor-item {
  width: 200px;
  border: 1px solid #e4eefb;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.ms-honor-item img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.ms-honor-item p {
  margin: 0;
  padding: 8px 10px;
  font-size: 13px;
  color: #444;
  text-align: center;
}

/* 联系入口 */
.ms-contact {
  background: #f7faff;
  border: 1px solid #e4eefb;
  border-radius: 8px;
  padding: 16px 18px;
  line-height: 2;
}
.ms-verify-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 16px;
  background: #1e5bc6;
  color: #fff !important;
  border-radius: 16px;
  font-size: 14px;
  text-decoration: none;
}
.ms-verify-btn:hover { background: #174a9e; }

/* Tab 切换（会员名录：会员单位/个人风采/会员服务/会员动态） */
.org-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 14px;
  border-bottom: 2px solid #1e5bc6;
  padding-bottom: 0;
}
.org-tabs li {
  list-style: none;
  padding: 9px 22px;
  cursor: pointer;
  font-size: 15px;
  color: #173a66;
  border-radius: 6px 6px 0 0;
  background: #eef4fb;
  position: relative;
  top: 2px;
  transition: all .15s;
}
.org-tabs li:hover { background: #dce8f8; }
.org-tabs li.active {
  background: #1e5bc6;
  color: #fff;
  font-weight: 600;
}
.org-tab-pane { display: none; }
.org-tab-pane.active { display: block; }

/* ---------- 会员个人风采 卡片 ---------- */
/* 20260926 修复：org_style.html 内联 .org-grid 是 flex，会压掉 grid 列定义导致卡片按内容宽（大小不一）。
   用双类选择器提高特异性强制真 grid，卡片等宽等高。 */
.org-grid.org-person-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.org-grid.org-person-grid .org-pcard {
  width: auto;
  min-width: 0;
  max-width: none;
}
.org-pcard {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid #e4eefb;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  transition: box-shadow .18s, transform .18s;
}
.org-pcard:hover {
  box-shadow: 0 6px 18px rgba(27,90,168,.16);
  transform: translateY(-2px);
}
.pc-avatar {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #eef4fb;
}
.pc-noimg {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#1e5bc6,#173a66);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.pc-name {
  font-size: 17px;
  font-weight: 700;
  color: #173a66;
  padding: 12px 14px 2px;
}
.pc-title {
  font-size: 13px;
  color: #1e5bc6;
  padding: 0 14px;
}
.pc-company {
  font-size: 13px;
  color: #666;
  padding: 2px 14px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pc-meta {
  padding: 0 14px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pc-preview {
  position: absolute;
  inset: 0;
  background: rgba(18, 52, 98, 0.95);
  color: #fff;
  padding: 18px 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease;
  z-index: 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
  box-sizing: border-box;
}
.org-pcard:hover .pc-preview {
  opacity: 1;
  visibility: visible;
}
.pc-preview .pcp-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.pc-preview .pcp-sub {
  font-size: 13px;
  color: #ffd97a;
  margin-bottom: 10px;
}
.pc-preview .pcp-tags {
  margin-bottom: 10px;
}
.pc-preview .pcp-row {
  font-size: 13px;
  line-height: 1.65;
  color: #d8e6f6;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pc-preview .pcp-more {
  margin-top: auto;
  color: #ffd97a;
  font-weight: 600;
  font-size: 14px;
}

/* ---------- 个人风采 详情 ---------- */
.ps-head {
  display: flex;
  gap: 24px;
  align-items: center;
  border-bottom: 2px solid #1e5bc6;
  padding-bottom: 18px;
  margin-bottom: 18px;
}
.ps-avatar {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 150px;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(27,90,168,.18);
  background: #eef4fb;
}
.ps-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ps-noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#1e5bc6,#173a66);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}
.ps-info h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.3;
  color: #173a66;
}
.ps-sub {
  font-size: 16px;
  color: #1e5bc6;
  margin-bottom: 10px;
}
.ps-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.ps-rel {
  font-size: 13px;
  color: #888;
}
.ps-rel a {
  color: #1e5bc6;
}

/* 移动端适配 */
@media (max-width: 768px) {
  /* 高优先级（.org-main 前缀）压过 org_style.html 内联的 .org-main h2(26px)，修复 H5 标题行高塌陷/字号过大 */
  .org-main .ms-head h2, .org-main .ps-head h2 { font-size: 21px; line-height: 1.3; overflow-wrap: anywhere; }
  .ms-logo { width: 62px; height: 62px; flex-basis: 62px; }
  .ms-head .ms-brand { gap: 12px; }
  .ms-honor-item { width: 46%; }
  .ms-arrow { width: 32px; height: 32px; line-height: 30px; font-size: 20px; }
  .org-tabs li { padding: 8px 14px; font-size: 14px; }
  .org-grid.org-person-grid { grid-template-columns: repeat(2, 1fr); }
  .pc-avatar, .pc-noimg { height: 150px; }
  .ps-head { flex-direction: column; text-align: center; gap: 14px; }
  .ps-avatar { flex: 0 0 120px; width: 120px; height: 120px; }
  .ps-info h2 { font-size: 23px; }
}

/* ===== 20260926 企业横幅广告位（名录卡片） ===== */
.mc-banner {
  position: relative;
  height: 138px;
  overflow: hidden;
  background: linear-gradient(135deg,#0f2c55,#123f7a);
  border-radius: 7px 7px 0 0;
}
.mc-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.org-mcard:hover .mc-banner img { transform: scale(1.04); }
.mc-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,30,60,0) 55%, rgba(9,30,60,.45) 100%);
  pointer-events: none;
}
.mc-banner-tag {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  font-size: 12px;
  color: #fff;
  background: rgba(20,90,180,.78);
  border: 1px solid rgba(255,255,255,.35);
  padding: 2px 10px;
  border-radius: 12px;
  letter-spacing: 2px;
  backdrop-filter: blur(2px);
}
.mc-logo-fb {
  width: 84px;
  height: 84px;
  object-fit: contain;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  border-radius: 10px;
  background: rgba(255,255,255,.94);
  padding: 8px;
}
.org-mcard .mc-name { margin-top: 12px; }

/* ===== 20260926 会员风采卡片 重做（深蓝科技风·人像大图） ===== */
.org-pcard {
  background: linear-gradient(165deg, #14315e 0%, #0d1f40 70%, #0a1830 100%);
  border: 1px solid rgba(110,155,215,.28);
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(8,25,55,.22);
}
.org-pcard:hover {
  box-shadow: 0 10px 26px rgba(20,70,150,.4);
  transform: translateY(-3px);
  border-color: rgba(140,185,240,.55);
}
.pc-photo {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #10233f;
}
.pc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .4s ease;
}
.org-pcard:hover .pc-photo img { transform: scale(1.05); }
.pc-photo .pc-halo {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,24,48,0) 62%, rgba(10,24,48,.72) 100%);
  pointer-events: none;
}
.pc-noimg {
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg,#1e5bc6,#12305c);
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 4px;
}
.pc-info { padding: 13px 15px 15px; position: relative; }
.pc-info::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  width: 34px;
  height: 3px;
  background: linear-gradient(90deg,#3f8ef7,#7fd0ff);
  border-radius: 2px;
}
.pc-line1 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.pc-name {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 2px;
  padding: 0;
}
.pc-title {
  font-size: 12.5px;
  color: #7fd0ff;
  padding: 0;
  letter-spacing: .5px;
}
.pc-company {
  font-size: 12.5px;
  color: #aebfd8;
  padding: 4px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pc-meta { padding: 9px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pc-meta .org-tag-ind {
  background: rgba(60,120,210,.16);
  color: #9cc8ff;
  border: 1px solid rgba(110,165,235,.35);
}
.org-pcard:hover .pc-preview,
.pc-preview { border-radius: 10px; }

@media (max-width: 768px) {
  .mc-banner { height: 108px; }
  .pc-photo, .pc-noimg { height: 210px; }
  .pc-name { font-size: 16px; }
}

/* ==== 20260926 flex初始渲染健壮性加固 ====
   部分新版Chrome初始渲染时，块级flex容器的auto宽度计算异常（容器塌缩为0宽并偏移到视口右缘），
   任何后续重排会自行恢复。统一为flex容器钉死 width:100% 规避。 ==== */
.ms-head .ms-brand,
.ms-tags,
.ms-honor,
.ps-head,
.ps-tags,
.ms-album,
.ms-album-thumbs,
.mc-banner,
.pc-info,
.pc-line1,
.pc-meta{ width:100%; box-sizing:border-box; }
/* 详情页标题还原：避免被通用 .org-main h2（黑字+蓝左边框）覆盖 */
.org-main .ms-head h2,.org-main .ps-head h2{ border-left:0; padding-left:0; color:#173a66; margin:0 0 10px; }
/* ms-bx/ps-info 占满剩余宽度（设计意图），并进一步规避flex收缩计算异常 */
.ms-head .ms-bx,.ps-head .ps-info{ flex:1 1 0; min-width:0; }


/* ===== 20260926 详情页优化：更多推荐 + 空态 ===== */
.org-main .ms-more{margin-top:26px;}
.org-main .ms-more-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;}
.org-main .ms-more-item{display:block;text-align:center;background:#fff;border:1px solid #eee;border-radius:8px;padding:12px 8px;text-decoration:none;transition:.2s;}
.org-main .ms-more-item:hover{border-color:#0056A8;box-shadow:0 4px 14px rgba(0,86,168,.12);}
.org-main .ms-more-img{height:56px;line-height:56px;overflow:hidden;margin-bottom:8px;}
.org-main .ms-more-img img{max-height:56px;max-width:100%;object-fit:contain;vertical-align:middle;}
.org-main .ms-more-img span{color:#0056A8;font-size:15px;font-weight:600;}
.org-main .ms-more-name{font-size:14px;color:#333;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.org-main .ms-more-tag{font-size:12px;color:#888;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.org-main .ms-empty{padding:40px 20px;text-align:center;color:#888;background:#fafafa;border:1px dashed #e0e0e0;border-radius:8px;font-size:14px;}
@media (max-width:991px){
  .org-main .ms-more-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
}


/* ===== 企业详情页 · 风采人物卡片（morefix20260927） ===== */
.ms-person-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-top:14px;}
.ms-person-card{display:flex;flex-direction:column;align-items:center;text-align:center;background:#fff;border:1px solid #e5e6eb;border-radius:10px;padding:16px 10px;text-decoration:none;transition:box-shadow .2s,transform .2s;}
.ms-person-card:hover{box-shadow:0 6px 18px rgba(22,119,255,.12);transform:translateY(-2px);}
.ms-person-card img{width:72px;height:72px;border-radius:50%;object-fit:cover;margin-bottom:10px;background:#f2f3f5;}
.ms-person-card strong{font-size:15px;color:#1d2129;margin-bottom:4px;}
.ms-person-card span{font-size:12px;color:#86909c;}
@media (max-width:768px){
  .ms-person-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
  .ms-person-card img{width:60px;height:60px;}
}
