/* UA Live Search 1.16.0 — (C) 2026 Usability Academy, GPL-2.0-or-later
   Look based on the former Minitek Live Search on usabilityacademy.com.
   Fonts and the link colour (titles, URLs) come from the template; adjust the rest via custom properties. */

.ua-ls {
  --ua-ls-bg: #fff;
  --ua-ls-text: #333;
  --ua-ls-muted: #777;
  --ua-ls-border: #e5e5e5;
  --ua-ls-addon-bg: #f5f5f5;
  --ua-ls-hover: rgba(0, 0, 0, .04);
  --ua-ls-terms-bg: #f4f4f4;
  --ua-ls-chip-required: #6cb86a;
  --ua-ls-chip-optional: #7a8b99;
  --ua-ls-chip-excluded: #d9534f;
  --ua-ls-active: #7cc4e4;
  --ua-ls-mark: rgba(255, 213, 0, .45);
  --ua-ls-radius: 4px;
  --ua-ls-max-height: 70vh;
  /* search field: fluid between min and max (component options → Layout) */
  --ua-ls-field-min: 160px;
  --ua-ls-field-fluid: 20vw;
  --ua-ls-field-max: 300px;
  --ua-ls-field-width: clamp(var(--ua-ls-field-min), var(--ua-ls-field-fluid), var(--ua-ls-field-max));
  position: relative;
  display: inline-block;
  max-width: 100%;
  vertical-align: middle;
  color: var(--ua-ls-text);
}

.ua-ls *, .ua-ls *::before, .ua-ls *::after { box-sizing: border-box; }

.ua-ls__form { position: relative; margin: 0; }

.ua-ls__sr {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.ua-ls__label { display: block; margin-bottom: .25rem; }

/* ---------- search field ---------- */

.ua-ls__bar {
  display: flex;
  align-items: stretch;
  width: var(--ua-ls-field-width);
  max-width: 100%;
  height: 2.75rem;
  background: var(--ua-ls-bg);
  border: 1px solid var(--ua-ls-border);
  border-radius: var(--ua-ls-radius);
  overflow: hidden;
}

.ua-ls__bar:focus-within { box-shadow: 0 0 0 2px var(--ua-ls-active); }

.ua-ls__addon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 2.75rem;
  padding: 0;
  margin: 0;
  background: var(--ua-ls-addon-bg);
  border: 0;
  border-right: 1px solid var(--ua-ls-border);
  color: var(--ua-ls-muted);
  cursor: default;
}

button.ua-ls__addon { cursor: pointer; }
.ua-ls__addon[hidden] { display: none; }

.ua-ls__input {
  flex: 1;
  min-width: 0;
  height: auto;
  padding: 0 .75rem;
  border: 0;
  background: transparent;
  color: var(--ua-ls-text);
  font: inherit;
  outline: none;
  box-shadow: none;
}

.ua-ls__input::-webkit-search-cancel-button { -webkit-appearance: none; }

.ua-ls__dates-toggle,
.ua-ls__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  align-self: center;
  width: 2rem;
  height: 2rem;
  margin-right: .375rem;
  padding: 0;
  border: 1px solid var(--ua-ls-border);
  border-radius: var(--ua-ls-radius);
  background: #eee;
  color: #666;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
  cursor: pointer;
}

.ua-ls__dates-toggle[aria-expanded="true"],
.ua-ls__dates-toggle.is-active { background: var(--ua-ls-active); color: #fff; border-color: var(--ua-ls-active); }

/* "Events" switch, right of the date button (on = only events).
   The field grows by the width of the switch, so the typing space stays as configured. */
.ua-ls { --ua-ls-scope-width: 5.5rem; }
.ua-ls__bar:has(.ua-ls__scope) { width: calc(var(--ua-ls-field-width) + var(--ua-ls-scope-width)); }

.ua-ls__scope {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  flex: none;
  align-self: center;
  height: 2rem;
  margin-right: .375rem;
  padding: 0 .4rem;
  border: 1px solid var(--ua-ls-border);
  border-radius: var(--ua-ls-radius);
  background: #eee;
  color: #666;
  font-size: .75rem;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
  cursor: pointer;
}

.ua-ls__scope-track {
  position: relative;
  flex: none;
  width: 1.5rem;
  height: .875rem;
  border-radius: 1rem;
  background: #bbb;
  transition: background-color .15s;
}

.ua-ls__scope-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(.875rem - 4px);
  height: calc(.875rem - 4px);
  border-radius: 50%;
  background: #fff;
  transition: transform .15s;
}

