/* Language switcher (EN | ES) added to the original header. */
.pd-lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  margin: 0 10px 0 0;
  border: 1px solid rgba(127, 127, 127, 0.35);
  border-radius: 999px;
  font: 600 12px/1 inherit;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.pd-lang-opt {
  display: inline-block;
  padding: 6px 9px;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  opacity: 0.7;
}
.pd-lang-opt:hover,
.pd-lang-opt:focus-visible {
  opacity: 1;
}
.pd-lang-opt[aria-current="true"] {
  background: currentColor;
  opacity: 1;
}
.pd-lang-opt[aria-current="true"] {
  /* readable text on the filled pill */
  color: inherit;
  background: rgba(127, 127, 127, 0.22);
}
.pd-lang-mobile {
  margin: 12px 16px;
  align-self: flex-start;
}
/* Desktop switcher sits in the header bar; on small screens it lives in the menu panel. */
@media (max-width: 1024px) {
  .site-header .pd-lang:not(.pd-lang-mobile) {
    display: none;
  }
}
@media (min-width: 1025px) {
  .pd-lang-mobile {
    display: none;
  }
}
