@charset "UTF-8";
/*
Theme Name: Kratos+
Text Domain: kratos
Version: 1.1.15
Requires PHP: 8.0
Requires at least: 5.3.0
Description: Kratos+ 在 Seaton Jiang 的 Kratos 主题（GPL-3.0）基础上二次开发，新增可视化代码高亮、布局自定义、评论数学验证码等功能。本主题继承 GPL-3.0 协议。
Tags: 博客, 双栏, 响应式, 代码高亮, 自定义背景, 自定义颜色, 自定义菜单, 特色图像, 邮件中心, 主题选项, 小工具
Author: Dylan Li
Author URI: https://www.lifengdi.com
Theme URI: https://github.com/lifengdi/kratos-plus
License: GPL-3.0 License
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/*--------------------------------------------------------------
>>> 样式表
----------------------------------------------------------------

	1.  全局
	2.  导航
	3.  Banner
	4.  首页轮播
	5.  分页按钮
	6.  文章列表
	7.  文章正文
	8.  内容工具区
	9.  文章评论
	10. 小工具
	11. 404
	12. 页脚

--------------------------------------------------------------*/

/*--------------------------------------------------------------
1. 全局
--------------------------------------------------------------*/
/* 字体相关样式：自定义字体的远程加载与全站强制 font-family 已迁移到后台
 * （功能配置 → 自定义字体），由 inc/theme-core.php 在 wp_head 阶段按选项注入。
 * 这里仅保留 body 的字体栈作为系统字体兜底。 */

body {
    overflow-x: hidden;
    background: #f5f5f5;
    font-weight: 400;
    font-size: 16px;
    font-family: -apple-system,
    BlinkMacSystemFont,
    opensans,
    Optima,
    "Microsoft Yahei",
    sans-serif;
    line-height: 1.8;
}

a {
    color: #336699;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

a:hover {
    color: #2B5278;
    text-decoration: none;
}

a:focus {
    outline: 0;
    text-decoration: none;
}

ol,
p,
ul {
    margin-bottom: 16px;
    color: #333;
    font-size: 16px;
}

ul,
ol {
    margin: 0 0 16px;
    padding-left: 16px;
}

ol
> li {
    margin-bottom: 6px;
    padding-left: 2px;
    line-height: 22px;
}

ul
> li {
    margin-bottom: 6px;
    padding-left: 2px;
    line-height: 22px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 30px 0;
    color: #111;
    font-weight: 400;
}

.tooltip-inner {
    padding: 7px 6px;
    font-size: 13px;
}

:active,
:focus,
button:focus {
    outline: none;
}

.btn-outline-primary.focus,
.btn-outline-primary:focus,
.btn-outline-primary:not(
    :disabled
  ):not(
    .disabled
  ).active:focus,
.btn-outline-primary:not(
    :disabled
  ):not(
    .disabled
  ):active:focus,
.show
> .btn-outline-primary.dropdown-toggle:focus,
.form-control:focus {
    box-shadow: none;
}

::-moz-placeholder {
    color: #ffffff;
}

::-webkit-input-placeholder {
    color: #ffffff;
}

:-ms-input-placeholder {
    color: #ffffff;
}

::selection {
    background: #ddd;
    color: #000;
    text-shadow: none;
}

::-webkit-selection {
    background: #ddd;
    color: #000;
    text-shadow: none;
}

::-moz-selection {
    background: #ddd;
    color: #000;
    text-shadow: none;
}

::-webkit-scrollbar {
    overflow: auto;
    width: 10px;
    height: 6.4px;
}

::-webkit-scrollbar-thumb {
    min-width: 25px;
    min-height: 25px;
    border: 1px solid #e0e0e0;
    background-color: #bbbbbb;
}

::-webkit-scrollbar-track {
    border: 1px solid #efefef;
    background-color: #f7f7f7;
}

.k-main.color {
    padding: 90px 0 20px;
}

.k-main.banner {
    padding: 20px 0;
}

@media only screen and (max-width: 992px) {
    .k-header {
        height: 59px;
    }

    .k-main.color {
        padding-top: 20px;
    }

    .k-main.banner {
        padding-top: 260px;
    }
}

@media only screen and (max-width: 768px) {
    .k-header {
        height: 50px;
    }

    .k-main.banner {
        padding-top: 255px;
    }
}

/*--------------------------------------------------------------
2. 导航
--------------------------------------------------------------*/

.k-nav {
    position: absolute;
    background-color: rgba(
            40,
            42,
            44,
            0.6
    );
}

.k-nav
.navbar-brand {
    padding: 0;
    color: #ffffff;
    font-size: 24px;
}

.k-nav
.navbar-brand
img {
    max-width: 168px;
    max-height: 35px;
}

.k-nav
.navbar-brand
h1 {
    display: inherit;
    margin: inherit;
    padding: inherit;
    color: inherit;
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
}

.k-nav
.navbar-toggler {
    padding: 13px;
    border-color: transparent;
    border-radius: 0;
    color: #343a40;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 12px;
}

.k-nav
.navbar-nav {
    position: relative;
}

.k-nav
.navbar-nav
li {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.k-nav
.navbar-nav
> li.nav-item
> a {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    font-size: 17px;
}

.k-nav
.line {
    display: flex;
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease-out;
}

.k-nav
.second-line {
    margin: 5px 0;
}

.nav-close
.first-line {
    transform: rotate(
            45deg
    ) translate3d(
            5px,
            5px,
            0
    );
    transform-origin: center;
}

.nav-close
.second-line {
    transform: scale3d(
            0,
            1,
            1
    );
}

.nav-close
.third-line {
    transform: rotate(
            -45deg
    ) translate3d(
            5px,
            -5px,
            0
    );
    transform-origin: center;
}

.navbar-light
.navbar-nav
.nav-link,
.navbar-light
.navbar-nav
.nav-link:focus,
.navbar-light
.navbar-nav
.nav-link:hover,
.navbar-light
.navbar-nav
.active
> .nav-link,
.navbar-light
.navbar-nav
.nav-link.active,
.navbar-light
.navbar-nav
.nav-link.show,
.navbar-light
.navbar-nav
.show
> .nav-link {
    color: #ffffff;
}

.navbar-light
.navbar-nav
.nav-link:hover {
    color: rgba(
            255,
            255,
            255,
            0.8
    );
}

.navbar-light
.navbar-nav
.nav-link
.fas {
    margin-right: 3px;
}

.navbar-light
.navbar-nav
.dropdown-menu {
    margin: 2px 0 0;
    padding: 5px 0;
    min-width: 140px;
    border: none;
    font-size: 15px;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: #336699;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 2px;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    content: "\e62e";
    vertical-align: unset;
    font-size: 16px;
    font-family: kicon;
    transform: rotate(
            180deg
    );
}

@media only screen and (min-width: 992px) {
    .k-nav {
        height: 70px;
        border-bottom: 1px solid transparent;
        background: transparent;
        -webkit-transition: background-color 0.2s;
        -moz-transition: background-color 0.2s;
        transition: background-color 0.2s;
        -webkit-transform: translate3d(
                0,
                0,
                0
        );
        -moz-transform: translate3d(
                0,
                0,
                0
        );
        -o-transform: translate3d(
                0,
                0,
                0
        );
        transform: translate3d(
                0,
                0,
                0
        );
        -ms-transform: translate3d(
                0,
                0,
                0
        );
    }

    .k-nav
    .navbar-brand {
        padding: 3px 0;
        color: #fff;
    }

    .k-nav
    .navbar-brand:focus,
    .k-nav
    .navbar-brand:hover {
        color: rgba(
                255,
                255,
                255,
                0.8
        );
    }

    .k-nav
    .navbar-nav
    > li.nav-item
    > a {
        padding: 10px;
        color: #fff;
    }

    .k-nav
    .navbar-nav
    > li.nav-item
    > a:focus,
    .k-nav
    .navbar-nav
    > li.nav-item
    > a:hover {
        color: rgba(
                255,
                255,
                255,
                0.8
        );
    }

    .k-nav.is-fixed {
        position: fixed;
        top: -67px;
        border-bottom: 1px solid white;
        background-color: rgba(
                255,
                255,
                255,
                0.9
        );
        -webkit-transition: -webkit-transform 0.2s;
        -moz-transition: -moz-transform 0.2s;
        transition: transform 0.2s;
    }

    .k-nav.is-fixed
    .navbar-brand {
        color: #212529;
    }

    .k-nav.is-fixed
    .navbar-brand:focus,
    .k-nav.is-fixed
    .navbar-brand:hover {
        color: #007bff;
    }

    .k-nav.is-fixed
    .navbar-nav
    > li.nav-item
    > a {
        color: #212529;
    }

    .k-nav.is-fixed
    .navbar-nav
    > li.nav-item
    > a:focus,
    .k-nav.is-fixed
    .navbar-nav
    > li.nav-item
    > a:hover {
        color: #007bff;
    }

    .k-nav.is-visible {
        -webkit-transform: translate3d(
                0,
                100%,
                0
        );
        -moz-transform: translate3d(
                0,
                100%,
                0
        );
        -o-transform: translate3d(
                0,
                100%,
                0
        );
        transform: translate3d(
                0,
                100%,
                0
        );
        -ms-transform: translate3d(
                0,
                100%,
                0
        );
    }
}

@media screen and (max-width: 992px) {
    .navbar-light
    .navbar-nav
    .dropdown-menu,
    .navbar-light
    .navbar-nav
    .dropdown-item.active,
    .navbar-light
    .navbar-nav
    .dropdown-item:active,
    .navbar-light
    .navbar-nav
    .dropdown-item:focus,
    .navbar-light
    .navbar-nav
    .dropdown-item:hover {
        background-color: transparent;
    }

    .k-nav
    .navbar-nav
    > li.nav-item
    > a {
        font-size: 16px;
    }

    .navbar-light
    .navbar-nav
    .dropdown-item {
        color: #ffffff;
    }

    .navbar-light
    .navbar-nav
    .dropdown-menu {
        padding: 0;
    }
}

@media screen and (max-width: 768px) {
    .k-nav
    .navbar-brand {
        font-size: 19px;
    }

    .k-nav
    .navbar-brand
    img {
        max-width: 140px;
        max-height: 30px;
    }

    .navbar-light
    .navbar-nav
    .nav-link {
        font-size: 16px;
    }

    .navbar-light
    .navbar-brand:hover {
        color: rgba(
                255,
                255,
                255,
                0.8
        );
    }

    .k-nav
    .navbar-nav
    > li.nav-item
    > a {
        font-size: 14px;
    }
}

/*--------------------------------------------------------------
3. Banner
--------------------------------------------------------------*/

.k-header
.banner {
    position: relative;
    height: 300px;
}

.k-header
.banner
.overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    background: rgba(
            66,
            64,
            64,
            0.25
    );
}

.k-header
.banner
.content {
    position: relative;
    height: 300px;
    background-position: center center;
    background-size: cover;
}

.k-header
.banner
.content
.introduce {
    position: absolute;
    top: 37%;
    z-index: 10;
    width: 100%;
    color: #fff;
    text-shadow: 2px 2px 2px #666;
    cursor: default;
}

.k-header
.banner
.content
.introduce
.title {
    margin-bottom: 5px;
    font-size: 35px;
}

.k-header
.banner
.content
.introduce
.mate {
    font-size: 25px;
}

@media screen and (max-width: 768px) {
    .k-header
    .banner {
        height: 290px;
    }

    .k-header
    .banner
    .content {
        height: 290px;
    }

    .k-header
    .banner
    .content
    .introduce {
        top: 43%;
    }

    .k-header
    .banner
    .content
    .introduce
    .title {
        font-size: 30px;
    }

    .k-header
    .banner
    .content
    .introduce
    .mate {
        font-size: 20px;
    }
}

/*--------------------------------------------------------------
4. 首页轮播
--------------------------------------------------------------*/
.carousel-inner {
    border-radius: var(--kr-shape-radius) !important;
}
.k-main
.board
.article-carousel {
    margin: 0 0 23px;
}

.k-main
.board
.article-carousel
li {
    margin-bottom: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.k-main
.board
.article-carousel
.carousel-caption
h5 {
    margin: 0 0 5px 0;
}

.k-main
.board
.article-carousel
.carousel-caption
p {
    margin-bottom: 5px;
}

/*--------------------------------------------------------------
5. 分页按钮
--------------------------------------------------------------*/

.k-main
.board
.paginations {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 10px auto;
    width: 100%;
    font-size: 13px;
}

.k-main.color
.board
.paginations {
    margin: 23px auto;
}

.k-main
.board
.paginations
a,
.k-main
.board
.paginations
.current,
.k-main
.board
.paginations
.dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 12px;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    line-height: 1;
    text-decoration: none;
    transition: all .2s ease;
}

.k-main
.board
.paginations
a {
    background: #fff;
    color: #336699;
}

.k-main
.board
.paginations
a:hover,
.k-main
.board
.paginations
.current {
    background: #336699;
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}

.k-main
.board
.paginations
.dots {
    background: transparent;
    border-color: transparent;
    color: #999;
    cursor: default;
}

.k-main
.board
.paginations
.kicon {
    line-height: 1;
}

.k-main
.details
.article
ul,
ol {
    padding-left: 32px;
}

.k-main
.details
.article
.content
.paginations {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
}

.k-main
.details
.article
.content
.paginations
span {
    margin: 0;
    cursor: pointer;
}

.k-main
.details
.article
.content
.paginations
a {
    text-decoration: none;
}

.k-main
.details
.article
.content
.paginations
a
span,
.k-main
.details
.article
.content
.paginations
.current
span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 12px;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    color: #336699;
    font-weight: normal;
    line-height: 1;
    text-decoration: none;
    transition: all .2s ease;
}

