/* TechGG portal articles: readable editorial layout, independent from legacy portal CSS. */
body.techgg.pg_view #ct.ct2 { align-items: start; gap: 30px; }
body.techgg.pg_view #ct .mn { min-width: 0; }
body.techgg.pg_view .middle_info,
body.techgg.pg_view .bm.vw { border: 0 !important; box-shadow: none !important; }
body.techgg.pg_view .h.hm { padding: 34px 38px 22px !important; border: 0 !important; background: transparent !important; }
body.techgg.pg_view .h.hm h1,
body.techgg.pg_view h1.ph { margin: 0 !important; color: #17212b !important; font-size: 32px !important; font-weight: 700 !important; line-height: 1.35 !important; letter-spacing: 0 !important; }
body.techgg.pg_view .avatar_info,
body.techgg.pg_view .h.hm .xg1,
body.techgg.pg_view .h.hm p { color: #718096 !important; font-size: 14px !important; line-height: 1.6 !important; }
body.techgg.pg_view #article_content,
body.techgg.pg_view #wz_infos,
body.techgg.pg_view .article-content { padding: 4px 38px 36px !important; color: #293542 !important; font-size: 17px !important; line-height: 1.95 !important; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif !important; }
body.techgg.pg_view #article_content p,
body.techgg.pg_view #wz_infos p,
body.techgg.pg_view .article-content p { margin: 0 0 1.35em !important; }
body.techgg.pg_view #article_content h2,
body.techgg.pg_view #wz_infos h2,
body.techgg.pg_view .article-content h2 { margin: 1.9em 0 .7em !important; color: #17212b !important; font-size: 23px !important; line-height: 1.45 !important; }
body.techgg.pg_view #article_content img,
body.techgg.pg_view #wz_infos img,
body.techgg.pg_view .article-content img { display: block !important; width: auto !important; max-width: 100% !important; height: auto !important; margin: 1.5em auto !important; border: 0 !important; border-radius: 4px !important; }
body.techgg.pg_view #article_content #gtx-trans,
body.techgg.pg_view #wz_infos #gtx-trans { display: none !important; }
body.techgg.pg_view #click_div { display: none !important; }
body.techgg.pg_view .tg-article-sidebar { width: 300px; flex: 0 0 300px; }
body.techgg.pg_view .tg-article-sidebar:empty { display: none; }
body.techgg.pg_view #ct.ct2.inside_box > .tg-article-sidebar { display:flex !important; visibility:visible !important; opacity:1 !important; }
body.techgg.pg_view .tg-ad-slot{display:grid;min-height:150px;place-items:center;border:1px dashed #dce7e3;border-radius:4px;background:#f8fbfa;color:#a5b4ad;font-size:12px;letter-spacing:1px}body.techgg.pg_view .tg-sidebar-generic .tg-side-card:nth-of-type(-n+3){display:none}body.techgg.pg_view .tg-sidebar-generic .tg-side-card:nth-of-type(n+5){display:none}body.techgg.pg_view .tg-sidebar-generic .tg-rank-list li:nth-child(n+4){display:none}body.techgg.pg_view .tg-sidebar-column{display:flex!important;flex-direction:column;gap:18px;width:300px!important;margin:0!important}.tg-sidebar-column .box-moder{display:none}.tg-sidebar-column .tg-ad-slot{order:5;margin:0!important}
@media (max-width: 900px) {
  body.techgg.pg_view #ct.ct2 { display: block; }
  body.techgg.pg_view .tg-article-sidebar { width: auto; margin-top: 22px; }
  body.techgg.pg_view .h.hm { padding: 25px 22px 14px !important; }
  body.techgg.pg_view .h.hm h1, body.techgg.pg_view h1.ph { font-size: 25px !important; }
  body.techgg.pg_view #article_content, body.techgg.pg_view #wz_infos, body.techgg.pg_view .article-content { padding: 4px 22px 28px !important; font-size: 16px !important; }
}
body.techgg.pg_view .h.hm h1,body.techgg.pg_view h1.ph{font-size:27px!important}body.techgg.pg_view .pren{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:26px 38px 0!important;padding:0!important;border:0!important}body.techgg.pg_view .pren em{display:block;min-width:0;padding:13px 15px;border:1px solid #e0e9e5;border-radius:4px;background:#f8fbf9;color:#7b8b84;font-size:12px;font-style:normal}body.techgg.pg_view .pren a{display:block;overflow:hidden;margin-top:5px;color:#273932;font-size:14px;line-height:1.5;text-overflow:ellipsis;white-space:nowrap}body.techgg.pg_view #comment,body.techgg.pg_view .reply_box{margin-top:28px!important;padding-top:0!important;border-top:0!important}body.techgg.pg_view #comment .cmt_title,body.techgg.pg_view .reply_box .cmt_title{margin:0 0 16px!important;padding:0 0 12px!important;border-bottom:1px solid #e1e9e5!important}body.techgg.pg_view #comment_ul,body.techgg.pg_view .reply_box .comment_box{margin-top:16px!important}@media(max-width:900px){body.techgg.pg_view .h.hm h1,body.techgg.pg_view h1.ph{font-size:23px!important}body.techgg.pg_view .pren{margin:22px!important;grid-template-columns:1fr}}

/* Normalize the legacy Metro, KX and column DOMs into the same reading surface. */
body.techgg.pg_view #ct.ct2.inside_box > .mn,
body.techgg.pg_view #ct.ct2.inside_box .Framebox,
body.techgg.pg_view #ct.ct2.inside_box .middle_info {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.techgg.pg_view #ct.ct2.inside_box .Framebox { background: #fff !important; box-shadow: 0 12px 36px rgba(24, 33, 47, .07) !important; }
body.techgg.pg_view #ct.ct2.inside_box .h.hm { padding: 34px 42px 19px !important; border-bottom: 1px solid #edf1ef !important; }
body.techgg.pg_view #ct.ct2.inside_box .h.hm .avatar_info,
body.techgg.pg_view #ct.ct2.inside_box .tg-article-meta { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 14px !important; margin-top: 16px !important; }
body.techgg.pg_view #ct.ct2.inside_box .avatar_info > div,
body.techgg.pg_view #ct.ct2.inside_box .tg-meta-author,
body.techgg.pg_view #ct.ct2.inside_box .tg-meta-stats { float: none !important; width: auto !important; margin: 0 !important; }
body.techgg.pg_view #ct.ct2.inside_box .content_middle,
body.techgg.pg_view #ct.ct2.inside_box .vwtb-container,
body.techgg.pg_view #ct.ct2.inside_box .d { margin: 0 !important; padding: 0 !important; background: transparent !important; }
body.techgg.pg_view #ct.ct2.inside_box .vwtb { width: 100% !important; border: 0 !important; }
body.techgg.pg_view #ct.ct2.inside_box .vwtb td { padding: 0 !important; }
body.techgg.pg_view #ct.ct2.inside_box #article_content,
body.techgg.pg_view #ct.ct2.inside_box #wz_infos { max-width: 820px; margin: 0 auto; padding: 34px 42px 46px !important; }
body.techgg.pg_view #ct.ct2.inside_box .line1,
body.techgg.pg_view #ct.ct2.inside_box .hover1 { display: none !important; }
body.techgg.pg_view #ct.ct2.inside_box .o.ptm.pbm { display: none !important; }
body.techgg.pg_view #ct.ct2.inside_box #comment { margin: 28px 0 0 !important; padding: 26px 42px 34px !important; background: #fff; box-shadow: 0 12px 36px rgba(24, 33, 47, .06); }
@media (max-width: 900px) {
  body.techgg.pg_view #ct.ct2.inside_box .h.hm { padding: 25px 22px 15px !important; }
  body.techgg.pg_view #ct.ct2.inside_box #article_content,
  body.techgg.pg_view #ct.ct2.inside_box #wz_infos { padding: 25px 22px 32px !important; }
  body.techgg.pg_view #ct.ct2.inside_box #comment { padding: 22px !important; }
}
