/* ==========================================================================
   百云数知 - 公共样式 common.css
   包含各页面通用的基础重置与 flex 布局工具类
   （工具类含义：flex-col=纵向布局, flex-row=横向布局,
     justify-*=主轴对齐, align-*=交叉轴对齐）
   ========================================================================== */

html, body {
  margin: 0;
  padding: 0;
}

body * {
  box-sizing: border-box;
  flex-shrink: 0;
}

body {
  font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma, Arial, PingFang SC-Light, Microsoft YaHei;
}

input {
  background-color: transparent;
  border: 0;
}

button {
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  outline: none;
  background-color: transparent;
}

button:active {
  opacity: 0.6;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.justify-start {
  display: flex;
  justify-content: flex-start;
}

.justify-center {
  display: flex;
  justify-content: center;
}

.justify-end {
  display: flex;
  justify-content: flex-end;
}

.justify-evenly {
  display: flex;
  justify-content: space-evenly;
}

.justify-around {
  display: flex;
  justify-content: space-around;
}

.justify-between {
  display: flex;
  justify-content: space-between;
}

.align-start {
  display: flex;
  align-items: flex-start;
}

.align-center {
  display: flex;
  align-items: center;
}

.align-end {
  display: flex;
  align-items: flex-end;
}

/* ==========================================================================
   站点公共页脚（index / about 等页面共用同一板块，规则原自 index.css）
   ========================================================================== */
.box_36 { background-color: rgba(255, 255, 255, 1.0); width: 100%; height: auto; min-height: 220px; margin: -1px 0px 0px 0px; padding-bottom: 8px; }
.box_36 span { white-space: nowrap; }
/* 页脚内链接（网站首页/关于我们/服务协议）：统一深色，去下划线 */
.box_36 a { text-decoration: none; color: rgba(17, 17, 17, 1.0); transition: color .2s ease; }
/* 悬停：站点主紫高亮 */
.box_36 a:hover { color: rgba(86, 82, 255, 1.0); }
.section_28 { width: min(1160px, calc(100% - 48px)); height: auto; margin: 32px auto 0; align-items: flex-start; justify-content: space-between; gap: 28px; }
.box_47 { width: auto; height: auto; }
.section_29 { width: 225px; height: 30px; margin: 0px 0px 0px 1px; }
.image_19 { width: 109px; height: 30px; }
.block_20 { background-color: rgba(17, 17, 17, 1.0); width: 2px; height: 12px; margin: 9px 0 0 11px; }
.text_136 { width: 95px; height: 30px; overflow-wrap: break-word; color: rgba(17, 17, 17, 1.0); font-size: 16px; font-family: MiSans-Normal; font-weight: normal; text-align: left; line-height: 30px; margin: 0 0 0 8px; }
.image-text_61 { width: 200px; height: 19px; margin: 21px 0 0 3px; }
.thumbnail_12 { width: 19px; height: 19px; }
.text_130 { width: auto; height: auto; overflow-wrap: break-word; color: rgba(17, 17, 17, 1.0); font-size: 22px; font-family: MiSans-Semibold; font-weight: 600; text-align: left; line-height: 1.3; letter-spacing: 0.3px; }
.text-wrapper_24 { height: 30px; background: url('../assets/slices/home/text-wrapper_24.png') 100% no-repeat; background-size: 100% 100%; width: 106px; margin: 22px 0px 0px 0px; justify-content: center; align-items: center; text-decoration: none; }
.text_134 { width: auto; height: auto; overflow-wrap: break-word; color: rgba(255, 255, 255, 1); font-size: 16px; font-family: MiSans-Normal; font-weight: normal; text-align: center; line-height: normal; margin: 0; }
/* 在线咨询胶囊：悬停抬升 + 提亮（transform/filter 不触发回流） */
.text-wrapper_24 { cursor: pointer; transition: transform .2s ease, filter .2s ease; }
.text-wrapper_24:hover { transform: translateY(-2px); filter: brightness(1.1); }
.text-wrapper_28 { width: auto; height: auto; margin: 4px 0 0 0; }
.text_137 { width: auto; height: auto; overflow-wrap: break-word; color: rgba(17, 17, 17, 1.0); font-size: 14px; font-family: MiSans-Semibold, SourceHanSansCN-Normal, sans-serif; font-weight: 600; text-align: left; white-space: nowrap; line-height: 1.4; margin: 0; }
.paragraph_5 { width: auto; height: auto; overflow-wrap: break-word; color: rgba(80, 80, 80, 1); font-size: 13px; font-family: SourceHanSansCN-Normal; font-weight: normal; text-align: left; line-height: 1.8; margin: 10px 0 0 0; }
.text-wrapper_29 { width: auto; height: auto; margin: 4px 0 0 0; }
.text_138 { width: auto; height: auto; overflow-wrap: break-word; color: rgba(17, 17, 17, 1.0); font-size: 14px; font-family: MiSans-Semibold, SourceHanSansCN-Normal, sans-serif; font-weight: 600; text-align: left; white-space: nowrap; line-height: 1.4; margin: 0; }
.paragraph_2 { width: auto; max-width: 240px; height: auto; overflow-wrap: break-word; color: rgba(80, 80, 80, 1); font-size: 13px; font-family: SourceHanSansCN-Normal; font-weight: normal; text-align: left; line-height: 1.8; margin: 10px 0 0 0; }
.paragraph_3 { width: auto; max-width: 280px; height: auto; overflow-wrap: break-word; color: rgba(80, 80, 80, 1); font-size: 13px; font-family: SourceHanSansCN-Normal; font-weight: normal; text-align: left; line-height: 1.8; margin: 34px 0 0 0; }
.text-wrapper_30 { width: auto; height: auto; margin: 4px 0 0 0; }
.text_139 { width: auto; height: auto; overflow-wrap: break-word; color: rgba(17, 17, 17, 1.0); font-size: 14px; font-family: MiSans-Semibold, SourceHanSansCN-Normal, sans-serif; font-weight: 600; text-align: left; white-space: nowrap; line-height: 1.4; margin: 0; }
.paragraph_6 { width: auto; height: auto; overflow-wrap: break-word; color: rgba(17, 17, 17, 1.0); font-size: 13px; font-family: SourceHanSansCN-Normal; font-weight: normal; text-align: left; line-height: 1.9; margin: 10px 0 0 0; }
.box_48 { width: 200px; height: auto; margin: 0; }
.image-wrapper_15 { background-color: rgba(255, 255, 255, 1.0); border-radius: 10px; height: 200px; width: 200px; }
.image_17 { width: 100%; height: 100%; object-fit: contain; margin: 0; }
.text_131 { width: 200px; height: auto; overflow-wrap: break-word; color: rgba(17, 17, 17, 1.0); font-size: 13px; font-family: MiSans-Normal; font-weight: normal; text-align: center; line-height: 1.58928; margin: 8px 0 0 0; }
.box_49 { width: 82px; height: auto; margin: 0 0 0 8px; }
.image-wrapper_16 { background-color: rgba(255, 255, 255, 1.0); border-radius: 10px; height: 82px; width: 82px; }
.image_18 { width: 75px; height: 74px; margin: 4px 0 0 3px; }
.text_132 { width: 49px; height: 12px; overflow-wrap: break-word; color: rgba(17, 17, 17, 1.0); font-size: 13px; font-family: MiSans-Normal; font-weight: normal; text-align: left; line-height: 1.58928; margin: 8px 0 0 21px; }
.section_30 { background-color: rgba(151, 151, 151, 0.3); width: 100%; height: 1px; margin: 36px 0px 0px 0px; }
.text_135 { display: block; width: auto; max-width: 920px; height: auto; overflow-wrap: break-word; color: rgba(85, 85, 85, 1); font-size: 12px; font-family: MiSans-Normal; font-weight: normal; text-align: center; line-height: 1.6; margin: 16px auto 20px; }
/* 页脚导航可含「代理加盟」第三行 */
.box_36 .text-wrapper_30 { height: auto; min-height: 57px; }
.box_36 .paragraph_6 { height: auto; min-height: 33px; }

/* ==========================================================================
   头部「媒体资源」下拉（首页 / 关于我们 / 协议 / 资源页共用）
   占位：宽 64 + 左距 46；各页通过压缩「网站首页」左距与电话图标左距腾出空间
   ========================================================================== */
/* 头部「媒体资源」下拉 +「代理加盟」：各页「网站首页」左距压至 230、「电话图标」左距压至 40 */
.nav-media {
  position: relative;
  width: 64px;
  height: 30px;
  margin: 0 0 0 46px;
  z-index: 40;
}
.nav-media__trigger {
  display: block;
  width: 64px;
  height: 30px;
  overflow-wrap: break-word;
  color: rgba(17, 17, 17, 1);
  font-size: 16px;
  font-family: MiSans-Normal;
  font-weight: normal;
  text-align: left;
  line-height: 30px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.nav-media:hover .nav-media__trigger,
.nav-media.is-active .nav-media__trigger {
  color: rgba(99, 96, 253, 1);
  font-family: MiSans-Semibold;
  font-weight: 600;
}
.nav-media__menu {
  display: none;
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 128px;
  padding: 10px 0 8px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(86, 82, 255, 0.16);
}
.nav-media__menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.nav-media:hover .nav-media__menu,
.nav-media:focus-within .nav-media__menu {
  display: block;
}
.nav-media__menu a {
  display: block;
  padding: 8px 16px;
  color: rgba(17, 17, 17, 1);
  font-size: 14px;
  font-family: MiSans-Normal;
  font-weight: normal;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  line-height: 22px;
}
.nav-media__menu a:hover,
.nav-media__menu a.is-current {
  color: rgba(86, 82, 255, 1);
  background: rgba(86, 82, 255, 0.06);
}

/* 「代理加盟」导航项：与媒体资源并列，页内自管选中色 */
.nav-agent {
  width: 62px;
  height: 30px;
  margin: 0 0 0 46px;
  overflow-wrap: break-word;
  color: rgba(17, 17, 17, 1);
  font-size: 16px;
  font-family: MiSans-Normal;
  font-weight: normal;
  text-align: left;
  line-height: 30px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.nav-agent.is-active {
  color: rgba(99, 96, 253, 1);
  font-family: MiSans-Semibold;
  font-weight: 600;
}

/* 已登录：右上角用「用户中心」替换登录/注册，点击进用户中心 */
.nav-user {
  display: none;
  box-sizing: border-box;
  height: 26px;
  margin: 2px 0 0 25px;
  padding: 0 12px;
  border-radius: 13px;
  background: rgba(86, 82, 255, 0.1);
  color: rgba(86, 82, 255, 1);
  font-size: 14px;
  font-family: MiSans-Semibold, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 600;
  line-height: 26px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
}
.nav-user.is-on { display: inline-block; }
.nav-user:hover { background: rgba(86, 82, 255, 0.16); color: rgba(86, 82, 255, 1); }
.nav-auth-hide { display: none !important; }

/* 右侧百度客服入口放大（原图标约 44×98） */
#aff-im-root .embed-icon {
  transform: translateY(-50%) scale(1.45) !important;
  transform-origin: right center !important;
}
#aff-im-root .embed-hot-issue {
  width: 220px !important;
  right: 78px !important;
}
#aff-im-root .embed-hot-issue-item {
  width: auto !important;
  min-width: 160px;
}
#aff-im-root .embed-hot-issue-text {
  width: auto !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
}
#aff-im-root .embed-invite,
#aff-im-root .embed-invite-wrap {
  width: 480px !important;
  min-height: 240px !important;
}

