
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#f4f6fa;--surface:#fff;--ink:#111d2f;--muted:#667287;--line:#e2e8f0;--accent:#2462ff;--soft:#e9efff;--hero:#081427;--radius:20px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);font-family:'DM Sans',sans-serif;color:var(--ink);line-height:1.65}body.dark{--bg:#0b1220;--surface:#131d2e;--ink:#eef3ff;--muted:#acbad0;--line:#27344a;--soft:#1b2c4b}a{text-decoration:none;color:inherit}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #7fb1ff;outline-offset:3px}img{display:block;max-width:100%}.wrap{width:min(1190px,calc(100% - 40px));margin:auto}.topbar{background:var(--surface);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30;backdrop-filter:blur(14px)}.nav{height:78px;display:flex;align-items:center;gap:38px}.logo{display:flex;gap:12px;align-items:center;font:800 19px 'Manrope',sans-serif;letter-spacing:-.8px}.logo-mark{display:grid;place-items:center;border-radius:13px;width:42px;height:42px;background:var(--accent);color:#fff;font-size:21px}.logo small{display:block;letter-spacing:3px;font-size:9px;color:var(--muted);line-height:1;margin-top:3px}.navlinks{display:flex;gap:30px;margin-left:auto}.navlinks a{font-size:14px;font-weight:700;color:var(--muted)}.navlinks a:hover{color:var(--accent)}.navbtns{display:flex;gap:10px;align-items:center}.roundbtn{width:40px;height:40px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink)}.primary,.writebtn{display:inline-flex;align-items:center;justify-content:center;gap:18px;background:var(--accent);color:#fff;border:0;border-radius:12px;padding:13px 21px;font-weight:800;font-size:13px}.writebtn:hover,.primary:hover{background:#1045ca}.menuBtn{display:none}.hero{background:var(--hero);color:white;position:relative;overflow:hidden;padding:76px 0 45px}.hero:before{content:'';position:absolute;width:650px;height:650px;background:radial-gradient(circle,#1d56b8 0%,transparent 68%);right:-160px;top:-270px;opacity:.42}.hero:after{content:'';position:absolute;width:1px;height:100%;right:25%;top:0;background:#ffffff13}.hero-inner{position:relative;z-index:1}.eyebrow{font-weight:800;letter-spacing:2.3px;font-size:11px;color:#7da9ff;text-transform:uppercase}.hero h1{font:800 clamp(38px,5vw,67px)/1.13 'Manrope',sans-serif;letter-spacing:-3px;max-width:820px;margin:17px 0 19px}.hero h1 em{font-style:normal;color:#90b6ff}.hero p{max-width:620px;font-size:16px;color:#b8c6dd}.hero-actions{margin:29px 0 60px;display:flex;gap:12px}.ghost{border:1px solid #ffffff44;border-radius:12px;padding:12px 22px;font-weight:700;font-size:13px}.featuregrid{display:grid;grid-template-columns:1.5fr 1fr;gap:17px}.feature{min-height:320px;border-radius:21px;overflow:hidden;position:relative;background:#172a43;display:block}.feature>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .45s}.feature:hover>img,.article-card:hover .thumb img{transform:scale(1.045)}.feature:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#061223ee,transparent 88%)}.feature-content{position:absolute;z-index:1;bottom:26px;left:29px;right:29px}.feature-content span{font-size:11px;font-weight:800;letter-spacing:1px;color:#c6d8fb;text-transform:uppercase}.feature-content h2{margin:9px 0;font:800 clamp(22px,2.5vw,34px)/1.3 'Manrope',sans-serif;max-width:630px}.feature-content p{font-size:13px;margin:0;color:#d2ddf0}.side-features{display:grid;gap:17px}.side-features .feature{min-height:151px}.side-features .feature-content h2{font-size:19px;margin-bottom:0}.content-area{padding:64px 0 95px}.section-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:27px}.section-title h2{font:800 clamp(27px,3vw,37px) 'Manrope',sans-serif;letter-spacing:-1.6px;margin:5px 0}.section-title p{color:var(--muted);margin:0}.smallcount{font-weight:800;color:var(--muted);font-size:12px}.tools{display:flex;align-items:center;gap:20px;justify-content:space-between;flex-wrap:wrap;margin-bottom:26px}.filters{display:flex;gap:8px;flex-wrap:wrap}.filter{border:1px solid var(--line);background:var(--surface);border-radius:25px;color:var(--muted);font-weight:800;font-size:12px;padding:10px 16px}.filter.active{background:#122b56;color:#fff;border-color:#122b56}.search{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:0 15px;color:var(--muted);min-width:260px}.search input{border:0;outline:0;background:transparent;color:var(--ink);padding:12px 0;width:100%;font-size:13px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.article-card{border-radius:18px;overflow:hidden;background:var(--surface);border:1px solid var(--line);display:flex;flex-direction:column}.thumb{aspect-ratio:1.63;overflow:hidden;background:#1a2d49;display:block}.thumb img{width:100%;height:100%;object-fit:cover;transition:transform .45s}.card-body{padding:20px 21px 24px;display:flex;flex-direction:column;flex:1}.card-meta{display:flex;gap:9px;align-items:center;font-size:11px;color:var(--muted);font-weight:700}.cat{color:var(--accent)!important;text-transform:uppercase;letter-spacing:.7px}.article-card h3{font:800 19px/1.4 'Manrope',sans-serif;letter-spacing:-.45px;margin:11px 0}.article-card h3 a:hover{color:var(--accent)}.article-card p{font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 22px}.card-foot{border-top:1px solid var(--line);padding-top:14px;margin-top:auto;display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:800;color:var(--muted)}.card-foot a{color:var(--accent)}.empty{border:1px dashed var(--line);border-radius:20px;padding:50px;text-align:center;color:var(--muted)}.cta{margin-top:65px;background:#112852;color:#fff;border-radius:24px;padding:36px 45px;display:flex;align-items:center;justify-content:space-between;gap:30px}.cta h2{font:800 27px 'Manrope',sans-serif;margin:8px 0}.cta p{margin:0;color:#b7c9e4}.cta a{background:#fff;color:#112852;padding:13px 20px;border-radius:12px;font-size:13px;font-weight:800;flex-shrink:0}.footer{border-top:1px solid var(--line);background:var(--surface);padding:48px 0 26px}.foot-top{display:flex;justify-content:space-between;gap:50px}.foot-top p{max-width:410px;color:var(--muted);font-size:13px}.foot-nav{display:flex;gap:22px;font-size:13px;font-weight:700;color:var(--muted)}.foot-bottom{margin-top:45px;padding-top:20px;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:var(--muted);font-size:11px}.post-head{background:#0a172d;color:white;padding:56px 0 75px}.crumbs{display:flex;flex-wrap:wrap;gap:10px;color:#b7c8de;font-size:12px;margin-bottom:40px}.crumbs a:hover{color:white}.post-head h1{max-width:950px;font:800 clamp(36px,5vw,59px)/1.17 'Manrope',sans-serif;letter-spacing:-2px;margin:14px 0 20px}.dek{font-size:17px;color:#b8c9e2;max-width:800px}.byline{display:flex;align-items:center;gap:12px;margin-top:28px;font-size:13px}.avatar{display:grid;place-items:center;background:#2462ff;border-radius:100%;width:38px;height:38px;font-weight:800}.byline small{display:block;color:#b9c9e0}.post-cover{margin-top:-38px;position:relative}.post-cover img{width:100%;height:min(510px,54vw);object-fit:cover;border-radius:20px;background:#162844}.post-layout{display:grid;grid-template-columns:245px minmax(0,760px);gap:65px;justify-content:center;padding-top:60px;padding-bottom:75px}.toc{position:sticky;top:104px;border-left:1px solid var(--line);padding-left:19px}.toc b{letter-spacing:1px;font-size:11px}.toc a{display:block;font-size:12px;color:var(--muted);line-height:1.6;margin-top:15px}.toc a:hover{color:var(--accent)}.prose{font-size:16px;line-height:1.88;min-width:0}.prose h2{font:800 27px/1.35 'Manrope',sans-serif;letter-spacing:-.7px;margin:42px 0 13px;scroll-margin-top:100px}.prose h3{font:800 20px 'Manrope',sans-serif;scroll-margin-top:100px}.prose p{margin:0 0 22px}.prose a{color:var(--accent);text-decoration:underline}.prose img{border-radius:14px;max-height:550px;margin:14px auto 24px}.prose ul,.prose ol{padding-left:24px}.prose li{margin:10px 0}.prose blockquote{margin:30px 0;border-left:4px solid var(--accent);background:var(--soft);padding:20px 24px;border-radius:0 12px 12px 0}.prose code{font:500 13px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;background:var(--soft);border-radius:5px;padding:2px 5px;overflow-wrap:anywhere}.code-block{margin:26px 0;border-radius:14px;overflow:hidden;background:#0b172a;color:#e2eafc}.code-head{display:flex;align-items:center;justify-content:space-between;padding:11px 17px;background:#162742;font-size:11px;color:#a8c2e9}.code-head button{background:none;color:white;border:1px solid #4c6688;border-radius:7px;padding:5px 11px}.code-block pre{padding:22px;overflow:auto;margin:0}.code-block code{padding:0;background:transparent;color:#d6e3ff;white-space:pre;font-size:13px}.callout{background:#e6f1ff;color:#1b3e6c;border-left:4px solid #2462ff;border-radius:0 11px 11px 0;padding:18px 20px;margin:24px 0;font-size:14px}.callout.warning{background:#fff0da;border-color:#e59622;color:#74440b}.yt{aspect-ratio:16/9;margin:27px 0;border-radius:15px;overflow:hidden;background:#111}.yt iframe{height:100%;width:100%;border:0}.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:26px 0}.gallery img{width:100%;height:210px;object-fit:cover;margin:0}.share-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:50px;border-top:1px solid var(--line);padding-top:22px}.share-row button{border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:10px 15px;border-radius:10px;font-weight:700;font-size:13px}.related{padding-bottom:75px}.simple-page{padding:95px 0;min-height:65vh}.simple-page h1{font:800 clamp(39px,6vw,70px)/1.2 'Manrope',sans-serif;letter-spacing:-2px;margin:12px 0}.simple-page p{max-width:710px;color:var(--muted);font-size:17px}.theme-note{margin-top:30px}.reading-progress{height:3px;background:#2462ff;width:0;position:fixed;z-index:100;top:0;left:0}.footer a:hover{color:var(--accent)}@media(max-width:900px){.featuregrid{grid-template-columns:1fr}.side-features{grid-template-columns:1fr 1fr}.grid{grid-template-columns:repeat(2,1fr)}.post-layout{grid-template-columns:1fr}.toc{position:static;border-left:0;border-bottom:1px solid var(--line);padding-bottom:25px;padding-left:0}.toc a{display:inline-block;margin:9px 15px 0 0}.hero{padding-top:55px}.nav{gap:10px}.navlinks{gap:16px}}@media(max-width:640px){.wrap{width:calc(100% - 32px)}.nav{height:68px}.navlinks{display:none;position:absolute;top:68px;left:0;right:0;background:var(--surface);border-bottom:1px solid var(--line);padding:20px;flex-direction:column}.navlinks.open{display:flex}.menuBtn{display:block}.writebtn{display:none}.hero h1{letter-spacing:-1.8px}.hero-actions{margin-bottom:40px}.hero{padding:45px 0 30px}.side-features{grid-template-columns:1fr}.side-features .feature{min-height:170px}.featuregrid .feature{min-height:240px}.feature-content{left:20px;right:20px;bottom:20px}.feature-content h2{font-size:22px}.grid{grid-template-columns:1fr}.tools{align-items:stretch}.search{width:100%}.section-title{align-items:flex-start}.content-area{padding-top:42px}.cta{flex-direction:column;align-items:flex-start;padding:27px}.foot-top,.foot-bottom{flex-direction:column;gap:20px}.foot-nav{flex-wrap:wrap}.post-head{padding:34px 0 67px}.post-head h1{letter-spacing:-1.5px}.post-cover img{height:240px}.post-layout{gap:20px;padding-top:35px}.prose{font-size:15px}.prose h2{font-size:24px}.gallery img{height:150px}}

