/* 博客园全局透明主题CSS */
body {
    font-family: "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-image: url('https://images.cnblogs.com/cnblogs_com/blogs/843891/galleries/2454793/o_250419033023_Image_816641046746390_compressed.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
}

/* 主容器透明 */
#home, 
#main, 
#mainContent {
    background-color: transparent !important;
}

/* 文章区域透明 */
.day,
.post,
.postBody,
.postCon,
.blogpost-body,
.c_b_p_desc_readmore {
    background-color: rgba(240, 248, 255, 0.85) !important;
    backdrop-filter: blur(3px);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(135, 206, 250, 0.2);
    border: 1px solid rgba(173, 216, 230, 0.3);
}

/* 强制修改文章图片尺寸 */
#cnblogs_post_body img,
.blogpost-body img,
.postBody img,
.cnblogs-markdown img,
.iteye-blog-content img,
#post_detail img {
    max-width: 600px !important;  /* 直接设置最大像素宽度 */
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
    margin: 15px 0 !important;
    padding: 5px;
    border: 1px solid #d4e6f1;
    border-radius: 4px;
    background: #f8fbfd;
}

/* 针对大图允许点击放大 */
#cnblogs_post_body img[src*="large"],
.blogpost-body img[src*="large"] {
    max-width: 800px !important;
    cursor: zoom-in;
}

/* 针对小图标不限制 */
#cnblogs_post_body img[width="16"],
.blogpost-body img[width="16"] {
    max-width: 16px !important;
    border: none;
    background: none;
}

/* 强制覆盖所有可能的图片容器 */
#cnblogs_post_body p img,
#cnblogs_post_body div img,
#cnblogs_post_body span img,
#cnblogs_post_body td img,
#cnblogs_post_body li img {
    max-width: 600px !important !important; /* 双!important确保覆盖 */
}

/* 特别处理文章内部结构 */
.post {
    background-color: transparent !important;
    padding: 0 !important;
}

/* 标题样式 */
.postTitle,
.postTitle a {
    color: #2a6b8a !important;
    border-left: none !important;
    padding-left: 0 !important;
}

/* 文章描述 */
.postDesc {
    background-color: transparent !important;
    color: #5f9ea0 !important;
    border-bottom: 1px solid rgba(173, 216, 230, 0.5);
    padding-bottom: 10px;
}

/* 代码块样式 */
.cnblogs-markdown pre,
.cnblogs-post-body pre,
.post pre {
    background-color: rgba(173, 216, 230, 0.3) !important;
    border-radius: 4px;
}

