/* Cross-links within the existing header and the relevant page content. */
.public-account-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--berry);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.public-account-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.desktop-nav .audience-inline-link,
.nav-links .audience-inline-link {
  color: var(--berry);
}
.audience-callout {
  padding-block: 0 48px;
}
.audience-callout-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 34px;
  border: 1px solid rgba(0, 0, 71, 0.12);
  border-left: 3px solid var(--berry);
  border-radius: 16px;
  background: #fff;
}
.audience-callout-copy {
  max-width: 650px;
}
.audience-callout h2 {
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.45;
}
.audience-callout p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.audience-callout-link {
  flex-shrink: 0;
  gap: 12px;
}
.patient-professional-callout {
  padding-block: 28px 0;
}
.patient-professional-callout .audience-callout-card {
  padding: 28px 0;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
}
.patient-professional-callout h2 {
  font-size: 18px;
}
.patient-professional-callout p,
.patient-professional-callout .text-link {
  font-size: 14px;
}
.portal-sites {
  position: relative;
}
.commerce .portal-sites {
  padding: 0;
  border: 0;
}
.portal-sites > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 10px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--navy);
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}
.portal-sites > summary::-webkit-details-marker {
  display: none;
}
.portal-sites > summary:hover,
.portal-sites[open] > summary {
  background: var(--paper-2);
}
.portal-sites > summary:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
.portal-sites-icon {
  display: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.portal-sites > nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  min-width: 205px;
  padding: 8px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 71, 0.12);
}
.portal-sites > nav a {
  display: block;
  padding: 12px;
  border-radius: 8px;
  white-space: nowrap;
}
.portal-sites > nav a:hover {
  background: var(--paper-2);
}
@media (max-width: 1200px) {
  .patient-site.js .desktop-nav {
    display: none;
  }
  .patient-site.js .menu-toggle {
    display: flex;
  }
}
@media (max-width: 1020px) {
  .professional-site .nav.menu-open .mobile-menu {
    max-height: min(70svh, 450px);
    overflow-y: auto;
  }
}
@media (max-width: 900px) {
  .audience-callout-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .audience-callout-link {
    flex-shrink: 1;
    white-space: normal;
    text-align: left;
  }
}
@media (max-width: 560px) {
  .public-account-link {
    display: none;
  }
  .audience-callout {
    padding-bottom: 28px;
  }
  .audience-callout-card {
    padding: 24px;
  }
  .audience-callout p {
    font-size: 14px;
  }
  .portal-sites-label {
    display: none;
  }
  .portal-sites-icon {
    display: block;
    width: 18px;
    height: 18px;
  }
  .portal-sites > summary {
    min-width: 36px;
    min-height: 36px;
    padding: 8px;
  }
  .commerce .topbar {
    padding-inline: 12px;
    gap: 8px;
  }
  .commerce .topbar > a img {
    width: 88px;
  }
  .commerce .top-actions {
    gap: 6px;
  }
  .portal-sites > nav {
    top: calc(100% + 4px);
    left: 12px;
    right: 12px;
    min-width: 0;
  }
  .commerce .portal-sites {
    position: static;
  }
}
@media print {
  .audience-callout,
  .portal-sites {
    display: none;
  }
}
