.studio-badge-symbol { display: inline-block; }
.studio-filter-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.studio-socials { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding: .5rem 1rem; width: 100%; box-sizing: border-box; }
.studio-socials--left { justify-content: flex-start; }
.studio-socials--right { justify-content: flex-end; }
.studio-socials--center { justify-content: center; }
.studio-social-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: inherit; text-decoration: none; }
.studio-social-link img { display: block; width: 24px; height: 24px; object-fit: contain; }
.studio-social-link:hover { opacity: .75; text-decoration: underline; }
.studio-social-link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.studio-social-icon { display: block; flex: 0 0 24px; width: 24px; height: 24px; background-color: currentColor; -webkit-mask: var(--social-icon) center / contain no-repeat; mask: var(--social-icon) center / contain no-repeat; }
.studio-nav-actions { display: flex; align-items: center; gap: 2rem; min-width: 0; }
.studio-socials--header { width: auto; padding: 0; flex-wrap: nowrap; flex-shrink: 0; }
.studio-socials--header.studio-socials--left { order: -1; }
/* Navigation and header socials collapse; the brand stays visible. */
.studio-nav-actions { flex-wrap: wrap; justify-content: center; flex: 1 1 auto; }
.studio-nav-actions > .studio-announcement { flex-basis: 100%; }
/* Align desktop navigation and socials to the right edge of the header. */
@media (min-width: 769px) {
  .studio-nav-actions { justify-content: flex-end; margin-left: auto; }
  .studio-nav-actions .navbar-links ul { justify-content: flex-end; }
}
@media (max-width: 768px) {
  .site-header .navbar { justify-content: space-between; }
  .site-header .toggle-button { flex-shrink: 0; min-width: 44px; min-height: 44px; }
  .studio-nav-actions { flex-basis: 100%; width: 100%; flex-direction: column; align-items: stretch; gap: .75rem; max-height: 75dvh; overflow-y: auto; padding-block: .5rem; }
  .js .studio-nav-actions { display: none; }
  .js .studio-nav-actions.active { display: flex; }
  .studio-nav-actions .brand { flex: none; text-align: center; }
  .studio-nav-actions .brand-link { justify-content: center; }
  .studio-nav-actions .navbar-links,
  .js .studio-nav-actions .navbar-links { display: block; width: 100%; max-height: none; overflow: visible; }
  .studio-nav-actions .navbar-links ul { flex-direction: column; }
  .studio-socials--header { flex-wrap: wrap; padding-inline: .5rem; }
  .studio-socials--header.studio-socials--left { order: initial; }
}
