body {
    background-color: #fffff8;
}

article .article-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

article .article-actions {
    font-size: 1.4rem;
    line-height: 2rem;
}

article .article-actions .button-14 {
    margin-right: 0.6rem;
}

article .article-date {
    text-align: right;
    margin: 0;
    font-size: 1.4rem;
    line-height: 2rem;
}

article .post-content {
    clear: both;
}

ul.content-listing {
    list-style: none;
    padding-left: 0;
}

ul.content-listing li.listing {
    display: block;
    margin: 0 0 0.8rem 0;
    width: 100%;
}

ul.content-listing li.listing h3 {
    display: block;
    font-style: normal;
}

ul.content-listing li.listing .listing-row {
    display: flex;
    align-items: center;
    gap: 2.0rem;
    width: 100%;
}

ul.content-listing li.listing .listing-body {
    min-width: 0;
    width: 100%;
}

ul.content-listing li.listing .listing-body h3 {
    margin: 0;
}

ul.content-listing li.listing .listing-thumb-link {
    display: inline-flex;
    flex: 0 0 auto;
    line-height: 0;
    align-self: center;
}

ul.content-listing li.listing .listing-thumb {
    width: 8rem;
    height: 6rem;
    object-fit: cover;
    border-radius: 0.35rem;
}

ul.content-listing li.listing .listing-body p {
    margin: 0.25rem 0 0;
    width: 100%;
}

.credits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: left;
    justify-content: left;
    margin-top: 0.8rem;
}

.credits .site-link {
    display: inline-flex;
    align-items: left;
    text-decoration: none;
}

.credits .site-icon {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-flex;
    align-items: left;
    justify-content: left;
    line-height: 1;
}

.credits .site-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.katex {
    font-size: 1.05em !important;
}

.katex-display {
    font-size: 1.05em !important;
}

.sidenote-number {
    counter-increment: none !important;
    color: #a00000;
    font-size: 1rem;
    line-height: 1;
    /* display: inline; */
    position: relative;
    top: -0.5rem;
    left: 0.1rem;
}

.sidenote-number:after,
.sidenote:before {
    content: none !important;
}

.sidenote .sidenote-prefix {
    color: #a00000;
}

article .post-content .highlight {
    background: #f8f8f8;
    border: gray 1.5px solid;
    border-radius: 4px;
    padding: 0.5rem;
    overflow-x: auto;
}

article .post-content .highlight pre {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: visible;
}

article .post-content .highlight pre code {
    margin: 0;
    padding: 0;
    background: transparent;
}

blockquote {
    font-size: 1.5rem;
    color: #666;
    border-left: 3px solid #a00000;
    margin: 1.4rem 0;
    padding: 0 0 0 1rem;
    font-style: italic;
}

blockquote p {
    margin: 0.7rem 0;
    font-size: 1.5rem;
}

blockquote footer {
    font-style: normal;
    font-size: 0.85rem;
    color: #999;
    text-align: right;
}

blockquote strong {
    font-weight: 600;
    font-size: 1.5rem;
    font-style: italic;
}

blockquote a {
    font-size: 1.5rem;
}

@media (max-width: 760px) {
    html {
        font-size: 12px;
    }

    h1 {
        font-size: 2.4rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.7rem;
    }

    article .article-meta-row {
        display: block;
    }

    article .article-actions {
        margin-bottom: 0.6rem;
    }

    article .article-date {
        text-align: left;
    }

    body {
        padding-left: 5%;
    }
}
