/* Theme choice uses the site's existing palettes and component styles. */
html[data-hc-theme="light"] body { --light: var(--ON_toggle); --dark: var(--OFF_toggle); }
html[data-hc-theme="dark"] body { --light: var(--OFF_toggle); --dark: var(--ON_toggle); }
html body .hc-theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; width: 40px; height: 40px; padding: 0; margin: 0;
  border: 0; border-radius: 8px;
  background: transparent; color: var(--hc-ink, var(--white_text_black, #333));
  cursor: pointer; vertical-align: middle; line-height: 1;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
html body .hc-theme-toggle:hover { background: transparent; color: var(--hc-accent-text, #ad4028); }
html body .hc-theme-toggle:focus-visible { outline: 2px solid var(--hc-accent-text, #ad4028); outline-offset: 3px; }
/* Same 2px outline and muted treatment as the neighboring header icons. */
html body .hc-theme-toggle svg { display: block; flex: 0 0 auto; pointer-events: none; opacity: .5; }
html body .hc-theme-toggle:hover svg,
html body .hc-theme-toggle:focus-visible svg { opacity: 1; }
.hc-theme-slot { flex: 0 0 auto; }
.hc-theme-slot--fixed { display: inline-flex; align-items: center; }
/* Dynamic Aspro frames may restore a raster/light variant after page load. */
#header .logo svg [fill="#342D2D"],
#headerfixed .logo svg [fill="#342D2D"],
#mobileheader .logo svg [fill="#342D2D"] { fill: var(--hc-ink, #342d2d) !important; }
@media (max-width: 991px) {
  #mobileheader.hc-theme-ready .right-icons { display: flex; flex-direction: row-reverse; align-items: center; padding-right: 7px; }
  #mobileheader.hc-theme-ready .right-icons > .pull-right { flex: 0 0 36px; width: 36px; }
  #mobileheader.hc-theme-ready .right-icons .wrap_icon { padding-left: 0; padding-right: 0; width: 36px; }
  #mobileheader.hc-theme-ready .right-icons .top-btn,
  #mobileheader.hc-theme-ready .right-icons .personal-link { min-width: 36px; width: 36px; }
  #mobileheader.hc-theme-ready .hc-theme-toggle { width: 36px; height: 44px; border: 0; border-radius: 8px; }
  #mobileheader.hc-theme-ready .hc-theme-toggle svg { transform: translateY(-2px); }
}
@media (max-width: 360px) {
  #mobileheader.hc-theme-ready .burger { width: 44px; }
  #mobileheader.hc-theme-ready .logo-block { width: 101px; }
  #mobileheader.hc-theme-ready .logo { width: 96px; }
  #mobileheader.hc-theme-ready .right-icons > .pull-right,
  #mobileheader.hc-theme-ready .right-icons .wrap_icon { width: 32px; flex-basis: 32px; }
  #mobileheader.hc-theme-ready .right-icons .top-btn,
  #mobileheader.hc-theme-ready .right-icons .personal-link { min-width: 32px; width: 32px; }
  #mobileheader.hc-theme-ready .hc-theme-toggle { width: 32px; }
}