.k-main
.details
.article
.content
.paginations
a
span:hover,
.k-main
.details
.article
.content
.paginations
.current
span {
    background: #336699;
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}

/*--------------------------------------------------------------
6. 文章列表
--------------------------------------------------------------*/

.k-main
.board
.article-panel {
    position: relative;
    margin: 0 0 23px;
    border-radius: 0;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(
            0,
            0,
            0,
            0.1
    );
}

.k-main
.board
.article-panel:last-of-type {
    margin: 0;
}

.k-main
.board
.article-panel
.a-card {
    position: absolute;
    top: -16px;
    right: -1px;
    z-index: 999;
}

.k-main
.board
.article-panel
.a-card
.i-card-top {
    color: #0092ee;
    font-size: 40px;
}

.k-main
.board
.article-panel
.a-card
.i-card-hot {
    color: #dc3545;
    font-size: 40px;
}

.k-main
.board
.article-panel
.a-thumb {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 20px;
    width: 256px;
    height: 144px;
}

.k-main
.board
.article-panel
.a-thumb
img {
    /*   padding: 2px; */
    width: 100%;
    height: 100%;
    /*   border: 1px
        solid
        #f3f3f3; */
}

.k-main
.board
.article-panel
.a-post {
    margin-left: 255px;
    padding: 21px 20px 0 3px;
    height: 160px;
}

.k-main
.board
.article-panel
.a-post.a-none {
    margin-left: 0;
    padding: 20px;
    height: auto;
}

.k-main
.board
.article-panel
.a-post
.header {
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 3px 0 6px;
    line-height: 1.3;
}

.k-main
.board
.article-panel
.a-post
.header
.label {
    position: relative;
    position: relative;
    top: -2px;
    display: inline-block;
    margin-right: 5px;
    padding: 4px 6px 3px;
    border-radius: 0;
    background-color: #336699;
    color: #fff;
    vertical-align: baseline;
    text-align: center;
    white-space: nowrap;
    font-size: 12px;
    line-height: 14px;
}

.k-main
.board
.article-panel
.a-post
.header
span.label {
    cursor: default;
}

.k-main
.board
.article-panel
.a-post
.header
.label
.label-arrow {
    position: absolute;
    top: 6px;
    right: -4px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid #336699;
    content: "";
    vertical-align: top;
}

.k-main
.board
.article-panel
.a-post
.header
.title {
    margin: 0;
    min-width: 0;
    flex: 1;
    font-size: 21px;
    line-height: 1.3;
}

