.language-menu {
  position: relative;
  z-index: 80;
  color: #fff;
  font-size: 0.8rem;
}

.language-menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  gap: 0.42rem;
  padding: 0.28rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: inherit;
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  list-style: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary:hover,
.language-menu summary:focus-visible,
.language-menu[open] summary {
  border-color: #f2e916;
  background: rgba(255, 255, 255, 0.1);
}

.language-menu summary:focus-visible {
  outline: 3px solid rgba(242, 233, 22, 0.48);
  outline-offset: 2px;
}

.language-menu-icon {
  color: #f2e916;
  font-size: 1rem;
  line-height: 1;
}

.language-menu-code {
  color: #f2e916;
  letter-spacing: 0.06em;
}

.language-menu-current {
  font-weight: 700;
}

.language-menu-chevron {
  font-size: 0.9rem;
  transition: transform 160ms ease;
}

.language-menu[open] .language-menu-chevron {
  transform: rotate(180deg);
}

.language-menu-list {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  display: grid;
  min-width: 190px;
  overflow: hidden;
  padding: 0.38rem;
  border: 1px solid rgba(10, 53, 82, 0.14);
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 18px 44px rgba(6, 35, 53, 0.24);
}

.language-menu-list a {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 0.78rem;
  border-radius: 0.62rem;
  color: #0a3552;
  text-decoration: none;
}

.language-menu-list a span {
  color: #087caa;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.language-menu-list a strong {
  font-size: 0.86rem;
}

.language-menu-list a:hover,
.language-menu-list a:focus-visible {
  background: #edf7fb;
  outline: none;
}

.language-menu-list a[aria-current="page"] {
  background: #0a5d83;
  color: #fff;
}

.language-menu-list a[aria-current="page"] span {
  color: #f2e916;
}

.mobile-language-menu {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(10, 53, 82, 0.16);
}

.mobile-language-menu .mobile-nav-submenu a[aria-current="page"] {
  background: #0a5d83;
  color: #fff;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.values-grid article {
  padding: 1.7rem;
  border: 1px solid rgba(10, 93, 131, 0.18);
  border-radius: 1.2rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(10, 53, 82, 0.08);
}

.values-grid article > span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: #087caa;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

dl.profile-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 1.5rem 0 0;
  border: 1px solid rgba(10, 93, 131, 0.18);
  border-radius: 1.2rem;
  background: rgba(10, 93, 131, 0.16);
}

dl.profile-facts > div {
  padding: 1.15rem 1.3rem;
  background: #fff;
}

dl.profile-facts dt {
  margin-bottom: 0.35rem;
  color: #087caa;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

dl.profile-facts dd {
  margin: 0;
  color: #0a3552;
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline article {
  display: grid;
  grid-template-columns: minmax(9rem, 0.32fr) 1fr;
  gap: 1.4rem;
  padding: 1.45rem;
  border-left: 5px solid #f2e916;
  border-radius: 0 1rem 1rem 0;
  background: #f7fbfd;
}

.timeline article > span {
  color: #087caa;
  font-weight: 900;
}

.timeline article h3 {
  margin-top: 0;
}

.overview-grid > a {
  display: flex;
  flex-direction: column;
}

.overview-grid > a > strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 46px;
  margin-top: auto;
  padding: 0.7rem 1.15rem;
  border: 2px solid #0a5d83;
  border-radius: 999px;
  background: #0a5d83;
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 8px 18px rgba(10, 53, 82, 0.16);
  transition: background-color 160ms ease, border-color 160ms ease,
    box-shadow 160ms ease, transform 160ms ease;
}

.overview-grid > a:hover > strong,
.overview-grid > a:focus-visible > strong {
  border-color: #0a3552;
  background: #0a3552;
  box-shadow: 0 10px 22px rgba(10, 53, 82, 0.24);
  transform: translateY(-1px);
}

.overview-grid > a:focus-visible {
  outline: 3px solid #f2e916;
  outline-offset: 4px;
}

@media (max-width: 840px) {
  .topbar-inner {
    flex-wrap: wrap;
  }

  .language-menu {
    order: 4;
  }

  .language-menu-current {
    display: none;
  }
}

@media (max-width: 520px) {
  .values-grid,
  dl.profile-facts {
    grid-template-columns: 1fr;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .overview-grid > a > strong {
    align-self: stretch;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .language-menu summary,
  .language-menu-chevron,
  .overview-grid > a > strong {
    transition: none;
  }
}
