.language-switch {
  position: relative;
  flex: none;
  font-size: 12px;
  font-weight: 700;
}

.language-switch-desktop > summary {
  list-style: none;
  cursor: pointer;
  white-space: nowrap;
  padding: 9px 0;
}

.language-switch-desktop > summary::-webkit-details-marker { display: none; }
.language-switch-desktop > summary::after {
  content: "⌄";
  margin-left: 5px;
  font-size: 14px;
}
.language-switch-desktop[open] > summary::after { content: "⌃"; }
.language-switch-desktop > summary:focus-visible,
.language-switch-menu a:focus-visible,
.language-switch-mobile a:focus-visible {
  outline: 3px solid var(--v2-orange, var(--rust));
  outline-offset: 3px;
}

.language-switch-menu {
  position: absolute;
  z-index: 35;
  top: calc(100% + 12px);
  right: 0;
  min-width: 178px;
  padding: 7px;
  background: #fff;
  color: var(--v2-ink, var(--ink));
  border: 1px solid var(--v2-line, var(--line));
  box-shadow: 0 16px 38px #0e2a2426;
}
.language-switch-menu a {
  display: block;
  padding: 9px 11px;
  white-space: nowrap;
}
.language-switch-menu a:hover,
.language-switch-menu a[aria-current="page"] {
  background: var(--v2-paper, var(--stone));
  color: var(--v2-teal, var(--rust));
}
.language-switch-mobile { display: none; }

@media (max-width: 980px) {
  .v2-nav .language-switch { width: 100%; margin-top: 8px; }
  .v2-nav .language-switch-desktop { display: none; }
  .v2-nav .language-switch-mobile { display: flex; flex-wrap: wrap; gap: 8px; }
  .v2-nav .v2-nav-cta { color: #fff !important; }
}
@media (max-width: 900px) {
  .site-nav .language-switch { width: 100%; margin-top: 8px; }
  .site-nav .language-switch-desktop { display: none; }
  .site-nav .language-switch-mobile { display: flex; flex-wrap: wrap; gap: 8px; }
}
.language-switch-mobile a {
  display: inline-flex;
  justify-content: center;
  min-width: 58px;
  padding: 8px 12px;
  border: 1px solid var(--v2-line, var(--line));
  border-radius: 999px;
  background: #fff;
  color: var(--v2-ink, var(--ink));
}
.language-switch-mobile a[aria-current="page"] {
  border-color: var(--v2-teal, var(--rust));
  background: var(--v2-teal, var(--rust));
  color: #fff;
}

.footer-language {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #45605a;
  font-size: .875rem;
}
.footer-language a { color: inherit; opacity: .8; }
.footer-language a:hover,
.footer-language a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: .3em; }
.footer-language a:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

@media (min-width: 981px) {
  .v2-evidence-grid { grid-template-columns: minmax(0, 1.65fr) repeat(3, minmax(0, 1fr)); }
  .v2-evidence-grid article { min-width: 0; overflow-wrap: anywhere; }
  .v2-quality { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .v2-stage-list li { grid-template-columns: 60px minmax(0, 1fr); }
  .v2-process { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .v2-process li { min-width: 0; overflow-wrap: anywhere; }
}

@media (max-width: 640px) {
  .v2-evidence-grid { grid-template-columns: minmax(0, 1fr); }
  .v2-evidence-grid article { min-width: 0; overflow-wrap: anywhere; }
  .v2-preview-note { width: auto; overflow-wrap: anywhere; }
}
