/* ===== FAQ 样式 ===== */
.faq_block_item {
    margin: 15px 0;
}

.faq_block_item_question {
    cursor: pointer;
    color: #000;
    padding-left: 10px;
    border-left: 4px solid #d5f469;
    font-weight: bold;
}

.faq_block_item_answer {
    display: none;
    margin-top: 5px;
    font-size: 14px;
    padding-left: 14px;
}

.faq_block_item:first-child .faq_block_item_answer {
    display: block;
}

/* ===== 推荐文章样式 ===== */
.fm_recommend_list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.fm_recommend_item {
    margin: 8px 0;
}

.fm_recommend_item .title {
    display: inline-block;
    margin-right: 8px;
    font-size: 14px;
    border: 1px solid #0039ed;
    padding: 3px 5px;
    color: #0039ed;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.fm_recommend_item .title:hover {
    background-color: #2257ff;
    color: #fff;
}

/* ===== 近期文章样式 ===== */
.recent-posts {
    margin: 0;
    padding: 0;
    list-style: none;
}

.post-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.post-item:last-child {
    border-bottom: none;
}

.post-item a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s ease;
}

.post-item a:hover {
    color: #0521f8;
}

.post-meta {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.post-date {
    margin: 0 10px;
}

.post-category a {
    border: solid 1px #0521f8;
    font-size: 12px;
    color: #0521f8;
    border-radius: 5px;
    padding: 2px 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-category a:hover {
    background: #0521f8;
    color: #fff !important;
}

/* ===== 推荐置顶文章样式 ===== */
.fm_recommend_list{margin:0;padding:0;list-style:none;}
.fm_recommend_item{margin:8px 0;}
.fm_recommend_item .title{
    display: inline-block;
    margin-right: 8px;
    font-size: 14px;
    border: 1px solid #0039ed;
    padding: 3px 5px;
    color: #0039ed;
    border-radius: 5px;
}
.fm_recommend_item .title:hover{
    background-color: #2257ff;
    color: #fff;
}

/* ===== 通用样式 ===== */
.widget-title {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

#secondary {
    float: right;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    height: auto;
    overflow: auto;
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .faq_block_item_question {
        font-size: 14px;
    }
    
    .faq_block_item_answer {
        font-size: 13px;
    }
    
    .post-item a {
        font-size: 15px;
    }
    
    .fm_recommend_item .title {
        font-size: 13px;
        padding: 2px 4px;
    }
}
