/*
Theme Name: 知行社区
Template: kadence
Version: 1.0.0
*/
*{box-sizing:border-box}body{margin:0;background:#f6f6f6;color:#121212;font:15px/1.65 system-ui,-apple-system,"Microsoft YaHei",sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}a:hover{color:#056de8}.top{background:white;box-shadow:0 1px 3px #00000012;position:sticky;top:0;z-index:20}.top-inner{max-width:1100px;margin:auto;display:flex;align-items:center;gap:30px;min-height:64px;padding:0 16px}.brand{color:#056de8;font-size:30px;font-weight:800;letter-spacing:-2px}.nav{display:flex;gap:26px;height:64px;align-items:center}.nav a{height:64px;display:flex;align-items:center;border-bottom:3px solid transparent;color:#646464}.nav a.active{color:#121212;border-color:#056de8;font-weight:600}form.search{display:flex;margin-left:auto;background:#f6f6f6;border:1px solid #ebebeb;border-radius:22px;overflow:hidden}form.search input{width:230px;border:0;background:none;padding:9px 16px;outline:none}form.search:focus-within{border-color:#056de8}form.search button{border:0;background:none;color:#8590a6;padding:0 16px;cursor:pointer}.write{background:#056de8;color:white;border-radius:20px;padding:8px 20px;white-space:nowrap}.layout{max-width:1040px;display:grid;grid-template-columns:minmax(0,700px) 300px;gap:12px;margin:12px auto;padding:0 12px}.panel,.feed,.article{background:white;border-radius:3px;box-shadow:0 1px 3px #0000000d}.tabs{display:flex;gap:32px;padding:16px 22px;border-bottom:1px solid #f0f0f0}.tabs a.active{color:#056de8;font-weight:600}.entry{padding:20px 22px;border-bottom:1px solid #f0f0f0}.entry h2{font-size:19px;line-height:1.5;margin:8px 0;font-weight:650}.byline{font-size:13px;color:#8590a6;display:flex;align-items:center;gap:8px}.avatar{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:4px;background:#eaf3ff;color:#056de8;font-size:12px}.excerpt{color:#444;margin:8px 0 14px;display:flow-root}.thumb{float:right;width:180px;height:105px;object-fit:cover;margin-left:18px;border-radius:4px}.meta{display:flex;align-items:center;gap:20px;color:#8590a6;font-size:13px}.read{background:#eaf3ff;color:#056de8;padding:5px 12px;border-radius:3px}.panel{padding:20px;margin-bottom:12px}.panel h3{margin:0 0 16px;font-size:16px}.creator p{font-size:14px;color:#8590a6}.outline{display:block;border:1px solid #056de8;border-radius:4px;text-align:center;padding:8px;color:#056de8}.topics{list-style:none;padding:0;margin:0}.topics li{border-top:1px solid #f2f2f2;padding:10px 0;display:flex;justify-content:space-between;gap:10px}.topics small{color:#8590a6}.side-note{font-size:13px;color:#8590a6;padding:8px 16px;line-height:2}.article{padding:32px}.article h1{font-size:30px;line-height:1.45;margin:0 0 18px}.article-content{font-size:17px;line-height:1.9;margin-top:28px;overflow-wrap:anywhere}.article-content img{max-width:100%;height:auto}.article-content a{color:#056de8}.article-content h2{font-size:24px;margin-top:36px}.article-content pre{overflow:auto}.article-content iframe{max-width:100%}.empty{padding:65px 24px;text-align:center}.empty h2{font-size:22px}.empty p{color:#8590a6}.pagination{padding:20px;display:flex;gap:15px}.pagination .current{color:#056de8}.heading{font-size:18px;margin:0}.tags a{display:inline-block;background:#eef5ff;color:#056de8;border-radius:20px;padding:4px 12px;margin:0 5px 12px 0}.back{display:inline-block;color:#8590a6;margin-bottom:16px}.comments-area{border-top:1px solid #eee;margin-top:28px;padding-top:20px}.comments-area textarea{width:100%}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px)}@media(max-width:900px){.layout{grid-template-columns:minmax(0,1fr)}.layout>aside{display:none}.top-inner{gap:16px}form.search input{width:140px}}@media(max-width:600px){.top-inner{flex-wrap:wrap;padding:10px 14px;gap:12px}.nav{height:35px;gap:18px}.nav a{height:35px}form.search{order:4;width:100%}form.search input{width:100%}.write{margin-left:auto}.layout{padding:0;margin-top:8px}.article{padding:22px 18px}.article h1{font-size:25px}.thumb{width:110px;height:85px}.entry{padding:18px}.tabs{gap:24px}}

form.search input{min-width:0;flex:1}form.search button{display:flex;align-items:center;justify-content:center;flex:0 0 46px;padding:0;min-height:42px}form.search button svg{flex-shrink:0}
 .pagination[hidden]{display:none}.load-more{display:block;width:100%;border:0;background:white;padding:20px;color:#056de8;cursor:pointer}.load-more:disabled{color:#8590a6;cursor:default}.pull-refresh{height:0;overflow:hidden;text-align:center;color:#8590a6;font-size:13px;display:flex;align-items:center;justify-content:center}
.pagination{justify-content:center;align-items:center;flex-wrap:wrap;gap:8px}.pagination .page-numbers{padding:6px 12px;border-radius:4px;border:1px solid #ebebeb}.pagination .current{background:#056de8;border-color:#056de8;color:white}.pagination a:hover{background:#eaf3ff}
 .topic-grid{padding:22px;display:grid;gap:20px}.topic-card{border:1px solid #e8edf4;border-radius:8px;padding:22px}.topic-card-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.topic-card h2{font-size:21px;margin:0;color:#056de8}.topic-card-heading span{font-size:13px;color:#8590a6;white-space:nowrap}.topic-description{color:#646464;font-size:14px}.topic-articles{list-style:none;margin:14px 0;padding:0}.topic-articles li{padding:10px 0;border-bottom:1px solid #f0f0f0}.topic-more{color:#056de8;font-size:14px}@media(max-width:600px){.topic-grid{padding:14px}.topic-card{padding:16px}} .article-navigation{display:grid;grid-template-columns:1fr 1fr;gap:16px;border-top:1px solid #eee;margin-top:36px;padding-top:24px}.article-neighbor{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid #e8edf4;border-radius:6px;min-width:0}.article-neighbor span{font-size:13px;color:#8590a6}.article-neighbor strong{font-size:15px;font-weight:500;overflow-wrap:anywhere}.article-neighbor:hover{background:#f5f9ff;border-color:#b7d4fa}.next-article{text-align:right}.unavailable{color:#8590a6;background:#fafafa}@media(max-width:600px){.article-navigation{grid-template-columns:1fr}.next-article{text-align:left}}
/* Refined editorial presentation */
:root{--ink:#202b3c;--muted:#8390a2;--blue:#2867d6;--line:#edf0f5;--paper:#fff}
body{background:#f4f6f9;color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}
a,button{transition:color .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease}
a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
.top{background:rgba(255,255,255,.96);box-shadow:0 1px 0 #e9edf3;backdrop-filter:blur(16px)}
.top-inner{max-width:1160px;min-height:76px;gap:36px;padding:0 24px}
.brand{font-size:31px;color:var(--blue);letter-spacing:-1.5px}
.nav{height:76px;gap:32px}.nav a{height:76px;border-bottom-width:2px;font-size:16px;color:#738095}
.nav a.active{color:var(--ink);border-color:var(--blue)}
form.search{background:#f4f6f9;border:1px solid #edf0f4;border-radius:24px}
form.search input{font-size:14px;width:245px;padding:10px 18px;color:var(--ink)}
form.search input::placeholder{color:#94a0b1}
form.search:focus-within{background:#fff;border-color:#a6bfe8;box-shadow:0 0 0 3px #2867d60a}
form.search button{color:#8796ac;flex-basis:46px}
.layout{max-width:1120px;grid-template-columns:minmax(0,766px) 300px;gap:22px;margin:26px auto;padding:0 16px;align-items:start}
.panel,.feed,.article{border-radius:12px;border:1px solid #e9edf3;box-shadow:0 3px 16px #23385403}
.feed{overflow:hidden}
.tabs{padding:20px 28px;gap:28px;border-bottom:1px solid var(--line);min-height:66px}
.tabs a.active{font-size:15px;color:var(--blue)}
.heading{font-size:18px;font-weight:650;letter-spacing:.02em}
.entry{padding:25px 28px 24px;border-bottom:1px solid var(--line)}
.entry:last-of-type{border-bottom:0}
.entry:hover{background:#fcfdff}
.byline{font-size:12px;color:#8c98a9;gap:9px}
.avatar{background:#edf3fc;color:#6484b8;border-radius:7px;width:26px;height:26px}
.entry h2{font-size:20px;line-height:1.6;font-weight:650;letter-spacing:-.025em;margin:12px 0 9px}
.entry h2 a:hover{color:var(--blue)}
.excerpt{font-size:15px;line-height:1.95;color:#616c7e;margin:8px 0 20px}
.thumb{width:184px;height:112px;margin:3px 0 12px 22px;border-radius:8px;box-shadow:0 2px 8px #182d4610}
.meta{gap:18px;font-size:12px;color:#94a0b0}
.read{background:#eef4fd;color:#4375c7;border:1px solid #e7effc;padding:5px 13px;border-radius:6px}
.read:hover{background:#e2edff}
.panel{padding:22px;margin-bottom:18px}
.panel h3{font-size:15px;letter-spacing:.025em;font-weight:650;padding-bottom:15px;border-bottom:1px solid var(--line);margin-bottom:5px}
.topics li{border-top:0;border-bottom:1px solid #f1f3f7;padding:13px 0;font-size:14px;color:#65738a}
.topics li:last-child{border-bottom:0;padding-bottom:1px}
.topics small{font-size:12px;color:#9ba6b6}
.side-note{font-size:12px;line-height:2.2;color:#99a4b4;padding:4px 15px}
.article{padding:38px 40px}
.back{font-size:13px;color:#8d9aaf;margin-bottom:22px}
.tags a{font-size:12px;background:#edf3fc;color:#507bbc;padding:4px 12px;margin-bottom:14px}
.article h1{font-size:31px;font-weight:700;letter-spacing:-.04em;line-height:1.5;margin-bottom:22px}
.article-content{font-size:16px;line-height:2.05;color:#435065;margin-top:32px}
.article-content p{margin:0 0 24px}
.article-content h2{font-size:23px;color:var(--ink);letter-spacing:-.025em;margin:36px 0 18px}
.article-content figure{margin:30px 0}.article-content img{border-radius:10px;display:block;height:auto}
.article-content figcaption{font-size:12px;color:#99a4b4;text-align:center;margin-top:10px}
.article-content em{font-size:13px;color:#95a0af}
.article-navigation{margin-top:40px;padding-top:28px;gap:14px}
.article-neighbor{background:#fafbfd;border-color:#edf0f6;padding:18px;border-radius:8px}
.article-neighbor strong{font-size:14px;line-height:1.7}
.pagination{border-top:1px solid var(--line);padding:24px}
.pagination .page-numbers{border-color:transparent;background:#f5f7fa;border-radius:7px;font-size:13px;padding:6px 12px}
.pagination .current{background:var(--blue);color:white}
.load-more{padding:22px;font-size:13px;border-top:1px solid var(--line)}
.topic-grid{gap:18px;padding:24px}
.topic-card{padding:24px;border-color:#e9eef5;border-radius:10px;background:linear-gradient(135deg,#fafcff,#fff 55%)}
.topic-card h2{font-size:21px;color:var(--ink)}
.topic-card-heading span{color:#95a0b1}
.topic-articles li{font-size:14px;line-height:1.8;padding:12px 0;color:#617088;border-bottom-color:#eef1f6}
.topic-more{font-size:13px;color:var(--blue)}
.empty{padding:70px 28px}.empty h2{font-size:23px}.outline{border-color:#dbe6f7;color:var(--blue);border-radius:7px}
@media(min-width:1000px){.layout>aside{position:sticky;top:100px}}
@media(max-width:900px){.layout{grid-template-columns:minmax(0,1fr);max-width:790px;margin-top:18px}.top-inner{min-height:68px;gap:26px}.nav,.nav a{height:68px}}
@media(max-width:600px){.top-inner{padding:12px 18px;gap:16px}.brand{font-size:29px}.nav,.nav a{height:34px}.nav{gap:24px}.nav a{font-size:15px}form.search{margin-top:0;border-radius:22px}form.search input{font-size:14px;padding:10px 15px}.layout{padding:0 10px;margin-top:12px;gap:12px}.tabs{padding:16px 20px;min-height:56px}.entry{padding:20px}.entry h2{font-size:18px;line-height:1.65;margin-top:10px}.excerpt{font-size:14px;line-height:1.9;margin-bottom:17px}.thumb{width:118px;height:88px;margin-left:15px;border-radius:6px}.meta{gap:13px;font-size:11px}.read{padding:4px 10px}.article{padding:24px 21px}.article h1{font-size:26px;line-height:1.55}.article-content{font-size:16px;line-height:1.95}.article-content h2{font-size:21px}.article-navigation{grid-template-columns:1fr}.topic-grid{padding:16px}.topic-card{padding:19px}.topic-card h2{font-size:19px}.next-article{text-align:left}}
@media(prefers-reduced-motion:reduce){a,button{transition:none}}
 .back-to-top{position:fixed;right:24px;bottom:calc(28px + env(safe-area-inset-bottom));z-index:50;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:1px solid #e2e9f3;border-radius:12px;background:#fff;color:#52729c;box-shadow:0 4px 20px #243b5c12;cursor:pointer}.back-to-top[hidden]{display:none}.back-to-top:hover{color:#2867d6;background:#edf4ff;border-color:#c5d6ef}.back-to-top:focus-visible{outline:2px solid #2867d6;outline-offset:4px}@media(max-width:600px){.back-to-top{right:16px;bottom:calc(22px + env(safe-area-inset-bottom));width:42px;height:42px}} .back-to-top{padding:0}.back-to-top svg{width:30px;height:30px;flex-shrink:0}
.theme-toggle{border:1px solid #e5eaf2;background:#f5f7fa;color:#61738c;border-radius:50%;width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;padding:0;cursor:pointer;font-size:26px;line-height:1}
html[data-theme=dark]{color-scheme:dark;--ink:#e0e6ef;--muted:#9aa8ba;--blue:#7eaaff;--line:#2b3545;--paper:#1b2330}
html[data-theme=dark] body{background:#111722;color:#e0e6ef}
html[data-theme=dark] .top{background:rgba(24,32,44,.97);box-shadow:0 1px 0 #2b3545}
html[data-theme=dark] .brand,html[data-theme=dark] .tabs a.active{color:#7eaaff}
html[data-theme=dark] .nav a{color:#9aa8ba}
html[data-theme=dark] .nav a.active{color:#edf2fa;border-color:#7eaaff}
html[data-theme=dark] form.search,html[data-theme=dark] .theme-toggle{background:#242e3e;border-color:#344055;color:#acbbd1}
html[data-theme=dark] form.search input{color:#e0e6ef}
html[data-theme=dark] form.search:focus-within{background:#202a39;border-color:#6d91c9}
html[data-theme=dark] .panel,html[data-theme=dark] .feed,html[data-theme=dark] .article{background:#1b2330;border-color:#293446;box-shadow:0 3px 16px #00000012}
html[data-theme=dark] .entry:hover{background:#202938}
html[data-theme=dark] .excerpt,html[data-theme=dark] .article-content{color:#bcc7d7}
html[data-theme=dark] .byline,html[data-theme=dark] .meta,html[data-theme=dark] .back,html[data-theme=dark] .side-note,html[data-theme=dark] .article-content em,html[data-theme=dark] .article-content figcaption{color:#95a4ba}
html[data-theme=dark] .avatar,html[data-theme=dark] .read,html[data-theme=dark] .tags a{background:#273951;color:#a1c2ff;border-color:#344b69}
html[data-theme=dark] .topics li,html[data-theme=dark] .topic-articles li{color:#b3c0d3;border-color:#2b3545}
html[data-theme=dark] .topics small,html[data-theme=dark] .topic-card-heading span{color:#9aa8ba}
html[data-theme=dark] .topic-card{background:linear-gradient(135deg,#222e40,#1b2330);border-color:#344055}
html[data-theme=dark] .topic-description{color:#b3c0d3}
html[data-theme=dark] .article-neighbor,html[data-theme=dark] .unavailable{background:#202b3b;border-color:#344055}
html[data-theme=dark] .article-neighbor:hover{background:#293b54}
html[data-theme=dark] .pagination .page-numbers{background:#293447;color:#bdcbe0}
html[data-theme=dark] .pagination .current{background:#457cda;color:white}
html[data-theme=dark] .load-more{background:#1b2330;color:#91b5f4}
html[data-theme=dark] .load-more:disabled{color:#95a4ba}
html[data-theme=dark] .back-to-top{background:#263448;border-color:#41516a;color:#bfd3f3}
html[data-theme=dark] .outline{border-color:#46618a;color:#a1c2ff}
html[data-theme=dark] a:hover{color:#91b5ff}
@media(max-width:600px){.theme-toggle{margin-left:auto;width:34px;height:34px;flex-basis:34px;font-size:24px}.top-inner form.search{order:4}}

/* Keep WordPress and Kadence block colors legible in dark mode. */
html[data-theme=dark] body{
 --global-palette1:#90b6ff;--global-palette2:#b3ceff;
 --global-palette3:#edf2fa;--global-palette4:#d3dce9;
 --global-palette5:#b7c4d6;--global-palette6:#a3b2c8;
 --global-palette7:#344155;--global-palette8:#222d3d;--global-palette9:#1b2330;
 --wp--preset--color--black:#edf2fa;--wp--preset--color--white:#1b2330;
}
html[data-theme=dark] :is(.entry,.article,.panel,.topic-card,.empty) :is(h1,h2,h3,h4,h5,h6){color:#edf2fa}
html[data-theme=dark] .entry h2 a{color:#edf2fa}
html[data-theme=dark] .entry h2 a:hover{color:#a6c6ff}
html[data-theme=dark] :is(.excerpt,.article-content,.topics,.topic-articles,.topic-more) a{color:#a6c6ff}
html[data-theme=dark] .article-content a:hover{color:#d2e2ff;text-decoration:underline}
html[data-theme=dark] .article-content :is(p,li,span,strong,b,em,i,small,figcaption,cite,label)[style*="color"],
html[data-theme=dark] .article-content .has-text-color{color:#d3dce9!important}
html[data-theme=dark] .article-content :is(h1,h2,h3,h4,h5,h6).has-text-color{color:#edf2fa!important}
html[data-theme=dark] .article-content :is(.has-background,[style*="background"]){background:#263347!important;color:#e2eaf6!important}
html[data-theme=dark] .article-content :is(blockquote,pre,code,kbd){background:#242f40;color:#dce6f5;border-color:#526682}
html[data-theme=dark] .article-content blockquote{border-left:3px solid #779bd2;padding:16px 20px}
html[data-theme=dark] .article-content :is(table,th,td){border-color:#4a5b72;color:#dce6f5}
html[data-theme=dark] .article-content th{background:#2c3c52}
html[data-theme=dark] .article-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd){background:#243043}
html[data-theme=dark] :is(.article,.panel) :is(input,textarea,select){background:#222e40;color:#e2eaf6;border:1px solid #526682}
html[data-theme=dark] :is(input,textarea)::placeholder{color:#a7b6cb;opacity:1}
html[data-theme=dark] .article-content .wp-block-button__link{background:#386fca!important;color:#fff!important}
html[data-theme=dark] .article-content hr{border-color:#46566c}
html[data-theme=dark] .article-content mark{background:#665826;color:#fff1b8}
html[data-theme=dark] :is(.byline,.meta,.back,.side-note,.empty p,.topic-description,.article-neighbor span,.pull-refresh){color:#acbad0}
html[data-theme=dark] .article-content :is(em,figcaption){color:#acbad0}
html[data-theme=dark] .topic-card-heading span,html[data-theme=dark] .topics small{color:#acbad0}
 .breadcrumbs{font-size:12px;color:#738198;margin:0 0 20px;line-height:1.8;overflow-wrap:anywhere}.breadcrumbs a{color:#4f76ad}html[data-theme=dark] .breadcrumbs{color:#acbad0}html[data-theme=dark] .breadcrumbs a{color:#a6c6ff}
.resource-filters{display:flex;flex-wrap:wrap;gap:8px;padding:20px 24px;border-bottom:1px solid var(--line)}.resource-filters a{padding:6px 14px;border-radius:20px;background:#f4f6fa;color:#6b7b91;font-size:13px}.resource-filters .selected{background:#eaf2ff;color:#2867d6}.resource-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:24px;gap:20px}.resource-card{border:1px solid #e8edf4;border-radius:10px;overflow:hidden;transition:box-shadow .2s}.resource-card:hover{box-shadow:0 7px 22px #243b5c12}.resource-image{display:flex;height:160px;background:#eef3fa;align-items:center;justify-content:center;overflow:hidden}.resource-image img{width:100%;height:100%;object-fit:cover}.resource-placeholder{font-size:48px;font-weight:700;color:#7593be}.resource-info{padding:18px}.resource-info h2{margin:0 0 10px;font-size:18px;line-height:1.5}.resource-info p{margin:0 0 14px;font-size:14px;line-height:1.8;color:#69778c;overflow-wrap:anywhere}.resource-info small{font-size:12px;color:#8695a9;overflow-wrap:anywhere}.resource-grid>.empty{grid-column:1/-1}
html[data-theme=dark] .resource-card{border-color:#344155;background:#202a39}html[data-theme=dark] .resource-image,html[data-theme=dark] .resource-filters a{background:#29384e;color:#b3c6e2}html[data-theme=dark] .resource-filters .selected{background:#345080;color:#edf3ff}html[data-theme=dark] .resource-info p{color:#b7c4d6}html[data-theme=dark] .resource-info small{color:#acbad0}
@media(max-width:600px){.resource-grid{grid-template-columns:1fr;padding:16px;gap:16px}.resource-image{height:180px}.resource-filters{padding:16px}.top-inner{gap:12px}.nav{gap:18px}.nav a{font-size:14px;white-space:nowrap}.brand{font-size:26px}}
 .resource-image{height:auto;aspect-ratio:1 / 1;width:100%}.resource-image img{width:100%;height:100%;object-fit:cover}@media(max-width:600px){.resource-image{height:auto;aspect-ratio:1 / 1}}
.resource-card{display:flex;align-items:flex-start;gap:16px;padding:16px}
.resource-card .resource-image{flex:0 0 88px;width:88px;height:88px;aspect-ratio:1;border-radius:8px}
.resource-card .resource-info{flex:1;min-width:0;padding:0}
.resource-card .resource-info h2{font-size:16px;margin:0 0 7px;overflow-wrap:anywhere}
.resource-card .resource-info p{font-size:13px;margin:0 0 8px;line-height:1.7}
.resource-card .resource-placeholder{font-size:32px}
@media(max-width:600px){.resource-card{gap:14px;padding:16px}.resource-card .resource-image{flex-basis:80px;width:80px;height:80px}}

/* Subtle motion without changing content dimensions. */
.entry,.topic-card,.resource-card{transition:opacity .45s ease,translate .45s ease,box-shadow .22s ease,border-color .22s ease,background-color .22s ease}
.reveal-pending{opacity:0;translate:0 14px}
.resource-image img,.thumb{transition:transform .35s ease,filter .35s ease}
.nav a{position:relative;transition:color .2s ease,border-color .2s ease}
.nav a::after{content:"";position:absolute;bottom:8px;left:0;right:0;height:2px;background:currentColor;transform:scaleX(0);transform-origin:center;transition:transform .2s ease;opacity:.45}
.nav a.active::after{display:none}
button,.read,.outline,.resource-filters a,.pagination a{transition:background-color .2s ease,color .2s ease,box-shadow .2s ease,transform .15s ease}
button:active,.read:active,.outline:active,.resource-filters a:active,.pagination a:active{transform:scale(.96)}
form.search{transition:border-color .2s ease,box-shadow .2s ease,background-color .2s ease}
@media(hover:hover) and (pointer:fine){
 .resource-card:hover,.topic-card:hover{translate:0 -3px;border-color:#bacdea;box-shadow:0 10px 28px #284b7820}
 .resource-card:hover .resource-image img{transform:scale(1.05)}
 .entry:hover .thumb{transform:scale(1.025)}
 .nav a:hover::after{transform:scaleX(1)}
 .article-neighbor:hover{box-shadow:0 4px 14px #284b7812}
 .back-to-top:hover{transform:translateY(-3px)}
 html[data-theme=dark] .resource-card:hover,html[data-theme=dark] .topic-card:hover{border-color:#6483ae;box-shadow:0 10px 28px #0003}
}
@media(prefers-reduced-motion:reduce){
 .entry,.topic-card,.resource-card,.resource-image img,.thumb,.nav a,.nav a::after,button,.read,.outline,.resource-filters a,.pagination a,form.search{transition:none!important}
 .reveal-pending{opacity:1;translate:none}
 .resource-card:hover,.topic-card:hover,.back-to-top:hover{translate:none;transform:none}
}
 .resource-card{position:relative}.resource-link::after{content:"";position:absolute;inset:0;border-radius:10px;z-index:1}.resource-link:focus-visible{outline:none}.resource-link:focus-visible::after{outline:2px solid var(--blue);outline-offset:3px}.resource-card:has(.resource-link){cursor:pointer} .brand{display:flex;align-items:center;flex-shrink:0;line-height:1}.brand-logo{display:block;width:142px;height:auto;max-height:60px;object-fit:contain}html[data-theme=dark] .brand{background:#f4f7ff;border-radius:10px;padding:3px 6px}@media(max-width:600px){.top-inner{padding-left:12px;padding-right:12px;gap:10px}.brand-logo{width:94px;max-height:42px}.nav{gap:12px}.nav a{font-size:13px}.theme-toggle{flex-basis:30px;width:30px;height:30px}html[data-theme=dark] .brand{padding:2px 3px}} .article-lead{font-size:17px;line-height:1.95}.article-toc{padding:20px 24px;border:1px solid var(--line);background:#f7f9fc;border-radius:10px;margin:24px 0}.article-toc strong{font-size:15px}.article-toc ol{padding-left:22px;margin:12px 0 0}.article-toc li{font-size:14px;margin:6px 0}.article-content h2[id]{scroll-margin-top:100px}.editorial-note{font-size:13px;color:#7b8798}html[data-theme=dark] .article-toc{background:#243043;color:#d3dce9}html[data-theme=dark] .editorial-note{color:#acbad0}.article .byline{flex-wrap:wrap}
/* Resource directory contact card. */
.tutorial-contact{border-color:#dbe6ff;background:linear-gradient(145deg,#f3f7ff,#fff);text-align:center}
.tutorial-contact-tag{display:inline-block;padding:3px 10px;border-radius:20px;background:#e5eeff;color:#2563eb;font-size:11px;font-weight:600;margin-bottom:12px}
.tutorial-contact h3{margin:0 0 10px;font-size:17px}
.tutorial-contact p{font-size:13px;line-height:1.8;color:#657794;margin:0 0 14px}
.tutorial-contact-number{font-size:13px;color:#2563eb;margin-bottom:12px}
.tutorial-contact-number strong{font-size:20px;letter-spacing:.04em;user-select:all}
.tutorial-contact img{display:block;width:180px;height:auto;margin:0 auto 10px;padding:6px;border-radius:12px;background:#fff;max-width:100%}
.tutorial-contact small{font-size:11px;color:#657794}
.tutorial-contact--mobile{display:none}
html[data-theme=dark] .tutorial-contact{background:linear-gradient(145deg,#1c2d49,#1b2330);border-color:#34465f}
html[data-theme=dark] .tutorial-contact p,html[data-theme=dark] .tutorial-contact small{color:#bdcbe0}
html[data-theme=dark] .tutorial-contact-number{color:#adc8ff}
@media(max-width:900px){.tutorial-contact--mobile{display:block;margin-top:28px}.tutorial-contact--desktop{display:none}}
.article-ad{position:static;inset:auto;margin:28px 0 0;overflow:hidden;border-radius:10px;background:#0b133a}
.article-ad a{display:block;line-height:0}
.article-ad img{display:block;width:100%;height:auto;max-width:100%;margin:0;object-fit:contain}
.article-ad a:focus-visible{outline:3px solid #60a5fa;outline-offset:-3px}
.article-ad--mobile{display:none}
@media(max-width:600px){.article-ad--desktop{display:none}.article-ad--mobile{display:block}}
.resource-contact-code{flex:0 0 148px;text-align:center;align-self:center}
.resource-contact-code img{display:block;box-sizing:content-box;width:136px;height:136px;max-width:100%;padding:6px;background:#fff;border:1px solid #e0e8f7;border-radius:12px}
.resource-contact-code p{margin:7px 0 0;font-size:11px;color:#64748b}
html[data-theme="dark"] .resource-contact-code p{color:#bbc9de}
@media(max-width:640px){.resource-contact-code{flex-basis:auto;align-self:flex-start}.resource-contact-code img{width:160px;height:160px}}
.resource-contact{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:20px;padding:24px;border:1px solid #dbe6ff;border-radius:16px;background:linear-gradient(120deg,#f4f8ff,#f8f5ff);color:#192b49}
.resource-contact-eyebrow{font-size:10px;letter-spacing:.16em;font-weight:700;color:#526eaa}
.resource-contact h2{font-size:21px;margin:7px 0 8px;color:inherit}
.resource-contact-copy p{margin:0 0 16px;font-size:14px;color:#526580}
.resource-contact-account{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:13px}
.resource-contact-account>span:first-child{background:#e3ecff;color:#275fca;border-radius:6px;padding:3px 7px;font-weight:700}
.resource-contact-account strong{font-size:20px;letter-spacing:.04em;user-select:all}
.resource-contact-name{color:#67768f}
.resource-contact-details{flex:0 0 auto;max-width:360px}
.resource-contact-details summary{cursor:pointer;list-style:none;border-radius:10px;background:#2466e8;color:#fff;padding:12px 18px;font-size:14px;font-weight:600;box-shadow:0 5px 16px #2466e822}
.resource-contact-details summary::-webkit-details-marker{display:none}
.resource-contact-details summary:focus-visible{outline:3px solid #829cf8;outline-offset:4px}
.resource-contact-details summary span{margin-left:16px}
.resource-contact-qr{margin-top:14px;padding:12px;background:#fff;border-radius:12px;color:#526580}
.resource-contact-qr img{display:block;width:100%;max-width:320px;height:auto;border-radius:6px}
.resource-contact-qr p{font-size:12px;line-height:1.6;margin:10px 0 0}
html[data-theme="dark"] .resource-contact{background:linear-gradient(120deg,#182538,#252039);border-color:#34465f;color:#eef3ff}
html[data-theme="dark"] .resource-contact-copy p,html[data-theme="dark"] .resource-contact-name{color:#bbc9de}
html[data-theme="dark"] .resource-contact-eyebrow{color:#a3bdff}
html[data-theme="dark"] .resource-contact-account>span:first-child{background:#263d64;color:#c3d6ff}
@media(max-width:640px){.resource-contact{flex-direction:column;margin:14px;padding:20px;gap:18px}.resource-contact-details{width:100%;max-width:none}.resource-contact-details summary{display:flex;justify-content:space-between}.resource-contact-qr img{margin:auto}}
