/* KNOK Blog visual pilot v0.1 — scoped, no selectors for Site or PrintCalc. */
.knok-blog{--kb-blue:#1769d2;--kb-deep:#0e3971;--kb-ink:#172b4d;--kb-muted:#5c6d85;--kb-border:#dde7f2;--kb-pale:#f4f8fe;--kb-white:#fff;color:var(--kb-ink);font-family:inherit;line-height:1.6}
.knok-blog,.knok-blog *{box-sizing:border-box}
.knok-blog img,.knok-blog svg{max-width:100%}
.knok-blog a{color:inherit;text-decoration:none}
.knok-blog a:focus-visible{outline:3px solid #4a97fb;outline-offset:3px}
.knok-blog .kb-container{max-width:1200px;margin:auto;padding:0 24px}
.knok-blog .kb-supra{font-size:12px;font-weight:800;letter-spacing:.15em;color:var(--kb-blue);text-transform:uppercase}
.knok-blog .kb-header{padding:16px 0;border-bottom:1px solid var(--kb-border);background:#fff}
.knok-blog .kb-head-in{display:flex;align-items:center;justify-content:space-between;gap:20px}
.knok-blog .kb-wordmark{font-size:22px;line-height:1;font-weight:900;letter-spacing:-.06em;color:#173b70}
.knok-blog .kb-wordmark i{font-style:normal;color:var(--kb-blue)}
.knok-blog .kb-top-nav{display:flex;align-items:center;gap:24px;font-size:13px;font-weight:750;color:#566b84}
.knok-blog .kb-top-nav a:hover,.knok-blog .kb-breadcrumb a:hover{color:var(--kb-blue)}
.knok-blog .kb-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:24px;align-items:stretch;margin:34px 0 52px}
.knok-blog .kb-hero-copy{padding:clamp(28px,4.1vw,56px);border-radius:24px;background:linear-gradient(128deg,#f1f7ff,#eaf2fe);border:1px solid #d9e9fc;display:flex;flex-direction:column;justify-content:center}
.knok-blog h1,.knok-blog h2,.knok-blog h3,.knok-blog p{overflow-wrap:anywhere}
.knok-blog .kb-hero h1{font-size:clamp(36px,4.5vw,60px);line-height:1.07;letter-spacing:-.048em;margin:15px 0 20px;color:#112d50;font-weight:850}
.knok-blog .kb-hero-desc{font-size:17px;line-height:1.7;color:var(--kb-muted);max-width:550px;margin:0 0 26px}
.knok-blog .kb-button{display:inline-flex;gap:10px;align-items:center;justify-content:center;align-self:flex-start;padding:13px 21px;border:1px solid #1769d2;border-radius:12px;background:#1769d2;color:white;font-weight:800;font-size:14px;transition:background .15s}
.knok-blog .kb-button:hover{background:#1053ad;color:#fff}
.knok-blog .kb-button-soft{background:#fff;color:#1769d2;border-color:#c0d6f2}
.knok-blog .kb-button-soft:hover{background:#eaf3ff;color:#1053ad}
.knok-blog .kb-art{position:relative;min-height:390px;border-radius:24px;overflow:hidden;background:linear-gradient(144deg,#14355d,#1769d2 85%);isolation:isolate}
.knok-blog .kb-art:before{content:"";position:absolute;width:450px;height:450px;border:1px solid rgba(255,255,255,.14);border-radius:100%;top:-155px;right:-170px;box-shadow:0 0 0 60px rgba(255,255,255,.025),0 0 0 150px rgba(255,255,255,.025)}
.knok-blog .kb-paper{position:absolute;left:23%;top:17%;width:52%;height:67%;border-radius:7px;background:#fff;transform:rotate(-10deg);box-shadow:17px 26px 50px rgba(0,16,55,.30);padding:9%;display:flex;flex-direction:column;gap:12px}
.knok-blog .kb-paper:before{content:"";position:absolute;inset:8px;border:1px solid #e4eaf1;pointer-events:none}
.knok-blog .kb-paper-mark{background:#1769d2;border-radius:8px;width:55%;height:28%}
.knok-blog .kb-paper-line{height:9px;background:#dbe5ef;border-radius:4px}
.knok-blog .kb-paper-line.short{width:60%}
.knok-blog .kb-paper-cmyk{display:flex;gap:7px;margin-top:auto}
.knok-blog .kb-paper-cmyk b{width:20px;height:20px;border-radius:50%;background:#03a8db}
.knok-blog .kb-paper-cmyk b:nth-child(2){background:#d63b9d}
.knok-blog .kb-paper-cmyk b:nth-child(3){background:#f3c52e}
.knok-blog .kb-paper-cmyk b:nth-child(4){background:#192c48}
.knok-blog .kb-art-tag{position:absolute;right:23px;bottom:24px;color:#fff;border:1px solid rgba(255,255,255,.35);background:rgba(15,45,90,.55);border-radius:100px;padding:8px 14px;font-size:12px;font-weight:800;letter-spacing:.05em}
.knok-blog .kb-row-head{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:24px}
.knok-blog .kb-row-head h2{font-size:clamp(26px,3vw,35px);line-height:1.2;letter-spacing:-.035em;margin:7px 0 0}
.knok-blog .kb-row-head p{margin:6px 0 0;color:var(--kb-muted);font-size:14px}
.knok-blog .kb-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.knok-blog .kb-chip{font-size:12px;font-weight:750;line-height:1.2;border:1px solid #dce7f6;background:#fff;color:#43607c;border-radius:99px;padding:10px 15px}
.knok-blog .kb-chip[aria-current="true"]{background:#1769d2;border-color:#1769d2;color:#fff}
.knok-blog .kb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.knok-blog .kb-card{background:#fff;border:1px solid var(--kb-border);border-radius:19px;overflow:hidden;display:flex;flex-direction:column;min-width:0;box-shadow:0 8px 24px rgba(27,51,81,.025)}
.knok-blog .kb-card:hover{border-color:#bdd7f5;box-shadow:0 16px 36px rgba(27,51,81,.075)}
.knok-blog .kb-card-cover{position:relative;display:grid;place-items:center;aspect-ratio:16/10;overflow:hidden;background:linear-gradient(145deg,#e1f1ff,#bcdaf6);color:#165cae}
.knok-blog .kb-cover-2{background:linear-gradient(135deg,#dfeefb,#8cb8ec)}
.knok-blog .kb-cover-3{background:linear-gradient(135deg,#e8f1ff,#ccdff5)}
.knok-blog .kb-cover-4{background:linear-gradient(135deg,#d8e6f7,#a7cbe9)}
.knok-blog .kb-cover-5{background:linear-gradient(135deg,#e5f0f7,#bfd2ed)}
.knok-blog .kb-cover-6{background:linear-gradient(135deg,#daeafa,#a7c9ed)}
.knok-blog .kb-cover-graphic{display:flex;flex-direction:column;gap:10px;align-items:center;transform:rotate(-8deg)}
.knok-blog .kb-cover-graphic span{display:block;width:125px;height:26px;border-radius:6px;background:rgba(20,87,164,.18);border:1px solid rgba(20,87,164,.15)}
.knok-blog .kb-cover-graphic span:nth-child(2){width:160px;height:16px;background:rgba(255,255,255,.8)}
.knok-blog .kb-cover-graphic span:nth-child(3){width:95px;height:16px}
.knok-blog .kb-card-content{display:flex;flex:1;flex-direction:column;padding:22px}
.knok-blog .kb-tag{font-size:11px;color:var(--kb-blue);font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.knok-blog .kb-card h3{font-size:19px;font-weight:800;line-height:1.38;letter-spacing:-.015em;margin:11px 0}
.knok-blog .kb-card p{color:var(--kb-muted);font-size:13.5px;line-height:1.65;margin:0 0 20px}
.knok-blog .kb-card-footer{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:16px;border-top:1px solid #edf1f6;color:#718399;font-size:12px}
.knok-blog .kb-card-arrow{color:var(--kb-blue);font-size:18px;font-weight:800}
.knok-blog .kb-feature{margin:42px 0 34px;background:#153966;border-radius:22px;color:#fff;display:grid;grid-template-columns:1fr auto;align-items:center;gap:24px;padding:30px 34px}
.knok-blog .kb-feature h2{font-size:25px;margin:4px 0 9px;color:#fff;line-height:1.25}
.knok-blog .kb-feature p{margin:0;color:#d9e6f8;font-size:14px;line-height:1.6}
.knok-blog .kb-feature .kb-button{background:#fff;color:#1053ad;border-color:#fff}
.knok-blog .kb-bottom{margin:48px 0 32px;border-top:1px solid var(--kb-border);padding-top:20px;display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#61738d}
/* Reading view */
.knok-blog .kb-breadcrumb{font-size:13px;color:#697d94;display:flex;gap:10px;align-items:center;padding:26px 0 0;flex-wrap:wrap}
.knok-blog .kb-post{max-width:820px;margin:0 auto;padding:26px 0 20px}
.knok-blog .kb-post h1{font-size:clamp(34px,5vw,52px);letter-spacing:-.045em;line-height:1.12;margin:16px 0 20px;color:#122c4a}
.knok-blog .kb-post-lede{font-size:19px;color:#516783;line-height:1.7;margin:0 0 24px}
.knok-blog .kb-post-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:#6c7d91;font-size:13px;padding:0 0 24px;border-bottom:1px solid var(--kb-border)}
.knok-blog .kb-post-meta span+span:before{content:'•';margin-right:10px;color:#b4c2d2}
.knok-blog .kb-post-figure{aspect-ratio:16/8;border-radius:21px;background:linear-gradient(120deg,#163b72,#1769d2);margin:30px 0 9px;display:grid;place-items:center;overflow:hidden;color:#eaf3ff}
.knok-blog .kb-post-figure span{font-size:clamp(40px,7vw,88px);font-weight:900;letter-spacing:-.05em;opacity:.9}
.knok-blog .kb-figcaption{font-size:12px;color:#77889e;margin:0 0 34px}
.knok-blog .kb-prose{font-size:16px;line-height:1.85;color:#31455d}
.knok-blog .kb-prose h2{font-size:29px;line-height:1.27;letter-spacing:-.025em;color:#172b4d;margin:42px 0 15px}
.knok-blog .kb-prose h3{font-size:22px;color:#172b4d;margin:24px 0 12px}
.knok-blog .kb-prose p{margin:0 0 19px}
.knok-blog .kb-prose ul,.knok-blog .kb-prose ol{padding-left:22px;margin:0 0 22px}
.knok-blog .kb-prose li{padding-left:4px;margin:6px 0}
.knok-blog .kb-prose a{color:#1769d2;text-decoration:underline;text-underline-offset:3px}
.knok-blog .kb-callout{margin:30px 0;padding:22px 25px;background:#f0f7ff;border-left:4px solid #1769d2;border-radius:0 13px 13px 0;color:#314861}
.knok-blog .kb-callout strong{display:block;margin:0 0 7px;color:#174d8e}
.knok-blog .kb-callout p{margin:0}
.knok-blog .kb-post-end{border-top:1px solid var(--kb-border);margin-top:38px;padding-top:25px;display:flex;gap:20px;justify-content:space-between;align-items:center}
@media(max-width:900px){.knok-blog .kb-hero{grid-template-columns:1fr}.knok-blog .kb-art{min-height:300px}.knok-blog .kb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.knok-blog .kb-container{padding:0 16px}.knok-blog .kb-hero{margin:20px 0 36px;gap:14px}.knok-blog .kb-hero-copy{padding:27px 23px}.knok-blog .kb-hero h1{font-size:35px}.knok-blog .kb-hero-desc{font-size:15px}.knok-blog .kb-art{min-height:240px}.knok-blog .kb-paper{left:29%;top:10%;width:42%;height:76%}.knok-blog .kb-grid{grid-template-columns:1fr}.knok-blog .kb-feature{grid-template-columns:1fr;padding:24px}.knok-blog .kb-top-nav{gap:12px;font-size:12px}.knok-blog .kb-top-nav a:nth-child(2){display:none}.knok-blog .kb-post{padding-top:17px}.knok-blog .kb-post h1{font-size:34px}.knok-blog .kb-post-lede{font-size:16px}.knok-blog .kb-prose{font-size:15px}.knok-blog .kb-prose h2{font-size:24px}.knok-blog .kb-post-end{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.knok-blog *{scroll-behavior:auto}}

/* ===== KNOK Blog deploy stylesheet — native Webasyst Vega content integrations ===== */
.knok-blog {font-size:16px;min-height:100vh}
.knok-blog .kb-header {position:relative;z-index:4}
.knok-blog .kb-wordmark-dot {color:#1769d2}
.knok-blog .kb-header-search {display:flex;align-items:center;gap:6px;margin:0}
.knok-blog .kb-header-search input {width:min(210px,21vw);height:38px;border:1px solid #d9e4f1;border-radius:10px;padding:0 12px;color:#172b4d;background:white;font:inherit;font-size:13px}
.knok-blog .kb-header-search button {height:38px;border:1px solid #c4daef;border-radius:10px;padding:0 12px;color:#155cac;background:#f0f6ff;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.knok-blog .kb-header-search button:hover {background:#e3f0ff}
.knok-blog .kb-visually-hidden {position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.knok-blog .kb-card-cover img {width:100%;height:100%;object-fit:cover;display:block}
.knok-blog .kb-card h3 a:hover {color:#1769d2}
.knok-blog .kb-empty {padding:35px;border:1px dashed #bfd1e5;border-radius:19px;background:#f3f8ff;margin-bottom:28px}
.knok-blog .kb-empty h2 {font-size:23px;line-height:1.25;margin:0 0 12px}
.knok-blog .kb-empty p {color:#5c6d85;margin:0 0 16px}
.knok-blog .kb-articles {scroll-margin-top:22px}
.knok-blog .kb-pagination {margin:30px 0 15px;display:flex;align-items:center;justify-content:center}
.knok-blog .kb-pagination .paging {display:flex;flex-wrap:wrap;justify-content:center;gap:7px}
.knok-blog .kb-pagination .paging a,.knok-blog .kb-pagination .paging span {min-width:36px;min-height:36px;padding:8px 11px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d6e5f3;border-radius:9px;color:#155cac;background:#fff}
.knok-blog .kb-pagination .paging a:hover,.knok-blog .kb-pagination .paging .selected {background:#1769d2;color:#fff;border-color:#1769d2}
.knok-blog .kb-footer {background:#f8fbff;border-top:1px solid #dbe6f3;padding:28px 0 34px;margin-top:30px}
.knok-blog .kb-footer-in {display:flex;align-items:center;justify-content:space-between;gap:20px}
.knok-blog .kb-footer-in>div {display:flex;flex-direction:column;gap:4px}
.knok-blog .kb-footer strong {color:#173b70;font-size:20px}
.knok-blog .kb-footer span {color:#60738c;font-size:13px}
.knok-blog .kb-footer nav {display:flex;gap:20px;font-size:13px;font-weight:750}
.knok-blog .kb-footer a:hover {color:#1769d2}
/* The original application post/article Smarty template remains active, including plugins and comments. */
.knok-blog .layout-post-classic,.knok-blog .layout-post-alter {background:#fff;color:#172b4d;font-size:16px}
.knok-blog .layout-post-classic .frame__container,.knok-blog .layout-post-alter .frame__container {max-width:1180px;margin:0 auto;padding:24px 24px 42px}
.knok-blog .layout-post-classic .frame__center,.knok-blog .layout-post-alter .frame__center {max-width:1020px;margin:0 auto}
.knok-blog .layout-post-classic__title,.knok-blog .layout-post-alter__title {font-size:clamp(30px,4vw,47px)!important;line-height:1.16!important;color:#112d50!important;letter-spacing:-.033em!important;font-weight:800!important}
.knok-blog .layout-post-classic__credentials,.knok-blog .layout-post-alter__credentials {font-size:13px;color:#63758a}
.knok-blog .layout-post-classic__preview,.knok-blog .layout-post-alter__preview {border-radius:20px;overflow:hidden;max-width:100%}
.knok-blog .layout-post-classic__preview img,.knok-blog .layout-post-alter__preview img {border-radius:20px;max-width:100%;object-fit:cover}
.knok-blog .layout-post-classic .js-page-content,.knok-blog .layout-post-alter .js-page-content {font-size:16px;line-height:1.85;color:#31455d;overflow-wrap:anywhere}
.knok-blog .js-page-content h2 {font-size:clamp(23px,2.6vw,30px);line-height:1.26;color:#172b4d;margin:32px 0 15px}
.knok-blog .js-page-content h3 {font-size:21px;line-height:1.35;color:#172b4d;margin:24px 0 12px}
.knok-blog .js-page-content p {margin:0 0 18px}
.knok-blog .js-page-content a {color:#1769d2;text-decoration:underline;text-underline-offset:3px}
.knok-blog .js-page-content img {height:auto;max-width:100%}
.knok-blog .js-page-content blockquote {border-left:4px solid #1769d2;background:#f0f7ff;padding:19px 24px;margin:25px 0;border-radius:0 12px 12px 0}
.knok-blog .js-page-content ul,.knok-blog .js-page-content ol {padding-left:24px;margin:0 0 21px}
.knok-blog .js-page-content table {display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}
.knok-blog .js-page-content table th,.knok-blog .js-page-content table td {border:1px solid #dfe8f3;padding:9px 13px}
.knok-blog .layout-post-classic__comments,.knok-blog .layout-post-alter__comments {margin-top:32px;border-top:1px solid #dfe8f3;padding-top:25px}
.knok-blog .layout-post-classic__related,.knok-blog .layout-post-alter__related {margin-top:33px}
@media(max-width:1100px){.knok-blog .kb-header-search input{width:145px}.knok-blog .kb-top-nav{gap:15px}}
@media(max-width:820px){.knok-blog .kb-header-search{display:none}.knok-blog .kb-footer-in{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.knok-blog .layout-post-classic .frame__container,.knok-blog .layout-post-alter .frame__container{padding:16px}.knok-blog .kb-footer nav{flex-wrap:wrap;gap:12px}.knok-blog .kb-header{padding:14px 0}}

/* KNOK final pilot: accessible search and blog navigation on phones */
@media(max-width:820px){
 .knok-blog .kb-head-in{flex-wrap:wrap}
 .knok-blog .kb-header-search{display:flex;flex-basis:100%;width:100%;order:3}
 .knok-blog .kb-header-search input{flex:1;min-width:0;width:0}
}
@media(max-width:640px){
 .knok-blog .kb-top-nav a:nth-child(2){display:inline}
 .knok-blog .kb-top-nav a:first-child{display:none}
 .knok-blog .kb-wordmark{font-size:19px}
 .knok-blog .kb-head-in{gap:11px}
 .knok-blog .kb-top-nav{gap:12px}
}
