/* ==========================================
   show.html 财大红主题 CSS
   核心色值：
   主色：#901C1C（财大红）
   辅助色：#F9F0F0（浅红背景）、#701616（深色红）
   中性色：#333（正文）、#666（次要文本）、#778899（辅助文本）、#eee（分割线）
========================================== */

/* 全局重置与基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    min-height: 100vh;
    line-height: 1.7;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 核心容器样式 */
.show-wrapper {
    width: 100%;
    background-color: #f3f8fc;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 1000px;
    padding: 30px 0;
}

.show-container {
    width: 1400px;
    padding: 0 16px;
}

/* 面包屑导航样式 */
.show-crumb {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-weight: 600;
    color: #901C1C;
    margin-bottom: 24px;
    font-size: 16px;
}

.crumb-home {
    color: #901C1C;
}

.crumb-home:hover,
.crumb-item:hover {
    color: #701616;
}

.crumb-sep {
    margin: 0 8px;
    color: #778899;
}

.crumb-item {
    color: #901C1C;
}

/* 文章标题区域 */
.show-header {
    background-color: #fff;
    padding: 24px;
}

.title-wrap {
    text-align: center;
    margin-bottom: 16px;
}

/* 主标题样式 */
.main-title {
    font-size: 32px;
    font-weight: 700;
    color: #901C1C;
    margin-bottom: 12px;
    line-height: 1.4;
}

/* 副标题样式 */
.sub-title {
    font-size: 20px;
    color: #901C1C;
    margin-bottom: 8px;
    font-weight: 500;
}

/* 短标题样式 */
.slug-title {
    font-size: 18px;
    color: #666;
    font-weight: 400;
    margin-bottom: 20px;
}

/* 发布信息栏 */
.meta-info {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 14px;
    color: #778899;
    margin-top: 24px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

.meta-left {
    margin-right: 16px;
}

.ml-3 {
    margin-left: 12px;
}

.source {
    color: #778899;
}

/* 字体大小调整按钮 */
.meta-right {
    display: flex;
    align-items: center;
}

.cursor-pointer {
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    margin: 0 2px;
    transition: all 0.2s ease;
}

/* 字体按钮选中/hover样式 */
.cursor-pointer:hover,
.cursor-pointer.active {
    background-color: #901C1C;
    color: #fff !important;
}

/* 文章内容区域（核心：设置最小高度） */
.show-content {
    background-color: #fff;
    padding: 24px;
    border: 1px solid #f8f8f8;
    /* 重点：设置内容区域最小高度 */
    min-height: 500px; 
}

.content-wrap {
    line-height: 24px;
    font-size: 16px;
    color: #333;
    margin-top: 0;
}

/* 文章内容内部样式优化 */
.content-wrap p {
    margin-bottom: 16px;
    text-align: justify;
    hyphens: auto;
    font-family: "宋体", "SimSun", serif;
    line-height: 1.8;
    font-size: 20px !important;
}

.content-wrap span {
    font-family: "宋体", "SimSun", serif;
}

.content-wrap a {
    display: inline-block;
    color: #901C1C;
}

.content-wrap a:hover {
    color: #701616;
    text-decoration: underline;
}

/* 图片样式优化 */
.content-wrap img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
}

/* 响应式适配 */
@media (max-width: 1440px) {
    .show-container {
        width: 95%;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .show-content {
        min-height: 400px; /* 小屏调整最小高度 */
    }
}

@media (max-width: 768px) {
    .meta-info {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }
    
    .meta-left {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .main-title {
        font-size: 24px;
    }
    
    .sub-title {
        font-size: 18px;
    }
    
    .slug-title {
        font-size: 16px;
    }
    
    .show-content {
        min-height: 300px;
        padding: 16px;
    }
    
    .content-wrap p {
        font-size: 18px !important;
    }
}

.meta-right {
    display: flex;
    align-items: center;
}

.font-btn {
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    margin: 0 2px;
    transition: all 0.2s ease;
}

/* 字体按钮选中/hover样式 */
.font-btn:hover {
    background-color: #F9F0F0;
    color: #901C1C;
}

.font-btn.active {
    background-color: #901C1C;
    color: #fff !important;
}