/*
Theme Name: NewsNow
Theme URI: https://example.com/newsnow
Author: AionClaw
Author URI: https://example.com
Description: 仿 JustNews 风格的自适应资讯/杂志主题，支持电脑版与移动端，内置幻灯滑块、专题列表、快讯、侧边栏多 Tab（热门/热评/最新/随机）等模块。
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newsnow
Tags: news, blog, two-columns, right-sidebar, responsive-layout, featured-images, custom-logo, custom-menu
*/

/* ===== 基础 ===== */
:root {
	--primary: #206be7;
	--primary-dark: #1a5fd0;
	--text: #1d2129;
	--muted: #86909c;
	--border: #eef0f3;
	--bg: #f5f6f7;
	--card: #ffffff;
	--radius: 8px;
}

* {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.7;
	color: var(--text);
	background: var(--bg);
}

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

a {
	color: var(--text);
	text-decoration: none;
	transition: color .15s ease;
}

a:hover {
	color: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	font-weight: 600;
	line-height: 1.35;
}

ul, ol {
	padding-left: 1.4em;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	word-wrap: normal !important;
}

.alignleft {
	float: left;
	margin-right: 1em;
}

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

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

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-size: 13px;
	color: var(--muted);
	text-align: center;
}
