/* One shared layout for the institutional Elementor header. Blog never loads it.
   Budget at 1025px: logo 170 + largest legacy nav ~533 + contacts ~220
   + 32px column gaps + 32px side padding = ~987px (before scrollbar).
   Below 1025px use the existing HFE tablet menu and its existing handlers. */
#masthead .elementor-element-cf8574f > .e-con-inner {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) max-content;
  align-items: center;
  column-gap: 16px;
  width: 100%;
  max-width: 1280px;
  min-height: 112px;
  height: 112px;
  margin-inline: auto;
  padding: 0 16px;
  box-sizing: border-box;
}
#masthead .elementor-element-cf8574f > .e-con-inner > .e-con {
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  align-self: center;
}
#masthead .elementor-element-b7cdb4d { flex-shrink: 0; }
#masthead .elementor-element-f2b5fa9 { justify-content: flex-start; }
#masthead .elementor-element-7769c15,
#masthead .elementor-element-7769c15 > .elementor-widget-container {
  width: 100%;
  min-width: 0;
  max-width: none;
}
#masthead .elementor-element-3280968 { gap: 0; }
#masthead .elementor-element-3280968 .btn-group {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
}
#masthead .elementor-element-3280968 .elementor-button {
  flex: 0 0 auto;
  white-space: nowrap;
  padding-inline: 16px;
}
#masthead .elementor-element-3280968 .elementor-button-text { white-space: nowrap; }
/* The empty legacy widgets have no visible control; do not reserve flex gaps. */
#masthead .elementor-element-3280968 > .elementor-widget-image { width: 0; flex: 0 0 0; }
#masthead .elementor-sticky__spacer { visibility: hidden; pointer-events: none; overflow: clip; }
@media (min-width: 1025px) {
  #masthead .elementor-element-7769c15 .hfe-layout-horizontal,
  #masthead .elementor-element-7769c15 nav { width: 100%; }
  #masthead .elementor-element-7769c15 nav > ul.hfe-nav-menu {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    width: max-content;
    min-width: max-content;
    margin: 0;
  }
  #masthead .elementor-element-7769c15 nav > ul > li { flex: 0 0 auto; white-space: nowrap; }
  #masthead .elementor-element-7769c15 nav > ul > li > .hfe-has-submenu-container > a {
    white-space: nowrap;
    padding-inline: clamp(10px, 1.05vw, 15px);
  }
  #masthead .elementor-element-7769c15 .hfe-nav-menu__toggle { display: none; }
  #masthead .elementor-element-7769c15 li:focus-within > .sub-menu {
    visibility: visible;
    opacity: 1;
    display: block;
  }
}
@media (max-width: 1024px) {
  #masthead .elementor-element-cf8574f > .e-con-inner {
    grid-template-columns: 155px minmax(44px, 1fr) max-content;
  }
  #masthead .elementor-element-f2b5fa9 { justify-content: flex-end; }
  #masthead .elementor-element-7769c15 .hfe-nav-menu__toggle { margin-left: auto; }
  #masthead .elementor-element-3280968 .elementor-button { padding-inline: 12px; }
}
@media (max-width: 767px) {
  #masthead .elementor-element-cf8574f > .e-con-inner {
    grid-template-columns: 138px minmax(44px, 1fr);
    height: 96px;
    min-height: 96px;
  }
  #masthead .elementor-element-3280968 { display: none; }
}
