/*
Theme Name: WP匠造
Author: WP匠造
Description: 面向 WordPress 建站、定制开发与维护服务的中文工作室官网主题，包含私有项目咨询管理与联系信息设置。
Version: 1.4.1
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wp-craft
Tags: custom-menu, featured-images, blog
*/

/* 官网样式由 assets/styles.css 加载。此文件保留 WordPress 主题标识。 */
.wp-blog-header, .wp-blog-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; max-width: 1200px; padding: 2rem 24px; margin: auto; border-bottom: 1px solid var(--line, #dedbd5); }
.wp-blog-header > a { font-size: 1.5rem; font-weight: 800; }
.wp-blog-header nav ul { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.wp-blog-header nav { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.wp-blog-theme-toggle { color: inherit; background: transparent; border: 1px solid var(--line, #dedbd5); border-radius: 4px; padding: 8px 12px; min-height: 44px; font: inherit; font-size: 13px; cursor: pointer; }
.wp-blog-main { max-width: 840px; min-height: 60vh; margin: 0 auto; padding: 4rem 24px; }
.wp-blog-main h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.3; margin-bottom: 2rem; }
.wp-blog-main h2 { font-size: 1.8rem; line-height: 1.5; }
.wp-blog-post { margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line, #dedbd5); }
.wp-blog-content { line-height: 1.9; overflow-wrap: anywhere; }
.wp-blog-content > * + * { margin-top: 1.25em; }
.wp-blog-content img, .wp-blog-post > img { max-width: 100%; height: auto; }
.wp-blog-meta { color: var(--muted, #726e67); margin: .75rem 0 1.5rem; }
.wp-blog-footer { font-size: .875rem; border-top: 1px solid var(--line, #dedbd5); border-bottom: 0; }
.wp-blog-main .navigation { display: flex; justify-content: space-between; gap: 2rem; }
.wp-label-en { display: none; }
.wp-growth-hub { padding: 64px 0; background: var(--surface, #fff); border-top: 1px solid var(--line, #dedbd5); }
.wp-growth-hub h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.35; margin: 0 0 16px; letter-spacing: -.03em; }
.wp-growth-hub p { max-width: 760px; line-height: 1.85; color: var(--muted, #726e67); }
.wp-growth-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; margin-top: 24px; }
.wp-growth-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 0; border-bottom: 1px solid var(--line, #dedbd5); font-weight: 600; line-height: 1.6; }
.wp-growth-links a > span:first-child { overflow-wrap: anywhere; }
.wp-growth-links a:hover { color: var(--accent, #bd4826); }
.wp-growth-languages { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 24px; }
.wp-growth-languages a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; font-size: 14px; }
@media (max-width: 640px) { .wp-growth-hub { padding: 44px 0; } .wp-growth-links { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
html[lang="en"] .wp-label-zh { display: none; }
html[lang="en"] .wp-label-en { display: inline; }
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
    body.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
    body.admin-bar #wpadminbar { position: fixed; }
}
