/*
Theme Name: 鹏海科技官网
Theme URI: https://www.phcloud.com.cn/
Author: 广州鹏海信息科技有限公司
Description: 鹏海科技官网主题。版式沿用原静态站（portal.css + solution.css），菜单、页脚、联系方式、SEO 均可在后台修改，正文以页面形式维护，不需要改代码。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License:  proprietary
Text Domain: phcloud
*/

/* ---------- WordPress 必需的基础样式（不影响原版式） ---------- */
html { -webkit-text-size-adjust: 100%; }

body { margin: 0; }

/* 登录后的管理条会把页头顶下去，补一段高度 */
body.admin-bar .pnav { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .pnav { top: 46px; }
}

/* 图片在正文里不要撑破容器 */
.entry-content img,
.page-content img { max-width: 100%; height: auto; }

/* 后台编辑器里的对齐类 */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 16px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: #6b7f95; margin-top: 6px; }

/* 屏幕阅读器专用（WP 无障碍标准） */
.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 !important; width: 1px; word-wrap: normal !important;
}

/* 分页 */
.pagination { margin: 40px 0; font-size: 14px; }
.pagination a, .pagination span { display: inline-block; padding: 6px 12px; margin: 0 4px 4px 0;
  border: 1px solid #ccd8e6; border-radius: 4px; color: #16304f; text-decoration: none; }

/* 后台「直接联系」按钮的编辑态提示 */
.ph-empty-hint { padding: 40px 24px; border: 1px dashed #ccd8e6; border-radius: 8px;
  text-align: center; color: #5b7a99; font-size: 14px; }

/* 单列面板（菜单里只有一个下级时） */
.pmega-cols.one { grid-template-columns: 1fr; }
