/* A plain language control, independent of the delivery-country selector. */
.language-menu { position: relative; flex: 0 0 auto; margin-left: auto; }
.bar-links + .language-menu { margin-left: 0; }
.language-menu summary { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px; cursor: pointer; font-size: 16px; font-weight: 600; list-style: none; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after { content: '⌄'; font-size: 18px; }
.language-menu nav { position: absolute; top: calc(100% + 8px); right: 0; display: grid; width: 180px; padding: 8px; background: var(--white, #fff); color: var(--ink, #222); }
.language-menu:not([open]) nav { display: none; }
.language-menu a { display: block; padding: 12px 16px; text-decoration: none; font-size: 16px; }
.language-menu a[aria-current], .language-menu a:hover { background: var(--surface, #f3f3ef); }
.language-menu nav :focus-visible { outline-color: var(--ink, #222); }
.p-language { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 20px; background: var(--surface); }
.p-language label { font-size: 16px; font-weight: 600; }
.p-language select { max-width: 55%; font: inherit; color: var(--ink); background: var(--white); padding: 10px; border: 0; border-radius: 0; }
.p-language + .p-hint { margin-top: 8px; }
/* Keep the longer German closing word fully inside the Equal Earth motif. */
html[lang="de"] .material-variant .cta-word { font-size: min(17vw, 272px); }
@media (max-width: 1100px) {
  .bar .language-menu { margin-left: auto; }
  .bar:has(.language-menu) { gap: 12px; }
  .bar .language-menu + .bar-action, .bar .language-menu + .p-cart { margin-left: 0; }
}
@media (max-width: 760px) {
  .bar .p-cart > span:first-of-type { display: none; }
  .bar .p-cart { padding-inline: 12px; }
  .modern-atlas .bar-mark img { width: 168px; }
  .bar:has(.language-menu) { gap: 8px; }
  .language-menu summary { padding-inline: 6px; }
  .p-language { padding: 14px 16px; }
}

/* The Dutch edition names are longer than the English names in the compact index. */
@media (max-width: 1100px) {
  html[lang="nl"] .ac-political h2, html[lang="nl"] .ac-physical h2 { font-size: 20px; }
}

/* Keep the full Dutch edition name readable inside the three compact choices. */
@media (max-width: 760px) {
  html[lang="nl"] .map-switch-text { min-width: 0; grid-template-columns: minmax(0, 1fr); }
  html[lang="nl"] .map-switch-name { min-width: 0; font-size: 16px; hyphens: auto; overflow-wrap: anywhere; }
}
