/*
Theme Name: WolfEye - 狼眼世界
Theme URI: https://wolfeye.online
Author: 西北狼
Author URI: https://wolfeye.online
Description: 西北狼·狼眼世界专业新闻门户主题，基于现有精品设计100%复刻
Version: 1.0.0
License: GPL v2 or later
Text Domain: wolfeye
*/

/* ===== 基础样式（所有设备） ===== */

/* 基础重置 */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* 链接样式 */
a {
    color: #1a237e;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #283593;
    text-decoration: underline;
}

/* 图片响应式 */
img {
    max-width: 100%;
    height: auto;
}

/* 基础容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 清除浮动 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 隐藏元素 */
.hidden {
    display: none !important;
}

/* 屏幕阅读器专用 */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* WordPress核心样式兼容 */
.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875em;
    font-style: italic;
    margin: 0.5em 0;
}

.sticky {
    display: block;
}

.bypostauthor {
    display: block;
}

/* 评论区域基础样式 */
.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-body {
    margin-bottom: 1.5em;
    padding: 1.5em;
    background: #f9f9f9;
    border-radius: 4px;
}

/* 表单基础样式 */
input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
}

/* 表格基础样式 */
table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1.5em;
}

th, td {
    padding: 0.5em;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #f5f5f5;
    font-weight: bold;
}

/* 代码块样式 */
code, kbd, pre, samp {
    font-family: 'SF Mono', Monaco, Consolas, 'Courier New', monospace;
    font-size: 0.875em;
}

pre {
    background: #f5f5f5;
    padding: 1em;
    overflow: auto;
    border-radius: 4px;
    margin-bottom: 1.5em;
}

code {
    background: #f5f5f5;
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

/* 引用样式 */
blockquote {
    margin: 0 0 1.5em;
    padding: 0 1em;
    border-left: 4px solid #1a237e;
    color: #666;
    font-style: italic;
}

blockquote cite {
    display: block;
    margin-top: 0.5em;
    font-style: normal;
    font-weight: bold;
    color: #333;
}

/* 列表样式 */
ul, ol {
    margin: 0 0 1.5em 1.5em;
    padding: 0;
}

li {
    margin-bottom: 0.5em;
}

/* 工具类 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5em; }
.mt-2 { margin-top: 1em; }
.mt-3 { margin-top: 1.5em; }
.mt-4 { margin-top: 2em; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5em; }
.mb-2 { margin-bottom: 1em; }
.mb-3 { margin-bottom: 1.5em; }
.mb-4 { margin-bottom: 2em; }

.p-0 { padding: 0; }
.p-1 { padding: 0.5em; }
.p-2 { padding: 1em; }
.p-3 { padding: 1.5em; }
.p-4 { padding: 2em; }

/* 打印样式 */
@media print {
    .no-print {
        display: none !important;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
    }
    
    abbr[title]::after {
        content: " (" attr(title) ")";
    }
}
/* ========== 狼眼世界 · 全局页眉美化 ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #1a1a2e;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 9999;
    padding: 12px 24px;
    box-sizing: border-box;
}
.site-header a,
.site-header .site-title,
.site-header .site-description {
    color: #f0c040;
    text-decoration: none;
}
.main-navigation ul {
    display: flex;
    justify-content: center;
    gap: 8px 12px;
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0;

}
.main-navigation a {
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}
.main-navigation a:hover {
    color: #f0c040;
}
body {
    padding-top:35px;
}