.ua-ls__scope[aria-pressed="true"] { color: var(--ua-ls-text); }
.ua-ls__scope[aria-pressed="true"] .ua-ls__scope-track { background: var(--ua-ls-active); }
.ua-ls__scope[aria-pressed="true"] .ua-ls__scope-knob { transform: translateX(.625rem); }
.ua-ls__scope:focus-visible { outline: 2px solid var(--ua-ls-active); outline-offset: 1px; }

@media (prefers-reduced-motion: reduce) {
  .ua-ls__scope-track, .ua-ls__scope-knob { transition: none; }
}

.ua-ls__toggle { width: 2.5rem; height: 2.5rem; margin: 0; background: transparent; box-shadow: none; border: 0; color: inherit; }

/* icons as CSS masks (no icon font needed) */
.ua-ls__icon {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: currentColor;
  -webkit-mask: var(--ua-ls-icon) center / contain no-repeat;
  mask: var(--ua-ls-icon) center / contain no-repeat;
}

.ua-ls__icon--search { --ua-ls-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='8.5' cy='8.5' r='6' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M13 13l5 5' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ua-ls__icon--close { --ua-ls-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 5l10 10M15 5L5 15' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); width: .875rem; height: .875rem; }
.ua-ls__icon--calendar { --ua-ls-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Crect x='2' y='4' width='16' height='14' rx='2' fill='black'/%3E%3Crect x='4' y='8' width='12' height='8' rx='1' fill='white'/%3E%3Cpath d='M6 2v4M14 2v4' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* spinner replaces the magnifier / × while loading */
.ua-ls__spinner {
  display: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--ua-ls-border);
  border-top-color: var(--ua-ls-muted);
  border-radius: 50%;
  animation: ua-ls-spin .7s linear infinite;
}

.ua-ls.is-busy .ua-ls__spinner:not([hidden]) { display: inline-block; }
.ua-ls__spinner[hidden] { display: none !important; }
.ua-ls.is-busy .ua-ls__addon .ua-ls__icon { display: none; }

@keyframes ua-ls-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ua-ls__spinner { animation-duration: 2s; } }

/* ---------- popovers (results + date filter) ---------- */

.ua-ls__popover {
  position: absolute;
  top: calc(100% + .75rem);
  left: 0;
  z-index: 1050;
  width: min(30rem, calc(100vw - 1rem)); /* replaced by JS: % of the window */
  background: var(--ua-ls-bg);
  color: var(--ua-ls-text);
  border: 1px solid var(--ua-ls-border);
  border-radius: var(--ua-ls-radius);
  box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .12);
  text-align: left;
}

.ua-ls__popover[hidden] { display: none; }

/* pointer arrow towards the search field */
.ua-ls__popover::before,
.ua-ls__popover::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: var(--ua-ls-caret, 2rem);
  border: solid transparent;
  pointer-events: none;
}

.ua-ls__popover::before { border-width: 10px; margin-left: -10px; border-bottom-color: var(--ua-ls-border); }
.ua-ls__popover::after { border-width: 9px; margin-left: -9px; border-bottom-color: var(--ua-ls-bg); }

.ua-ls__panel {
  max-height: var(--ua-ls-max-height);
  overflow: auto;
  padding: 1rem;
  overscroll-behavior: contain;
}

/* date filter */
.ua-ls__popover-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--ua-ls-border);
  background: #fafafa;
  border-radius: var(--ua-ls-radius) var(--ua-ls-radius) 0 0;
}

.ua-ls__popover-title { flex: 1; color: var(--ua-ls-muted); }

.ua-ls__dates-reset {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit; /* overridden by link colour below */
  cursor: pointer;
}

