/*
Theme Name: 链探 Edition
Version: 4.0.1
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: edition4-chainexplorenews
*/
:root{--bg:#F3F7F8;--ink:#152D3A;--accent:#00747A;--surface:#E2EEF0;--line:color-mix(in srgb,var(--ink) 16%,var(--bg));--muted:#5C6774;--font:"Segoe UI","PingFang SC","PingFang TC","Microsoft YaHei","Noto Sans CJK SC",sans-serif}

*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:16px;line-height:1.5}a{color:inherit;text-decoration:none}a:hover{color:var(--accent);text-decoration:underline;text-underline-offset:4px}button,input{font:inherit}button,a,input,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,summary:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:4px}img{max-width:100%;height:auto}h1,h2,h3,p,figure,ul,ol{margin:0}h1,h2,h3{color:var(--ink);font-weight:650;overflow-wrap:anywhere}h1{font-size:36px;line-height:1.2}h2{font-size:18px;line-height:1.35}h3{font-size:16px;line-height:1.4}main,header,footer{min-width:0}.wp-site-blocks{padding:0!important}.wp-site-blocks>*+*{margin-block-start:0!important}.wp-block-template-part{margin:0!important}.front,.article-shell,.results-page,.ordinary-page{max-width:1440px;margin:auto;padding:20px 24px 32px}.front>*{min-width:0}.skip-link{position:absolute;top:-100px;left:16px;z-index:1000;padding:10px 16px;background:var(--ink);color:var(--bg)}.skip-link:focus{top:8px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.brand{display:inline-flex;align-items:center;gap:10px;min-width:0;font-weight:750;line-height:1.1}.brand-name{font-size:23px;letter-spacing:-.6px}.brand-mark{display:grid;place-items:center;min-width:32px;height:32px;border:1px solid var(--accent);color:var(--accent);font-size:14px;flex-shrink:0}.desktop-nav{display:flex;align-items:center;gap:20px;flex-wrap:wrap;font-size:14px;font-weight:600}.site-search{display:flex;align-items:center;background:var(--surface);border:1px solid var(--line);width:190px;max-width:100%;height:36px}.site-search label{flex:1;min-width:0}.site-search input{width:100%;min-width:0;border:0;background:transparent;color:var(--ink);padding:7px 10px;font-size:13px}.site-search button{display:grid;place-items:center;min-width:36px;min-height:34px;background:transparent;color:var(--ink);border:0;cursor:pointer}.mobile-menu{display:none;position:relative}.mobile-menu summary{cursor:pointer;padding:12px;min-height:44px;font-size:14px}.mobile-menu nav{position:absolute;right:0;top:100%;width:220px;z-index:20;background:var(--bg);color:var(--ink);border:1px solid var(--line);box-shadow:0 8px 20px #0001;padding:8px}.mobile-menu nav a{display:block;padding:12px;color:var(--ink)}.mobile-menu nav .site-search{display:flex!important;width:100%;margin:8px 0 0!important}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:2px solid var(--accent);padding:0 0 8px;margin-bottom:10px}.section-head h2{font-size:15px;font-weight:750}.edition-section{min-width:0}.feed .wp-block-post-template{list-style:none;padding:0;margin:0!important;display:grid;grid-template-columns:1fr;gap:0}.feed .wp-block-post-template>li{min-width:0;margin:0;padding:0;list-style:none}.feed .item{min-width:0;margin:0!important;padding:10px 0;border-bottom:1px solid var(--line);position:relative}.feed .item>*{margin:0!important}.feed .wp-block-post-title{font-size:16px;line-height:1.4;font-family:var(--font);font-weight:650}.feed .wp-block-post-date{font-size:12px;line-height:1.4;color:var(--muted);margin-top:4px!important}.feed .wp-block-post-excerpt{font-size:14px;line-height:1.5;margin-top:6px!important;color:var(--muted)}.feed .wp-block-post-excerpt__more-link{display:none}.feed .wp-block-post-featured-image{margin:0!important;overflow:hidden;background:var(--surface)}.feed .wp-block-post-featured-image img{display:block;width:100%;height:100%;object-fit:cover;filter:saturate(.35)}.feed.lead .wp-block-post-featured-image{height:140px;margin-bottom:10px!important}.feed.lead .wp-block-post-title{font-size:23px;line-height:1.22;letter-spacing:-.4px}.feed.cards .wp-block-post-featured-image{height:90px;margin-bottom:8px!important}.feed.rows .item{display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:12px;align-content:center;min-height:82px}.feed.rows .wp-block-post-featured-image{grid-row:1/3;width:64px;height:60px;align-self:center}.feed.rows .wp-block-post-date,.feed.rows .wp-block-post-title{grid-column:2}.feed.compact .item{min-height:61px}.feed.brief .item{padding:12px 0}.article-shell .body-copy{font-size:17px;line-height:1.85;min-width:0;max-width:72ch}.body-copy p{margin:0 0 1.2em}.body-copy h2{font-size:25px;margin:1.3em 0 .6em}.body-copy h3{font-size:21px;margin:1.2em 0 .6em}.body-copy ul,.body-copy ol{padding-left:24px;margin:0 0 1em}.body-copy a{text-decoration:underline;color:var(--accent)}.article-shell>.wp-block-post-featured-image img{max-height:320px;width:100%;object-fit:cover}.article-shell .wp-block-post-date{font-size:13px;color:var(--muted)}.article-nav{display:flex;gap:14px;flex-wrap:wrap;font-size:13px}.article-nav a{padding:8px 0}.reading-grid .feed .wp-block-post-template{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}.reading-grid{margin-top:24px}.results-page{min-height:70vh}.results-page h1{margin-bottom:24px}.results-feed .wp-block-post-template{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.wp-block-query-pagination{display:flex;gap:20px;align-items:center;padding:24px 0;flex-wrap:wrap}.wp-block-query-pagination a{padding:8px;border-bottom:1px solid var(--line)}footer{font-size:13px;border-top:1px solid var(--line);color:var(--muted)}footer a{color:var(--ink)}footer nav{display:flex;gap:20px;flex-wrap:wrap}footer p{max-width:80ch}section:target{scroll-margin-top:20px}.ordinary-page{min-height:65vh}.ordinary-page .body-copy{max-width:72ch;margin:24px auto}.ordinary-page h1{margin:24px 0}.edition-note{font-size:13px;color:var(--muted)}
@media(max-width:1000px){.brand-name{font-size:20px}.desktop-nav{gap:12px}.front,.article-shell{padding-left:18px;padding-right:18px}.site-search{width:150px}}
@media(max-width:800px){.desktop-nav{display:none!important}.mobile-menu{display:block}.brand-name{font-size:20px}.site-search{width:160px}.front,.article-shell{padding-top:18px}.results-feed .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.front,.article-shell,.results-page,.ordinary-page{padding-left:16px;padding-right:16px}.brand-name{font-size:19px;letter-spacing:-.4px}.brand-mark{min-width:28px;height:28px}.site-search{width:100%;max-width:220px}.front .feed.lead .wp-block-post-featured-image{height:140px}.feed .wp-block-post-title{font-size:16px}.feed.compact .item{min-height:70px;padding:12px 0}.feed.rows .item{min-height:88px}.reading-grid .feed .wp-block-post-template,.results-feed .wp-block-post-template{grid-template-columns:1fr}h1{font-size:29px}.article-shell .body-copy{font-size:17px}footer nav a{padding:8px 0}footer{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}


.cx-head{max-width:1440px;margin:auto;display:grid;grid-template-columns:190px 1fr;border-bottom:2px solid var(--accent);min-height:76px}.cx-head>div:first-child{padding:18px;border-right:1px solid var(--line)}.cx-head .brand-name{font-size:27px;letter-spacing:2px}.cx-tools{display:flex;align-items:center;justify-content:space-between;padding:12px 24px;gap:18px}.cx-front{display:grid;grid-template-columns:166px 1fr;gap:24px;padding-top:20px}.cx-compass{border-right:1px solid var(--line);padding:10px 18px 0 0}.cx-compass p{font-size:13px;color:var(--muted);line-height:1.8}.cx-compass nav{display:grid;gap:20px;margin-top:30px;font-size:14px}.cx-compass nav a{padding-left:13px;border-left:3px solid var(--accent)}.cx-map{min-width:0}.cx-trail{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}.cx-trail>.section-head{grid-column:1/-1}.cx-first.feed.lead .wp-block-post-title{font-size:29px;line-height:1.25}.cx-first.feed.lead .wp-block-post-featured-image{height:120px}.cx-small-trails .feed.rows .item{display:block;min-height:88px}.cx-small-trails .feed.rows .wp-block-post-featured-image{float:right;width:60px;height:54px;margin:0 0 8px 12px!important}.cx-small-trails .item:after{content:"";display:block;clear:both}.cx-front .wp-block-post-title{font-size:18px}.cx-branch-section{border-left:2px solid var(--accent);padding-left:22px;margin-top:18px}.cx-branches,.cx-library{display:grid;grid-template-columns:1fr 1fr;gap:28px}.cx-branches .wp-block-post-template{grid-template-columns:1fr 1fr;column-gap:22px}.cx-branches .feed.compact .item{min-height:82px}.cx-library-section{margin-top:26px;padding-top:16px;border-top:3px double var(--line)}.cx-library .wp-block-post-template{grid-template-columns:1fr 1fr;column-gap:22px}.cx-foot{max-width:1440px;margin:auto;display:grid;grid-template-columns:190px 1fr;gap:20px;padding:26px 24px}.cx-foot p{grid-column:2}.cx-article{display:grid;grid-template-columns:166px minmax(0,830px);gap:28px;justify-content:start;padding-top:36px}.cx-margin{border-right:1px solid var(--line);padding-right:20px}.cx-margin .article-nav{display:grid;position:sticky;top:20px;margin-bottom:25px}.cx-notebook{padding-left:28px;border-left:2px solid var(--accent)}.cx-notebook h1{font-size:38px;line-height:1.3;margin-bottom:24px}.cx-notebook>.wp-block-post-featured-image img{max-height:220px;object-fit:cover;width:100%}.cx-notebook .body-copy{margin-top:30px}.cx-afterword{grid-column:2}.cx-afterword .feed.rows .item{display:block}.cx-afterword .feed.rows .wp-block-post-featured-image{float:left;margin-right:12px!important}.cx-afterword .item:after{content:"";display:block;clear:both}
@media(max-width:1000px){.cx-branches .wp-block-post-template,.cx-library .wp-block-post-template{grid-template-columns:1fr}.cx-tools .site-search{width:145px}}@media(max-width:800px){.cx-head{grid-template-columns:170px 1fr}.cx-tools{justify-content:flex-end}.cx-front{grid-template-columns:1fr}.cx-compass{border:0;padding:0;display:flex;gap:20px;justify-content:space-between}.cx-compass p{max-width:28ch}.cx-compass nav{display:flex;gap:16px;margin:0;flex-wrap:wrap}.cx-article{grid-template-columns:120px 1fr}.cx-notebook{padding-left:16px}.cx-notebook h1{font-size:30px}}@media(max-width:600px){.cx-head{display:flex;justify-content:space-between}.cx-head>div:first-child{padding:16px;border:0}.cx-tools>.site-search{display:none}.cx-tools{padding:8px}.cx-compass{display:block}.cx-compass nav{margin-top:14px}.cx-trail,.cx-branches,.cx-library{grid-template-columns:1fr}.cx-trail>.section-head{grid-column:auto}.cx-branch-section{padding-left:15px}.cx-article{display:block}.cx-margin{border:0;padding:0}.cx-margin .article-nav{display:flex;margin:0}.cx-notebook{border-left:0;padding:20px 0 0}.cx-foot{grid-template-columns:1fr}.cx-foot p{grid-column:auto}.cx-afterword{margin-top:28px}}


.feed .item>.wp-block-post-featured-image:not(:has(img)){display:none}
.feed .wp-block-post-title{overflow-wrap:break-word;word-break:normal;text-wrap:pretty}
.feed .item:has(.wp-block-post-featured-image:not(:has(img))){min-height:0}
.feed .wp-block-post-excerpt__excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.site-search{height:46px}.site-search button{min-width:44px;min-height:44px}.site-search input{font-size:16px}
.mobile-menu nav{max-width:calc(100vw - 32px)}
.article-shell article,.article-shell aside{min-width:0}
.article-shell .body-copy{width:100%;overflow-wrap:anywhere}
.body-copy summary{padding-block:8px;min-height:44px;cursor:pointer}
.body-copy .article-toc li{break-inside:avoid;margin-bottom:6px}
.results-page .site-search{margin-block:16px 28px;width:320px;max-width:100%}
.results-feed .item{padding-block:20px}.results-feed .wp-block-post-title{font-size:21px}
@media(max-width:480px){.mobile-menu nav .site-search{max-width:100%}.feed .wp-block-post-title{word-break:normal}.brand{max-width:100%}.brand-name{overflow-wrap:anywhere}}
