/* 第51站独立适配层：继承已验证的品牌容器与长标题换行兼容，不修改冻结蓝鲸母版资源。 */
@media (min-width: 981px) {
  .header .logo { overflow: visible; }
  .header .logo h1,
  .header .logo .brand-title { width: max-content; }
}

.d1 li, .c1 li, .r1 li, .d5 li {
  box-sizing: border-box;
  height: auto;
  min-height: 27px;
  overflow: visible;
  line-height: 1.55;
}

.d1 li a, .c1 li a, .r1 li a, .d5 li a,
.article-relations a, .article-internal-links a {
  display: block;
  min-width: 0;
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.d1 li a, .c1 li a, .r1 li a {
  padding-top: 4px;
  padding-bottom: 4px;
}

.d5 li {
  min-height: 48px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.viewbox .title {
  box-sizing: border-box;
  height: auto;
  min-height: 66px;
  overflow: visible;
  line-height: normal;
}

.viewbox .title h1, .section-title {
  overflow: visible;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}


/* 第83站首页与移动端最小适配：保持母版视觉，修正九模块浮动与长标题横溢。 */
html, body { max-width: 100%; overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }
.home-lead { box-sizing: border-box; padding: 6px 0; line-height: 1.75; }
.content-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.content-row .indexr { float: none; width: auto; margin: 0; }
.viewbox, .viewbox .title, .viewbox .title h1 { max-width: 100%; }
@media (max-width: 720px) {
  .header, .w960, main, .pleft, .pright, .viewbox, .viewbox .title, .viewbox .content { max-width: 100%; min-width: 0; }
  .header .nav-grid { width: 100%; max-width: 100%; min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; }
  .header .nav-col a { min-width: 0 !important; max-width: 100%; }
  .content-row { display: block; }
  .content-row .indexr { width: 100%; margin-top: 8px; }
  .viewbox, .viewbox .title, .viewbox .title h1 { width: 100% !important; }
  .viewbox .title h1 { font-size: 22px; line-height: 1.45; word-break: break-all; white-space: normal !important; }
}