.ua-ls__dates-reset { color: var(--ua-ls-link, #c0392b); }

.ua-ls__dates-close {
  display: inline-flex;
  padding: .25rem .25rem .25rem .75rem;
  border: 0;
  border-left: 1px solid var(--ua-ls-border);
  background: none;
  color: var(--ua-ls-muted);
  cursor: pointer;
}

.ua-ls__popover-body { padding: 1rem 1.25rem 1.25rem; }
.ua-ls__date-row { display: grid; grid-template-columns: auto 1fr; gap: .5rem .75rem; align-items: center; margin-bottom: 1rem; }
.ua-ls__date-row:last-child { margin-bottom: 0; }
.ua-ls__date-label { grid-column: 1 / -1; color: var(--ua-ls-muted); margin: 0; }
.ua-ls__date-row select,
.ua-ls__date-row input { font: inherit; min-height: 2.25rem; padding: 0 .5rem; border: 1px solid var(--ua-ls-border); border-radius: var(--ua-ls-radius); background: #fff; color: var(--ua-ls-text); max-width: 100%; }

/* search terms (chips) */
.ua-ls__terms {
  margin-bottom: 1rem;
  padding: .875rem 1rem 1rem;
  background: var(--ua-ls-terms-bg);
  border: 1px solid var(--ua-ls-border);
  border-radius: var(--ua-ls-radius);
}

.ua-ls__terms[hidden] { display: none; }
.ua-ls__terms-title { display: block; margin-bottom: .5rem; font-size: .75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ua-ls-muted); }
.ua-ls__chips { display: flex; flex-wrap: wrap; gap: .5rem; }

.ua-ls__chip {
  display: inline-flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .375rem .5rem .375rem .75rem;
  border-radius: var(--ua-ls-radius);
  background: var(--ua-ls-chip-required);
  color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .15);
}

.ua-ls__chip--optional { background: var(--ua-ls-chip-optional); }
.ua-ls__chip--excluded { background: var(--ua-ls-chip-excluded); }
.ua-ls__chip-text { display: flex; flex-direction: column; line-height: 1.2; }
.ua-ls__chip-term { font-size: 1rem; }
.ua-ls__chip-kind { font-size: .75rem; opacity: .85; }

.ua-ls__chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ua-ls-chip-required);
  cursor: pointer;
}

.ua-ls__chip--optional .ua-ls__chip-remove { color: var(--ua-ls-chip-optional); }
.ua-ls__chip--excluded .ua-ls__chip-remove { color: var(--ua-ls-chip-excluded); }
.ua-ls__chip-remove .ua-ls__icon--close { width: .625rem; height: .625rem; }

/* summary */
.ua-ls__summary { text-align: center; padding-bottom: .75rem; margin-bottom: .5rem; border-bottom: 1px solid var(--ua-ls-border); }
.ua-ls__summary:empty { display: none; }
.ua-ls__summary p { margin: 0; }
.ua-ls__found { font-size: 1.125rem; }
.ua-ls__showing { font-size: .8125rem; color: var(--ua-ls-muted); margin-top: .25rem !important; }
.ua-ls__did-you-mean, .ua-ls__explained { font-size: .8125rem; color: var(--ua-ls-muted); margin-top: .5rem !important; }

.ua-ls__suggest {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

/* results: titles and URL take the template's link colour (YOOtheme: red) */
.ua-ls__results { list-style: none; margin: 0; padding: 0; }

.ua-ls__link {
  display: block;
  padding: .875rem .75rem;
  border-radius: var(--ua-ls-radius);
  text-decoration: none !important;
}

.ua-ls__link:hover,
.ua-ls__link:focus-visible { background: var(--ua-ls-hover); }

/* keyboard selection: clearly visible, not only by colour (WCAG 1.16.0) */
.ua-ls__item.is-active .ua-ls__link { background: var(--ua-ls-hover); box-shadow: inset 4px 0 0 currentColor; }

.ua-ls__title { display: block; font-size: 1.125rem; font-weight: 500; line-height: 1.35; }
.ua-ls__meta { display: block; font-size: .75rem; color: var(--ua-ls-muted); margin-top: .25rem; }
.ua-ls__text { display: block; margin-top: .5rem; font-size: .9375rem; line-height: 1.5; color: var(--ua-ls-muted); }
.ua-ls__url { display: block; margin-top: .375rem; font-size: .875rem; overflow-wrap: anywhere; }
.ua-ls mark { background: var(--ua-ls-mark); color: inherit; padding: 0; }

.ua-ls__footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-top: .75rem; margin-top: .5rem; border-top: 1px solid var(--ua-ls-border); }
.ua-ls__footer:empty { display: none; }

