/* Shared specialist navigation. Preserve the existing horizontal-scroll navigation at narrow widths. */
.header-content .nav { overflow: visible; gap: 13px !important; }
.header-content .nav details { position: relative; flex: 0 0 auto; }
.header-content .nav summary {
  display: block; list-style: none; cursor: pointer; white-space: nowrap;
  color: var(--ink, #27231f); font-family: Arial,Helvetica,sans-serif;
  font-size: 12px; font-weight: 400; line-height: 18px; padding: 12px 0;
}
.header-content .nav summary::-webkit-details-marker { display: none; }
.header-content .nav summary::after { content: "⌄"; margin-left: 5px; color: var(--gold-deep, #9a773e); }
.header-content .nav summary:hover, .header-content .nav details[open] summary { color: var(--gold-deep, #9a773e); }
.header-content .nav summary:focus-visible, .header-content .nav .manufacturing-links a:focus-visible {
  outline: 2px solid var(--gold-deep, #9a773e); outline-offset: 3px;
}
.header-content .nav .manufacturing-links {
  position: absolute; top: 100%; left: 0; z-index: 30; width: max-content; max-width: min(350px, 90vw);
  padding: 8px 0; background: #fffefa; border: 1px solid #ded5c7;
  box-shadow: 0 12px 30px rgba(45,36,22,.17);
}
.header-content .nav .manufacturing-links a {
  display: block; padding: 12px 18px !important; color: var(--ink, #27231f);
  font-family: Arial,Helvetica,sans-serif !important; font-size: 12px !important;
  line-height: 1.4 !important; white-space: normal;
}
.header-content .nav .manufacturing-links a:hover { background: #f5f0e8; color: var(--gold-deep, #9a773e); }
/* Give the complete navigation its own row at intermediate desktop widths.
   This avoids pushing Home outside the left edge while keeping a real overlay. */
@media (min-width: 1101px) and (max-width: 1450px) {
  .header-content {
    grid-template-columns: 190px 190px minmax(0, 1fr) !important;
    row-gap: 0 !important;
    padding-bottom: 8px !important;
  }
  .header-content .nav {
    grid-column: 1 / -1 !important;
    justify-content: center !important;
    overflow: visible !important;
  }
}
@media (max-width: 1100px) {
  .header-content .nav {
    justify-content: flex-start !important;
    overflow-x: auto !important;
    overflow-y: auto !important;
    align-items: flex-start;
  }
  .header-content .nav:has(details[open]) { max-height: min(70vh, 440px); }
  .header-content .nav .manufacturing-links {
    position: static; width: min(310px, calc(100vw - 36px)); max-width: none;
    box-shadow: none; margin-bottom: 6px;
  }
}
@media (max-width: 800px) {
  .header-content .nav summary { font-size: .67rem; padding: 8px 0; }
  /* Home precedes this menu; pull its panel back into the viewport
     without shrinking its links or changing the horizontal-scroll navigation. */
  .header-content .nav .manufacturing-links { margin-left: -80px; }
}
/* Company uses the same header type and native dropdown interaction. */
.header-content .nav .company-menu summary:focus-visible,
.header-content .nav .company-links a:focus-visible {
  outline: 2px solid var(--gold-deep, #9a773e); outline-offset: 3px;
}
.header-content .nav .company-menu.company-current summary {
  color: var(--gold-deep, #9a773e);
}
.header-content .nav .company-links {
  position: absolute; top: 100%; right: 0; z-index: 30;
  width: max-content; min-width: 185px; max-width: min(350px, 90vw);
  padding: 8px 0; background: #fffefa; border: 1px solid #ded5c7;
  box-shadow: 0 12px 30px rgba(45,36,22,.17);
}
.header-content .nav .company-links a {
  display: block; padding: 12px 18px !important; color: var(--ink, #27231f);
  font-family: Arial,Helvetica,sans-serif !important; font-size: 12px !important;
  line-height: 1.4 !important; white-space: normal;
}
.header-content .nav .company-links a:hover,
.header-content .nav .company-links a.active {
  background: #f5f0e8; color: var(--gold-deep, #9a773e);
}
@media (max-width: 1100px) {
  .header-content .nav .company-links {
    position: static; width: min(250px, calc(100vw - 36px)); max-width: none;
    box-shadow: none; margin-bottom: 6px;
  }
}