.site-breadcrumbs,
.phase-one-breadcrumbs {
  display: none !important;
}

[class*="hover:border-[#F24405]"]:hover,
[class*="hover:border-orange-"]:hover {
  border-color: var(--border-color) !important;
}

[data-header-secondary] {
  display: inline-flex !important;
}

.header-primary-links {
  gap: 0.8rem !important;
  margin-right: 0 !important;
}

.header-primary-links > a {
  font-size: 0.8125rem !important;
  white-space: nowrap;
}

.header-actions-clean {
  gap: 0.55rem !important;
}

.header-more {
  position: relative;
  flex: none;
}

.header-more summary {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  gap: 0.2rem;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 500;
  list-style: none;
  white-space: nowrap;
}

.header-more summary::-webkit-details-marker {
  display: none;
}

.header-more summary .material-symbols-rounded {
  font-size: 1rem;
  transition: transform 160ms ease;
}

.header-more[open] summary .material-symbols-rounded {
  transform: rotate(180deg);
}

.header-more summary:hover,
.header-more.is-active summary,
.header-more[open] summary {
  color: var(--brand-primary);
}

.header-more-menu {
  position: absolute;
  z-index: 80;
  top: calc(100% + 0.45rem);
  right: -0.5rem;
  display: grid;
  min-width: 12rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--bg-card);
  padding: 0.35rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
}

.header-more-menu a {
  border-radius: 5px;
  color: var(--text-secondary);
  padding: 0.65rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.header-more-menu a:hover,
.header-more-menu a.is-active {
  background: var(--bg-element);
  color: var(--brand-primary);
}

@media (min-width: 1280px) and (max-width: 1480px) {
  #root nav {
    padding-right: 1.25rem !important;
    padding-left: 1.25rem !important;
  }

  [data-header-search] {
    width: 2.5rem !important;
    min-width: 2.5rem;
    padding-right: 0 !important;
    padding-left: 0 !important;
    justify-content: center !important;
  }

  [data-header-search] > span > span {
    display: none !important;
  }
}

@media (min-width: 1280px) and (max-width: 1365px) {
  .header-primary-links {
    gap: 0.65rem !important;
  }

  .header-primary-links > a {
    font-size: 0.76rem !important;
  }
}

@media (max-width: 1279px) {
  [data-header-secondary] {
    display: none !important;
  }
}