.ua-ls__more,
.ua-ls__all {
  padding: .5rem .875rem;
  border: 1px solid var(--ua-ls-border);
  border-radius: var(--ua-ls-radius);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .875rem;
  text-decoration: none;
  cursor: pointer;
}

.ua-ls__more:hover, .ua-ls__all:hover { background: var(--ua-ls-hover); }

/* toggle mode (icon that opens the field) */
.ua-ls--toggle .ua-ls__form[hidden] { display: none; }
.ua-ls--toggle .ua-ls__form:not([hidden]) { position: absolute; top: calc(100% + .5rem); right: 0; z-index: 1051; }

/* small screens: the field may use the free space in the header */
@media (max-width: 639px) {
  .ua-ls { --ua-ls-field-width: clamp(var(--ua-ls-field-min), 52vw, var(--ua-ls-field-max)); }
  .ua-ls__addon { width: 2.5rem; }
  .ua-ls__panel { padding: .75rem; }
  .ua-ls__title { font-size: 1.0625rem; }
  /* only the switch itself; the word stays available to screen readers */
  .ua-ls { --ua-ls-scope-width: 2.75rem; }
  .ua-ls__scope { padding: 0 .35rem; }
  .ua-ls__scope-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (prefers-color-scheme: dark) {
  .ua-ls--auto-dark {
    --ua-ls-bg: #1f2125;
    --ua-ls-text: #eee;
    --ua-ls-muted: #aaa;
    --ua-ls-border: rgba(255, 255, 255, .2);
    --ua-ls-addon-bg: #2a2d33;
    --ua-ls-terms-bg: #2a2d33;
    --ua-ls-hover: rgba(255, 255, 255, .08);
  }
}

/* pinned results ("Recommended", component options → Pinned results) */
.ua-ls__item--pinned { background: var(--ua-ls-pinned-bg, #f2f9fc); border-left: 3px solid var(--ua-ls-active); }
.ua-ls__badge {
  display: table;
  margin-bottom: .25rem;
  padding: .125rem .5rem;
  border-radius: 1rem;
  background: var(--ua-ls-active);
  color: #fff;
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.ua-ls__meta--dates { color: var(--ua-ls-text); font-weight: 600; }

/* URL line (module options "URL display"): full / single (one line …) / short (domain › last part) */
.ua-ls__url-short { display: none; }
.ua-ls--url-single:not(.is-mobile) .ua-ls__url,
.ua-ls--url-short:not(.is-mobile) .ua-ls__url,
.ua-ls--url-m-single.is-mobile .ua-ls__url,
.ua-ls--url-m-short.is-mobile .ua-ls__url { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; }
.ua-ls--url-short:not(.is-mobile) .ua-ls__url-full,
.ua-ls--url-m-short.is-mobile .ua-ls__url-full { display: none; }
.ua-ls--url-short:not(.is-mobile) .ua-ls__url-short,
.ua-ls--url-m-short.is-mobile .ua-ls__url-short { display: inline; }

/* Excerpt cut to N lines (module options "Text lines"), "none" = complete */
.ua-ls__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--ua-ls-text-lines, none); line-clamp: var(--ua-ls-text-lines, none); overflow: hidden; }
.ua-ls.is-mobile .ua-ls__text { -webkit-line-clamp: var(--ua-ls-text-lines-m, none); line-clamp: var(--ua-ls-text-lines-m, none); }

/* "Zeitzone & Ort" (EventBooking locations) in the filter panel; only with the Termine switch on */
.ua-ls__location-row select { grid-column: 1 / -1; width: 100%; }
.ua-ls__location-hint { grid-column: 1 / -1; font-size: .8125rem; color: var(--ua-ls-muted); }
.ua-ls__location-row.is-disabled select { opacity: .5; }
.ua-ls__location-row:not(.is-disabled) .ua-ls__location-hint { display: none; }

/* Events: price + "Anmelden" (EventBooking registration) below the result */
.ua-ls__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: 0 .75rem .875rem; }
.ua-ls__price { font-weight: 600; color: var(--ua-ls-text); }
.ua-ls__register {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: .375rem 1rem;
  border-radius: var(--ua-ls-radius);
  background: var(--ua-ls-register-bg, #c8352a);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
}
.ua-ls__register:hover,
.ua-ls__register:focus-visible { filter: brightness(.92); outline: 2px solid var(--ua-ls-active); outline-offset: 2px; }

/* "Featured" label (EventBooking / Joomla "featured"), next to the "Empfehlung" style */
.ua-ls__badge--featured { background: var(--ua-ls-featured-bg, #f2b01e); color: #3a2a00; text-transform: none; letter-spacing: 0; font-size: .75rem; }

/* ---------- results page ("All results"), events as a table like the EventBooking lists ---------- */
.ua-ls-page__form { margin: 1rem 0 1.5rem; }
.ua-ls--page { display: block; }
.ua-ls--page .ua-ls__bar { width: 100%; max-width: none; }
.ua-ls-page__summary { color: var(--ua-ls-muted, #777); }
.ua-ls-page__pinned { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.ua-ls-page__pin { padding: .875rem 1rem; background: #f2f9fc; border-left: 3px solid #7cc4e4; }
.ua-ls-page__pin-title, .ua-ls-page__item-title { font-size: 1.125rem; font-weight: 600; }
.ua-ls-page__text { margin-top: .375rem; color: #666; }
.ua-ls-page__subtitle { margin-top: 2rem; }
.ua-ls-page__list { padding: 0; list-style: none; }
.ua-ls-page__item { padding: .875rem 0; border-top: 1px solid #e5e5e5; }
.ua-ls-table { width: 100%; border-collapse: collapse; }
.ua-ls-table th,
.ua-ls-table.uk-table th { text-align: left; font-size: .875rem; text-transform: uppercase; letter-spacing: .02em; color: var(--ua-ls-heading, #222); font-weight: 700; }
.ua-ls-table th, .ua-ls-table td { padding: .75rem .5rem; border-bottom: 1px solid #e5e5e5; vertical-align: middle; }
.ua-ls-table__title a { font-weight: 600; }
.ua-ls-table__more, .ua-ls-table__label { display: block; font-size: .8125rem; color: #777; }
.ua-ls-table__date, .ua-ls-table__price { white-space: nowrap; }
.ua-ls-table__price { font-weight: 600; }
.ua-ls-table__location { font-size: .875rem; color: #555; max-width: 18rem; }
.ua-ls-table__action { text-align: right; }
.ua-ls-table .ua-ls__badge { margin-bottom: .25rem; }
@media (max-width: 959px) {
  .ua-ls-table thead { display: none; }
  .ua-ls-table tr { display: block; padding: .75rem 0; border-bottom: 1px solid #e5e5e5; }
  .ua-ls-table td { display: block; padding: .2rem 0; border: 0; white-space: normal; text-align: left; }
  .ua-ls-table__action { margin-top: .5rem; }
}

/* intro text in the results table (as in the live panel) */
.ua-ls-table__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; margin-top: .375rem; font-size: .9375rem; color: #666; font-weight: 400; }
/* module option "Width: Page (wide)" – e.g. above the Termine list */
.ua-ls--wide { display: block; width: 100%; }
.ua-ls--wide .ua-ls__bar,
.ua-ls--wide .ua-ls__bar:has(.ua-ls__scope) { width: 100%; max-width: none; }

/* "Alle N anzeigen" under the result count in the live panel */
.ua-ls__show-all {
  display: inline-block;
  margin-top: .5rem;
  padding: .375rem 1rem;
  border-radius: var(--ua-ls-radius);
  background: var(--ua-ls-register-bg, #c8352a);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
}
.ua-ls__show-all:hover, .ua-ls__show-all:focus-visible { filter: brightness(.92); }
.ua-ls-page__pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.ua-ls-module-table__all { margin-top: 1rem; text-align: center; }

/* visitor checkbox "Nur Garantietermine" in the filter panel */
.ua-ls__check { display: flex; align-items: center; gap: .5rem; grid-column: 1 / -1; cursor: pointer; font-weight: 600; }
.ua-ls__check input { width: 1.125rem; height: 1.125rem; min-height: 0; margin: 0; accent-color: var(--ua-ls-featured-bg, #f2b01e); }

/* ---------- filters as a visible row (wide field on desktop: results page, events table, Termine page) ---------- */
.ua-ls--filters-inline:not(.is-mobile) .ua-ls__dates-toggle { display: none; }
.ua-ls--filters-inline:not(.is-mobile) .ua-ls__dates,
.ua-ls--filters-inline:not(.is-mobile) .ua-ls__dates[hidden] {
  display: flex !important;
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  flex-direction: row-reverse;
  align-items: flex-end;
  gap: .5rem 1rem;
  margin-top: .75rem;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.ua-ls--filters-inline:not(.is-mobile) .ua-ls__dates::before,
.ua-ls--filters-inline:not(.is-mobile) .ua-ls__dates::after { display: none; }
.ua-ls--filters-inline:not(.is-mobile) .ua-ls__dates .ua-ls__popover-head { padding: 0 0 .5rem; border: 0; background: none; }
.ua-ls--filters-inline:not(.is-mobile) .ua-ls__popover-title,
.ua-ls--filters-inline:not(.is-mobile) .ua-ls__dates-close { display: none; }
.ua-ls--filters-inline:not(.is-mobile) .ua-ls__dates .ua-ls__popover-body {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .75rem 1rem;
  padding: 0;
}
.ua-ls--filters-inline:not(.is-mobile) .ua-ls__date-row { flex: 1 1 13rem; margin: 0; min-width: 0; }
.ua-ls--filters-inline:not(.is-mobile) .ua-ls__location-row { flex: 2 1 16rem; }
.ua-ls--filters-inline:not(.is-mobile) .ua-ls__featured-row { flex: 0 1 auto; align-self: center; order: 9; } /* course first, checkbox last */
.ua-ls--filters-inline:not(.is-mobile) .ua-ls__date-row select { width: 100%; }
.ua-ls--filters-inline:not(.is-mobile) .ua-ls__location-hint { display: none; }

/* ---------- filters always visible ("Immer sichtbar"): also on phones, stacked ---------- */
.ua-ls--filters-always .ua-ls__dates-toggle { display: none; }
.ua-ls--filters-always .ua-ls__dates,
.ua-ls--filters-always .ua-ls__dates[hidden] {
  display: flex !important;
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  flex-direction: row-reverse;
  align-items: flex-end;
  gap: .5rem 1rem;
  margin-top: .75rem;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.ua-ls--filters-always .ua-ls__dates::before,
.ua-ls--filters-always .ua-ls__dates::after { display: none; }
.ua-ls--filters-always .ua-ls__dates .ua-ls__popover-head { padding: 0 0 .5rem; border: 0; background: none; }
.ua-ls--filters-always .ua-ls__popover-title,
.ua-ls--filters-always .ua-ls__dates-close { display: none; }
.ua-ls--filters-always .ua-ls__dates .ua-ls__popover-body {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .75rem 1rem;
  padding: 0;
}
.ua-ls--filters-always .ua-ls__date-row { flex: 1 1 13rem; margin: 0; min-width: 0; }
.ua-ls--filters-always .ua-ls__location-row { flex: 2 1 16rem; }
.ua-ls--filters-always .ua-ls__featured-row { flex: 0 1 auto; align-self: center; order: 9; } /* course first, checkbox last */
.ua-ls--filters-always .ua-ls__date-row select { width: 100%; }
.ua-ls--filters-always .ua-ls__location-hint { display: none; }

@media (max-width: 639px) {
  .ua-ls--filters-always .ua-ls__dates { flex-direction: column-reverse !important; align-items: stretch !important; }
  .ua-ls--filters-always .ua-ls__date-row,
  .ua-ls--filters-always .ua-ls__location-row { flex: 1 1 100%; }
}

/* events table: every second row light grey */
.ua-ls-table tbody tr:nth-child(even) { background: var(--ua-ls-stripe, #f6f6f6); }
.ua-ls-table tbody tr:hover { background: var(--ua-ls-stripe-hover, #eef2f5); }
