/* SpektrumWork24 – local-only accessible magnifier and reliable mobile menu.
   Applies on the homepage, O nas and offer details. */
.header .nav{position:relative}
.sw24-zoom-wrap{position:relative;display:flex;align-items:center;flex:none;margin-left:4px;z-index:110}
.sw24-zoom-toggle{
 display:inline-flex;align-items:center;justify-content:center;gap:6px;
 min-width:44px;height:44px;
 padding:8px;
 border:1.5px solid #d5deea;border-radius:12px;
 background:#fff;color:#071e42;
 cursor:pointer;
 font:850 .89rem/1 "Segoe UI",Arial,sans-serif;
 box-shadow:0 3px 12px rgba(7,29,64,.04);
}
.sw24-zoom-toggle:hover,.sw24-zoom-toggle[aria-expanded="true"]{
 background:#fff0f6;
 border-color:#ed005e;
 color:#a90048;
}
.sw24-zoom-toggle svg{width:24px;height:24px;flex:none}
.sw24-zoom-toggle span{font-size:.77rem;white-space:nowrap}
.sw24-zoom-panel{
 display:block;
 position:absolute;
 top:calc(100% + 11px);
 right:0;
 width:282px;
 max-width:calc(100vw - 22px);
 padding:17px;
 border:1.5px solid #c8d2df;
 border-radius:15px;
 background:#fff;
 color:#071e42;
 box-shadow:0 15px 34px rgba(7,28,62,.18);
 z-index:250;
}
.sw24-zoom-panel[hidden]{display:none!important}
.sw24-zoom-label{display:block;color:#071e42;font-size:1.02rem;line-height:1.32;font-weight:900;margin-bottom:7px}
.sw24-zoom-hint{margin:0 0 14px;color:#54647a;font-size:.81rem;line-height:1.45}
.sw24-zoom-controls{display:flex;align-items:center;justify-content:space-between;gap:9px}
.sw24-zoom-step{
 width:49px;min-width:49px;height:49px;
 display:inline-flex;align-items:center;justify-content:center;
 border:1.5px solid #bbc6d5;border-radius:12px;
 background:#f7f8fb;color:#071e42;
 font-size:1.46rem;font-weight:900;line-height:1;
 cursor:pointer;
}
.sw24-zoom-step:hover{border-color:#e90060;background:#fff0f6;color:#ae0049}
.sw24-zoom-step:disabled{opacity:.42;cursor:not-allowed}
.sw24-zoom-percent{
 display:flex;align-items:center;justify-content:center;
 flex:1;text-align:center;min-height:45px;
 border-radius:9px;background:#eef2f8;
 color:#071e42;font-size:1.17rem;font-weight:900;
 white-space:nowrap;
}
.sw24-zoom-reset{
 display:block;width:100%;margin-top:11px;padding:11px 9px;
 min-height:42px;border:1px solid #e0e5ed;background:#fff;
 color:#ad0048;border-radius:10px;font:800 .86rem/1.3 "Segoe UI",Arial,sans-serif;
 cursor:pointer;
}
.sw24-zoom-reset:hover{background:#fff0f6;border-color:#ed005e}
.sw24-zoom-wrap button:focus-visible{
 outline:3px solid #ef0060;outline-offset:3px
}
/* Keep mobile menu out of flex layout when expanded. It previously widened
   the entire page on offer details, so the logo was compressed. */
.header .mobile-nav{position:relative;flex:none;z-index:100}
.header .mobile-nav nav{
 position:absolute;
 right:0;top:calc(100% + 5px);
 width:min(270px,calc(100vw - 24px));
 min-width:0;
 max-width:calc(100vw - 24px);
 padding:12px;
 background:#fff;
 border:1.5px solid #e2e7ee;
 border-radius:13px;
 box-shadow:0 17px 38px rgba(7,28,62,.19);
 z-index:250;
}
.header .mobile-nav:not([open]) nav{display:none}
@media(min-width:861px){
 .header .mobile-nav{display:none}
}
@media(max-width:860px){
 .header .nav{gap:9px}
 .header .logo{min-width:0;flex-shrink:1}
 .sw24-zoom-wrap{margin-left:auto}
 .sw24-zoom-toggle{width:43px;min-width:43px;padding:7px}
 .sw24-zoom-toggle span{display:none}
 .sw24-zoom-panel{width:280px}
 .header .mobile-nav{margin-left:0}
}
@media(max-width:400px){
 .header .nav{gap:7px}
 .sw24-zoom-toggle{width:41px;min-width:41px;height:43px}
 .sw24-zoom-toggle svg{width:22px;height:22px}
 .sw24-zoom-panel{width:260px;max-width:calc(100vw - 17px)}
}
@media(prefers-reduced-motion:reduce){
 .sw24-zoom-wrap *{transition:none!important}
}

/* Accessible text magnification (REM and body-based), without page-width scaling. */
body.sw24-enlarged{
 font-size:calc(16px * var(--sw24-text-scale,1));
}
.sw24-zoom-panel{
 position:fixed;
 top:85px;
 right:12px;
 left:auto;
 width:282px;
 max-width:calc(100vw - 22px);
 max-height:calc(100dvh - 100px);
 overflow-y:auto;
 overscroll-behavior:contain;
}
@media(max-width:860px){
 .sw24-zoom-panel{
   width:270px;
   max-width:calc(100vw - 20px);
 }
}
@media(max-width:400px){
 .sw24-zoom-panel{
   width:260px;
   max-width:calc(100vw - 18px);
 }
}

/* Narrow phones and large-text mode: wrap content instead of horizontal scrolling. */
@media(max-width:480px){
  body.sw24-enlarged .contact-box{
    grid-template-columns:minmax(0,1fr)!important;
    min-width:0;
  }
  body.sw24-enlarged .contact-box>div,
  body.sw24-enlarged .contact-actions,
  body.sw24-enlarged .sw24-team-contact-block,
  body.sw24-enlarged .sw24-team-directory{
    min-width:0;
    max-width:100%;
  }
  body.sw24-enlarged .sw24-team-person{min-width:0}
  body.sw24-enlarged .sw24-team-number{white-space:normal;overflow-wrap:anywhere}
  body.sw24-enlarged .sw24-team-mails,
  body.sw24-enlarged .sw24-team-mail{min-width:0;max-width:100%;overflow-wrap:anywhere}
  body.sw24-enlarged .about-care-grid{grid-template-columns:minmax(0,1fr)}
  body.sw24-enlarged .about-care-item{
    min-width:0;max-width:100%;
  }
  body.sw24-enlarged .about-care-item strong{min-width:0;overflow-wrap:anywhere}
  body.sw24-enlarged .about-hero-card-head>div{
    min-width:0;max-width:100%;
  }
  body.sw24-enlarged .about-hero-card-head strong{
    min-width:0;overflow-wrap:anywhere;
  }
  body.sw24-enlarged .about-cta-actions .btn{
    min-width:0;width:100%;
    max-width:100%;
    white-space:normal!important;
    overflow-wrap:anywhere;
  }
  body.sw24-enlarged .recruit-contact{
    right:12px!important;
    max-width:calc(100vw - 24px);
  }
  body.sw24-enlarged .recruit-phone-toggle{
    padding:10px 12px;
    max-width:calc(100vw - 24px);
  }
}
@media(max-width:370px){
  body.sw24-enlarged .sw24-team-person{
    display:flex;
    flex-wrap:wrap;
  }
  body.sw24-enlarged .sw24-team-call{
    flex:1 1 100%;
    width:100%;
    min-width:0;
    max-width:100%;
  }
  body.sw24-enlarged .about-salary-card>strong{white-space:normal}
}

/* Prevent enlarged floating recruitment button and skip link from expanding 320px pages. */
@media(max-width:370px){
  body.sw24-enlarged .recruit-contact{transform:translateX(-20px)}
  body.sw24-enlarged .skip-to-offers{
    box-sizing:border-box;
    max-width:calc(100vw - 28px);
    overflow-wrap:anywhere;
  }
}

@media(max-width:370px){
  html:has(body.sw24-enlarged){overflow-x:clip}
  body.sw24-enlarged{overflow-x:clip;max-width:100%}
}
