/* Native disclosure for the Knives & Handles part of the main navigation. */
.kh-nav-item { position: relative; }
.desktop-nav .kh-nav-item { display: flex; align-items: center; }
.desktop-nav .kh-overview-link { display: inline-flex; min-height: 44px; align-items: center; }
.kh-index-nav summary {
  display: flex; align-items: center; justify-content: center;
  list-style: none; cursor: pointer; box-sizing: border-box;
}
.kh-index-nav summary::-webkit-details-marker { display: none; }
.kh-index-nav summary::after {
  content: ""; width: 5px; height: 5px; flex: 0 0 5px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.kh-index-nav[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.kh-overview-link:focus-visible, .kh-index-nav summary:focus-visible, .kh-index-nav a:focus-visible, .kh-guide-page-link:focus-visible,
.kh-section-page-link:focus-visible { outline: 1px solid var(--gold-soft, #cfb38c); outline-offset: 3px; }
.kh-index-nav ul { list-style: none; padding: 0; margin: 0; }
.kh-index-nav li { list-style: none; margin: 0; padding: 0; }
.kh-nav-item .kh-overview-link[data-active], .kh-index-nav li a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--gold-soft, #b89b75); text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.site-header .desktop-nav .kh-index-nav summary {
  min-height: 44px; width: 24px; padding: 0; color: #c3b7a8;
}
@media (pointer: coarse) { .site-header .desktop-nav .kh-index-nav summary { width: 44px; } }
.site-header .desktop-nav .kh-index-nav summary:hover,
.site-header .desktop-nav .kh-index-nav[open] summary { color: #f0e5d5; }
.desktop-nav .kh-index-nav > ul {
  position: absolute; z-index: 1; inset: 100% auto auto 0;
  width: max-content; min-width: 210px; max-width: min(305px, 55vw);
  padding: 6px 16px; color: #f0e5d5; background: #211c17;
  border: 1px solid var(--line, #534535); box-shadow: 0 10px 22px rgb(0 0 0 / 18%);
}
.site-header .desktop-nav .kh-index-nav li a, .mobile-nav .kh-index-nav li a {
  display: flex; align-items: center; min-height: 42px;
  padding: 6px 4px; border: 0; color: #ded2c2;
  font: 400 13px/1.4 var(--sans, "DM Sans", sans-serif); letter-spacing: .016em;
  white-space: normal; text-align: start; text-transform: none;
}
.kh-index-nav li + li { border-top: 1px solid var(--line, #534535); }
.site-header .desktop-nav .kh-index-nav li a:hover, .mobile-nav .kh-index-nav li a:hover {
  color: #f5e8d5; text-decoration: underline; text-underline-offset: 4px;
}
.mobile-nav:has(.kh-index-nav) {
  box-sizing: border-box; max-height: calc(100vh - 83px); max-height: calc(100dvh - 83px);
  overflow-y: auto; overscroll-behavior-y: contain;
  padding-bottom: max(30px, env(safe-area-inset-bottom));
}
.mobile-nav .kh-nav-item > .kh-overview-link {
  display: flex; align-items: center; min-height: 59px; padding-inline-end: 48px;
}
.mobile-nav .kh-index-nav summary {
  position: absolute; inset-block-start: 0; inset-inline-end: 0;
  width: 44px; min-height: 59px; color: inherit;
}
.mobile-nav .kh-index-nav > ul { padding: 2px 0 8px 16px; }
.mobile-nav .kh-index-nav li a { min-height: 44px; background: transparent; }
.kh-section-page-link { color: inherit; text-decoration: none; }
.kh-section-page-link:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .1em; }
.kh-guide-page-link {
  display: inline-flex; align-items: center; gap: .6em; min-height: 38px; margin: 0 0 12px;
  font: 500 13px/1.45 var(--sans, "DM Sans", sans-serif); color: inherit;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.kh-guide-page-link:hover { color: var(--gold-soft, #cfb38c); }
@media(max-width:800px) { .mobile-nav:has(.kh-index-nav) { max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); } }
