:root{--izp-repair-navy:#0b2440;--izp-repair-red:#d9222a;--izp-repair-paper:#fffdf8;--izp-repair-ink:#18232b;--izp-repair-muted:#55636b;--izp-repair-line:#d8dfdb}
html{overflow-x:clip}
body.site-modernized{overflow-x:clip}

/* One shared header and one shared footer. */
.izp-global-header{position:sticky!important;top:0!important;z-index:9000!important;display:grid!important;grid-template-columns:minmax(210px,1fr) auto auto auto!important;align-items:center!important;gap:18px!important;min-height:76px!important;padding:8px clamp(16px,3vw,48px)!important;background:rgba(11,36,64,.98)!important;color:#fff!important}
.izp-global-brand img{width:54px!important;height:54px!important}
.izp-global-header>nav{display:flex!important;gap:clamp(10px,1.35vw,20px)!important}
.izp-global-header>nav a{font-size:.82rem!important}
.izp-menu-toggle{display:none;border:1px solid rgba(255,255,255,.38);background:transparent;color:#fff;padding:.5rem .7rem;border-radius:10px;font-weight:800}
.izp-language-switch{justify-self:end}
.izp-global-footer{margin-top:clamp(48px,6vw,80px)!important;padding-bottom:22px!important}
.izp-footer-social{margin-left:auto;display:flex;gap:14px}
.izp-footer-social a{display:inline-flex;align-items:center;gap:6px}

/* Article grid: the TOC occupies one real column, not hundreds of implicit rows. */
body.ed .article-body:has(>.ed-toc):not(.glacier-content){display:grid!important;grid-template-columns:minmax(190px,230px) minmax(0,1fr)!important;gap:38px!important;align-items:start!important}
body.ed .article-body:has(>.ed-toc):not(.glacier-content)>.ed-toc{display:block!important;position:sticky!important;top:94px!important;grid-column:1!important;grid-row:1!important;max-height:calc(100vh - 116px)!important;overflow:auto!important;white-space:normal!important}
body.ed .article-body:has(>.ed-toc):not(.glacier-content)>.izp-article-main{grid-column:2!important;grid-row:1!important;min-width:0!important}
body.ed .ed-toc a{white-space:normal!important;text-overflow:clip!important;overflow:visible!important;line-height:1.35!important}
.izp-toc-toggle{display:none;width:100%;margin:0 0 .75rem;padding:.75rem 1rem;border:1px solid var(--izp-repair-line);border-radius:12px;background:#fff;color:var(--izp-repair-navy);font-weight:850;text-align:left}

/* Readability and aligned editorial content. */
.site-modernized :where(.article-hero,.guide-hero,.contact-hero,.hy-hero){width:min(950px,calc(100% - 32px))!important;margin-inline:auto!important;padding-top:clamp(36px,5vw,64px)!important}
.site-modernized .article-hero h1{color:var(--izp-repair-navy)!important;text-shadow:none}
.site-modernized.page-contact .article-hero h1,
.site-modernized.page-work-tools .guide-hero h1{color:#fff!important;text-shadow:0 2px 12px rgba(0,0,0,.62)}
.site-modernized.page-contact .article-hero::before{background:linear-gradient(90deg,rgba(3,19,32,.9),rgba(3,19,32,.48))!important}
.site-modernized.page-contact .article-hero :where(.breadcrumb,.eyebrow,p,a){color:#fff!important;text-shadow:0 1px 5px rgba(0,0,0,.72)}
.site-modernized :where(.article-body,.guide-content){width:min(950px,calc(100% - 32px))!important;max-width:950px!important;margin:48px auto 0!important;color:var(--izp-repair-ink)}
.site-modernized :where(.article-body,.guide-content):not(.glacier-content){background:var(--izp-repair-paper)!important}
.site-modernized :where(.article-body,.guide-content):not(.glacier-content) :where(h1,h2,h3,h4,strong){color:var(--izp-repair-navy)}
.site-modernized :where(.article-body,.guide-content):not(.glacier-content) :where(p,li){color:var(--izp-repair-ink)}
body.ed .hy-note strong,body.ed .hy-warn strong{display:inline!important}
.table-scroll,.wage-table-wrap,.union-compare-table{max-width:100%;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
.table-scroll>table{min-width:max(680px,100%)}

/* Home page spacing and card repairs. */
body.ed.home .home-lede{align-content:center!important;row-gap:clamp(28px,3vw,40px)!important;min-height:auto!important;padding-block:clamp(52px,7vw,92px)!important}
body.ed.home .home-learn-spotlight,body.ed.home .home-salary-spotlight{isolation:isolate}
body.ed.home .home-learn-spotlight-title,body.ed.home .home-salary-spotlight-title{position:relative;z-index:3;max-width:70%}
body.ed.home :where(.home-learn-orbit,.home-salary-orbit){z-index:1!important;right:8%!important}
body.ed.home :where(#katki,#bekleme){display:block!important}
body.ed.home :where(#katki,#bekleme) label,body.ed.home :where(#katki,#bekleme) label span{color:var(--izp-repair-muted)!important}
body.ed.home .live-card:has(.live-value:empty) .live-icon:empty::before{content:"⌖"}
body.ed.home :where(.category-hub,.discover-strip){margin-block:0!important;padding-block:clamp(48px,6vw,80px)!important;border-top:1px solid var(--izp-repair-line)!important;border-bottom:0!important}
body.ed.home .category-hub+.discover-strip{border-top:0!important;padding-top:0!important}
body.ed.home .discover-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.ed.home main>*:last-child{margin-bottom:0!important;padding-bottom:min(80px,6vw)!important}

/* News carousel: allow vertical page scrolling and make horizontal movement discoverable. */
.news-strip,.news-track,.izp-news-track{overscroll-behavior-x:contain!important;overflow-x:auto!important;scroll-snap-type:x proximity;touch-action:pan-x pan-y}
.news-strip :where(.news-item,.news-card),.news-track>*{scroll-snap-align:start;height:auto!important;min-height:0!important}
.izp-news-controls{display:flex;justify-content:flex-end;gap:.5rem;margin:.5rem 0}
.izp-news-controls button{width:42px;height:42px;border:1px solid var(--izp-repair-line);border-radius:50%;background:#fff;color:var(--izp-repair-navy);font-size:1.15rem}
.izp-newsbar{overflow:hidden}
.izp-newsbar :where(.ticker,.track,.izp-newsbar-track){padding-left:1.2rem!important;mask-image:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 24px),transparent)!important}

/* Hub and application integration. */
.guide-index-grid,.guide-grid-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch}
.guide-index-card,.guide-card{padding:1.25rem!important;min-height:0!important}
.guide-index-card :where(.icon,.card-icon):empty,.guide-card :where(.icon,.card-icon):empty{display:none!important}
.izp-guide-categories{display:grid;gap:clamp(42px,6vw,72px)}
.izp-guide-category>h2{margin:0 0 22px!important;padding-bottom:14px;border-bottom:1px solid var(--izp-repair-line);font:600 clamp(2rem,4vw,3.2rem)/1.05 Georgia,serif;color:var(--izp-repair-navy)}
.izp-guide-category .guide-index-grid{margin:0}
.site-modernized main>.site-header,.site-modernized main>footer,.site-modernized .brand-ribbon,.site-modernized .hero-logo{display:none!important}
.site-modernized .wage-table-wrap{overflow-x:auto!important}
.izp-formatted-input::after{content:attr(data-formatted) " ISK";display:block;flex-basis:100%;margin-top:5px;color:var(--izp-repair-muted);font-size:.78rem;font-weight:750;line-height:1.2}
.izp-work-tools,.izp-related-row{width:min(950px,calc(100% - 32px));margin:26px auto 0;padding:14px 16px;border:1px solid var(--izp-repair-line);border-radius:16px;background:#fff;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.izp-work-tools strong,.izp-related-row strong{margin-right:4px;color:var(--izp-repair-navy)}
.izp-work-tools a,.izp-related-row a{padding:8px 11px;border-radius:999px;color:var(--izp-repair-navy);font-weight:750;text-decoration:none}
.izp-work-tools a:hover,.izp-work-tools a[aria-current=page],.izp-related-row a:hover{background:#eaf2f1;color:#075c57}
.izp-related-row{margin-top:clamp(36px,5vw,64px)}

@media(max-width:900px){
  .izp-global-header{grid-template-columns:1fr auto auto!important;min-height:64px!important;padding:5px 10px!important}
  .izp-global-brand{min-width:0}.izp-global-brand img{width:44px!important;height:44px!important}.izp-global-brand small{display:none!important}.izp-global-brand b{font-size:.92rem!important}
  .izp-menu-toggle{display:inline-flex;align-items:center;justify-content:center}
  .izp-global-header>nav{display:none!important;position:absolute;left:10px;right:10px;top:60px;grid-template-columns:1fr 1fr;gap:4px!important;padding:10px!important;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:var(--izp-repair-navy);box-shadow:0 18px 45px rgba(0,0,0,.28)}
  .izp-global-header>nav.is-open{display:grid!important}.izp-global-header>nav a{padding:.7rem;border-radius:8px;white-space:normal!important}.izp-global-header>nav a:hover{background:rgba(255,255,255,.1)}
  .izp-language-switch{padding:2px!important}.izp-language{min-width:29px!important;padding:5px!important}
  body.ed .article-body:has(>.ed-toc):not(.glacier-content){display:block!important}
  body.ed .article-body:has(>.ed-toc):not(.glacier-content)>.ed-toc{position:static!important;max-height:none!important;margin-bottom:18px!important}
  body.ed .article-body:has(>.ed-toc):not(.glacier-content)>.ed-toc ol{display:none!important}
  body.ed .article-body:has(>.ed-toc):not(.glacier-content)>.ed-toc.is-open ol{display:block!important}
  .izp-toc-toggle{display:block}
  .guide-index-grid,.guide-grid-list,body.ed.home .discover-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:520px){
  .izp-global-header{gap:6px!important}.izp-global-brand span{display:none!important}
  .izp-global-header>nav{grid-template-columns:1fr}
  .site-modernized :where(.article-hero,.guide-hero,.contact-hero,.hy-hero,.article-body,.guide-content){width:min(100% - 20px,950px)!important}
  .guide-index-grid,.guide-grid-list,body.ed.home .discover-grid{grid-template-columns:1fr!important}
  .izp-work-tools,.izp-related-row{width:calc(100% - 20px);align-items:flex-start;flex-direction:column}
  .izp-work-tools a,.izp-related-row a{width:100%}
  .izp-global-footer>nav{grid-template-columns:1fr 1fr!important}
  .izp-footer-social{width:100%;margin-left:0}
}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
