/**************************************
 * A) 正文链接（只影响文章/页面正文）
 **************************************/
.entry-content a {
  color: #2563eb;
  text-decoration: none;
  border-bottom: 1px solid rgba(37, 99, 235, .22);
}

.entry-content a:hover {
  border-bottom-color: rgba(37, 99, 235, .70);
  text-decoration: none;
}

/* 可选：访问过的链接不要变紫（WordPress 主题有时会设 visited） */
.entry-content a:visited {
  color: #2563eb;
}


/**************************************
 * B) details / summary：书籍目录风
 * - 大三角
 * - 左蓝竖条
 * - 下划线（用 box-shadow 实现）
 * - 支持多层嵌套（树状缩进）
 **************************************/

/* 去掉浏览器默认 marker（Chrome/Safari） */
.entry-content summary::-webkit-details-marker {
  display: none;
}

/* 有些浏览器会显示 marker，这里尽量抑制 */
.entry-content summary::marker {
  content: "";
}

/* details 外框 */
.entry-content details {
  margin: 10px 0;
  padding: 6px 10px;
  border: 1px solid rgba(17, 24, 39, .12);
  background: #fff;
  border-radius: 12px;
}

/* summary：整行可点 + 留空间给竖条和三角 */
.entry-content summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 16px;
  color: #111827;
  padding: 10px 6px 10px 30px; /* 左侧留空间 */
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  outline: none;

  /* 下划线：不受 flex 干扰 */
  box-shadow: inset 0 -1px 0 0 rgba(17, 24, 39, .12);
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

/* 左侧蓝色竖条 */
.entry-content summary::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .22);
  transition: background .18s ease;
}

/* 三角（默认右指） */
.entry-content summary::after {
  content: "▸";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-52%);
  font-size: 18px;
  font-weight: 800;
  color: rgba(17, 24, 39, .45);
  line-height: 1;
  transition: color .18s ease;
}

/* hover：淡底色 + 下划线变蓝 + 竖条/三角更明显 */
.entry-content summary:hover {
  background: rgba(37, 99, 235, .05);
  color: #2563eb;
  box-shadow: inset 0 -1px 0 0 rgba(37, 99, 235, .85);
}

.entry-content summary:hover::before {
  background: rgba(37, 99, 235, .55);
}

.entry-content summary:hover::after {
  color: #2563eb;
}

/* 展开状态：三角变下 + 竖条更蓝 */
.entry-content details[open] > summary::after {
  content: "▾";
  color: #2563eb;
}

.entry-content details[open] > summary::before {
  background: rgba(37, 99, 235, .75);
}

/* 展开后 summary 文字颜色可保持深色（你也可以改成蓝） */
.entry-content details[open] > summary {
  color: #111827;
}

/* details 内容区统一缩进 */
.entry-content details > :not(summary) {
  margin: 10px 0 8px;
  padding-left: 22px;
}

/* 嵌套：树状层级（二级起） */
.entry-content details details {
  margin-left: 18px;
  border-left: 3px solid rgba(37, 99, 235, .16);
  padding-left: 10px;
  background: linear-gradient(to right, rgba(37, 99, 235, .08), transparent 35%);
  border-radius: 12px;
}

.entry-content details details details {
  margin-left: 22px;
  border-left-color: rgba(37, 99, 235, .12);
}

.entry-content details details details details {
  margin-left: 26px;
  border-left-color: rgba(37, 99, 235, .09);
}

/* details 内部段落/列表稍紧凑 */
.entry-content details p {
  margin: .75em 0;
}

.entry-content details ul,
.entry-content details ol {
  margin-left: 1.1em;
}

.maintopic   {display: grid;
  grid-template-columns: 1fr 1fr;
	gap: 20px;}

.maintopic div {
  background: lightblue;
}

/* 分类页隐藏正文 */
.archive .entry-content {
  display: none;
}

.wp-block-post-template {
  list-style: none;
  padding: 0;
}

.wp-block-post {
  margin: 0 0 10px 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}

.wp-block-post-title {
  margin: 0 0 4px 0 !important;
  font-size: 17px;
}

.wp-block-post-date {
  margin: 0;
  font-size: 13px;
  color: #777;
}
.single .entry-footer {
    display:none;
}
.single .jp-relatedposts {
	display:none !important;
}
.single .post-navigation {
	display:none;
}