.exp-block-trigger {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url("../face.png") no-repeat 0 0;
    text-indent: -999px;
    float: left;
    margin-right: 5px;
    margin-top: 3px;
}

.exp-layer {
    display: none;
    position: absolute;
    left: 200px;
    top: 200px;
    z-index: 10;
    width: 394px;
    border-radius: 4px;
    padding: 4px;
    background: url("../img/layer_bg.png");
}

.exp-layer .holder {
    position: relative;
    z-index: 30;
    border: 1px solid #c3c3c3;
    border-radius: 4px;
    background: #fff;
}

.exp-layer .exp-tri {
    position: absolute;
    left: 30px;
    top: -7px;
    z-index: 40;
    width: 16px;
    height: 12px;
    background: url("../img/layer_arrow.png");
}

.exp-layer .exp-close {
    display: block;
    position: absolute;
    right: 14px;
    top: 5px;
    z-index: 20;
    width: 20px;
    height: 20px;
    background: url("../img/ico.png") 5px -250px no-repeat;
}

.exp-layer .exp-close:hover {
    background-position: 0 -1954px;
}

.exp-layer .exp-tab {
    padding: 4px 4px 0 6px;
    background: #F0F0F0;
}

.exp-layer .exp-tab a {
    display: block;
    float: left;
    height: 25px;
    margin: 0 3px;
    padding: 0 10px;
    border: 1px solid #E8E8E8;
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
    background: #fff;
    font-size: 12px;
    font-weight: 400;
    text-overflow: clip;
    color: #666;
    text-decoration: none;
    line-height: 25px;
}

.exp-layer .exp-sub-tab {
    position: relative;
    margin: 10px 0px 0px 16px;
    padding-right: 60px;
    overflow: hidden;
}

.exp-layer .exp-sub-tab a {
    display: block;
    float: left;
    height: 23px;
    padding: 0 7px;
    color: #9ABBC8;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    line-height: 23px;
}

.exp-layer .exp-sub-tab a.slct {
    background: none repeat scroll 0 0 #F0F0F0;
    border-radius: 3px 3px 3px 3px;
    cursor: default;
    position: relative;
    text-decoration: none;
    z-index: 2;
}

.exp-layer .exp-sub-tab span {
    float: left;
    margin: 0 5px;
    color: #9ABBC8;
}

.exp-layer .sub-tab-pagination {
    position: absolute;
    right: 10px;
    top: 0px;
    height: 100%;
}

.exp-layer .sub-tab-pagination a {
    display: none;
    width: 17px;
    height: 17px;
    margin: 0 2px;
    padding: 0;
    background: url("../img/ico.png") no-repeat;
    cursor: pointer;
    display: inline;
    line-height: 17px;
}

.exp-layer .sub-tab-pagination .pre {
    background-position: 0 -1290px;
}

.exp-layer .sub-tab-pagination .next {
    background-position: 0 -1176px;
}

.exp-layer .sub-tab-pagination a.pre-disable {
    background-position: 0 -1367px;
    cursor: default;
}

.exp-layer .sub-tab-pagination a.next-disalbe {
    background-position: 0 -1253px;
    cursor: default;
}

.exp-layer .exp-detail {
    margin: 10px;
}

.exp-detail li {
    display: block;
    float: left;
    width: 26px;
    height: 22px;
    margin: -1px 0 0 -1px;
    border: 1px solid #e8e8e8;
    padding: 4px 2px;
    text-align: center;
    cursor: pointer;
}

.exp-detail li:hover {
    position: relative;
    border: 1px solid #0095cd;
    background: #fff9ec;
    z-index: 50;
}


.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

* html .clearfix {
    zoom: 1;
}

/* IE6 */
*:first-child+html .clearfix {
    zoom: 1;
}

/* IE7 */


.jiemian-nav.parent li {
    height: 100%;
    font-size: 18px;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
    border-right: 1px solid #343434;
    border-left: 0;
    float: none;
    position: static;
}

.jiemian-nav.parent li a {
    display: block;
    height: 100%;
    padding: 0 15px;
    color: rgba(255, 255, 255, .7);
    position: relative;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
    z-index: 1;
    font-family: STSongti-SC-Black, STSongti-SC, 'Noto Serif SC', simsun, sans-serif, Arial;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -ms-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

.jiemian-nav.parent li a:hover {
    background-color: red;
    color: #ffffff;
}

/* 分页样式 */

#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;
}

/* 导航栏样式 */
.weizhi {
    margin: 0 auto;
    width: 1200px;
    background-color: #fff;
    padding: 15px 0;
}


.weizhi a {
    text-decoration: none;
    color: #000;
    /* 红色文字 */
    /* font-size: 18px; */
    /* margin-left: 10px; */
    border-radius: 4px;
    transition: all 0.3s ease;
    /* 平滑过渡效果 */
}

/* 悬浮效果 */
.weizhi a:hover {
    color: red;
    /* 白色文字 */
    transform: translateY(-2px);
    /* 轻微上移效果 */
}



.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 50px auto;
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 575px;
}

.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;
    }
}

/* 上一章文章下一章文章导航 */
.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;
}