.av-site-language {
  position: relative;
  display: inline-block;
  color: #182942;
  flex: none;
}
.av-site-language summary {
  box-sizing: border-box;
  display: flex;
  min-height: 44px;
  min-width: 49px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 8px;
  list-style: none;
  cursor: pointer;
  color: inherit;
  border: 1px solid #d7dde7;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.av-site-language summary::-webkit-details-marker { display: none; }
.av-language-chevron {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
}
.av-site-language[open] .av-language-chevron { transform: translateY(2px) rotate(225deg); }
.av-site-language summary:is(:hover,:focus-visible), .av-site-language[open] summary {
  border-color: #bb2942;
  box-shadow: 0 0 0 3px #bb29421c;
}
.av-site-language summary:active { transform: scale(.96); }
.av-site-language ul {
  color: #182942;
  list-style: none;
  position: absolute;
  z-index: 60;
  inset: calc(100% + 7px) 0 auto auto;
  width: max-content;
  min-width: 148px;
  max-width: calc(100vw - 32px);
  margin: 0;
  padding: 5px;
  border: 1px solid #e1e5ed;
  border-radius: 15px;
  background: #fff;
  text-align: left;
  box-shadow: 0 14px 34px #141b3828;
}
.av-site-language li { margin: 0; padding: 0; }
.av-site-language li a {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  white-space: nowrap;
  padding: 0 11px;
  color: #182942 !important;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.av-site-language a:hover, .av-site-language a:focus-visible, .av-site-language a[aria-current] { background: #fff2cc; }
.av-site-language a[aria-current]::after { content: "✓"; margin-left: 13px; }
.av-site-language a:focus-visible, .av-site-language summary:focus-visible {
  outline: 2px solid #9e2740;
  outline-offset: 2px;
}
.mini-head > div:last-child { display: flex; align-items: center; gap: 8px; }
@media (max-width: 380px) {
  .navin .nav-ctas { gap: 4px; }
  .navin .av-site-language summary { min-width: 44px; padding-inline: 6px; }
  .navin .brand img { width: min(122px, 35vw); }
  .navin .nav-try { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) { .av-site-language summary { transition: none; } }
@media (max-width: 920px) {
  html[lang="en"], html[lang="es"] { overflow-x: clip; }
}

body > .av-site-language ul {left:0;right:auto}
