/* 仅补模板迁移差异，不改动原站字号/颜色/间距 */

/* 侧栏标题改为可点击后保持块级 */
.kr-channel-nav .channel-item .sub-title > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.kr-channel-nav .channel-item .child a {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* logo 不受全局 img{height:100%} 影响 */
.top-header .n-header .content .logo {
  height: auto;
  line-height: 0;
}
.top-header .n-header .content .logo img {
  width: 126px;
  height: auto;
  display: block;
}

/* 顶部登录头像：对齐 PC 原效果（灰底条内居中 50x50 圆头像，完整显示） */
.top-header .n-header .content .logined {
  float: right;
  width: 120px;
  height: 100%;
  text-align: center;
  background: #f7f7f7;
  margin-left: 20px;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-header .n-header .content .logined img,
.top-header .n-header .content .logined img.js-pc-avatar {
  width: 50px !important;
  height: 50px !important;
  max-width: 50px !important;
  max-height: 50px !important;
  margin: 0 auto !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block;
  flex: none;
}

/* 文章封面裁切 */
.head-img img {
  object-fit: cover;
}

/* 推荐/专题/视频列表头像统一 32x32，避免非正方形图被拉变形 */
.new-article .art-list > li .content .author .author-img {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
}
.new-article .art-list > li .content .author .author-img img {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* 24小时热点：大图标题可换行（最多两行） */
.hot .hot-list li p.twoline {
  white-space: normal;
  right: 20px;
  line-height: 20px;
  max-height: 40px;
}

/* 小图列表标题最多两行省略 */
.little-hot.little-new li .content p.twoline {
  padding-right: 0;
  line-height: 20px;
  max-height: 40px;
  margin-bottom: 22px;
}
