/*
Theme Name: AI Nexus 智启智能
Theme URI: https://www.codebuddy.cn/
Author: WorkBuddy
Author URI: https://www.codebuddy.cn/
Description: AI Nexus 是一款面向人工智能科技公司的深色科技风 WordPress 官网主题。内置解决方案、客户案例、团队成员、常见问题四种内容类型，配套可视化自定义器（配色 / 首屏文案 / 数据指标 / 联系方式），自带开箱即用的演示内容——全新站点安装后无需配置即可生成完整官网。全站响应式、支持古腾堡编辑器、遵循 WordPress 编码与安全规范（数据转义、nonce 校验、可翻译文本）。
Version: 1.3.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ai-nexus
Tags: one-column, two-columns, custom-menu, custom-logo, featured-images, translation-ready, blog, wide-blocks, block-styles, artificial-intelligence, dark
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.4
*/

/* ------------------------------------------------------------------
 * 基础 Required WordPress 类
 * ------------------------------------------------------------------ */
.alignleft {
	float: left;
	margin: 0 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0 0 1em 1.5em;
}

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

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

.wp-caption-text,
.gallery-caption {
	font-size: 0.875rem;
	color: #8b96b0;
	text-align: center;
}

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

.screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	padding: 12px 20px;
	margin: 0;
	clip: auto !important;
	color: #05070f;
	background: #fff;
	border-radius: 6px;
}

.sticky {
	position: relative;
}

.bypostauthor {
	display: block;
}

/* 正文排版（编辑器与前台共用） */
.ai-content p,
.ai-content ul,
.ai-content ol {
	margin-bottom: 1.1em;
}

.ai-content h2 {
	margin: 1.6em 0 0.7em;
	font-size: 1.75rem;
}

.ai-content h3 {
	margin: 1.4em 0 0.6em;
	font-size: 1.35rem;
}

.ai-content blockquote {
	margin: 1.5em 0;
	padding: 1em 1.2em;
	border-left: 3px solid var(--ai-primary, #5b8cff);
	background: rgba(91, 140, 255, 0.07);
	border-radius: 0 10px 10px 0;
}

.ai-content img {
	max-width: 100%;
	height: auto;
	border-radius: 14px;
}

.ai-content a {
	color: var(--ai-primary, #5b8cff);
	text-decoration: none;
}

.ai-content a:hover {
	text-decoration: underline;
}
