/* 两列板块列表样式 */
@media (min-width: 992px) {
    .func_left {
        width: 260px; /* 调整为合适的宽度 */
        position: sticky; /* 粘性定位，滚动时悬浮 */
        top: 75px; /* 距离顶部75px */
        z-index: 1; /* 确保在帖子列表之上 */
        margin-top: 0; /* 重置顶部边距，防止被导航栏覆盖 */
        min-height: 400px; /* 设置最小高度 */
        height: auto; /* 高度自动适应内容 */
        max-height: calc(100vh - 100px); /* 限制最大高度，确保不会被导航栏覆盖 */
        align-self: flex-start; /* 确保在flex容器中顶部对齐 */
    }
    
    .func_left .card {
        height: auto; /* 卡片高度自动适应 */
    }
    
    .func_left .card-body {
        height: auto; /* 卡片内容高度自动适应 */
        display: flex;
        flex-direction: column;
        min-height: 380px; /* 设置最小高度 */
    }
    
    .forumList {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        overflow-y: auto; /* 确保滚动条正常显示 */
        max-height: 57vh; /* 最大高度限制 */
    }
    
    /* 默认隐藏滚动条 */
    .forumList::-webkit-scrollbar {
        width: 0; /* 滚动条宽度设为0，隐藏滚动条 */
        height: 0;
        transition: width 0.3s ease; /* 平滑过渡效果 */
    }
    
    /* 鼠标悬停时显示滚动条 */
    .forumList:hover::-webkit-scrollbar {
        width: 6px; /* 显示滚动条，宽度6px */
    }
    
    .forumList:hover::-webkit-scrollbar-track {
        background: #f1f1f1; /* 滚动条轨道颜色 */
        border-radius: 3px;
    }
    
    .forumList:hover::-webkit-scrollbar-thumb {
        background: #c1c1c1; /* 滚动条滑块颜色 */
        border-radius: 3px;
    }
    
    .forumList:hover::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8; /* 鼠标悬停在滚动条上的颜色 */
    }
    
    /* Firefox浏览器默认隐藏滚动条 */
    .forumList {
        scrollbar-width: none; /* 默认隐藏滚动条 */
        -ms-overflow-style: none; /* IE和Edge浏览器隐藏滚动条 */
    }
    
    /* Firefox浏览器鼠标悬停时显示滚动条 */
    .forumList:hover {
        scrollbar-width: thin; /* 显示细滚动条 */
    }
    
    .forumList li {
        width: 100%;
    }
    
    .forumList li a {
        display: flex;
        align-items: center;
        padding: 8px 12px;
        border-radius: 4px;
        transition: all 0.2s;
        white-space: nowrap; /* 防止换行 */
        overflow: hidden;
        text-overflow: ellipsis; /* 超出显示省略号 */
    }
    
    .forumList li a:hover {
        background-color: rgba(0, 123, 255, 0.1);
    }
    
    .forumList li a img {
        width: 24px;
        height: 24px;
        margin-right: 8px;
        flex-shrink: 0; /* 防止图片被压缩 */
    }
    
    .forumList li a span {
        flex-grow: 1;
        min-width: 0; /* 允许文本收缩 */
    }
    
    /* 调整主内容区域的左边距 */
    .main-content {
        margin-left: 290px; /* 为板块列表留出空间 */
    }
    
    /* 调整右边信息栏与帖子列表的间距 */
    .col-lg-3.aside {
        padding-left: 10px; /* 减小左边距，缩小与帖子列表的间距 */
    }
    
    .col-lg-7.main {
        padding-right: 0px; /* 减小右边距 */
    }
}