
/* Shared polish; names are scoped to avoid the original page styles. */
.site-header .site-menu a{padding:6px 8px;margin-inline:-8px;border-radius:3px}
.site-header .site-menu a:hover,.site-header .site-menu a:focus-visible{color:#D2ED78;background:#101F32;text-decoration:none}
.site-header .site-menu a:focus-visible{outline:3px solid #607389;outline-offset:4px}
.site-footer .nidob-enh-footer-links{display:flex;gap:12px 28px;flex-wrap:wrap;padding-top:18px;font:14px/1.7 Arial,Helvetica,sans-serif}
.site-footer .nidob-enh-footer-links a{color:#101F32;text-decoration:underline;text-underline-offset:4px}
.site-footer .nidob-enh-footer-links a{display:inline-block}
.site-header .site-menu{gap:30px}
@media(max-width:1150px){.site-header .site-menu{gap:18px;font-size:14px}}
@media(max-width:1050px){.site-header .header-inner{align-items:center;flex-wrap:wrap;padding-block:24px;min-height:0;gap:20px}.menu-toggle{display:block;font:600 15px Arial,sans-serif;color:#101f32;background:#fff;border:1px solid #dbe1e8;padding:12px 16px;cursor:pointer}.site-header .site-menu{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0;padding:0}.site-header .site-menu.is-open{display:flex}.site-header .site-menu a{display:block!important;padding:14px 12px;margin-inline:0;border-top:1px solid #dbe1e8}}
.site-footer .nidob-enh-footer-links a:hover{color:#2D465E}
.nidob-enh-admin-link{margin:14px 0 0!important}
.nidob-enh-admin-link a{color:#D2ED78;text-underline-offset:5px;font-weight:700}
.nidob-enh-admin-link a:hover{color:#E0F4A6}
.nidob-enh-related{padding-block:58px;border-top:1px solid #DBE1E8}
.nidob-enh-related h2{font-size:clamp(28px,3.5vw,40px);line-height:1.18;letter-spacing:-.8px;margin:10px 0 28px}
.nidob-enh-related-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.nidob-enh-related-card{display:block;border-top:3px solid #D2ED78;padding:24px;background:#F1F4F7;text-decoration:none;color:#101F32}
.nidob-enh-related-card:hover{background:#E9EEF3}
.nidob-enh-related-card h3{font-size:21px;line-height:1.3;margin:0 0 12px;color:#101F32}
.nidob-enh-related-card p{font-size:16px;line-height:1.65;color:#536071;margin:0}
.nidob-enh-related-card:focus-visible{outline:3px solid #607389;outline-offset:5px}
.page-iloq-s5 .hero h1,.page-iloq-s50 .hero h1,.page-iloq-home .hero h1{max-width:900px;text-wrap:balance}
.page-kalkyl main>h1{max-width:720px;text-wrap:balance}
@media(max-width:850px){.site-header .site-menu a{padding:14px 12px;margin-inline:0}.site-footer .nidob-enh-footer-links{gap:14px 24px}}
@media(max-width:700px){.nidob-enh-related{padding-block:40px}.nidob-enh-related-grid{grid-template-columns:1fr}.nidob-enh-related-card{padding:20px}}

/* Original NIDOB wordmark on navy, with SYSTEM in the favicon lime. */
.site-header .site-brand,.site-footer .site-brand{box-sizing:border-box;width:208px;max-width:100%;padding:12px 14px 14px;background:#101F32;border-radius:3px}
.site-brand .brand-mark{display:block;height:44px;margin:0;overflow:hidden;font:inherit;letter-spacing:normal}
.site-brand .brand-mark img{display:block;width:100%;max-width:100%;height:auto;margin:-10px 0 0}
.site-brand .brand-system{color:#D2ED78}
@media(max-width:850px){.site-header .site-brand,.site-footer .site-brand{width:183px}.site-brand .brand-mark{height:38px}.site-brand .brand-mark img{margin-top:-9px}}
@media(max-width:360px){.site-header .header-inner{gap:8px}.site-header .menu-toggle{padding-inline:12px}}

/* Shared navy header and footer, white text and lime interaction states. */
.site-header,.site-footer{background:#101F32;color:#FFFFFF;border-color:#2D465E}
.site-footer p,.site-footer .legal{color:#FFFFFF}
.site-footer .legal{border-color:#2D465E}
.site-header .site-menu a,.site-footer a,.site-footer .nidob-enh-footer-links a{color:#FFFFFF;transition:color .18s ease}
.site-header .site-menu a{border-color:#2D465E}
.site-header .site-menu a[aria-current=page]{color:#FFFFFF;text-decoration:underline;text-decoration-color:#D2ED78;text-decoration-thickness:2px;text-underline-offset:7px}
.site-header .site-menu a:hover,.site-header .site-menu a:focus-visible,.site-footer a:hover,.site-footer a:focus-visible,.site-footer .nidob-enh-footer-links a:hover,.site-footer .nidob-enh-footer-links a:focus-visible{color:#D2ED78}
.site-header .menu-toggle{background:transparent;color:#FFFFFF;border-color:#607389;transition:color .18s ease,border-color .18s ease}
.site-header .menu-toggle:hover,.site-header .menu-toggle:focus-visible{color:#D2ED78;border-color:#D2ED78}
.site-header .site-menu a:focus-visible,.site-header .site-brand:focus-visible,.site-header .menu-toggle:focus-visible,.site-footer a:focus-visible{outline:3px solid #D2ED78;outline-offset:5px}
