:is(#minti-site-header, body) .dc-nav-split {
  display: grid;
  grid-template-columns: minmax(0, max-content) 26px;
  align-items: center;
}

:is(#minti-site-header, body) :is(.header, .mobile-nav) .dc-nav-split > a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font: 700 .8125rem/1.3 Manrope, Arial, sans-serif;
  text-decoration: none;
}

:is(#minti-site-header, body) :is(.header, .mobile-nav) .dc-nav-split > a:is(:hover, :focus-visible) {
  text-decoration: underline;
  text-underline-offset: .28em;
}

:is(#minti-site-header, body) :is(.header, .mobile-nav) .dc-nav-split > .dc-nav-trigger {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 0;
}

:is(#minti-site-header, body) :is(.header, .mobile-nav) .dc-nav-split > .dc-nav-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}

:is(#minti-site-header, body) :is(.header, .mobile-nav) .dc-nav-split > .dc-nav-trigger[aria-expanded="true"]::after {
  margin-top: 3px;
  transform: rotate(225deg);
}

:is(#minti-site-header, body) .mobile-nav .dc-nav-split { grid-template-columns: minmax(0, 1fr) 44px; }
:is(#minti-site-header, body) .mobile-nav .dc-nav-split > a { font: inherit; }
:is(#minti-site-header, body) .mobile-nav .dc-nav-split > .dc-nav-panel { grid-column: 1 / -1; }

/* Keep the same label sizing in the shared header and the static review pages. */
html body #minti-site-header :is(.header .dc-nav, .mobile-nav) :is(
  a,
  .dc-nav-menu > .dc-nav-trigger
) {
  font-size: 15px;
}
/* Top-level nav labels stay on one line at every width. */
html body #minti-site-header .header > .dc-nav :is(a, .dc-nav-trigger):not(.dc-nav-panel *) { white-space: nowrap; }

/* 951-1439px: side padding, logo, nav labels and gaps all scale with the
   viewport, so the full header fits on one line with the button clear of the
   right padding at every width (labels 13px at 951 to 17px at 1440). Fixed
   steps here used to push the button past the screen edge at 1024 and 1280.
   The button keeps its short label until 1440. Dropdown links stay 15px. */
@media (950px < width < 1440px) {
  html body #minti-site-header .header.wrap { gap: 12px; padding-inline: clamp(16px, calc(10.27vw - 81.7px), 4.6vw); }
  html body #minti-site-header .header .logo strong { font-size: clamp(28px, calc(6.053vw - 29.57px), 58px); }
  html body #minti-site-header .header > .dc-nav { display: flex; gap: clamp(10px, calc(2.372vw - 12.56px), 23px); }
  html body #minti-site-header .header .dc-nav :is(a, .dc-nav-menu > .dc-nav-trigger):not(.dc-nav-panel *) { font-size: clamp(13px, calc(5.673px + .7704vw), 18px); }
  html body #minti-site-header .header .actions { display: block; }
  html body #minti-site-header .header .actions .button { display: inline-flex; align-items: center; gap: 10px; padding-inline: 11px; }
  html body #minti-site-header .header .menu,
  html body #minti-site-header .mobile-nav.open { display: none; }
  html body #minti-site-header .header .emergency { margin-block-start: 5px; }
}
@media (width >= 1440px) {
  html body #minti-site-header .header .dc-nav :is(a, .dc-nav-menu > .dc-nav-trigger):not(.dc-nav-panel *) { font-size: 17px; }
}
@media (width >= 1600px) {
  html body #minti-site-header .header .dc-nav :is(a, .dc-nav-menu > .dc-nav-trigger):not(.dc-nav-panel *) { font-size: 18px; }
}

/* Desktop header: Treatments reads like Parents (label, 6px, chevron). The theme's
   `.dc-nav a { padding-inline: 18px }` used to pad the split link on both sides,
   doubling the gap around it. The chevron button keeps a 24px target that
   reaches into the nav gap, so the visible spacing matches every other item. */
html body #minti-site-header .header .dc-nav-split {
  grid-template-columns: max-content 24px;
  margin-inline-end: -11px;
}
html body #minti-site-header .header .dc-nav-split > a { padding: 0; }
html body #minti-site-header .header .dc-nav-split > .dc-nav-trigger {
  place-items: center start;
  padding-inline-start: 6px;
}
html body #minti-site-header .header .dc-nav-split > .dc-nav-trigger::after { width: 5px; height: 5px; }

/* Mobile menu button: three lines instead of a boxed "Menu" label. The word stays
   in the button at font-size 0 so screen readers still announce "Menu". The lines
   turn into a cross while the menu is open. */
html body :is(#minti-site-header, body) .header .menu {
  position: relative;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-size: 0;
  line-height: 0;
}
html body :is(#minti-site-header, body) .header .menu::before,
html body :is(#minti-site-header, body) .header .menu::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, box-shadow .2s ease;
}
html body :is(#minti-site-header, body) .header .menu::before { box-shadow: 0 -8px 0 currentColor, 0 8px 0 currentColor; }
html body :is(#minti-site-header, body) .header .menu::after { opacity: 0; }
html body :is(#minti-site-header, body) .header .menu[aria-expanded="true"]::before { box-shadow: none; transform: rotate(45deg); }
html body :is(#minti-site-header, body) .header .menu[aria-expanded="true"]::after { opacity: 1; transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  html body :is(#minti-site-header, body) .header .menu::before,
  html body :is(#minti-site-header, body) .header .menu::after { transition: none; }
}
