.site-header {
  background: #fff;
}

.language-flag {
  width: 22px;
  height: 16px;
  flex: 0 0 auto;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgb(49 39 57 / 8%);
}

.language-menu summary {
  display: flex;
  align-items: center;
  gap: 7px;
}

.language-menu > div {
  min-width: 176px;
}

.language-menu > div a {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 7px;
}

.language-menu > div a:hover {
  background: #f6f2f9;
}

@media (min-width: 761px) {
  :root {
    --publication-sticky-height: 64px;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    box-shadow: 0 1px 0 transparent;
    transition: box-shadow .2s ease;
  }

  .site-header .masthead {
    height: 80px;
    transition: height .2s ease;
  }

  .site-header .nav {
    min-height: 48px;
    max-height: 48px;
    opacity: 1;
    transition: max-height .2s ease, min-height .2s ease, opacity .15s ease;
  }

  .site-header .nav a {
    padding-block: 12px;
  }

  .site-header.is-compact {
    box-shadow: 0 8px 24px rgb(43 31 57 / 7%);
  }

  .site-header.is-compact .masthead {
    height: var(--publication-sticky-height);
  }

  .site-header.is-compact .nav {
    min-height: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-header .masthead,
  .site-header .nav {
    transition: none;
  }
}
.site-header .masthead .brand img{width:clamp(132px,18vw,210px);height:auto}
