/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html, body {
    height: 100%;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

ul {
    list-style-type: none; /* 移除项目符号 */
    padding-left: 0; /* 可选：移除默认的左内边距 */
}


/* header */
/* 大标题 */
h3 { font-size: 40px; }

/* 一级标题 */
h1 {
  font-size: 26px;
  border-bottom: 5px solid #3399cc;
  margin-bottom: 20px;
  color: #3399cc;
}

/* 二级标题 */
h2 {
  color: #3399cc;
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 24px;
  padding-left: 25px;
}

/* 网站标题 */
h4 {font-size: 20px}



/* body */
body {
    background: #343541;
    color: white;
    padding-left: 320px;
    font-size: 18px;
    line-height: 1.6;
}

body.lock-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}


img {
    margin-bottom: 25px;
    margin-left: auto;
    margin-right: auto;
	display: block;
	height: auto;
    max-width: 100%;
}

/* blockquote */

.entry-content blockquote p:last-child {
	margin-bottom: 0;
  font-weight: 700;
}

blockquote{
  display:block;
  margin: 35px 30px ;
  padding: 30px 0 30px 20px;
  position: relative;

  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.2;
  text-align: justify;

  border-left: 15px solid #00ADAD;
  border-right: 2px solid #00ADAD;

  -webkit-box-shadow: 0px 0px 5px #ccc;
}


/* 链接样式 */
a {
    color: inherit;
    text-decoration: underline;
    transition: all 0.15s ease;
}

a:hover {
    text-decoration: none;
}

a.unclickable {
    pointer-events: none; /* 禁用鼠标事件 */
    cursor: default;      /* 将光标改为默认样式 */
    color: #999;         /* 灰色表示禁用状态 */
    text-decoration: none; /* 移除下划线 */
}

/* 容器 */
.site-content {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    padding: 80px 20px;
    width: 90%;
}

/* 头部 */
.site-header {
    background: #121212;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 320px;
    padding: 80px 50px;
    z-index: 999;
}

.site-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.site-title a {
    text-decoration: none;
    border-bottom: 1px solid transparent;
    color: white;
}

.site-title a:hover {
    border-bottom-color: white;
}

/* 导航按钮 */
.nav-toggle {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 7.5%;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 30px;
}

.nav-toggle .bar {
    background: white;
    height: 1px;
    width: 28px;
    position: absolute;
    right: 0;
    top: 50%;
    transition: all 0.3s ease;
}

.nav-toggle .bar:nth-child(1) {
    margin-top: -5px;
}

.nav-toggle .bar:nth-child(2) {
    margin-top: 3px;
}

.nav-toggle.active .bar:nth-child(1) {
    margin-top: -1px;
    transform: rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
    margin-top: -1px;
    transform: rotate(-45deg);
}

/* 菜单 */
.menu-wrapper {
    margin-top: 30px;
}

.main-menu {
    list-style: none;
}

.main-menu li {
    margin-bottom: 12px;
}

.main-menu a {
    text-decoration: none;
    border-bottom: 1px solid transparent;
    color: white;
}

.main-menu a:hover {
    border-bottom-color: white;
}

/* 移动端菜单 */
.mobile-menu-wrapper {
    display: none;
    background: #121212;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 112px 7.5% 0;
    z-index: 998;
}

.mobile-menu-wrapper.visible {
    display: block;
}

/* 文章内容 */
.entry-header {
    margin-bottom: 40px;
}

.entry-title {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 20px;
}

.meta {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 25px;
}

.entry-content p {
    line-height: 170%;
    margin-bottom: 25px;
}

p {
    letter-spacing: 1px;
    font-size: inherit;
  	line-height: inherit;
  	margin: 0;
  	padding: 0;
  	text-align: justify;
}

/* post list title */
.posts > ul + ul {
	margin-top: 70px;
}

.posts .list-title {
	font-size: inherit;
	font-weight: inherit;
	margin: 0 0 17px 0;
}

.posts .list-title a {
  color: #c5c5d2;
	/* color: rgba( 0, 0, 4, 0.4 ); */
	text-decoration: none;
}

.posts .list-title a:hover {
	color: #121212;
	text-decoration: none;
}

/* Post Previews ----------------------------- */

.post-preview {
	border-top: 1px solid rgba( 197,197,210, .15 );
	position: relative;
}

.post-preview a {
	display: flex;
	justify-content: space-between;
	padding: 17px 0;
	text-decoration: none;
}

.post-preview.no-title a {
	justify-content: flex-end;
}

.post-preview a:hover {
	text-decoration: none;
}

.sticky .sticky-arrow {
	background:  url( ./assets/images/arrow-black-right.svg ) no-repeat center;
	background-size: auto 12px;
	border-radius: 50%;
	display: inline;
	height: 12px;
	position: absolute;
		right: calc( 100% + 7px );
		top: calc( 50% - 6px );
	width: 20px;
}

.post-preview a .title {
	font-size: inherit;
	font-weight: inherit;
	line-height: 1.25;
	margin: 0;
		-ms-word-break: break-word;
	word-break: break-word;
}

.post-preview a .title span {
	border-bottom: 1px solid transparent;
	transition: border-color .2s linear;
}

.post-preview a:hover .title span {
	/* border-bottom-color: #121212; */
	border-bottom-color: white;
}

.post-preview time {
  color: white;
	/* color: rgba( 0, 0, 4, 0.4 ); */
	line-height: 1.25;
	margin-left: 30px;
	white-space: nowrap;
}


/* Footer ----------------------------- */

.recommend {
    border-top: 2px solid rgba(  197,197,210, .25 );
    margin-top: 50px;
    padding: 25px 0 80px;

}

.recommend a {
    text-decoration: underline;
    text-underline-offset: 5px;
}


.site-footer {
	border-top: 1px solid rgba(  197,197,210, .15 );
	display: flex;
	font-size: 16px;
	/* justify-content: space-between; */
	margin-top: 50px;
	/* max-width: 800px; */
	padding: 25px 0 80px;
	text-align: center;
}

.site-footer p {
    line-height: 1;
	text-align: center;
}

/* .site-footer .theme-by {
	color: rgba( 0, 0, 4, 0.4 );
	margin-left: 20px;
	text-align: right;
} */

.site-footer a {
	border-bottom: 1px solid transparent;
	text-decoration: none;
}

.site-footer .theme-by a {
	color: inherit;
}

.site-footer a:hover {
	border-bottom-color: currentColor;
}



/* 响应式设计 */
@media (max-width: 1000px) {
    body {
        padding-left: 0;
    }

    .site-header {
        position: relative;
        width: 100%;
        padding: 25px 7.5%;
    }

    .nav-toggle {
        display: block;
    }

    .menu-wrapper {
        display: none;
    }

    .site-content {
        padding: 40px 20px;
    }

    .entry-title {
        font-size: 28px;
    }
}

@media (max-width: 620px) {
    .site-header {
        padding: 24px 7.5%;
    }

    .entry-title {
        font-size: 24px;
    }

    body {
        font-size: 16px;
    }
}
