﻿article#post {
    color: var(--un-color-text-1);
    padding: 28px;
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
    position: relative;
    box-sizing: border-box;
}

.post-header {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--un-color-border-light-1);
    padding-bottom: 30px;
}

.post-header h1 {
    font-size: 30px;
    font-weight: 600;
    line-height: 36px;
    margin: 0;
}

.post-meta{
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 12px;
    color: #8590A6;
    margin-top: 1.5em;
}

.post-meta li.cats a {
    display: none;
    color: var(--un-color-primary);
    height: 30px;
    line-height: 30px;
    padding: 0 16px;
    border-radius: var(--un-radius);
    font-weight: 500;
}

.post-meta li.cats a:first-child{
    display: inline-block;
    background: var(--un-color-primary-light-9);
}
.un-dark .post-meta li.cats a:first-child{
    background: #595959;
    color: #8590A6;
}

.post-header .editor-permission{
    margin-top: 1.5em;
    font-size: .8em;
}

.post-content {
    font-size: 16px;
    position: relative;
}

/*.post-content > h2 {
    font-weight: 500;
    border-left: 4px solid var(--un-color-primary);
    background: var(--un-color-primary-light-9);
    padding: 5px 0 5px 8px;
}*/

.post-content > h2,
.post-content > h3,
.post-content > h4,
.post-content > h5 {
    font-weight: 500;
}

.post-content > p,
.post-content > div,
.post-content > img,
.post-content > h2,
.post-content > h3,
.post-content > h4,
.post-content > h5,
.post-content > pre,
.post-content > ul,
.post-content > ol,
.post-content > dl,
.post-content > form,
.post-content > table,
.post-content > blockquote {
    margin: 0 0 24px;
    max-width: 100%;
}

.post-content > h2{
    font-size: 28px;
    padding-bottom:12px ;
    margin: 48px 0 20px;
    border-bottom: 1px solid var(--un-color-border-light-1);
    font-weight: 600;
}

.post-content > h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 48px 0 18px;
}
.post-content > h2 + h3{
    margin-top: 24px;
}

.post-content a{
    color: var(--un-color-primary);
    word-break: break-word;
    overflow-wrap: break-word;
}
.post-content a:hover{
    text-decoration: underline;
}

.post-content > p {
    line-height: 1.6;
}

.post-content  ol, .post-content  ul {
    padding: 0;
    margin-left: 0.8em;
    line-height: 1.8;
}

.post-content li{
    list-style: inside;
    position: relative;
}

.post-content  ol li::marker, .post-content  ul li::marker {
    color: var(--un-color-primary);
}


.post-content img {
    max-width: 100%;
    height: auto;
    border: 1px solid #f7f7f7;
    border-radius: 5px;
}

.post-content hr{
    box-sizing: content-box;
    height: 1px;
    overflow: visible;
    background: #f1f1f1;
    border: none;
}
.un-dark .post-content hr{
    background: #252525;
}

.post-content p code{
    background: #f1f1f1;
    font-family: unset;
    padding: 1px 4px;
    border-radius: 3px;
    color: #708090;
    font-size: 15px;
}

.post-content blockquote {
    box-sizing: border-box;
    font-size: 16px;
    line-height: 24px;
    color: #797C80;
    background: #F5F6F7;
    border-radius: 4px;
    width: 100%;
    padding: 1em
}

.post-content table{
    color: #606266;
    font-size: 14px;
}

.post-content table thead tr td{
    color: #717379;
    font-weight: bold;
}
.post-content table tr td{
    border: 1px solid #ebeef5;
    padding: 0.8em 1em;

}

.post-content > pre{
    box-sizing: border-box;
    color: #708090;
    background: #f5f2f0;
    border-radius: 4px;
    width: 100%;
    padding: 1em;
    line-height: 1;
    overflow: auto;
}

.post-content pre,.post-content code{
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

/*wordpress*/

.post-content .post-password-form{
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #f5f6f7;
    padding: 2em;
    border-radius: var(--un-radius);
}

.post-content .post-password-form input[type='submit']{
    margin-top: 17px;
}






