/* 自定义主题颜色 - 白色背景、黑色文字、红色线条 */

/* 全局背景和文字颜色 */
body {
    background-color: #fff !important;
    color: #000 !important;
}

/* 链接颜色 */
a {
    color: #c00 !important;
}

a:hover, a:active {
    color: #f00 !important;
}

/* 头部 */
#header {
    background-color: #fff !important;
    border-bottom: 2px solid #c00 !important;
}

#header .col-group {
    border-bottom: none !important;
}

#logo {
    color: #000 !important;
}

#logo span {
    color: #333 !important;
}

#logo:hover {
    color: #c00 !important;
}

/* 导航菜单 */
#nav-menu {
    background-color: #fff !important;
}

#nav-menu a {
    color: #000 !important;
    border: 1px solid #ddd !important;
}

#nav-menu a:hover {
    background-color: #c00 !important;
    color: #fff !important;
    border-color: #c00 !important;
}

#nav-menu a.current {
    background-color: #c00 !important;
    color: #fff !important;
    border-color: #c00 !important;
    border-bottom-color: #c00 !important;
}

/* 搜索框 */
#search input {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #ddd !important;
}

#search button {
    background-color: #c00 !important;
    color: #fff !important;
    border: 1px solid #c00 !important;
}

/* 主内容区域 */
#main {
    background-color: #fff !important;
}

/* 文章标题 */
.post-title {
    color: #000 !important;
}

.post-title a {
    color: #000 !important;
}

.post-title a:hover {
    color: #c00 !important;
}

/* 文章内容 */
.post-content {
    color: #000 !important;
}

/* 文章元信息 */
.post-meta {
    color: #666 !important;
}

.post-meta a {
    color: #c00 !important;
}

.post-meta a:hover {
    color: #f00 !important;
}

/* 文章卡片 */
.post {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    padding: 20px !important;
}

.post:hover {
    border-color: #c00 !important;
    box-shadow: 0 0 20px rgba(204, 0, 0, 0.2) !important;
}

/* 侧边栏 */
#secondary {
    background-color: #fff !important;
    border-left: 2px solid #c00 !important;
}

/* 侧边栏部件 */
.sidebar-widget {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    padding: 15px !important;
}

.sidebar-widget h3 {
    color: #c00 !important;
    border-bottom: 2px solid #c00 !important;
    padding-bottom: 10px !important;
}

/* 标签云 */
.tag-cloud a {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 5px 10px !important;
    margin: 3px !important;
    display: inline-block !important;
}

.tag-cloud a:hover {
    background-color: #c00 !important;
    color: #fff !important;
    border-color: #c00 !important;
}

/* 分类列表 */
.categories a {
    color: #000 !important;
}

.categories a:hover {
    color: #c00 !important;
}

/* 文章列表 */
.article-list {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
}

.article-list li {
    border-bottom: 1px solid #ddd !important;
}

.article-list li:hover {
    background-color: #f9f9f9 !important;
}

.article-list a {
    color: #000 !important;
}

.article-list a:hover {
    color: #c00 !important;
}

/* 代码块 */
pre, code {
    background-color: #f5f5f5 !important;
    color: #000 !important;
    border: 1px solid #ddd !important;
}

pre {
    border-radius: 8px !important;
    padding: 15px !important;
}

/* 引用块 */
blockquote {
    background-color: #f9f9f9 !important;
    border-left: 4px solid #c00 !important;
    color: #333 !important;
}

/* 表格 */
table {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
}

th {
    background-color: #c00 !important;
    color: #fff !important;
    border: 1px solid #c00 !important;
}

td {
    border: 1px solid #ddd !important;
    color: #000 !important;
}

tr:hover {
    background-color: #f9f9f9 !important;
}

/* 按钮 */
.btn, button {
    background-color: #c00 !important;
    color: #fff !important;
    border: 1px solid #c00 !important;
    border-radius: 4px !important;
    padding: 8px 16px !important;
}

.btn:hover, button:hover {
    background-color: #f00 !important;
    border-color: #f00 !important;
}

/* 分页 */
.paginator {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 15px !important;
}

.paginator a {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 5px 10px !important;
    margin: 3px !important;
}

.paginator a:hover {
    background-color: #c00 !important;
    border-color: #c00 !important;
    color: #fff !important;
}

.paginator .current {
    background-color: #c00 !important;
    color: #fff !important;
    border-color: #c00 !important;
}

/* 页脚 */
#footer {
    background-color: #fff !important;
    color: #666 !important;
    border-top: 2px solid #c00 !important;
    padding: 20px !important;
}

#footer a {
    color: #c00 !important;
}

#footer a:hover {
    color: #f00 !important;
}

/* 返回顶部按钮 */
#rocket {
    background-color: #c00 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    box-shadow: 0 0 20px rgba(204, 0, 0, 0.3) !important;
}

#rocket:hover {
    background-color: #f00 !important;
    box-shadow: 0 0 30px rgba(204, 0, 0, 0.5) !important;
}

/* 文章详情页 */
.single-post {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 30px !important;
}

.single-post .post-title {
    color: #000 !important;
    border-bottom: 2px solid #c00 !important;
    padding-bottom: 15px !important;
}

/* 文章目录 */
.toc-article {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 15px !important;
}

.toc-article a {
    color: #000 !important;
}

.toc-article a:hover {
    color: #c00 !important;
}

/* 评论区 */
#comments {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 20px !important;
}

#comments h3 {
    color: #c00 !important;
    border-bottom: 2px solid #c00 !important;
    padding-bottom: 10px !important;
}

/* 评论输入框 */
#comment-form input, #comment-form textarea {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    padding: 10px !important;
}

#comment-form input:focus, #comment-form textarea:focus {
    border-color: #c00 !important;
    outline: none !important;
}

/* 搜索结果 */
.search-results {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 20px !important;
}

.search-results h3 {
    color: #c00 !important;
}

.search-results a {
    color: #000 !important;
}

.search-results a:hover {
    color: #c00 !important;
}

/* 归档页面 */
.archives {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 20px !important;
}

.archives h2 {
    color: #c00 !important;
    border-bottom: 2px solid #c00 !important;
    padding-bottom: 10px !important;
}

.archives a {
    color: #000 !important;
}

.archives a:hover {
    color: #c00 !important;
}

/* 标签页面 */
.tags {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 20px !important;
}

.tags h2 {
    color: #c00 !important;
    border-bottom: 2px solid #c00 !important;
    padding-bottom: 10px !important;
}

/* 分类页面 */
.categories {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 20px !important;
}

.categories h2 {
    color: #c00 !important;
    border-bottom: 2px solid #c00 !important;
    padding-bottom: 10px !important;
}

/* 关于页面 */
.about {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    padding: 30px !important;
}

.about h1 {
    color: #c00 !important;
    border-bottom: 2px solid #c00 !important;
    padding-bottom: 15px !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
    #secondary {
        border-left: none !important;
        border-top: 2px solid #c00 !important;
    }
    
    .post {
        padding: 15px !important;
    }
    
    .single-post {
        padding: 20px !important;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px !important;
    height: 10px !important;
}

::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
}

::-webkit-scrollbar-thumb {
    background: #c00 !important;
    border-radius: 5px !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #f00 !important;
}

/* 选中文本颜色 */
::selection {
    background-color: #c00 !important;
    color: #fff !important;
}

::-moz-selection {
    background-color: #c00 !important;
    color: #fff !important;
}