.k-main
.board
.article-panel
.a-post
.header
.title
a {
    display: block;
    overflow: hidden;
    color: #333;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.k-main
.board
.article-panel
.a-post
.header
.title
a:hover {
    color: #2B5278;
}

.k-main
.board
.article-panel
.a-post
.content {
    display: block;
    display: -webkit-box;
    overflow: hidden;
    max-height: 110px;
    text-overflow: ellipsis;
    word-wrap: break-word;
    cursor: default;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.k-main
.board
.article-panel
.a-post
.content
p {
    margin-bottom: 0;
    font-size: 15px;
}

.k-main
.board
.article-panel
.a-meta {
    clear: both;
    overflow: hidden;
    padding: 8px 20px;
    border-top: 1px solid #f3f3f3;
    font-size: 12px;
    line-height: 27px;
}

.k-main
.board
.article-panel
.a-meta
span {
    font-size: 13px;
    line-height: 24px;
    cursor: default;
}

.k-main
.board
.article-panel
.a-meta
span
> i {
    margin-right: 3px;
}

.k-main
.board
.article-panel
.a-meta
span
> a {
    color: #333;
}

.k-main
.board
.article-panel
.a-meta
span
> a:hover {
    color: #2B5278;
    text-decoration: none;
}

.k-main
.board
.article-panel
.a-meta
span
> a
> i {
    margin-left: 3px;
}

.k-main
.board
.article-panel
.search-title {
    padding: 20px 25px;
    color: #000;
    font-size: 18px;
}

.k-main
.board
.article-panel
.nothing {
    padding: 50px;
    text-align: center;
}

.k-main
.board
.article-panel
.nothing
img {
    width: 50%;
}

.k-main
.board
.article-panel
.nothing
.sorry {
    margin-top: 30px;
    font-size: 20px;
}

@media screen and (max-width: 768px) {
    .k-main
    .board
    .article-panel
    .a-thumb {
        position: relative;
        float: none;
        overflow: hidden;
        margin: 0;
        margin-bottom: 14px;
        padding: 0;
        padding-bottom: 53%;
        width: auto;
        height: 0;
        max-width: 100%;
    }

    .k-main
    .board
    .article-panel
    .a-thumb
    img {
        padding: 0;
        height: auto;
        max-width: 100%;
        border: 0;
    }

    .k-main
    .board
    .article-panel
    .a-post {
        margin-left: 0;
        padding: 0 12px;
        height: auto;
    }

    .k-main
    .board
    .article-panel
    .a-post
    .header {
        margin: 0 0 9px;
    }

    .k-main
    .board
    .article-panel
    .a-post
    .header
    .label {
        display: none;
    }

    .k-main
    .board
    .article-panel
    .a-post
    .header
    .title {
        font-size: 20px;
    }

    .k-main
    .board
    .article-panel
    .a-post
    .content {
        margin-bottom: 10px;
    }

    .k-main
    .board
    .article-panel
    .a-post.a-none
    .content {
        margin-bottom: 0;
    }

    .k-main
    .board
    .article-panel
    .a-meta {
        padding: 5px 12px;
    }

    .k-main
    .board
    .article-panel
    .a-meta
    span {
        font-size: 12px;
    }

    .k-main
    .board
    .article-panel
    .nothing
    .sorry {
        font-size: 18px;
    }
}

/*--------------------------------------------------------------
7. 文章正文
--------------------------------------------------------------*/

.k-main
.details
.article {
    background-color: #fff;
    -webkit-box-shadow: 0 1px 2px rgba(
            0,
            0,
            0,
            0.1
    );
    -moz-box-shadow: 0 1px 2px rgba(
            0,
            0,
            0,
            0.1
    );
    box-shadow: 0 1px 2px rgba(
            0,
            0,
            0,
            0.1
    );
    word-wrap: break-word;
    word-break: break-all;
}

.k-main
.details
.article
.breadcrumb-box {
    border-bottom: 1px solid #f7f7f7;
}

.k-main
.details
.article
> :first-child {
    margin-top: 0;
}

.k-main
.details
.article
> :last-child {
    margin-bottom: 0;
}

.k-main
.details
.article
.breadcrumb-box
.breadcrumb {
    margin-bottom: 0;
    padding: 12px 16px;
    border-radius: 0;
    background-color: inherit;
    font-size: 13px;
}

.k-main
.details
.article
.breadcrumb-box
.breadcrumb
li {
    margin-bottom: 0;
    list-style: none;
}

.breadcrumb-item
+ .breadcrumb-item {
    padding-left: 0.3rem;
}

.breadcrumb-item
+ .breadcrumb-item::before {
    padding-right: 0.2rem;
}

.k-main
.details
.article
.breadcrumb-box
.breadcrumb-item.active {
    cursor: default;
}

.k-main
.details
.article
.header {
    padding: 0 20px 16px;
    text-align: center;
}

.k-main
.details
.article
.header
.title {
    padding: 24px 0 0;
    border: none;
    word-break: break-word;
}

.k-main
.details
.article
.header
.meta {
    color: #5a5a5a;
    font-size: 14px;
    cursor: default;
}

.k-main
.details
.article
.header
.meta
a {
    color: inherit;
}

.k-main
.details
.article
.header
.meta
> span:not(
    :last-child
  ):after {
    margin-right: 5px;
    margin-left: 5px;
    color: #71777c;
    content: "\B7";
}

.k-main
.details
.article
.content {
    padding: 0 20px 16px;
    word-wrap: break-word;
    line-height: 1.8;
    word-break: break-word;
}

.k-main
.details
.article
.content
video {
    width: 100%;
    height: auto;
}

.k-main
.details
.article
.content::after,
.k-main
.details
.article
.content
p::after {
    clear: both;
    display: block;
    content: "";
}

.k-main
.details
.article
.content
h2,
.k-main
.details
.article
.content
h3,
.k-main
.details
.article
.content
h4,
.k-main
.details
.article
.content
h5,
.k-main
.details
.article
.content
h6 {
    margin-top: 24px;
    margin-bottom: 16px;
    font-weight: 500;
    line-height: 1.25;
}

.k-main
.details
.article
.header
h1 {
    margin-bottom: 16px;
    font-weight: 500;
}

.k-main
.details
.article
.content
h2:not(
    :first-child
  ) {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 28px;
}

.k-main
.content
h2.title {
    position: relative;
    display: inline-block;
    padding: 6px 4px 10px;
    border-left: 0;
    background-color: transparent;
}

.k-main .content h2.title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background-color: #336699;
    transition: width .3s ease;
}

.k-main .content h2.title:hover::after {
    width: 64px;
}

.k-main
.details
.article
.content
h3:not(
    :first-child
  ) {
    margin-top: 32px;
    margin-bottom: 12px;
    font-size: 20px;
}

.k-main
.details
.article
.content
h4:not(
    :first-child
  ) {
    margin-top: 24px;
    margin-bottom: 8px;
    font-size: 16px;
}

.k-main
.details
.article
.content
h5 {
    font-size: 14px;
}

.k-main
.details
.article
.content
h6 {
    font-size: 12px;
}

.k-main
.details
.article
.content
p {
    color: #151515;
    line-height: 30px;
}

.k-main
.details
.article
.content
li
p {
    margin-bottom: 10px;
}

.k-main
.details
.article
.content
.progress {
    margin-bottom: 16px;
}

.k-main
.details
.article
.content
.video-container {
    margin-bottom: 16px;
}

.k-main
.details
.article
.content
blockquote {
    margin-bottom: 16px;
    padding: 16px;
    border-left: 6px solid #dce6f0;
    background: #f2f7fb;
    color: #819198;
    font-size: 15px;
}

.k-main
.details
.article
.content
blockquote
p {
    margin-bottom: 16px;
}

.k-main
.details
.article
.content
blockquote
p:last-child {
    margin-bottom: -3px;
}

.k-main
.details
.article
.content
hr {
    margin: 24px 0;
    height: 1px;
    border: none;
    border-top: 1px solid #a5a5a5;
}

.k-main
.details
.article
.content
pre:not([class*="language-"]):not(.hljs) {
    margin: 10px 0;
    padding: 11px 16px;
    border-radius: 4px;
    background-color: #f8f8f8;
    word-wrap: break-word;
    font-size: 14px;
    line-height: 1.7;
    word-break: break-all;
}

.k-main
.details
.article
.content
code:not([class*="language-"]):not(.hljs) {
    margin: 0 3px;
    padding: 2px 4px;
    border-radius: 4px;
    background-color: #eff0f1;
    color: #e83e8c;
    /*   font-size: 13px; */
    word-break: inherit;
}

.k-main
.details
.article
.content
kbd {
    display: inline-block;
    margin: -3px 1.6px 0;
    padding: 2.4px 9.6px;
    border: 1px solid #adb3b9;
    border-radius: 3px;
    background-color: #e1e3e5;
    box-shadow: 0 1px 0 rgba(
            12,
            13,
            14,
            0.2
    ),
    0 0 0 2px #fff inset;
    color: #242729;
    vertical-align: middle;
    text-shadow: 0 1px 0 #fff;
    white-space: nowrap;
    font-size: 10px;
    line-height: 1.5;
}

.k-main
.details
.article
.content
pre
code:not([class*="language-"]):not(.hljs) {
    margin: 0;
    padding: 0;
    background-color: transparent;
    /*color: #fff;*/
}

.k-main
.details
.article
.content
pre
ol {
    padding: 0;
}

.k-main
.details
.article
.content
pre
li {
    margin: 0;
    list-style: none;
}

.k-main
.details
.article
.content
.wp-caption-text {
    margin-bottom: 0;
    font-size: 14px;
}

.k-main
.details
.article
.content
.wp-block-image {
    margin-bottom: 0;
}

.k-main
.details
.article
.content
.wp-block-image
figcaption {
    text-align: center;
    font-size: 14px;
}

.k-main
.details
.article
.content
figure {
    margin: 0;
}

.k-main
.details
.article
.content
.alignleft::after,
.k-main
.details
.article
.content
.aligncenter::after,
.k-main
.details
.article
.content
.alignright::after {
    clear: both;
    display: block;
    content: "";
}

.k-main
.details
.article
.content
.alignleft {
    float: left;
    margin-right: 16px;
}

.k-main
.details
.article
.content
p
> img,
.k-main
.details
.article
.content
p
a
> img {
    display: block;
}

.k-main
.details
.article
.content
.wp-smiley {
    display: inline;
}

.k-main
.details
.article
.content
.aligncenter {
    margin-right: auto;
    margin-left: auto;
}

.k-main
.details
.article
.content
.aligncenter
figcaption {
    text-align: center;
}

.k-main
.details
.article
.content
.alignright {
    float: right;
    margin-left: 16px;
}

.k-main
.details
.article
.content
img {
    height: auto;
    max-width: 100%;
}

.k-main
.details
.article
.content
table {
    display: table;
    overflow: auto;
    width: 100%;
    table-layout: fixed;
    word-break: break-word;
}

.k-main
.details
.article
.content
table
th,
.k-main
.details
.article
.content
table
td {
    padding: 8px 16px;
    border: 1px solid #e9ebec;
}

.k-main
.details
.article
.content
table
th {
    font-weight: bold;
}

.k-main
.details
.article
.content
table
tr:nth-child(
    2n
  ) {
    background-color: #f8f8f8;
}

.k-main
.details
.article
.content
.alert,
.k-main
.details
.article
.content
.card,
.card-header:first-child {
    border-radius: 0;
}

.k-main
.details
.article
.content
.card-header {
    padding: 6px 15px;
}

.k-main
.details
.article
.content
.card-body {
    padding: 10px 15px;
}

.k-main
.details
.article
.content
.downbtn {
    display: inline-block;
    margin-bottom: 16px;
    padding: 3px 10px;
    border: 1px solid #39aaf9;
    background: #39aaf9;
    color: #fff;
    font-size: 14px;
}

.k-main
.details
.article
.content
.downbtn:hover {
    background: #37a0eb;
    color: #fff;
}

.k-main
.details
.article
.content
.downbtn:focus {
    color: #fff;
    text-decoration: none;
}

.k-main
.details
.article
.content
.video-container {
    position: relative;
    overflow: hidden;
    padding-bottom: 75%;
    height: 0;
}

.k-main
.details
.article
.content
.video-container
embed,
.video-container
iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.k-main
.details
.article
.content
> :last-child {
    margin-bottom: 0;
}

.k-main
.details
.article
.content
.wp-caption {
    width: 100% !important;
}

.k-main
.details
.article
.copyright {
    padding: 0 16px 16px;
}

.k-main
.details
.article
.copyright
span {
    display: block;
    padding: 18px;
    background-color: #f7f7fa;
    color: #333333;
    font-size: 14px;
    line-height: 20px;
    cursor: default;
}

.k-main
.details
.article
.footer {
    padding: 0 16px 10px;
    border-top: 1px solid #f2f2f2;
}

.k-main
.details
.article
.footer
.tags,
.k-main
.details
.article
.footer
.tool {
    margin-top: 10px;
}

.k-main
.details
.article
.footer
.tags
span,
.k-main
.details
.article
.footer
.tool
span {
    color: #333333;
    font-size: 14px;
    cursor: default;
}

.k-main
.details
.article
.footer
.tags
a {
    margin: 0 5px 0 0;
    padding: 2px 7px;
    background-color: #a9a9a9;
    color: #fff;
    font-size: 13px;
}

.k-main
.details
.article
.content
.accordion {
    margin-bottom: 16px;
    border: 1px solid #e5e8ed;
}

.k-main
.details
.article
.content
.accordion
.acheader {
    position: relative;
    padding: 5px 15px;
    background: #f7f8fa;
}

.k-main
.details
.article
.content
.accordion
.acheader
span {
    font-weight: 600;
    font-size: 17px;
}

.k-main
.details
.article
.content
.accordion
.acheader
.icon {
    position: absolute;
    right: 15px;
    font-size: 17px;
}

.k-main
.details
.article
.content
.accordion
.acheader
.icon
.kicon {
    font-size: 17px;
}

.k-main
.details
.article
.content
.accordion.active
.icon {
    -webkit-transition: 0.3s;
    transition: 0.3s;
    -webkit-transform: rotate(
            -45deg
    );
    transform: rotate(
            -45deg
    );
}

.k-main
.details
.article
.content
.accordion
.contents {
    display: none;
    border-top: 1px solid #e6e6e6;
}

.k-main
.details
.article
.content
.accordion
.contents
.inner {
    padding: 5px 15px;
}

.lg-outer {
    z-index: 999999;
}

@media screen and (max-width: 768px) {
    .k-main
    .details
    .article
    .header {
        padding: 0 16px 12px;
    }

    .k-main
    .details
    .article
    .header
    h1 {
        margin-bottom: 14px;
        font-size: 24px;
    }

    .k-main
    .details
    .article
    .content
    h1 {
        font-weight: 500;
        font-size: 22px;
    }

    .k-main
    .details
    .article
    .content
    h2:not(
      :first-child
    ) {
        font-size: 20px;
    }

    .k-main
    .details
    .article
    .content
    h3:not(
      :first-child
    ) {
        font-size: 18px;
    }

    .k-main
    .details
    .article
    .header
    .meta {
        font-size: 12px;
    }

    .k-main
    .details
    .article
    .content
    p,
    .k-main
    .details
    .article
    .content
    ul
    > li {
        font-size: 15px;
    }

    .k-main
    .details
    .article
    .content
    table {
        display: block;
        word-break: keep-all;
    }

    .k-main
    .details
    .article
    .header
    .meta
    span:not(
      :first-child
    ) {
        margin-left: 5px;
    }

    .k-main
    .details
    .article
    .header
    .meta
    > span:not(
      :last-child
    ):after {
        content: none;
    }

    .k-main
    .details
    .article
    .content
    .alert {
        padding: 10px 15px;
        font-size: 15px;
    }

    .k-main
    .details
    .article
    .content
    .card-header {
        font-size: 15px;
    }

    .k-main
    .details
    .article
    .content
    .card-body {
        padding: 12px 15px;
    }

    .k-main
    .details
    .article
    .content
    .card-text {
        font-size: 14px;
    }
}

/*--------------------------------------------------------------
8. 内容工具区
--------------------------------------------------------------*/

.k-main
.details
.toolbar {
    margin-top: 16px;
    padding: 20px;
    background-color: #fff;
    -webkit-box-shadow: 0 1px 2px rgba(
            0,
            0,
            0,
            0.1
    );
    -moz-box-shadow: 0 1px 2px rgba(
            0,
            0,
            0,
            0.1
    );
    box-shadow: 0 1px 2px rgba(
            0,
            0,
            0,
            0.1
    );
}

.k-main
.details
.toolbar
.meta {
    width: 50%;
    cursor: default;
}

.k-main
.details
.toolbar
img {
    float: left !important;
    margin-right: 8px !important;
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.k-main
.details
.toolbar
.name {
    margin-bottom: -5px;
}

.k-main
.details
.toolbar
.motto {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 10px;
    color: #666;
    text-overflow: ellipsis;
    font-size: 14px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.k-main
.details
.toolbar
.meta
.name
a {
    color: #4a4a4a;
}

.k-main
.details
.toolbar
.share {
    margin-top: 12px;
}

.k-main
.details
.toolbar
.share
.btn {
    width: 90px;
    height: 35px;
    font-size: 15px;
    line-height: 1.65;
}

.k-main
.details
.toolbar
.share
.btn-donate {
    padding: 3px;
    border: 1px solid #336699;
    border-radius: 0;
    color: #336699;
}

.k-main
.details
.toolbar
.share
.btn-donate:focus,
.k-main
.details
.toolbar
.share
.btn-donate:hover {
    border-color: #336699;
    background-color: #336699;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    color: #fff;
}

.k-main
.details
.toolbar
.share
.btn-thumbs {
    padding: 3px;
    border: 1px solid #fb5235;
    border-radius: 0;
    color: #fb5235;
}

.k-main
.details
.toolbar
.share
.btn-thumbs:focus,
.k-main
.details
.toolbar
.share
.btn-thumbs:hover {
    border-color: #fb5235;
    background-color: #fb5235;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    color: #fff;
}

.k-main
.details
.toolbar
.share
.btn-primary.focus,
.btn-primary:focus {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.donate-box
.meta-pay {
    margin-top: 14px;
    margin-bottom: 14px;
    cursor: default;
}

.donate-box
.qr-pay
img {
    width: 200px;
    height: 200px;
}

.donate-box
.choose-pay
input {
    display: none;
}

.donate-box
.choose-pay
input:checked
+ label {
    border-color: #0092ee;
    color: #0092ee;
}

.donate-box
.pay-button {
    margin: 10px 5px;
    width: 132px;
    height: 45px;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
}

.donate-box
.pay-button
img {
    height: 26px;
}

.k-main
.details
.post-navigation {
    margin-top: 16px;
}

.k-main
.details
.post-navigation
.nav-previous
a {
    color: #5a5a5a;
}

.k-main
.details
.post-navigation
.nav-next
a {
    color: #5a5a5a;
}

.k-main
.details
.post-navigation
.nav-previous {
    float: left;
    padding: 7px 18px;
    max-width: 50%;
    background-color: #fff;
    box-shadow: 0 1px 5px rgba(
            0,
            0,
            0,
            0.1
    );
    text-align: left;
}

.k-main
.details
.post-navigation
.nav-next {
    float: right;
    padding: 7px 18px;
    max-width: 50%;
    background-color: #fff;
    box-shadow: 0 1px 5px rgba(
            0,
            0,
            0,
            0.1
    );
    text-align: right;
}

@media screen and (max-width: 768px) {
    .k-main
    .details
    .toolbar
    .meta {
        margin: 14px 0;
        padding-bottom: 16px;
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .k-main
    .details
    .toolbar
    .meta
    span {
        font-size: 12px;
    }

    .k-main
    .details
    .toolbar
    .meta
    .love {
        display: none !important;
    }

    .k-main
    .details
    .toolbar
    .share {
        margin-top: 16px;
    }

    .k-main
    .details
    .toolbar
    .motto {
        padding-bottom: 5px;
        min-height: 30px;
    }

    .k-main
    .details
    .toolbar
    .share
    .btn {
        width: 88px;
        height: 35px;
        font-size: 14.5px;
        line-height: 1.5;
    }
}

/*--------------------------------------------------------------
9. 文章评论
--------------------------------------------------------------*/

.k-main
.details
.comments {
    margin-top: 16px;
    padding: 1.6px 16px 16px;
    border-radius: 2px;
    background-color: #fff;
    -webkit-box-shadow: 0 1px 2px rgba(
            0,
            0,
            0,
            0.1
    );
    -moz-box-shadow: 0 1px 2px rgba(
            0,
            0,
            0,
            0.1
    );
    box-shadow: 0 1px 2px rgba(
            0,
            0,
            0,
            0.1
    );
}

.k-main
.details
.post-2
.comments {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.k-main
.details
.comments
.comment-form-author {
    padding-right: 5px;
}

.k-main
.details
.comments
.comment-form-email {
    padding-left: 5px;
}

.k-main
.details
.comments
.input-group-text {
    border: 1px solid #eeeeee;
    background-color: #f8f8f8;
}

.k-main
.details
.comments
.form-control {
    border: 1px solid #eeeeee;
}

.k-main
.details
.comments
.title {
    margin-bottom: 0;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 19px;
    cursor: default;
}

.k-main
.details
.comments
.comment {
    padding: 16px 0;
    list-style: none;
}

.k-main
.details
.comments
.list
> li {
    border-bottom: 1px solid #f0f0f0;
}

.k-main
.details
.comments
.comment
.avatar {
    vertical-align: middle;
}

.k-main
.details
.comments
.comment
.avatar
img {
    display: block;
    width: 50px;
    height: 50px;
    border: 1px solid #eaeaea;
    border-radius: 50%;
}

.k-main
.details
.comments
.comment
.info {
    overflow: hidden;
}

.k-main
.details
.comments
.comment
.info
.author_name {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 4px;
    margin-top: 3px;
    color: #252525;
    font-weight: 600;
    font-style: normal;
    font-size: 14px;
    line-height: 1.375;
}

.author_name .kratos-heart-badge,
.author_name .kratos-rank-badge,
.author_name .kratos-blogroll-badge {
    vertical-align: baseline;
    position: relative;
    top: 0;
}

.k-main
.details
.comments
.comment
.info
.author_name
a {
    color: #252525;
    font-weight: 600;
    font-size: 14px;
}

.k-main
.details
.comments
.comment
.info
.content {
    margin-bottom: 0 !important;
}

.k-main
.details
.comments
.comment
.info
.content
p {
    margin: 0;
    color: #000000;
    font-size: 13px;
}

.k-main
.details
.comments
.comment
.info
.content
p
span {
    color: #333;
}

.k-main
.details
.comments
.comment
.info
.meta,
.k-main
.details
.comments
.comment
.info
.meta
a {
    color: #9b9b9b;
    font-size: 12.5px;
}

.k-main
.details
.comments
.children {
    margin-bottom: 0px;
    padding-left: 0px;
}

.k-main
.details
.comments
.children
.comment {
    margin-bottom: 0px;
    padding-bottom: 0px;
}

.k-main
.details
.comments
.comment-respond
.comment-textarea {
    position: relative;
    border: 1px solid #eee;
    border-radius: 3px;
    background-color: hsla(
            0,
            0%,
            71%,
            0.1
    );
}

.k-main
.details
.comments
.comment-respond
.comment-textarea
textarea {
    height: 130px;
    border: none;
    border-radius: 0;
    resize: none;
}

.k-main
.details
.comments
.comment-respond
.comment-textarea
.text-bar {
    padding: 6.4px 8px;
    background-color: #f8f8f8;
}

.k-main
.details
.comments
.comment-respond
.comment-textarea
.text-bar
.tool {
    padding-top: 4.8px;
}

.k-main
.details
.comments
.comment-respond
.comment-textarea
.text-bar
.tool
a
img {
    width: 100%;
}

.k-main
.details
.comments
.comment-respond
.comment-textarea
.btn-primary {
    width: 100px;
    border: none;
    border-radius: 3px;
    background-color: #336699;
    font-size: 14px;
}

.k-main
.details
.comments
.comment-respond
.comment-textarea
.addbtn {
    padding: 0 8px;
    color: #333333;
}

.k-main
.details
.comments
.comment-respond
.comment-textarea
.addbtn:hover {
    color: #333333;
}

.k-main
.details
.comments
.comment-respond
.comment-textarea
#cancel-comment-reply-link {
    display: inline-block;
    padding: 6px 12px;
    border: none;
    border-radius: 3px;
    background-color: rgba(
            0,
            0,
            0,
            0.3
    );
    color: #fff;
    vertical-align: middle;
    text-align: center;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.5;
    user-select: none;
}

.k-main
.details
.comments
.comment-respond
.comment-textarea
.text-bar
.smile {
    position: absolute;
    z-index: 100;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 2px;
    max-height: 200px;
    overflow: auto;
    background-color: #fff;
    box-shadow: 0 2px 10px 2px rgba(
            0,
            0,
            0,
            0.11
    );
}


.comment-empty {
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
}

.k-main
.details
.comments
.comment-respond
.comment-textarea
.text-bar
.smile
.smile-panel a {
    float: left;
    display: block;
    padding: 4px;
    width: 32px;
    height: 32px;
    border: 2px solid #fff;
    background-color: #f0f0f0;
}

.smile .smile-panel.active::after {
    content: "";
    display: block;
    clear: both;
}

.k-main
.details
.comments
.comment-respond
.comment-textarea
.text-bar
.open {
    display: block;
    transform: none;
    overflow-y: auto;
}

/* 设置滚动条样式 */
.k-main
.details
.comments
.comment-respond
.comment-textarea
.text-bar
.open::-webkit-scrollbar {
    width: 6px;
}

.k-main
.details
.comments
.comment-respond
.comment-textarea
.text-bar
.open::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.k-main
.details
.comments
.comment-respond
.comment-textarea
.text-bar
.open::-webkit-scrollbar-thumb {
    background: #000;
    border-radius: 3px;
}

.k-main
.details
.comments
.comment-respond
.comment-textarea
.text-bar
.open::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 兼容 Firefox */
.k-main
.details
.comments
.comment-respond
.comment-textarea
.text-bar
.open {
    scrollbar-width: thin;
    scrollbar-color: #000 #f1f1f1;
}

/* 表情分组 tab */
.smile .smile-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    border-bottom: 1px solid #eee;
    background: #fafafa;
    position: sticky;
    top: 0;
    z-index: 1;
    scrollbar-width: thin;
}

.smile .smile-tabs::-webkit-scrollbar {
    height: 4px;
}

.smile .smile-tabs::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.smile .smile-tabs .smile-tab {
    flex: 0 0 auto;
    padding: 6px 12px;
    font-size: 12px;
    line-height: 1.4;
    color: #666;
    white-space: nowrap;
    border-right: 1px solid #eee;
    text-decoration: none;
}

.smile .smile-tabs .smile-tab.active {
    color: #333;
    background: #fff;
    border-bottom: 2px solid #007bff;
    margin-bottom: -1px;
}

.smile .smile-panel {
    display: none;
}

.smile .smile-panel.active {
    display: block;
}

.k-main
.details
.comments
.comment-respond
.error {
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background-color: hsla(
            0,
            0%,
            71%,
            0.1
    );
}

.k-main
.details
.comments
.i-reply {
    font-size: 12px;
}

.k-main
.details
.children {
    margin-left: 15px;
    border-top: 1px solid #f0f0f0;
}

#commentpage {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
}

#commentpage a,
#commentpage .current,
#commentpage .dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 12px;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    transition: all .2s ease;
}

#commentpage a {
    background: #fff;
    color: #336699;
}

#commentpage a:hover,
#commentpage .current {
    background: #336699;
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}

