/* =========================================================================
   mp.ivf-8.com 轻量版式增强（2026-12）
   原则：只调整字号、行距、留白、圆角、对比度；不改栅格、不改结构、
        不动主题配色体系、不动轮播与四图卡片。
   ========================================================================= */

/* ---------------------------------------------------------------- 全局字感 */
body{
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
a{transition:color .18s ease;}

/* ---------------------------------------------------------------- 列表卡片 */
/* 标题：字重与字距微调，保持原字号 */
.item-title{
  font-weight:600;
  letter-spacing:.2px;
  line-height:1.55;
}
.item-title a{color:#1F2B36;}
.item-title a:hover{color:#0088cc;}

/* 摘要：行距略放松、颜色略收敛，读起来不糊 */
.item-excerpt p{
  color:#5B6A78;
  line-height:1.95;
  margin-bottom:0;
}

/* 元信息：日期/点赞等弱化但可读 */
.item-meta,
.item-meta-li{font-size:12.5px;color:#95A3B1;}
.item-meta a{color:#95A3B1;}
.item-meta a:hover{color:#0088cc;}

/* 四图缩略：只加圆角，尺寸交回主题控制（避免裁掉图表信息） */
.item-images span{overflow:hidden;border-radius:4px;background:#F2F5F8;}
.item-images img{border-radius:0;}

/* 列表分隔线更轻，减少割裂感 */
.article-list .item{border-color:#F0F3F6;}

/* 空缩略图占位不再是大白块 */
.item-img{background:#F4F7FA;border-radius:4px;overflow:hidden;}

/* ---------------------------------------------------------------- 栏目 tabs */
.tabs .tab a{padding-bottom:10px;}
.tabs .tab.active a{font-weight:600;}

/* ---------------------------------------------------------------- 文章页正文 */
/* 阅读区：字号、行距、段间距，只影响排版不改变宽度 */
.entry-content{
  font-size:17px;
  line-height:1.95;
  color:#26343F;
  letter-spacing:.2px;
  word-break:break-word;
}
.entry-content p{
  margin:0 0 1.1em;
  line-height:1.95;
}
/* 微信正文会带内联 font-size（多为 15px），统一放大到 17px */
.entry-content p span[style*="font-size"],
.entry-content section span[style*="font-size"]{
  font-size:17px !important;
  line-height:1.95 !important;
}
.entry-content h2 span[style*="font-size"],
.entry-content h3 span[style*="font-size"],
.entry-content strong span[style*="font-size"]{
  font-size:inherit !important;
}
.entry-content h2,
.entry-content h3{
  margin-top:1.7em;
  margin-bottom:.7em;
  line-height:1.5;
  font-weight:600;
}

/* 正文图片：居中、圆角、留白，去掉充色块 */
.entry-content img{
  max-width:100%;
  height:auto;
  display:block;
  margin:24px auto;
  border-radius:6px;
  background:transparent;
}
.entry-content p > img:only-child{margin:26px auto;}

/* 引用与提示块 */
.entry-content blockquote{
  margin:22px 0;
  padding:14px 18px;
  border-left:3px solid #CFE0EE;
  background:#F7FAFD;
  border-radius:0 6px 6px 0;
  color:#40525F;
}
.entry-content blockquote p:last-child{margin-bottom:0;}

/* 表格：轻边框 + 表头浅底，手机上可横向滚动 */
.entry-content table{
  width:100%;
  border-collapse:collapse;
  margin:22px 0;
  font-size:15px;
  line-height:1.7;
  display:block;
  overflow-x:auto;
}
.entry-content th,
.entry-content td{
  border:1px solid #E6EDF3;
  padding:9px 12px;
  text-align:left;
  vertical-align:top;
}
.entry-content th{background:#F4F8FB;font-weight:600;color:#22323F;}

/* 列表与分割线 */
.entry-content ul,
.entry-content ol{padding-left:1.4em;margin:0 0 1.1em;}
.entry-content li{margin-bottom:.45em;line-height:1.9;}
.entry-content hr{border:0;border-top:1px solid #EDF1F5;margin:30px 0;}

/* 文章标题与信息条 */
.entry-title{
  font-size:31px;
  line-height:1.4;
  font-weight:700;
  letter-spacing:-.2px;
  color:#1B2832;
}
@media (max-width:767px){
  .entry-title{font-size:23px;line-height:1.45;}
  .entry-content{font-size:16.5px;}
  .entry-content p span[style*="font-size"],
  .entry-content section span[style*="font-size"]{font-size:16.5px !important;}
  .entry-content img{margin:18px auto;border-radius:5px;}
}

/* 文末标签：去掉花哨描边，做成轻胶囊 */
.entry-tag a{
  display:inline-block;
  margin:0 6px 6px 0;
  padding:3px 10px;
  border-radius:999px;
  background:#F4F7FA;
  color:#5B6A78 !important;
  font-size:12.5px;
  transition:background .18s ease,color .18s ease;
}
.entry-tag a:hover{background:#E8F1F8;color:#0088cc !important;text-decoration:none;}

/* ---------------------------------------------------------------- 页脚可读性 */
/* 只提对比度与行距，不改版式 */
.footer,
.footer p,
.footer .footer-info{color:#B6C3D0;}
.footer a{color:#C6D3E0;}
.footer a:hover{color:#fff;text-decoration:none;}
.footer .footer-nav a{font-size:14px;}
.footer .copyright,
.footer .footer-desc{color:#93A2B1;line-height:1.85;}
.footer .footer-desc{max-width:1000px;}

/* ---------------------------------------------------------------- 侧栏微调 */
.widget-title,
.sec-panel-head h3{letter-spacing:.2px;}
.tagcloud a{transition:transform .18s ease,opacity .18s ease;}
.tagcloud a:hover{opacity:.86;}

/* 上下篇卡片：没有缩略图时不再显示转圈占位 */
.entry-page-prev.j-lazy,
.entry-page-next.j-lazy{
  background-image:none !important;
  background-color:#F4F7FA !important;
  color:#26343F;
}

/* 隐藏压在正文左侧的上一篇/下一篇大箭头（文末仍有完整上下篇卡片） */
.meta-nav-l,
.meta-nav-r{display:none !important;}

/* 微信正文里的空段落（<p><br></p>）会撑出双倍间距，折叠掉 */
.entry-content p:has(> span > br:only-child){display:none;}
.entry-content p:has(> br:only-child){display:none;}

/* 正文里的 #话题# 胶囊 */
.entry-content .entry-hashtag{display:inline-block;padding:0 7px;margin:0 2px;border-radius:3px;background:#eef5ff;color:#2b6cb0;font-size:.82em;line-height:1.7;text-decoration:none;vertical-align:baseline;}
.entry-content .entry-hashtag:hover{background:#dbe9fd;text-decoration:none;}
.entry-content .entry-hashtag span{color:inherit!important;font-size:inherit!important;font-weight:400!important;text-decoration:none!important;}

/* 侧栏浮动：主题贴底固定时，侧栏比屏幕高会把上半截（客服微信）切出屏幕。
   单页精简同质内容后整体贴顶，一屏放得下，滚动时整栏跟随。 */
@media (min-width:992px){
  .single .sidebar .widget_tag_cloud{display:none;}
  .single .sidebar .widget_lastest_news ul li:nth-child(n+13){display:none;}
  .sidebar.fixed{top:76px!important;bottom:auto!important;max-height:calc(100vh - 96px);overflow-y:auto;overflow-x:hidden;}
  .sidebar.abs{top:auto!important;bottom:0!important;max-height:none;}
  .sidebar::-webkit-scrollbar{width:4px;}
  .sidebar::-webkit-scrollbar-thumb{background:#dfe6ee;border-radius:2px;}
}

/* 声明块 */
.entry-content .entry-copyright{border:1px solid #eef1f5;background:#fafbfc;border-radius:6px;padding:12px 16px;margin:26px 0 0;}
.entry-content .entry-copyright p{margin:0 0 6px;font-size:13px!important;line-height:1.85!important;color:#8b95a3!important;}
.entry-content .entry-copyright p:last-child{margin-bottom:0;}
/* END 小图标 */
.entry-content > div[style*="text-align:center"] img[src*="end_icon"]{display:block;width:46px;height:auto;margin:26px auto 0;opacity:.5;}
/* 标签行 */
.entry-footer{margin-top:8px;padding-top:18px;border-top:1px solid #f2f4f7;}
.entry-tag{padding:0 0 4px;}
.entry-tag a{font-size:12px;padding:2px 9px;margin:0 6px 8px 0;border-radius:3px;background:#f3f6fa;color:#5b6b7f;border:1px solid #e8eef5;}
.entry-tag a:hover{background:#e9f1fb;color:#2b6cb0;}
/* 分享条 */
.entry-bar{margin:10px 0 4px;border:0;background:transparent;}
.entry-bar-inner{border:0;background:transparent;}
.entry-bar .info-item .meta-item{color:#9aa5b1;font-size:13px;}
.entry-bar .info-item .meta-item i{font-size:15px;}
/* 上一篇 / 下一篇 —— 统一为一行式浅色卡片：标题一行、下方「标签 + 日期」 */
.entry-page{margin:26px 0 0;overflow:visible!important;}
.entry-page-prev,.entry-page-next{
  display:block!important;position:relative!important;float:none!important;
  width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;
  margin:0 0 10px!important;padding:0!important;
  background:#f8fafc!important;border:1px solid #eef1f5!important;border-radius:8px;
  overflow:hidden!important;color:#2f3a45!important;box-shadow:none!important;
}
.entry-page-prev:last-child,.entry-page-next:last-child{margin-bottom:0!important;}
.entry-page-prev::before,.entry-page-next::before{content:none!important;background:none!important;display:none!important;}
.entry-page-prev a,.entry-page-next a{
  position:static!important;display:block!important;width:auto!important;height:auto!important;
  padding:12px 16px 0!important;margin:0!important;color:#2f3a45!important;
  font-size:14px!important;line-height:1.6!important;
}
.entry-page-prev a span,.entry-page-next a span{
  display:block!important;height:auto!important;padding:0!important;margin:0!important;
  font-size:14px!important;line-height:1.6!important;color:#2f3a45!important;
  white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  -webkit-line-clamp:unset!important;
}
.entry-page-prev a:hover,.entry-page-next a:hover{color:#0e6ea8!important;text-decoration:none!important;}
.entry-page-prev:hover,.entry-page-next:hover{background:#f1f6fc!important;border-color:#e2ebf6!important;}
.entry-page-prev .entry-page-info,.entry-page-next .entry-page-info{
  position:static!important;display:flex!important;align-items:center;justify-content:space-between!important;
  margin:0!important;padding:5px 16px 11px!important;font-size:12px!important;line-height:18px!important;
  color:#9aa5b1!important;overflow:visible!important;
}
.entry-page-prev .pull-left,.entry-page-prev .pull-right,
.entry-page-next .pull-left,.entry-page-next .pull-right{
  float:none!important;display:inline-block!important;font-size:12px!important;
  color:#9aa5b1!important;line-height:18px!important;background:none!important;
}
/* 相关推荐 */
.entry-related-title{margin:30px 0 10px;font-size:17px;font-weight:500;color:#2f3a45;}
.entry-related{margin-bottom:6px;}
.entry-related li{line-height:1.95;font-size:14px;margin-bottom:2px;}
.entry-related li a{color:#4a5568;}
.entry-related li a:hover{color:#26a69a;}
/* 正文尾部「公众号名片」：微信写死的 300×409 背景卡改造为一行式卡片 */
.entry-content .ivf8-wxcard{display:flex;align-items:center;gap:14px;margin:22px 0 4px;padding:14px 16px;background:#f8fafc;border:1px solid #eef1f5;border-radius:8px;}
.entry-content .ivf8-wxcard img{width:92px!important;height:92px!important;flex:0 0 92px;margin:0!important;padding:4px;border:1px solid #eaeef3;border-radius:6px;background:#fff;}
.entry-content .ivf8-wxcard .ivf8-wxt{min-width:0;text-align:left;}
.entry-content .ivf8-wxcard b{display:block;font-size:14px;font-weight:600;color:#2f3a45;line-height:1.5;}
.entry-content .ivf8-wxcard span{display:block;font-size:12px;color:#8b95a3;line-height:1.7;margin-top:4px;}
@media (max-width:767px){
  .entry-page-prev a span,.entry-page-next a span{text-align:left!important;}
  .entry-page{margin:14px 0 0!important;}
  .entry-bar{margin:2px 0 0!important;height:auto!important;padding:0!important;}
  .entry-footer{padding-top:12px!important;}
  .entry-content .entry-copyright{margin-top:18px!important;padding:10px 12px!important;}
}
@media (max-width:767px){
  .entry-action,.entry-bar{display:none!important;}
}
