.nav__links .klc-services-anchor { padding-right: 60px !important; }
.klc-services-anchor > .nav__arrow { visibility: hidden; }
.nav__links .klc-services-toggle { position:absolute; right:24px; width:44px; height:44px; padding:0; border:1px solid #dce5ee; border-radius:12px; background:#f3f8fc; color:#2563eb; font:700 24px/1 sans-serif; cursor:pointer; }
.nav__links .klc-services-toggle:hover,.nav__links .klc-services-toggle[aria-expanded=true] { background:#e7f0ff; }
.nav__links .klc-services-panel { position:absolute; right:calc(100% + 10px); top:0; width:370px; padding:14px; border:1px solid #dce5ee; border-radius:20px; background:#fff; box-shadow:0 24px 60px rgba(0,27,58,.16); color:#001b3a; box-sizing:border-box; }
.nav__links .klc-services-panel[hidden] { display:none !important; }
.klc-services-heading {padding:8px 12px 12px;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#62748b;}
.nav__links .klc-services-panel a.klc-service-link { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:9px; min-height:82px; padding:13px 12px; margin:0; text-decoration:none; color:#001b3a; border-radius:12px; box-sizing:border-box; }
.klc-service-link strong {font-size:15px;line-height:1.4;font-weight:750;}
.klc-service-tags {display:flex;flex-wrap:wrap;gap:5px;}
.klc-service-tags > span {display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:8px;border-radius:12px;background:#edf3fe;color:#09283f;font:400 12px/1.4 Arial,Helvetica,sans-serif;box-sizing:border-box;}
.klc-service-tags > span svg {width:18px;height:18px;color:#2563eb;flex:none;stroke-width:1.7;}
.klc-service-tags > span > span {min-width:0;overflow-wrap:anywhere;}
.nav__links .klc-services-panel a:hover {background:#f3f8fc;}
.klc-services-toggle:focus-visible,.klc-service-link:focus-visible {outline:2px solid #2563eb;outline-offset:2px;}
@media(max-width:900px) {
 .nav__links.nav__links--open {max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain;}
 .nav__links .klc-services-panel {position:static;width:100%;box-shadow:none;padding:5px;border-radius:12px;background:#f8fbfe;}
 .nav__links .klc-services-panel a.klc-service-link {min-height:76px;padding:10px;}
 .klc-services-heading {padding:8px 10px;}
}

/* Persistent touch-friendly link affordance, matching the homepage cards. */
.nav__links .klc-services-panel a.klc-service-link {
 border:1px solid #d7e3f1; background:#fff; margin:0 0 8px; cursor:pointer;
 transition:background-color .15s,border-color .15s,box-shadow .15s;
}
.nav__links .klc-services-panel a.klc-service-link:last-child {margin-bottom:0;}
.klc-service-more {display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;color:#2563eb;font-size:11px;line-height:1.4;font-weight:700;}
.klc-service-more > span {font-size:19px;line-height:1;}
.nav__links .klc-services-panel a.klc-service-link:hover,
.nav__links .klc-services-panel a.klc-service-link:focus-visible {background:#f3f8ff;border-color:#80a9ee;box-shadow:0 3px 10px rgba(37,99,235,.08);}
.nav__links .klc-services-panel a.klc-service-link:active {background:#e7f0ff;border-color:#2563eb;box-shadow:none;}
@media(min-width:901px) {.nav__links .klc-services-panel {max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain;}}
@media(prefers-reduced-motion:reduce) {.nav__links .klc-services-panel a.klc-service-link {transition:none;}}

/* Badge colors mirror the corresponding homepage badges. First tags stay blue. */
.klc-service-link:nth-of-type(1) .klc-service-tags > span:last-child {background:#fff5ce;color:#946b00;}
.klc-service-link:nth-of-type(1) .klc-service-tags > span:last-child svg {color:#e6ad08;fill:currentColor;}
.klc-service-link:nth-of-type(2) .klc-service-tags > span:last-child,
.klc-service-link:nth-of-type(3) .klc-service-tags > span:last-child {background:#e9f7ef;color:#268b6d;}
.klc-service-link:nth-of-type(4) .klc-service-tags > span:last-child {background:#fff1df;color:#bb713d;}
.klc-service-link:nth-of-type(n+2) .klc-service-tags > span:last-child svg {color:inherit;}