#commentpage .dots {
    background: transparent;
    border-color: transparent;
    color: #999;
    cursor: default;
}

@media screen and (max-width: 768px) {
    .k-main
    .details
    .comments
    .comment-form-author {
        padding-right: 15px;
    }

    .k-main
    .details
    .comments
    .comment-form-email {
        padding-left: 15px;
    }
}

/*--------------------------------------------------------------
10. 小工具
--------------------------------------------------------------*/

.k-main
.sidebar
img {
    width: 100%;
    height: auto;
}

/* WP 原生小工具豁免：最新评论的头像、最新文章的缩略图按其内联尺寸渲染，
 * 不被上一条 .k-main .sidebar img { width:100% } 拉伸。 */
.k-main .sidebar .widget_recent_comments img,
.k-main .sidebar .widget_recent_entries img,
.k-main .sidebar .wp-block-latest-comments img,
.k-main .sidebar .wp-block-latest-posts img {
    width: auto;
    max-width: 100%;
    height: auto;
}

.k-main
.sidebar
.wp-smiley {
    width: auto;
}

.k-main
.sidebar
.widget {
    margin: 0 0 23px;
    padding: 15px 30px;
    border-radius: 0;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(
            0,
            0,
            0,
            0.1
    );
}

.k-main
.sidebar
.w-about,
.k-main
.sidebar
.w-ad {
    padding: 0;
}