/* ==========================================================================
   页脚导航：可跳转动态链接 + 与二维码上下对齐（2026-11-26）
   ========================================================================== */
/* 页脚导航无论祖先动效状态如何都必须可点击 */
.box_36 .footer-nav,
.box_36 .footer-nav__link {
  pointer-events: auto !important;
}
.box_36 .footer-nav__link {
  display: block;
  width: auto;
  color: rgba(17, 17, 17, 1.0);
  font-size: 13px;
  font-family: SourceHanSansCN-Normal, MiSans-Normal, sans-serif;
  line-height: 1.9;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s ease, transform .2s ease, text-decoration-color .2s ease;
}
.box_36 .footer-nav__link:first-child {
  font-size: 14px;
  font-family: MiSans-Semibold, SourceHanSansCN-Normal, sans-serif;
  font-weight: 600;
}
.box_36 .footer-nav__link:hover,
.box_36 .footer-nav__link:focus-visible {
  color: rgba(86, 82, 255, 1.0);
  transform: translateX(3px);
  text-decoration-color: rgba(86, 82, 255, 0.45);
}
.box_36 .footer-nav__link:focus-visible {
  outline: 2px solid rgba(86, 82, 255, 0.5);
  outline-offset: 3px;
}

/* 桌面：红框导航列与二维码列等高，图案顶边/底边双向对齐。
   255x195 原图按 200px 宽渲染应为 153px 高，消除 contain 的上下白边。 */
@media (min-width: 1200px) {
  .section_28 > .footer-nav { align-self: stretch; margin-top: 0; }
  .image-wrapper_15 { height: 153px; }
}
