/*
Theme Name: ibibicloud
Theme URI: https://example.com/my-basic-theme/
Description: 一个极简的WordPress自定义主题，支持基础页面展示
Author: Custom Developer
Author URI: https://example.com/
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-basic-theme
Tags: blog, simple, responsive
*/

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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f8f9fa;
    padding: 0 10px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
.site-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    margin-bottom: 30px;
}

.site-title {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.site-title a {
    color: #2c3e50;
    text-decoration: none;
}

.site-description {
    color: #7f8c8d;
    font-size: 1rem;
}

/* 内容区域样式 */
.site-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.post-title, .page-title, .cat-title {
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.post-title a {
    color: #2c3e50;
    text-decoration: none;
}

.post-title a:hover {
    color: #3498db;
}

.post-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.post-content {
    margin-bottom: 25px;
}

.read-more {
    display: inline-block;
    padding: 8px 15px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
}

.read-more:hover {
    background-color: #2980b9;
}

/* 分页样式 */
.nav-links {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}

.nav-previous a, .nav-next a {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #3498db;
    text-decoration: none;
}

/* 页脚样式 */
.site-footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    border-radius: 8px;
}


/* 所有文章/博客正文列表：恢复 base.css 隐藏的项目符号 */
.show_news_box .show_news_content .bd ul,
.show_news_box .show_news_content .bd ol,
.content-20260202 ul,
.content-20260202 ol,
.entry-content ul,
.entry-content ol,
.post-content ul,
.post-content ol,
.article-content ul,
.article-content ol {
  padding-left: 1.5em;
  margin: 1em 0;
}

/* 无序列表圆点 */
.show_news_box .show_news_content .bd ul > li,
.content-20260202 ul > li,
.entry-content ul > li,
.post-content ul > li,
.article-content ul > li {
  list-style-type: disc;
  list-style-position: outside;
  margin: 0.35em 0;
}

/* 有序列表数字 */
.show_news_box .show_news_content .bd ol > li,
.content-20260202 ol > li,
.entry-content ol > li,
.post-content ol > li,
.article-content ol > li {
  list-style-type: decimal;
  list-style-position: outside;
  margin: 0.35em 0;
}

/* 所有文章/博客文字段落首行缩进两个字符 */
.show_news_box .show_news_content .bd p,
.content-20260202 p,
.entry-content p,
.post-content p,
.article-content p {
  text-indent: 2em;
}

/* 图片段落和空段落不缩进 */
.show_news_box .show_news_content .bd p:has(img),
.show_news_box .show_news_content .bd p:empty,
.content-20260202 p:has(img),
.content-20260202 p:empty,
.entry-content p:has(img),
.entry-content p:empty,
.post-content p:has(img),
.post-content p:empty,
.article-content p:has(img),
.article-content p:empty {
  text-indent: 0;
}