.post-content {
  height:100%;
  /* overflow-y: auto; */
}
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6{
  font-weight: 200;
  line-height: 1.2;
  /* padding-left: 20px; */
  position: relative;
}
.post-content h1::after,
.post-content h2::after,
.post-content h3::after,
.post-content h4::after,
.post-content h5::after,
.post-content h6::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #fc625d;
  border-radius: 100px;
}
.post-content h1 {
  font-size: 1.7em;
  margin: 0.7em 0;
}
.post-content h1::after {
  left: -15px;
  width: 14px;
  height: 14px;
}
.post-content h2 {
  font-size: 1.5em;
  margin: 0.7em 0;
}
.post-content h2::after {
  left: -15px;
  width: 12px;
  height: 12px;
}
.post-content h3 {
  font-size: 1.3em;
  margin: 0.5em 0;
}
.post-content h3::after {
  left: -15px;
  width: 10px;
  height: 10px;
}
.post-content h4 {
  font-size: 1.1em;
  margin: 0.5em 0;
}
.post-content h4::after {
  left: -15px;
  width: 8px;
  height: 8px;
}
.post-content h5,
.post-content h6 {
  font-size: .8em;
  margin: 0.3em 0;
}
.post-content h5::after,
.post-content h6::after {
  left: -15px;
  width: 6px;
  height: 6px;
}
.post-content em {
  font-style: italic;
}
.post-content ul,
.post-content ol {
  margin: 1em 0;
  padding: 0;
  padding-left:1em;
  font-size: 1em;
  line-height: 1.8;
}
li > ul,
li > ol {
  margin: 0.2em!important;
}
.post-content ol {
  counter-reset: ol-counter;
}
.post-content ol > li::before {
  text-align: right;
  counter-increment: ol-counter;
  content: counter(ol-counter) '. ';
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-all;
}
.post-content ul:not(.contains-task-list) > li::before {
  content: "• ";
  padding-right: 5px;
}
.post-content a {
  color: #faa700;
  text-decoration: none;
}
.post-content a:visited {
  color: #faa700;
}
.post-content a:hover {
  color: #faa700;
}
.post-content a:active {
  color: #faa700;
}
.post-content a:focus {
  outline: thin dotted;
}
.post-content a:hover {
  text-decoration: underline;
}
.post-content blockquote {
  color: var(--text-color-60);
  margin: 1em 0;
  padding:.4em .4em .4em 1.1em;
  border-left: 0.2em var(--yellow) solid;
  background-color: rgba(255, 157, 101,.1);
}
.post-content blockquote p {
  margin:0;
}

.post-content ::-moz-selection {
  background: rgb(255, 157, 101);
  color: #fff;
}
.post-content ::selection {
  background: rgba(255, 157, 101);
  color: #fff;
}
code {
  color: #fc625d;
  background-color: #465166;
  border-radius: 5px;
  padding:.3em .4em;
}
pre code {
  color: #abb2bf;
  background-color: transparent;
}
.post-content code {
  margin:0;
}
.post-content pre ::-webkit-selection{
  background: rgba(255, 157, 101);
  color: #fff;
}
.post-content pre ::selection{
  background: rgba(255, 157, 101);
  color: #fff;
}
.post-content code.hljs ::-webkit-selection{
  background: rgba(255, 157, 101);
  color: #fff;
}
.post-content code.hljs ::-moz-selection{
  background: rgba(255, 157, 101);
  color: #fff;
}
.post-content code.hljs ::selection{
  background: rgba(255, 157, 101);
  color: #fff;
}

.post-content pre,
.post-content code,
.post-content kbd,
.post-content samp {
  font-family: monospace, monospace;
  line-height: 1.3;
}
.post-content hr {
  display: block;
  width: 95%;
  border: 0;
  border-top: 1px solid #ddd;
  margin: 1.5em auto;
}
.post-content > table {
  border-collapse: collapse;
  border-spacing: 0;
  margin:.5rem 0;
  font-size: 1em;
  background-color: var(--box-bg);
  max-width: 100%;
}
.post-content > table th,
.post-content > table td {
  border:1px solid var(--table-border);
  padding:.7em;
} 
.post-content > table td.code {
  border-right:1px solid var(--table-border);
}
.post-content p {
  margin: 1em 0;
  font-size: 1em;
  line-height: 2.5;
}
.post-content p img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

/* 代码块样式 */
pre code.hljs {
  display: block;
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-all;
  max-width: 100%;
  padding: .25em;
  tab-size: 4;
  -moz-tab-size: 4;
}

/* 确保每行代码正确显示 */
.hljs .line {
  display: block;
  min-height: 1em;
}
/* 代码行号 */
.gutter {
  width: 20px;
  padding-right: 10px;
  color: #999;
  border-right: 1px solid #eee;
  user-select: none;
}


/* 保持缩进 */
.hljs span {
  white-space: pre-wrap;
  word-wrap: break-word;
  word-break: break-all;
}

/* 基础代码样式 */
td.code {
  font-family: 'Fira Code', Consolas, Monaco, 'Andale Mono', monospace;
  tab-size: 4;
  -moz-tab-size: 4;
  padding-left: 10px;
  width: 100%;
}
.code code {
  max-width: 100%;
  margin: 0;
  overflow-x: auto; /* 只在代码内容区域显示横向滚动条 */
  padding-bottom: 5px; /* 给滚动条留出空间 */
}
hr.line {
  width: 80%;
  margin: 0 auto 30px;
  border:none;
  border-top: 1px solid var(--table-border);
}