/* Logo styling - increased size */
.custom-logo {
  max-width: 500px;
  height: auto;
}

/* Header background color - multiple selectors for better coverage */

/* Make SiteOrigin Page Builder Full Width */
.panel-grid {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.panel-grid-cell {
  padding: 0 !important;
  margin: 0 !important;
}

.so-panel {
  margin: 0 !important;
  padding: 0 !important;
}

/* Remove all remaining spaces from Vantage theme */
.wrap {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.container {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.home #content {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.home .panel-row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

/* Change page background and extend content width */
body {
  background-color: transparent !important;
}

.site-header {
  margin: 0 !important;
  padding: 0 !important;
}

#main {
  margin-left: -9999px !important;
  margin-right: -9999px !important;
  padding-left: 9999px !important;
  padding-right: 9999px !important;
}

.panel-row-style {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Target site wrapper and extend to full viewport */
.site {
  max-width: 100vw !important;\nwidth: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
}

html, body {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
}

/* Fix full-width header navigation on all pages */
.site-header .so-handle-header-main-container {
  max-width: 100% !important;
  width: 100% !important;
}

.site-header .site-header-container {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.site-header nav {
  max-width: 100% !important;
  width: 100% !important;
}

/* Ensure content containers use full width on pages */
#main-nav-wrap,
.main-nav-wrap {
  max-width: 100% !important;
  width: 100% !important;
}