#header {
  --sf-menu-logo-width: clamp(248px, 23vw, 310px);
}
#header .elementor-widget-posLogo,
#header .elementor-widget-posLogo .elementor-widget-container {
  width: 100%;
  max-width: 100%;
}
#header .elementor-widget-posLogo .site-logo {
  display: block;
  width: min(95%, calc(var(--sf-menu-logo-width) * 0.95)) !important;
  max-width: 100% !important;
  margin-inline: auto;
}
#header .elementor-widget-posLogo .site-logo img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
}
@media (max-width: 1024px) {
  #header { --sf-menu-logo-width: 210px; }
  #header .sf-navigation.elementor-hidden-desktop > .elementor-container > .elementor-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) min(50%, var(--sf-menu-logo-width)) minmax(0, 1fr);
    align-items: center;
  }
  #header .sf-navigation.elementor-hidden-desktop > .elementor-container > .elementor-row > .elementor-column {
    width: 100% !important;
    min-width: 0;
  }
  #header .sf-navigation.elementor-hidden-desktop .elementor-column:has(.elementor-widget-posLogo) > .elementor-column-wrap {
    width: 100%;
    padding-inline: 0 !important;
  }
}

