/*
Theme Name: 启幸 Qixing
Theme URI: https://www.0757edu.cn
Author: 启幸教育 / Mavis
Author URI: https://www.0757edu.cn
Description: 启幸教育 - 简洁传统 WordPress 主题。首页采用彩色动态渐变 + 居中 Logo + 顶部分类按钮设计,内页走经典传统布局(顶头 + 主区 + 底栏)。轻量、无需任何外部资源依赖,直接上传即用。
Version: 1.1.0
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: qixing
Tags: one-column, two-columns, custom-menu, custom-logo, translation-ready, blog
*/

/*
 * 启幸主题 - 基础样式
 * ----------------------------------------------------------------
 * 主题的"骨架"全部放在这里;视觉/排版由 assets/css/main.css 负责。
 * 修改样式时,建议优先改 main.css,这里只放最基础的 reset。
 * ----------------------------------------------------------------
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: #fff;
}

img, svg, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #3a5696;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: #e94e1b; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}

p { margin: 0 0 1em; }

code, pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
  background: #f5f7fa;
  border-radius: 4px;
}
code { padding: 2px 6px; }
pre { padding: 16px; overflow-x: auto; }

blockquote {
  margin: 1.5em 0;
  padding: 12px 24px;
  border-left: 4px solid #3a5696;
  background: #f5f7fa;
  color: #555;
  font-style: italic;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}
th, td {
  padding: 8px 12px;
  border: 1px solid #e1e4e8;
}
th { background: #f5f7fa; font-weight: 600; }

.alignleft   { float: left;  margin-right: 1.5em; }
.alignright  { float: right; margin-left: 1.5em; }
.aligncenter { display: block; margin: 0 auto; }
.wp-caption-text { font-size: 13px; color: #888; text-align: center; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
