/* Final header geometry. Loaded before first paint on every page. */
.site-header .header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  min-width: 0;
}

.site-header .header-actions--with-login {
  width: 347px;
  flex: 0 0 347px;
}

.site-header .language-switch {
  box-sizing: border-box;
  width: 79px;
  min-width: 79px;
  height: 40px;
  display: grid;
  grid-template-columns: repeat(2, 34px);
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 4px;
  flex: 0 0 79px;
  border: 1px solid rgba(28, 83, 143, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 6px 18px rgba(10, 43, 85, .06);
}

.site-header .language-switch .language-option {
  box-sizing: border-box;
  width: 34px;
  min-width: 34px;
  height: 30px;
  min-height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, .52);
  box-shadow: none;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.site-header .language-switch a.language-option {
  cursor: pointer;
}

.site-header .language-switch a.language-option:hover {
  transform: translateY(-1px);
  border-color: rgba(28, 113, 202, .24);
  background: #fff;
  box-shadow: 0 5px 12px rgba(10, 43, 85, .08);
}

.site-header .language-switch .language-option[aria-current="page"] {
  cursor: default;
  user-select: none;
  border-color: rgba(28, 113, 202, .18);
  background: #e2edf8;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .72), 0 3px 8px rgba(10, 43, 85, .04);
}

.site-header .language-flag {
  display: block;
  width: 22px;
  height: 15px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(8, 24, 44, 0.14);
}

.site-header .login-access-trigger {
  box-sizing: border-box;
  width: 86px;
  min-width: 86px;
  height: 46px;
  min-height: 46px;
  flex: 0 0 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid rgba(19, 63, 111, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .78);
  color: #0a2b55;
  box-shadow: 0 7px 18px rgba(10, 43, 85, .07);
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.site-header .login-access-trigger:hover {
  transform: translateY(-2px);
  border-color: rgba(19, 63, 111, .3);
  background: #fff;
  box-shadow: 0 12px 24px rgba(10, 43, 85, .12);
}

.site-header .login-access-trigger:focus-visible {
  outline: 3px solid rgba(77, 131, 188, .24);
  outline-offset: 2px;
}

.site-header .login-access-trigger svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.site-header .button--small {
  box-sizing: border-box;
  width: 158px;
  min-width: 158px;
  min-height: 46px;
  flex: 0 0 158px;
}

@media (max-width: 640px) {
  .site-header .brand {
    width: 100px;
  }

  .site-header .header-actions {
    gap: 5px;
  }

  .site-header .header-actions--with-login {
    width: 200px;
    flex-basis: 200px;
  }

  .site-header .language-switch {
    width: 30px;
    min-width: 30px;
    height: 34px;
    display: block;
    padding: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none;
    flex-basis: 30px;
  }

  .site-header .language-switch .language-option[aria-current="page"] {
    display: none;
  }

  .site-header .language-switch a.language-option {
    width: 30px;
    min-width: 30px;
    height: 34px;
    min-height: 34px;
    border-color: rgba(28, 83, 143, .16);
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 5px 12px rgba(10, 43, 85, .07);
  }

  .site-header .login-access-trigger {
    width: 56px;
    min-width: 56px;
    height: 42px;
    min-height: 42px;
    flex-basis: 56px;
    padding: 0 9px;
    font-size: 12px;
  }

  .site-header .login-access-trigger svg {
    display: none;
  }

  .site-header .button--small {
    width: 104px;
    min-width: 104px;
    min-height: 42px;
    flex-basis: 104px;
    padding-inline: 10px;
    font-size: 11.5px;
  }
}

@media (max-width: 380px) {
  .site-header .brand {
    width: 92px;
  }

  .site-header .header-actions--with-login {
    width: 184px;
    flex-basis: 184px;
  }

  .site-header .language-switch {
    width: 28px;
    min-width: 28px;
    flex-basis: 28px;
  }

  .site-header .language-switch a.language-option {
    width: 28px;
    min-width: 28px;
  }

  .site-header .login-access-trigger {
    width: 52px;
    min-width: 52px;
    flex-basis: 52px;
    padding-inline: 7px;
    font-size: 11.5px;
  }

  .site-header .button--small {
    width: 94px;
    min-width: 94px;
    flex-basis: 94px;
    padding-inline: 8px;
    font-size: 11px;
  }
}
