@media (min-width: 1025px) {
  /* Center the menu widget itself, independent of translated label widths. */
  .elementor-6798 .elementor-element.elementor-element-4e707866,
  .elementor-10267 .elementor-element.elementor-element-4846fbe {
    left: 50% !important;
    right: auto !important;
    width: max-content !important;
    transform: translateX(-50%) !important;
  }
  /* Keep the exported X-System copy inside its card at laptop widths. */
  .elementor-element.elementor-element-6e85202,
  .elementor-element.elementor-element-625aaa1 {
    max-width: calc(100% - 96px);
  }
  .elementor-element.elementor-element-b9aa94a,
  .elementor-element.elementor-element-b0eff57 {
    max-width: calc(100% - 186px);
  }
}

@media (min-width: 1025px) and (max-width: 1150px) {
  .elementor-6798 .e-n-menu-title,
  .elementor-10267 .e-n-menu-title {
    padding-inline: 8px;
  }
}

.local-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* The exported footer has a 362rem tablet width, overflowing every page. */
@media (min-width: 768px) and (max-width: 1024px) {
  .elementor-6725 .elementor-element.elementor-element-7a020d9b,
  .elementor-10282 .elementor-element.elementor-element-e629864 {
    --width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  .elementor-heading-title,
  .elementor-widget-text-editor {
    overflow-wrap: anywhere;
  }
  html[lang^="de"] .elementor-heading-title {
    hyphens: auto;
  }
  .elementor-element:is(.elementor-element-060fe55, .elementor-element-890a961,
    .elementor-element-8df2c72, .elementor-element-489453f,
    .elementor-element-4f186bab, .elementor-element-8a8b54e) {
    max-width: calc(100% - 40px);
  }
}

.cpel-switcher--layout-dropdown .cpel-switcher__toggle--on + .cpel-switcher__list {
  max-height: 20rem;
  overflow-y: auto;
}

/* Only EN and DE are selectable for now; keep a direct-visit locale in the toggle. */
.cpel-switcher__list > li:has(> a[lang^="fr"]),
.cpel-switcher__list > li:has(> a[lang^="es"]),
.cpel-switcher__list > li:has(> a[lang^="nl"]),
.cpel-switcher__list > li:has(> a[lang^="pt"]) {
  display: none !important;
}

/* Older browsers without :has still hide these links and their focus targets. */
.cpel-switcher__list a[lang^="fr"],
.cpel-switcher__list a[lang^="es"],
.cpel-switcher__list a[lang^="nl"],
.cpel-switcher__list a[lang^="pt"] {
  display: none !important;
}

.cpel-switcher__toggle[role="button"]:focus-visible {
  outline: 2px solid #6574d8;
  outline-offset: 2px;
}
