/*
Theme Name: Wolves
Author: Wolves
Description: Based on WordPress.
Version: 1.0.0
Text Domain: wolves
Domain Path: /languages
*/


/* ==============================================
1. 基础全局样式（变量、重置、通用字体、核心组件）
============================================== */
:root {
  /* 字体 */
  --heading: 'Inter', 'Helvetica Neue', 'Arial', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --body: 'Inter', 'Roboto', 'Helvetica Neue', 'Arial', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  /* 色彩 */
  --bg: #fcfcfc; 
  --gray: #eeeeee;
  --primary: #045a9c; 
  --accent: #c97e5a;
  --orange: #f5a623;
  --heavy: #03528d;
  --dark: #1e3a5f;
  --light: #e5f1f8;
  --book: #2c3e50;
  --text: #333;
  --light-alpha: rgba(255, 255, 255, 0.5);

  /* 效果 */
  --transition: all 0.3s ease;
  --border: 1px solid #e5e7eb; /* 常规边框 */
  --border-heavy: 1px solid #066aab;
  --border-dashed: 1px dashed #e5e7eb;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 1.1 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 1rem;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  font-size: 1.125rem;
}

/* 1.2 基础元素统一样式 */
li {
  list-style: none;
}

a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: auto;
}

i {
  vertical-align: middle; 
  line-height: inherit;
}

h1,
h2,
h3 {
  font-family: var(--heading);
}

h1 {
  color: var(--heavy);
}

h2,h3 {
  color: var(--primary);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0.875em 0;
}

h2 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0.75em 0;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0.625em 0;
}

p {
    margin: 0.5em 0;
}

/* 3. 容器 */
.container {
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 2rem;
}

/* 4. 辅助 */
blockquote {
  font-family: var(--font-body);
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: var(--text-secondary);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.screen-reader-text:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 1px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: #fff;
  color: #000;
}

/* 5. 响应式 */
@media (max-width:1440px) {
  body {
    font-size: 1rem;
  }
}

@media (max-width:992px) {
    body {
        font-size: 0.875rem;
    }

    h1 {
        font-size: 1.25rem;
    }

    h2 {
        font-size: 1.125rem;
    }

    h3 {
        font-size: 1rem;
    }

    .container {
        padding: 0 1rem;
    }
}
