/* ============================================================
   REQUEST CARE: header button.
   The button is the site's own .btn.btn--primary, sized down to sit
   in the header beside the phone chip. The popup it opens is the
   shared frame dialog (frame-dialog.css).
   ============================================================ */

/* ---- Header button ---- */
.header-actions .hhc-request-care{min-height:46px;padding:.5rem 1.1rem;font-size:.95rem;
  white-space:nowrap;flex:0 0 auto}
.primary-nav .hhc-request-care-item{display:none}

/* ---- Making room for it ------------------------------------------
   The original header already filled its row at desktop width (it ran
   58px into the right-hand padding). Measured at 15 widths, logged in
   and out, these keep the header from ever running further than that
   and never cause horizontal scrolling:
   - Desktop: the phone chip shows its icon (the same compact form the
     design already used below 1180px). The number is still the link's
     accessible name and appears in the hero, CTA and footer.
   - Nav links lose a little horizontal padding.
   - 1091-1180px: the brand text hides (it already hid below 1090px and
     whenever the header is stuck).
   - Signed-in staff only, 1181-1366px: the wider "Welcome, name" control
     needs the brand text's space too.
   - Below 960px: "Log In" shows its icon only, as the original header
     did before the Doxa Account Menu plugin replaced it. The text stays
     available to screen readers.
   - Under 360px the button moves into the menu panel. */
@media (min-width:1021px){
  .header-actions .header-phone{width:46px;height:46px;padding:.5rem;justify-content:center;border-radius:50%}
  .header-actions .header-phone .header-phone-label{display:none}
  .primary-nav a{padding-inline:.85rem}
  .primary-nav a::after{left:.85rem;right:.85rem}
}
@media (min-width:1021px) and (max-width:1260px){
  .primary-nav a{padding-inline:.7rem}
  .primary-nav a::after{left:.7rem;right:.7rem}
}
@media (min-width:1021px) and (max-width:1180px){
  .brand-text{display:none}
  .primary-nav a{padding-inline:.62rem}
  .primary-nav a::after{left:.62rem;right:.62rem}
}
@media (min-width:1181px) and (max-width:1366px){
  .logged-in .site-header:not(.is-stuck) .brand-text{display:none}
}
@media (max-width:960px){
  .dam-login .dam-login-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;
    overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  .dam-login{width:44px;justify-content:center;padding:.5rem}
}
@media (max-width:400px){
  .header-actions{gap:.4rem}
  .header-actions .hhc-request-care{padding:.5rem .8rem;font-size:.9rem}
  .logged-in .header-actions{gap:.3rem}
  .logged-in .header-actions .hhc-request-care{padding:.5rem .65rem;font-size:.86rem}
}
@media (max-width:359px){
  .header-actions .hhc-request-care{display:none}
  .primary-nav .hhc-request-care-item{display:flex}
  .primary-nav .hhc-request-care-item .hhc-request-care{width:auto;margin:.9rem 0 .2rem;color:#fff}
}
