/* Only the Tools submenu and its existing overview page. */
/* Match the existing header selectors so legacy four-column rules cannot win. */
html body .ultp-block-6cb2b3 .fk-dienstleister-mega .fk-mm-panel .fk-mm-grid,
html body .ultp-block-6cb2b3 .fk-knowledge-mega .fk-mm-panel .fk-mm-grid,
html body .ultp-block-6cb2b3 .fk-tools-mega .fk-mm-panel .fk-mm-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row!important;gap:12px!important}
.fk-tools-menu-panel .fk-mm-card{align-items:flex-start!important;min-width:0;gap:12px!important}
.fk-tools-menu-panel .fk-mm-card-copy{min-width:0}
.fk-tools-menu-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:#e7f3f5;color:#08758a}
.fk-tools-menu-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.fk-tools-menu-panel a:focus-visible,.fk-tools-library a:focus-visible,.fk-tools-library input:focus-visible,.fk-tools-library select:focus-visible{outline:3px solid #087e95!important;outline-offset:3px}
body.page-id-10470 .entry-header{display:none}
.fk-tools-library{--fk-ink:#102f4b;--fk-muted:#526778;--fk-line:#d7e5eb;--fk-teal:#08758a;color:var(--fk-ink);font-family:system-ui,-apple-system,"Segoe UI",sans-serif;background:#f5f8fa;border:1px solid var(--fk-line);border-radius:22px;overflow:hidden;width:100%;margin:16px auto 40px;text-align:left}
.fk-tools-library *{box-sizing:border-box}
.fk-tools-library [hidden]{display:none!important}
.fk-tools-library a{text-decoration:none!important}
.fk-tools-hero{padding:38px;background:linear-gradient(120deg,#102f4b,#176d80);color:#fff}
.fk-tools-eyebrow{font-size:13px;font-weight:700;letter-spacing:.04em;color:#bbecf1}
.fk-tools-library .fk-tools-hero h1{color:#fff;font-size:clamp(28px,4vw,44px);line-height:1.15;margin:12px 0}
.fk-tools-hero p{font-size:18px;line-height:1.55;margin:0;color:#e1f1f5;max-width:750px}
.fk-tools-areas{display:flex;flex-wrap:wrap;gap:8px;padding:20px 28px;background:#fff;border-bottom:1px solid var(--fk-line)}
.fk-tools-areas a{padding:10px 13px;border:1px solid var(--fk-line);border-radius:9px;font-size:14px;line-height:1.4;font-weight:600;color:var(--fk-ink)}
.fk-tools-areas a[aria-current],.fk-tools-areas a:hover{background:#e6f3f5;color:#055e70;border-color:#80beca}
.fk-tools-body{padding:32px}
.fk-tools-library h2{font-size:26px;line-height:1.25;color:var(--fk-ink);margin:0 0 10px}
.fk-tools-intro{color:var(--fk-muted);margin:0 0 20px;font-size:16px;line-height:1.6}
.fk-tools-branches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:28px}
.fk-tools-branches>a,.fk-tools-branches>.fk-tools-branch-pending{display:flex;flex-direction:column;gap:8px;padding:20px;border:1px solid var(--fk-line);border-radius:13px;color:var(--fk-ink);background:#fff}
.fk-tools-branches>a:hover,.fk-tools-branches>a[aria-current]{border-color:#5ba6b7;background:#e7f3f5}
.fk-tools-branches strong{font-size:19px}.fk-tools-branches>a>span,.fk-tools-branch-pending>span{font-size:14px;color:var(--fk-muted)}
.fk-tools-branches>.fk-tools-branch-pending{background:#edf2f5;color:#526778;border-color:#d7e1e7;cursor:default}
.fk-tools-branch-pending>span{align-self:flex-start;background:#e1e9ef;padding:3px 8px;border-radius:5px}
.fk-tools-results-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:32px}
.fk-tools-results-heading>span{font-size:14px;color:var(--fk-muted);white-space:nowrap}
.fk-tools-filters{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin:10px 0 28px}
.fk-tools-filters label{font-size:14px;font-weight:700;display:flex;flex-direction:column;gap:6px}
.fk-tools-library .fk-tools-filters input,.fk-tools-library .fk-tools-filters select{width:100%;min-width:0;min-height:48px;padding:12px;background:#fff;border:1px solid #91a9b8;border-radius:9px;color:var(--fk-ink);font:400 16px/1.4 system-ui}
.fk-tools-section{margin-top:28px}.fk-tools-library .fk-tools-section h3{font-size:21px;line-height:1.4;color:var(--fk-ink);margin:0 0 14px}
.fk-tools-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.fk-tools-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:22px;background:#fff;border:1px solid var(--fk-line);border-radius:13px;color:var(--fk-ink);transition:border-color .15s,box-shadow .15s}
.fk-tools-card:hover{border-color:#77b4c0;box-shadow:0 4px 16px #12324a0d}
.fk-tools-tag{font-size:12px;font-weight:700;color:#056174;background:#e5f3f5;border-radius:6px;padding:4px 8px}
.fk-tools-library .fk-tools-card h4{font-size:18px;line-height:1.4;color:var(--fk-ink);margin:14px 0 8px;overflow-wrap:anywhere}
.fk-tools-card p{font-size:15px;line-height:1.6;color:var(--fk-muted);margin:0 0 18px}
.fk-tools-card-action{margin-top:auto;font-size:14px;font-weight:700;color:var(--fk-teal)}
@media(max-width:1300px){
html body .ultp-block-6cb2b3 .ultp-mobile-view-body .fk-dienstleister-mega .fk-mm-panel .fk-mm-grid,
html body .ultp-block-6cb2b3 .ultp-mobile-view-body .fk-knowledge-mega .fk-mm-panel .fk-mm-grid,
html body .ultp-block-6cb2b3 .ultp-mobile-view-body .fk-tools-mega .fk-mm-panel .fk-mm-grid{grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:850px){.fk-tools-cards,.fk-tools-branches{grid-template-columns:repeat(2,minmax(0,1fr))}.fk-tools-hero{padding:28px}.fk-tools-body{padding:24px}.fk-tools-areas{padding:18px}}
@media(max-width:560px){.fk-tools-library{border-radius:14px;margin:8px auto 24px}.fk-tools-hero,.fk-tools-body{padding:22px 16px}.fk-tools-hero p{font-size:16px}.fk-tools-areas{padding:14px;gap:7px}.fk-tools-areas a{font-size:13px;padding:10px}.fk-tools-cards,.fk-tools-branches,.fk-tools-filters{grid-template-columns:1fr}.fk-tools-library h2{font-size:23px}.fk-tools-card{padding:18px}.fk-tools-library .fk-tools-card h4{font-size:18px}.fk-tools-results-heading{align-items:center}}
@media(prefers-reduced-motion:reduce){.fk-tools-card{transition:none}}

/* Keep the visible main navigation in the agreed order, including PostX mobile copies. */
html body .ultp-block-6cb2b3 .ultp-menu-content>.fk-dienstleister-mega{order:-3!important}
html body .ultp-block-6cb2b3 .ultp-menu-content>.fk-tools-mega{order:-2!important}
html body .ultp-block-6cb2b3 .ultp-menu-content>.fk-knowledge-mega{order:-1!important}

/* Separate the four desktop navigation items from the account buttons. */
@media(min-width:1301px){
html body .ultp-block-6cb2b3 .ultp-menu-content>.fk-job-menu{margin-right:24px!important}
}
