.language-slot { flex: 0 0 auto; align-self: center; }
.portal-header-inner > .language-slot { margin-inline-start: auto; }
.language-picker { position: relative; z-index: 4; }
.language-picker-toggle {
  width: 1.8rem;
  min-height: 2.75rem;
  cursor: pointer;
  list-style: none;
}
.language-picker-toggle::-webkit-details-marker { display: none; }
.language-picker-toggle:is(:hover, :focus-visible)::before,
.language-picker[open] .language-picker-toggle::before { background: var(--text); }
.language-picker-toggle:focus-visible { border-radius: .3rem; background: var(--focus-fill); }
.language-picker-list {
  position: absolute;
  z-index: 1;
  inset: calc(100% + .35rem) 0 auto auto;
  width: max-content;
  min-width: 10.5rem;
  margin: 0;
  padding: .3rem;
  border-radius: var(--radius);
  background: var(--header-bg);
  box-shadow: 0 .45rem 1.2rem #0005;
  list-style: none;
}
.language-picker-list button {
  display: flex;
  align-items: center;
  gap: .35rem;
  width: 100%;
  min-height: 2.5rem;
  padding: .4rem .65rem;
  border: 0;
  border-radius: .3rem;
  background: transparent;
  color: var(--text);
  text-align: start;
}
.language-picker-list img { flex: 0 0 2.5rem; }
.language-picker-list button:is(:hover, [aria-current]) { background: var(--surface-strong); }
.language-picker-list button:focus-visible {
  background: var(--focus-fill);
  text-decoration: underline;
  text-underline-offset: .2em;
}

@media (forced-colors: active) {
  .language-picker-toggle:focus-visible { forced-color-adjust: none; background: Highlight; }
  .language-picker-toggle:focus-visible::before { background: HighlightText; }
}
.services-hero-actions { display: none; }
.medical-dashboard .services-hero-actions { display: flex; flex: none; align-items: center; gap: .55rem; }
.medical-dashboard .portal-hero { position: relative; z-index: 3; }
#reparti-titolo, .hero-story h2, .portal-hero h1, .feature-tabs button > span { overflow-wrap: anywhere; }

@media (max-width: 31rem) {
  .header-account-actions .language-picker-toggle { width: 1.15rem; }
  html[lang="ru"] #reparti-titolo { font-size: clamp(2.1rem, 8.5vw, 3.9rem); }
}
