/* Toc content */
#card-toc .toc-content {
    font-size: 14px;
    line-height: 1.5em;
}

/* Card toc */
#card-toc {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

/* Item headline */
#card-toc .item-headline {
    font-size: 18px;
}

:root {
    --font-color: #333;
    --text-highlight-color: #1f1f21;
    --blockquote-color: #333;
}

[data-theme='dark'] {
    --font-color: #ffffffb3;
    --text-highlight-color: #ffffffe6;
    --blockquote-color: #ffffffb3;
}

.img-alt {
    /*    text-align: left; */
    font-size: 14px;
}

#post img {
    max-height: 450px;
    width: auto;
}

#article-container {
    text-align: left;
}

td:not([class="code"]), th {
    max-width: 820px;
    overflow: hidden;
}

td:hover, th:hover {
    overflow: auto;
}

.container figure.highlight .code pre,
.container figure.highlight table {
    overflow: hidden;
}

.container figure.highlight .code pre:hover,
.container figure.highlight table:hover {
    overflow: auto;
}

.table-wrap {
    word-break: keep-all;
    white-space: nowrap;
    overflow: hidden;
}

.table-wrap:hover {
    overflow: auto;
}

@media (hover: none) and (pointer: coarse) {
    .table-wrap {
        word-break: keep-all;
        white-space: nowrap;
        overflow: auto;
    }

    td:not([class="code"]), th,
    .container figure.highlight table {
        overflow: auto;
    }

    .table-wrap::-webkit-scrollbar {
        height: 5px;
    }

    td::-webkit-scrollbar,
    th::-webkit-scrollbar {
        height: 5px;
    }

    .container figure.highlight .code pre {
        overflow: hidden;
    }
    .container figure.highlight table::-webkit-scrollbar {
        height: 5px;
    }
}


body {
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

hr.style-two {
    overflow: visible;
    /* For IE */
    padding: 0;
    border: none;
    border-top: medium double #333;
    color: #333;
    text-align: center;
}

.post-content>hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    text-align: center;
}

/*
.post-content>hr:after {
    content: "§";
    display: inline-block;
    position: relative;
    top: -1em;
    font-size: 1.5em;
    padding: 0 0.25em;
    background: var(--card-bg);
    transform: rotate(90deg);
}
*/

[data-theme='dark'] {
    .post-content>hr {
        background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgb(255 255 255), rgba(0, 0, 0, 0));
    }

    .post-content>hr:after {
        background: var(--card-bg);
    }

    *::-webkit-scrollbar-thumb {
        background: #636363;
    }
}

h1 {
    margin: 0 0 14px;
}

.layout>div#post,
.layout>div#page {
    width: 100%;
    max-width: 930px;
}

.layout>div:first-child {
    width: 100%;
}

.layout.hide-aside {
    max-width: 930px;
}

@media screen and (min-width: 2000px) {
    .layout {
        max-width: 1280px;
    }
}

em,
ruby {
    font-weight: 500;
    font-family: "Noto Serif SC", serif, ui-serif, sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Droid Sans, BlinkMacSystemFont, segoe ui, Arial;
    font-style: normal
}

section.footnotes {
    font-size: 14px;
}
.footnotes-sep {
    display: none;
}

h1.post-title {
    text-shadow: 0 0 5px #000000c9;
}

.post-reward {
    margin-top: unset;
}

body.windows #article-container {
    text-shadow: 0 0 0 #333;
}

div.medium-zoom-overlay {
    background: none !important;
}

#article-container>h2 {
    margin: 0 0 14px;
}

#article-container {
    font-size: 18px;
    line-height: 1.6;
}

div#post-info>h1.post-title {
    font-family: "Noto Serif SC", serif, ui-serif, sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Droid Sans, BlinkMacSystemFont, segoe ui, Arial;
    font-weight: 900;
}

#article-container>h1,
.not-top-img h1.post-title,
#article-container>h2,
#article-container>h3,
#article-container>h4,
#article-container>h5,
#article-container>h6 {
    font-family: "Noto Serif SC", serif, ui-serif, sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Droid Sans, BlinkMacSystemFont, segoe ui, Arial;
    font-weight: 900;
}

#article-container>h1 {
    font-size: 2.4rem;
}

#article-container>h2 {
    font-size: 2.2rem;
}

#article-container>h3 {
    font-size: 2rem;
}

#article-container>h4 {
    font-size: 1.8rem;
}

#article-container>h5 {
    font-size: 1.6rem;
}

#article-container>h6 {
    font-size: 1.4rem;
}

.fa-spin {
    animation-name: none;
}

@media screen and (min-width: 0px) {
    .layout>div:first-child:not(.nc) {
        padding: 15px 15px;
    }

    div#post-info>h1.post-title {
        font-size: 2.4em;
    }
}
@media screen and (min-width: 438px) {
    .layout>div:first-child:not(.nc) {
        padding: 15px 15px;
    }

    div#post-info>h1.post-title {
        font-size: 2.8em;
    }
}
@media screen and (min-width: 538px) {
    .layout>div:first-child:not(.nc) {
        padding: 20px 20px;
    }

    div#post-info>h1.post-title {
        font-size: 3em;
    }
}

@media screen and (min-width: 768px) {

    #article-container {
        font-size: 16px;
    }

    .layout>div:first-child:not(.nc) {
        padding: 30px 30px;
    }

    div#post-info>h1.post-title {
        font-size: 3em;
    }
}

@media screen and (min-width: 1080px) {
    div#post-info>h1.post-title {
        font-size: 3.5em;
    }
    #article-container {
        font-size: 18px;
    }
}

@media screen and (min-width: 2048px) {
    header:not(.not-top-img) + div#post-info>h1.post-title {
        font-size: 4em;
    }
}

#web_bg {
    width: 115%;
    height: 115%;
    filter: blur(45px);
    margin: -5%;
}

#web_bg.article-bg {
    width: 115%;
    height: 130%;
    margin: -10%;
    filter: blur(45px);
}

footer#footer,
footer#footer::before {
    background-color: #00000000;
    background-image: unset !important;
}

@-moz-document url-prefix() {
    * {
        scrollbar-width: auto;
        scrollbar-color: var(--scrollbar-color) transparent;
    }
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-thumb {
    background: #a0a0a0;
    border-radius: 15px;
}

*::-webkit-scrollbar-track {
    background-color: transparent;
}

#recent-posts .recent-post-item >.recent-post-info > .content {
    max-height: 6rem;
    -webkit-box-orient: horizontal;
    line-height: 1.5;
}

.card-widget.card-webinfo {
    font-size: 14px;
}

.note:not(.no-icon) {
    padding-left: unset;
    padding: 15px
}

.note {
    font-size: 0.9rem
}
