/* Shared, approved navigation keys. Keep each page's branding and content. */
header nav.main,
.abbt-topnav {
  display: flex;
  align-items: center;
  gap: 8px;
}

header nav.main a,
.abbt-topnav > a,
.form .bar > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #ccb985;
  border-radius: 5px;
  background: transparent;
  color: #4b493f;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  box-shadow: 0 1px 1px rgba(141,117,62,.06);
  transition: background-color .15s, border-color .15s, color .15s;
}

header nav.main a:first-child {
  border-top: 1px solid #ccb985;
}

header nav.main a:hover,
header nav.main a.on,
.abbt-topnav > a:hover,
.abbt-topnav > a.active,
.form .bar > a:hover {
  background: #f7f2e6;
  border-color: #aa8740;
  color: #745a28;
}

header nav.main a:focus-visible,
.abbt-topnav > a:focus-visible,
.form .bar > a:focus-visible {
  outline: 2px solid #b3934e;
  outline-offset: 3px;
}

.abbt-topnav .active::after {
  display: none;
}

.form .bar {
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 880px) {
  .util .wrap {
    flex-wrap: wrap;
    height: auto;
    gap: 6px 12px;
    padding: 8px 18px;
  }

  .util .closed {
    flex: 1 1 100%;
    min-width: 0;
    font-size: 10.5px;
    line-height: 1.4;
  }

  .util .closed i,
  .util .lang {
    flex-shrink: 0;
  }

  .util .right {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 12px;
  }

  .util .right > [data-i="tz"] {
    white-space: nowrap;
  }

  header .wrap {
    flex-direction: column;
    align-items: center;
    height: auto;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 16px;
  }

  header .burger,
  header #mnav {
    display: none;
  }

  header nav.main,
  header #mnav:checked ~ nav.main,
  .abbt-topnav {
    display: grid;
    position: static;
    transform: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 390px;
    min-width: 0;
    gap: 9px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  header nav.main a,
  .abbt-topnav > a,
  .abbt-topnav > a:not(.active) {
    display: inline-flex;
    min-height: 44px;
    padding: 0 12px;
    font-size: 14px;
  }

  header .btn-lk {
    margin-left: 0;
  }

  .abbt-topbar {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px 20px 16px;
  }

  .abbt-brand {
    align-self: flex-start;
  }

  .abbt-topnav {
    align-self: center;
  }

  .abbt-topnav .lang {
    display: none;
  }
}
