/* 内容模块增强样式 */

/* 相关内容模块样式 */
.relevant-plane {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 0 2px 0 rgba(98, 124, 153, .1);
    margin-top: 20px;
    overflow: hidden;
}

.relevant-plane .plane-title {
    padding: 15px 20px;
    color: #18191a;
    border-bottom: 1px solid #f5f6f7;
    font-size: 16px;
    font-weight: 500;
    position: relative;
}

.relevant-plane .plane-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100px;
    height: 3px;
    background: var(--Maincolor);
}

.relevant-list {
    list-style: none;
    padding: 0;
}

.relevant-list li {
    padding: 12px 20px;
    border-bottom: 1px solid #f5f6f7;
    transition: all 0.3s ease;
}

.relevant-list li:last-child {
    border-bottom: none;
}

.relevant-list li:hover {
    background-color: #f9f9f9;
    padding-left: 25px;
}

.relevant-list li a {
    color: #333;
    font-size: 14px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.relevant-list li a:hover {
    color: var(--Maincolor);
}

/* 文章末尾工具区域样式 */
.post-end-tools {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f5f6f7;
}

.post-copyright {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.6;
    border-radius: 4px;
    background: #f7f9fa;
    padding: 15px 20px;
    color: #666;
    position: relative;
    border-left: 3px solid var(--Maincolor);
}

.post-copyright p {
    margin: 0;
}

.post-copyright a {
    color: var(--Maincolor);
}

.post-end-dividing {
    text-align: center;
    color: #b1b1b8;
    margin: 25px 0;
    font-size: 14px;
    user-select: none;
    position: relative;
}

.post-end-dividing:before,
.post-end-dividing:after {
    content: "";
    background: #f3f3f3;
    width: 25%;
    vertical-align: middle;
    height: 1px;
    display: inline-block;
    margin: 0 15px;
}

.post-tags {
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.post-tags-icon {
    margin-right: 12px;
    color: #fff;
    padding: 4px 8px;
    border-radius: 50%;
    background: var(--Maincolor);
    font-size: 12px;
}

.post-tags a {
    font-size: 13px;
    margin-right: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    opacity: 0.9;
    margin-bottom: 8px;
    display: inline-block;
    color: #666;
    background: #f3f3f3;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: var(--Maincolor);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(64, 158, 255, 0.3);
}

/* 文章翻页样式增强 */
.post-turn-page-plane {
    display: flex;
    justify-content: space-between;
    flex-shrink: 0;
    margin: 25px 0;
    color: #fff;
}

.post-turn-page {
    flex: 40%;
    padding: 15px;
    border-radius: 8px;
    overflow: hidden;
    font-size: 14px;
    position: relative;
    flex-shrink: 0;
    color: #fff;
    background-size: cover;
    background-position: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 120px;
    display: flex;
    align-items: center;
}

.post-turn-page:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.post-turn-page-main {
    z-index: 10;
    font-size: 16px;
    position: relative;
}

.post-turn-page-link-pre,
.post-turn-page-link-next {
    font-size: 13px;
    margin-top: 8px;
}

.post-turn-page-main a {
    color: #fff;
    font-weight: 500;
}

.post-turn-page-main a:hover {
    text-decoration: underline;
}

.post-turn-page-next {
    text-align: right;
    margin-left: 10px;
}

/* 文章内容样式增强 */
.post-content {
    padding: 30px;
    line-height: 1.7;
    color: #4e5358;
    position: relative;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    margin: 20px 0 15px;
    line-height: 1.4;
}

.post-content h1 {
    font-size: 24px;
    color: #333;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.post-content h2 {
    font-size: 20px;
    padding-left: 15px;
    border-left: 3px solid var(--Maincolor);
    margin: 25px 0 15px;
}

.post-content h3 {
    font-size: 18px;
    margin: 20px 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #f0f0f0;
}

.post-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: justify;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-content ul,
.post-content ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.post-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.post-content blockquote {
    position: relative;
    padding: 20px 25px;
    background: #f9f9f9;
    border-left: 3px solid var(--Maincolor);
    border-radius: 4px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

.post-content blockquote:before {
    content: "" ";
 font-size: 48px;
    color: var(--Maincolor);
    opacity: 0.3;
    position: absolute;
    left: 10px;
    top: -5px;
}

.post-content pre {
    background: #f6f8fa;
    border-radius: 6px;
    padding: 15px;
    overflow: auto;
    margin: 15px 0;
    font-size: 13px;
    line-height: 1.5;
    border-left: 3px solid var(--Maincolor);
}

.post-content code {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
    background: #f6f8fa;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 13px;
    color: #e83e8c;
}

.post-content pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* 文章信息样式增强 */
.post-info {
    margin-bottom: 20px;
    padding-bottom: 15px;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #f5f6f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-info-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.post-info .fa {
    margin: 0 5px;
}

.post-info a {
    color: #666;
    transition: color 0.3s ease;
}

.post-info a:hover {
    color: var(--Maincolor);
}

.dot {
    margin: 0 5px;
    color: #ddd;
}

/* 面包屑导航样式增强 */
.crumbs-plane-body {
    padding: 15px 0;
    border-bottom: 1px solid #f5f6f7;
    margin-bottom: 20px;
}

.crumbs-plane {
    padding: 10px;
    border-bottom: 1px solid #f7f7f7;
    font-size: 14px;
    color: #666;
    transition: all .3s;
    position: relative;
}

.corepress-crumbs-ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.corepress-crumbs-ul li {
    list-style: none;
    display: inline-block;
    margin-left: 10px;
}

.corepress-crumbs-ul li:first-child {
    margin-left: 0;
}

.corepress-crumbs-ul li a {
    color: #999;
    transition: color 0.3s ease;
    display: inline-block;
}

.corepress-crumbs-ul li a:hover {
    color: var(--Maincolor);
    text-decoration: underline !important;
}

.corepress-crumbs-ul li:after {
    content: " >";
    color: #999;
}

.corepress-crumbs-ul li:last-child:after {
    content: "";
}

/* 响应式调整 */
@media screen and (max-width: 1040px) {
    .relevant-plane {
        margin-top: 15px;
    }

    .post-end-tools {
        margin-top: 20px;
    }

    .post-turn-page-plane {
        margin: 20px 0;
    }
}

@media screen and (max-width: 800px) {
    .post-content {
        padding: 20px 15px;
    }

    .post-copyright {
        padding: 12px 15px;
        font-size: 13px;
    }

    .relevant-plane .plane-title {
        padding: 12px 15px;
        font-size: 15px;
    }

    .relevant-list li {
        padding: 10px 15px;
    }
}