body {
    font-family: wenanjie, -apple-system, WenQuanYi Micro Hei, BlinkMacSystemFont, OPPOSans2, Microsoft YaHei, Helvetica Neue, PingFang SC, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;
}

/* 头样式 */

.site-header .social-top {
    height: 119px;
}

.mg-b {
    margin-bottom: 16px;
}

.site .site-header-in {
    transform: translate(0);
    transition: transform .3s;
    box-shadow: 0px 5px 40px 0px rgba(17, 58, 93, .1);
}

.site-header-in {
    position: fixed;
    width: 100%;
    z-index: 7;
}

.social-top .header-banner {
    height: 64px;
    z-index: 6;
}

.header-banner {
    background-color: #000000;
    width: 100%;
    position: relative;
    z-index: 6;
}

.social-top .header-banner-content {
    height: auto;
    position: relative;
}

.wrapper {
    width: 1028px;
    max-width: 100%;
    margin: 0 auto;
}

.header-banner-content {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.header-banner-content>div {
    display: flex;
    align-items: center;
    line-height: 1;
}

.social-top .header-logo {
    margin-right: 30px;
    padding: 15px 0;
}

.logo {
    display: flex;
    height: 34px;
    align-items: center;
}

.logo a {
    margin: 0 auto !important;
    display: flex;
    font-weight: bold;
    margin-right: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

.header-banner-left .menu {
    display: flex;
    align-items: center;
    white-space: nowrap;
    list-style-type: none;
}

.header-banner .ym-menu a,
.header-banner,
.social-top .site-title,
.top-search-button button,
.top-search input,
.login-button .b2-account-circle-line {
    color: #ffffff;
    fill: #ffffff;
}

.header-banner-content>div {
    display: flex;
    align-items: center;
    line-height: 1;
}

.header-banner-left {
    opacity: 1;
    transition: opacity .3s;
}

.social-top .header-banner-left .menu li a {
    opacity: 1;
    font-size: 16px;
    position: relative;
}

.header-banner-left .menu li a {
    display: flex;
    align-items: center;
    transition: opacity .2s ease-out;
    padding: 21px 0;
    position: relative;
}

a,
abbr,
acronym,
address,
applet,
big,
blockquote,
body,
caption,
cite,
code,
dd,
del,
dfn,
div,
dl,
dt,
em,
fieldset,
figure,
font,
form,
h1,
h2,
h3,
h4,
h5,
h6,
html,
iframe,
ins,
kbd,
label,
legend,
li,
object,
ol,
p,
pre,
q,
s,
samp,
small,
span,
strike,
strong,
sub,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
tr,
tt,
ul,
var {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
    word-wrap: break-word;
    box-sizing: border-box;
}

li {
    text-align: -webkit-match-parent;
}

.search-button-action {
    background: none;
    border: 0;
    position: absolute;
    right: -5px;
    top: 0;
    color: inherit;
}

.b2font {
    font-family: "b2font" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.top-search input {
    padding: 8px 37px 8px 8px;
    width: 150px;
    background: none;
    border: 0;
    margin-right: auto;
}

button,
.button {
    border-radius: 4px;
    color: #fff;
    padding: 8px 16px;
    transition: opacity .2s;
    position: relative;
    cursor: pointer;
    font-size: 12px;
    margin: 0;
    white-space: nowrap;
}

.top-style-blur {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 1px;
    /* background: #fff; */
}

.social-top .mobile-box {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-box {
    background: #ffffff;
}

.social-top .top-style-bottom .wrapper {
    display: flex;
    justify-content: space-between;
}

.social-top .header .wrapper {
    height: 55px;
}

/* 页尾样式 */
.site-footer-nav {
    display: flex;
    background-color: #ffffff;
}

.footer-links {
    text-align: left;
    padding-top: 20px;
    padding-bottom: 20px;
    border-radius: 3px;
    position: relative;
    background: rgb(0 0 0 / 3%);
    color: #969696;
    border-radius: 8px;
}

.site-footer-nav .wrapper .footer-links {
    margin: 20px 0;
}


.mobile-hidden {
    display: block;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
}

ol,
ul {
    list-style: none;
}

.site-footer-nav .footer-bottom {
    width: 100%;
}

.footer-bottom {
    color: #969696;
    display: flex;
    height: 60px;
    align-items: center;
    justify-content: space-between;
}

.b2-dot {
    padding: 0 5px;
}


/* 首页身体页样式 */
.post-list .load-more button {
    width: 100%;
    border-color: rgba(255, 255, 255, 0);
    padding: 14px;
    border: 0;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #000;
}

.post-3 .post-3-li .item-in {
    border-bottom: 1px solid #F5F6F7;
    margin: 0;
}

.load-more {
    border-radius: 0 0 8px 8px;
    border-left: 1px solid #f1f1f1;
    border-right: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
}

.item-in {
    border-left: 1px solid #f1f1f1;
    border-right: 1px solid #f1f1f1;
}

.post-modules-top {
    border-radius: 8px 8px 0 0;
    border-top: 1px solid #f1f1f1;
    border-left: 1px solid #f1f1f1;
    border-right: 1px solid #f1f1f1;
}


.title-box {
    border-radius: 8px 8px 0 0;
    border-top: 1px solid #f1f1f1;
    border-left: 1px solid #f1f1f1;
    border-right: 1px solid #f1f1f1;
}

.widget-comment-list {
    border-radius: 0 0 8px 8px;
    border-left: 1px solid #f1f1f1;
    border-right: 1px solid #f1f1f1;
    border-bottom: 1px solid #f1f1f1;
}

/* 内容页 */
.text {
    background: #ffff;
}

.top-menu ul li a {
    font-size: 14px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    line-height: 57px;
    position: relative;
    z-index: 2;
    height: 57px;
}

.top-menu ul li a:hover {
    color: red;
}

.social-top .header-banner-left .menu li a:hover {
    color: red;
}

.post-list-cats li {
    list-style: none;
    margin-left: 10px;
}

.post-list-cats a {
    position: relative;
    padding: 0 16px;
    display: block;
    border-radius: 20px;
    color: #8590A6;
    /* background-color: #fff; */
    background-color: #f5f6f7;
    height: 32px;
    line-height: 32px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* 分页样式 */

#pagi {
    text-align: center;
    margin: 20px 0;
}

#pagi a,
#pagi b {
    border-radius: 10px;
    display: inline-block;
    padding: 5px 10px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-decoration: none;
}

#pagi a:hover {
    background-color: #f5f5f5;
}

.zit {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

/* 上一章文章下一章文章导航 */
.article-nav {
    display: flex;
    justify-content: space-between;
    /* margin: 40px 0; */
    margin-top: 20px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.nav-item {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-item:hover {
    color: #1890ff;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #1890ff;
    transition: width 0.3s ease;
}

.nav-item:hover::before {
    width: 100%;
}

.nav-item.prev {
    text-align: left;
}

.nav-item.next {
    text-align: right;
    flex-direction: row-reverse;
}

.nav-icon {
    font-size: 24px;
    margin: 0 15px;
    color: #999;
    transition: transform 0.3s ease;
}

.nav-item:hover .nav-icon {
    transform: translateX(-5px);
}

.nav-item.next:hover .nav-icon {
    transform: translateX(5px);
}

.nav-content {
    flex: 1;
}

.nav-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}


/* 响应式设计 */
@media (max-width: 768px) {
    .article-nav {
        flex-direction: column;
        gap: 20px;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item.next {
        flex-direction: row;
    }

    .nav-icon {
        margin: 0 10px;
    }
}

/* 添加一些动画效果 */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-nav {
    animation: slideIn 0.5s ease;
}

.carousel-container {
    border: 1px solid #F5F6F7;
    border-radius: 10px;
    position: relative;
    width: 100%;
    max-width: 1200px;
    /* margin: 50px auto; */
    overflow: hidden;
    margin-bottom: 15px;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 450px;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 导航按钮样式 */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 16px;
    cursor: pointer;
    border: none;
    font-size: 18px;
    transition: background-color 0.3s;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

/* 指示器样式 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background: white;
}

/* 响应式设计 */
@media (max-width: 600px) {
    .carousel-slide {
        height: 250px;
    }

    .carousel-nav {
        padding: 12px;
        font-size: 14px;
    }
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #000;
    z-index: 9999;
    /* padding: 8px 0; */
    min-width: 64px;
    flex-direction: column;
}

.dropdown-menu li {
    display: block;
    margin-left: 0;
}

.dropdown-menu li a {
    text-align: center;
    color: #333;
    text-decoration: none;
    display: block;
    padding: 0 10px;
    border-radius: 0;
    margin: 0 12px;
}

li:hover .dropdown-menu {
    display: flex;
    flex-direction: column;
}

.header-banner-left .ym-menu .menu .right .dropdown-menu li {
    display: flex;
    justify-content: center;
}

.header-banner-left .ym-menu .menu .right .dropdown-menu li a {
    margin: 0;
    padding: 8px 0;
}

.post-carts-list-row .right .dropdown-menu {
    background: none;
}