/*
Theme Name: 全域数据 QuanYu
Theme URI: https://quanyuapi.com
Author: 全域API数据服务
Author URI: https://quanyuapi.com
Description: 面向数据接口服务商的 WordPress 主题：首页数据通道矩阵、接口示例面板、解决方案、客户案例、API 文档与线索表单后台，自带服务/案例/文档/方案内容类型与主题设置页。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: quanyu
Tags: 企业官网, 数据服务, 蓝青, 中文, 响应式
*/

/* 主题主要样式位于 assets/css/main.css，此处仅放 WordPress 需要的补充样式。 */

/* 编辑器与前端内容通用 */
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; }

.wp-block-image img { border-radius: 18px; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
  width: 1px; word-wrap: normal !important;
}

/* 区块编辑器前端微调 */
.qy-entry .wp-block-quote,
.qy-entry .wp-block-pullquote { border-left: 3px solid #22d3ee; }

/* 评论 */
.qy-comments { margin-top: 48px; padding-top: 28px; border-top: 1px solid #e4ecfa; }

/* 表单蜜罐字段：对用户不可见，仅拦截机器人 */
.qy-hp {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; opacity: 0; pointer-events: none;
}

/* 抽屉打开时锁定滚动 */
body.qy-lock { overflow: hidden; }

/* API 文档参数表 */
.qy-params { border-collapse: collapse; }
.qy-params th { font-weight: 600; color: #10214a; background: #f5f8ff; }
.qy-params code { font-size: 13px; background: #f2f6fd; padding: 1px 6px; border-radius: 5px; }

/* 侧栏小工具列表 */
.qy-widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.qy-widget ul li a {
  font-size: 13.5px; color: #44546f; line-height: 1.6;
  display: block; padding-bottom: 10px; border-bottom: 1px dashed #e4ecfa;
}
.qy-widget ul li a:hover { color: #0b3fc4; }

