/* Sasthra Vedhi — XPRO header + brand button overrides */

/* Header row: logo narrow, menu fills remaining width */
.xpro-theme-builder-header [data-id="0410d270"] > .e-con-inner {
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 12px !important;
}

.xpro-theme-builder-header [data-id="2f4ca6de"] {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: 72px !important;
}

.xpro-theme-builder-header [data-id="3a2ca1cc"] {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
}

.xpro-theme-builder-header .elementor-widget-image img {
  max-width: 48px !important;
  height: auto !important;
}

.xpro-theme-builder-header .e-con {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

/* Compact horizontal nav — single row */
.xpro-theme-builder-header .xpro-elementor-horizontal-navbar-nav {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 0 8px !important;
  justify-content: flex-end !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.xpro-theme-builder-header .xpro-elementor-horizontal-navbar-nav > li {
  margin: 0 !important;
  flex: 0 0 auto !important;
}

.xpro-theme-builder-header .xpro-elementor-horizontal-navbar-nav > li > a {
  font-size: 11.5px !important;
  font-weight: 500 !important;
  padding: 4px 3px !important;
  white-space: nowrap !important;
  line-height: 1.15 !important;
}

/* Brand blue buttons — override XPRO yellow defaults (not hero ghost) */
.elementor-widget-xpro-button:not(.sv-hero-btn-ghost) .xpro-elementor-button,
.elementor-widget-xpro-button:not(.sv-hero-btn-ghost) .xpro-button {
  background-color: #0358cc !important;
  border-color: #0358cc !important;
  color: #ffffff !important;
}

.elementor-widget-xpro-button:not(.sv-hero-btn-ghost) .xpro-elementor-button.xpro-btn-outline .xpro-button,
.elementor-widget-xpro-button:not(.sv-hero-btn-ghost) .xpro-elementor-button[class*="outline"] {
  background-color: transparent !important;
  border-color: #0358cc !important;
  color: #0358cc !important;
}

.elementor-widget-xpro-button:not(.sv-hero-btn-ghost) .xpro-elementor-button:hover,
.elementor-widget-xpro-button:not(.sv-hero-btn-ghost) .xpro-elementor-button:hover .xpro-button {
  background-color: #024ba8 !important;
  border-color: #024ba8 !important;
  color: #ffffff !important;
}
