/*
Theme Name: qingmai
Description: 深色青色像素电路风格博客主题，按指定首页参考图制作。
Version: 1.0.11
Requires at least: 6.2
Requires PHP: 7.4
Author: qingmai
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: qingmai
Tags: blog, two-columns, right-sidebar, custom-menu, featured-images
*/
:root{--page:#080f17;--panel:#0d1722;--line:#1c3043;--line-bright:#2a5069;--text:#e9edf7;--muted:#94aac0;--cyan:#32c8ef;--cyan-light:#9be5ff;--violet:#a2b0ff;--radius:7px;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 15% 0,#10213155,transparent 40%),var(--page);color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans CJK SC","Microsoft YaHei",Arial,sans-serif;font-size:15px;line-height:1.65;font-variant-numeric:lining-nums tabular-nums;-webkit-text-size-adjust:100%;overflow-wrap:break-word}a{color:inherit;text-decoration:none;transition:color .16s,border-color .16s,background-color .16s,box-shadow .16s}a:hover{color:var(--cyan-light)}button,input,textarea,select{font:inherit}button{cursor:pointer}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--cyan-light);outline-offset:4px}img{max-width:100%}svg{display:inline-block;vertical-align:middle}.icon{width:19px;height:19px;flex:none}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,h4{font-weight:650}ul,ol{margin:0;padding:0}.wrap{width:92%;max-width:1160px;margin-inline:auto}.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;white-space:nowrap}.skip-link:focus{clip:auto;clip-path:none;width:auto;height:auto;top:10px;left:10px;padding:12px 18px;z-index:1000;color:var(--page);background:var(--cyan)}
/* Masthead and the outlined navigation strip. */
.masthead{min-height:94px;display:flex;align-items:center;justify-content:space-between;padding:21px 5px 20px}.brand-group{display:flex;align-items:center;gap:15px;min-width:0;max-width:100%}.pixel-mark{display:flex;flex:none;align-items:center;justify-content:center;color:var(--cyan);width:42px;height:47px}.pixel-mark>.icon{width:42px;height:47px}.brand-copy{min-width:0}.site-name{display:block;font-size:24px;font-weight:750;line-height:1.3;letter-spacing:1px;overflow-wrap:anywhere;color:#e5f7ff}.site-shortname{display:block;color:var(--muted);font-size:11px;line-height:1.5;letter-spacing:3px;margin-top:7px;overflow-wrap:anywhere}.custom-logo-link{display:flex;flex:none;max-width:100px}.custom-logo{width:auto;max-height:54px;object-fit:contain}.navigation-bar{display:flex;align-items:center;gap:18px;border:1px solid var(--line);border-radius:var(--radius);padding:9px;background:linear-gradient(100deg,#0b1825,#0c141d);position:relative;z-index:20}.header-nav{min-width:0;flex:1}.primary-menu{display:flex;align-items:center;gap:9px;flex-wrap:wrap;list-style:none}.primary-menu>li{position:relative;display:flex;align-items:center;min-width:0;max-width:100%}.primary-menu>li>a{font-size:13px;line-height:20px;font-weight:650;padding:8px 15px;display:block;border:1px solid #233c51;border-inline-color:transparent;border-radius:7px;color:#bfd2e8;overflow-wrap:anywhere}.primary-menu>li.current-menu-item>a,.primary-menu>li.current-menu-ancestor>a,.primary-menu>li>a:hover,.primary-menu>li>a:focus-visible{border-color:var(--cyan);color:#80e7ff;box-shadow:inset 0 0 0 3px #091521,0 0 10px #18a9d329;background:#0b2231}.sub-menu{list-style:none;position:absolute;top:100%;left:0;min-width:210px;max-width:320px;background:#0d1b28;border:1px solid var(--line-bright);padding:9px;border-radius:5px;display:none;box-shadow:0 10px 25px #0008}.sub-menu>li{position:relative;display:flex;align-items:center;flex-wrap:wrap}.sub-menu a{display:block;flex:1;font-size:13px;line-height:21px;padding:7px 9px;overflow-wrap:anywhere}.sub-menu .sub-menu{position:static;margin-left:10px;min-width:0;flex-basis:100%;border:0;border-left:1px solid var(--line-bright);box-shadow:none;padding:0 0 0 8px}.menu-item-has-children:hover>.sub-menu,.menu-item-has-children:focus-within>.sub-menu,.menu-item-has-children.is-open>.sub-menu{display:block}.submenu-toggle{flex:none;display:grid;place-items:center;background:none;color:var(--muted);border:0;padding:4px;width:24px;height:30px}.submenu-toggle .icon{width:13px;height:13px}.submenu-toggle[aria-expanded=true] .icon{transform:rotate(180deg)}.primary-menu>.menu-item-has-children>a{padding-right:7px}.sub-menu .current-menu-item>a{color:var(--cyan)}.header-search{width:236px;flex:0 0 236px}.search-form{display:flex;width:100%;height:38px;border:1px solid #2a4358;border-radius:5px;background:#09121b;box-shadow:inset 0 0 0 2px #15253666;align-items:center}.search-form input{min-width:0;flex:1;width:100%;color:var(--text);background:none;border:0;font-size:12px;line-height:20px;padding:8px 11px;outline-offset:1px}.search-form input::placeholder{color:#88a0b8}.search-form button{display:grid;place-items:center;flex:none;width:37px;height:34px;border:0;background:none;color:var(--cyan-light);padding:0}.search-form button .icon{width:18px;height:18px}.search-form:focus-within{border-color:var(--cyan)}.mobile-controls,.panel-heading{display:none}.icon-button{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--line-bright);border-radius:5px;background:#0c1d2b;color:var(--cyan-light);padding:0}.icon-button:hover,.icon-button[aria-expanded=true]{border-color:var(--cyan);background:#102b3c}
/* Main split and 4:3 article image slots. */
.site-main{padding-top:24px;padding-bottom:32px;min-height:55vh}.content-grid{display:grid;grid-template-columns:minmax(0,2.14fr) minmax(0,1fr);gap:20px;align-items:stretch}.main-column{min-width:0}.post-list{display:flex;flex-direction:column;gap:14px}.post-card{display:grid;grid-template-columns:31% minmax(0,1fr);grid-template-rows:24px 28px minmax(0,1fr) 21px;gap:7px 24px;padding:16px;border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(112deg,#16202b 0,#0d1721 38%,#0d1721);min-width:0;align-items:start}.post-card:hover{border-color:#29546b}.card-image{grid-column:1;grid-row:1/5;display:block;width:100%;aspect-ratio:4/3;align-self:center;border-radius:5px;overflow:hidden;border:1px solid #2a3b4a}.card-category{grid-column:2;grid-row:1;min-width:0;line-height:24px;white-space:nowrap;overflow:hidden}.category-link{display:inline-block;font-size:12px;line-height:18px;padding:2px 10px;max-width:100%;color:#72dcfa;border:1px solid #269ac1;border-radius:4px;background:#09202e;box-shadow:inset 0 0 0 2px #07121c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top;font-weight:600}.category-link.accent-1{color:#55e8e3;border-color:#16a9af;background:#082627}.category-link.accent-2{color:#b2beff;border-color:#667fc4;background:#141c33}.category-link.accent-3{color:#f4c87b;border-color:#b08f5c;background:#211b12}.category-link:hover{filter:brightness(1.2)}.card-title{grid-column:2;grid-row:2;margin:0;min-width:0;line-height:28px;font-size:20px;font-weight:650;letter-spacing:.1px}.card-title a{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-excerpt{grid-column:2;grid-row:3;color:#a1b2c7;font-size:14.5px;line-height:23px;margin:1px 0 0;min-width:0;align-self:center}.card-excerpt>span{display:none;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;max-height:69px;overflow-wrap:anywhere}.card-excerpt>.excerpt-wide{display:-webkit-box}.card-bottom{grid-column:2;grid-row:4;display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;align-self:end}.post-meta{display:flex;align-items:center;flex-wrap:wrap;gap:7px 18px;font-size:12px;line-height:20px;color:var(--muted)}.post-meta time,.post-meta .view-count{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.post-meta .icon{width:14px;height:14px}.read-more{display:inline-flex;gap:5px;align-items:center;white-space:nowrap;font-size:12px;line-height:20px;font-weight:600;color:var(--cyan);flex:none}.read-more .icon{width:14px;height:14px}.thumb-frame{display:block;width:100%;height:100%;position:relative;background:linear-gradient(135deg,#092133,#142638);overflow:hidden}.thumb-frame img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}.thumb-frame>img:not(.loaded){opacity:1}.thumb-frame>img.loaded{opacity:1;transition:opacity .22s}.pixel-fallback{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(120deg,transparent,#307fa815,transparent);color:#327c99}.thumb-frame.is-loaded .pixel-fallback{display:none}.thumb-frame.is-failed{background:#102330}.thumb-frame.is-failed .pixel-fallback{color:#477990}
/* Sidebar: numbered rectangles and outlined two-column tags. */
.sidebar{min-width:0;position:relative}.sidebar-sticky{position:sticky;top:var(--sidebar-top,20px);display:flex;flex-direction:column;gap:20px}.widget{border:1px solid var(--line);background:linear-gradient(125deg,#0d1a27,#0c151f);border-radius:var(--radius);padding:18px;margin:0;min-width:0}.widget-heading{display:flex;gap:9px;align-items:center;justify-content:space-between;padding-bottom:13px;margin-bottom:2px;border-bottom:1px solid var(--line)}.widget-heading h2{display:flex;align-items:flex-start;gap:9px;min-width:0;font-size:18px;line-height:26px;margin:0;font-weight:700}.widget-heading h2>.icon{margin-top:3px;width:20px;height:20px;color:#ffc378}.widget-heading .icon-fire{color:#ff896d}.widget-heading>a{display:inline-flex;align-items:center;gap:5px;flex:none;font-size:11px;font-weight:600;color:var(--cyan);line-height:20px;white-space:nowrap}.widget-heading>a .icon{width:14px;height:14px}.popular-list{list-style:none}.popular-list>li{display:grid;grid-template-columns:39% minmax(0,1fr);gap:10px;padding:15px 0;border-bottom:1px solid #182b3a;align-items:start;min-width:0}.popular-list>li:last-child{padding-bottom:0;border-bottom:0}.popular-rank{position:absolute;left:0;top:0;z-index:2;display:grid;place-items:center;width:24px;height:27px;border:1px solid #466783;border-radius:4px;color:#d8ebff;background:#10263b;font-size:13px;line-height:20px;font-weight:700;box-shadow:inset 0 0 0 2px #092036}.popular-list>li:nth-child(1) .popular-rank{background:#27c2e9;border-color:#39d4f8;color:#002132;box-shadow:inset 0 0 0 2px #6cdeee66}.popular-list>li:nth-child(2) .popular-rank,.popular-list>li:nth-child(3) .popular-rank{background:#b2bffe;color:#172641;border-color:#c7d0ff;box-shadow:inset 0 0 0 2px #a7b3ed}.popular-image{position:relative;display:block;aspect-ratio:4/3;min-width:0;border:1px solid #213747;border-radius:5px;overflow:hidden}.popular-copy{min-width:0;padding-top:2px}.popular-copy h3{font-size:13px;line-height:22px;font-weight:650;margin:0 0 7px;min-width:0}.popular-copy h3 a{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.popular-meta{font-size:11px;color:var(--muted);line-height:18px;display:flex;gap:4px 10px;flex-wrap:wrap}.popular-meta span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.popular-meta .icon{width:13px;height:13px}.tag-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 12px;padding-top:13px}.tag-grid>a{min-width:0;width:100%;display:flex;gap:7px;align-items:center;padding:9px 9px;font-size:12px;line-height:19px;color:#67def5;border:1px solid #2b98b1;border-radius:5px;box-shadow:inset 0 0 0 3px #07131e;background:linear-gradient(120deg,#0b2030,#0c1823)}.tag-grid>a:hover{background:#12374a;border-color:#65d8ed}.tag-symbol{flex:none;font-size:15px;line-height:19px;font-weight:700;color:#a0e3ff}.tag-name{min-width:0;flex:1 1 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal}.tag-count{font-size:11px;line-height:18px;color:#b0cadc;flex:none;align-self:center}.quote-widget{position:relative;padding:26px 22px 22px 64px;min-height:145px;color:#c2d5e6}.quote-widget>span{position:absolute;left:18px;top:11px;font-size:58px;color:#374c63;line-height:1}.quote-widget blockquote{margin:0;font-size:15px;line-height:1.9}.quote-widget figcaption{font-size:12px;color:var(--muted);text-align:right;margin-top:14px}.subscribe-widget{border-color:#25617b;padding:23px 20px}.subscribe-widget h2{display:flex;gap:13px;align-items:center;font-size:18px;line-height:26px;margin:0 0 20px}.subscribe-widget h2 .icon{width:26px;height:26px;color:var(--cyan)}.subscribe-link{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--cyan);color:#002536;border:1px solid #54d8ee;border-radius:5px;min-height:42px;font-size:14px;font-weight:700}.subscribe-link:hover{background:#87e6ff;color:#002536}
/* Breadcrumb paths stay on one line above the two-column grid. */
.breadcrumbs{margin:0 0 21px;border-bottom:1px solid var(--line);padding:0 0 13px;min-width:0}.breadcrumbs ol{display:flex;align-items:center;list-style:none;gap:0;min-width:0;overflow:hidden}.breadcrumbs li{display:flex;align-items:center;min-width:0;flex:0 1 auto;max-width:32%;font-size:12px;line-height:22px;color:var(--muted)}.breadcrumbs li:first-child{flex:none;max-width:none}.breadcrumbs li+li:before{content:"";width:5px;height:5px;border-top:1px solid #598fa7;border-right:1px solid #598fa7;transform:rotate(45deg);margin:0 11px 0 9px;flex:none}.breadcrumbs li.crumb-current{flex:1;max-width:none;color:#bad8e8}.breadcrumbs a,.breadcrumbs li>span{display:block;min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.breadcrumbs a .icon{width:13px;height:13px;margin-right:7px;color:var(--cyan)}

/* Reading page: a shallow framed article and a connected metadata strip. */
.single-article,.page-article{background:linear-gradient(130deg,#101c28,#0c151f 35%);border:1px solid var(--line);border-radius:7px;padding:28px 30px;min-width:0}

.entry-title{font-size:24px;line-height:1.55;letter-spacing:.15px;margin:0;overflow-wrap:anywhere;font-weight:700}

.entry-content{font-size:16px;line-height:1.95;color:#c9d5e2;overflow-wrap:anywhere;min-width:0}.entry-content>*:last-child{margin-bottom:0}.entry-content p{margin:0 0 1.35em}.entry-content h1{font-size:23px;line-height:1.5;margin:1.7em 0 .8em;color:var(--text)}.entry-content h2{font-size:21px;line-height:1.55;margin:1.6em 0 .8em;padding-left:13px;border-left:3px solid var(--cyan);color:var(--text)}.entry-content h3{font-size:19px;line-height:1.6;margin:1.4em 0 .6em;color:var(--text)}.entry-content h4,.entry-content h5,.entry-content h6{font-size:17px;line-height:1.6;margin:1.4em 0 .6em;color:var(--text)}.entry-content a{color:#6dddfa;text-decoration:underline;text-underline-offset:4px}.entry-content a:hover{color:#b6edff}.entry-content ul,.entry-content ol{padding-left:1.5em;margin:1em 0 1.4em}.entry-content li{padding-left:.15em;margin-bottom:.4em}.entry-content li::marker{color:#6fa8c7}.entry-content blockquote{margin:1.7em 0;padding:18px 22px;background:#273444;color:#b7dbea;border-radius:0 6px 6px 0;border-left:0}.entry-content blockquote p:last-child{margin:0}.entry-content pre{max-width:100%;overflow-x:auto;padding:20px;background:#07111a;border:1px solid #284254;border-radius:5px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;line-height:1.8;white-space:pre;overflow-wrap:normal}.entry-content code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.87em;background:#162b3d;color:#89e4f6;padding:2px 5px;border-radius:3px}.entry-content pre code{padding:0;background:none;color:#bfd9ed;white-space:pre}.entry-content table{display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse;font-size:14px;margin:1.5em 0}.entry-content th,.entry-content td{padding:10px 13px;border:1px solid #29475b;min-width:80px}.entry-content th{background:#162b3b;color:#d4effc}.entry-content tr:nth-child(even){background:#11212e}.entry-content figure{max-width:100%;margin:1.5em 0}.entry-content figcaption,.entry-content .wp-caption-text{font-size:12px;line-height:1.8;color:var(--muted);text-align:center;margin-top:8px}.entry-content img:not(.emoji):not(.wp-smiley){max-width:100%;height:auto;object-fit:contain;display:block;margin:1.3em auto;border-radius:4px}.entry-content img.lazy:not(.loaded):not(.emoji):not(.wp-smiley){width:var(--qingmai-image-width,100%);max-width:100%;height:auto;aspect-ratio:var(--qingmai-image-ratio,4/3);min-height:0}.entry-content img.emoji,.entry-content img.wp-smiley{width:1em!important;height:1em!important;min-height:0!important;display:inline!important;border:0!important;padding:0!important;margin:0 .05em!important;vertical-align:-.1em!important}.entry-content iframe,.entry-content video,.entry-content embed,.entry-content object{max-width:100%}.entry-content hr{height:1px;border:0;background:#294252;margin:2em 0}.entry-content input{max-width:100%;background:#071620;border:1px solid #38576c;border-radius:4px;color:var(--text);padding:9px}.entry-content input[type=submit]{background:var(--cyan);color:#062435;font-weight:700;cursor:pointer}.entry-content .alignleft{float:left;margin-right:20px!important}.entry-content .alignright{float:right;margin-left:20px!important}.entry-content:after{content:"";display:table;clear:both}.entry-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:28px;padding-top:19px;border-top:1px solid var(--line)}.entry-tags a{font-size:12px;line-height:20px;border:1px solid #276b88;border-radius:4px;color:#79dcf1;padding:4px 10px;overflow-wrap:anywhere}.entry-tags a:nth-child(3n+2){border-color:#5f619a;color:#bcb8fa}.entry-tags a:nth-child(3n){border-color:#55886f;color:#9bdcb5}.entry-tags a:hover{background:#133244}.page-header{display:flex;gap:15px;align-items:center;padding-bottom:22px;border-bottom:1px solid #2d5368;margin-bottom:28px}.page-header>.icon{width:27px;height:33px;color:var(--cyan);flex:none}
/* Neighbour navigation is a paired switch bar, not article body content. */
.reading-switch{display:flex;gap:0;background:#0b1823;border:1px solid #2a4c60;border-radius:5px;margin:23px 0 30px;position:relative;overflow:hidden}.reading-switch>a{display:flex;min-width:0;flex:1;flex-direction:column;gap:9px;padding:16px 20px}.reading-switch>a+a{border-left:1px solid #2a4c60}.switch-direction{display:flex;align-items:center;gap:11px;color:var(--cyan);font-size:12px;font-weight:600;line-height:20px}.switch-direction .icon{width:23px;height:17px}.reading-next .switch-direction{justify-content:flex-end}.reading-next{text-align:right}.reading-switch strong{font-size:14px;line-height:23px;font-weight:550;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.reading-switch>a:hover{background:#112b3b}.reading-switch:after{content:"";position:absolute;bottom:0;left:25%;right:25%;height:2px;background:#2da7c4;pointer-events:none}

/* Real URL pagination and useful empty states. */
.pagination{margin-top:23px}.pagination>ul{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;list-style:none;gap:10px}.pagination li>.page-numbers{display:flex;align-items:center;justify-content:center;min-width:41px;height:42px;padding:0 11px;border:1px solid var(--line);border-radius:5px;font-size:14px;line-height:20px;color:#d1eafb;background:#0c1a27}.pagination .current{background:var(--cyan);border-color:#76e4f7;box-shadow:inset 0 0 0 2px #27b6db;color:#002536;font-weight:700}.pagination a:hover{border-color:var(--cyan);color:var(--cyan-light)}.pagination .dots{background:transparent;border:0;min-width:20px;padding:0}.pagination .icon{width:17px;height:17px}.content-pages{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:25px}.content-pages>.post-page-numbers{font-size:14px;line-height:22px;min-width:36px;padding:6px 11px;background:#152d3e;border:1px solid #2d5f77;text-decoration:none;text-align:center}.content-pages>.current{background:#28bade;color:#042739}.empty-state{border:1px solid var(--line);border-left:3px solid #237e9b;border-radius:5px;background:linear-gradient(120deg,#102635,#0b1721 65%);padding:38px 32px;min-height:310px}.empty-pixels{color:#409bbb;display:inline-flex;margin-bottom:20px}.empty-pixels .icon{width:33px;height:40px}.empty-state h2{font-size:23px;line-height:1.6;margin:0 0 10px}.empty-state p{font-size:14px;color:var(--muted);margin-bottom:24px}.empty-state .search-form{max-width:420px;height:44px;margin-bottom:15px}.text-link{display:inline-flex;align-items:center;gap:10px;font-size:14px;color:var(--cyan);padding:8px 0}.text-link .icon{width:18px;height:18px}.not-found{max-width:670px;margin:30px auto 70px;padding:36px;text-align:center;border:1px solid #2a4e62;border-radius:6px;background:radial-gradient(ellipse at top,#163c50,#0a151f 70%);position:relative}.not-found:before,.not-found:after{content:"";position:absolute;top:24px;bottom:24px;width:11px;border-block:1px solid #36c1d7;pointer-events:none}.not-found:before{left:-1px;border-left:1px solid #36c1d7}.not-found:after{right:-1px;border-right:1px solid #36c1d7}.error-code{display:flex;gap:14px;justify-content:center;align-items:center;font-size:80px;line-height:1.4;color:#6cdbf0;letter-spacing:3px;font-weight:300}.error-code>.icon{width:56px;height:67px;color:var(--cyan)}.not-found h1{font-size:26px;margin:15px 0 12px}.not-found p{font-size:14px;color:var(--muted)}.not-found .search-form{max-width:370px;height:44px;margin:26px auto 13px}

@media(min-width:980px) and (max-width:1199px){.content-grid{gap:18px}.navigation-bar{gap:12px}.primary-menu{gap:6px}.primary-menu>li>a{padding:7px 11px;font-size:12px}.header-search{width:210px;flex-basis:210px}.post-card{grid-template-columns:34% minmax(0,1fr);grid-template-rows:22px 26px minmax(0,1fr) 18px;gap:6px 16px;padding:12px}.card-title{font-size:18px;line-height:26px}.category-link{font-size:11px;line-height:17px;padding:2px 8px}.card-excerpt{font-size:14px;line-height:21px;margin:0}.card-excerpt>span{max-height:63px}.card-excerpt>.excerpt-wide{display:none}.card-excerpt>.excerpt-narrow{display:-webkit-box}.post-meta{font-size:11px;gap:5px 11px;line-height:18px}.read-more{font-size:11px;line-height:18px}.read-more .icon{width:12px}.widget{padding:15px}.widget-heading h2{font-size:16px;line-height:24px;gap:7px}.widget-heading>a{font-size:10px;gap:3px}.popular-list>li{grid-template-columns:37% minmax(0,1fr);gap:8px;padding-block:14px}.popular-rank{width:21px;height:24px;font-size:12px}.popular-copy h3{font-size:12px;line-height:21px;margin-bottom:5px}.popular-meta{font-size:10px;gap:2px 7px;line-height:17px}.tag-grid{gap:8px}.tag-grid>a{padding:8px 7px;font-size:12px;gap:4px}.tag-count{font-size:10px}.quote-widget{padding:22px 16px 20px 48px}.quote-widget>span{left:12px}.quote-widget blockquote{font-size:14px}.single-article,.page-article{padding:25px 25px}

}
@media(max-width:979px){.wrap{width:92%;max-width:860px}.masthead{min-height:80px;padding:17px 0}.brand-group{gap:12px}.site-name{font-size:23px}.pixel-mark,.pixel-mark>.icon{width:36px;height:42px}.site-shortname{font-size:10px;letter-spacing:2px;margin-top:5px}.mobile-controls{display:flex;gap:9px;flex:none;margin-left:17px}.masthead>.brand-group{max-width:calc(100% - 106px)}.navigation-bar{padding:0;border:0;display:block;background:none}.header-nav,.header-search{display:none;width:100%;padding:15px 17px 18px;margin-top:2px;border:1px solid #2b5c75;border-radius:6px;background:linear-gradient(115deg,#102536,#0c1824);box-shadow:inset 3px 0 #16799333}.header-nav.is-open,.header-search.is-open{display:block}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #23485e;padding-bottom:12px;margin-bottom:13px;font-size:12px;line-height:22px;color:#99c2dc}.panel-heading>span{display:flex;gap:8px;align-items:center}.panel-heading .icon-button{width:32px;height:32px}.panel-heading .icon-button .icon{width:16px;height:16px}.primary-menu{display:flex;flex-direction:column;align-items:stretch;gap:9px}.primary-menu>li{display:flex;flex-wrap:wrap;gap:0}.primary-menu>li>a{flex:1;font-size:14px;line-height:22px;padding:10px 14px;border-inline-color:#254455;border-radius:5px;background:#0b1b29}.primary-menu>.menu-item-has-children>a{border-radius:5px 0 0 5px;border-right:0}.submenu-toggle{width:40px;height:44px;border:1px solid #254455;background:#0b1b29;border-radius:0 5px 5px 0}.submenu-toggle .icon{width:15px;height:15px}.sub-menu,.sub-menu .sub-menu{position:static;flex-basis:100%;width:100%;min-width:0;max-width:none;margin:8px 0 2px 15px;padding:0 0 0 12px;box-shadow:none;border:0;border-left:1px solid #296080;background:transparent;border-radius:0}.sub-menu a{font-size:13px;line-height:22px;padding:9px 10px;background:transparent}.sub-menu .submenu-toggle{height:38px;width:34px;background:transparent;border:0}.menu-item-has-children:hover>.sub-menu,.menu-item-has-children:focus-within>.sub-menu{display:none}.menu-item-has-children.is-open>.sub-menu{display:block}.header-search .search-form{height:46px}.header-search input{font-size:14px;line-height:22px;padding:11px 12px}.header-search .search-form button{width:44px;height:42px}.site-main{padding-top:16px;padding-bottom:30px}.content-grid{display:block}.sidebar{display:none}.post-card{grid-template-columns:31% minmax(0,1fr);grid-template-rows:22px 27px minmax(0,1fr) 20px;padding:15px;gap:7px 21px}.card-title{font-size:19px;line-height:27px}.category-link{font-size:11px;line-height:18px;padding:1px 8px}.card-excerpt{font-size:15px;line-height:24px;max-height:48px;margin:0}.card-excerpt>span{-webkit-line-clamp:2;max-height:48px}.card-excerpt>.excerpt-wide{display:none}.card-excerpt>.excerpt-tablet{display:-webkit-box}.post-meta{font-size:12px;gap:7px 16px}.read-more{font-size:12px}

}
@media(min-width:640px) and (max-width:759px){.post-card{gap:6px 17px;padding:13px}.card-title{font-size:18px;line-height:26px}.card-excerpt{font-size:14px;line-height:22px}.card-excerpt>span{max-height:44px}.card-excerpt>.excerpt-tablet{display:none}.card-excerpt>.excerpt-tabletcompact{display:-webkit-box}.post-meta{font-size:11px;gap:6px 10px}.read-more{font-size:11px}.card-excerpt>.excerpt-tabletcompact{-webkit-line-clamp:2}}
@media(max-width:639px){.wrap{width:calc(100% - 28px)}.masthead{min-height:76px;padding:15px 0}.brand-group{gap:10px}.site-name{font-size:21px;line-height:1.35;letter-spacing:.4px}.pixel-mark,.pixel-mark>.icon{width:29px;height:37px}.site-shortname{letter-spacing:1.4px;font-size:9px}.custom-logo-link{max-width:58px}.custom-logo{max-height:41px}.icon-button{width:37px;height:39px}.mobile-controls{gap:7px;margin-left:11px}.masthead>.brand-group{max-width:calc(100% - 92px)}.header-nav,.header-search{padding:12px 12px 15px}.site-main{padding-top:12px}.post-list{gap:13px}.post-card{padding:12px;grid-template-columns:108px minmax(0,1fr);grid-template-rows:21px 26px auto 20px;gap:7px 12px;background:linear-gradient(125deg,#14232f,#0c1823 55%)}.card-category{grid-column:1/-1;grid-row:1;line-height:21px}.category-link{font-size:11px;line-height:17px;padding:1px 8px}.card-title{grid-column:1/-1;grid-row:2;font-size:17px;line-height:26px}.card-image{grid-column:1;grid-row:3;align-self:center}.card-excerpt{grid-column:2;grid-row:3;font-size:14px;line-height:23px;max-height:46px;align-self:center}.card-excerpt>span{max-height:46px}.card-excerpt>.excerpt-tablet{display:none}.card-excerpt>.excerpt-mobile{display:-webkit-box}.card-bottom{grid-column:1/-1;grid-row:4;margin-top:1px}.post-meta{font-size:11px;line-height:19px;gap:5px 15px}.post-meta .icon{width:13px;height:13px}.read-more{font-size:11px;line-height:19px;gap:4px}.read-more .icon{width:13px;height:13px}.pagination{margin-top:20px}.pagination>ul{gap:6px}.pagination li>.page-numbers{min-width:35px;height:39px;font-size:13px;padding:0 9px}.pagination .dots{min-width:15px;padding:0}.breadcrumbs{padding-bottom:11px;margin-bottom:16px}.breadcrumbs li{font-size:11px;line-height:21px}.breadcrumbs li+li:before{margin:0 8px 0 6px}.breadcrumbs a .icon{width:12px;height:12px;margin-right:5px}

.single-article,.page-article{padding:22px 17px}

.entry-title{font-size:20px;line-height:1.6;letter-spacing:0}

.entry-content{font-size:15px;line-height:1.95}.entry-content h1{font-size:20px}.entry-content h2{font-size:18px;padding-left:10px}.entry-content h3{font-size:17px}.entry-content h4,.entry-content h5,.entry-content h6{font-size:16px}.entry-content blockquote{padding:14px 16px}.entry-content pre{font-size:12px;padding:14px}.entry-content table{font-size:13px}.entry-content .alignleft,.entry-content .alignright{float:none;margin-inline:auto!important}.entry-tags{gap:7px;margin-top:23px;padding-top:16px}.entry-tags a{font-size:11px;padding:3px 8px}.page-header{gap:11px;margin-bottom:22px;padding-bottom:17px}.page-header>.icon{width:23px;height:29px}.reading-switch{margin:18px 0 24px}.reading-switch>a{padding:13px 12px;gap:7px}.switch-direction{font-size:11px;gap:8px}.switch-direction .icon{width:19px;height:15px}.reading-switch strong{font-size:12px;line-height:21px}

.empty-state{padding:25px 21px;min-height:300px}.empty-state h2{font-size:21px}.empty-state p{font-size:13px}.not-found{margin:16px auto 38px;padding:29px 20px}.error-code{font-size:65px;gap:10px}.error-code>.icon{width:43px;height:57px}.not-found h1{font-size:22px}.not-found p{font-size:13px}

}
@media(min-width:560px) and (max-width:639px){.card-excerpt>.excerpt-mobile{display:none}.card-excerpt>.excerpt-mobilewide{display:-webkit-box}}
@media(min-width:480px) and (max-width:559px){.card-excerpt>.excerpt-mobile{display:none}.card-excerpt>.excerpt-mobilemid{display:-webkit-box}}
@media(max-width:389px){.wrap{width:calc(100% - 24px)}.site-name{font-size:19px}.site-shortname{font-size:9px;letter-spacing:.6px}.brand-group{gap:8px}.post-card{padding:11px;grid-template-columns:92px minmax(0,1fr);gap:6px 11px}.card-title{font-size:16px}.card-excerpt{font-size:13.5px;line-height:22px}.card-excerpt>span{max-height:44px}.card-excerpt>.excerpt-mobile{display:none}.card-excerpt>.excerpt-small{display:-webkit-box}.post-meta{gap:6px 10px;font-size:10px}.read-more{font-size:10px}.pagination>ul{gap:5px}.pagination li>.page-numbers{min-width:31px;padding:0 7px}

.single-article,.page-article{padding:20px 14px}

.entry-title{font-size:20px}
}

/* Footer: the assigned menu only, plus the reference identity and embedded circuit drawing. */
.site-footer{border-top:1px solid #264357;background:linear-gradient(115deg,#0c1a27,#09131e 68%);overflow:hidden}
.footer-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) 240px;gap:40px;position:relative;padding-block:34px 30px;align-items:start}
.footer-identity{min-width:0}.footer-identity .site-name{font-size:22px}.footer-identity .pixel-mark,.footer-identity .pixel-mark>.icon{width:39px;height:45px}.footer-identity .brand-group{gap:13px}
.footer-subtitle{font-size:13px;line-height:1.8;margin:17px 0 0;color:#b2c7da}
.footer-about{font-size:13px;line-height:1.9;color:#a2bbcf;margin:14px 0 0}
.social-icons{display:flex;gap:22px;align-items:center;margin-top:22px;color:#9bdbf5}
.social-icons>a,.social-icons>span{display:grid;place-items:center;width:24px;height:28px;flex:none}
.social-icons .icon{width:24px;height:24px}.social-icons>a:hover{color:#e1faff}
.footer-links{min-width:0;border-left:1px solid #183447;padding-left:30px}

.footer-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 22px;list-style:none}
.footer-menu>li{min-width:0;font-size:13px;line-height:23px}
.footer-menu a{color:#a2bbd3;overflow-wrap:anywhere}.footer-menu a:hover,.footer-menu .current-menu-item>a{color:var(--cyan)}
.footer-circuit{grid-column:3;width:290px;height:225px;max-width:calc(100% + 50px);justify-self:end;margin-right:-40px;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20310%20230%22%20fill%3D%22none%22%3E%3Cg%20stroke%3D%22%2317455e%22%20stroke-width%3D%22.8%22%3E%3Cpath%20d%3D%22M310%2014H207l-31%2031h-35l-44%2044v74l51%2051h44l16%2016M310%2024h-96l-30%2030h-38l-39%2039v66l47%2047h45l24%2024M310%2038h-83l-33%2033h-37l-38%2038v43l42%2042h45l35%2035M310%2058h-93l-28%2028h-33l-26%2026v32l38%2038h41l42%2042h59M310%20191h-55l-18-18h-52l-24-24v-38l19-19h58l19-19h53M310%205H246l-39%2039M79%2070l36-36h35l19-19M89%20167l28%2028h24M165%20217h18l13%2013%22%2F%3E%3Cpath%20d%3D%22M143%20128v-20l31-31M150%20145v11l21%2021h22M263%2087h47M287%20175h23%22%20stroke%3D%22%23236984%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%2336b9db%22%3E%3Ccircle%20cx%3D%2297%22%20cy%3D%2289%22%20r%3D%221.8%22%2F%3E%3Ccircle%20cx%3D%22107%22%20cy%3D%22159%22%20r%3D%221.8%22%2F%3E%3Ccircle%20cx%3D%22184%22%20cy%3D%2254%22%20r%3D%221.8%22%2F%3E%3Ccircle%20cx%3D%22194%22%20cy%3D%2271%22%20r%3D%221.5%22%2F%3E%3Ccircle%20cx%3D%22119%22%20cy%3D%22132%22%20r%3D%221.6%22%2F%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%22145%22%20r%3D%221.4%22%2F%3E%3Ccircle%20cx%3D%22199%22%20cy%3D%22206%22%20r%3D%221.6%22%2F%3E%3Ccircle%20cx%3D%2279%22%20cy%3D%2270%22%20r%3D%221.6%22%2F%3E%3Ccircle%20cx%3D%22246%22%20cy%3D%225%22%20r%3D%221.5%22%2F%3E%3Crect%20x%3D%22139%22%20y%3D%22120%22%20width%3D%223%22%20height%3D%223%22%2F%3E%3Crect%20x%3D%22162%22%20y%3D%22213%22%20width%3D%223%22%20height%3D%223%22%2F%3E%3Crect%20x%3D%22286%22%20y%3D%22153%22%20width%3D%223%22%20height%3D%223%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23668da6%22%20font-family%3D%22Arial%2Csans-serif%22%20font-size%3D%2210%22%20letter-spacing%3D%221.5%22%3E%3Ctext%20x%3D%22180%22%20y%3D%22113%22%3ESMALL%3C%2Ftext%3E%3Ctext%20x%3D%22180%22%20y%3D%22130%22%3EPIXELS%3C%2Ftext%3E%3Ctext%20x%3D%22180%22%20y%3D%22147%22%3EBIG%3C%2Ftext%3E%3Ctext%20x%3D%22180%22%20y%3D%22164%22%3EPOSSIBILITIES%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-repeat:no-repeat;background-position:right center;background-size:contain;pointer-events:none;opacity:.85}
.footer-bottom{border-top:1px solid #183246;color:#93b4cc;font-size:12px;line-height:21px;padding-block:17px 22px}
.card-inline-category{display:none}
@media(min-width:980px) and (max-width:1199px){

 .footer-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 210px;gap:28px}.footer-links{padding-left:24px}.footer-circuit{height:210px}
}
@media(max-width:979px){
 /* A connected, single-column navigation list with a shared inset header. */
 .header-nav{padding:0 15px 13px;background:linear-gradient(105deg,#102535,#0b1824);border:1px solid #2c5d75;box-shadow:none;border-radius:6px}
 .header-nav .panel-heading{margin:0 -15px 5px;padding:9px 12px 9px 16px;background:#0a1a27;border-bottom:1px solid #284d64;border-radius:6px 6px 0 0;font-size:13px;color:#b4dceb}
 .header-nav .panel-heading>span:before{content:"";width:7px;height:7px;border:1px solid #6bdff3;background:#268daa;box-shadow:3px -3px 0 -1px #163d50;margin-right:4px}
 .header-nav .primary-menu{display:flex;align-items:stretch;gap:0;margin:0}
 .header-nav .primary-menu>li{min-width:0;display:flex;align-items:stretch;flex-wrap:wrap;border-bottom:1px solid #203d50}
 .header-nav .primary-menu>li:last-child{border-bottom:0}
 .header-nav .primary-menu>li>a{flex:1 1 0;min-width:0;max-width:100%;position:relative;display:flex;align-items:center;min-height:46px;padding:11px 13px 11px 22px;font-size:14px;line-height:24px;border:0;border-radius:0;background:transparent;box-shadow:none;overflow-wrap:anywhere}
 .header-nav .primary-menu>li>a:before{content:"";position:absolute;left:7px;top:calc(50% - 2px);width:4px;height:4px;background:#3d6d84}
 .header-nav .primary-menu>li:not(.menu-item-has-children)>a:after{content:"";width:5px;height:5px;flex:none;border-top:1px solid #416e88;border-right:1px solid #416e88;transform:rotate(45deg);margin-left:auto;align-self:center}
 .header-nav .primary-menu>li.current-menu-item>a,.header-nav .primary-menu>li.current-menu-ancestor>a,.header-nav .primary-menu>li>a:hover,.header-nav .primary-menu>li>a:focus-visible{background:#123447;color:#90e8fa;box-shadow:inset 2px 0 var(--cyan);border-radius:3px}
 .header-nav .primary-menu>li.current-menu-item>a:before,.header-nav .primary-menu>li.current-menu-ancestor>a:before{background:#51d6ed}
 .header-nav .submenu-toggle{align-self:center;width:42px;height:38px;border:1px solid #2a4d63;border-radius:4px;background:#0b1d2b;margin-left:5px;color:#82bfdc}
 .header-nav .submenu-toggle[aria-expanded=true]{color:#b2f1ff;border-color:#379bb8;background:#123246}
 .header-nav .sub-menu,.header-nav .sub-menu .sub-menu{min-width:0;width:auto;max-width:100%;flex:1 1 100%;margin:3px 0 10px 10px;padding-left:12px;border-left:1px solid #2b687e}
 .header-nav .sub-menu>li{min-width:0}.header-nav .sub-menu a{min-width:0;line-height:23px;min-height:40px;padding:8px 10px;border-radius:3px}
 .header-nav .sub-menu a:hover,.header-nav .sub-menu a:focus-visible,.header-nav .sub-menu .current-menu-item>a{background:#133448;color:#9ce8f8}
 .header-nav .sub-menu .submenu-toggle{height:34px;width:34px}
 .post-card{grid-template-rows:27px minmax(0,1fr) auto}.card-category{display:none}.card-title{grid-row:1}.card-excerpt{grid-row:2}.card-image{grid-row:1/4}.card-bottom{grid-row:3}
 .card-bottom .post-meta{flex:1;min-width:0;flex-wrap:nowrap;gap:9px}.card-inline-category{display:inline-block;flex:0 1 auto;min-width:0;max-width:110px;line-height:18px;padding:1px 6px}.card-bottom .post-meta time{flex:none}
 .card-bottom .read-more{width:25px;height:26px;justify-content:center}.card-bottom .read-more>span{display:none}
 .footer-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;padding-right:150px}
 .footer-circuit{position:absolute;right:-46px;top:27px;width:190px;height:190px;margin:0;opacity:.6}
 .footer-links{padding-left:20px}.footer-menu{grid-template-columns:1fr;gap:7px}.footer-identity .site-name{font-size:21px}
}
@media(max-width:639px){
 .header-nav{padding:0 12px 9px}.header-nav .panel-heading{margin-inline:-12px;padding-inline:13px}
 .post-card{grid-template-rows:26px auto auto}.card-title{grid-column:1/-1;grid-row:1}.card-image{grid-column:1;grid-row:2}.card-excerpt{grid-column:2;grid-row:2}.card-bottom{grid-column:1/-1;grid-row:3;margin-top:3px;gap:5px}
 .card-bottom .post-meta{font-size:11px;line-height:21px;gap:8px}.card-inline-category{max-width:25vw;font-size:11px;line-height:18px}.card-bottom .view-count{gap:4px}

 .footer-grid{grid-template-columns:1fr;padding:25px 0 21px;gap:22px}.footer-identity{padding-right:80px}.footer-identity .pixel-mark,.footer-identity .pixel-mark>.icon{width:31px;height:39px}.footer-identity .brand-group{gap:11px}.footer-subtitle{font-size:12px;margin-top:12px}.footer-about{font-size:12px;margin-top:9px}.social-icons{gap:20px;margin-top:15px}.social-icons .icon{width:22px;height:22px}.footer-links{padding:17px 0 0;border-left:0;border-top:1px solid #1c394d}
.footer-menu{display:flex;flex-wrap:wrap;gap:8px 20px}.footer-menu>li{font-size:12px;line-height:22px;max-width:100%}.footer-circuit{top:20px;right:-32px;width:130px;height:166px;opacity:.45}.footer-bottom{font-size:11px;line-height:20px;padding-block:13px 17px}
}
@media(max-width:389px){

 .card-bottom .post-meta{gap:6px;font-size:10px}.card-inline-category{font-size:10px;max-width:22vw;padding:1px 4px}.card-bottom .post-meta .icon{width:12px;height:12px}

 .footer-identity{padding-right:50px}.footer-circuit{right:-39px;opacity:.35}
}

/* The article date is an inset square on desktop; the title and metadata share its baseline. */
.article-header{position:relative;display:grid;grid-template-columns:78px minmax(0,1fr);gap:14px 21px;min-height:136px;margin:-28px -30px 28px;padding:27px 30px 25px;border-bottom:1px solid #2d5167;border-radius:7px 7px 0 0;background:linear-gradient(115deg,#132a3a,#0c1a27 75%)}
.article-header:before{content:"";position:absolute;top:0;left:0;width:33px;height:3px;background:#43d0ed;border-radius:6px 0 0 0}
.article-header:after{content:"";position:absolute;bottom:-1px;right:26px;width:28px;height:3px;background:#2d88a4;box-shadow:-36px 0 #204e65;pointer-events:none}
.article-header>.entry-title{grid-column:2;grid-row:1;align-self:end;font-size:24px;line-height:1.55;margin:0;min-width:0;overflow-wrap:anywhere}
.article-details{grid-column:2;grid-row:2;display:flex;align-items:center;gap:13px;min-width:0;color:var(--muted);font-size:12px;line-height:22px}
.article-category{min-width:0;max-width:38%;flex:0 1 auto}.article-category .category-link{vertical-align:middle}
.article-date{position:absolute;left:30px;top:27px;width:78px;height:80px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border:1px solid #3287a5;border-radius:5px;background:#0a1b29;box-shadow:inset 0 0 0 3px #112e40;color:#b3eaff;white-space:nowrap}
.article-date:before{content:"";position:absolute;top:-3px;left:10px;width:7px;height:5px;background:#36bddb;box-shadow:47px 0 #36bddb}
.article-date>span{font-size:11px;line-height:20px;letter-spacing:2px;color:#80b1c9}.article-date>strong{font-size:22px;line-height:30px;font-weight:550;letter-spacing:.3px}
.article-views{display:inline-flex;align-items:center;gap:5px;flex:none;white-space:nowrap}.article-views>.icon{width:15px;height:15px;color:#68a6c3}
.article-byline{display:inline-flex;align-items:center;gap:6px;min-width:0;margin-left:auto;max-width:35%;color:#a5c5d9}.article-byline>.icon{width:14px;height:14px;color:#68a6c3}.article-byline>span{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
/* Separate related cards follow the inset outlines and small terminals of the homepage navigation. */
.related-section{margin-top:28px;min-width:0}.related-heading{display:flex;align-items:center;gap:14px;margin-bottom:15px}
.related-heading:after{content:"";flex:1;height:8px;border-bottom:1px solid #29536a;background:linear-gradient(#36b6d2,#36b6d2) right bottom/5px 5px no-repeat}
.related-heading h2{position:relative;padding-left:16px;margin:0;font-size:19px;line-height:28px;font-weight:650}
.related-heading h2:before{content:"";position:absolute;left:0;top:9px;width:7px;height:7px;background:#38c6e3;box-shadow:3px -4px 0 -1px #7cdfef}
.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch}
.related-card{position:relative;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(58px,.75fr);grid-template-areas:"image date" "title title" "category open";gap:12px 12px;padding:15px;border:1px solid #2b4e64;border-radius:6px;background:linear-gradient(135deg,#132837,#0c1925 70%);box-shadow:inset 0 0 0 3px #091621;align-items:center}
.related-card:before,.related-card:after{content:"";position:absolute;width:13px;height:13px;pointer-events:none;border-color:#47b7d1;border-style:solid}
.related-card:before{top:-1px;left:-1px;border-width:2px 0 0 2px;border-radius:6px 0 0 0}.related-card:after{bottom:-1px;right:-1px;border-width:0 2px 2px 0;border-radius:0 0 6px 0}
.related-card:hover{border-color:#348caa;background:#112d3d}
.related-image{grid-area:image;display:block;min-width:0;width:100%;aspect-ratio:4/3;border:1px solid #2f556a;border-radius:3px;overflow:hidden}
.related-date{grid-area:date;align-self:center;min-width:0;display:flex;flex-direction:column;gap:2px;padding-left:10px;border-left:1px solid #28516a;white-space:nowrap;color:#a3d5e7}
.related-date>span{font-size:11px;line-height:18px;color:#789bb3;letter-spacing:1px}.related-date>strong{font-size:20px;line-height:27px;font-weight:500}
.related-title{grid-area:title;min-width:0;margin:0;font-size:15px;line-height:25px;font-weight:600}.related-title a{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.related-category{grid-area:category;min-width:0}.related-category .category-link{max-width:100%;font-size:11px;line-height:17px;padding:2px 7px;vertical-align:middle}
.related-open{grid-area:open;justify-self:end;display:grid;place-items:center;width:29px;height:26px;border:1px solid #28576e;border-radius:3px;background:#0b2130;color:#7fe3f5}.related-open:hover{color:#d8faff;background:#154157;border-color:#51c7dd}.related-open>.icon{width:17px;height:17px}
/* A horizontal pixel emblem / heading / count plate, with optional content attached below. */
.collection-heading{min-width:0;margin-bottom:22px;padding:0;border:1px solid #295269;border-radius:6px;background:linear-gradient(112deg,#132c3e,#0d1b28 70%);box-shadow:inset 0 0 0 3px #091824;position:relative}
.collection-heading:before{content:"";position:absolute;top:-1px;left:20px;width:37px;height:2px;background:#49cbe6}
.collection-main{display:grid;grid-template-columns:52px minmax(0,1fr) auto;grid-template-rows:auto auto;column-gap:18px;row-gap:4px;align-items:center;padding:23px 23px 22px;min-width:0}
.collection-symbol{grid-column:1;grid-row:1/3;align-self:center;display:grid;place-items:center;width:52px;height:56px;color:#3ac5e6;background:#0c2233;border:1px solid #2b637f;border-radius:4px;box-shadow:inset 0 0 0 3px #102e42}
.collection-symbol>.icon{width:29px;height:33px}
.collection-title{grid-column:2;grid-row:1;min-width:0;margin:0;font-size:25px;line-height:1.5;overflow-wrap:anywhere;color:#e0f1ff}
.collection-kind{grid-column:2;grid-row:2;color:#83aec5;font-size:11px;line-height:20px;letter-spacing:1px}
.collection-total{grid-column:3;grid-row:1/3;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:66px;max-width:120px;padding-left:18px;border-left:1px solid #2a5268}
.collection-total>strong{max-width:100%;font-size:24px;line-height:31px;font-weight:500;color:#91dcec;overflow-wrap:anywhere}.collection-total>span{font-size:11px;line-height:18px;white-space:nowrap;color:#7d9fb6}
.collection-tag .collection-symbol{color:#a4b5ff;border-color:#52678b}.collection-tag:before{background:#a4b5ff}
.collection-description,.collection-search-note{margin:0;padding:0 23px 19px 93px;font-size:14px;line-height:1.85;color:#a5c0d1;overflow-wrap:anywhere}
.collection-description p{margin:0 0 7px}.collection-description>*:last-child{margin-bottom:0}.collection-description a{color:#9ce8fa;text-decoration:underline;text-underline-offset:3px}
.child-categories{display:flex;flex-wrap:wrap;gap:8px 11px;margin:0;padding:13px 23px 15px;border-top:1px solid #26475d;background:#0a1c2a;border-radius:0 0 6px 6px}
.child-categories>a{display:flex;align-items:center;gap:8px;max-width:100%;padding:5px 10px;border:1px solid #2a5b73;border-inline-color:transparent;border-radius:4px;box-shadow:inset 0 0 0 2px #0a1c2a;color:#a6d5e7;font-size:12px;line-height:20px}
.child-categories>a:hover{border-color:#3ec9e7;background:#113649;color:#b6f0ff}.child-categories>a>span{min-width:0;overflow-wrap:anywhere}.child-categories .icon{width:11px;height:11px}
@media(min-width:980px) and (max-width:1199px){
 .article-header{grid-template-columns:72px minmax(0,1fr);column-gap:18px;margin:-25px -25px 25px;padding:25px;min-height:130px}.article-date{left:25px;top:25px;width:72px;height:78px}.article-date:before{box-shadow:41px 0 #36bddb}.article-details{gap:10px;font-size:11px}.article-byline{max-width:29%}
 .related-grid{gap:11px}.related-card{padding:12px;gap:10px 9px;grid-template-columns:minmax(0,1fr) 58px}.related-date{padding-left:8px}.related-date>strong{font-size:18px}.related-title{font-size:14px}.related-category .category-link{font-size:10px;padding:2px 5px}
 .collection-main{grid-template-columns:45px minmax(0,1fr) auto;gap:4px 14px;padding:20px}.collection-symbol{width:45px;height:52px}.collection-title{font-size:24px}.collection-total{padding-left:13px;min-width:59px}.collection-description,.collection-search-note{padding-left:79px;padding-right:20px}
}
@media(max-width:639px){
 .article-header{display:block;min-height:0;margin:-22px -17px 22px;padding:22px 17px 18px}.article-header>.entry-title{font-size:20px;line-height:1.6}.article-header:after{right:17px;width:21px;box-shadow:-28px 0 #204e65}
 .article-details{margin-top:14px;gap:8px;font-size:11px;line-height:21px}.article-category{max-width:28%}.article-category .category-link{padding:1px 6px;font-size:10px;line-height:18px}
 .article-date{position:static;width:auto;height:auto;display:inline-flex;flex-direction:row;gap:4px;flex:none;padding:1px 6px;border-color:#2e657f;border-radius:3px;box-shadow:none;background:#0b2232}.article-date:before{content:none}.article-date>span{font-size:10px;line-height:18px;letter-spacing:0}.article-date>strong{font-size:11px;line-height:18px;font-weight:500;letter-spacing:0}
 .article-views{gap:4px}.article-views>.icon{width:13px;height:13px}.article-byline{flex:1;max-width:none;justify-content:flex-end;gap:4px}.article-byline>.icon{width:12px;height:12px}
 .related-section{margin-top:24px}.related-heading{margin-bottom:12px}.related-heading h2{font-size:18px;line-height:27px}.related-grid{grid-template-columns:minmax(0,1fr);gap:12px}
 .related-card{grid-template-columns:84px minmax(0,1fr) 24px;grid-template-rows:auto auto auto;grid-template-areas:"image title title" "image category open" "image date open";gap:5px 12px;padding:13px;align-items:center}
 .related-image{align-self:center}.related-title{font-size:15px;line-height:24px}.related-date{flex-direction:row;align-items:center;gap:6px;padding:0;border:0}.related-date>span,.related-date>strong{font-size:11px;line-height:19px;letter-spacing:0;font-weight:400}.related-category .category-link{font-size:10px;line-height:16px;padding:1px 6px}.related-open{width:24px;height:27px;align-self:center}
 .collection-heading{margin-bottom:18px}.collection-main{grid-template-columns:31px minmax(0,1fr) auto;grid-template-rows:auto auto;gap:9px 10px;padding:17px}
 .collection-symbol{grid-column:1;grid-row:1;width:31px;height:36px;border:0;background:none;box-shadow:none}.collection-symbol>.icon{width:26px;height:30px}
 .collection-title{grid-column:2/4;grid-row:1;font-size:22px;line-height:1.5}.collection-kind{grid-column:1/3;grid-row:2;font-size:11px;letter-spacing:0;padding-left:3px;align-self:center}
 .collection-total{grid-column:3;grid-row:2;display:flex;flex-direction:row;gap:5px;padding:0;min-width:0;max-width:none;border:0}.collection-total>strong{font-size:14px;line-height:21px;font-weight:500}.collection-total>span{font-size:11px;line-height:21px}
 .collection-description,.collection-search-note{padding:0 17px 15px;font-size:13px;line-height:1.8}.child-categories{padding:11px 14px 13px;gap:7px}.child-categories>a{padding:4px 8px;font-size:11px;line-height:20px}
}
@media(max-width:389px){
 .article-header{margin:-20px -14px 21px;padding:20px 14px 17px}.article-details{gap:6px;font-size:10px}.article-category{max-width:24%}.article-category .category-link{padding-inline:4px}.article-date{padding-inline:4px}.article-views{gap:3px}.article-byline{gap:3px}
 .related-card{grid-template-columns:74px minmax(0,1fr) 24px;gap:5px 10px;padding:12px}.related-title{font-size:14px}.collection-main{padding:16px 14px;column-gap:9px}.collection-description,.collection-search-note{padding-inline:14px}
}
@media print{.article-header{display:block;min-height:0;margin:0;padding:0;border:0;background:none}.article-date{position:static;width:auto;height:auto;display:inline-flex;flex-direction:row;padding:0;border:0;background:none;box-shadow:none}.article-date>span,.article-date>strong{font-size:10pt;color:#444}.article-header:before,.article-header:after,.article-date:before{display:none}.article-details{margin-top:12px;color:#444}}

/* One CSS pixel/circuit placeholder for all content images. */
:root{--qingmai-placeholder-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20120%2084%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23286b86%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22M7%2030h20l9%2010h10M4%2054h26l10-8h7M76%2030h12l8-10h18M75%2051h17l11%2011h12%22%2F%3E%3Cpath%20d%3D%22M35%2021v-6h9M78%2064v6h-9%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%2332c8ef%22%3E%3Cpath%20d%3D%22M47%2035h14v12H47zM47%2049h12v11H47zM63%2026h8v11h-8zM75%2024h9v9h-9zM72%2042h6v6h-6zM57%2026h4v7h-4z%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%236fcfe5%22%3E%3Crect%20x%3D%223%22%20y%3D%2228%22%20width%3D%224%22%20height%3D%224%22%2F%3E%3Crect%20x%3D%22112%22%20y%3D%2218%22%20width%3D%224%22%20height%3D%224%22%2F%3E%3Crect%20x%3D%22112%22%20y%3D%2260%22%20width%3D%224%22%20height%3D%224%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");--qingmai-pixel-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M2%209h9v8H2zM2%2018h8v5H2zM12%203h5v7h-5zM19%202h5v5h-5zM18%2012h4v4h-4zM9%203h2v5H9z%22%2F%3E%3C%2Fsvg%3E")}
.decoration-pixels{display:inline-block;background-color:currentColor;-webkit-mask:var(--qingmai-pixel-mask) center/100% 100% no-repeat;mask:var(--qingmai-pixel-mask) center/100% 100% no-repeat;vertical-align:middle;flex:none}
.pixel-fallback,.thumb-frame>img.lazy:not(.loaded),.entry-content img.lazy:not(.loaded):not(.emoji):not(.wp-smiley){color:transparent;background-color:#102332;background-image:linear-gradient(105deg,transparent 35%,#48cfea18 49%,transparent 63%),var(--qingmai-placeholder-art),linear-gradient(135deg,#0b1b29,#102b3b);background-size:200% 100%,108px 76px,100% 100%;background-position:150% 0,center center,0 0;background-repeat:no-repeat}
.thumb-frame.is-failed .pixel-fallback{color:transparent}
img.lazy.loading:not(.loaded):not(.error):not(.exited),img.lazy.entered:not(.exited):not(.loaded):not(.error){animation:qingmai-image-sweep 2.2s linear infinite}
.entry-content img.lazy.loaded{animation:none;background:transparent;color:inherit}
img.lazy.error{animation:none}
@keyframes qingmai-image-sweep{from{background-position:150% 0,center center,0 0}to{background-position:-50% 0,center center,0 0}}
/* Keep focus feedback inside the existing search control. */
.search-form,.search-form:focus-within{outline:none}
.search-form input:focus,.search-form input:focus-visible,.search-form button:focus,.search-form button:focus-visible{outline:none;box-shadow:none}
.search-form:focus-within{border-color:var(--cyan)}
.search-form button:focus-visible{background:#153449;color:#d8f8ff;border-radius:3px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
@media print{body{color:#111;background:white}.site-header,.site-footer,.sidebar,.reading-switch,.related-section,.breadcrumbs,.entry-tags{display:none}.wrap{width:100%;max-width:none}.content-grid{display:block}.single-article,.page-article{border:0;background:none;padding:0}
.entry-content,.entry-title{color:#111}.entry-content a{color:#222}.entry-content{font-size:11pt}.post-meta{color:#444}.entry-content pre{white-space:pre-wrap}.site-main{padding:0}}

/* WordPress centering applies to the image AND its lazy-loading shell. */
.entry-content img.aligncenter:not(.lazy),
.entry-content figure.aligncenter,
.entry-content .wp-caption.aligncenter{display:block;float:none;margin-left:auto!important;margin-right:auto!important}
html:not(.no-js) .entry-content .aligncenter,
html:not(.no-js) .entry-content :is(span,picture,a):has(>img.aligncenter),
html:not(.no-js) .entry-content :is(span,a):has(>picture>img.aligncenter){display:block;float:none;margin-left:auto!important;margin-right:auto!important}
