/*
Theme Name: 正心练字
Theme URI: https://zhengxinlianzi.com
Author: 正心练字
Description: 方案 B 轻量招生主题。首页由 PHP 模板渲染，样式复用方案 B 原型。本主题不包含 GEO 接收器。
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.3
Text Domain: zhengxin-lianzi
*/

/* 以下样式来自《方案 B_现代招生型》原型，未经确认不重做视觉。 */
:root{font-family: -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",sans-serif;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,a{font:inherit}a{text-decoration:none;color:inherit}button{cursor:pointer}img,svg{max-width:100%}.container{width:min(1180px,calc(100% - 44px));margin:auto}.topnote{font-size:12px;text-align:center;padding:8px 12px;letter-spacing:.03em}.navigation{position:sticky;top:0;z-index:40;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}.nav-inner{display:flex;align-items:center;justify-content:space-between;min-height:74px;gap:18px}.nav-links{display:flex;gap:30px;align-items:center;font-size:14px}.brand{display:flex;align-items:center;gap:11px;font-weight:800;font-size:21px;letter-spacing:2px;white-space:nowrap}.brand-mark{width:43px;height:43px;display:grid;place-items:center;border-radius:11px;font-family:serif;font-size:28px;font-weight:normal}.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 24px;border-radius:8px;border:1px solid transparent;font-size:14px;font-weight:700;transition:.2s ease;gap:8px}.btn:hover{transform:translateY(-2px)}.btn-small{padding:11px 18px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:3px}.section{padding:85px 0}.section-head{text-align:center;max-width:740px;margin:0 auto 42px}.section-head h2{font-size:38px;letter-spacing:-1px;line-height:1.35;margin:12px 0 13px}.section-head p{font-size:15px;line-height:1.9;margin:0}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.hero-content h1{font-size:clamp(39px,4.2vw,65px);line-height:1.24;letter-spacing:-2px;margin:16px 0 23px}.hero-content p{font-size:17px;line-height:1.95}.pills{display:flex;gap:10px;flex-wrap:wrap}.pill{display:inline-flex;align-items:center;border-radius:999px;font-size:12px;padding:7px 13px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.card{border-radius:16px;padding:27px;min-width:0}.card h3{font-size:20px;margin:10px 0 8px}.card p{line-height:1.85;font-size:14px;margin:0}.label{font-size:12px;letter-spacing:1.4px;font-weight:800}.footer-grid{display:grid;grid-template-columns:1.45fr 1fr 1fr;gap:40px}.footer-grid a{display:block;margin:11px 0;font-size:14px}.article-card{overflow:hidden}.article-body{padding:20px 23px 23px}.article-body h3{font-size:18px;line-height:1.65;margin:8px 0 10px}.article-body p{font-size:13px;line-height:1.8}.article-art{height:168px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}.article-art .han{font-size:76px;font-family:KaiTi,STKaiti,serif;font-weight:600;z-index:1}.article-art .line{position:absolute;width:140px;height:140px;border:1px solid currentColor;opacity:.16;transform:rotate(45deg)}.article-art .line:before,.article-art .line:after{content:"";position:absolute;inset:50% 0 auto 0;border-top:1px dashed currentColor}.article-art .line:after{transform:rotate(90deg)}.faq details{padding:23px 0;border-bottom:1px solid rgba(100,100,100,.17)}.faq summary{font-size:16px;font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:20px}.faq summary:after{content:'＋';font-size:21px;opacity:.7}.faq details[open] summary:after{content:'－'}.faq details p{font-size:14px;line-height:1.95;margin:13px 0 0}.contact-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:32px;align-items:center}.placeholder{border:2px dashed;border-radius:14px;display:grid;place-items:center;text-align:center;padding:25px;min-height:160px;font-size:14px;line-height:1.85}.copyright{padding-top:25px;margin-top:40px;border-top:1px solid rgba(128,128,128,.18);font-size:12px;opacity:.68}.mobile-menu{display:none}.footnote{font-size:12px;opacity:.73;line-height:1.8}.demo-label{font-size:10px;font-weight:800;border-radius:5px;padding:3px 7px;margin-left:8px;vertical-align:middle}.media-slot{display:grid;place-items:center;border-radius:14px;text-align:center;line-height:1.9;font-size:13px;position:relative;overflow:hidden}.media-slot:before{content:"";position:absolute;inset:12px;border:1px solid rgba(128,128,128,.15);border-radius:10px}.media-slot .slot-inner{z-index:1}.media-slot .slot-icon{font-family:KaiTi,STKaiti,serif;font-size:55px;display:block;margin-bottom:12px}.scroll-cta{display:inline-flex;margin-top:18px;font-size:13px;font-weight:700}.tablet-only{display:none}@media(max-width:900px){.nav-links{gap:17px}.nav-links>a:nth-child(3),.nav-links>a:nth-child(4){display:none}.section-head h2{font-size:32px}.grid-3{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.contact-grid{grid-template-columns:1fr}}@media(max-width:640px){.container{width:min(100% - 34px,1180px)}.topnote{font-size:10px}.navigation .nav-inner{min-height:64px}.nav-links{display:none}.mobile-menu{display:inline-flex;font-size:12px}.brand{font-size:18px;gap:8px}.brand-mark{width:37px;height:37px;font-size:23px}.section{padding:60px 0}.section-head{margin-bottom:30px}.section-head h2{font-size:27px}.grid-2,.grid-3,.footer-grid{grid-template-columns:1fr}.hero-content h1{font-size:37px;letter-spacing:-1px}.hero-content p{font-size:14px}.card{padding:22px}.btn{padding:13px 18px}.contact-grid{gap:20px}.tablet-only{display:block}}

:root{--ink:#123b34;--green:#0f806c;--dark:#144d43;--lite:#effaf6;--orange:#ff9c59;--grey:#56716b}body{background:#fff;color:var(--ink)}.topnote{background:#0f6152;color:#edfff7}.navigation{background:rgba(255,255,255,.93);border-bottom:1px solid #dff0e9}.brand-mark{background:#0d8970;color:#fff;transform:rotate(-6deg);border-radius:12px}.nav-links a:not(.btn):hover{color:#09826c}.btn-primary{background:#0a9278;color:white;box-shadow:0 6px 15px #0a927822}.btn-outline{background:#fff;color:#0c7563;border-color:#aad7cb}.eyebrow,.label{color:#16967f}.hero{background:radial-gradient(circle at 89% 16%,#d9f6e8,transparent 40%),linear-gradient(130deg,#f2fffa 0%,#dff5ec 100%);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:22px;min-height:630px;padding:60px 0}.hero-content h1{letter-spacing:-2px}.hero-content h1 em{font-style:normal;color:#11a285}.hero-content p{color:#5d7d75}.pill{background:#ffffffa8;border:1px solid #c7e9dd;color:#1b6e5d}.hero-art{position:relative;height:460px}.hero-art:before{content:"";position:absolute;inset:30px 15px 0 30px;background:#bde9dc;border-radius:180px 180px 38px 38px}.paper{background:#fffefa;border-radius:14px;box-shadow:0 23px 45px #16634e28;position:absolute;transform:rotate(-7deg);left:75px;top:40px;width:300px;height:365px;padding:24px;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);gap:10px}.square{position:relative;border:1px solid #d9e4de;display:grid;place-items:center;font:86px KaiTi,STKaiti,serif;color:#0f584c;background:linear-gradient(0deg,transparent 49.5%,#dfebe544 50%,transparent 50.5%),linear-gradient(90deg,transparent 49.5%,#dfebe544 50%,transparent 50.5%)}.square:nth-child(2){color:#a8bdb3}.square:nth-child(3){color:#a8bdb3}.pen{position:absolute;background:linear-gradient(90deg,#26483f 0 14%,#17715c 18% 81%,#e7cf8d 82% 92%,#26483f 93%);width:15px;height:330px;top:88px;right:100px;transform:rotate(33deg);border-radius:15px;box-shadow:5px 7px 12px #1e50482e}.floating-note{position:absolute;right:8px;bottom:28px;background:#fff;box-shadow:0 10px 22px #0c705526;border-radius:12px;padding:14px 20px;font-weight:700;font-size:15px;color:#126553;transform:rotate(4deg)}.floating-note span{color:#f39a55}.trustbar{background:#0d6f5d;color:#ebfff8}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr)}.trust-grid div{padding:24px 15px;border-right:1px solid #ffffff35;text-align:center;font-size:14px}.trust-grid div:last-child{border-right:0}.section-head p{color:#628177}.pain{background:#fff}.pain-card{background:#f1faf6;border:1px solid #dcf1e7;border-radius:16px;padding:26px}.pain-emoji{width:44px;height:44px;display:grid;place-items:center;background:#ddf3e9;border-radius:13px;font-size:25px}.pain-card h3{font-size:19px}.pain-card p{color:#628177;font-size:14px;line-height:1.85}.pain .grid-3{grid-template-columns:repeat(4,1fr)}.solution{background:#eaf8f1}.solution-lead{display:grid;grid-template-columns:.95fr 1.05fr;gap:30px;align-items:center}.solution-illustration{height:340px;border-radius:20px;background:linear-gradient(140deg,#bae8d7,#dff8e9);position:relative;display:grid;place-items:center}.solution-illustration .center{background:white;border:6px solid #f8fffc;box-shadow:0 17px 30px #23836920;border-radius:20px;padding:30px 39px;text-align:center;transform:rotate(-4deg)}.solution-illustration .center b{font-size:88px;font-family:KaiTi,STKaiti,serif}.solution-illustration .center small{display:block;color:#79968a}.solution-bullet{display:flex;gap:17px;align-items:flex-start;padding:18px 0;border-bottom:1px solid #c8e9dc}.solution-bullet strong{font-size:16px}.solution-bullet p{font-size:13px;color:#678076;line-height:1.8;margin:5px 0}.num{background:#0a8f76;border-radius:11px;color:#fff;display:grid;place-items:center;font-size:15px;font-weight:800;min-width:35px;height:35px}.course-section{background:#fff}.course-card{display:grid;grid-template-columns:1fr;overflow:hidden;border-radius:20px;border:1px solid #deeee7;box-shadow:0 12px 35px #0c604509}.course-top{padding:26px 29px;min-height:240px;background:#ddf1e7;position:relative;overflow:hidden}.course-top.orange{background:#fff0e4}.course-top:after{content:'正';font:200px KaiTi,STKaiti,serif;color:#0d8a6915;position:absolute;right:5px;top:-25px;transform:rotate(-14deg)}.course-top.orange:after{content:'快';color:#d98f451a}.course-top h3{font-size:31px;margin:20px 0 8px}.course-top p{line-height:1.8;font-size:14px;max-width:340px}.course-bottom{padding:29px}.course-bottom p{color:#628177;line-height:1.9;font-size:14px}.course-tag{display:inline-flex;padding:7px 13px;background:#ffffffb5;border-radius:99px;font-size:12px;color:#087b65}.timeline{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:32px}.timeline .phase{padding:25px 15px;border-radius:14px;background:#f1faf6;border:1px solid #deefe8;text-align:center}.phase span{font-size:27px;font-weight:900;color:#13a38b}.phase h3{font-size:17px;margin:14px 0 8px}.phase p{font-size:12px;color:#71857c;line-height:1.6}.evidence{background:#f3faf6}.evidence .media-slot{background:#fff;border:2px dashed #b7dacb;height:210px;color:#699286}.evidence .media-slot .slot-icon{color:#12886f}.news .article-card{border:1px solid #e1eee9;border-radius:16px;background:#fff;box-shadow:0 8px 22px #0f654308}.news .article-art{background:#def3e9;color:#16876b}.news .article-body .meta{font-size:12px;color:#159578}.news .article-body p{color:#638077}.faq{max-width:820px;margin:auto}.faq details{border-color:#dbece6}.faq details p{color:#628078}.contact{background:linear-gradient(135deg,#0e7a65,#0b584b);color:white}.contact .eyebrow{color:#a7f1d5}.contact h2{font-size:43px;line-height:1.35;margin:12px 0}.contact p{color:#daf7ec;font-size:15px;line-height:1.9}.contact .placeholder{border-color:#81c7b1;background:#ffffff15;color:#e9fff7}.contact .pill{border-color:#ffffff30;color:white;background:#ffffff18}.contact .btn-outline{border-color:#c2e8da}.footer{background:#0a3c33;color:#e1fff3;padding:58px 0 28px}.footer p,.footer a{color:#a6d7c7;line-height:1.85}.demo-label{background:#d9f0e7;color:#167b68}
@media(max-width:1000px){.hero-grid{grid-template-columns:1fr 1fr}.paper{left:15px}.pain .grid-3{grid-template-columns:1fr 1fr}.timeline{grid-template-columns:repeat(3,1fr)}}@media(max-width:640px){.hero-grid{display:flex;flex-direction:column;align-items:stretch;padding:47px 0 13px;min-height:auto;gap:0}.hero-art{height:330px}.hero-art:before{inset:25px 10px 0 10px}.paper{left:50%;top:25px;transform:translateX(-58%) rotate(-7deg);width:255px;height:292px;padding:15px}.square{font-size:66px}.pen{right:40px;top:47px;height:240px}.floating-note{right:0;bottom:3px;font-size:12px}.trust-grid{grid-template-columns:1fr 1fr}.trust-grid div:nth-child(2){border-right:0}.trust-grid div:nth-child(-n+2){border-bottom:1px solid #ffffff35}.pain .grid-3{grid-template-columns:1fr 1fr;gap:10px}.pain-card{padding:16px}.pain-card h3{font-size:16px}.pain-card p{font-size:12px}.solution-lead{grid-template-columns:1fr}.solution-illustration{height:230px}.solution-illustration .center b{font-size:67px}.timeline{grid-template-columns:1fr 1fr}.timeline .phase{padding:18px 8px}.contact h2{font-size:31px}}

/* The linked sample article demonstrates an SEO/GEO landing route. */
a.article-link{color:inherit;text-decoration:none;display:inline-block}a.article-link:hover{text-decoration:underline;text-underline-offset:4px}

