/* Arco header: logo left, one-line menu right. Below 980px the menu is the Responsive Menu plugin's. */
.arco-header { background: #fff; border-bottom: 1px solid #e6e6e6; }
.arco-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; width: min(1312px, 100% - 40px); min-height: 109px; margin: 0 auto; box-sizing: border-box; }
.arco-header__logo { flex: none; display: block; line-height: 0; }
.arco-header__logo img { width: 132px; height: auto; display: block; }
.arco-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.arco-menu li { position: relative; margin: 0; padding: 0; list-style: none; }
.arco-menu a { display: block; padding: 8px 15px; font-size: 13px; font-weight: 400; line-height: 1.4; color: #999; text-decoration: none; white-space: nowrap; }
.arco-menu > li.menu-item-has-children > a::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.arco-menu a:hover,
.arco-menu .current-menu-item > a,
.arco-menu .current-menu-ancestor > a,
.arco-menu .current-page-ancestor > a { color: var(--rh-global-color-primary); }
.arco-menu > .current-menu-item > a,
.arco-menu > .current-menu-ancestor > a,
.arco-menu > .current-page-ancestor > a { box-shadow: 0 17px 0 -15px var(--rh-global-color-primary); }
.arco-menu .sub-menu { position: absolute; top: 100%; left: 0; z-index: 1000; display: none; min-width: 220px; margin: 0; padding: 8px 0; list-style: none; background: #fff; border: 1px solid #e6e6e6; border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); }
.arco-menu li:hover > .sub-menu,
.arco-menu li:focus-within > .sub-menu { display: block; }
.arco-menu .sub-menu .sub-menu { top: 0; left: 100%; }
.arco-menu .sub-menu a { padding: 8px 18px; }
@media (max-width: 979px) {
  .arco-header__nav { display: none; }
  .arco-header__inner { min-height: 80px; }
}

/* The header stays at the top of the screen while the page scrolls, as on production (where it is
   position: fixed with a body offset). Sticky gives the same result without changing any page's height. */
.header-wrapper.arco-header { position: sticky; top: 0; z-index: 100000; }
body.admin-bar .header-wrapper.arco-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .header-wrapper.arco-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .header-wrapper.arco-header { top: 0; } }
/* The old content stylesheet (css/arco-content-legacy.css, loaded on default and landing pages) pads
   the body by 100px (85px on phones) for the old theme's fixed header. This header is sticky and takes
   its own room, so that padding showed as an empty band above it. Blank-layout pages have no site
   header and keep the padding their content was built against. */
body:not(.arco-blank-layout):not(.arco-popup-document) { padding-top: 0; }
