/*
Theme Name: xkrfnscegi
Theme URI: 
Description: 程序员充电站
Tags: blog, two-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-patterns, block-styles, wide-blocks, accessibility-ready
Author: vwkofyrktj
Author URI: 
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: xkrfnscegi
*/

/* 相关文章容器样式 */
.related-posts {
    margin-top: 20px;
    background-color: #f9f9f9; /* 设置背景色 */
    border-radius: 8px; /* 添加圆角 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
}

/* 相关文章标题样式 */
.related-posts h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* 相关文章样式 */
.related-post {
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

/* 相关文章缩略图样式 */
.related-post img {
    float: left;
    margin-right: 20px;
    max-width: 100px;
    padding-left:10px ;
    height: auto;
}

/* 相关文章内容样式 */
.related-post-content {
    overflow: hidden; /* 清除浮动 */
}

/* 相关文章标题样式 */
.related-post-content h4 {
    font-size: 18px;
    margin: 0;
    white-space: nowrap; /* 不换行 */
    overflow: hidden; /* 隐藏溢出内容 */
    text-overflow: ellipsis; /* 显示省略号 */
}

/* 相关文章内容概要样式 */
.related-post-content p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
}


.shouye-thumb {
    width: 300px !important;
	height: 200px !important;
	object-fit: cover;
    
   
	
}

.shouyue_img_bg{
    background-color: #ffe4c430;

}

@media (max-width: 768px) {
    .shouyue_img_bg {
        background-color: #ffffff;
        
    }
}
