/* Selected Care Index navigation. Keep these styles inside the navigation components. */
.care-navigation .hn-container {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}
.care-navigation .hn-header {
  position: relative;
  z-index: 20;
  background: #202426;
  color: #fff;
}
.care-navigation .hn-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  gap: 28px;
}
.care-navigation .hn-brand { flex-shrink: 0; display: block; }
.care-navigation .hn-brand img { width: 190px; aspect-ratio: 2.25; object-fit: contain; }
.care-navigation .hn-desktop { display: flex; align-items: center; gap: 23px; font-size: 13px; }
.care-navigation .hn-desktop > .hn-stories[aria-current="page"] { color: #dae2dc; box-shadow: inset 0 -2px #9aaca3; }
.care-navigation .hn-mobile-utility > .hn-stories[aria-current="page"] { color: #52655d; font-weight: 700; }
.care-navigation .hn-desktop > a,
.care-navigation .hn-disclosure {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
}
.care-navigation .hn-header button {
  background: transparent;
  color: inherit;
  border: 0;
  font: inherit;
  cursor: pointer;
}
.care-navigation .hn-header .hn-request,
.care-navigation .hn-mobile .hn-request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  color: #202426;
  min-height: 52px;
  border-radius: 40px;
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 650;
  border: 1px solid #fff;
}
.care-navigation .hn-header .hn-disclosure[aria-expanded=true] { box-shadow: inset 0 -2px #9aaca3; }
.care-navigation .hn-header :is(button, a):focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.care-navigation .hn-panel :is(button, a):focus-visible { outline-color: #52655d; }
.care-navigation .hn-carebar { border-top: 1px solid #536159; background: #202426; }
.care-navigation .hn-carebar > .hn-container {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
}
.care-navigation .hn-carebar .hn-disclosure { font-size: 13px; min-height: 61px; white-space: nowrap; }
.care-navigation .hn-panel {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  color: #202426;
  background: #f6f5f1;
  border-bottom: 1px solid #ccd3ce;
  box-shadow: 0 24px 30px #2024261c;
  padding: 30px 0 34px;
  z-index: 25;
  max-height: var(--hn-panel-available, calc(100dvh - 210px));
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-color: #a8b7ae #f6f5f1;
}
.care-navigation .hn-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 43px;
  font-size: 14px;
  gap: 20px;
  padding: 8px 0;
}
.care-navigation .hn-panel a:hover { text-decoration: underline; text-underline-offset: 5px; }
.care-navigation .hn-panel h2 { font-size: 31px; letter-spacing: -.04em; line-height: 1.2; margin: 0; }
.care-navigation .hn-eyebrow {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.6;
  margin: 0 0 10px;
  color: #52655d;
}
.care-navigation .hn-all { font-weight: 650; }
.care-navigation .hn-catalog-panel > .hn-container { display: block; }
.care-navigation .hn-catalog-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 24px;
  margin-bottom: 25px;
  border-bottom: 1px solid #ccd3ce;
}
.care-navigation .hn-catalog-heading h2 { max-width: none; margin-bottom: 10px; font-size: 29px; }
.care-navigation .hn-catalog-heading .hn-eyebrow { margin-bottom: 8px; font-size: 10px; letter-spacing: .13em; }
.care-navigation .hn-catalog-heading p:not(.hn-eyebrow) {
  max-width: 660px;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}
.care-navigation .hn-catalog-heading .hn-all {
  align-self: flex-end;
  flex-shrink: 0;
  width: max-content;
  padding-bottom: 7px;
  border-bottom: 1px solid #879b8f;
  font-size: 12px;
}
.care-navigation .hn-service-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.care-navigation .hn-general-panel .hn-service-groups { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; }
.care-navigation .hn-service-group,
.care-navigation .hn-group-stack { min-width: 0; }
.care-navigation .hn-service-group h3 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .035em;
  color: #52655d;
}
.care-navigation .hn-general-panel .hn-service-group > h3 { min-height: 38px; }
.care-navigation .hn-group-stack { display: flex; flex-direction: column; gap: 24px; }
.care-navigation .hn-catalog-panel a.hn-treatment-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  padding: 11px 0;
  border-bottom: 1px solid #dce1dc;
  font-size: 13px;
  line-height: 1.55;
  text-decoration: none;
}
.care-navigation .hn-treatment-link .hn-link-label { min-width: 0; }
.care-navigation .hn-treatment-link > span:last-child:not(.hn-link-label) { flex-shrink: 0; color: #60756a; }
.care-navigation .hn-catalog-panel a.hn-treatment-link:hover .hn-link-label,
.care-navigation .hn-mobile-groups a.hn-treatment-link:hover .hn-link-label {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #879b8f;
}
.care-navigation .hn-catalog-panel a.hn-subservice { padding-left: 17px; font-size: 12px; color: #52655d; }
.care-navigation .hn-simple-panel .hn-service-groups { display: block; }
.care-navigation .hn-simple-panel .hn-service-group { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px 40px; }
.care-navigation .hn-simple-panel .hn-service-group > h3 { grid-column: 1 / -1; }
.care-navigation .hn-two-item-panel .hn-service-group { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Practice and patient resources share the same disclosure behavior. */
.care-navigation .hn-utility-panel { top: var(--hn-top-height, 108px); }
.care-navigation .hn-header .hn-utility-toggle { white-space: nowrap; gap: 10px; }
.care-navigation .hn-utility-panel > .hn-container {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) minmax(0, 1.8fr);
  align-items: start;
  gap: 65px;
}
.care-navigation .hn-utility-panel .hn-catalog-heading {
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
}
.care-navigation .hn-utility-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 35px; }
.care-navigation .hn-utility-links a { border-bottom: 1px solid #d3d9d4; min-height: 52px; }

.care-navigation #open-mobile {
  display: none;
  align-items: center;
  gap: 15px;
  border: 1px solid #9aaca3;
  border-radius: 30px;
  padding: 10px 18px;
  min-height: 44px;
  font-size: 14px;
}
.care-navigation .hn-mobile {
  border: 0;
  background: #f6f5f1;
  color: #202426;
  width: min(480px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  padding: 24px;
  margin: 0 0 0 auto;
  overflow: auto;
  scroll-padding-top: 90px;
}
.care-navigation .hn-mobile::backdrop { background: #202426aa; }
.care-navigation .hn-mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: -24px;
  background: #f6f5f1;
  z-index: 3;
  padding-top: 15px;
  padding-bottom: 20px;
  margin-top: -15px;
}
.care-navigation .hn-mobile-top h2 { font-size: 27px; margin: 0; }
.care-navigation .hn-mobile-top button {
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 5px;
  min-height: 44px;
  font-size: 14px;
}
.care-navigation .hn-mobile .hn-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 50px;
  font-size: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d3d9d4;
}
.care-navigation .hn-mobile details { margin: 0; padding: 0; border: 0; border-bottom: 1px solid #d3d9d4; }
.care-navigation .hn-mobile summary {
  list-style: none;
  min-height: 59px;
  padding: 17px 30px 17px 0;
  font-size: 17px;
  position: relative;
  line-height: 1.5;
}
.care-navigation .hn-mobile summary::-webkit-details-marker { display: none; }
.care-navigation .hn-mobile summary::marker { content: ''; }
.care-navigation .hn-mobile summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 22px; }
.care-navigation .hn-mobile details[open] > summary::after { content: '−'; }
.care-navigation .hn-mobile details a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  min-height: 48px;
  padding: 10px 8px;
  gap: 20px;
}
.care-navigation .hn-mobile-groups { display: grid; grid-template-columns: minmax(0, 1fr); gap: 25px; padding: 7px 0 24px; }
.care-navigation .hn-mobile-groups .hn-service-group h3 { margin-bottom: 7px; font-size: 11px; letter-spacing: .055em; line-height: 1.65; }
.care-navigation .hn-mobile .hn-mobile-groups a.hn-treatment-link {
  gap: 16px;
  min-height: 48px;
  padding: 11px 0;
  border-bottom: 1px solid #e0e4df;
  font-size: 14px;
  line-height: 1.55;
}
.care-navigation .hn-mobile .hn-mobile-groups a.hn-subservice { padding-left: 17px; color: #52655d; }
.care-navigation .hn-mobile-groups .hn-service-group > a:last-child { border-bottom: 0; }
.care-navigation .hn-mobile :is(a, button, summary):focus-visible { outline: 2px solid #52655d; outline-offset: 3px; }
.care-navigation .hn-mobile-utility { margin-top: 22px; padding-top: 10px; border-top: 1px solid #d3d9d4; }
.care-navigation .hn-mobile-utility > a { display: block; min-height: 44px; font-size: 15px; padding: 8px 0; }
.care-navigation .hn-mobile-utility summary { min-height: 50px; font-size: 15px; padding-block: 13px; }
.care-navigation .hn-mobile-utility summary::after { top: 9px; }
.care-navigation .hn-mobile-utility details a { font-size: 14px; padding: 10px 8px; min-height: 44px; }
.care-navigation .hn-mobile-utility details a:last-child { margin-bottom: 10px; }
.care-navigation .hn-mobile .hn-request { background: #202426; color: #fff; width: 100%; margin-top: 22px; border: 0; }
.care-navigation .hn-small { font-size: 12px; color: #56615b; line-height: 1.7; margin-top: 15px; }

@media (min-width: 1051px) {
  .care-navigation .hn-header .hn-disclosure { transition: color 160ms ease, box-shadow 160ms ease; }
  .care-navigation .hn-header .hn-disclosure[aria-expanded=true] { color: #c4d0c8; }
  .care-navigation .hn-header .hn-disclosure > span { display: inline-block; transition: transform 180ms ease; }
  .care-navigation .hn-header .hn-disclosure[aria-expanded=true] > span { transform: rotate(180deg); }
  .care-navigation .hn-panel:not([hidden]) { animation: hn-menu-reveal 180ms ease-out; }
}
@media (min-width: 1051px) and (hover: hover) and (pointer: fine) {
  .care-navigation .hn-header .hn-disclosure:hover { color: #c4d0c8; box-shadow: inset 0 -2px #9aaca3; }
}
@keyframes hn-menu-reveal {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1200px) {
  .care-navigation .hn-container { width: calc(100% - 64px); }
  .care-navigation .hn-desktop { gap: 16px; font-size: 12px; }
  .care-navigation .hn-brand img { width: 164px; }
  .care-navigation .hn-top { gap: 20px; }
  .care-navigation .hn-header .hn-request { padding-inline: 15px; font-size: 11px; }
  .care-navigation .hn-desktop .hn-disclosure { gap: 8px; }
  .care-navigation .hn-carebar .hn-disclosure { font-size: 12px; }
  .care-navigation .hn-general-panel .hn-service-groups { gap: 25px; }
  .care-navigation .hn-catalog-panel a.hn-treatment-link { gap: 10px; font-size: 12px; }
  .care-navigation .hn-catalog-panel a.hn-subservice { font-size: 12px; }
  .care-navigation .hn-service-group h3 { font-size: 11px; }
  .care-navigation .hn-utility-panel > .hn-container { gap: 30px; }
}
@media (max-width: 1050px) {
  .care-navigation .hn-desktop,
  .care-navigation .hn-carebar,
  .care-navigation .hn-panel { display: none; }
  .care-navigation #open-mobile { display: flex; }
  .care-navigation .hn-top { min-height: 95px; }
}
@media (max-width: 700px) {
  .care-navigation .hn-container { width: calc(100% - 40px); }
  .care-navigation .hn-top { min-height: 88px; }
  .care-navigation .hn-brand img { width: 175px; }
  .care-navigation .hn-mobile { padding: 22px; }
  .care-navigation .hn-mobile-top { top: -22px; }
}
@media (max-width: 360px) {
  .care-navigation .hn-brand img { width: 155px; }
  .care-navigation .hn-top { gap: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .care-navigation :is(.hn-header, .hn-mobile),
  .care-navigation :is(.hn-header, .hn-mobile) * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Owner-approved Beside Atlas logo placement across the patient website. */
.care-navigation .hn-with-provider .hn-brand-group {
  display: flex; align-items: center; gap: 25px; flex-shrink: 0;
}
.care-navigation .hn-with-provider .hn-provider-brand {
  display: flex; align-items: center; min-height: 44px;
  padding-left: 25px; border-left: 1px solid #63716a;
}
.care-navigation .hn-with-provider .hn-provider-brand img { width: 112px; height: auto; }
.care-navigation .hn-with-provider .hn-provider-brand:hover { opacity: .8; }
@media (min-width: 1051px) and (max-width: 1350px) {
  .care-navigation .hn-with-provider .hn-top { gap: 16px; }
  .care-navigation .hn-with-provider .hn-brand img { width: 164px; }
  .care-navigation .hn-with-provider .hn-brand-group { gap: 14px; }
  .care-navigation .hn-with-provider .hn-provider-brand { padding-left: 14px; }
  .care-navigation .hn-with-provider .hn-provider-brand img { width: 86px; }
  .care-navigation .hn-with-provider .hn-desktop { gap: 12px; font-size: 12px; }
  .care-navigation .hn-with-provider .hn-desktop > a,
  .care-navigation .hn-with-provider .hn-desktop > button { white-space: nowrap; }
  .care-navigation .hn-with-provider .hn-desktop .hn-disclosure { gap: 8px; }
  .care-navigation .hn-with-provider .hn-request { font-size: 11px; padding-inline: 15px; }
}
@media (max-width: 700px) {
  .care-navigation .hn-with-provider .hn-top { gap: 12px; }
  .care-navigation .hn-with-provider .hn-brand img { width: 130px; }
  .care-navigation .hn-with-provider .hn-brand-group { gap: 10px; }
  .care-navigation .hn-with-provider .hn-provider-brand { padding-left: 10px; }
  .care-navigation .hn-with-provider .hn-provider-brand img { width: 80px; }
  .care-navigation .hn-with-provider #open-mobile { padding-inline: 12px; font-size: 13px; gap: 12px; flex-shrink: 0; }
}
@media (max-width: 370px) {
  .care-navigation .hn-with-provider .hn-top { gap: 8px; }
  .care-navigation .hn-with-provider .hn-brand img { width: 110px; }
  .care-navigation .hn-with-provider .hn-brand-group { gap: 8px; }
  .care-navigation .hn-with-provider .hn-provider-brand { padding-left: 8px; }
  .care-navigation .hn-with-provider .hn-provider-brand img { width: 66px; }
  .care-navigation .hn-with-provider #open-mobile { padding-inline: 10px; font-size: 12px; }
}
