/* Shared site navigation and footer for the international custom templates. */
:is(.hpt-home, .hpt-product, .hpt-subpages) .site-header {
  height: 60px;
}

:is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .brand-logo {
  width: 150px;
  height: auto;
  max-height: none;
}

:is(.hpt-home, .hpt-product, .hpt-subpages) .page-progress {
  top: 59px;
}

.admin-bar :is(.hpt-home, .hpt-product, .hpt-subpages) .page-progress {
  top: 91px;
}

:is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .primary-nav > ul {
  gap: 35px;
}

:is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .primary-nav .menu-item > a {
  font-size: 15px;
  font-weight: 520;
  line-height: 1.2;
  letter-spacing: -.012em;
}

:is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .primary-nav .submenu a {
  font-size: 14px;
  font-weight: 450;
  line-height: 1.5;
}

:is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .nav-cta,
:is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .hpt-language-picker {
  font-size: 14px;
}

:is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .primary-nav .menu-item.is-current > a,
:is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .primary-nav .menu-item > a.is-active {
  color: #fff;
}

:is(.hpt-home, .hpt-product, .hpt-subpages) .site-footer {
  display: grid;
  grid-template-columns: minmax(145px, .7fr) minmax(300px, 1.2fr) auto;
  gap: 28px 48px;
  align-items: start;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 48px max(24px, calc((100vw - 1120px) / 2)) 34px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: #000;
  color: #86868b;
  font-size: 13px;
  line-height: 1.55;
}

:is(.hpt-home, .hpt-product, .hpt-subpages) .site-footer .brand {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  min-height: 40px;
}

:is(.hpt-home, .hpt-product, .hpt-subpages) .site-footer .brand-logo {
  display: block;
  width: 124px;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
}

:is(.hpt-home, .hpt-product, .hpt-subpages) .site-footer .footer-company {
  display: grid;
  gap: 6px;
  line-height: 1.55;
}

:is(.hpt-home, .hpt-product, .hpt-subpages) .site-footer .footer-company strong {
  color: #d2d2d7;
  font-size: 13px;
  font-weight: 600;
}

:is(.hpt-home, .hpt-product, .hpt-subpages) .site-footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  color: #a1a1a6;
}

:is(.hpt-home, .hpt-product, .hpt-subpages) .site-footer .footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  transition: color .18s ease;
}

:is(.hpt-home, .hpt-product, .hpt-subpages) .site-footer .footer-nav a:hover,
:is(.hpt-home, .hpt-product, .hpt-subpages) .site-footer .footer-nav a:focus-visible {
  color: #f5f5f7;
}

:is(.hpt-home, .hpt-product, .hpt-subpages) .site-footer .footer-legal {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 20px;
  border-top: 1px solid #1d1d1f;
  color: #6e6e73;
}

@media (max-width: 1100px) and (min-width: 821px) {
  :is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .brand-logo { width: 124px; }
  :is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .primary-nav > ul { gap: 14px; }
  :is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .primary-nav .menu-item > a { font-size: 14px; }
  :is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .nav-cta,
  :is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .hpt-language-picker { font-size: 13px; }
}

@media (max-width: 900px) and (min-width: 821px) {
  :is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .primary-nav > ul { gap: 12px; }
  :is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .nav-cta { padding-inline: 12px; }
}

@media (max-width: 820px) {
  :is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .brand-logo { width: 112px; }
  :is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .primary-nav {
    top: 60px;
    height: calc(100dvh - 60px);
  }
  .admin-bar :is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .primary-nav {
    top: 106px;
    height: calc(100dvh - 106px);
  }
  .admin-bar :is(.hpt-home, .hpt-product, .hpt-subpages) .page-progress { top: 105px; }
  :is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .primary-nav {
    background: #05070c;
  }
  :is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .primary-nav .menu-item > a {
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -.04em;
  }
  :is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .primary-nav .submenu a { font-size: 16px; }
  :is(.hpt-home, .hpt-product, .hpt-subpages) .site-header .nav-cta { font-size: 12px; }
  :is(.hpt-home, .hpt-product, .hpt-subpages) .site-footer {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 24px 30px;
  }
  :is(.hpt-home, .hpt-product, .hpt-subpages) .site-footer .footer-nav { justify-content: flex-start; }
}
