/*
Theme Name: Gold BTC Edition
Version: 4.1.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: edition4-goldbtccap
*/
:root{--bg:#FAFAF7;--ink:#242B2A;--accent:#856417;--surface:#EEEDE5;--line:color-mix(in srgb,var(--ink) 16%,var(--bg));--muted:#5C6774;--font:"Libre Baskerville","Segoe UI","PingFang SC","PingFang TC","Microsoft YaHei",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}}


.gb-head{max-width:1440px;margin:auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;padding:20px 26px;border-bottom:1px solid var(--accent)}.gb-head .brand-name{font:28px/1.1 Georgia,serif;letter-spacing:.3px}.gb-head .brand-mark{border-radius:50%}.gb-nav{display:flex;justify-content:flex-end;align-items:center}.gb-nav .desktop-nav{font-size:12px;gap:16px}.gb-front{padding-top:0}.gb-diptych{display:grid;grid-template-columns:1fr 1fr}.gb-left,.gb-right{padding:25px 32px}.gb-left{border-right:1px solid var(--accent);background:var(--surface)}.gb-right{background:var(--bg)}.gb-diptych>.edition-section>.section-head{border-bottom:1px solid var(--accent);padding-bottom:12px}.gb-diptych .feed.lead .wp-block-post-title{font:30px/1.2 Georgia,serif;font-weight:500}.gb-diptych .feed.lead .wp-block-post-featured-image{height:110px}.gb-diptych .feed.lead .wp-block-post-excerpt{font:14px/1.6 Georgia,serif}.gb-diptych .feed.rows .item{display:block;min-height:80px}.gb-diptych .feed.rows .wp-block-post-featured-image{float:right;width:52px;height:48px;margin:0 0 8px 14px!important}.gb-diptych .item:after{content:"";display:block;clear:both}.gb-front .wp-block-post-title{font-size:18px;font-family:Georgia,serif;font-weight:500}.gb-panel-index .wp-block-post-template{grid-template-columns:1fr 1fr;column-gap:24px}.gb-panel-index .item{min-height:98px}.gb-panel-library{margin-top:28px;border-top:3px double var(--accent);padding-top:18px}.gb-panel-library .section-head{border-bottom:1px solid var(--line)}.gb-panel-library .wp-block-post-template{grid-template-columns:1fr 1fr;column-gap:24px}.gb-panel-library .wp-block-post-excerpt{font-size:13px}.gb-foot{max-width:1440px;margin:auto;padding:28px 56px;display:grid;grid-template-columns:1fr 1fr;gap:64px}.gb-foot p{margin-top:15px;font-size:12px}.gb-article{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:0;padding-top:0;padding-bottom:0}.gb-title-panel{background:var(--surface);padding:42px 36px;border-right:1px solid var(--accent)}.gb-title-panel h1{font:40px/1.2 Georgia,serif;margin:18px 0 28px}.gb-title-panel .article-nav{border-top:1px solid var(--accent);padding-top:14px;display:grid}.gb-title-panel>.wp-block-post-featured-image{margin-top:30px}.gb-title-panel>.wp-block-post-featured-image img{width:100%;max-height:200px;object-fit:cover}.gb-reading-panel{padding:42px 36px}.gb-reading-panel .body-copy{font-family:Georgia,serif;font-size:18px}.gb-reading-panel .reading-grid{border-top:3px double var(--accent);padding-top:18px;margin-top:40px}.gb-reading-panel .feed.rows .item{display:block}.gb-reading-panel .feed.rows .wp-block-post-featured-image{float:right;margin:0 0 8px 10px!important}.gb-reading-panel .item:after{content:"";display:block;clear:both}
@media(max-width:1100px){.gb-head{grid-template-columns:auto 1fr auto}.gb-head>div:first-child{display:none}.gb-head>.brand{grid-column:1/3}.gb-diptych>.edition-section{padding:22px}.gb-title-panel,.gb-reading-panel{padding:30px 24px}}@media(max-width:800px){.gb-head{padding:16px 18px}.gb-panel-index .wp-block-post-template,.gb-panel-library .wp-block-post-template{grid-template-columns:1fr}.gb-article{grid-template-columns:1fr}.gb-title-panel{border-right:0;border-bottom:1px solid var(--accent)}.gb-title-panel h1{max-width:28ch;font-size:34px}.gb-title-panel .article-nav{display:flex}.gb-foot{padding:24px;gap:30px}}@media(max-width:600px){.gb-head .brand-name{font-size:24px}.gb-diptych{grid-template-columns:1fr}.gb-left{border-right:0;border-bottom:1px solid var(--accent)}.gb-diptych>.edition-section{padding:20px}.gb-panel-index .wp-block-post-template,.gb-panel-library .wp-block-post-template{grid-template-columns:1fr}.gb-panel-index .item{min-height:80px}.gb-foot{grid-template-columns:1fr}.gb-title-panel,.gb-reading-panel{padding:24px 18px}.gb-title-panel h1{font-size:31px}.gb-reading-panel .wp-block-post-template{grid-template-columns:1fr}}

@media(min-width:801px) and (max-width:1000px){.gb-head .mobile-menu{display:block}.gb-head .desktop-nav{display:none!important}}


.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}}

/* WP titles use inline-block by default; inline text can flow beside floats. */
.feed .wp-block-post-title a{display:inline}
.feed .wp-block-post-featured-image img{filter:none}
.feed.brief .wp-block-post-featured-image{float:right;width:96px;height:72px;margin:0 0 10px 16px!important}
.feed.brief .wp-block-post-featured-image img{width:100%;height:100%;object-fit:cover}
.feed.brief .item::after{content:"";display:block;clear:both}
.edition-photo-credit{display:block;font-size:12px;line-height:1.6;margin-top:8px;color:var(--muted);text-align:left}
.edition-photo-credit a{text-decoration:underline}
@media(max-width:480px){.feed.brief .wp-block-post-featured-image{width:84px;height:64px;margin-left:12px!important}}
