/* QKH 2.3: shared identity from the existing blue/orange logo and banners.
   Loaded last; preserve native layout, reference-image frames and CMS content. */
:root{--blue:#003ec4;--blue-deep:#002d93;--ink:#183052;--muted:#536780;--orange:#ff8c00;--line:#dfe8f5;--soft:#f2f6ff;--cream:#fff8ef;--white:#fff;--max:1280px;--radius:18px;--shadow:0 14px 36px #003ec40c;--qkh-blue:var(--blue);--qkh-ink:var(--ink);--qkh-line:var(--line);--qkh-accent-ink:#a85000;--qkh-shadow:0 10px 32px #12366b09}
body{color:var(--ink);line-height:1.75;background:#fff}
h1,h2,h3{letter-spacing:-.025em;color:var(--ink)}
h2{font-size:clamp(26px,2.4vw,34px);line-height:1.32}
h3{line-height:1.45}
::selection{background:#dce7ff;color:#002d93}
.section{padding:64px 0}
.section.soft{background:var(--soft)}
.section.cream{background:var(--cream)}
.lede{color:var(--muted);line-height:1.8}
.eyebrow{color:var(--blue);letter-spacing:.1em;display:flex;align-items:center;gap:9px}
.eyebrow::before{content:"";display:inline-block;flex:none;width:20px;height:3px;border-radius:2px;background:var(--orange)}
.btn,.search-submit,.qkh-comments .submit{border-radius:12px;min-height:48px;background:var(--blue);border-color:var(--blue);color:#fff;font-size:14px;line-height:1.5;box-shadow:0 4px 12px #003ec414}
.btn.secondary{background:#fff;color:var(--blue);border-color:#b9cbed;box-shadow:none}
.btn.light{color:var(--blue);background:#fff;border-color:#fff}
.text-link{color:var(--blue);line-height:1.6}
.badge{color:var(--blue);background:#f2f6ff;border-color:#d8e4fc}
.notice{background:var(--cream);border-left-color:var(--orange);color:#67421b;border-radius:0 12px 12px 0}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.qkh-menu a:focus-visible,.qkh-submenu-toggle:focus-visible,.mobile-nav>summary:focus-visible{outline:3px solid var(--blue);outline-offset:3px;box-shadow:0 0 0 6px #ff8c0030}
.skip:focus{box-shadow:none}
/* The same brand scale and navigation on home, pages, articles and Woo archives. */
.site-header{border-color:var(--line);box-shadow:0 3px 20px #12366b08;background:#fffffffa}
.site-header .wrap{width:min(calc(100% - 48px),1420px)}
.qkh-contact-bar{background:#eff5ff;border-color:#e0e9fa;color:var(--muted)}
.qkh-contact-bar a{color:var(--blue)}
.qkh-contact-bar a:last-child{border-color:#ceddfa}
.header-main{height:90px;gap:26px}
.brand{width:260px}
.brand img{max-height:82px}
.qkh-desktop-menu{gap:24px}
.qkh-desktop-menu>li>a{font-size:14px;font-weight:650;color:var(--ink)}
.qkh-menu .current-menu-item>a,.qkh-menu .current-menu-ancestor>a{color:var(--blue)}
.header-search{width:44px;min-width:44px;min-height:44px;border:1px solid var(--line);background:#fff;color:var(--blue)}
.header-action{min-height:46px;font-size:13px;padding-inline:18px}
.qkh-desktop-menu>li>.sub-menu{border-color:var(--line);border-radius:16px;box-shadow:0 16px 40px #12366b18;padding:12px;max-height:calc(100dvh - 160px)}
.qkh-menu .sub-menu a{min-height:44px;display:flex;align-items:center;color:var(--ink)}
.qkh-menu .sub-menu .menu-item-has-children>a{padding-right:48px}
.qkh-menu .sub-menu .qkh-submenu-toggle{width:44px;min-width:44px;height:44px}
.qkh-submenu-toggle{color:var(--blue)}
.qkh-submenu-toggle[aria-expanded=true]{background:#eef4ff}
.crumbs{color:var(--muted);line-height:1.7;margin-block:24px 16px}
.crumbs a{color:var(--muted)}
/* Card spacing and images stay consistent without cropping product references. */
.category-grid,.article-grid,.concept-grid{gap:24px}
.category-card,.article-card,.concept-card,.solution-card,.hub-card,.template-card{border-color:var(--line);border-radius:18px;background:#fff;box-shadow:var(--qkh-shadow)}
.category-card,.article-card{padding:12px 12px 0}
.category-card .photo{border-radius:12px;background:#f7f9ff}
.category-card h3{color:var(--blue);font-size:18px;line-height:1.45;margin-top:18px}
.category-card p{color:var(--muted);line-height:1.75}
.category-card .card-foot{border-color:var(--line);min-height:48px;color:var(--blue)}
.category-card .card-foot span{background:#eff5ff;border-color:#dce7ff}
.article-card h2,.article-card h3{font-size:21px;line-height:1.45}
.article-card h2 a,.article-card h3 a{color:var(--ink);text-decoration:none}
.article-card p{color:var(--muted)}
.article-card>.text-link{border-color:var(--line);min-height:48px}
.article-card-photo,.qkh-article-photo{border-radius:12px}
.qkh-group-nav a{border-color:var(--line);color:var(--ink);background:#fff}
.qkh-group-nav span{color:var(--blue)}
.family-block>header h2 a{color:var(--blue)}
.concept-card,.solution-card,.hub-card,.template-card{padding:28px}
.concept-card h3,.solution-card h3{font-size:21px}
.concept-card .shape-note{background:var(--soft);border-radius:12px;color:var(--muted)}
.concept-card .text-link{border-color:var(--line);min-height:44px}
.page-head h1,.qkh-category-hero h1{font-size:clamp(32px,3.3vw,44px);line-height:1.23}
.page-head .lede,.qkh-category-hero .lede{font-size:17px;line-height:1.85}
.page-head{padding-bottom:32px}
.qkh-category-hero{background:linear-gradient(115deg,#edf4ff,#f8faff 65%,#fff8ef);border-color:#dce7fa;padding:40px;gap:48px;border-radius:24px;box-shadow:0 6px 24px #003ec405}
.qkh-category-hero h1{color:var(--blue)}
.qkh-category-hero .qkh-term-figure{border-color:var(--line);box-shadow:var(--qkh-shadow)}
.qkh-section-nav{border-color:var(--line);gap:12px 24px;padding-block:16px}
.qkh-section-nav a{min-height:44px;color:var(--blue)}
.product-heading h1{font-size:clamp(31px,3vw,41px);color:var(--blue)}
.product-detail figure{border-color:var(--line);border-radius:18px;box-shadow:var(--qkh-shadow);top:152px}
.option-list li{border-color:var(--line);line-height:1.85}
.option-list strong{color:var(--ink)}
.step{border-color:#ecdcca;background:#fff;border-radius:18px}
.step .num{color:var(--qkh-accent-ink);background:#fff5e7;border-color:#f5d8b4}
.cta-band{background:linear-gradient(110deg,#002d93,#003ec4);border-top:3px solid var(--orange);padding:42px;border-radius:22px}
.cta-band h2{color:#fff;font-size:30px}
/* Long native pages use a reading width, while catalogue/hub grids stay wide. */
.page-head h1{color:var(--blue)}
:is(.qkh-role-solution,.qkh-role-policy,.qkh-role-build_info) .qkh-entry{max-width:900px;margin-inline:auto}
:is(.qkh-role-utility,.qkh-role-request) .qkh-entry{max-width:1040px;margin-inline:auto}
.qkh-native-content>h2{margin:40px 0 16px;color:var(--blue);font-size:30px;line-height:1.4}
.qkh-native-content>h3{margin:28px 0 12px;font-size:23px}
.qkh-native-content>p,.qkh-native-content>ul,.qkh-native-content>ol{line-height:1.85}
.qkh-native-content>ul,.qkh-native-content>ol{padding-left:24px}
.qkh-native-content>ul>li,.qkh-native-content>ol>li{padding-block:4px}
/* A comfortable reading column with the same brand for TOC, tables and links. */
.article-head{max-width:1040px;padding-block:24px 40px}
.article-head h1{font-size:clamp(32px,3.6vw,46px);line-height:1.28;color:var(--blue)}
.article-head .article-mission{color:var(--muted);font-size:18px;line-height:1.8}
.editorial-layout{grid-template-columns:240px minmax(0,780px);gap:48px;justify-content:center}
.editorial-layout .toc{background:#f2f6ff;border-color:#dce7fa;border-top:3px solid var(--orange);border-radius:16px;padding:22px;top:152px;max-height:calc(100dvh - 182px)}
.toc strong{color:var(--blue)}
.toc a{color:var(--ink);display:block;padding-block:5px;line-height:1.7}
.editorial-body{color:var(--ink);font-size:17px;line-height:1.9}
.editorial-body h2{font-size:30px;color:var(--blue);line-height:1.4}
.editorial-body h3{font-size:23px;line-height:1.45}
.editorial-body table,.qkh-native-content table{border-color:var(--line)}
.editorial-body th,.qkh-native-content th{color:var(--blue);background:#edf4ff;border-color:var(--line)}
.editorial-body td,.qkh-native-content td{border-color:var(--line)}
.editorial-body figure{border-color:var(--line);border-radius:14px}
.related{border-color:var(--line)}
/* Catalogue, search and request fields: readable type and predictable focus. */
.qkh-filter{background:#f2f6ff;border-color:#dce7fa;border-radius:18px;padding:24px;gap:18px}
.qkh-filter label,.field label{color:var(--ink);font-size:14px}
.qkh-filter input,.qkh-filter select,.field input,.field select,.field textarea,.search-field,.qkh-comments input:not([type=checkbox]),.qkh-comments textarea{border:1px solid #b9cbed;border-radius:12px;background:#fff;color:var(--ink);min-height:48px;font-size:16px;line-height:1.5;padding:12px 14px;max-width:100%}
.qkh-filter button{min-height:48px}
.form-card,.form-aside{border-color:var(--line);border-radius:20px;box-shadow:var(--qkh-shadow)}
.form-aside{background:#f2f6ff}
.qkh-request legend{color:var(--blue);font-size:20px;line-height:1.5}
.qkh-request textarea[data-qkh-text]{border-color:#b9cbed;border-radius:12px;font-size:16px}
.qkh-pagination button,.page-numbers,.post-page-numbers{min-height:44px;min-width:44px;border-radius:10px;border-color:#c6d6f0;color:var(--blue)}
.qkh-pagination button[aria-current=page],.page-numbers.current,.post-page-numbers.current{color:#fff;background:var(--blue);border-color:var(--blue)}
.search-result{border-color:var(--line)}
.search-result h2 a{color:var(--blue)}
.policy-grid a{border-color:var(--line);border-radius:14px;background:#fff;line-height:1.6}
.qkh-native-content .wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--blue);color:#fff;border-radius:12px;font-size:14px;line-height:1.5;min-height:44px;padding:12px 20px}
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{background:var(--blue);color:#fff}
.woocommerce .woocommerce-info,.woocommerce .woocommerce-message{border-top-color:var(--blue);background:var(--soft);color:var(--ink)}
.woocommerce .woocommerce-info::before,.woocommerce .woocommerce-message::before{color:var(--blue)}
.woocommerce form .form-row .input-text,.woocommerce form .form-row select{min-height:48px;padding:12px;border:1px solid #b9cbed;border-radius:12px;font-size:16px;color:var(--ink);background:#fff}
/* Footer repeats the blue of the banners; a white panel preserves logo colours. */
.site-footer{background:#002d93;color:#e2ebff;border-top:3px solid var(--orange);padding-top:52px;margin-top:24px}
.footer-grid{gap:44px}
.qkh-footer-logo{background:#fff;padding:14px 16px;max-width:260px;border-radius:14px;box-shadow:none}
.footer-grid .qkh-footer-heading,.footer-brand .qkh-footer-name{color:#fff}
.footer-grid .qkh-footer-heading{font-size:16px;line-height:1.5;margin-bottom:18px}
.footer-brand .qkh-footer-name{font-size:19px;line-height:1.5}
.footer-grid p,.footer-grid a{color:#e2ebff;font-size:14px;line-height:1.8}
.footer-grid .qkh-footer-contact a{color:#fff;font-size:15px;font-weight:650}
.footer-grid .qkh-footer-menu a{padding-block:4px;margin-bottom:4px}
.footer-bottom{border-color:#ffffff35;color:#d0deff;line-height:1.8}
.footer-bottom a{color:#e2ebff}
.mobile-action{border-top:1px solid var(--line);background:#fffffffa;box-shadow:0 -4px 20px #003ec40a}
/* Original banner compositions remain; home cards use the shared visual system. */
.qkh-classic-opening{background:#edf3ff;padding-block:24px 30px}
.qkh-banner-stage{border-radius:14px}
.qkh-slider-track{border-radius:14px}
.qkh-classic-intro{padding-top:12px;padding-bottom:26px}
.qkh-classic-contact{border-radius:12px;border-color:#b9cbed;background:#fff}
.qkh-classic-section{padding-block:52px}
.qkh-classic-heading{margin-bottom:32px}
.qkh-classic-heading h2{font-size:27px;font-weight:700;letter-spacing:.015em}
.qkh-classic-heading::before,.qkh-classic-heading::after{background:linear-gradient(90deg,transparent,#b4c8f0,transparent)}
.qkh-classic-soft{background:var(--soft)}
.qkh-classic-home .category-card,.qkh-classic-home .article-card{border-radius:18px;padding:12px 12px 0;box-shadow:var(--qkh-shadow)}
.qkh-classic-home .category-card .photo{border-radius:12px}
.qkh-classic-home .category-card h3{font-size:19px;letter-spacing:-.015em}
.qkh-classic-home .article-card h3{font-size:20px;line-height:1.5}
.qkh-banner-mobile-actions a{border-radius:10px}
@media(hover:hover) and (pointer:fine){
  .btn,.search-submit,.qkh-comments .submit,.header-search,.qkh-submenu-toggle,.category-card,.article-card,.concept-card,.solution-card,.hub-card,.template-card,.policy-grid a{transition:background-color .2s,border-color .2s,box-shadow .2s,transform .2s,color .2s}
  .btn:hover,.search-submit:hover,.qkh-comments .submit:hover{background:var(--blue-deep);border-color:var(--blue-deep);color:#fff;box-shadow:0 6px 18px #003ec426}
  .btn.secondary:hover,.btn.light:hover{background:#edf4ff;color:var(--blue);border-color:#b9cbed}
  .header-search:hover,.qkh-menu .sub-menu a:hover,.qkh-submenu-toggle:hover{background:#edf4ff;color:var(--blue)}
  .category-card:hover,.article-card:hover,.concept-card:hover,.solution-card:hover,.hub-card:hover,.template-card:hover{border-color:#b1c7f0;box-shadow:0 12px 32px #003ec412;transform:translateY(-3px)}
  .article-card h2 a:hover,.article-card h3 a:hover,.toc a:hover{color:var(--blue);text-decoration:underline}
  .policy-grid a:hover,.qkh-group-nav a:hover{background:#edf4ff;border-color:#b1c7f0;color:var(--blue)}
  .footer-grid a:hover,.footer-bottom a:hover{color:#fff;text-decoration:underline}
}
@media(hover:none){.category-card:hover{transform:none;box-shadow:var(--qkh-shadow)}}
@media(min-width:1200px){.header-main,.qkh-role-home .header-main{height:96px}.brand,.qkh-role-home .brand{width:280px}.brand img,.qkh-role-home .brand img{max-height:85px}}
@media(min-width:901px) and (max-width:1199px){.header-main{height:84px;gap:16px}.brand{width:210px}.qkh-desktop-menu{gap:16px}.qkh-desktop-menu>li>a{font-size:13px}.header-action{font-size:12px;padding-inline:12px}}
@media(max-width:1000px){.editorial-layout{grid-template-columns:1fr;gap:28px}.editorial-layout .toc{position:static;max-height:none}.qkh-category-hero{padding:30px;gap:30px}.product-detail figure{position:static}.footer-grid{gap:32px}}
@media(max-width:900px){.header-main{height:76px;gap:14px}.brand{width:216px}.mobile-menu{background:#fff;border-color:var(--line);max-height:calc(100dvh - 106px);box-shadow:0 20px 40px #12366b18}.mobile-nav>summary{border:1px solid var(--line);border-radius:12px;color:var(--blue)}.qkh-category-hero .qkh-term-figure{box-shadow:none}.concept-card,.solution-card,.hub-card,.template-card{padding:24px}}
@media(max-width:700px){.qkh-category-hero{grid-template-columns:1fr}.qkh-classic-heading h2{font-size:23px}.qkh-classic-section{padding-block:38px}.qkh-classic-opening{padding-block:14px 24px}}
@media(max-width:640px){
  .wrap,.site-header .wrap{width:calc(100% - 32px)}
  .section{padding-block:40px}
  .header-main{height:72px;gap:10px}.brand{width:200px}.brand img{max-height:64px}.header-search{border:0}
  .qkh-contact-bar .wrap{font-size:11px;gap:12px}.qkh-contact-bar span{font-size:10px}
  .crumbs{font-size:11px;margin-block:18px 12px}
  .page-head h1,.qkh-category-hero h1,.article-head h1,.product-heading h1{font-size:32px;line-height:1.3}
  .page-head .lede,.qkh-category-hero .lede{font-size:16px;line-height:1.8}
  .qkh-category-hero{padding:24px 20px;border-radius:20px;gap:24px}
  .qkh-category-hero .btn{min-height:46px;font-size:13px;padding:12px 14px}
  .category-grid,.concept-grid{gap:16px}.category-card,.qkh-classic-home .category-card{padding:8px 8px 0;border-radius:14px}
  .category-card h3,.qkh-classic-home .category-card h3{font-size:16px;line-height:1.5;margin:14px 4px 0}
  .category-card p{font-size:12px}.category-card .card-foot{font-size:11px;min-height:44px}
  .category-card .photo,.qkh-classic-home .category-card .photo{border-radius:9px}
  .article-card,.qkh-classic-home .article-card{padding:10px 10px 0;border-radius:16px}
  .article-card h3,.article-card h2,.qkh-classic-home .article-card h3{font-size:21px;line-height:1.45}
  .article-head{padding-block:16px 30px}.article-head .article-mission{font-size:16px;line-height:1.85}
  .editorial-body{font-size:16px;line-height:1.9}.editorial-body h2,.qkh-native-content>h2{font-size:26px}.editorial-body h3{font-size:21px}.editorial-layout .toc{padding:20px}
  .qkh-section-nav{gap:8px 18px}.qkh-section-nav a{font-size:13px;min-height:44px}
  .qkh-group-nav{margin-inline:-16px;padding-inline:16px}
  .qkh-filter{gap:14px;padding:20px;grid-template-columns:1fr 1fr}.qkh-filter label{font-size:13px}.qkh-filter input,.qkh-filter select{font-size:16px;min-height:48px;padding:11px 12px}.qkh-filter button{font-size:13px}
  .concept-card,.solution-card,.hub-card,.template-card{padding:24px}.concept-card h3{font-size:20px}
  .cta-band{padding:28px 24px}.cta-band h2{font-size:27px}
  .footer-grid{gap:28px 24px}.footer-grid .qkh-footer-heading{font-size:15px}.footer-grid p,.footer-grid a{font-size:13px}.site-footer{padding-top:36px;margin-top:12px}.qkh-footer-logo{max-width:250px}
  .mobile-action .btn{min-height:46px;font-size:13px}
  .qkh-classic-intro h1{font-size:25px}.qkh-classic-heading{gap:12px;margin-bottom:26px}.qkh-classic-heading h2{font-size:22px;letter-spacing:0}
}
@media(max-width:359px){.wrap,.site-header .wrap{width:calc(100% - 28px)}.brand{width:174px}.header-main{gap:7px}.qkh-contact-bar .wrap{gap:9px}.qkh-contact-bar span{font-size:9px}.qkh-category-hero{padding:22px 16px}.page-head h1,.qkh-category-hero h1,.article-head h1,.product-heading h1{font-size:29px}.category-grid{gap:12px}.qkh-group-nav{margin-inline:-14px;padding-inline:14px}.qkh-classic-home .category-card h3{font-size:15px}.qkh-filter{grid-template-columns:1fr}.qkh-filter label,.qkh-filter button{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}.category-card:hover,.article-card:hover,.concept-card:hover,.solution-card:hover,.hub-card:hover,.template-card:hover{transform:none}}
@media print{.site-footer{background:#fff;color:#183052;border-color:#183052}.footer-grid p,.footer-grid a,.footer-grid .qkh-footer-heading,.footer-brand .qkh-footer-name,.footer-bottom,.footer-bottom a{color:#183052}.category-card,.article-card,.concept-card,.solution-card,.hub-card,.template-card,.qkh-category-hero,.product-detail figure{box-shadow:none}.qkh-category-hero{background:#fff;padding:0;border:0}}

/* Reading and full-column photos for the requested article only. */
@media screen {
  body.postid-8168 .article-head {
    max-width: 1068px;
  }
  body.postid-8168 .article-head h1 {
    font-size: clamp(30px, 3.2vw, 42px);
    line-height: 1.3;
    text-wrap: balance;
  }
  #post-8168 .editorial-layout > * { min-width: 0; }
  #post-8168 .editorial-body {
    font-size: 18px;
    line-height: 1.85;
    color: #21354d;
  }
  #post-8168 .editorial-body p {
    font-size: inherit;
    line-height: inherit;
    margin-bottom: 24px;
  }
  #post-8168 .editorial-body h2 {
    font-size: 29px;
    line-height: 1.4;
    margin: 48px 0 20px;
    text-wrap: balance;
    scroll-margin-top: 20px;
  }
  #post-8168 .editorial-body h3 {
    font-size: 23px;
    line-height: 1.45;
    margin: 32px 0 16px;
  }
  #post-8168 .editorial-body .article-figure {
    width: 100%;
    /* Existing authored figures include an inline 550px cap. */
    max-width: 100% !important;
    margin: 30px 0 36px;
    margin-inline: 0 !important;
  }
  #post-8168 .editorial-body .article-figure img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 12px;
  }
  #post-8168 .editorial-body .article-figure figcaption {
    font-size: 14px;
    line-height: 1.7;
    color: #526475;
    padding: 12px 16px;
    margin-top: 0;
    background: #f5f8fc;
    border-radius: 0 0 10px 10px;
  }
  #post-8168 .editorial-body a {
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
  }
  #post-8168 .editorial-body table { line-height: 1.7; }
}
@media screen and (max-width: 1000px) {
  body.postid-8168 .qkh-post-content,
  body.postid-8168 .qkh-site-main > .wrap,
  body.postid-8168 .qkh-entry > .wrap {
    max-width: 780px;
  }
}
@media screen and (max-width: 640px) {
  #post-8168 .editorial-body { font-size: 17px; line-height: 1.8; }
  #post-8168 .editorial-body h2 { font-size: 25px; margin: 36px 0 16px; scroll-margin-top: 8px; }
  #post-8168 .editorial-body h3 { font-size: 21px; margin: 28px 0 14px; }
  #post-8168 .editorial-body .article-figure { margin-block: 24px 28px; }
  #post-8168 .editorial-body .article-figure figcaption { font-size: 13px; padding: 10px 12px; }
  #post-8168 .editorial-layout .toc { padding: 16px; font-size: 13px; }
  #post-8168 .editorial-layout .toc a { line-height: 1.6; padding-block: 4px; }
}
