/*
Theme Name: SourceNook
Description: An original editorial theme for practical China sourcing guides.
Version: 0.1.0
Requires at least: 6.8
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: jade-field
*/
.card-image img[src*="/sourcing-"]{object-fit:contain;background:#f4f1e8}.card-image:hover img[src*="/sourcing-"]{transform:none}
:root{--paper:#f6f5ef;--ink:#233d31;--muted:#6e766a;--line:#d7d9cd;--sage:#e7eadf;--serif:Georgia,'Times New Roman',serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:28px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:5px}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #9f5b26;outline-offset:5px}img{max-width:100%;display:block}button,input{font:inherit}button{cursor:pointer}.wrap{width:min(1280px,calc(100% - 112px));margin:auto}.announcement{background:var(--ink);color:#f5f3e8;text-align:center;font-size:11px;letter-spacing:1.3px;padding:8px 20px}.announcement span{opacity:.65;margin-left:18px}.site-header{display:flex;align-items:center;justify-content:space-between;min-height:105px;border-bottom:1px solid var(--line);gap:25px}.brand{font-family:var(--serif);font-size:34px;white-space:nowrap;letter-spacing:-1.3px}.brand:hover{text-decoration:none}.brand-mark{display:inline-block;margin-right:7px;font-size:32px}.brand-dot{color:#789467}.site-header nav{display:flex;gap:34px;font-size:13px}.header-cta{font-size:12px;border-bottom:1px solid var(--ink);padding:8px 0}.header-cta span{margin-left:24px}.hero{display:grid;grid-template-columns:1fr 1fr;padding-top:40px;padding-bottom:42px;gap:50px}.hero-copy{padding:30px 0 0}.eyebrow{font-size:10px;font-weight:600;letter-spacing:2px;line-height:1.8;margin:0 0 25px}.tiny-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#6c8760;margin-right:7px}h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.1;margin:0}h1{font-size:clamp(52px,5.5vw,82px);letter-spacing:-3px}em{font-weight:400;color:#698263}.hero h1 em{white-space:nowrap}.hero-description{font-size:14px;line-height:1.85;color:#667163;margin:28px 0}.button{display:inline-flex;justify-content:space-between;gap:46px;align-items:center;background:var(--ink);color:var(--paper);padding:15px 22px;font-size:12px}.button:hover{background:#38543f;text-decoration:none}.hero-foot{display:flex;gap:24px;margin-top:43px;font-size:8px;letter-spacing:1px;color:var(--muted)}.hero-art{background:#e9ebdf;margin:0;position:relative;display:flex;flex-direction:column;justify-content:space-between;min-width:0;overflow:hidden}.art-label{display:flex;justify-content:space-between;padding:24px 26px 0;font-size:8px;letter-spacing:1.5px}.hero-art>img{width:100%;height:400px;object-fit:cover;mix-blend-mode:multiply}.hero-art figcaption{display:flex;justify-content:space-between;align-items:end;padding:0 28px 26px;font-family:var(--serif);font-size:19px;line-height:1.35}.hero-art figcaption em{color:var(--muted)}.illustration-label{font:8px Arial,sans-serif;letter-spacing:1px;color:var(--muted)}.principles{display:flex;justify-content:space-between;border-block:1px solid var(--line);padding:20px 6%;font-size:11px;color:#606c5c}.principles span:before{content:'✳';margin-right:12px;color:#6c8760}.guides-section{padding:70px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:32px;gap:20px}.section-heading .eyebrow{margin-bottom:12px}h2{font-size:42px;letter-spacing:-1.5px}.section-count{font-size:9px;letter-spacing:1.3px;color:var(--muted);padding-bottom:5px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.card-image{display:block;background:#e6e9de;overflow:hidden}.card-image img{width:100%;height:245px;object-fit:cover;transition:transform .4s}.card-image:hover img{transform:scale(1.035)}.card:nth-child(2) .card-image{background:#e8e5db}.card:nth-child(3) .card-image{background:#dde3db}.card-meta{display:flex;justify-content:space-between;text-transform:uppercase;font-size:8px;letter-spacing:1.1px;margin:20px 0 13px;color:#65715f}.card h3{font-size:27px;letter-spacing:-.5px;line-height:1.15}.card p{color:#68715f;font-size:12px;line-height:1.8;max-width:36em}.text-link{display:inline-flex;gap:25px;border-bottom:1px solid #8c9782;padding-bottom:5px;font-size:11px;margin-top:9px}.text-link:hover{text-decoration:none;border-color:var(--ink)}.editor-note{background:var(--sage);display:grid;grid-template-columns:1fr 1fr;gap:80px;padding:46px 54px;margin-bottom:75px}.editor-note .eyebrow{margin-bottom:18px}.editor-note>div:last-child{align-self:center}.editor-note p:not(.eyebrow){font-size:14px;color:#68715f;max-width:380px}.site-footer{background:#e9ece2;padding:45px 0 0}.footer-top{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px;padding-bottom:42px}.footer-top p{font-size:12px;color:#68715f}.footer-top .eyebrow{font-size:9px;margin:12px 0 14px}.footer-top>div:nth-child(2)>a{display:block;font-size:12px;margin:9px 0}.footer-note{font-size:11px;color:#747c6b;align-self:center}.footer-bottom{border-top:1px solid #ccd1c1;display:flex;justify-content:space-between;padding:18px 0;font-size:9px;color:#707a64}.skip-link{position:absolute;top:-100px;left:20px;background:white;padding:10px;z-index:100}.skip-link:focus{top:10px}.article{padding-top:30px;padding-bottom:65px}.breadcrumbs{display:flex;gap:15px;font-size:11px;color:var(--muted)}.article-header{max-width:820px;margin:55px auto 35px;text-align:center}.article-header h1{font-size:60px;letter-spacing:-2px}.standfirst{font-size:17px;color:#68715f;max-width:680px;margin:24px auto}.article-byline{font-size:10px;color:#737c6b}.article-byline span{padding:0 12px}.article-image{margin:40px auto;max-width:850px}.article-image img{width:100%;height:380px;object-fit:cover;background:#e5e8dc}.article-image figcaption{font-size:10px;color:#737c6b;margin-top:10px}.article-content{max-width:700px;margin:auto;font-size:17px;line-height:1.9;color:#44523e}.article-content h2{font-size:32px;color:var(--ink);margin:42px 0 16px;line-height:1.2}.article-content h3{font-size:25px;margin:28px 0 12px}.article-content a{text-decoration:underline;text-underline-offset:4px}.article-content li{padding-left:6px;margin:10px 0}.article-content .source-note{font-size:13px;border-top:1px solid var(--line);padding-top:22px;margin-top:35px}.related{border-top:1px solid var(--line);padding:45px 0 70px}.related .cards{grid-template-columns:repeat(2,minmax(0,1fr));max-width:850px;margin-top:30px}.archive-section{padding:65px 0 90px;min-height:55vh}.archive-section h1{font-size:54px;margin-bottom:30px}.search-form{max-width:600px;margin:30px 0 45px}.search-form label{display:block;font-size:12px;margin-bottom:7px}.search-form>div{display:flex}.search-form input{min-width:0;flex:1;background:white;border:1px solid var(--line);padding:12px}.search-form button{background:var(--ink);color:white;border:0;padding:12px 22px}.navigation{margin-top:35px}.page-numbers{padding:8px}
@media(min-width:1500px){.hero-art>img{height:450px}.hero{gap:70px}}
@media(max-width:1050px){.wrap{width:calc(100% - 64px)}.hero{gap:30px}.hero-art>img{height:350px}.hero h1{font-size:60px}.hero-foot{gap:10px}.site-header nav{gap:20px}.card h3{font-size:24px}.editor-note{gap:35px;padding:35px}.hero-art figcaption{font-size:16px}.illustration-label{max-width:90px;text-align:right;line-height:1.6}}
@media(max-width:720px){.wrap{width:calc(100% - 40px)}.announcement{font-size:9px}.announcement span{display:none}.site-header{min-height:100px;flex-wrap:wrap;gap:0;padding:13px 0}.brand{font-size:29px}.site-header nav{order:3;width:100%;justify-content:space-between;font-size:11px;margin-top:9px}.header-cta{font-size:10px}.hero{grid-template-columns:1fr;padding-top:15px;gap:30px}.hero-copy{padding-top:20px}.eyebrow{font-size:9px}.hero h1{font-size:66px;letter-spacing:-2px}.hero-description{font-size:14px;margin:22px 0}.hero-foot{margin-top:27px;gap:22px}.hero-art>img{height:320px}.hero-art figcaption{font-size:18px}.principles{padding:16px 0;gap:15px;font-size:9px;align-items:start}.principles span:before{display:block;margin:0 0 3px}.guides-section{padding:45px 0}.section-heading{display:block}.section-count{display:block;margin-top:20px}h2{font-size:35px}.cards{grid-template-columns:1fr;gap:35px}.card-image img{height:265px}.card h3{font-size:29px}.card p{font-size:14px}.card-meta{font-size:9px}.text-link{font-size:12px}.editor-note{grid-template-columns:1fr;gap:15px;padding:30px 25px;margin-bottom:40px}.footer-top{grid-template-columns:1fr 1fr;gap:25px}.footer-note{grid-column:1/-1}.article-header{margin-top:35px}.article-header h1{font-size:43px;letter-spacing:-1px}.standfirst{font-size:16px}.article-byline{font-size:9px}.article-byline span{padding:0 5px}.article-image img{height:280px}.article-content{font-size:16px}.article-content h2{font-size:28px}.related .cards{grid-template-columns:1fr}.archive-section h1{font-size:43px}.search-form button{padding:10px}.search-form input{font-size:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card-image img{transition:none}}
@media(max-width:720px){.hero h1{font-size:clamp(48px,16vw,66px)}}
.hero-art>img{mix-blend-mode:normal}.article-image img{height:auto;aspect-ratio:3/2}.editorial-figure{margin:24px 0 30px}.editorial-figure img{width:100%;height:auto;aspect-ratio:3/2}.editorial-figure figcaption{font-size:12px;line-height:1.7;color:var(--muted);padding-top:10px}
.table-scroll{max-width:100%;overflow-x:auto;margin:24px 0;overscroll-behavior-inline:contain}.table-scroll:focus-visible{outline:3px solid #9f5b26;outline-offset:4px}.article-content table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.65}.article-content caption{text-align:left;font-size:13px;color:var(--muted);padding-bottom:12px}.article-content th,.article-content td{text-align:left;vertical-align:top;border:1px solid var(--line);padding:13px 15px}.article-content thead{background:var(--sage)}.article-content th{font-weight:600;color:var(--ink)}.article-content tbody th{width:25%}@media(max-width:600px){.article-content table{min-width:540px}.article-content th,.article-content td{padding:11px 12px}}

/* SourceNook public identity. The internal theme path preserves existing media URLs. */
.source-brand{display:inline-flex;align-items:center;gap:10px;font-size:30px;letter-spacing:-1px}.source-brand img{flex:none}.source-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:70px;padding-top:60px;padding-bottom:56px;align-items:center}.source-hero h1{font-size:clamp(45px,4.7vw,70px);letter-spacing:-2.8px;line-height:1.1}.source-hero h1 em{color:#6d826f}.source-intro{max-width:450px;font-size:16px;line-height:1.9;color:#59695e;margin:28px 0}.source-actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap}.source-actions .text-link{margin:0}.source-focus{display:flex;gap:14px;flex-wrap:wrap;font-size:10px;color:#657265;margin-top:36px}.source-focus span{border-inline:1px solid var(--line);padding-inline:14px}.source-notebook{background:#e8ece2;border:1px solid #d4dccd;padding:27px 32px;border-radius:3px;box-shadow:8px 8px 0 #eeece3}.source-notebook-top{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:1.5px;border-bottom:1px solid #cbd5c5;padding-bottom:16px}.source-notebook-top>span:last-child{font-size:24px;line-height:1}.source-notebook h2{font-size:36px;margin:23px 0;letter-spacing:-1px}.source-path{list-style:none;padding:0;margin:0}.source-path li{display:flex;gap:16px;border-top:1px solid #cbd5c5;padding:14px 0}.source-path li>span{color:#806645;font-size:11px;line-height:24px}.source-path strong{font-size:13px;font-weight:600}.source-path p{font-size:11px;color:#5b6b60;line-height:1.6;margin:2px 0 0}.source-notebook-note{font-size:10px;color:#5b6b60;border-top:1px solid #cbd5c5;padding-top:14px;margin:0;line-height:1.7}.source-principles{display:flex;justify-content:space-around;gap:20px;padding:20px 0;border-block:1px solid var(--line);font-size:11px;color:#58675c}.source-principles span:before{content:'↗';margin-right:10px;color:#94764f}.source-start{background:var(--sage);display:grid;grid-template-columns:1fr 1fr;gap:60px;padding:40px 45px;margin-bottom:65px}.source-start .eyebrow{margin-bottom:18px}.source-start h2{font-size:35px}.source-start p:not(.eyebrow){font-size:14px;color:#59695e;margin-top:0}.source-start>div:last-child{align-self:center}
@media(max-width:1050px){.source-hero{gap:35px}.source-hero h1{font-size:48px}.source-notebook{padding:24px}.source-focus{gap:8px}.source-focus span{padding-inline:8px}.source-brand{font-size:27px}.site-header nav{gap:16px}}
@media(max-width:720px){.source-hero{grid-template-columns:1fr;padding-top:35px;gap:35px;padding-bottom:35px}.source-hero h1{font-size:clamp(39px,10.5vw,60px);letter-spacing:-1.8px}.source-intro{font-size:15px;margin:22px 0}.source-notebook{padding:23px}.source-notebook h2{font-size:34px}.source-focus{font-size:9px;gap:9px;margin-top:26px}.source-focus span{border:0;padding:0}.source-principles{gap:15px;font-size:10px;justify-content:space-between}.source-principles span{flex:1}.source-principles span:before{display:block;margin-bottom:4px}.source-start{grid-template-columns:1fr;gap:22px;padding:28px 23px;margin-bottom:40px}.source-start h2{font-size:32px}.source-brand{font-size:27px}.source-brand img{width:28px;height:28px}.footer-top{grid-template-columns:1fr}.footer-bottom{gap:15px}.source-actions{gap:18px}}

.source-library-intro{max-width:760px;color:#59695e;font-size:14px;margin:-12px 0 30px;line-height:1.8}
.article-content .buyer-template{margin:28px 0;padding:24px 28px;border-left:3px solid #ad512f;background:#e8ece2;border-radius:0 8px 8px 0;overflow-wrap:anywhere}.article-content .buyer-template p:first-child{margin-top:0}.article-content .buyer-template p:last-child{margin-bottom:0}@media(max-width:720px){.article-content .buyer-template{padding:18px}}
