/* Use the original warm outline throughout the site. */
img[src$="/logo-led.10c379b683fa.webp"],
header.scene-header a.brand > img[src$="/logo-led.10c379b683fa.webp"] {
  object-fit: contain;
  opacity: 1 !important;
  filter: drop-shadow(0 2px 3px #665b45) !important;
}

header.scene-header a.brand > img {
  width: 101.4px !important;
  height: 122.2px !important;
  max-width: none !important;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  /* Keep the language switch in the same column as the brand. */
  header.scene-header:not(.app-header) {
    display: grid;
    grid-template-columns: 75.4px minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) 44px;
    row-gap: 0;
    align-items: center;
  }

  header.scene-header > a.brand {
    grid-area: 1 / 1;
    justify-self: center;
  }

  header.scene-header a.brand > img {
    display: block;
    width: 66px !important;
    height: 70px !important;
  }

  header.scene-header > nav[aria-label="Pagrindinis"] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-area: 1 / 2 / 3 / 3;
  }

  header.scene-header:not(.app-header):not(.paper-header) > .zkn-language {
    position: relative;
    inset: auto;
    grid-area: 2 / 1;
    justify-self: center;
    margin: 0;
  }

  header.scene-header .zkn-language .zkn-language-menu {
    right: auto;
    left: 0;
  }

  header.scene-header .account-menu {
    max-width: 100%;
  }

  header.scene-header .account-menu summary,
  header.scene-header nav[aria-label="Pagrindinis"] > a.account-login {
    min-width: 44px !important;
    min-height: 44px !important;
    white-space: normal !important;
  }

  header.scene-header .account-sheet {
    right: 0;
  }
}
