:root {
  /* Basis-Farben */
  --color-white: #fff;
  --color-black: #000;
  --color-shadow: rgba(0, 0, 0, 0.05);

  /* Rahmenfarben */
  --color-border-light: #888;
  --color-border-medium: #777;
  --color-border-dark: #666;
  --color-border-hover: #999;

  /* Textfarben */
  --color-text-main: #000;
  --color-text-muted: #333;
  --color-text-subtle: #666;

  /* Hintergründe & Flächen */
  --color-bg-card: #fff;
  --color-bg-subtle: #fafafa;
  --color-bg-light: #f8f9fa;
  --color-bg-hover: #e9ecef;

  /* Buttons */
  --color-btn-primary-bg: #E9E9ED;
  --color-btn-primary-hover: #D0D0D7;
  --color-btn-secondary-bg: #e9ecef;
  --color-btn-secondary-hover: #dde0e3;

  /* Feedback / Alerts */
  --color-alert-info-bg: #e9ecef;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.tx-uk_symbole {
  margin: 0 auto;
}

.tx-uk_symbole .filter-form {
  border: 1px solid var(--color-border-medium);
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px var(--color-shadow);
  padding: 1rem;
  margin-bottom: 1rem;
}

.tx-uk_symbole .filter-details {
  border: 1px solid var(--color-border-light);
  border-radius: 0.5rem;
  background: var(--color-bg-card);
}

.tx-uk_symbole .filter-details summary {
  padding: 0.75rem 1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 0.5rem;
  background: var(--color-bg-light);
  transition: background 0.2s ease;
}

.tx-uk_symbole .filter-details summary:hover {
  background: var(--color-bg-hover);
}

.tx-uk_symbole .filter-details[open] summary {
  border-bottom: 1px solid var(--color-border-light);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.tx-uk_symbole .filter-details-content {
  padding: 1rem;
}

.tx-uk_symbole .category-filter {
  margin-bottom: 1.5rem;
}

.tx-uk_symbole .filter-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.tx-uk_symbole .category-filter fieldset {
  border: none;
  padding: 0rem;
  margin: 0rem;
}

.tx-uk_symbole .category-filter fieldset legend {
  font-weight: bold;
}

.tx-uk_symbole .category-filter ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
  gap: 0.5rem;
}

.tx-uk_symbole .category-filter ul li {
  display: flex;
  width: 100%;
}

.tx-uk_symbole .category-filter label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border-light);
  border-radius: 0.5rem;
  background: var(--color-bg-subtle);
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease;
  line-height: 1.4;
}

.tx-uk_symbole .category-filter label:hover {
  background: var(--color-bg-hover);
  border-color: var(--color-border-hover);
}

.tx-uk_symbole .category-filter input[type="checkbox"] {
  margin: 0;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.tx-uk_symbole .search-filter {
  margin-bottom: 1.5rem;
}

.tx-uk_symbole .search-filter label {
  display: inline-block;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.tx-uk_symbole .search-input {
  width: 100%;
  max-width: 18rem;
  padding: 0.25rem;
  box-sizing: border-box;
}

.tx-uk_symbole .paging-options {
  margin-bottom: 1.5rem;
}

.tx-uk_symbole .symbol-list h2 {
  margin-top: 0rem;
}

.tx-uk_symbole .symbol-list h3 {
  display: block;
  width: 10rem;
  font-size: 1rem;
  font-weight: bolder;
  margin-bottom: 0.5rem;
}

.tx-uk_symbole .symbol-list ul {
  list-style: none;
  padding: 0;
}

.tx-uk_symbole .symbol-list li {
  border: 1px solid var(--color-border-medium);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: var(--color-bg-card);
  box-shadow: 0 2px 4px var(--color-shadow);
}

.tx-uk_symbole .description {
  white-space: normal;
  position: relative;
  vertical-align: top;
  width: 100%;
  display: flex;
  margin-bottom: 1rem;
}

.tx-uk_symbole .description p,
.tx-uk_symbole .description .rte-content {
  display: inline-block;
  width: calc(100% - 10.25rem);
  margin: 0rem;
  font-size: 1rem;
}

.tx-uk_symbole .symbol-categories {
  display: flex;
  margin-bottom: 1rem;
}

.tx-uk_symbole .symbol-categories ul {
  width: calc(100% - 10.25rem);
  margin-top: -0.25rem;
}

.tx-uk_symbole .symbol-categories ul li {
  display: inline-block;
  padding: 0.25rem 0.35rem;
  margin-bottom: 0.3rem;
  border: none;
  box-shadow: none;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-medium);
  border-radius: 0.25rem;
  font-size: 0.9em;
}

.tx-uk_symbole .symbol-modal {
  padding: 20px;
  border: 1px solid var(--color-border-dark);
  border-radius: 8px;
  max-width: 700px;
}

.tx-uk_symbole .symbol-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tx-uk_symbole .symbol-modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  flex-grow: 1;
  word-break: break-word;
}

.tx-uk_symbole .btn-close-icon {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  font-weight: bold;
  color: var(--color-text-subtle);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.tx-uk_symbole .btn-close-icon:hover {
  color: var(--color-text-main);
}

.tx-uk_symbole .symbol-modal .btn-close {
  margin-top: 15px;
}

.tx-uk_symbole .symbol-actions {
  display: flex;
}

.tx-uk_symbole .symbol-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  width: calc(100% - 10.25rem);
}

.tx-uk_symbole .symbol-container>img {
  display: block;
  width: 10rem;
}

.tx-uk_symbole .symbol-column {
  width: 10rem;
  display: flex;
  flex-direction: column;
}

.tx-uk_symbole .download-buttons {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  margin-top: 0.5rem;
}

.tx-uk_symbole .download-buttons .btn {
  flex: 1;
  padding: 0.5rem 0;
  justify-content: center;
}

.tx-uk_symbole .btn {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  line-height: 1.5;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.tx-uk_symbole .btn-primary {
  background: var(--color-btn-primary-bg);
  color: var(--color-text-main);
  border: 1px solid var(--color-border-light);
}

.tx-uk_symbole .btn-primary:hover {
  background: var(--color-btn-primary-hover);
}

.tx-uk_symbole .btn-secondary {
  background: var(--color-btn-secondary-bg);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border-light);
  font-weight: normal;
}

.tx-uk_symbole .btn-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.tx-uk_symbole .btn-secondary:hover {
  background: var(--color-btn-secondary-hover);
}

.tx-uk_symbole .pagination-list {
  justify-content: center;
  align-items: center;
  list-style: none;
  display: flex;
  gap: 5px;
  padding: 0;
}

.tx-uk_symbole .pagination-list li {
  border: none;
  padding: 0rem;
  display: inline-block;
  box-shadow: none;
  background: transparent;
}

.tx-uk_symbole .alert {
  padding: 15px;
  border-radius: 0.5rem;
}

.tx-uk_symbole .alert-info {
  background: var(--color-alert-info-bg);
}

/* --- Mobile Optimierung (ganz unten in deiner Datei anpassen) --- */
@media screen and (max-width: 40rem) {

  .tx-uk_symbole .description,
  .tx-uk_symbole .symbol-categories,
  .tx-uk_symbole .symbol-actions {
    display: block;
  }

  .tx-uk_symbole .description p,
  .tx-uk_symbole .description .rte-content,
  .tx-uk_symbole .symbol-categories ul,
  .tx-uk_symbole .symbol-categories p,
  .tx-uk_symbole .symbol-container {
    width: 100%;
  }
}