/* EN | ES switcher: one control in the header of every page, 44px targets, visible at 390px */
.dg-lang { display: inline-flex; align-items: center; gap: 0; margin-left: auto; margin-right: 8px; font: 500 14px/1 var(--font-text, system-ui, sans-serif); color: var(--muted, #4a5675); flex: none; }
.dg-lang button { min-width: 44px; min-height: 44px; padding: 0 6px; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; border-radius: 8px; }
.dg-lang button[aria-pressed="true"] { color: var(--ink, #010b2f); font-weight: 600; text-decoration: underline; text-decoration-color: var(--action, #e20074); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.dg-lang button:focus-visible { outline: 2px solid var(--action, #e20074); outline-offset: 0; }
.nav__bar > .dg-lang { margin-left: 16px; }
@media (min-width: 1024px) { .nav__bar > .dg-lang { margin-left: 8px; margin-right: 0; } }
@media (max-width: 1023px) { .nav__bar > .dg-lang { margin-left: auto; } .nav__bar > .dg-lang + .nav__toggle { margin-left: 0; } }
.demo-bar .dg-lang { margin: 0 0 0 auto; color: #fff; }
.demo-bar .dg-lang button { color: #fff; }
.demo-bar .dg-lang button[aria-pressed="true"] { color: #fff; text-decoration-color: #fff; }
@media (max-width: 479px) { .actionbar .btn { padding-inline: 10px; font-size: 15px; gap: 4px; } .actionbar { gap: 6px; } }
