@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:ital,wght@0,400..700;1,400..700&display=block');
:root {
	--width: 780px;
	--font-yahei: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Helvetica,Arial,"PingFangSC-Regular","Hiragino Sans GB","Lantinghei SC","Microsoft Yahei","Source Han Sans CN","WenQuanYi Micro Hei",SimSun,sans-serif;
	--font-fangsong: Baskerville,"Times New Roman","Liberation Serif",STFangsong,FangSong,FangSong_GB2312,"CWTEX\-F",serif;
	--font-songti: "Libre Bodoni","Perpetua","Noto Serif SC",Georgia,"Nimbus Roman No9 L","Songti SC","Noto Serif CJK SC","Source Han Serif SC","Source Han Serif CN",STSong,"AR PL New Sung","AR PL SungtiL GB",NSimSun,SimSun,"TW\-Sung","WenQuanYi Bitmap Song","AR PL UMing CN","AR PL UMing HK","AR PL UMing TW","AR PL UMing TW MBE",PMingLiU,MingLiU,serif;
	--font-scale: 18px;
	--background-color: #faf8f1;
	--heading-color: #222;
	--nav-color: #222;
	--text-color: #000;
	--sub-color: #666;
	--gray-color: #999;
	--link-color: #444;
	--code-color: #222;
	--border-color: #ddd;
	--line-color: #f1f1f1
}

* {
	transition: all .2s ease
}

::-webkit-scrollbar {
	width: 0px;
	height: 0px;
}



::-webkit-scrollbar-track {
	border-radius: 3px;
	background: rgba(0,0,0,.06);
	-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,.08)
}

::-webkit-scrollbar-thumb {
	border-radius: 0px;
	background: rgba(0,0,0,.12);
	-webkit-box-shadow: inset 0 0 10px rgba(0,0,0,.2)
}

body {
	font-family: var(--font-songti);
	font-size: var(--font-scale);
	margin: 0 auto;
	padding: 20px;
	text-align: left;
	word-wrap: break-word;
	overflow-wrap: break-word;
	line-height: 1.8;
	color: var(--text-color);
	background-color: var(--background-color);
	text-align: justify;
	hyphens: auto;
}

html {
	scroll-behavior: smooth
}

h1,h2,h3,h4,h5,h6 {
	color: var(--heading-color)
}

a {
  color: var(--link-color);
  cursor: pointer;
  text-decoration: none;
  transition: text-decoration-color 0.2s ease;
  text-decoration-color: transparent;
  text-decoration-thickness: from-font;
}

a:hover {
  text-decoration: underline;
  text-decoration-color: var(--link-color);
}



.katex .mathdefault {
	font-family: var(--font-songti) !important;
}

span .katex{
	font-size: 1em;
	
}


nav a {
	margin-right: 10px;
	color: var(--sub-color)
}

b,strong {
	color: var(--heading-color)
}

button {
	margin: 0;
	cursor: pointer
}

.screen-reader-text {
	display: none
}

.comment-meta a,time {
	color: var(--gray-color)
}

.heading,footer,main,nav {
	max-width: var(--width);
	margin: auto
}

table {
	width: 100%
}

hr {
	border: 0;
	border-top: 1px dashed
}

img {
	max-width: 100%;
	height: auto
}

code {
	font-family: Noto Sans Mono,monospace;
	padding: 2px;
	background-color: var(--line-color);
	border-radius: 3px
}

blockquote,code {
	color: var(--code-color)
}

blockquote {
	border-left: 1px solid var(--gray-color);
	padding-left: 20px
}

footer,header {
	padding: 20px 0;
	color: var(--gray-color)
}

footer a {
	color: var(--sub-color)
}

header {
	padding-bottom: 30px;
	border-bottom: 1px solid var(--line-color)
}

main {
	margin-top: 50px
}

.crumb {
	color: var(--gray-color)
}

article {
	margin: 50px 0 100px
}

h1.title,h2.title {
	margin: 0;
	line-height: 1.6
}

header .title a {
	color: var(--nav-color)
}

main .title {
	font-size: 30px;
	padding-bottom: 5px
}

.intro {
	color: var(--gray-color);
	margin-bottom: 40px
}

.desc {
	margin-top: 15px;
	color: var(--sub-color)
}

.content {
	margin: 45px 0
}


.content a:has(img) {
	border: none
}

.tags {
	color: var(--border-color)
}

.tags a {
	color: var(--gray-color);
	margin-right: 10px
}

form>:last-child {
	margin-bottom: 0
}

label {
	font-size: .9em
}

input[type=email],input[type=search],input[type=text],input[type=url],textarea {
	background: 0 0;
	border-radius: 4px;
	border: 1px solid var(--border-color);
	box-shadow: none;
	display: block;
	margin: 0 0 15px;
	padding: 10px;
	width: calc(100% - 20px);
	max-width: calc(100% - 25px)
}

textarea {
	line-height: 1.5;
	height: 100px
}

input[type=email]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,textarea:focus {
	border: 1px solid var(--gray-color);
	outline: 0
}

.button,button,input[type=button],input[type=reset],input[type=submit] {
	background-color: var(--nav-color);
	border: none;
	border-radius: 4px;
	color: #fff;
	display: inline-block;
	font-family: inherit;
	font-size: 16px;
	margin: 0;
	padding: 8px 16px 10px;
	text-align: center
}

.button:hover,button:hover,input[type=button]:hover,input[type=reset]:hover,input[type=submit]:hover {
	cursor: pointer;
	opacity: .7
}

.comment-list,.comment-list .comment-children {
	list-style: none;
	padding: 0;
	margin-bottom: 40px
}

.comment-list {
	margin: 30px 0;
	list-style: none
}

.comment-list .comment-children {
	margin-left: 50px
}

.comment-author cite {
	font-weight: 700;
	font-style: normal
}

.comment-author .avatar,.comment-author .says {
	display: none
}

.comment-reply {
	border-bottom: 1px solid var(--gray-color);
	display: inline;
	padding-bottom: 2px
}

#comments h3,.respond h3 {
	margin: 40px 0;
	padding-top: 30px;
	border-top: 1px dotted var(--border-color)
}

.respond p+p {
	margin-top: 20px
}

#cancel-comment-reply-link {
	float: right;
	font-weight: 400
}



.results {
	list-style: none;
	padding: 0;
	margin: 0
}

.results li {
	margin: 20px 0 0
}

.katex {
	overflow-x: scroll;
	overflow-y: clip
}


.post-pagination {
    display: flex;
    justify-content: flex-start; 
    margin: 20px 0;
}

.page-navigator {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-navigator li {
    margin: 0;
    padding: 0;
}

.page-navigator li a {
    display: block;
    padding: 8px 12px;
    color: #333;
}

.page-navigator li a:hover {
    color: #000;
}

.page-navigator li.current a {
    color: #000;
    font-weight: bold;
}

.page-navigator li.next a {
    padding: 8px 12px;
    color: #333;
}

.page-navigator li.next a:hover {
    color: #000;
}
