/* Native disclosures keep the same navigation usable with or without JavaScript. */
.porcelain .masthead { --navigation-ink: #172e50; --navigation-highlight: #e5eefb; }
.porcelain .masthead .header-phone {
  color: var(--navigation-ink); background: transparent; border-radius: 0;
  box-shadow: none; font-weight: 700; text-shadow: none;
}
@media (min-width: 1281px) {
  .porcelain .masthead { width: min(1360px, calc(100% - 2 * clamp(24px, 3vw, 48px))); }
  .porcelain .masthead .header-row {
    justify-content: flex-start; gap: clamp(14px, 1.6vw, 24px); margin-inline: 24px;
  }
  .porcelain .masthead .header-row .desktop-nav { flex: 0 0 auto; gap: 3px; }
  .porcelain .masthead .header-row .header-phone { flex: 0 0 auto; margin-left: auto; }
  .porcelain .masthead .header-row .header-cart,
  .porcelain .masthead .header-row .header-cta { flex: 0 0 auto; }
  .porcelain .masthead .header-row:not(.has-phone) .header-cart { margin-left: auto; }
}
.porcelain .masthead .nav-resources { position: relative; flex: 0 0 auto; min-width: 0; }
.porcelain .masthead .nav-resources > summary {
  display: flex; align-items: center; gap: 5px; min-height: 42px; margin: 0;
  padding: 9px 11px; border: 0; border-radius: 9px; list-style: none;
  color: var(--navigation-ink); background: transparent; cursor: pointer; text-shadow: none;
  font: 650 .82rem/1.4 var(--sans); white-space: nowrap;
  transition: background-color .16s ease;
}
.porcelain .masthead .nav-resources > summary::-webkit-details-marker { display: none; }
.porcelain .masthead .nav-resources > summary::marker { content: ""; }
.porcelain .masthead .nav-resources > summary > svg {
  width: 14px; height: 14px; flex: none; transition: transform .16s ease;
}
.porcelain .masthead .nav-resources[open] > summary > svg { transform: rotate(180deg); }
.porcelain .masthead .nav-resources:not([open]) > .nav-resources-links { display: none; }
.porcelain .masthead .nav-resources-links {
  position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; left: auto;
  display: grid; gap: 3px; width: 252px; max-width: calc(100vw - 40px);
  max-height: calc(100dvh - 130px); overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 8px; border: 1px solid #c9d8ed; border-radius: 14px;
  background: #fbfdff; box-shadow: 0 14px 32px #203e7020, inset 0 1px 0 #fff;
}
.porcelain .masthead .desktop-nav .nav-resources-links > a {
  display: flex; align-items: center; min-height: 42px; padding: 10px 12px;
  border: 0; border-radius: 8px; color: var(--navigation-ink); background: transparent;
  font: 650 .81rem/1.4 var(--sans); text-decoration: none; text-shadow: none;
  white-space: normal; overflow-wrap: anywhere; transform: none;
  transition: background-color .16s ease;
}
.porcelain .masthead .header-row .desktop-nav > a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; margin: 0; padding: 9px 11px; border: 0; border-radius: 9px;
  color: var(--navigation-ink); background: transparent; font: 650 .82rem/1.4 var(--sans);
  text-decoration: none; text-shadow: none; transform: none; transition: background-color .16s ease;
}
.porcelain .masthead .header-row .desktop-nav a:focus-visible,
.porcelain .masthead .header-row .mobile-nav nav a:focus-visible,
.porcelain .masthead .header-row .nav-resources > summary:focus-visible {
  outline: 3px solid #3465dc; outline-offset: 3px;
}

/* Override ancestor mobile rules that otherwise give the nested summary a hamburger. */
.porcelain .masthead .header-row .mobile-nav .nav-resources { width: 100%; }
.porcelain .masthead .header-row .mobile-nav .nav-resources > summary {
  justify-content: space-between; gap: 10px; width: 100%; min-height: 44px;
  padding: 11px 12px; border: 0; border-radius: 9px;
  font-size: .87rem; font-weight: 650; line-height: 1.4; white-space: normal;
}
.porcelain .masthead .header-row .mobile-nav .nav-resources > summary::before,
.porcelain .masthead .header-row .mobile-nav .nav-resources > summary::after { content: none; display: none; }
.porcelain .masthead .header-row .mobile-nav .nav-resources > .nav-resources-links {
  position: static; inset: auto; z-index: auto; width: 100%; max-width: none;
  max-height: none; overflow: visible; margin: 0 0 9px; padding: 5px 8px;
  border: 0; border-left: 2px solid #c8d9f1; border-radius: 0 9px 9px 0;
  background: #eef4fd; box-shadow: none;
}
.porcelain .masthead .header-row .mobile-nav .nav-resources-links > a {
  display: flex; align-items: center; min-height: 44px; padding: 10px 12px;
  border: 0; border-radius: 7px; color: var(--navigation-ink); font: 650 .86rem/1.4 var(--sans);
  white-space: normal; overflow-wrap: anywhere; text-decoration: none; text-shadow: none;
}
.porcelain .masthead .header-row .mobile-nav nav > a {
  display: flex; align-items: center; min-height: 44px; margin: 0; padding: 11px 12px;
  border: 0; border-radius: 9px; color: var(--navigation-ink); background: transparent;
  font: 650 .87rem/1.4 var(--sans); text-decoration: none; text-shadow: none;
  transition: background-color .16s ease;
}
.porcelain .masthead .header-row .desktop-nav a:is([aria-current], :focus-visible, :active),
.porcelain .masthead .header-row .mobile-nav nav a:is([aria-current], :focus-visible, :active),
.porcelain .masthead .header-row .nav-resources > summary:is(:focus-visible, :active),
.porcelain .masthead .header-row .nav-resources[open] > summary,
.porcelain .masthead .header-row .mobile-nav .nav-resources > summary:is(:focus-visible, :active),
.porcelain .masthead .header-row .mobile-nav .nav-resources[open] > summary {
  color: var(--navigation-ink); background: var(--navigation-highlight); transform: none;
}
@media (hover: hover) {
  .porcelain .masthead .header-row .desktop-nav a:hover,
  .porcelain .masthead .header-row .mobile-nav nav a:hover,
  .porcelain .masthead .header-row .nav-resources > summary:hover,
  .porcelain .masthead .header-row .mobile-nav .nav-resources > summary:hover {
    color: var(--navigation-ink); background: var(--navigation-highlight); transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .porcelain .masthead .header-row .nav-resources > summary,
  .porcelain .masthead .header-row .nav-resources > summary > svg,
  .porcelain .masthead .header-row .desktop-nav a,
  .porcelain .masthead .header-row .mobile-nav nav a { transition: none; }
}
@media (forced-colors: active) {
  .porcelain .masthead .header-row :is(.desktop-nav, .mobile-nav) :is(a, summary) {
    color: LinkText; background: Canvas; text-shadow: none;
  }
  .porcelain .masthead .header-row :is(.desktop-nav, .mobile-nav) a:is([aria-current], :focus-visible, :hover, :active),
  .porcelain .masthead .header-row :is(.desktop-nav, .mobile-nav) .nav-resources[open] > summary,
  .porcelain .masthead .header-row :is(.desktop-nav, .mobile-nav) .nav-resources > summary:is(:focus-visible, :hover, :active) {
    color: HighlightText; background: Highlight;
  }
  .porcelain .masthead .nav-resources-links,
  .porcelain .masthead .header-row .mobile-nav .nav-resources > .nav-resources-links { background: Canvas; border: 1px solid CanvasText; box-shadow: none; }
}
