/*
Theme Name: 文集 Wenji
Description: 中文文章站，支持独立文章网址、搜索、分类、特色图片及文章结构化数据。
Version: 1.0.0
Author: Wenji
Text Domain: wenji
*/
:root{--ink:#20372f;--muted:#788079;--green:#315d49;--paper:#faf9f5;--line:#e2e5db;--soft:#f0f1e9;--accent:#dde7ca}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,"Microsoft YaHei","PingFang SC",sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #94b38a;outline-offset:4px}[hidden]{display:none!important}.header{max-width:1320px;margin:auto;height:100px;padding:0 64px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:700;letter-spacing:2px}.brand-icon{width:43px;height:43px;display:inline-flex;align-items:center;justify-content:center;border-radius:13px;background:var(--green);color:white;font-family:Georgia,"SimSun",serif;font-size:24px;font-weight:400;letter-spacing:0}.brand small{display:block;font-size:8px;letter-spacing:2.6px;font-weight:500;margin-top:5px;color:var(--muted)}nav{display:flex;gap:35px}button.nav{border:0;background:none;color:var(--muted);padding:12px 0;position:relative}.nav.active{color:var(--ink);font-weight:600}.nav.active:after{content:"";position:absolute;bottom:2px;left:50%;width:5px;height:5px;border-radius:50%;background:var(--green)}.button{border:1px solid transparent;border-radius:7px;padding:11px 19px;display:inline-flex;align-items:center;gap:10px;justify-content:center;transition:background .15s,transform .15s;font-weight:500}.button:hover{transform:translateY(-1px)}.primary{background:var(--green);color:#fff}.primary:hover{background:#244c39}.outline{background:transparent;border-color:#bdc7b8;color:var(--ink)}.outline:hover{background:var(--soft)}.subtle{background:transparent;color:var(--muted)}.header .button span{font-size:21px;line-height:18px}main{max-width:1192px;margin:auto}.hero{min-height:477px;display:grid;grid-template-columns:1.15fr 1fr;gap:30px;padding:66px 0 60px;align-items:center}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2.3px;margin:0 0 21px;display:flex;gap:10px;align-items:center}.eyebrow span{height:6px;width:6px;display:inline-block;background:var(--green);border-radius:50%}.hero h1{font-family:"Songti SC","Noto Serif SC","SimSun",serif;font-size:48px;line-height:1.5;letter-spacing:1px;font-weight:500;margin:0 0 19px}.serif{color:#647b56}.hero-description{color:var(--muted);line-height:1.95;font-size:14px}.text-button{background:none;padding:9px 0;border:0;display:inline-flex;align-items:center;gap:24px;color:var(--green);font-weight:600}.hero .text-button{margin-top:9px}.hero .text-button span{font-size:23px}.hero-art{position:relative;height:335px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(ellipse,#e6ead9 0,transparent 68%)}.paper{width:258px;height:290px;border:1px solid #d6dacb;position:absolute;background:#fffff9;box-shadow:6px 13px 27px #23392b0b}.paper.back{transform:rotate(11deg) translate(14px,0);background:#e0e7d0}.paper.front{transform:rotate(-7deg);padding:26px}.paper-top{font-size:8px;letter-spacing:1.8px;display:flex;justify-content:space-between;align-items:center}.paper-top span{font-size:29px;color:#81946d}.ink-line{height:3px;background:#c5cdb7;margin-top:28px}.ink-line.long{width:47px}.ink-line.medium{width:24px;margin-top:6px}.paper-statement{font-family:"SimSun",serif;font-size:26px;line-height:1.75;margin-top:18px}.paper-bottom{font-size:8px;color:#859078;display:flex;justify-content:space-between;margin-top:20px}.paper-bottom span{font-size:21px}.orbit{position:absolute;border:1px solid #d4deca;border-radius:50%;width:370px;height:220px;transform:rotate(-35deg)}.orbit-two{width:310px;height:340px;transform:rotate(50deg)}.art-label{position:absolute;bottom:0;right:21px;font-size:7px;letter-spacing:2.5px;color:#8d9980}.content-section{padding:40px 0 55px;border-top:1px solid var(--line)}.section-title{display:flex;justify-content:space-between;align-items:center;gap:20px}.muted{color:var(--muted)}.section-title .eyebrow{font-size:9px;margin-bottom:11px}.section-title h2{font-size:27px;font-weight:500;margin:0;letter-spacing:1px}.section-title h2 span{font:11px Arial;color:var(--muted);vertical-align:top;padding-left:12px}.search{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:7px;padding:10px 14px;background:#fff9}.search span{font-size:24px;color:#7b8978;line-height:18px}.search input{background:transparent;border:0;outline:none;color:var(--ink);width:190px;font-size:12px}.filters{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0}.filter{border:0;color:#798276;background:transparent;padding:8px 16px;border-radius:25px;font-size:12px}.filter.active{background:#e8eddc;color:#35513d;font-weight:600}.filter:hover{background:#eef0e7}.article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:31px}.article-card{min-width:0}.cover{width:100%;height:205px;border-radius:10px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;transition:transform .3s}.cover:before,.cover:after{content:"";position:absolute;border:1px solid #fff7;border-radius:50%;width:220px;height:220px;right:-30px;bottom:-100px;transform:rotate(25deg)}.cover:after{width:280px;height:280px;right:-60px;bottom:-130px}.cover-symbol{font-family:"SimSun",serif;font-size:70px;color:#ffffffbc;z-index:1}.cover small{position:absolute;left:22px;bottom:19px;letter-spacing:3px;font-size:8px;color:#ffffffb0}.cover-tag{position:absolute;top:16px;left:17px;background:#fff9;color:var(--ink);font-size:10px;padding:5px 9px;border-radius:4px}.sage{background:linear-gradient(130deg,#a5b59a,#68856b)}.sand{background:linear-gradient(130deg,#d9c9af,#b29779)}.blue{background:linear-gradient(130deg,#b2c8cd,#6f929d)}.rose{background:linear-gradient(130deg,#d7b8a9,#b48577)}.article-link{display:block;width:100%;text-align:left;border:0;padding:0;background:none;color:inherit}.article-link:hover .cover{transform:translateY(-3px)}.card-meta{display:flex;gap:9px;align-items:center;margin:20px 0 10px;font-size:10px;color:var(--muted)}.card-meta .category{color:var(--green);font-weight:600}.article-card h3{font-size:19px;line-height:1.7;margin:0 0 9px;font-weight:500}.article-card .excerpt{font-size:12px;line-height:1.9;color:var(--muted);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:45px}.card-bottom{display:flex;align-items:center;border-top:1px solid var(--line);margin-top:20px;padding-top:14px;gap:9px;color:var(--muted);font-size:10px}.avatar{background:#e9ebdf;color:#53674e;display:inline-flex;justify-content:center;align-items:center;border-radius:50%;height:24px;width:24px;font-size:10px}.card-bottom .read-time{margin-left:auto}.closing-note{display:flex;align-items:center;gap:25px;background:#edf0e5;border-radius:11px;padding:30px 39px;margin:0 0 60px}.closing-note>span{font-size:46px;color:#6a825b}.closing-note p{font-family:"SimSun",serif;font-size:21px;line-height:1.6;margin:0;font-weight:400}.closing-note strong{font-weight:400}.closing-note .button{margin-left:auto;font-size:12px}footer{max-width:1192px;border-top:1px solid var(--line);margin:0 auto;padding:29px 0 36px;display:flex;align-items:center;gap:25px;color:var(--muted);font-size:11px}.footer-brand{font-size:18px}.footer-brand .brand-icon{height:32px;width:32px;border-radius:9px;font-size:19px}footer small{margin-left:auto;font-size:10px}.demo-notice{background:#f0f2e8;padding:12px 16px;border-radius:6px;color:#6b785f;font-size:12px;margin-bottom:25px}.empty-state{text-align:center;padding:70px 20px}.empty-state>span{font-size:50px;color:#8ba17c}.empty-state h3{font-weight:500;font-size:21px}.empty-state p{color:var(--muted);line-height:1.9}.empty-state .button{margin-top:15px}.manage-page{min-height:70vh;padding:55px 0 70px}.manage-heading{display:flex;justify-content:space-between;align-items:center}.manage-heading h1{font-family:"SimSun",serif;font-weight:500;font-size:36px;margin:0}.manage-heading p:not(.eyebrow){color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:30px 0}.stat{border:1px solid var(--line);border-radius:10px;padding:22px;background:white}.stat span{display:block;color:var(--muted);font-size:12px}.stat strong{display:block;font-size:31px;font-weight:500;margin-top:10px}.manage-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px}.manage-row{padding:22px 0;border-bottom:1px solid var(--line);display:flex;gap:20px;align-items:center}.manage-row h3{margin:0 0 9px;font-size:16px;font-weight:500}.manage-row p{color:var(--muted);margin:0;font-size:11px}.manage-row .row-body{flex:1;min-width:0}.manage-row .row-actions{display:flex;gap:8px;flex-wrap:wrap}.manage-row .button{font-size:11px;padding:7px 12px}.status-pill{font-size:10px;border-radius:20px;padding:5px 10px;display:inline-block;margin-left:12px;background:#e5eddc;color:var(--green);vertical-align:middle}.status-pill.draft{background:#f1e8d5;color:#92723c}.status-pill.trashed{background:#eee;color:#777}.detail-page{max-width:780px;min-height:70vh;padding:40px 0 80px}.detail-page h1{font-family:"SimSun",serif;font-size:42px;line-height:1.5;font-weight:500;margin:22px 0}.detail-meta{font-size:12px;color:var(--muted);display:flex;gap:15px;flex-wrap:wrap;margin:20px 0}.detail-page .cover{height:280px;margin:30px 0}.prose{line-height:2;color:#425246;font-size:16px;overflow-wrap:anywhere}.prose p{margin:1.2em 0;white-space:pre-wrap}.prose h2{font-size:25px;color:var(--ink);margin:1.5em 0 .6em}.prose h3{font-size:20px;color:var(--ink)}.prose blockquote{border-left:3px solid #9aaf89;background:#eff1e7;padding:15px 22px;margin:25px 0;color:#68815b}.prose ul{padding-left:25px}.prose code{background:#eaece2;border-radius:3px;padding:2px 5px;font-size:14px}.detail-intro{font-size:18px;color:#7c8976;border-bottom:1px solid var(--line);padding-bottom:25px;line-height:1.8}.detail-actions{margin-top:40px;display:flex;gap:15px}dialog{padding:0;border:1px solid var(--line);border-radius:13px;width:min(1180px,96vw);height:min(900px,94vh);background:var(--paper);color:var(--ink);box-shadow:0 20px 100px #17251e30}dialog::backdrop{background:#21352ac0;backdrop-filter:blur(5px)}#editorForm{height:100%;display:flex;flex-direction:column}.editor-header{display:flex;justify-content:space-between;padding:20px 28px;border-bottom:1px solid var(--line);gap:15px;align-items:center}.editor-heading{display:flex;align-items:center;gap:12px}.editor-heading strong{font-weight:500;font-size:17px}.editor-heading small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.editor-actions{display:flex;gap:9px}.editor-actions .button{font-size:12px}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;overflow:auto;flex:1}.editor-main{padding:32px 40px;min-width:0}.field-label{font-size:12px;display:block;margin:0 0 10px;font-weight:600}.field-label span{font-weight:400;color:var(--muted);margin-left:7px;font-size:10px}.editor-main input,.editor-main textarea,.editor-sidebar input,.editor-sidebar select{display:block;width:100%;border:1px solid var(--line);border-radius:6px;background:#fff;padding:12px;color:var(--ink);margin-bottom:24px;line-height:1.6}.editor-main .title-input{font-family:"SimSun",serif;font-size:25px;padding:10px 0;background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0}.editor-main textarea{resize:vertical}.body-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.body-heading .field-label{margin:0}.small{font-size:11px;padding:0}.format-toolbar{display:flex;gap:5px;align-items:center;border:1px solid var(--line);border-bottom:0;border-radius:6px 6px 0 0;padding:7px;background:#f0f2e9}.format-toolbar button{border:0;background:transparent;padding:5px 10px;color:#617357;font-size:11px}.format-toolbar button:hover{background:#e0e7d5}.format-toolbar span{font-size:9px;color:var(--muted);margin-left:auto}.editor-main .body-input{min-height:330px;line-height:1.95;border-radius:0 0 6px 6px;margin-bottom:10px;font-size:14px}.editor-bottom{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);gap:15px}.editor-sidebar{border-left:1px solid var(--line);background:#f1f2ea;padding:35px 25px}.editor-sidebar .eyebrow{font-size:8px;margin-bottom:12px}.editor-sidebar h3{font-size:20px;font-weight:500;margin:0 0 30px}.editor-sidebar input,.editor-sidebar select{font-size:12px}.mini-cover{height:125px;border-radius:7px;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#fff}.mini-cover span{font-family:"SimSun",serif;font-size:37px}.mini-cover small{margin-top:8px;letter-spacing:2px;font-size:8px}.editor-tip{border-top:1px solid #dce2d1;margin-top:25px;padding-top:20px;font-size:11px;color:#7d8775;line-height:1.9}.editor-tip strong{font-weight:500;color:#526449}.editor-preview{min-height:330px;padding:10px 20px;border:1px solid var(--line);background:#fff;border-radius:0 0 6px 6px;font-size:14px}.toast{position:fixed;left:50%;bottom:35px;transform:translateX(-50%);padding:14px 25px;background:#203c2f;color:#fff;border-radius:8px;box-shadow:0 5px 25px #0002;z-index:10;font-size:13px;max-width:90vw}.loading{position:fixed;inset:0;background:#faf9f5e8;display:flex;align-items:center;justify-content:center;z-index:20;color:#617357}.error-banner{padding:20px;background:#f6e8df;border:1px solid #d9b29b;color:#8b4930;border-radius:8px}.button:disabled{opacity:.55;cursor:wait}
@media(min-width:1450px){main,.header,footer{max-width:1260px}.header{padding:0 34px}.hero{padding-top:78px;padding-bottom:76px}.hero h1{font-size:53px}.cover{height:225px}}@media(max-width:1320px){main,footer{margin-left:5%;margin-right:5%}.header{padding:0 5%}.hero h1{font-size:43px}}@media(max-width:850px){.hero{grid-template-columns:1.2fr 1fr;gap:0}.hero h1{font-size:34px}.hero-art{transform:scale(.85);margin-right:-30px}.article-grid{gap:20px}.cover{height:170px}.article-card h3{font-size:16px}.editor-layout{grid-template-columns:minmax(0,1fr) 230px}.editor-main{padding:25px}.editor-sidebar{padding:25px 18px}}@media(max-width:620px){.header{height:78px}.brand{font-size:20px;gap:8px}.brand-icon{width:36px;height:36px;font-size:21px}.brand small{font-size:6px}.header nav{gap:16px}.nav{font-size:11px}.header .button{font-size:11px;padding:9px 12px;gap:4px}.hero{display:block;padding:42px 0 25px}.hero h1{font-size:36px}.hero-description{font-size:12px}.hero-art{height:280px;transform:scale(.9);margin:15px 0 -15px}.hero .eyebrow{font-size:9px}.section-title{align-items:flex-start;flex-direction:column;gap:18px}.search{width:100%}.search input{width:100%}.content-section{padding-top:30px}.article-grid{grid-template-columns:1fr;gap:33px}.cover{height:220px}.article-card h3{font-size:20px}.article-card .excerpt{min-height:0}.filters{gap:4px;margin:21px 0}.filter{padding:8px 12px;font-size:11px}.closing-note{padding:25px 20px;gap:15px;flex-wrap:wrap}.closing-note p{font-size:18px}.closing-note .button{margin-left:60px}footer{gap:15px;flex-wrap:wrap}footer small{margin-left:0;width:100%}.manage-page{padding-top:35px}.manage-heading h1{font-size:30px}.manage-heading .button{font-size:11px;padding:9px}.stats{gap:9px}.stat{padding:15px}.stat strong{font-size:26px}.manage-toolbar{display:block}.manage-list{margin-top:15px}.manage-row{flex-wrap:wrap;gap:12px}.manage-row .row-body{flex-basis:100%}.detail-page{padding-top:20px}.detail-page h1{font-size:30px}.detail-page .cover{height:210px}.prose{font-size:15px}.editor-header{padding:14px;flex-wrap:wrap}.editor-header .editor-heading{gap:8px}.editor-actions{margin-left:auto;gap:5px}.editor-actions .button{font-size:10px;padding:8px}.editor-heading .brand-icon{display:none}.editor-heading strong{font-size:14px}.editor-heading small{font-size:9px}.editor-layout{display:block}.editor-main{padding:22px 16px}.editor-sidebar{border-left:0;border-top:1px solid var(--line)}.format-toolbar span{display:none}.editor-main .body-input{min-height:300px}.editor-bottom{font-size:9px}.editor-main .title-input{font-size:22px}.mini-cover{display:none}.editor-tip{margin-top:10px}.editor-sidebar h3{margin-bottom:20px}}

.photo-cover img{width:100%;height:100%;object-fit:cover}.wp-nav{list-style:none;display:flex;gap:20px;margin:0;padding:0}.search-submit{background:none;border:0;color:#315d49;font-size:11px;cursor:pointer}.pagination{margin:35px 0}.pagination .nav-links{display:flex;gap:15px}.page-numbers{padding:8px 12px;border:1px solid #ddd;border-radius:5px}.page-numbers.current{background:#315d49;color:white}.entry-content img{max-width:100%;height:auto}.entry-content figure{max-width:100%;margin:24px 0}.prose a{color:#315d49;text-decoration:underline}.post-navigation{margin-top:45px;border-top:1px solid #e2e5db;padding-top:22px}.post-navigation .nav-links{display:flex;justify-content:space-between;gap:25px}.skip-link{position:absolute;top:-100px}.skip-link:focus{top:8px;left:8px;background:white;padding:12px;z-index:999}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}

.language-switcher{display:flex;gap:10px;align-items:center;font-size:11px;border-left:1px solid #d8dfd0;padding-left:17px}.language-switcher a{color:#788079}.language-switcher .current-language{font-weight:700;color:#315d49}html[lang^="vi"] .hero h1{font-family:Georgia,serif;font-size:43px;line-height:1.35}html[lang^="vi"] .paper-statement{font-family:Georgia,serif;font-size:22px}@media(max-width:850px){.header nav{gap:15px}.brand{font-size:20px}html[lang^="vi"] .hero h1{font-size:32px}}@media(max-width:620px){.header{height:auto;min-height:105px;padding-top:14px;padding-bottom:12px;flex-wrap:wrap;gap:14px}.header nav{order:3;width:100%;justify-content:space-between}.header>.button{margin-left:auto}.hero h1{font-size:32px}.language-switcher{font-size:12px}.header nav .wp-nav{font-size:12px}html[lang^="vi"] .hero h1{font-size:32px}.paper-statement{max-width:190px}.hero-art{overflow:hidden}}

html[lang^="en"] .hero h1{font-family:Georgia,serif;font-size:48px;line-height:1.25}html[lang^="en"] .paper-statement{font-family:Georgia,serif;font-size:24px}@media(max-width:620px){html[lang^="en"] .hero h1{font-size:34px}}
