/*
Theme Name: 八戒官网（GeneratePress 子主题）
Theme URI: https://generatepress.com/
Description: 八戒手机维修受保护预览站的轻量子主题。
Author: 八戒手机维修
Template: generatepress
Version: 1.0.0
Text Domain: bajie-gp-child
*/
:root { --bj-text:#222; --bj-muted:#666; --bj-accent:#1a5fb4; --bj-border:#e5e5e5; }
html { scroll-behavior:smooth; }
*,*::before,*::after { box-sizing:border-box; }
body { background:#fff; color:var(--bj-text); font:18px/1.8 "PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif; }
img { max-width:100%; height:auto; }
img:is([sizes=auto i],[sizes^="auto," i]) { contain-intrinsic-size:3000px 1500px; }
a { color:var(--bj-accent); }
a:hover,a:focus-visible { color:#11447f; }
.site-header,.site-footer,.site-footer .site-info { background:#fff; color:var(--bj-text); }
.site-header { border-bottom:1px solid var(--bj-border); }
.site-header .inside-header { max-width:1120px; padding:16px 20px; }
.site-header .main-title { margin:0; font-size:21px; font-weight:700; line-height:1.3; }
.site-header .main-title a { color:var(--bj-text); text-decoration:none; }
.site-header .site-description { display:none; }
.site-header .main-navigation { background:transparent; }
.site-header .main-navigation .main-nav ul li a,.site-header .main-navigation .menu-toggle { color:var(--bj-text); background:transparent; font-size:15px; }
.site-header .main-navigation .main-nav ul li a:hover,.site-header .main-navigation .main-nav ul li a:focus,.site-header .main-navigation .menu-toggle:hover { color:var(--bj-accent); background:transparent; }
#page,.site-content { max-width:none; }
.site-content { padding:0; }
.content-area { width:100%; }
.site-main { margin:0; }
.inside-article { max-width:760px; margin:0 auto; padding:36px 20px 72px; background:#fff; }
body.home .inside-article { max-width:1080px; }
.entry-header,.entry-content { margin:0; }
.entry-title { margin:0 0 12px; color:var(--bj-text); font-size:34px; font-weight:700; line-height:1.3; }
.bj-page-title { margin:0 0 18px; color:var(--bj-text); font-size:34px; font-weight:700; line-height:1.3; }
.entry-content p,.entry-content li { line-height:1.8; }
.entry-content p { margin-bottom:16px; }
.entry-content h2 { margin:40px 0 14px; color:var(--bj-text); font-size:24px; font-weight:700; line-height:1.4; }
.entry-content h3 { margin:24px 0 8px; color:var(--bj-text); font-size:20px; font-weight:700; line-height:1.4; }
.entry-content ul,.entry-content ol { margin-left:1.5em; }
.entry-content li { margin-bottom:10px; }
.bj-lead { font-size:19px; line-height:1.7; }
.bj-hero { padding-bottom:28px; border-bottom:1px solid var(--bj-border); }
.bj-hero .bj-lead { margin-bottom:12px; font-weight:600; }
.bj-actions { display:flex; flex-wrap:wrap; gap:12px; margin:24px 0 0; }
.bj-button { display:inline-flex; min-height:44px; align-items:center; justify-content:center; padding:9px 18px; border:1px solid var(--bj-accent); border-radius:8px; font-size:16px; font-weight:600; line-height:1.35; text-decoration:none; }
.bj-button--primary { background:var(--bj-accent); color:#fff; }
.bj-button--primary:hover,.bj-button--primary:focus { background:#11447f; color:#fff; }
.bj-button--secondary { background:#fff; color:var(--bj-accent); }
.bj-button--secondary:hover,.bj-button--secondary:focus { background:#f3f7fc; }
.bj-section { padding-bottom:4px; border-bottom:1px solid var(--bj-border); }
.bj-two-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:28px; }
.bj-card { min-width:0; padding:22px; border:1px solid var(--bj-border); border-radius:8px; background:#fff; }
.bj-card h2 { margin-top:0; font-size:21px; }
.bj-card p:last-child { margin-bottom:0; }
.bj-rule-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:0 0 16px; padding:0; list-style:none; }
.bj-rule-grid li { margin:0; padding:16px; border:1px solid var(--bj-border); border-radius:8px; font-size:16px; }
.bj-rule-grid strong { display:block; }
.bj-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:0 0 16px; padding:0; list-style:none; counter-reset:bj-step; }
.bj-steps li { position:relative; margin:0; padding:16px 16px 16px 48px; border:1px solid var(--bj-border); border-radius:8px; counter-increment:bj-step; font-size:16px; }
.bj-steps li::before { position:absolute; top:16px; left:17px; content:counter(bj-step); color:var(--bj-accent); font-weight:700; }
.bj-numbers { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin:0 0 16px; padding:0; list-style:none; }
.bj-numbers li { padding:16px; margin:0; border-top:1px solid var(--bj-border); }
.bj-numbers strong { display:block; font-size:30px; line-height:1.3; }
.bj-update { margin-top:32px; color:var(--bj-muted); font-size:14px; }
.bj-article-intro { margin-bottom:24px; }
.bj-footnote { color:var(--bj-muted); font-size:15px; }
.bj-breadcrumb { margin:0 0 24px; color:var(--bj-muted); font-size:14px; }
.bj-license-image { display:block; width:600px; max-width:100%; height:auto; }
.bj-table-wrap { max-width:100%; overflow-x:auto; margin:20px 0; }
.bj-table-wrap table { min-width:520px; width:100%; margin:0; border-collapse:collapse; }
.bj-table-wrap th,.bj-table-wrap td { border:1px solid var(--bj-border); padding:8px 12px; text-align:left; }
.bj-table-wrap th { background:#f7f7f7; }
.site-footer { border-top:1px solid var(--bj-border); }
.site-footer .site-info { text-align:left; }
.site-footer .inside-site-info { display:block; max-width:1120px; padding:28px 20px; }
.bj-footer p { margin:0 0 8px; color:var(--bj-muted); font-size:14px; line-height:1.7; }
.bj-footer p:first-child { color:var(--bj-text); }
.bj-footer a { color:var(--bj-accent); }
.bj-mobile-contact { display:none; }
@media (max-width:800px) { .bj-rule-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .bj-steps { grid-template-columns:1fr; } }
@media (max-width:720px) {
  body { font-size:17px; }
  .site-header .inside-header { padding:14px 20px; }
  .site-header .main-title { font-size:18px; }
  .main-navigation .menu-toggle { min-height:44px; }
  .inside-article { padding:28px 20px 104px; }
  .entry-title { font-size:26px; }
  .bj-page-title { font-size:26px; }
  .entry-content h2 { font-size:21px; }
  .entry-content h3 { font-size:19px; }
  .bj-lead { font-size:18px; }
  .bj-two-cards { grid-template-columns:1fr; }
  .bj-card { padding:18px; }
  .bj-numbers { grid-template-columns:1fr; gap:0; }
  .bj-actions .bj-button { flex:1 1 100%; }
  .bj-mobile-contact { position:fixed; z-index:50; bottom:0; left:0; right:0; display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:8px 20px calc(8px + env(safe-area-inset-bottom)); border-top:1px solid var(--bj-border); background:#fff; }
  .bj-mobile-contact .bj-button { min-width:0; padding-inline:8px; font-size:15px; }
  .site-footer .inside-site-info { padding-bottom:100px; }
}
