/* =========================================================
   Grundvariablen
========================================================= */
:root {
  --base-font-size: 100%;
  --important-bg: rgba(255, 230, 150, 0.6);
}

/* =========================================================
   Skalierung NUR für Content
========================================================= */
body {
  font-size: var(--base-font-size) !important;
}

.entry-content,
.wp-site-blocks,
.wp-block-post-content,
main,
article,
p,
li,
blockquote,
td,
th {
  font-size: inherit !important;
}

/* =========================================================
   ALT: Important Terms (Default: AUS)
========================================================= *//*
span.importantTerm {
  background-color: transparent;
  font-weight: normal;
  padding: 0 0.1em;
}

/* Zustand: Hervorhebung EIN *//*
.important-on span.importantTerm {
  background-color: var(--important-bg);
  font-weight: bold;
}
*/
/* =========================================================
   Important Terms – Unterstreichung
========================================================= */

span.importantTerm {
  text-decoration: none;
}

.important-on span.importantTerm {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
/*  text-decoration-color: rgba(0, 0, 0, 1) !important; */
}

/* =========================================================
   Floating UI – NIE mitskalieren
========================================================= */
#uds-ui,
#uds-ui * {
  font-size: 14px !important;
  line-height: 1.4 !important;
}

#uds-ui {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 99999;
  font-family: inherit;
}

#uds-toggle {
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  border: none;
  background: #333;
  color: #fff;
  cursor: pointer;
}

#uds-menu {
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

#uds-menu button {
  display: block;
  width: 100%;
  margin-bottom: 0.3rem;
}

/* ==========================================
   Scroll-to-Top Button
========================================== */

#uds-scroll-top {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #333;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 99999;
}

#uds-scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

