/* Keep the fixed masthead below WordPress admin controls. */
body.admin-bar .master-navigation {
  top: 32px !important;
  transition: top 0.2s ease;
}

@media screen and (max-width: 782px) {
  body.admin-bar .master-navigation {
    top: 46px !important;
  }
}

#wpadminbar {
  z-index: 100000 !important;
}

/* Prevent theme global list styles from breaking the WordPress front-end toolbar. */
#wpadminbar ul,
#wpadminbar ol {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  row-gap: 0 !important;
}

#wpadminbar li {
  margin: 0 !important;
}

.nav-cs-card {
  display: flex;
  flex-direction: column;
  gap: var(--spacing--16);
  width: 100%;
}

@keyframes home-logo-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.home-a-logo-section .wrap-marquee-logos {
  animation: home-logo-marquee 20s linear infinite;
  will-change: transform;
}

.home-a-logo-section .master-marquees.logo-marquee:hover .wrap-marquee-logos {
  animation-play-state: paused;
}

.home-a-logo-section .single-logo-marquee img {
  transition: transform 250ms ease;
}

.home-a-logo-section .single-logo-marquee img:hover {
  transform: scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
  .home-a-logo-section .wrap-marquee-logos {
    animation: none;
  }
}

/* Force-hide mobile nav blocks on desktop */
@media (min-width: 1378px) {
  .mobile-only-nav,
  .wrap-mobile-menu,
  .nav-mobile-ss,
  .mobile-dropdown,
  .mobile-dropdown-menu,
  .mobile-links-wrap,
  .divider-mobile,
  .search-block-mobile {
    display: none !important;
  }
}

/* Ensure mobile nav blocks can show on collapsed tablet/mobile nav */
@media (max-width: 1378px) {
  .mobile-only-nav,
  .wrap-mobile-menu,
  .nav-mobile-ss,
  .mobile-dropdown,
  .mobile-dropdown-menu,
  .mobile-links-wrap,
  .divider-mobile,
  .search-block-mobile {
    display: block;
  }
}

/* Keep header nav-card artwork away from the rounded card edge so embedded logos do not clip */
/* .card-customer-story.nav-card .image-wrap-cs {
  inset: 8px;
  border-radius: calc(var(--_🔘-radius---radius--small) - 8px);
  overflow: hidden;
} */
