html {
  background: #f2f3f5;
  color: #1f2933;
  letter-spacing: 0;
}

body {
  background: #f2f3f5;
  color: #1f2933;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.aBlack:hover,
.aLightGray:hover,
.cBlack:hover {
  color: #1e80ff !important;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #e5e6eb;
  box-shadow: 0 2px 12px rgba(31, 41, 51, .04);
  backdrop-filter: blur(10px);
}

.headerIn {
  height: 60px;
}

.headLogo img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.navList li a {
  font-size: 15px;
  color: #4e5969;
}

.navList li.curr a,
.navList li a:hover {
  color: #1e80ff;
}

.navList li.curr a:after {
  background: #1e80ff;
  border-radius: 3px;
}

.searchBox {
  border: 1px solid #e5e6eb;
  border-radius: 6px;
  background: #f7f8fa;
}

.searchBox input[type="text"] {
  color: #1d2129;
}

.searchBox input[type="text"]::placeholder {
  color: #a5adba;
}

.main {
  width: 1200px;
  max-width: calc(100% - 32px);
  margin-top: 16px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.mainLeft {
  flex: 1 1 auto;
  min-width: 0;
}

.mainRight {
  width: 300px;
  flex: 0 0 300px;
}

.leftBox1,
.leftContBox,
.cateListBg,
.rightContBox {
  background: #fff;
  border: 1px solid #e5e6eb;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(31, 41, 51, .03);
  overflow: hidden;
}

.leftBox1 + .leftBox1,
.leftContBox + .leftContBox,
.rightContBox + .rightContBox {
  margin-top: 16px;
}

.contTitMenu,
.rightTit,
.contTit {
  border-bottom: 1px solid #f0f1f5;
}

.contTitMenu.one {
  background: #fff !important;
  padding: 0 20px !important;
}

.contTitMenu.one > div {
  height: 50px !important;
  padding-left: 0 !important;
  line-height: 50px !important;
  color: #1d2129 !important;
  font-size: 17px !important;
  font-weight: 700 !important;
}

.contTitMenu ul li.curr a,
.contMenu ul li.curr a {
  color: #1e80ff;
  font-weight: 700;
}

.cateListBg {
  margin-bottom: 14px;
  padding: 14px 18px;
}

.cateListBox dt {
  color: #86909c;
  font-weight: 600;
}

.cateList li a,
.labsList a,
.listspan {
  border-radius: 4px;
}

.cateList li.curr a,
.cateList li a:hover,
.labsList a:hover {
  color: #1e80ff;
  background: #eef6ff;
}

.hotNewsList li,
.newArticleList li {
  border-bottom: 1px solid #f0f1f5;
}

.hotNewsList li:last-child,
.newArticleList li:last-child {
  border-bottom: 0;
}

.hotNewsList .contBox,
.newArticleList .contBox {
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.hotNewsList .img_box,
.newArticleList .img_box,
.lessonRecomRList .img_box {
  display: block;
  flex: 0 0 auto;
  background: #f2f3f5;
  border-radius: 6px;
  overflow: hidden;
}

.hotNewsList .img_box {
  width: 156px;
  aspect-ratio: 16 / 10;
}

.newArticleList .img_box {
  width: 112px;
  aspect-ratio: 16 / 10;
}

.hotNewsList img,
.newArticleList img,
.lessonRecomRList img,
.cateItem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotNewsList dl,
.newArticleList dl {
  min-width: 0;
  flex: 1 1 auto;
}

.hotNewsList dt,
.newArticleList dt {
  height: auto;
  margin-bottom: 8px;
}

.hotNewsList dt a,
.newArticleList dt a {
  color: #1d2129;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 700;
}

.hotNewsList .cont1,
.newArticleList .cont1 {
  color: #4e5969;
  font-size: 14px;
  line-height: 1.8;
}

.hotNewsList .cont2,
.newArticleList .cont2 {
  margin-top: 10px;
  color: #86909c;
  font-size: 13px;
  line-height: 1.7;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.hotNewsList .cont2 a,
.newArticleList .cont2 a,
.articleDetailBox .info,
.dxSeat p {
  color: #86909c;
}

.collectBtn,
.collecbtn {
  color: #86909c;
}

.collectBtn:hover,
.collecbtn:hover {
  color: #20af70;
}

.glZxMore {
  padding: 14px 20px 18px;
  text-align: center;
}

.glZxMore a,
.rightTit .more,
.contTit .more {
  color: #1e80ff;
}

.rightTit {
  padding: 14px 16px;
}

.rightTit .tit {
  position: relative;
  padding-left: 12px;
  color: #1d2129;
  font-size: 16px;
  font-weight: 700;
}

.rightTit .tit:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 16px;
  background: #20af70;
  border-radius: 3px;
  transform: translateY(-50%);
}

.lessonRecomRList li {
  padding: 14px 16px;
  border-bottom: 1px solid #f0f1f5;
}

.lessonRecomRList li:last-child {
  border-bottom: 0;
}

.lessonRecomRList dt a {
  color: #1d2129;
  font-weight: 600;
}

.lessonRecomRList .cont1 {
  color: #6b7280;
}

.lessonRecomRList .cont2,
.aboutArticleRList dd {
  color: #86909c;
}

.leftContBox.pdl20 {
  padding-left: 0;
}

.dxSeat {
  padding: 14px 24px 0;
}

.articleDetailBox {
  padding: 4px 24px 28px;
}

.articleDetailBox .tit h1,
.articleTit h1 {
  color: #1d2129;
  font-size: 30px;
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: 0;
}

.articleDetailBox .info {
  margin-top: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f1f5;
  line-height: 1.8;
}

.articleDetailBox .cont {
  color: #242933;
  font-size: 16px;
  line-height: 2;
}

.articleDetailBox .cont p {
  color: #242933;
}

.articleDetailBox .cont a {
  color: #1e80ff;
}

.articleDetailBox .cont pre {
  overflow-x: auto;
  margin: 18px 0;
  padding: 16px;
  color: #27364a;
  background: #f6f8fa;
  border: 1px solid #e5e6eb;
  border-radius: 6px;
}

.articleDetailBox .cont code {
  color: #0f766e;
  background: #eef8f5;
}

.articleDetailBox .cont table {
  display: block;
  overflow-x: auto;
  border-color: #e5e6eb;
}

.articleDetailBox .cont th {
  background: #f7f8fa;
}

.labsList {
  margin-top: 22px;
}

.labsList a {
  display: inline-block;
  margin: 0 8px 8px 0;
  padding: 5px 10px;
  color: #1e80ff;
  background: #eef6ff;
}

.claration,
.cateBox {
  border-color: #f0f1f5;
}

.aboutArticleRList li {
  border-bottom: 1px solid #f0f1f5;
}

.aboutArticleRList li:last-child {
  border-bottom: 0;
}

@media (max-width: 960px) {
  .main {
    max-width: calc(100% - 20px);
    display: block;
  }

  .mainRight {
    width: auto;
    margin-top: 16px;
  }
}

/* Juejin-like community layout */
body {
  min-width: 0;
  background: #f2f3f5 !important;
}

.header {
  height: 58px !important;
  line-height: 58px !important;
  border-bottom: 1px solid #e5e6eb !important;
  box-shadow: none !important;
}

.headerIn {
  width: 1180px !important;
  max-width: calc(100% - 32px);
  height: 58px !important;
}

.header .headLogo {
  height: 38px !important;
  margin: 10px 36px 0 0 !important;
}

.header .headLogo img {
  height: 38px !important;
  max-width: 150px;
  object-fit: contain;
}

.header .navList li {
  height: 58px !important;
  margin-right: 26px !important;
  font-size: 15px !important;
  font-weight: 400 !important;
}

.header .navList li.curr,
.header .navList li.curr a {
  color: #1e80ff !important;
  font-weight: 500 !important;
}

.header .navList li.curr:after {
  display: none !important;
}

.header .rightBox {
  height: 58px !important;
}

.header .searchBox {
  width: 220px !important;
  height: 34px !important;
  border-radius: 4px !important;
  background: #f7f8fa !important;
}

.header .searchBox input[type='text'] {
  height: 34px !important;
  line-height: 34px !important;
  border-radius: 4px !important;
}

.header .searchBox input[type='submit'] {
  margin-top: -29px !important;
}

.main {
  width: 1180px !important;
  max-width: calc(100% - 32px) !important;
  margin: 14px auto 0 !important;
  padding-bottom: 32px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 820px) 300px !important;
  gap: 16px !important;
}

.mainLeft,
.mainRight {
  width: auto !important;
  float: none !important;
  margin-top: 0 !important;
}

.mainRight {
  position: sticky;
  top: 74px;
  z-index: 30;
  align-self: start;
}

.juejinFeedTabs {
  height: 48px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border: 1px solid #e5e6eb;
  border-radius: 2px;
  box-sizing: border-box;
}

.juejinFeedTabs a {
  position: relative;
  height: 48px;
  line-height: 48px;
  color: #71777c;
  font-size: 14px;
}

.juejinFeedTabs a.active,
.juejinFeedTabs a:hover {
  color: #1e80ff;
}

.juejinFeedTabs a.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #1e80ff;
}

.cateListBg,
.leftBox1,
.leftContBox,
.rightContBox {
  border: 0 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
}

.cateListBg {
  margin: 0 0 10px !important;
  padding: 0 16px !important;
}

.cateListBox {
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  overflow-x: auto !important;
  white-space: nowrap !important;
}

.cateListBox dt {
  width: auto !important;
  flex: 0 0 auto;
  margin: 0 16px 0 0 !important;
  color: #8a919f !important;
  font-size: 14px !important;
  line-height: 48px !important;
}

.cateListBox .cateList {
  width: auto !important;
  margin-left: 0 !important;
  display: flex !important;
  gap: 20px;
}

.cateListBox .cateList li {
  height: 48px !important;
  line-height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.cateListBox .cateList li a,
.cateListBox .cateList li.curr a {
  padding: 0 !important;
  height: 48px !important;
  color: #71777c !important;
  background: transparent !important;
  border-radius: 0 !important;
  font-weight: 400 !important;
}

.cateListBox .cateList li.curr a,
.cateListBox .cateList li a:hover {
  color: #1e80ff !important;
}

.leftBox1 {
  margin-top: 10px !important;
  background: #fff !important;
}

.contTitMenu {
  height: 48px !important;
  margin-top: 0 !important;
  padding: 0 20px !important;
  border-bottom: 1px solid #e5e6eb !important;
}

.contTitMenu ul {
  display: flex;
  gap: 24px;
}

.contTitMenu li {
  margin-right: 0 !important;
  line-height: 48px !important;
  font-size: 14px !important;
}

.contTitMenu li .lineOverflow {
  height: 48px !important;
  padding-bottom: 0 !important;
  line-height: 48px !important;
  font-weight: 400 !important;
}

.contTitMenu li.curr .lineOverflow:after {
  width: 100% !important;
  height: 2px !important;
  background: #1e80ff !important;
}

.hotNewsList {
  margin-top: 0 !important;
}

.hotNewsList li,
.newArticleList li {
  padding: 0 !important;
  background: #fff;
}

.hotNewsList li:hover,
.newArticleList li:hover {
  background: #fafafa !important;
}

.hotNewsList li .contBox,
.newArticleList li .contBox {
  min-height: 112px;
  padding: 18px 20px !important;
  border-bottom: 1px solid #e5e6eb !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 120px !important;
  gap: 18px !important;
}

.hotNewsList li .contBox > .img_box,
.newArticleList li .contBox > .img_box {
  grid-column: 2;
  grid-row: 1;
  width: 120px !important;
  height: 80px !important;
  margin: 2px 0 0 !important;
  float: none !important;
  border-radius: 4px !important;
}

.hotNewsList li .contBox > dl,
.newArticleList li .contBox > dl {
  grid-column: 1;
  grid-row: 1;
}

.hotNewsList dt,
.newArticleList dt {
  height: auto !important;
  margin: 0 0 8px !important;
  line-height: 1.45 !important;
}

.hotNewsList dt a,
.newArticleList dt a {
  color: #252933 !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
}

.hotNewsList dd.cont1,
.newArticleList dd.cont1 {
  height: auto !important;
  min-height: 0 !important;
  margin-top: 0 !important;
  color: #8a919f !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
  -webkit-line-clamp: 2;
}

.hotNewsList dd.cont2,
.newArticleList dd.cont2 {
  height: auto !important;
  margin-top: 10px !important;
  color: #8a919f !important;
  font-size: 13px !important;
  line-height: 20px !important;
}

.hotNewsList dd.cont2 span,
.newArticleList dd.cont2 span {
  margin-left: 12px !important;
}

.hotNewsList dd.cont2 span:first-child,
.newArticleList dd.cont2 span:first-child {
  margin-left: 0 !important;
}

.glZxMore {
  padding: 14px 20px !important;
}

.glZxMore a {
  width: 100% !important;
  height: 40px !important;
  margin: 0 !important;
  line-height: 40px !important;
  color: #1e80ff !important;
  background: #f7f8fa !important;
  border: 0 !important;
}

.rightContBox {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  background: #fff !important;
}

.rightTit {
  height: 46px !important;
  padding: 0 16px !important;
  line-height: 46px !important;
}

.rightTit .tit {
  padding-left: 0 !important;
  color: #252933 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

.rightTit .tit:before {
  display: none !important;
}

.rightTit .more {
  color: #8a919f !important;
  font-size: 13px !important;
}

.lessonRecomRList {
  padding: 0 !important;
}

.lessonRecomRList li {
  padding: 14px 16px !important;
  border-top: 0 !important;
  border-bottom: 1px solid #e5e6eb !important;
}

.lessonRecomRList .img_box {
  width: 64px !important;
  height: 64px !important;
  margin-right: 12px !important;
  border-radius: 4px !important;
}

.lessonRecomRList dt {
  height: auto !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.lessonRecomRList dd.cont1 {
  height: auto !important;
  margin-top: 5px !important;
  color: #8a919f !important;
}

.hotNewsBanner {
  display: none !important;
}

.leftContBox.pdl20,
.articleDetailBox {
  background: #fff !important;
}

.dxSeat {
  display: flex !important;
  align-items: center;
  min-height: 44px;
  padding: 0 36px !important;
  color: #8a919f;
  font-size: 13px;
  line-height: 1.6;
  background: #fff;
  border-bottom: 1px solid #e5e6eb;
  box-sizing: border-box;
}

.dxSeat b {
  display: none !important;
}

.dxSeat p {
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  color: #8a919f !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dxSeat a,
.dxSeat span {
  color: #8a919f !important;
  font-size: 13px !important;
}

.dxSeat a:hover {
  color: #1e80ff !important;
}

.dxSeat_ {
  display: none !important;
}

.leftContBox {
  margin-top: 0 !important;
  padding: 0 !important;
}

.articleDetailBox {
  margin-top: 0 !important;
  padding: 32px 36px 36px !important;
}

.articleDetailBox .tit h1 {
  color: #252933 !important;
  font-size: 32px !important;
  line-height: 1.42 !important;
  font-weight: 700 !important;
}

.articleDetailBox .tit .info {
  margin-top: 14px !important;
  padding-bottom: 20px !important;
  color: #8a919f !important;
  border-bottom: 1px solid #e5e6eb !important;
}

.articleDetailBox .cont {
  max-width: 100% !important;
  padding-top: 18px !important;
  color: #252933 !important;
  font-size: 16px !important;
  line-height: 1.9 !important;
}

.articleDetailBox .cont p {
  margin: 18px 0 !important;
  color: #252933 !important;
  font-size: 16px !important;
  line-height: 1.9 !important;
}

.articleDetailBox .cont h2 {
  margin: 36px 0 18px !important;
  padding: 0 0 0 14px !important;
  color: #252933 !important;
  font-size: 24px !important;
  line-height: 1.45 !important;
  background: transparent !important;
  border-left: 4px solid #1e80ff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.articleDetailBox .cont h3 {
  margin: 28px 0 14px !important;
  padding: 0 0 8px !important;
  color: #252933 !important;
  font-size: 19px !important;
  border-bottom: 1px solid #e5e6eb !important;
}

.articleDetailBox .cont h3:before {
  display: none !important;
}

.articleDetailBox .cont blockquote {
  background: #f7f8fa !important;
  border-left-color: #1e80ff !important;
  border-radius: 2px !important;
}

.articleDetailBox .cont pre {
  background: #f7f8fa !important;
  border: 1px solid #e5e6eb !important;
  border-radius: 4px !important;
}

.juejinTocBox {
  position: sticky;
  top: 74px;
  z-index: 45;
}

.juejinTocList {
  max-height: 55vh;
  padding: 8px 0;
  overflow-y: auto;
}

.juejinTocList a {
  display: block;
  padding: 8px 18px;
  color: #71777c;
  font-size: 14px;
  line-height: 1.45;
  border-left: 3px solid transparent;
}

.juejinTocList a.level3 {
  padding-left: 30px;
  font-size: 13px;
}

.juejinTocList a:hover {
  color: #1e80ff;
  background: #f7f8fa;
  border-left-color: #1e80ff;
}

.footer {
  margin-top: 18px;
  background: #fff !important;
  border-top: 1px solid #e5e6eb;
}

.popupBg {
  z-index: 1000 !important;
}

.loginBoxBox {
  z-index: 1001;
}

@media (max-width: 960px) {
  .main {
    display: block !important;
    max-width: calc(100% - 20px) !important;
  }

  .mainRight {
    position: static !important;
    margin-top: 12px !important;
  }
}
