/*
Theme Name: Rangka Select
Author: Rangka
Description: 为让卡优选定制的资源精选与编辑主题，支持响应式导航、搜索、栏目与文章。
Version: 1.0.3
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: rangka-select
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--paper:#f8f7f3;--ink:#152733;--muted:#68747b;--line:#dedfd8;--orange:#de5b35;--blue:#172d46;--serif:Georgia,"Songti SC","Noto Serif CJK SC",serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a,button,input{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--orange);outline-offset:5px}img{max-width:100%;height:auto;display:block}button,input{font:inherit}button{cursor:pointer}.wrap{width:min(1200px,calc(100% - 80px));margin-inline:auto}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:20px;top:20px;background:white;padding:16px;z-index:1000}.topline{background:var(--ink);color:#f6f4ec;font-size:11px;letter-spacing:1px}.topline .wrap{display:flex;justify-content:space-between;align-items:center;min-height:33px}.topline a{opacity:.8}.site-header{border-bottom:1px solid var(--line)}.header-inner{height:106px;display:flex;align-items:center;gap:32px}.brand{display:flex;gap:12px;align-items:center;flex-shrink:0}.brand-icon{width:45px;height:47px;background:var(--orange);color:#fff;display:flex;align-items:center;justify-content:center;font:bold 37px Georgia;position:relative;border-radius:3px}.brand-icon span{position:absolute;right:3px;top:4px;font:7px sans-serif}.brand-type{font-size:24px;font-weight:800;letter-spacing:2px;line-height:1.3}.brand-type small{display:block;font-size:9px;font-weight:500;letter-spacing:3.2px;margin-top:5px}.nav-list{display:flex;align-items:center;gap:27px;list-style:none;padding:0;margin:0}.nav-list a{font-size:13px;font-weight:600;white-space:nowrap;display:block;padding:12px 0;position:relative}.nav-list a:after{content:"";position:absolute;bottom:3px;left:0;width:0;height:2px;background:var(--orange);transition:width .2s}.nav-list a:hover:after,.nav-list .current-menu-item>a:after{width:100%}#site-navigation{margin-left:auto}.header-link{font-size:13px;border-left:1px solid var(--line);padding-left:22px;white-space:nowrap}.header-link span{font-size:24px;margin-left:8px;vertical-align:middle}.menu-toggle{display:none}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:600;line-height:1.7;color:var(--muted)}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--orange);margin-right:7px;vertical-align:middle}.hero{display:grid;grid-template-columns:1.05fr 1fr;gap:70px;padding-top:60px;padding-bottom:68px;align-items:center}.hero h1{font-size:clamp(42px,4.8vw,67px);line-height:1.28;letter-spacing:-2px;margin:24px 0 25px;font-weight:800}.underlined{position:relative;display:inline-block}.underlined:after{content:"";height:4px;position:absolute;background:var(--orange);bottom:-9px;left:0;width:100%;transform:rotate(-2deg)}.hero-copy>p{font-size:15px;color:var(--muted);line-height:2;margin:32px 0}.hero-actions{display:flex;align-items:center;gap:28px}.button{background:var(--ink);color:white;padding:17px 23px;display:inline-flex;gap:35px;align-items:center;font-size:13px;border-radius:3px;transition:background .2s,transform .2s}.button:hover{background:var(--orange);transform:translateY(-2px)}.button span{font-size:20px}.text-link{font-size:12px;font-weight:600}.text-link:hover{color:var(--orange)}.hero-foot{display:flex;align-items:center;gap:13px;font-size:10px;color:var(--muted);margin-top:36px;letter-spacing:.3px}.hero-foot i{height:3px;width:3px;background:#a3aaa9;border-radius:50%}.hero-feature{position:relative;display:block;background:#122b45;color:white;min-height:452px;overflow:hidden;border-radius:5px;box-shadow:0 18px 44px #142b421a}.feature-top{display:flex;justify-content:space-between;position:relative;z-index:2;padding:25px 28px;font-size:9px;letter-spacing:2px;color:#ced6df}.feature-art{position:absolute;inset:36px -25px 65px;overflow:hidden}.feature-art img{width:100%;height:100%;object-fit:cover;transition:transform .8s;opacity:.8}.hero-feature:hover .feature-art img{transform:scale(1.05)}.hero-feature:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#102235 0%,#102235b3 28%,transparent 68%)}.floating-label{position:absolute;top:115px;right:22px;z-index:2;background:#f6f6eced;color:var(--ink);padding:11px 14px;font-size:10px;box-shadow:0 5px 25px #0002;transform:rotate(3deg)}.floating-label .status-dot{background:#497d68}.feature-caption{position:absolute;z-index:2;bottom:25px;left:28px;right:28px}.feature-caption>span{font-size:10px;letter-spacing:2px;color:#d2e0e9}.feature-caption h2{font-size:31px;line-height:1.4;font-weight:600;letter-spacing:1px;margin:13px 0 17px}.feature-bottom{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#ced6df}.feature-bottom b{font-size:24px;font-weight:400;width:36px;height:36px;border:1px solid #ffffff55;border-radius:50%;display:grid;place-items:center}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:28px;gap:20px}.section-heading h2{font-size:27px;letter-spacing:-.7px;line-height:1.3;margin:8px 0 0}.section-heading>p,.subtle{color:var(--muted);font-size:12px;margin:0}.explore{padding-top:42px;border-top:1px solid var(--line);padding-bottom:66px}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.category-card{position:relative;background:#fffefa;border:1px solid var(--line);padding:25px 24px 29px;min-height:238px;border-radius:4px;transition:transform .25s,border-color .25s,box-shadow .25s}.category-card:hover{transform:translateY(-5px);border-color:#c3c7c2;box-shadow:0 12px 22px #15273309}.category-top{display:flex;justify-content:space-between;align-items:center}.category-icon{font:28px var(--serif);color:var(--orange)}.category-number{font:italic 15px var(--serif);color:#a2aaa7}.category-card h3{font-size:21px;letter-spacing:.2px;margin:24px 0 11px}.category-card strong{display:block;font-size:11px;font-weight:500;color:var(--ink)}.category-card p{font-size:10px;color:var(--muted);line-height:1.8;margin:7px 0 0}.category-arrow{position:absolute;right:22px;bottom:26px;color:var(--orange);font-size:20px}.reading{padding-bottom:72px}.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.story-card{min-width:0}.story-image{display:block;position:relative;aspect-ratio:1.65;border-radius:4px;overflow:hidden;background:var(--blue)}.story-image img{width:100%;height:100%;object-fit:cover;transition:transform .5s}.story-image:hover img{transform:scale(1.04)}.image-arrow{position:absolute;right:13px;bottom:13px;width:31px;height:31px;background:#f8f7f3;border-radius:50%;display:grid;place-items:center;font-size:19px}.story-body{padding:21px 0 0}.story-body .eyebrow{display:flex;justify-content:space-between;font-size:9px;letter-spacing:1px;color:var(--orange)}.story-body .eyebrow span{color:var(--muted);font-size:9px;letter-spacing:.3px}.story-card h3{font-size:19px;line-height:1.55;letter-spacing:-.2px;margin:13px 0 11px;font-weight:650}.story-card h3 a:hover{color:var(--orange)}.story-card p{color:var(--muted);font-size:12px;line-height:1.9;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.principles{background:#eaece5;padding:43px 45px;display:grid;grid-template-columns:1fr 1.3fr;gap:50px;border-radius:4px;margin-bottom:66px}.principle-intro h2{font-size:31px;line-height:1.5;margin:16px 0 24px;letter-spacing:-1px}.principle-intro>a{font-size:12px;border-bottom:1px solid #a5ada4;padding-bottom:5px}.principle-list>div{display:grid;grid-template-columns:32px 1fr;border-bottom:1px solid #cfd4ca;padding:16px 0}.principle-list>div:first-child{padding-top:5px}.principle-list>div:last-child{border:0;padding-bottom:0}.principle-list span{grid-row:span 2;color:var(--orange);font:italic 15px var(--serif);padding-top:2px}.principle-list h3{font-size:15px;margin:0 0 7px}.principle-list p{font-size:12px;color:var(--muted);line-height:1.8;margin:0}.latest{padding-bottom:64px}.journal-row{display:flex;gap:30px;align-items:center;border-top:1px solid var(--line);padding:23px 0}.journal-row:last-child{border-bottom:1px solid var(--line)}.journal-row time{font:italic 17px var(--serif);color:var(--muted)}.journal-row h3{font-size:16px;font-weight:500;line-height:1.5;margin:0;flex:1}.journal-row>span{font-size:22px;color:var(--orange)}.journal-row:hover h3{color:var(--orange)}.search-band{border-top:1px solid var(--line);padding-top:39px;padding-bottom:51px;display:flex;align-items:center;justify-content:space-between;gap:40px}.search-band h2{font-size:24px;margin:9px 0 0}.search-form{display:flex;align-items:center;gap:0;width:min(100%,460px)}.search-form label{flex:1;min-width:0}.search-field{width:100%;padding:15px 16px;border:1px solid var(--line);background:transparent;border-radius:3px 0 0 3px;font-size:13px;color:var(--ink)}.search-submit{background:var(--ink);color:white;border:1px solid var(--ink);padding:15px 20px;border-radius:0 3px 3px 0;font-size:13px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}.site-footer{background:var(--ink);color:#e5e8e4;padding:49px 0 0}.footer-top{display:grid;grid-template-columns:1fr .6fr 1.2fr;gap:60px;padding-bottom:40px}.footer-brand{font-size:24px;font-weight:700;letter-spacing:2px}.footer-brand span{display:block;font-size:9px;font-weight:400;letter-spacing:3px;margin-top:10px;color:#b9c2c5}.footer-top p{font-size:11px;line-height:2.1;color:#b9c2c5;margin:19px 0 0}.footer-top h3{font-size:13px;font-weight:500;margin:0 0 17px}.footer-links a{display:block;font-size:11px;color:#b9c2c5;line-height:2.3}.footer-note>a{display:block;font-size:11px;margin-top:22px;color:#e3b69f}.footer-bottom{border-top:1px solid #ffffff22;display:flex;justify-content:space-between;gap:15px;padding:21px 0;font-size:9px;letter-spacing:.5px;color:#9caeb6}.document-main{padding-top:33px;padding-bottom:70px;min-height:60vh}.breadcrumb{display:flex;gap:14px;color:var(--muted);font-size:11px}.document-header{padding:47px 0 40px;border-bottom:1px solid var(--line);margin-bottom:40px}.document-header h1{font-size:clamp(29px,3.3vw,44px);line-height:1.4;letter-spacing:-1px;margin:16px 0 18px;max-width:950px}.document-header>p{font-size:13px;color:var(--muted);line-height:1.9}.document-header .search-form{margin-top:28px}.document-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:75px;align-items:start}.entry-content{font-size:16px;line-height:2;color:#34434c;overflow-wrap:anywhere;min-width:0}.entry-content>:first-child{margin-top:0}.entry-content h2{font-size:24px;color:var(--ink);line-height:1.5;margin:36px 0 17px;letter-spacing:-.4px}.entry-content h3{font-size:19px;color:var(--ink);margin:25px 0 13px}.entry-content p{margin:0 0 22px}.entry-content a{color:#b44b2c;border-bottom:1px solid #b44b2c44}.entry-content a:hover{border-color:#b44b2c}.entry-content ul,.entry-content ol{padding-left:23px}.entry-content li{padding-left:4px;margin:8px 0}.entry-content table{border-collapse:collapse;width:100%;font-size:13px;background:#fffefa;margin:25px 0}.entry-content th,.entry-content td{text-align:left;border:1px solid var(--line);padding:14px 16px;vertical-align:top}.entry-content th{background:#eaece5;color:var(--ink)}.entry-content pre{overflow:auto;padding:20px;background:var(--ink);color:#eef1ed;border-radius:4px;font-size:13px;line-height:1.7}.entry-content code{font-size:.85em}.entry-content blockquote{margin:25px 0;padding:15px 25px;border-left:3px solid var(--orange);background:#eeeee7}.entry-content img{border-radius:4px}.entry-content figure{margin:25px 0}.entry-content figcaption{font-size:11px;color:var(--muted);text-align:center;margin-top:10px}.sidebar-box{border:1px solid var(--line);background:#fffefa;padding:25px 24px;border-radius:4px}.sidebar-box h2{font-size:20px;margin:10px 0 22px}.sidebar-box>a{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:15px 0;font-size:12px}.sidebar-box>a:last-child{padding-bottom:0}.sidebar-box>a span{color:var(--orange)}.sidebar-note{background:#eaece5;padding:25px 24px;margin-top:22px;border-radius:4px}.sidebar-note>span{font-size:29px;color:var(--orange)}.sidebar-note h3{font-size:16px;line-height:1.6;margin:15px 0 10px}.sidebar-note p{font-size:12px;line-height:1.9;color:var(--muted)}.sidebar-note a{font-size:11px}.article-header{max-width:1000px;border-bottom:0;margin:0;padding-bottom:30px}.article-header h1{max-width:1000px}.article-cover{margin-bottom:42px;border-radius:5px;overflow:hidden;height:340px;background:var(--blue)}.article-cover img{width:100%;height:100%;object-fit:cover}.article-end{font-size:12px;background:#eaece5;padding:22px;margin-top:35px;border-radius:4px}.article-end a{display:block;width:fit-content}.related{border-top:1px solid var(--line);padding-top:40px;margin-top:60px}.pagination{margin-top:40px}.page-numbers{display:inline-block;padding:10px 14px;border:1px solid var(--line);margin:3px;font-size:12px}.page-numbers.current{background:var(--ink);color:white}.archive-description{color:var(--muted);font-size:14px;max-width:750px;line-height:1.9}
@media(min-width:1400px){.hero{gap:100px;padding-top:74px;padding-bottom:80px}.hero-feature{min-height:485px}.header-inner{height:115px}}@media(max-width:1100px){.wrap{width:calc(100% - 48px)}.header-inner{gap:22px}.brand-type{font-size:21px}.brand-icon{width:39px;height:42px;font-size:32px}.nav-list{gap:18px}.nav-list a{font-size:12px}.header-link{padding-left:15px}.hero{gap:35px}.hero h1{font-size:51px}.category-card{padding:22px 19px}.category-card p{max-width:145px}.document-grid{gap:40px;grid-template-columns:minmax(0,1fr) 230px}}
@media(max-width:900px){.header-inner{height:86px;position:relative}.menu-toggle{display:block;margin-left:auto;border:0;background:transparent;padding:12px 0;font-size:12px;color:var(--ink)}.menu-toggle span{margin-left:12px;font-size:17px}.header-link{margin:0}.nav-list{display:block}.nav-list a{padding:13px 0;font-size:14px}.nav-list a:after{display:none}#site-navigation{display:none;position:absolute;top:86px;left:-24px;right:-24px;padding:15px 28px 23px;background:var(--paper);border-bottom:1px solid var(--line);z-index:20;box-shadow:0 12px 16px #1527330d}#site-navigation.is-open{display:block}.hero{padding-top:40px;padding-bottom:45px;gap:30px}.hero h1{font-size:43px}.hero-copy>p{font-size:13px}.hero-foot{font-size:9px;gap:8px;flex-wrap:wrap}.hero-feature{min-height:405px}.feature-caption h2{font-size:27px}.hero-actions{gap:18px}.button{gap:22px;padding:15px 19px}.category-grid{grid-template-columns:repeat(2,1fr)}.category-card{min-height:215px}.category-card p{max-width:none}.category-card h3{margin-top:17px}.story-grid{gap:20px}.story-card h3{font-size:16px}.principles{padding:34px;gap:35px}.principle-intro h2{font-size:27px}.footer-top{gap:35px}.document-grid{grid-template-columns:1fr}.guide-sidebar{display:none}.article-cover{height:300px}.search-band{gap:30px}.search-band h2{font-size:21px}}
@media(max-width:600px){.wrap{width:calc(100% - 36px)}.topline .wrap{min-height:29px}.topline{font-size:9px;letter-spacing:.5px}.topline a{display:none}.header-inner{height:79px;gap:18px}.brand-icon{width:34px;height:37px;font-size:29px}.brand-type{font-size:20px;letter-spacing:1px}.brand-type small{font-size:7px;letter-spacing:2.3px}.brand{gap:9px}.header-link{font-size:0;padding-left:14px}.header-link span{font-size:24px;margin-left:0}.menu-toggle{font-size:11px}#site-navigation{top:79px;left:-18px;right:-18px}.hero{grid-template-columns:1fr;gap:32px;padding-top:34px;padding-bottom:38px}.eyebrow{font-size:9px;letter-spacing:1.6px}.hero h1{font-size:48px;line-height:1.24;margin:21px 0 25px;letter-spacing:-2px}.underlined:after{height:3px;bottom:-7px}.hero-copy>p{font-size:13px;line-height:1.9;margin:25px 0}.hero-actions{gap:27px}.button{font-size:12px;padding:13px 18px;gap:33px}.text-link{font-size:11px}.hero-foot{margin-top:24px;gap:11px;font-size:9px}.hero-feature{min-height:370px}.feature-top{padding:22px;font-size:8px}.feature-art{inset:30px -15px 50px}.floating-label{top:93px;right:18px;font-size:9px;padding:9px 11px}.feature-caption{left:22px;right:22px;bottom:22px}.feature-caption h2{font-size:29px;margin:12px 0}.feature-caption>span{font-size:9px}.feature-bottom{font-size:9px}.section-heading{margin-bottom:22px;align-items:flex-start}.section-heading h2{font-size:23px;line-height:1.4;margin-top:6px}.section-heading>p{display:none}.section-heading>.text-link{font-size:10px;white-space:nowrap;align-self:flex-end;padding-bottom:5px}.explore{padding-top:30px;padding-bottom:39px}.category-grid{gap:12px}.category-card{padding:17px 15px 23px;min-height:211px}.category-icon{font-size:26px}.category-number{font-size:13px}.category-card h3{font-size:20px;margin:21px 0 12px}.category-card strong{font-size:9px;line-height:1.7;min-height:16px}.category-card p{font-size:9px;max-width:120px;margin-top:6px;line-height:1.8;padding-right:10px}.category-arrow{right:14px;bottom:16px;font-size:17px}.story-grid{grid-template-columns:1fr;gap:32px}.story-image{aspect-ratio:1.8}.story-body{padding-top:17px}.story-card h3{font-size:20px;margin-top:10px}.story-card p{font-size:12px}.reading{padding-bottom:39px}.principles{width:calc(100% - 36px);padding:28px 24px;grid-template-columns:1fr;gap:25px;margin-bottom:38px}.principle-intro h2{font-size:27px;line-height:1.45;margin:13px 0 17px}.principle-list>div{padding:17px 0}.principle-list h3{font-size:14px}.principle-list p{font-size:11px}.latest{padding-bottom:36px}.latest .section-heading>.subtle{display:none}.journal-row{gap:16px;padding:19px 0;align-items:flex-start}.journal-row time{font-size:14px;min-width:34px;padding-top:3px}.journal-row h3{font-size:14px;line-height:1.65}.journal-row>span{font-size:18px}.search-band{flex-direction:column;align-items:stretch;gap:22px;padding-top:30px;padding-bottom:34px}.search-band h2{font-size:23px}.search-field{font-size:12px}.search-submit{font-size:12px;padding-inline:17px}.footer-top{grid-template-columns:1fr 1fr;gap:28px;padding-bottom:30px}.site-footer{padding-top:35px}.footer-brand{font-size:22px}.footer-brand span{font-size:8px;letter-spacing:2px}.footer-top p{font-size:10px;margin-top:14px}.footer-links{padding-left:15px}.footer-note{grid-column:1/-1;border-top:1px solid #ffffff22;padding-top:25px}.footer-note h3{margin-bottom:10px}.footer-note p{margin:0}.footer-note>a{margin-top:15px}.footer-bottom{flex-direction:column;font-size:8px;gap:10px;line-height:1.7;padding:19px 0}.document-main{padding-top:24px;padding-bottom:42px}.document-header{padding:30px 0 24px;margin-bottom:28px}.document-header h1{font-size:29px;line-height:1.45;letter-spacing:-.6px;margin:14px 0}.document-header>p{font-size:12px}.breadcrumb{font-size:10px}.entry-content{font-size:15px;line-height:1.95}.entry-content h2{font-size:21px}.entry-content h3{font-size:18px}.entry-content table{font-size:11px}.entry-content td,.entry-content th{padding:10px 8px}.article-header{margin-bottom:0}.article-cover{height:195px;margin-bottom:29px}.related{padding-top:30px;margin-top:35px}.article-end{padding:18px;font-size:11px}.archive-description{font-size:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.cover-placeholder{height:100%;display:flex;flex-direction:column;justify-content:center;padding:30px;background:#eaece5;color:var(--ink)}.cover-placeholder b{font:italic 68px Georgia;color:var(--orange)}.cover-placeholder small{font-size:9px;letter-spacing:2px;margin-top:14px}

/* Original Rangka identity: geometric R with an orange selection facet. */
.brand-symbol{display:block;width:48px;height:48px;flex-shrink:0}.footer-brand{display:flex;align-items:center;gap:12px;width:fit-content}.footer-symbol{width:42px;height:42px;flex-shrink:0;border:1px solid #ffffff22;border-radius:11px}.footer-brand .footer-wordmark{font-size:22px;letter-spacing:2px;color:#e5e8e4;line-height:1.25;font-weight:700;margin:0}.footer-wordmark small{display:block;font-size:8px;letter-spacing:2.6px;color:#b9c2c5;font-weight:400;margin-top:8px}
@media(max-width:1100px){.brand-symbol{width:43px;height:43px}}
@media(max-width:600px){.brand-symbol{width:39px;height:39px}.footer-brand{gap:9px}.footer-symbol{width:34px;height:34px;border-radius:9px}.footer-brand .footer-wordmark{font-size:20px;letter-spacing:1px}.footer-wordmark small{font-size:6px;letter-spacing:1.6px;margin-top:6px}}
