body {
    background-color: #FFF;
    color: #444;
    font-family: "Droid Serif", Georgia, "Times New Roman", STHeiti, serif;
    font-size: 100%;
}

a {
    color: #3354AA;
    text-decoration: none;
}

a:hover,
a:active {
    color: #444;
}

pre,
code {
    background: #F3F3F0;
    /* font-family: Menlo, Monaco, Consolas, "Lucida Console", "Courier New", monospace; */
    /* font-size: .92857em; */
}

code {
    padding: 2px 4px;
    color: #B94A48;
}

pre {
    padding: 0;
    border: 1px solid #ccc;
    overflow: auto;
    /* max-height: 400px; */
}

pre code {
    /* padding: 3px; */
    color: #444;
}

blockquote {
    margin: 1em 1.5em;
    padding-left: 1.5em;
    border-left: 4px solid #F3F3F0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
textarea {
    padding: 5px;
    border: 1px solid #E9E9E9;
    width: 100%;
    border-radius: 2px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

.post-meta a,
.post-content a,
.widget a,
.comment-content a {
    border-bottom: 1px solid #EEE;
}

.post-meta a:hover,
.post-content a:hover,
.widget a:hover,
.comment-content a:hover {
    border-bottom-color: transparent;
}

.browsehappy {
    padding: 8px 0;
    background: #FBE3E4;
    color: #8A1F11;
    text-align: center;
}

.browsehappy a {
    color: #8A1F11;
    text-decoration: underline;
    font-weight: bold;
}

#header {
    /* padding-top: 35px; */
    border-bottom: 1px solid #EEE;
}

#nav-menu {
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

#nav-menu a {
    display: block;
    margin-right: -1px;
    padding: 0 20px;
    border: 1px solid #EEE;
    border-bottom: none;
    height: 32px;
    line-height: 32px;
    color: #444;
    background-color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

#nav-menu a:hover {
    background-color: #f6f6f6;
    color: #000;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.1);
}

#nav-menu .current {
    background-color: #ddd;
    font-weight: bold;
}


#search {
    position: relative;
    margin-top: 15px;
}

#search input {
    padding-right: 30px;
}

#search button {
    position: absolute;
    right: 4px;
    top: 2px;
    border: none;
    padding: 0;
    width: 24px;
    height: 24px;
    background: transparent url(../img/icon-search.png) no-repeat center center;
    direction: ltr;
    text-indent: -9999em;
}

@media(-webkit-min-device-pixel-ratio:2), (min-resolution:192dpi) {
    #search button {
        background-image: url(../img/icon-search@2x.png);
        -webkit-background-size: 24px 24px;
        -moz-background-size: 24px 24px;
        -o-background-size: 24px 24px;
        background-size: 24px 24px;
    }
}

.post {
    background: #fff;
    padding: 15px 0 20px;
    border-bottom: 1px solid #EEE;
}

.post-title {
    /* text-align: center; */
    font-size: 110%;
    font-weight: 600;
    /* margin: 40px 0 20px 0; */
    color: #333;
    line-height: 1.4;
    position: relative;
}


/* 增加一个简洁底线装饰效果 */
.post-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    /* background-color: #009688; */
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

.post-meta {
    margin-top: -0.5em;
    padding: 0;
    color: #999;
    font-size: .92857em;
}

.post-meta li {
    display: inline-block;
    margin: 0 8px 0 0;
    padding-left: 12px;
    border-left: 1px solid #EEE;
}

.post-meta li:first-child {
    margin-left: 0;
    padding-left: 0;
    border: none;
}

.post-content {
    line-height: 1.5;
}

.post .tags {
    clear: both;
}

.post-near {
    list-style: none;
    /* margin: 30px 0; */
    padding: 0;
    color: #999;
}

.post-near li {
    margin: 30px 0;
}

.archive-title {
    margin: 1em 0 -1em;
    padding-top: 20px;
    color: #999;
    font-size: 1em;
}

.more {
    text-align: center;
}

.more a {
    border: none;
}

.protected .text {
    width: 50%;
}

