/* One shared menu link; preserves its destination and existing menu behaviour. */
html:root body #header-new .menu .menu-main > a.alp-calculator-link-v22 {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 8px !important;
  border-radius: 7px;
  background: #b75200 !important;
  color: #fff !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  box-sizing: border-box;
}
html:root body #header-new .menu .menu-main > a.alp-calculator-link-v22 svg {
  display: block;
  flex: 0 0 14px;
  width: 14px;
  height: 16px;
}
html:root body #header-new .menu .menu-main > a.alp-calculator-link-v22:hover {
  background: #984300 !important;
}
html:root body #header-new .menu .menu-main > a.alp-calculator-link-v22:focus-visible {
  outline: 3px solid #75aed2;
  outline-offset: 3px;
}
/* The existing mobile menu adds a more specific current-page rule at runtime. */
html:root body #header-new .header-bot .menu.alp-mobile-menu-polished > .menu-main > a.alp-calculator-link-v22 {
  background: #b75200 !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
html:root body #header-new .header-bot .menu.alp-mobile-menu-polished > .menu-main > a.alp-calculator-link-v22:hover {
  background: #984300 !important;
}
@media (min-width:1024px) and (max-width:1279px) {
  html:root body #header-new .menu .menu-main > a.alp-calculator-link-v22 {
    padding: 6px 4px !important;
  }
  html:root body #header-new .menu .menu-main > a.alp-calculator-link-v22 svg {
    display: none;
  }
}
@media (max-width:1023px) {
  html:root body #header-new .menu .menu-main > a.alp-calculator-link-v22 {
    min-height: 40px;
    padding: 9px 14px !important;
  }
}

/* v25: restore readable spacing; the desktop caption wraps at its existing space. */
@media (min-width:1024px) {
  html:root body #header-new .header-bot .menu {
    align-items: center !important;
    flex-wrap: nowrap !important;
    margin-right: 18px !important;
  }
  html:root body #header-new .header-bot .menu > .menu-main {
    display: flex !important;
    align-items: center !important;
    padding: 0 8px !important;
  }
  html:root body #header-new .header-bot .menu > .menu-main:first-child {
    padding-left: 0 !important;
  }
  html:root body #header-new .header-bot .menu > .menu-main > a {
    display: block !important;
    padding: 10px 0 !important;
    line-height: 1.2 !important;
  }
  html:root body #header-new .header-bot .menu > .menu-main > a.alp-calculator-link-v22 {
    display: flex !important;
    min-height: 42px;
    padding: 6px 8px !important;
    white-space: normal !important;
  }
  html:root body #header-new .header-bot .menu > .menu-main > a.alp-calculator-link-v22 span {
    display: block;
    width: min-content;
    white-space: normal !important;
    text-align: center;
    line-height: 1.12 !important;
  }
  html:root body #header-new .header-bot .logo,
  html:root body #header-new .header-bot .request {
    flex-shrink: 0 !important;
  }
  html:root body #header-new .header-bot .request {
    white-space: nowrap !important;
  }
}
@media (min-width:1024px) and (max-width:1199px) {
  html:root body #header-new .header-bot .menu > .menu-main {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  html:root body #header-new .header-bot .menu > .menu-main:first-child {
    padding-left: 0 !important;
  }
}