.article-card[hidden]{display:none!important}

/* Featured layout when the journal contains only one published article */
.featuregrid.single-feature{grid-template-columns:minmax(0,1fr)}
.featuregrid.single-feature .feature{height:430px}
.featuregrid.single-feature .feature:after{background:linear-gradient(90deg,#061223e8,#06122375 70%,transparent),linear-gradient(0deg,#061223cc,transparent 65%)}
.featuregrid.single-feature .feature-content{max-width:760px;bottom:40px}
.featuregrid.single-feature .feature-content h2{font-size:clamp(26px,3.6vw,45px)}
.grid:has(.article-card:only-child){grid-template-columns:minmax(0,440px)}
.article-card[hidden]{display:none!important}
.prose>p:has(>img){margin:28px 0}
.prose>p>img{width:100%;height:auto;max-height:none;border-radius:16px;border:1px solid var(--line);box-shadow:0 7px 28px #111c3020}
.prose>p>em{color:var(--muted);font-size:13px}
.prose .callout{line-height:1.8}
@media(max-width:640px){
.featuregrid.single-feature .feature{height:315px}
.featuregrid.single-feature .feature-content{bottom:21px}
.featuregrid.single-feature .feature-content h2{font-size:25px}
.grid:has(.article-card:only-child){grid-template-columns:1fr}
}
