/* Govt & Student navigation dropdown + portal page */
.gov-nav-dropdown{position:relative;display:flex;align-items:center}.gov-nav-dropdown>button{border:0;background:transparent;color:inherit;font:inherit;font-size:14px;font-weight:750;cursor:pointer;padding:10px 0}.gov-nav-dropdown>button span{font-size:10px}.gov-nav-menu{display:none;position:absolute;left:50%;top:calc(100% + 10px);transform:translateX(-50%);width:265px;padding:8px;background:#fff;border:1px solid #dce5f0;border-radius:12px;box-shadow:0 18px 45px rgba(15,42,75,.18);z-index:2000}.gov-nav-menu a{display:block!important;padding:11px 12px!important;margin:0!important;border-radius:8px!important;color:#152033!important;font-size:12px!important;line-height:1.35!important}.gov-nav-menu a:hover,.gov-nav-menu a.active{background:#eef6ff!important;color:#0066cc!important}.gov-nav-dropdown:hover .gov-nav-menu,.gov-nav-dropdown:focus-within .gov-nav-menu{display:block}
.portal-hero{padding:62px 18px 54px;text-align:center;background:linear-gradient(135deg,#07152d,#063e82);color:#fff}.portal-hero .crumb{font-size:12px;margin-bottom:18px;color:#b9d8ff}.portal-hero .crumb a{color:#fff}.portal-hero h1{font-size:clamp(32px,5vw,58px);line-height:1.05;margin:0 auto 15px;max-width:930px}.portal-hero p{max-width:760px;margin:auto;color:#c6ddf8;line-height:1.75}.portal-note{max-width:1180px;margin:24px auto 0;padding:14px 18px;background:#eef6ff;border:1px solid #cfe4ff;border-radius:12px;color:#25405f;font-size:12px;line-height:1.65}.portal-wrap{max-width:1180px;margin:auto;padding:48px 18px 70px}.portal-tools{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:30px}.portal-tools h2{margin:0;color:#10213a}.portal-search{width:min(390px,100%);padding:12px 14px;border:1px solid #cedbea;border-radius:10px;font:inherit}.portal-section{margin:0 0 38px}.portal-section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:2px solid #dce8f6;padding-bottom:12px;margin-bottom:16px}.portal-section-head h2{font-size:22px;margin:0;color:#10213a}.portal-section-head span{font-size:10px;font-weight:900;color:#0066cc;background:#e9f4ff;padding:7px 10px;border-radius:20px}.portal-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.portal-card{min-height:184px;padding:17px;background:#fff;border:1px solid #dce5f0;border-radius:14px;display:flex;flex-direction:column;box-shadow:0 8px 24px rgba(23,57,92,.06);transition:.2s}.portal-card:hover{transform:translateY(-3px);border-color:#8bbcf2;box-shadow:0 14px 30px rgba(23,57,92,.12)}.portal-card small{color:#0066cc;font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.portal-card h3{font-size:16px;line-height:1.3;margin:18px 0 7px;color:#10213a}.portal-card p{font-size:11px;line-height:1.55;color:#6a7d94;margin:0 0 16px}.portal-card a{margin-top:auto;display:flex;justify-content:space-between;align-items:center;padding:10px 11px;background:#0066cc;color:#fff;border-radius:9px;font-size:10px;font-weight:900}.portal-ad{max-width:1180px;min-height:90px;margin:20px auto;display:grid;place-items:center;border:1px dashed #aebbd0;border-radius:16px;color:#718096;font-size:11px;background:#f8fbff}.no-ads-page .portal-ad{display:none!important}
@media(max-width:1100px){.portal-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:850px){.gov-nav-dropdown{display:none}.portal-grid{grid-template-columns:repeat(2,1fr)}.portal-tools{align-items:flex-start;flex-direction:column}}@media(max-width:520px){.portal-grid{grid-template-columns:1fr}.portal-wrap{padding:35px 14px 55px}.portal-card{min-height:160px}.portal-hero{padding:45px 14px}.portal-tools h2{font-size:21px}}
body.portal-page{margin:0;background:#f5f8fc;color:#152033;font-family:Arial,Helvetica,sans-serif}.kds-container{width:min(1180px,calc(100% - 32px));margin:auto}.kds-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.96);border-bottom:1px solid #dce5f0;backdrop-filter:blur(16px)}.kds-nav{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:18px}.kds-header .brand{text-decoration:none;color:#152033;font-size:20px;font-weight:900;white-space:nowrap}.kds-header .brand span{color:#0066cc}.kds-badge{margin-left:8px;padding:4px 6px;border-radius:6px;background:#e7f3ff;color:#0066cc;font-size:8px}.kds-header nav.links{display:flex;align-items:center;gap:14px}.kds-header nav.links>a{font-size:12px;font-weight:800;text-decoration:none;color:#40516a}.kds-header nav.links>a:hover{color:#0066cc}.nav-actions{display:flex;gap:8px;align-items:center}.nav-actions .btn,.icon-btn{border:0;border-radius:9px;padding:10px 12px;text-decoration:none;font-size:10px;font-weight:900}.btn-accent{background:#16a866;color:#fff}.btn-primary{background:#0066cc;color:#fff}.icon-btn{background:#edf3fa;color:#152033;cursor:pointer}.menu-toggle{display:none}.mobile-menu{display:none}.site-footer{background:#061126;color:#9fb0c7;padding:55px 0 22px}.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.4fr;gap:35px}.site-footer h3,.site-footer h4{color:#fff;margin-top:0}.site-footer h3 span{color:#4ea0ff}.site-footer p,.site-footer a{font-size:11px;line-height:1.7}.site-footer a{color:#aebdd0;text-decoration:none}.footer-links,.social-grid,.email-list{display:grid;gap:7px}.footer-legal{display:flex;flex-wrap:wrap;gap:17px;border-top:1px solid #ffffff22;padding-top:20px;margin-top:28px}.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid #ffffff22;padding-top:18px;margin-top:18px;font-size:9px}.kds-assistance-cta{padding:65px 18px;text-align:center;background:#eaf4ff}.kds-assistance-cta h2{font-size:34px;margin:12px 0}.kds-cta-pill{font-size:9px;font-weight:900;color:#0066cc}.kds-cta-actions{display:flex;justify-content:center;gap:10px}.kds-cta-btn{padding:12px 16px;border-radius:9px;text-decoration:none;font-size:11px;font-weight:900;color:#fff}.kds-cta-wa{background:#18a65f}.kds-cta-call{background:#0066cc}
@media(max-width:1000px){.kds-header nav.links,.header-btn{display:none}.menu-toggle{display:block}.mobile-menu.show{display:grid;grid-template-columns:repeat(2,1fr);gap:5px;padding:12px 0 16px}.mobile-menu a{padding:10px;border-radius:8px;text-decoration:none;color:#253b58;font-size:12px;font-weight:800}.mobile-menu a:hover{background:#eef6ff}.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.kds-header .brand{font-size:17px}.mobile-menu.show{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column;gap:7px}.kds-assistance-cta h2{font-size:27px}}
.portal-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.portal-category-card{min-height:205px;padding:22px;border:1px solid #dbe5f2;border-radius:20px;background:#fff;color:#101828;text-decoration:none;box-shadow:0 10px 25px rgba(15,43,82,.08);display:flex;flex-direction:column;transition:.2s}.portal-category-card:hover{transform:translateY(-3px);border-color:#8eb8ef;box-shadow:0 14px 30px rgba(15,43,82,.13)}.portal-category-card .category-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:15px;background:#eaf2ff;color:#1768d4;font-size:24px}.portal-category-card h2{font-size:19px;line-height:1.3;margin:14px 0 7px}.portal-category-card p{font-size:12px;line-height:1.6;color:#667085;margin:0 0 16px}.portal-category-card .open-category{margin-top:auto;color:#1768d4;font-size:11px;font-weight:900}.portal-category-card:last-child{grid-column:1/-1;max-width:calc(50% - 8px);width:100%;justify-self:center}.portal-back{margin-bottom:24px}.portal-back a{color:#1768d4;text-decoration:none;font-size:12px;font-weight:850}
html[data-kds-theme="dark"] body.portal-page{background:#07101f;color:#eef4ff}html[data-kds-theme="dark"] .kds-header{background:rgba(6,17,38,.96);border-color:#27364d}html[data-kds-theme="dark"] .kds-header .brand{color:#fff}html[data-kds-theme="dark"] .kds-header nav.links>a,html[data-kds-theme="dark"] .gov-nav-dropdown>button{color:#b8c5d8}html[data-kds-theme="dark"] .gov-nav-menu{background:#111b2c;border-color:#27364d}html[data-kds-theme="dark"] .gov-nav-menu a{color:#e6eef9!important}html[data-kds-theme="dark"] .portal-note{background:#101d31;border-color:#294361;color:#bfd0e6}html[data-kds-theme="dark"] .portal-tools h2,html[data-kds-theme="dark"] .portal-section-head h2{color:#eef4ff}html[data-kds-theme="dark"] .portal-search{background:#111b2c;border-color:#34465f;color:#fff}html[data-kds-theme="dark"] .portal-card,html[data-kds-theme="dark"] .portal-category-card{background:#111b2c;border-color:#27364d;color:#eef4ff}html[data-kds-theme="dark"] .portal-card h3{color:#eef4ff}html[data-kds-theme="dark"] .portal-card p,html[data-kds-theme="dark"] .portal-category-card p{color:#aebbd0}html[data-kds-theme="dark"] .mobile-menu a{color:#d7e2f1}
@media(max-width:650px){.portal-category-grid{grid-template-columns:1fr}.portal-category-card,.portal-category-card:last-child{grid-column:auto;max-width:none;min-height:0}}
/* Keep the shared logo and navigation identical to the main website. */
.kds-header .kds-container,.site-footer .kds-container{width:min(1400px,calc(100% - 32px))}.kds-header .kds-nav{min-height:74px;gap:20px}.kds-header .brand{display:flex;align-items:center;font-size:24px;font-weight:900;letter-spacing:-.7px;color:#1768d4}.kds-header .brand span{color:#ff5265;margin-left:.24em}.kds-header .brand .kds-badge{font-size:8px;line-height:1;background:#ff5265;color:#fff!important;padding:4px 6px;border-radius:5px;margin-left:8px}.kds-header nav.links{gap:18px}.kds-header nav.links>a,.gov-nav-dropdown>button{font-family:Segoe UI,Tahoma,Arial,sans-serif!important;font-size:14px!important;font-weight:750!important;line-height:1.55!important;color:#152033}.kds-header .nav-actions{gap:9px}.kds-header .icon-btn,.kds-header .btn{border-radius:10px;padding:11px 15px;font-weight:800}.kds-header .icon-btn{width:42px;height:42px;padding:0;display:grid;place-items:center;border:1px solid #dce5f0;font-size:18px}.kds-header .mobile-menu a{font-size:14px!important;font-weight:750!important}
@media(max-width:1200px){.kds-header nav.links,.kds-header .header-btn{display:none}.kds-header .menu-toggle{display:grid}.kds-header .mobile-menu.show{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}}@media(max-width:760px){.kds-header .kds-container,.site-footer .kds-container{width:min(100% - 20px,1400px)}.kds-header .brand{font-size:19px}.kds-header .mobile-menu.show{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.kds-header .brand{font-size:17px}.kds-header .brand .kds-badge{display:none}.kds-header .mobile-menu.show{grid-template-columns:1fr}}
/* Match recruitment category cards with downloads.html cards. */
.portal-page .portal-wrap{max-width:1050px;padding:38px 20px 65px}.portal-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.portal-category-card,.portal-category-card:last-child{grid-column:auto;justify-self:stretch;width:auto;max-width:none;min-height:205px;padding:22px;border:1px solid #dbe5f2;border-radius:20px;background:#fff;box-shadow:0 10px 25px rgba(15,43,82,.08)}.portal-category-card:hover{transform:translateY(-3px);border-color:#8eb8ef;box-shadow:0 14px 30px rgba(15,43,82,.13)}.portal-category-card .category-icon{width:52px;height:52px;border-radius:15px;background:#eaf2ff;color:#1768d4;font-size:25px}.portal-category-card h2{margin:13px 0 5px;font-size:20px}.portal-category-card p{margin:0 0 14px;color:#667085;font-size:12px;line-height:1.55}.portal-category-card .open-category{color:#1768d4;font-size:12px;font-weight:900}
/* Restore the same Professional Assistance CTA everywhere. */
.kds-assistance-cta{box-sizing:border-box!important;display:block!important;visibility:visible!important;width:100%!important;max-width:none!important;margin:0!important;border-radius:0!important;padding:25px 16px!important;background:linear-gradient(110deg,#2370da,#0b3c8c)!important;color:#fff!important;text-align:center!important;font-family:Segoe UI,Tahoma,Arial,sans-serif!important}.kds-assistance-cta .kds-cta-pill{display:inline-block!important;border:1px solid rgba(255,255,255,.28)!important;background:rgba(255,255,255,.10)!important;color:#fff!important;padding:6px 12px!important;border-radius:999px!important;font-size:10px!important;font-weight:900!important;letter-spacing:.12em!important}.kds-assistance-cta h2{margin:8px 0 4px!important;font-size:clamp(23px,3vw,32px)!important;color:#fff!important}.kds-assistance-cta p{display:block!important;margin:0 auto 11px!important;max-width:720px!important;font-size:11px!important;color:#dceaff!important}.kds-assistance-cta .kds-cta-actions{display:flex!important;justify-content:center!important;gap:8px!important}.kds-assistance-cta .kds-cta-btn{display:inline-block!important;border:0!important;border-radius:12px!important;padding:11px 15px!important;font-weight:800!important;text-decoration:none!important}.kds-assistance-cta .kds-cta-wa{background:#35cf78!important;color:#fff!important}.kds-assistance-cta .kds-cta-call{background:#fff!important;color:#164f9f!important}
@media(max-width:650px){.portal-page .portal-wrap{padding:28px 14px 45px}.portal-category-grid{grid-template-columns:1fr}.portal-category-card,.portal-category-card:last-child{min-height:0}.kds-assistance-cta .kds-cta-actions{flex-direction:column!important;align-items:center!important}}

.portal-category-card,.portal-category-card:last-child{box-sizing:border-box!important;height:205px!important;min-height:205px!important}@media(max-width:650px){.portal-category-card,.portal-category-card:last-child{height:auto!important;min-height:0!important}}
/* Make the Tools master header identical in size to the shared site header. */
.kds-master-header{background:rgba(255,255,255,.97)!important;border-bottom:1px solid #dce5f0!important;box-shadow:none!important;backdrop-filter:blur(16px)}.kds-master-nav{width:min(1400px,calc(100% - 32px))!important;min-height:74px!important;gap:20px!important}.kds-master-brand{font-size:24px!important;line-height:1!important;color:#1768d4!important}.kds-master-brand-studio{color:#ff5265!important;margin-left:.24em!important}.kds-master-links{gap:18px!important}.kds-master-links a{font-size:14px!important;line-height:1.55!important;font-weight:750!important}.kds-master-links a:hover,.kds-master-links a.active{font-size:14px!important;color:#1768d4!important}.kds-master-icon,.kds-master-btn{height:42px!important;border-radius:10px!important;font-size:14px!important}.kds-master-btn{padding:0 15px!important}.kds-master-actions{gap:9px!important}
@media(max-width:1240px){.kds-master-links{gap:18px!important}.kds-master-links a,.kds-master-links a:hover,.kds-master-links a.active{font-size:14px!important}.kds-master-brand{font-size:24px!important}.kds-master-btn{padding:0 15px!important}}@media(max-width:1200px){.kds-master-links{display:none!important}.kds-master-menu-toggle{display:grid!important}}@media(max-width:760px){.kds-master-nav{width:min(100% - 20px,1400px)!important;min-height:74px!important}.kds-master-brand{font-size:19px!important}.kds-master-header-btn{display:none!important}.kds-master-icon{width:42px!important;height:42px!important}}@media(max-width:520px){.kds-master-brand{font-size:17px!important}.kds-master-badge{display:none!important}}
[data-theme="dark"] .kds-master-header{background:rgba(8,17,31,.97)!important;border-bottom-color:#263750!important}
/* Recruitment directory: same four-card desktop layout as downloads.html. */
.portal-category-grid{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:16px!important}.portal-category-grid .portal-category-card{grid-column:span 2!important;height:auto!important;min-height:205px!important;padding:21px!important}.portal-category-grid .portal-category-card:nth-child(5){grid-column:2/span 2!important}.portal-category-grid .portal-category-card:nth-child(6){grid-column:4/span 2!important}.portal-category-grid .portal-category-card:nth-child(7){grid-column:6/span 2!important}.portal-category-grid .portal-category-card h2{font-size:18px!important;line-height:1.3!important}.portal-category-grid .portal-category-card p{font-size:11px!important;line-height:1.55!important}.portal-category-grid .portal-category-card .open-category{font-size:11px!important}
@media(max-width:850px){.portal-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.portal-category-grid .portal-category-card,.portal-category-grid .portal-category-card:nth-child(5),.portal-category-grid .portal-category-card:nth-child(6),.portal-category-grid .portal-category-card:nth-child(7){grid-column:auto!important}}@media(max-width:540px){.portal-category-grid{grid-template-columns:1fr!important}.portal-category-grid .portal-category-card{min-height:0!important}}

[data-theme="dark"] .kds-header{background:rgba(8,17,31,.97)!important;border-bottom-color:#263750!important}[data-theme="dark"] .kds-header .brand,[data-theme="dark"] .kds-header nav.links>a,[data-theme="dark"] .kds-header .gov-nav-dropdown>button{color:#eef5ff}
/* One compact Tools-style hero for every internal page; Home remains untouched. */
body.kds-internal-page .kds-page-hero,body.kds-internal-page .downloads-hero,body.kds-internal-page .portal-hero,body.kds-internal-page>.hero{box-sizing:border-box!important;width:100%!important;min-height:0!important;height:auto!important;padding:30px 16px 28px!important;background:linear-gradient(135deg,#0066cc,#00499f,#001f58)!important;color:#fff!important;text-align:center!important}body.kds-internal-page .kds-page-hero:before,body.kds-internal-page .kds-page-hero:after{display:none!important}body.kds-internal-page .kds-page-hero h1,body.kds-internal-page .downloads-hero h1,body.kds-internal-page .portal-hero h1,body.kds-internal-page>.hero h1{font-size:clamp(32px,5vw,48px)!important;line-height:1.08!important;margin:10px 0 6px!important;color:#fff!important}body.kds-internal-page .kds-page-hero p,body.kds-internal-page .downloads-hero p,body.kds-internal-page .portal-hero p,body.kds-internal-page>.hero p{max-width:760px!important;margin:0 auto!important;color:#dbeaff!important;font-size:15px!important;line-height:1.55!important}body.kds-internal-page .kds-hero-breadcrumb,body.kds-internal-page .hub-crumb,body.kds-internal-page .portal-hero .crumb,body.kds-internal-page>.hero .crumb{margin-top:10px!important;font-size:11px!important;color:#dbeaff!important}body.kds-internal-page .hero-tag,body.kds-internal-page .hub-pill,body.kds-internal-page .portal-hero .pill,body.kds-internal-page>.hero .pill{margin:0!important}body.kds-internal-page .search-box{margin-top:14px!important}body.kds-internal-page .hero-points{margin-top:12px!important}
.kds-internal-page .portal-hero h1{width:100%!important;max-width:1200px!important;margin:10px auto 6px!important;text-align:center!important}
/* Keep every recruitment hero item on its own full-width centered row. */
body.portal-page.kds-internal-page .portal-hero{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important}
body.portal-page.kds-internal-page .portal-hero>h1{display:block!important;width:100%!important;max-width:none!important;margin:10px auto 6px!important;text-align:center!important}
/* Lock recruitment navigation to the exact typography and sizing used site-wide. */
body.portal-page .kds-header{z-index:3000!important;font-family:Segoe UI,Tahoma,Arial,sans-serif!important}body.portal-page .kds-header *{box-sizing:border-box!important}body.portal-page .kds-header .brand{font-family:Segoe UI,Tahoma,Arial,sans-serif!important}body.portal-page .kds-header nav.links>a{padding:0!important;margin:0!important;letter-spacing:0!important}body.portal-page .kds-header .kds-nav{padding:0!important}
/* Four aligned ad positions on recruitment pages; hidden in the no-ads build. */
.portal-ad-layout{box-sizing:border-box;width:min(1480px,calc(100% - 32px));margin:0 auto;display:grid;grid-template-columns:150px minmax(0,1fr) 150px;gap:18px;align-items:start}.portal-ad-layout .portal-wrap{box-sizing:border-box;width:100%;max-width:1050px;padding-left:0;padding-right:0}.portal-ad-layout .portal-side-ad{box-sizing:border-box;width:100%;min-height:520px;margin:38px 0}.portal-top-ad,.portal-bottom-ad{box-sizing:border-box;width:min(1180px,calc(100% - 32px))}.no-ads-page .portal-ad-layout{grid-template-columns:1fr}.no-ads-page .portal-ad-layout .portal-wrap{margin:auto}@media(max-width:1180px){.portal-ad-layout{grid-template-columns:1fr}}
.portal-card-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#eaf2ff;color:#1768d4;font-size:16px;margin-bottom:2px}.portal-card-icon~h3{margin-top:11px}
