.main-navigation.clear {
     background: #1d1d1d;
     clear: both;
     display: block;
     position: relative;
     width: 100%;
     z-index: 3;
     line-height: 11px;
}
#site-navigation .menu-blue-menu-below-logo-container {
     text-align: center;
}
#site-navigation ul {
     display: inline-block;
     width: auto;
}
.main-navigation {
  text-align: center;
}
.main-navigation ul {
  display: inline-block;
}
.main-navigation .menu-primary-container {
  width: 100%
} 
.wp-element-caption { text-align: center;
}
/* COMING SOON hover highlight = yellow (#fdc300) */
@media screen and (min-width: 768px) {
  #menu-item-8890:hover > a,
  #menu-item-8890 a:hover {
    background: #fdc300 !important;
    color: #000 !important; /* keep text readable */
  }

  /* Keep it yellow when on the Coming Soon page */
  #menu-item-8890.current-menu-item > a {
    background: #fdc300 !important;
    color: #000 !important;
  }
}

/* === SR Lifting logo on Coming Soon page === */
.page-id-8875 img.custom-logo {
  display: none !important; /* hide the SlingRakz logo */
}

/* SR Lifting: use SR Lifting logo on SR Lifting page + child pages + SR Lifting product pages */
.page-id-8875 .custom-logo-link,
.parent-pageid-8875 .custom-logo-link,
.tax-product_cat-sr-lifting .custom-logo-link,
.single-product.product_cat-sr-lifting .custom-logo-link,
.single-product.term-sr-lifting .custom-logo-link {
  background-image: url("https://slingrakz.com/wp-content/uploads/2025/11/SR-Lifting-Logo-with-Byline.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  height: 325px;
  width: 525px;
  margin-top: -6px;
}
/* Hide the original logo image so only the background-image shows */
.page-id-8875 .custom-logo-link img,
.parent-pageid-8875 .custom-logo-link img,
.tax-product_cat-sr-lifting .custom-logo-link img,
.single-product.product_cat-sr-lifting .custom-logo-link img,
.single-product.term-sr-lifting .custom-logo-link img {
  opacity: 0;
  width: 0;
  height: 0;
}
/* SR Lifting products: swap logo when SR LIFTING menu item is active (CSS-only, Chrome/Safari) */
body:has(header li.current-menu-item > a[href*="/sr-lifting/"]) .custom-logo-link,
body:has(header li.current-menu-parent > a[href*="/sr-lifting/"]) .custom-logo-link,
body:has(header li.current-menu-ancestor > a[href*="/sr-lifting/"]) .custom-logo-link,
body:has(header li.current-page-ancestor > a[href*="/sr-lifting/"]) .custom-logo-link,
body:has(header li.current_page_item > a[href*="/sr-lifting/"]) .custom-logo-link {
  background-image: url("https://slingrakz.com/wp-content/uploads/2025/11/SR-Lifting-Logo-with-Byline.png") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  display: inline-block;
  height: 325px;
  width: 525px;
  margin-top: -6px;
}

body:has(header li.current-menu-item > a[href*="/sr-lifting/"]) .custom-logo-link img,
body:has(header li.current-menu-parent > a[href*="/sr-lifting/"]) .custom-logo-link img,
body:has(header li.current-menu-ancestor > a[href*="/sr-lifting/"]) .custom-logo-link img,
body:has(header li.current-page-ancestor > a[href*="/sr-lifting/"]) .custom-logo-link img,
body:has(header li.current_page_item > a[href*="/sr-lifting/"]) .custom-logo-link img {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

/* Hide the empty page header on the homepage */
.home .entry-header {
    display: none;
}

/* Remove any extra spacing before the content on the homepage */
.home .entry-content {
    margin-top: 0;
    padding-top: 0;
}
