/*
Theme Name: TingPro
Theme URI: https://example.com/tingpro
Author: TingPro
Author URI: https://example.com
Description: 米白底色 + 陶土橙强调色的简约双栏博客主题，支持暗色模式、PJAX 免刷新、即时搜索与移动端响应式。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tingpro
Tags: blog, two-columns, custom-menu, custom-logo, dark-mode-support
*/

/* 基础重置（其余样式在 assets/css/ 中按模块引入） */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
		"Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
	font-size: 16px;
	line-height: 1.7;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	transition: background-color 0.3s ease, color 0.3s ease;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

h1, h2, h3, h4, p {
	margin: 0;
}

.icon {
	width: 1.15em;
	height: 1.15em;
	flex: none;
	vertical-align: -0.2em;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--accent);
	color: #fff;
	padding: 8px 16px;
	border-radius: 0 0 8px 0;
}

.skip-link:focus {
	left: 0;
}

body.tingpro-no-scroll {
	overflow: hidden;
}