.k-main
.sidebar
> div:last-child {
    margin: 0;
}

.k-main
.sidebar
.w-about
.background {
    height: 120px;
}

.k-main
.sidebar
.w-about
.wrapper
img {
    margin: -50px 0 0;
    width: 100px;
    height: 100px;
    border: rgba(
            255,
            255,
            255,
            0.4
    ) 4px solid;
    border-radius: 50%;
}

.k-main
.sidebar
.w-about
.textwidget {
    padding: 5px 20px 20px;
}

.k-main
.sidebar
.w-about
.textwidget
p {
    margin-bottom: 0;
    cursor: default;
}

.k-main
.sidebar
.w-about
.textwidget
.username {
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 17px;
}

.k-main
.sidebar
.w-about
.textwidget
.about {
    font-size: 15px;
}

.k-main
.sidebar
.w-ad {
    position: relative;
}

.k-main
.sidebar
.w-ad
.prompt {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 39px;
    height: 19px;
    background-color: rgba(
            0,
            0,
            0,
            0.33
    );
    color: #dedede;
    text-align: center;
    font-size: 12px;
    line-height: 19px;
}

.k-main
.sidebar
.w-recommended
.bookmark-item {
    display: block;
    overflow: hidden;
    margin-top: 10px;
    /*   padding: 8px */
    0;
    /*   border-bottom: 1px
        dashed
        #b4afaf; */
    color: #333;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.k-main
.sidebar
.w-recommended .bookmark-item:hover {
    color: #2B5278;
}

.k-main
.sidebar
.w-recommended
.bookmark-item:last-child {
    border-bottom: none;
}

.k-main
.sidebar
.w-recommended
.bookmark-item
.i-book {
    margin-right: 7px;
}

.k-main
.sidebar
.w-recommended
.nav-link
.kicon {
    margin-right: 8px;
}

.k-main
.sidebar
.w-recommended
.nav-tabs {
    flex-wrap: nowrap;
}

.k-main
.sidebar
.w-recommended
.nav-tabs
.nav-link {
    flex: 1 1 0;
    min-width: 0;
    padding-right: 0;
    padding-left: 0;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.k-main
.sidebar
.title {
    position: relative;
    margin: 0 0 15px;
    padding-bottom: 7px;
    border-bottom: 1px solid #e7e7e7;
    font-size: 17px;
    cursor: default;
}

.k-main
.sidebar
.title::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 72px;
    height: 2px;
    background-color: #336699;
    content: "";
}

.k-main
.sidebar
.w-tags
.item
a {
    display: inline-block;
    margin: 0 1px 1px 0;
    padding: 2px 10px;
    border: 1px solid #eeeeee;
    color: #333;
    list-style: none;
    text-align: center;
    font-size: 14px;
    max-width: 150px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* 链接小工具：双列网格，图标沿用友链页面的 Logo / 首字母占位逻辑 */
.k-main
.sidebar
.widget_links
ul.wfl-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.k-main
.sidebar
.widget_links
.wfl-li {
    display: block;
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
}

.k-main
.sidebar
.widget_links
.wfl-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.k-main
.sidebar
.widget_links
.wfl-item:hover {
    background: #f5f5f5;
    color: #336699;
}

.k-main
.sidebar
.widget_links
.wfl-logo {
    position: relative;
    flex-shrink: 0;
    display: inline-block;
    width: 28px;
    height: 28px;
}

.k-main
.sidebar
.widget_links
.wfl-logo
img {
    display: block;
    width: 28px;
    height: 28px;
    margin: 0;
    border-radius: 6px;
    object-fit: cover;
    border: none;
    background: #f0f0f0;
}

.k-main
.sidebar
.widget_links
.wfl-logo-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.k-main
.sidebar
.widget_links
.wfl-logo
.wfl-logo-fallback {
    position: absolute;
    inset: 0;
    display: none;
}

.k-main
.sidebar
.widget_links
.wfl-logo.is-fallback
.wfl-logo-fallback {
    display: inline-flex;
}

.k-main
.sidebar
.widget_links
.wfl-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.k-main
.sidebar
.widget_links
.wfl-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: inherit;
    /* 网站名称超长自动换行：最多两行，超出省略，长英文串强制断行 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.k-main
.sidebar
.widget_links
.wfl-desc {
    font-size: 12px;
    line-height: 1.4;
    color: #999;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    word-break: break-word;
}

.k-main
.sidebar
.widget_links
.w-links-empty {
    padding: 12px 0;
    color: #999;
    font-size: 13px;
}

.k-main
.sidebar
.w-tags
.item
a:hover,
.k-main
.sidebar
.widget_categories
ul
li:hover,
.k-main
.sidebar
.widget_archive
ul
li:hover {
    background-color: #f7f6f6;
}

.nav-tabs
.nav-item.show
.nav-link,
.nav-tabs
.nav-link.active {
    border-bottom: 2px solid #336699;
    background-color: #fff;
    color: #333;
}

.nav-tabs
.nav-item {
    color: #333;
}

.nav-tabs
.nav-link {
    padding: 8px 28px;
    border: 0;
    border-bottom: 2px solid #f2f2f2;
}

.nav-tabs {
    border-bottom: none;
}

.k-main
.sidebar
.widget_links
ul {
    margin-bottom: 0;
    padding-left: 0;
}

.k-main
.sidebar
#wp-calendar {
    width: 100%;
}

.k-main
.sidebar
caption,
.k-main
.sidebar
tfoot {
    display: none;
}

.k-main
.sidebar
tbody
tr {
    font-weight: 400;
    font-size: 14px;
    font-family: arial;
}

.k-main
.sidebar
tbody
a {
    display: block;
    border: 1px solid #336699;
    background: #edf8ff;
}

.k-main
.sidebar
tbody
tr
td,
.k-main
.sidebar
thead
tr
th {
    text-align: center;
    cursor: default;
}

.k-main
.sidebar
.widget_search
.screen-reader-text {
    display: none;
}

.k-main
.sidebar
.w-comments
.comments
a {
    display: block;
    padding: 13px 0;
}

.k-main
.sidebar
.w-comments
.comments
a:first-child {
    padding: 0 0 13px;
}

.k-main
.sidebar
.w-comments
.comments
a:not(
    :last-child
  ) {
    border-bottom: 1px solid #eee;
}

.k-main
.sidebar
.w-comments
.comments
.message {
    overflow: hidden;
    color: #394a58;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    word-break: keep-all;
}

.k-main
.sidebar
.w-comments
.comments
.meta
.avatar
img {
    float: left;
    margin-right: 7px;
    width: 50px;
    height: 50px;
    max-width: 100%;
    border: 1px solid #eaeaea;
    border-radius: 50%;
}

.k-main
.sidebar
.w-comments
.comments
.meta
.author {
    color: #777;
    font-size: 12px;
}

.k-main
.sidebar
.w-comments
.comments
.meta
.profile {
    padding-top: 2px;
    font-size: 12px;
}

.k-main
.sidebar
.w-comments
.comments
.meta
.date {
    display: block;
    overflow: hidden;
    color: #777;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
    word-break: keep-all;
}

.btn-search {
    border-color: #336699;
    background-color: #336699;
}

.btn-search:not(
    :disabled
  ):not(
    .disabled
  ):active,
.btn-search:hover,
.btn-search:focus {
    border-color: #0095ff;
    background-color: #0095ff;
}

.btn-search:not(
    :disabled
  ):not(
    .disabled
  ):active:focus {
    box-shadow: none;
}

.k-main
.sidebar
.widget_categories
ul,
.k-main
.sidebar
.widget_archive
ul {
    margin: 0;
    padding-left: 0;
}

.k-main
.sidebar
.widget_categories
ul
li,
.k-main
.sidebar
.widget_archive
ul
li {
    display: inline-block;
    overflow: hidden;
    margin: 0 1px 4px 0;
    width: 164px;
    border: 1px solid #eeeeee;
    list-style: none;
    text-align: center;
    text-overflow: ellipsis;
    font-size: 14px;
    cursor: pointer;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.k-main
.sidebar
.widget_categories
ul
li
a,
.k-main
.sidebar
.widget_archive
ul
li
a {
    display: block;
    padding: 4px 0;
    color: #333;
}

.k-main
.sidebar
.w-search
.form-control,
.k-main
.sidebar
.w-search
.btn {
    border-radius: 0;
    font-size: 15px;
}

.k-main
.sidebar
.w-search
.btn {
    padding-right: 25px;
    padding-left: 25px;
}

/*--------------------------------------------------------------
   文章目录小工具（.w-toc）
   - sticky 吸顶偏移由 JS 通过 --k-toc-offset 设置
   - 折叠按钮位于 li 内左侧，加/减号 SVG
   - 层级缩进用 --toc-indent，避免每层写死
--------------------------------------------------------------*/
.k-main .sidebar .w-toc {
    position: sticky;
    top: var(--k-toc-offset, 8px);
    z-index: 10;
    max-height: calc(100vh - var(--k-toc-offset, 8px) - 16px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    --toc-indent: 16px;
}

.k-main .sidebar .w-toc .title {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.k-main .sidebar .w-toc.is-collapsed .item { display: none; }
.k-main .sidebar .w-toc.is-empty { display: none; }

.k-main .sidebar .w-toc .item {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 4px 0;
    margin-left: -20px;
}
.k-main .sidebar .w-toc .toc-list { padding-left: 0; }
.k-main .sidebar .w-toc .toc-list .toc-list { padding-left: var(--toc-indent); }
.k-main .sidebar .w-toc .item::-webkit-scrollbar { width: 4px; }
.k-main .sidebar .w-toc .item::-webkit-scrollbar-thumb { background: #dddddd; border-radius: 2px; }

.k-main .sidebar .w-toc .toc-list {
    list-style: none;
    margin: 0;
}

.k-main .sidebar .w-toc .toc-item {
    position: relative;
    margin: 0;
    padding-left: 20px;
    list-style: none;
}
.k-main .sidebar .w-toc .toc-item::before { display: none; content: none; }

.k-main .sidebar .w-toc .toc-item > a {
    display: block;
    padding: 6px 8px;
    border-radius: 4px;
    color: #333;
    line-height: 1.5;
    font-size: 13px;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.k-main .sidebar .w-toc .toc-item > a:hover {
    background-color: #f5f5f5;
    color: #336699;
}
/* 按相对层级排字号：顶层最大，逐级递减，与文章是否含 h1/h2 无关 */
.k-main .sidebar .w-toc .toc-l1 > a { font-size: 15px; font-weight: 600; }
.k-main .sidebar .w-toc .toc-l2 > a { font-size: 14px; font-weight: 500; }
.k-main .sidebar .w-toc .toc-l3 > a { font-size: 13px; }
.k-main .sidebar .w-toc .toc-l4 > a,
.k-main .sidebar .w-toc .toc-l5 > a,
.k-main .sidebar .w-toc .toc-l6 > a { font-size: 12px; color: #6a737d; }

/* 折叠三角（飞书风格：始终可见，展开▼ / 折叠▶） */
.k-main .sidebar .w-toc .toc-toggle {
    position: absolute;
    left: 0;
    top: 8px;
    width: 16px;
    height: 16px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #8b949e;
    cursor: pointer;
    line-height: 1;
    border-radius: 3px;
    transition: opacity 0.15s, color 0.15s, background 0.15s, transform 0.15s;
    transform: rotate(90deg);
    opacity: 0;
    pointer-events: none;
}
.k-main .sidebar .w-toc .has-children:hover > .toc-toggle,
.k-main .sidebar .w-toc .has-children.is-collapsed > .toc-toggle,
.k-main .sidebar .w-toc .toc-toggle:focus-visible {
    opacity: 1;
    pointer-events: auto;
}
.k-main .sidebar .w-toc .has-children.is-collapsed > .toc-toggle {
    transform: rotate(0deg);
}
.k-main .sidebar .w-toc .toc-toggle:hover {
    color: #24292f;
    background: #eef1f4;
}
.k-main .sidebar .w-toc .toc-toggle svg {
    width: 10px;
    height: 10px;
    display: block;
}
.k-main .sidebar .w-toc .has-children.is-collapsed > .toc-list { display: none; }

/* 当前阅读高亮 */
.k-main .sidebar .w-toc .toc-item > a.active {
    background: #eef4fb;
    color: #336699;
    font-weight: 600;
}
.k-main .sidebar .w-toc .is-active-parent > a { color: #336699; }

@media (max-width: 991.98px) {
    .k-main .w-toc {
        position: static;
        max-height: none;
    }
}

@media screen and (max-width: 1310px) {
    .nav-tabs
    .nav-link {
        padding: 8px 22px;
    }

    .k-main
    .sidebar
    .w-tags
    .item
    a {
        width: 110px;
    }

    .k-main
    .sidebar
    .widget_categories
    ul
    li,
    .k-main
    .sidebar
    .widget_archive
    ul
    li {
        width: 110px;
    }
}

@media (min-width: 992px) {
    .navbar-expand-lg
    .navbar-nav
    .nav-link {
        padding-right: 0;
        padding-left: 32px;
    }
}

/*--------------------------------------------------------------
11. 404
--------------------------------------------------------------*/

.k-main
.page404 {
    padding: 40px;
    text-align: center;
}

.k-main
.page404
.overlay {
    position: absolute;
    top: -1px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 101%;
    background: url(assets/img/404.svg) no-repeat center center;
    background-size: cover;
}

.k-main
.page404
.overlay:after,
.k-main
.page404
.overlay:before {
    position: absolute;
    top: 0;
    z-index: 10;
    width: 20px;
    height: 100%;
    background: #ffffff;
    content: "";
}

.k-main
.page404
.overlay:before {
    left: 0;
}

.k-main
.page404
.overlay:after {
    right: 0;
}

.k-main
.page404
.thumbnail {
    position: relative;
    width: 100%;
    height: 500px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.k-main
.page404
.content {
    font-weight: 500;
}

.k-main
.page404
.content
.title {
    font-size: 30px;
}

.k-main
.page404
.content
.subtitle {
    font-size: 16px;
}

.k-main
.page404
.content
.action {
    font-size: 16px;
}

.k-main
.page404
.content
.action
.btn-outline-primary {
    width: 110px;
    border-radius: 2px;
    letter-spacing: 2.4px;
}

.k-main
.page404
.content
.action
.back-prevpage {
    border-color: #336699;
    background-color: #336699;
    color: #fff;
}

.k-main
.page404
.content
.action
.back-prevpage:hover {
    border-color: #009ef9;
    background-color: #009ef9;
}

.k-main
.page404
.content
.action
.back-index {
    border-color: #d8dcdf;
    background-color: transparent;
    background-image: none;
    color: #666;
}

.k-main
.page404
.content
.action
.back-index:hover,
.k-main
.page404
.content
.action
.back-index:not(
    :disabled
  ):not(
    .disabled
  ):active {
    border-color: #d8dcdf;
    background-color: #f6f4f4;
    color: #666;
}

@media screen and (max-width: 768px) {
    .k-main
    .page404
    .thumbnail {
        height: 315px;
    }

    .k-main
    .page404
    .content
    .title {
        font-size: 21px;
    }

    .k-main
    .page404
    .content
    .subtitle {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .k-main
    .page404
    .thumbnail {
        height: 200px;
    }
}

/*--------------------------------------------------------------
12. 页脚
--------------------------------------------------------------*/

.k-footer {
    padding: 40px 0;
    background: #23282d;
}

.k-footer
p {
    margin-bottom: 0;
    color: #8e8e8e;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    cursor: default;
}

.k-footer
p
a {
    color: #8e8e8e;
}

.k-footer
p
a:hover {
    color: #2B5278;
}

.k-footer
p
.police-ico {
    display: inline-block;
    margin-top: -4px;
    margin-right: 6px;
    width: 14px;
    height: 1pc;
    background: url(assets/img/police-ico.png) 0 0 no-repeat;
    vertical-align: middle;
}

.k-footer
.f-toolbox {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 10px;
}

/* 所有工具栈按钮改为 flex 子项自动堆叠：
 * 归零各自写死的 fixed 定位与 bottom（分散在 style.css / dark.css / skin-switcher.css，
 * 用 !important 统一覆盖，避免逐文件维护 bottom 值、按钮相互遮挡） */
.k-footer
.f-toolbox
> div,
.k-footer
.f-toolbox
> .stumble {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    text-align: center;
}

/* 回到顶部未激活时不占位（避免顶部留空槽），激活后自然加入堆叠 */
.k-footer
.f-toolbox
> .gotop:not(.active) {
    display: none;
}

.k-footer
.f-toolbox
.gotop
.gotop-btn
span,
.k-footer
.f-toolbox
.search
span,
.k-footer
.f-toolbox
.stumble
span,
.k-footer
.f-toolbox
.wechat
span {
    display: table-cell;
    width: 40px;
    height: 40px;
    color: #fff;
    vertical-align: middle;
    font-size: 18px;
}

.k-footer
.f-toolbox
.gotop {
    visibility: hidden;
    cursor: pointer;
}

.k-footer
.f-toolbox
.gotop
.gotop-btn {
    display: table;
    width: 40px;
    height: 40px;
    color: #fff;
    text-align: center;
}

.k-footer
.f-toolbox
.gotop.active {
    visibility: visible;
    background: rgba(
            132,
            132,
            132,
            0.7
    );
}

.k-footer
.f-toolbox
.wechat {
    background: rgba(
            132,
            132,
            132,
            0.7
    );
    cursor: pointer;
}

.k-footer
.f-toolbox
.wechat
.wechat-pic {
    display: none;
}

.k-footer
.f-toolbox
.wechat
img {
    position: absolute;
    right: 55px;
    bottom: -55px;
    width: 150px;
    height: 150px;
    max-width: 150px;
    max-height: 150px;
}

.k-footer
.f-toolbox
.stumble {
    display: table;
    background: rgba(
            132,
            132,
            132,
            0.7
    );
    cursor: pointer;
    transition: background 0.2s ease;
}

.k-footer
.f-toolbox
.stumble:hover {
    background: rgba(
            132,
            132,
            132,
            0.9
    );
}

.k-footer
.f-toolbox
.stumble
a {
    display: table-cell;
    width: 40px;
    height: 40px;
    vertical-align: middle;
    text-align: center;
    text-decoration: none;
}

.k-footer
.f-toolbox
.search {
    bottom: 30px;
    display: table;
    background: rgba(
            132,
            132,
            132,
            0.7
    );
    cursor: pointer;
}

.k-footer
.f-toolbox
.search
input {
    width: 100%;
    height: 40px;
    border: 0;
    background: 0 0;
    color: #fff;
    font-size: 17px;
}

.k-footer
.social {
    line-height: 45px;
}

.k-footer
.social
a {
    display: inline-block;
    padding: 0 7px;
}

.k-footer
.social
a
.kicon {
    font-size: 40px;
}

.k-footer .social a > i:not(.kicon) {
    font-size: 34px;
    line-height: 45px;
    vertical-align: middle;
}

.k-footer .social a .social-custom-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    vertical-align: middle;
}

@media screen and (max-width: 768px) {
    .k-footer {
        padding: 30px 0;
    }

    .k-footer
    p {
        font-size: 10px;
    }

    .k-footer
    .social
    a
    .kicon {
        font-size: 38px;
    }

    .k-footer .social a > i:not(.kicon) {
        font-size: 32px;
    }

    .k-footer .social a .social-custom-img {
        width: 32px;
        height: 32px;
    }
}

.wp-smiley {
    width: auto !important;
    max-width: 1.5em !important;
    height: auto !important;
    max-height: 1.5em !important;
}

/*.k-main .details .article .content pre:not([class*="language-"]):not(.hljs) {*/
/*    background: #272822;*/
/*}*/

.k-main .details .comments .comment-respond .comment-textarea .text-bar .tool a img {
    width: 100%;
    height: 100%;
}

.k-main .details .comments .children {
    margin-bottom: 0;
    padding-left: 30px !important;
}

.k-main .details .article .header {
    text-align: unset;
}

.k-main thead {
    border-bottom: 3px #e9ebec solid;
}

/*--------------------------------------------------------------
文章列表布局切换（g_list_layout）
--------------------------------------------------------------*/

/* 说明：所有规则需以 .k-main .board 为前缀，特异性至少与原规则（4 类）持平，才能覆盖默认的图文左右式样式 */

/* 图文左右式增强版 —— 保留经典左右结构，加圆角、阴影、hover 抬升、左右交替 */
.k-main .board .post-list.layout-enhanced .article-panel {
    /*border-radius: 8px;*/
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.k-main .board .post-list.layout-enhanced .article-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}
.k-main .board .post-list.layout-enhanced .article-panel .a-thumb {
    border-radius: 6px;
}
.k-main .board .post-list.layout-enhanced .article-panel .a-thumb img {
    transition: transform 0.4s ease;
}
.k-main .board .post-list.layout-enhanced .article-panel:hover .a-thumb img {
    transform: scale(1.05);
}
.k-main .board .post-list.layout-enhanced .article-panel:nth-child(even) .a-thumb {
    float: right;
}
.k-main .board .post-list.layout-enhanced .article-panel:nth-child(even) .a-post {
    margin-left: 0;
    margin-right: 255px;
    padding: 21px 3px 0 20px;
}

/* 经典大图卡片 —— 图在上、文字在下 */
.k-main .board .post-list.layout-magazine .article-panel {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.k-main .board .post-list.layout-magazine .article-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}
.k-main .board .post-list.layout-magazine .article-panel .a-thumb {
    float: none;
    margin: 0;
    width: 100%;
    height: 360px;
    border-radius: 8px 8px 0 0;
}
.k-main .board .post-list.layout-magazine .article-panel .a-thumb img {
    object-fit: cover;
    transition: transform 0.4s ease;
}
.k-main .board .post-list.layout-magazine .article-panel:hover .a-thumb img {
    transform: scale(1.03);
}
.k-main .board .post-list.layout-magazine .article-panel .a-post {
    margin-left: 0;
    padding: 24px 24px 8px;
    height: auto;
}
.k-main .board .post-list.layout-magazine .article-panel .a-post .header {
    /*display: -webkit-box;*/
    overflow: hidden;
    max-height: 66px;
    line-height: 1.35;
    text-overflow: ellipsis;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.k-main .board .post-list.layout-magazine .article-panel .a-post .header .label,
.k-main .board .post-list.layout-magazine .article-panel .a-post .header .title {
    vertical-align: middle;
}
.k-main .board .post-list.layout-magazine .article-panel .a-post .header .title {
    font-size: 24px;
    line-height: 1.35;
}
.k-main .board .post-list.layout-magazine .article-panel .a-meta {
    padding: 12px 24px;
}
.k-main .board .post-list.layout-magazine .article-panel .a-post .content {
    max-height: 108px;
    line-height: 27px;
    -webkit-line-clamp: 4;
}
.k-main .board .post-list.layout-magazine .article-panel .a-post .content p {
    line-height: 27px;
}
.k-main .board .post-list.layout-magazine .article-panel .a-card,
.k-main .board .post-list.layout-grid .article-panel .a-card {
    top: -16px;
    right: -1px;
    z-index: 2;
}

/* 网格卡片 —— 双列图上文下（.post-list.layout-grid 同时带 .row，gutter 由 bootstrap 提供） */
.k-main .board .post-list.layout-grid .grid-col {
    margin-bottom: 20px;
}
.k-main .board .post-list.layout-grid .grid-col > .article-panel {
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.k-main .board .post-list.layout-grid .grid-col > .article-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}
.k-main .board .post-list.layout-grid .article-panel .a-thumb {
    float: none;
    margin: 0;
    width: 100%;
    height: 200px;
    border-radius: 8px 8px 0 0;
}
.k-main .board .post-list.layout-grid .article-panel .a-thumb img {
    object-fit: cover;
}
.k-main .board .post-list.layout-grid .article-panel .a-post {
    margin-left: 0;
    padding: 18px 18px 4px;
    height: auto;
    flex: 1 1 auto;
}
.k-main .board .post-list.layout-grid .article-panel .a-post .header {
    /*display: -webkit-box;*/
    overflow: hidden;
    max-height: 51px;
    line-height: 1.4;
    text-overflow: ellipsis;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.k-main .board .post-list.layout-grid .article-panel .a-post .header .label,
.k-main .board .post-list.layout-grid .article-panel .a-post .header .title {
    vertical-align: middle;
}
.k-main .board .post-list.layout-grid .article-panel .a-post .header .title {
    font-size: 18px;
    line-height: 1.4;
}
.k-main .board .post-list.layout-grid .article-panel .a-post .content {
    max-height: 66px;
    line-height: 22px;
    -webkit-line-clamp: 3;
}
.k-main .board .post-list.layout-grid .article-panel .a-post .content p {
    font-size: 14px;
    line-height: 22px;
}
.k-main .board .post-list.layout-grid .article-panel .a-meta {
    padding: 6px 18px;
    font-size: 12px;
    line-height: 24px;
}
.k-main .board .post-list.layout-grid .article-panel .a-meta span {
    font-size: 12px;
    line-height: 22px;
}

/* 极简列表 —— 无图 / 突出标题，杂志目录风格 */
.k-main .board .post-list.layout-minimal .article-panel {
    background-color: transparent;
    box-shadow: none;
    border: none;
    border-radius: 0;
    margin: 0 0 14px;
    padding: 14px 22px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.k-main .board .post-list.layout-minimal .article-panel:hover {
    background-color: rgba(51, 102, 153, 0.03);
    transform: translateX(2px);
}
.k-main .board .post-list.layout-minimal .article-panel:first-of-type {
    padding-top: 14px;
}
.k-main .board .post-list.layout-minimal .article-panel:last-of-type {
    margin-bottom: 0;
}
.k-main .board .post-list.layout-minimal .article-panel .a-thumb,
.k-main .board .post-list.layout-minimal .article-panel .a-post .content,
.k-main .board .post-list.layout-minimal .article-panel .a-meta {
    display: none;
}
.k-main .board .post-list.layout-minimal .article-panel .a-card {
    top: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 2;
}
.k-main .board .post-list.layout-minimal .article-panel .a-card .kicon {
    font-size: 28px;
    line-height: 1;
}
.k-main .board .post-list.layout-minimal .article-panel .a-post {
    margin-left: 0;
    padding: 0 44px 0 0;
    height: auto;
}
.k-main .board .post-list.layout-minimal .article-panel .a-post .header {
    /*display: -webkit-box;*/
    overflow: hidden;
    max-height: 72px;
    line-height: 1.5;
    margin: 0;
    text-overflow: ellipsis;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.k-main .board .post-list.layout-minimal .article-panel .a-post .header .label,
.k-main .board .post-list.layout-minimal .article-panel .a-post .header .title {
    vertical-align: middle;
}
.k-main .board .post-list.layout-minimal .article-panel .a-post .header .title {
    font-size: 26px;
    line-height: 1.4;
    font-weight: 600;
}
.k-main .board .post-list.layout-minimal .article-panel .a-post .content {
    max-height: 56px;
    line-height: 28px;
    -webkit-line-clamp: 2;
    color: #666;
    margin-bottom: 4px;
}
.k-main .board .post-list.layout-minimal .article-panel .a-post .content p {
    line-height: 28px;
}
.k-main .board .post-list.layout-minimal .article-panel .a-meta {
    padding: 12px 0 0;
    border-top: none;
    opacity: 0.75;
}

/* 响应式：网格在小屏改单列；增强版取消偶数行交替与左右浮动溢出 */
@media (max-width: 991px) {
    .k-main .board .post-list.layout-grid .grid-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    /* 偶数篇在桌面是左右交替（thumb float:right）。移动端要恢复成图上文下的
     * 堆叠：thumb 必须 float:none（不是 float:left——通用移动端已把 thumb 设成
     * width:auto;height:0;padding-bottom:53% 的等比盒，再叠 float 会塌缩成窄浮动，
     * .a-post 绕排导致标题/内容被挤没）。padding 也要跟奇数篇一致重置。 */
    .k-main .board .post-list.layout-enhanced .article-panel:nth-child(even) .a-thumb {
        float: none;
    }
    .k-main .board .post-list.layout-enhanced .article-panel:nth-child(even) .a-post {
        margin-right: 0;
        padding: 0 12px;
    }
    .k-main .board .post-list.layout-magazine .article-panel .a-thumb {
        height: 200px;
    }
    .k-main .board .post-list.layout-magazine .article-panel .a-post .header .title {
        font-size: 20px;
    }
}

/* ============================================================
   个人简介小工具（增强版）w-about-plus
   ============================================================ */
.k-main .sidebar .w-about.w-about-plus {
    padding: 0;
    overflow: hidden;
}
.w-about-plus .w-about-header {
    position: relative;
    height: 120px;
}
.w-about-plus .w-about-overlay {
    position: absolute;
    inset: 0;
}
.w-about-plus .w-about-wrapper {
    position: relative;
    z-index: 2;
}
.w-about-plus .w-about-avatar {
    position: relative;
    display: inline-block;
    line-height: 0;
    margin-top: -50px;
}
.k-main .sidebar .w-about.w-about-plus .wrapper img {
    margin: 0;
}
.w-about-plus .w-about-avatar img {
    width: 100px;
    height: 100px;
    border: rgba(255, 255, 255, 0.5) 4px solid;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    background: #fff;
    display: block;
}
.w-about-plus .w-about-avatar.is-circle img {
    border-radius: 50%;
}
.w-about-plus .w-about-avatar.is-rounded img {
    border-radius: 14px;
}
.w-about-plus .w-about-avatar.is-hoverable img {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.w-about-plus .w-about-avatar.is-hoverable:hover img {
    transform: rotate(6deg) scale(1.04);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}
.w-about-plus .w-about-online {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #34d399;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.35);
}
.w-about-plus .w-about-badge {
    position: absolute;
    right: -4px;
    top: -4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.w-about-plus .w-about-body {
    padding: 10px 20px 20px;
}
.w-about-plus .w-about-body .username {
    margin: 6px 0 2px;
    font-size: 17px;
    font-weight: 600;
}
.w-about-plus .w-about-body .slogan {
    margin: 0 0 8px;
    font-size: 13px;
    color: #8a8f99;
}
.w-about-plus .about {
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
    color: #555;
}
.w-about-plus .about p {
    margin: 0 0 6px;
}
.w-about-plus .about a {
    color: var(--kr-skin-accent, var(--kr-accent, #5a86e0));
}
.w-about-plus .about.is-collapsible .about-inner {
    max-height: 5.6em;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent);
            mask-image: linear-gradient(180deg, #000 60%, transparent);
}
.w-about-plus .about.is-collapsible.is-open .about-inner {
    max-height: none;
    -webkit-mask-image: none;
            mask-image: none;
}
.w-about-plus .about-toggle {
    margin-top: 6px;
    background: none;
    border: none;
    color: var(--kr-skin-accent, var(--kr-accent, #5a86e0));
    cursor: pointer;
    font-size: 13px;
    padding: 2px 6px;
}

/* 统计条 */
.w-about-plus .w-about-stats {
    display: flex;
    justify-content: space-around;
    margin: 12px 0 6px;
    padding: 10px 6px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}
.w-about-plus .w-about-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 2px 0;
}
.w-about-plus .w-about-stat-num {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}
.w-about-plus .w-about-stat-label {
    font-size: 12px;
    color: #8a8f99;
    margin-top: 2px;
}
.w-about-plus a.w-about-stat:hover .w-about-stat-num {
    color: var(--kr-skin-accent, var(--kr-accent, #5a86e0));
}

/* 社交 */
.w-about-plus .w-about-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 12px 0;
}
.w-about-plus .w-about-social,
.k-main .sidebar .w-about-plus a.w-about-social {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--kr-skin-muted, #666);
    background: rgba(0, 0, 0, 0.05);
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    outline: none;
}
/* hover / focus：显式声明 color 为白色（对比 accent 背景），
   特异性必须高于 weekday-skins.css 里 `html[data-weekday-skin]…​.k-main a:hover` 那条
   否则皮肤会把图标 color 覆盖成 --kr-skin-link-hover（深色），
   与 accent 深色背景撞色导致图标视觉消失 */
.w-about-plus .w-about-social:hover,
.w-about-plus .w-about-social:focus,
.k-main .sidebar .w-about-plus a.w-about-social:hover,
.k-main .sidebar .w-about-plus a.w-about-social:focus,
.k-main .sidebar .w-about-plus span.w-about-social:hover,
.k-main .sidebar .w-about-plus span.w-about-social:focus {
    background: var(--kr-skin-accent, var(--kr-accent, #5a86e0));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.w-about-plus .w-about-social:hover .kicon,
.w-about-plus .w-about-social:hover i,
.w-about-plus .w-about-social:focus .kicon,
.w-about-plus .w-about-social:focus i,
.w-about-plus .w-about-social:hover .w-about-social-letter,
.w-about-plus .w-about-social:focus .w-about-social-letter,
.k-main .sidebar .w-about-plus a.w-about-social:hover .kicon,
.k-main .sidebar .w-about-plus a.w-about-social:hover i,
.k-main .sidebar .w-about-plus a.w-about-social:focus .kicon,
.k-main .sidebar .w-about-plus a.w-about-social:focus i {
    color: #fff;
}
/* 统一图标尺寸：kicon（iconfont）在 iconfont.min.css 中被 !important 锁到 16px，
   FontAwesome / 其他 <i> 则继承 font-size；这里用 !important 强制对齐，
   并给出固定的 1em 方框 + 居中，避免不同字体基线差异导致视觉大小不一 */
.w-about-plus .w-about-social .kicon,
.w-about-plus .w-about-social i {
    font-size: 18px !important;
    line-height: 1;
    width: 1em;
    height: 1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}
.w-about-plus .w-about-social .kicon::before,
.w-about-plus .w-about-social i::before {
    font-size: inherit;
    line-height: 1;
}
.w-about-plus .w-about-social-letter {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}
.w-about-plus .w-about-qr-pop {
    position: absolute;
    bottom: 42px;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    opacity: 0;
    pointer-events: none;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
    white-space: nowrap;
    text-align: center;
}
.w-about-plus .w-about-qr-pop::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 12px;
    height: 12px;
    background: #fff;
    transform: translateX(-50%) rotate(45deg);
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.05);
}
.w-about-plus .w-about-qr-pop img {
    display: block;
    width: 130px;
    height: 130px;
    margin: 0 auto;
}
.w-about-plus .w-about-qr-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}
.w-about-plus .w-about-social.has-qr:hover .w-about-qr-pop,
.w-about-plus .w-about-social.has-qr:focus .w-about-qr-pop {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* CTA */
.w-about-plus .w-about-cta {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}
.w-about-plus .w-about-cta-btn {
    flex: 1;
    display: inline-block;
    text-align: center;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.k-main .sidebar .w-about-plus a.w-about-cta-btn.is-primary,
.w-about-plus a.w-about-cta-btn.is-primary {
    background: var(--kr-skin-accent, var(--kr-accent, #5a86e0));
    color: #fff;
    border: 1px solid transparent;
}
.k-main .sidebar .w-about-plus a.w-about-cta-btn.is-primary:hover,
.w-about-plus a.w-about-cta-btn.is-primary:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    color: #fff;
}
.k-main .sidebar .w-about-plus a.w-about-cta-btn.is-ghost,
.w-about-plus a.w-about-cta-btn.is-ghost {
    background: transparent;
    color: var(--kr-skin-accent, var(--kr-accent, #5a86e0));
    border: 1px solid var(--kr-skin-accent, var(--kr-accent, #5a86e0));
}
.k-main .sidebar .w-about-plus a.w-about-cta-btn.is-ghost:hover,
.w-about-plus a.w-about-cta-btn.is-ghost:hover {
    background: var(--kr-skin-accent, var(--kr-accent, #5a86e0));
    color: #fff;
}

/* 深色模式适配（跟随 dark.css 与皮肤主色变量） */
html[data-theme="dark"] .w-about-plus .about {
    color: var(--kr-fg, #c9cdd4);
}
html[data-theme="dark"] .w-about-plus .w-about-body .slogan,
html[data-theme="dark"] .w-about-plus .w-about-stat-label {
    color: var(--kr-fg-muted, #8a8f99);
}
html[data-theme="dark"] .w-about-plus .w-about-stat-num {
    color: var(--kr-fg-strong, #e5e7eb);
}
html[data-theme="dark"] .w-about-plus .w-about-social {
    background: rgba(255, 255, 255, 0.08);
    color: var(--kr-fg, #d0d3da);
}
html[data-theme="dark"] .w-about-plus .w-about-stats {
    border-top-color: var(--kr-border, rgba(255, 255, 255, 0.1));
    border-bottom-color: var(--kr-border, rgba(255, 255, 255, 0.1));
}
html[data-theme="dark"] .w-about-plus .w-about-stat-num {
    color: var(--kr-fg-strong, #e5e7eb);
}
html[data-theme="dark"] .w-about-plus a.w-about-stat:hover .w-about-stat-num {
    color: var(--kr-link-hover, var(--kr-accent));
}
html[data-theme="dark"] .w-about-plus a.w-about-cta-btn.is-primary {
    color: #fff;
}
html[data-theme="dark"] .w-about-plus a.w-about-cta-btn.is-ghost {
    color: var(--kr-accent);
    border-color: var(--kr-accent);
    background: transparent;
}
html[data-theme="dark"] .w-about-plus a.w-about-cta-btn.is-ghost:hover {
    background: var(--kr-accent);
    color: #fff;
}
html[data-theme="dark"] .w-about-plus .about-toggle {
    color: var(--kr-link-hover, var(--kr-accent));
}