.page-navigator {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 20px 0;
    margin: 0;
    gap: 8px;
}

.page-navigator li {
    display: inline-block;
}

.page-navigator li a {
    display: block;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    background-color: #f2f2f2;
    transition: all 0.3s ease;
    font-size: 14px;
    border: 1px solid #ddd;
}

.page-navigator li a:hover {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.page-navigator li.current a {
    background-color: #007bff;
    color: white;
    font-weight: bold;
    border-color: #007bff;
    cursor: default;
}

#comments {
    padding-top: 15px;
}

.comment-list,
.comment-list ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list li {
    padding: 14px;
    margin-top: 10px;
    border: 1px solid #EEE;
}

.comment-list li.comment-level-odd {
    background: #F6F6F3;
}

.comment-list li.comment-level-even {
    background: #FFF;
}

.comment-list li.comment-by-author {
    background: #FFF9E8;
}

.comment-list li .comment-reply {
    text-align: right;
    font-size: .92857em;
}

.comment-meta a {
    color: #999;
    font-size: .92857em;
}

.comment-author {
    display: block;
    margin-bottom: 3px;
    color: #444;
}

.comment-author .avatar {
    float: left;
    margin-right: 10px;
}

.comment-author cite {
    font-weight: bold;
    font-style: normal;
}

.comment-list .respond {
    margin-top: 15px;
    border-top: 1px solid #EEE;
}

.respond .cancel-comment-reply {
    float: right;
    margin-top: 15px;
    font-size: .92857em;
}

#comment-form label {
    display: block;
    margin-bottom: .5em;
    font-weight: bold;
}

#comment-form .required:after {
    content: " *";
    color: #C00;
}

#secondary {
    /* padding-top: 15px; */
    word-wrap: break-word;
}

.widget {
    margin-bottom: 30px;
}

.widget-list {
    list-style: none;
    padding: 0;
}

.widget-list li {
    margin: 5px 0;
    line-height: 1.5;
}

.widget-list li ul {
    margin-left: 15px;
}

#footer {
    padding: 3em 0;
    line-height: 1.5;
    text-align: center;
    color: #999;
}

.error-page {
    margin-top: 100px;
    margin-bottom: 100px;
}

.post-content,
.comment-content {
    line-height: 1.5;
    word-wrap: break-word;
}

.post-content h2,
.comment-content h2 {
    font-size: 1.28571em;
}

.post-content img,
.comment-content img,
.post-content video,
.comment-content video {
    max-width: 100%;
}

.post-content a img,
.comment-content a img {
    background: #FFF;
    position: relative;
    bottom: -4px;
}

.post-content hr,
.comment-content hr {
    margin: 2em auto;
    width: 100px;
    border: 1px solid #E9E9E9;
    border-width: 2px 0 0 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

img.alignleft {
    margin: 0 15px 0 0;
}

img.alignright {
    margin: 0 0 0 15px;
}

@media(max-width:767px) {
    body {
        font-size: 81.25%;
    }

    #nav-menu a {
        float: none;
        display: inline-block;
        margin: 0 -2px;
    }
}

@media(max-width:768px) {

    #header,
    .post-title,
    .post-meta {
        text-align: center;
    }
}

@media(min-width:1200px) {
    .container {
        margin-left: auto;
        margin-right: auto;
        padding-left: 10px;
        padding-right: 10px;
    }
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.sr-only {
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.sr-only.focusable:active,
.sr-only.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.site-name {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: stretch;
    align-items: center;
    justify-content: center;
}

.site-name #logo img {
    width: 200px;
    height: 60px;
    /* object-fit: contain; */
}

.description {
    text-align: justify;
    /* margin: 20px auto; */
    /* font-size: 1rem; */
    max-width: 900px;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* 限制显示 3 行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.site-name .description {
    margin: 1rem;
    /* Logo 与描述的间距 */
    /* font-size: 1rem; */
    color: #555;
    width: 60%;
    /* 配合网站调色 */
    /* white-space: nowrap; */
    /* 防止换行 */
}

.site-name .site-searcg {
    width: 30%;
}

