/* ==========================================================
   DTKV DOWNLOADS – KONSOLIDIERTE FASSUNG
   ========================================================== */
/* Reihenfolge und Spezifität wurden bewusst beibehalten. */

/* ==========================================================
   GRUNDLAYOUT, SUCHE, SORTIERUNG UND DOWNLOADLISTE
   ========================================================== */

.dtkv-download-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 20px;
  width: 100%;
  margin: 0;
}

.dtkv-download-filter__search {
  position: relative;
  min-width: 0;
}

.dtkv-download-filter__search-input {
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 86px 0 16px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--dtkv-surface, #ffffff);
  border: 1px solid var(--dtkv-border-strong, #d8d0c4);
  border-radius: 8px !important;
  color: var(--dtkv-text, #1f1f1f);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.dtkv-download-filter__search-input::placeholder {
  color: #77736c;
  opacity: 1;
}

.dtkv-download-filter__search-input:hover {
  border-color: var(--dtkv-primary, #a9936f);
}

.dtkv-download-filter__search-input:focus {
  border-color: var(--dtkv-primary, #a9936f);
  outline: none;
  box-shadow: 0 0 0 3px rgba(169, 147, 111, 0.14);
}

.dtkv-download-filter__search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  margin-right: 42px;
  cursor: pointer;
  background: linear-gradient(45deg, transparent 46%, currentColor 47%, currentColor 53%, transparent 54%), linear-gradient(-45deg, transparent 46%, currentColor 47%, currentColor 53%, transparent 54%);
  color: var(--dtkv-secondary, #4a4a4a);
  opacity: 0.65;
}

.dtkv-download-filter__search-input::-webkit-search-cancel-button:hover {
  opacity: 1;
}

.dtkv-download-filter__search-button {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent !important;
  border: 0;
  border-radius: 0 8px 8px 0 !important;
  color: var(--dtkv-text, #1f1f1f) !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.dtkv-download-filter__search-button:hover,
.dtkv-download-filter__search-button:active {
  background-color: transparent;
  color: var(--dtkv-primary, #A9936F) !important;
}

.dtkv-download-filter__search-button:focus-visible {
  outline: 2px solid var(--dtkv-primary, #a9936f);
  outline-offset: -3px;
}

.dtkv-download-filter__search-button svg {
  display: block;
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.dtkv-download-filter__sort {
  position: relative;
}

.dtkv-download-filter__sort::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: var(--dtkv-text, #1f1f1f);
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.dtkv-download-filter__sort-select {
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 42px 0 16px;
  appearance: none;
  -webkit-appearance: none;
  background: var(--dtkv-surface, #ffffff) !important;
  border: 1px solid var(--dtkv-border-strong, #d8d0c4);
  border-radius: 8px;
  color: var(--dtkv-text, #1f1f1f);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.dtkv-download-filter__sort-select:hover {
  border-color: var(--dtkv-primary, #a9936f);
}

.dtkv-download-filter__sort-select:focus {
  border-color: var(--dtkv-primary, #a9936f);
  outline: none;
  box-shadow: 0 0 0 3px rgba(169, 147, 111, 0.14);
}

.dtkv-download-list {
  width: 100%;
  transition: opacity 0.18s ease, filter 0.18s ease;
}

.dtkv-download-list.is-loading {
  opacity: 0.45;
  filter: grayscale(0.15);
  pointer-events: none;
}

.dtkv-download-filter.is-loading {
  cursor: progress;
}

.dtkv-download-filter.is-loading .dtkv-download-filter__search-button {
  pointer-events: none;
}

.dtkv-download-filter.is-loading .dtkv-download-filter__search-button svg {
  animation: dtkv-download-search-pulse 0.8s ease-in-out infinite alternate;
}

@keyframes dtkv-download-search-pulse {
  from {
    opacity: 0.4;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.dtkv-download-sidebar {
  width: 230px;
  min-width: 230px;
  flex: 0 0 230px;
}

.dtkv-download-sidebar .elementor-heading-title {
  margin: 0;
  line-height: 1.3;
}

.dtkv-download-categories {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.dtkv-download-categories__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.dtkv-download-categories__item:hover {
  color: var(--dtkv-primary, #a9936f);
  background: var(--dtkv-primary-soft, #f3efe8);
  border-color: var(--dtkv-border, #ece7df);
}

.dtkv-download-categories__item.is-active {
  border-color: var(--dtkv-primary, #a9936f);
}

.dtkv-download-categories__item.is-active:hover {
  color: #ffffff;
  background: var(--dtkv-accent, #8a7554);
  border-color: var(--dtkv-accent, #8a7554);
}

.dtkv-download-categories__count {
  min-width: 20px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  opacity: 0.75;
}

.dtkv-download-list__table {
  overflow: hidden;
  width: 100%;
  background: var(--dtkv-surface, #ffffff);
  border: 1px solid var(--dtkv-line, #e8e4de);
}

.dtkv-download-list__head,
.dtkv-download-list__row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(90px, 0.65fr) minmax(110px, 0.75fr) 72px;
  align-items: center;
  gap: 24px;
}

.dtkv-download-list__head {
  min-height: 58px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--dtkv-line, #e8e4de);
  color: var(--dtkv-text, #1f1f1f);
  font-size: 14px;
  line-height: 1.35;
}

.dtkv-download-list__head-download {
  color: var(--dtkv-primary, #a9936f);
  text-align: right;
}

.dtkv-download-list__row {
  min-height: 108px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--dtkv-line, #e8e4de);
  transition: background-color 0.18s ease;
}

.dtkv-download-list__group:last-child .dtkv-download-list__row:last-child {
  border-bottom: 0;
}

.dtkv-download-list__group-head {
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  padding: 9px 14px;
  background: var(--dtkv-primary-soft, #f3efe8);
  border-top: 1px solid var(--dtkv-line, #e8e4de);
}

.dtkv-download-list__group:first-child .dtkv-download-list__group-head {
  border-top: 0;
}

.dtkv-download-list__group-title {
  color: var(--dtkv-text, #1f1f1f);
  font-weight: 700;
}

.dtkv-download-list__group-count {
  flex: 0 0 auto;
  font-weight: 500;
}

.dtkv-download-list__row:hover {
  background: var(--dtkv-primary-soft, #f3efe8);
}

.dtkv-download-list__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.dtkv-download-list__description {
  margin: 7px 0 0;
  color: var(--dtkv-secondary, #4a4a4a);
  font-size: 15px;
  line-height: 1.48;
}

.dtkv-download-list__note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 9px 0 0;
  color: var(--dtkv-secondary, #4a4a4a);
  font-size: 13px;
  line-height: 1.4;
}

.dtkv-download-list__note svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  fill: none;
  stroke: var(--dtkv-primary, #a9936f);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dtkv-download-list__version,
.dtkv-download-list__format {
  color: var(--dtkv-secondary, #4a4a4a);
  font-size: 15px;
  line-height: 1.45;
}

.dtkv-download-list__format {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.dtkv-download-list__size {
  color: #77736c;
  font-size: 13px;
}

.dtkv-download-list__action {
  display: flex;
  justify-content: flex-end;
}

.dtkv-download-list__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--dtkv-primary, #a9936f);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.dtkv-download-list__download:hover {
  color: var(--dtkv-text, #1f1f1f);
  background: var(--dtkv-surface, #ffffff);
}

.dtkv-download-list__download svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dtkv-download-list__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  color: var(--dtkv-secondary, #4a4a4a);
  font-size: 14px;
}

.dtkv-download-list__empty {
  padding: 48px 24px;
  background: var(--dtkv-surface, #ffffff);
  border: 1px solid var(--dtkv-line, #e8e4de);
  border-radius: 12px;
  color: var(--dtkv-secondary, #4a4a4a);
  text-align: center;
}

.dtkv-download-list__empty p {
  margin: 0;
}

.dtkv-download-list__missing {
  color: #8b8780;
}

@media (max-width: 1100px) {
  .dtkv-download-list__head,
  .dtkv-download-list__row {
    grid-template-columns: minmax(230px, 1fr) minmax(75px, 0.6fr) minmax(100px, 0.75fr) 58px;
    gap: 16px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 700px) {
  .dtkv-download-filter {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .dtkv-download-filter__search-input,
  .dtkv-download-filter__search-button,
  .dtkv-download-filter__sort-select {
    height: 46px;
  }

  .dtkv-download-filter__search-button {
    width: 46px;
  }

  .dtkv-download-categories {
    gap: 2px;
  }

  .dtkv-download-categories__item {
    min-height: 38px;
    padding: 7px 12px;
    font-size: 15px;
  }

  .dtkv-download-list__group-head {
    min-height: 40px;
    padding: 9px 16px;
  }

  .dtkv-download-list__row {
    grid-template-columns: auto minmax(0, 1fr) 42px;
    grid-template-areas: "document document document" "version format action";
    row-gap: 12px;
    padding: 18px 16px;
  }

  .dtkv-download-list__version {
    white-space: nowrap;
  }

  .dtkv-download-list__format {
    white-space: nowrap;
  }

  .dtkv-download-list__version,
  .dtkv-download-list__format {
    flex-direction: row;
    align-items: center;
    font-size: 13px;
  }

  .dtkv-download-list__version::before,
  .dtkv-download-list__format::before {
    color: var(--dtkv-text, #1f1f1f);
  }

  .dtkv-download-list__size::before {
    content: "·";
    margin-right: 4px;
  }

  .dtkv-download-list__title {
    margin: 0;
    font-size: 17px;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .dtkv-download-list__description {
    margin-top: 8px;
    font-size: 14px;
  }

  .dtkv-download-list__download {
    width: 42px;
    height: 42px;
    color: var(--dtkv-primary, #A9936F) !important;
  }

  .dtkv-download-list__footer {
    justify-content: flex-start;
  }

  .dtkv-download-sidebar {
    flex-basis: auto;
  }

  button.dtkv-download-filter-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    width: 100% !important;
    min-height: 50px !important;
    margin: 10px 0 !important;
    padding: 0 16px !important;
    background: #ffffff !important;
    border: 1px solid var(--dtkv-border-strong, #d8d0c4) !important;
    border-radius: 10px !important;
    color: var(--dtkv-text, #1f1f1f) !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    text-transform: none !important;
    cursor: pointer;
    box-shadow: none !important;
  }

  button.dtkv-download-filter-toggle:hover,
  button.dtkv-download-filter-toggle:focus,
  button.dtkv-download-filter-toggle:active {
    background: var(--dtkv-primary-soft, #f3efe8) !important;
    border-color: var(--dtkv-primary, #a9936f) !important;
    color: var(--dtkv-text, #1f1f1f) !important;
    box-shadow: none !important;
  }

  button.dtkv-download-filter-toggle:focus-visible {
    outline: 2px solid var(--dtkv-primary, #a9936f);
    outline-offset: 2px;
  }

  .dtkv-download-filter-toggle__icon {
    display: block;
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
  }

  #dtkv-download-mobile-filters.dtkv-download-mobile-filters {
    display: none !important;
  }

  #dtkv-download-mobile-filters.dtkv-download-mobile-filters.is-open {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding-top: 24px;
  }

  button.dtkv-download-filter-toggle[aria-expanded="true"] .dtkv-download-filter-toggle__icon {
    transform: rotate(225deg) translate(-2px, -2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dtkv-download-list,
  .dtkv-download-filter__search-button svg,
  .dtkv-download-list__row,
  .dtkv-download-list__download {
    transition: none;
    animation: none;
  }
}

/* ==========================================================
   KOMPAKTE TABELLENANSICHT UND LISTENFEINSCHLIFF
   ========================================================== */

.dtkv-download-list__note {
  display: none;
}

@media (min-width: 701px) {
  .dtkv-download-filter {
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 16px;
  }

  .dtkv-download-filter__search-input,
  .dtkv-download-filter__search-button,
  .dtkv-download-filter__sort-select {
    height: 44px;
  }

  .dtkv-download-filter__search-button {
    width: 44px;
  }

  .dtkv-download-list__head,
  .dtkv-download-list__row {
    grid-template-columns: minmax(360px, 1fr) 72px 110px 36px;
    column-gap: 16px;
    border-color: var(--dtkv-line, #E8E4DE);
  }

  .dtkv-download-list__head {
    min-height: 42px;
    padding: 8px 14px;
    font-size: 13px;
    line-height: 1.2;
  }

  .dtkv-download-list__row {
    min-height: 48px;
    padding: 7px 14px;
    transition: background-color 0.18s ease, box-shadow 0.18s ease;
  }

  .dtkv-download-list__row:hover {
    background-color: var(--dtkv-primary-soft, #F3EFE8);
  }

  .dtkv-download-list__title {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--dtkv-text, #1F1F1F);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .dtkv-download-list__description {
    display: none;
    margin-top: 4px;
    overflow: hidden;
    font-size: 13.5px;
    line-height: 1.35;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .dtkv-download-list__note {
    display: none;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.35;
  }

  .dtkv-download-list__version,
  .dtkv-download-list__format {
    color: var(--dtkv-secondary, #4A4A4A);
    font-size: 13px;
    line-height: 1.25;
  }

  .dtkv-download-list__format {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 5px;
    white-space: nowrap;
  }

  .dtkv-download-list__size {
    color: #77736C;
    font-size: 12px;
  }

  .dtkv-download-list__action {
    justify-self: end;
  }

  .dtkv-download-list__download {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    border-radius: 6px;
  }

  .dtkv-download-list__download svg {
    width: 19px;
    height: 19px;
  }

  .dtkv-download-list__download:hover {
    background-color: var(--dtkv-surface, #FFFFFF);
    color: var(--dtkv-primary, #A9936F);
  }
}

.dtkv-download-list__group-head {
  align-items: baseline;
  gap: 6px;
  padding: 12px 14px 7px;
  padding-top: 9px;
  padding-bottom: 9px;
  background: color-mix(in srgb, var(--dtkv-primary-soft, #f3efe8) 55%, var(--dtkv-surface, #ffffff));
  color: var(--dtkv-text, #1f1f1f);
}

.dtkv-download-list__group-head::before {
  width: 24px;
  height: 16px;
  margin-right: 4px;
}

.dtkv-download-list__group-head:not(:first-child) {
  padding-top: 16px;
}

.dtkv-download-list__group-title {
  font-size: 14px;
}

.dtkv-download-list__group-count {
  color: var(--dtkv-secondary, #4a4a4a);
  opacity: 0.72;
}

@media (max-width: 700px) {
  .dtkv-download-list__group-head {
    flex-wrap: wrap;
    gap: 4px;
    padding: 13px 16px 7px;
  }

  .dtkv-download-list__group-head:not(:first-child) {
    padding-top: 18px;
  }

  .dtkv-download-list__group-head::before {
    width: 22px;
  }

  .dtkv-download-list__group-title {
    font-size: 14px;
  }

  .dtkv-download-list__group-count {
    font-size: 12px;
  }
}

.dtkv-download-filter__search-input::placeholder,
.dtkv-download-list__size,
.dtkv-download-list__group-count {
  color: var(--dtkv-secondary, #4a4a4a);
}

.dtkv-download-list__table {
  border-color: var(--dtkv-line, #e8e4de);
  border-radius: 12px;
}

.dtkv-download-list__head {
  background: var(--dtkv-surface, #ffffff);
  color: var(--dtkv-secondary, #4a4a4a);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.015em;
}

.dtkv-download-list__group-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  min-height: 0;
  margin: 0;
  padding: 11px 18px 10px;
  background: linear-gradient(90deg, var(--dtkv-primary-soft, #f3efe8) 0%, transparent 70%);
  border: 0;
  border-bottom: 1px solid var(--dtkv-line, #e8e4de);
}

.dtkv-download-list__group-head:not(:first-child) {
  margin-top: 7px;
  border-top: 1px solid var(--dtkv-line, #e8e4de);
}

.dtkv-download-list__group-head::before {
  content: "";
  flex: 0 0 auto;
  width: 3px;
  height: 18px;
  margin: 0 5px 0 0;
  background: var(--dtkv-primary, #a9936f);
  border-radius: 999px;
}

.dtkv-download-list__group-title {
  color: var(--dtkv-secondary, #4a4a4a);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}

.dtkv-download-list__group-count {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  opacity: 0.68;
}

.dtkv-download-list__group-count::before {
  margin-right: 7px;
  color: var(--dtkv-primary, #a9936f);
  opacity: 1;
}

.dtkv-download-list__row {
  background: var(--dtkv-surface, #ffffff);
  border-color: var(--dtkv-line, #e8e4de);
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.dtkv-download-list__row:hover {
  background-color: var(--dtkv-primary-soft, #f3efe8);
  box-shadow: inset 3px 0 0 var(--dtkv-primary, #a9936f);
}

.dtkv-download-list__title {
  color: var(--dtkv-text, #1f1f1f);
  font-weight: 700;
}

.dtkv-download-list__version {
  color: var(--dtkv-secondary, #4a4a4a);
  opacity: 0.78;
  font-variant-numeric: tabular-nums;
}

.dtkv-download-list__format {
  color: var(--dtkv-secondary, #4a4a4a);
}

.dtkv-download-list__format > span:first-child {
  font-weight: 600;
}

.dtkv-download-list__size {
  font-weight: 400;
  opacity: 0.62;
}

.dtkv-download-list__download {
  color: var(--dtkv-secondary, #4a4a4a);
  background: transparent;
  border: 1px solid transparent;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.dtkv-download-list__download:hover {
  color: var(--dtkv-primary, #a9936f);
  background: var(--dtkv-primary-soft, #f3efe8);
  border-color: var(--dtkv-line, #e8e4de);
}

.dtkv-download-list__download:focus-visible {
  outline: 2px solid var(--dtkv-primary, #a9936f);
  outline-offset: 2px;
}

@media (min-width: 1101px) {
  .dtkv-download-list__head,
  .dtkv-download-list__row {
    grid-template-columns: minmax(0, 1fr) 70px 135px 38px;
    column-gap: 18px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .dtkv-download-list__head {
    min-height: 44px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .dtkv-download-list__row {
    min-height: 52px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .dtkv-download-list__title {
    font-size: 14px;
    line-height: 1.25;
  }

  .dtkv-download-list__version,
  .dtkv-download-list__format {
    font-size: 13px;
    line-height: 1.3;
  }

  .dtkv-download-list__size {
    font-size: 12px;
  }

  .dtkv-download-list__download {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    border-radius: 7px;
  }

  .dtkv-download-list__download svg {
    width: 19px;
    height: 19px;
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  .dtkv-download-list__head,
  .dtkv-download-list__row {
    grid-template-columns: minmax(0, 1fr) 68px 125px 36px;
    column-gap: 14px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .dtkv-download-list__row {
    min-height: 52px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .dtkv-download-list__group-head {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 700px) {
  .dtkv-download-list__table {
    border-radius: 10px;
  }

  .dtkv-download-list__head {
    display: none;
  }

  .dtkv-download-list__group-head {
    gap: 6px;
    padding: 11px 16px 9px;
    background: linear-gradient(90deg, var(--dtkv-primary-soft, #f3efe8) 0%, transparent 90%);
  }

  .dtkv-download-list__group-head:not(:first-child) {
    margin-top: 6px;
  }

  .dtkv-download-list__group-head::before {
    width: 3px;
    height: 16px;
    margin-right: 4px;
  }

  .dtkv-download-list__group-title {
    font-size: 13.5px;
  }

  .dtkv-download-list__group-count {
    font-size: 11.5px;
  }

  .dtkv-download-list__row {
    grid-template-columns: minmax(0, 1fr) auto 42px;
    grid-template-areas: "document document action" "version format action";
    column-gap: 12px;
    row-gap: 9px;
    min-height: 0;
    padding: 15px 16px;
    align-items: center;
  }

  .dtkv-download-list__document {
    grid-area: document;
    min-width: 0;
  }

  .dtkv-download-list__version {
    grid-area: version;
    justify-self: start;
  }

  .dtkv-download-list__format {
    grid-area: format;
    justify-self: end;
  }

  .dtkv-download-list__action {
    grid-area: action;
    align-self: center;
    justify-self: end;
  }

  .dtkv-download-list__category {
    display: none !important;
  }

  .dtkv-download-list__title {
    font-size: 15px;
    line-height: 1.3;
  }

  .dtkv-download-list__version,
  .dtkv-download-list__format {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    font-size: 12.5px;
    line-height: 1.3;
  }

  .dtkv-download-list__version::before,
  .dtkv-download-list__format::before {
    content: attr(data-label) ":";
    color: var(--dtkv-secondary, #4a4a4a);
    font-weight: 600;
    opacity: 0.8;
  }

  .dtkv-download-list__download {
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    background: var(--dtkv-surface, #ffffff);
    border: 1px solid var(--dtkv-line, #e8e4de);
  }

  .dtkv-download-list__download svg {
    width: 20px;
    height: 20px;
  }
}

/* ==========================================================
   KATEGORIENKARTE UND ICONS
   ========================================================== */

.dtkv-download-sidebar {
  gap: 0 !important;
  padding: 20px 18px 12px;
}

.dtkv-download-sidebar > .e-con-inner {
  gap: 0 !important;
}

.dtkv-download-sidebar .elementor-widget-heading,
.dtkv-download-sidebar .elementor-widget-shortcode {
  margin: 0 !important;
}

.dtkv-download-sidebar .elementor-heading-title {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 28px;
  margin: 0 4px 14px !important;
  padding: 0 0 16px 36px !important;
  border-bottom: 1px solid var(--dtkv-line, #e8e4de);
}

.dtkv-download-sidebar .elementor-heading-title::before {
  content: none !important;
  display: none !important;
}

.dtkv-download-sidebar .elementor-heading-title::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  background-color: var(--dtkv-primary, #a9936f);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dtkv-download-categories {
  gap: 0;
}

.dtkv-download-categories__item {
  justify-content: flex-start;
  gap: 12px;
  min-height: 56px;
  padding: 0 12px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--dtkv-line, #e8e4de);
  border-radius: 0;
  color: var(--dtkv-text, #1f1f1f);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.dtkv-download-categories__item:last-child {
  border-bottom: 0;
}

.dtkv-download-categories__item::before {
  content: "";
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  background-color: var(--dtkv-secondary, #4a4a4a);
  opacity: 0.78;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  transition: background-color 0.18s ease, opacity 0.18s ease;
}

.dtkv-download-categories__label {
  flex: 1 1 auto;
  min-width: 0;
}

.dtkv-download-categories__count {
  flex: 0 0 auto;
  min-width: 22px;
  margin-left: auto;
  color: var(--dtkv-secondary, #4a4a4a);
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  opacity: 0.72;
}

.dtkv-download-categories__item.is-active {
  margin: 4px 0 6px;
  padding: 0 14px;
  background: var(--dtkv-primary, #a9936f);
  border: 0;
  border-radius: 10px;
  color: #ffffff;
  box-shadow: 0 5px 14px rgba(31, 31, 31, 0.08);
}

.dtkv-download-categories__item.is-active::before {
  background-color: #ffffff;
  opacity: 1;
}

.dtkv-download-categories__item.is-active .dtkv-download-categories__count {
  color: #ffffff;
  opacity: 1;
}

.dtkv-download-categories__item:hover:not(.is-active) {
  background: var(--dtkv-primary-soft, #f3efe8);
  border-color: var(--dtkv-line, #e8e4de);
  border-radius: 8px;
  color: var(--dtkv-text, #1f1f1f);
}

.dtkv-download-categories__item:hover:not(.is-active)::before {
  background-color: var(--dtkv-primary, #a9936f);
  opacity: 1;
}

.dtkv-download-categories__item.is-active:hover,
.dtkv-download-categories__item.is-active:focus,
.dtkv-download-categories__item.is-active:active {
  background: var(--dtkv-primary, #a9936f) !important;
  border-color: var(--dtkv-primary, #a9936f) !important;
  color: #ffffff !important;
}

.dtkv-download-categories__item.is-active:hover::before,
.dtkv-download-categories__item.is-active:focus::before,
.dtkv-download-categories__item.is-active:active::before {
  background-color: #ffffff !important;
  opacity: 1 !important;
}

.dtkv-download-categories__item.is-active:hover .dtkv-download-categories__count {
  color: #ffffff !important;
  opacity: 1 !important;
}

.dtkv-download-categories__item[data-dtkv-download-category="alle"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 18h10a4 4 0 0 0 .6-7.95A6 6 0 0 0 6.2 8.4 4.5 4.5 0 0 0 7 18Z'/%3E%3Cpath d='M12 10v6m0 0 3-3m-3 3-3-3'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 18h10a4 4 0 0 0 .6-7.95A6 6 0 0 0 6.2 8.4 4.5 4.5 0 0 0 7 18Z'/%3E%3Cpath d='M12 10v6m0 0 3-3m-3 3-3-3'/%3E%3C/svg%3E");
}

.dtkv-download-categories__item[data-dtkv-download-category="vereinsservice"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.dtkv-download-categories__item[data-dtkv-download-category="mannschaftsspielbetrieb"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 11h18'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 11h18'/%3E%3C/svg%3E");
}

.dtkv-download-categories__item[data-dtkv-download-category="einzelturniere"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8M12 17v4M7 4h10v5a5 5 0 0 1-10 0V4Z'/%3E%3Cpath d='M7 6H4v2a4 4 0 0 0 4 4M17 6h3v2a4 4 0 0 1-4 4'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8M12 17v4M7 4h10v5a5 5 0 0 1-10 0V4Z'/%3E%3Cpath d='M7 6H4v2a4 4 0 0 0 4 4M17 6h3v2a4 4 0 0 1-4 4'/%3E%3C/svg%3E");
}

.dtkv-download-categories__item[data-dtkv-download-category="turnierprogramme"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h8M8 9h2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h8M8 9h2'/%3E%3C/svg%3E");
}

.dtkv-download-categories__item[data-dtkv-download-category="plattenbau"]::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 9 5-9 5-9-5 9-5Z'/%3E%3Cpath d='m3 12 9 5 9-5M3 17l9 5 9-5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2 9 5-9 5-9-5 9-5Z'/%3E%3Cpath d='m3 12 9 5 9-5M3 17l9 5 9-5'/%3E%3C/svg%3E");
}

@media (max-width: 700px) {
  .dtkv-download-sidebar {
    width: 100%;
    min-width: 0;
    padding: 16px 14px 10px;
    border-radius: 10px;
  }

  .dtkv-download-sidebar .elementor-heading-title {
    font-size: 18px;
  }

  .dtkv-download-categories__item {
    min-height: 52px;
  }
}

/* ==========================================================
   MOBILE FILTERKARTE UND SIDEBAR-KOMPATIBILITÄT
   ========================================================== */

.dtkv-download-filter__search-input,
.dtkv-download-filter__search-field,
.dtkv-download-filter__search {
  background: #fff !important;
}

.dtkv-download-list__group-head {
  background: transparent !important;
  padding: 12px 18px 10px !important;
}

.dtkv-download-list__row:hover {
  background-color: #f5f5f5 !important;
}

.dtkv-download-list__row {
  transition: background-color 0.18s ease, box-shadow 0.18s ease !important;
}

.dtkv-download-list__download {
  color: var(--dtkv-primary, #a9936f) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
}

.dtkv-download-list__download:hover {
  color: var(--dtkv-primary, #a9936f) !important;
  background: #f5f5f5 !important;
  border-color: var(--dtkv-line, #e8e4de) !important;
  transform: translateY(-1px);
}

.dtkv-download-sidebar__head,
.dtkv-download-sidebar .dtkv-download-cats__head,
.dtkv-download-sidebar .dtkv-download-categories__head {
  padding: 18px 18px 16px;
}

.dtkv-download-sidebar h3,
.dtkv-download-sidebar .dtkv-download-cats__title,
.dtkv-download-sidebar .dtkv-download-categories__title {
  font-size: 18px;
}

.dtkv-download-sidebar__head-icon,
.dtkv-download-sidebar .dtkv-download-cats__icon,
.dtkv-download-sidebar .dtkv-download-categories__icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
}

.dtkv-download-sidebar ul,
.dtkv-download-sidebar .dtkv-download-cats,
.dtkv-download-sidebar .dtkv-download-categories {
  padding: 10px 0;
}

.dtkv-download-sidebar a:hover,
.dtkv-download-sidebar .dtkv-download-cats__link:hover,
.dtkv-download-sidebar .dtkv-download-categories__link:hover {
  background: #faf9f7;
}

.dtkv-download-sidebar .dtkv-download-cats__label,
.dtkv-download-sidebar .dtkv-download-categories__label,
.dtkv-download-sidebar .label {
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 700px) {
  .dtkv-download-sidebar {
    border-radius: 12px;
  }

  .dtkv-download-sidebar__head,
  .dtkv-download-sidebar .dtkv-download-cats__head,
  .dtkv-download-sidebar .dtkv-download-categories__head {
    padding: 16px;
  }

  .dtkv-download-list__group-head {
    padding: 11px 16px 9px !important;
  }
}

/* ==========================================================
   HOVER- UND DARSTELLUNGSFEINSCHLIFF
   ========================================================== */

:root {
  --dtkv-soft-hover: #fafaf9;
  --dtkv-soft-group: #fafaf9;
}

.dtkv-download-list__row:hover {
  background-color: var(--dtkv-soft-hover) !important;
  box-shadow: inset 3px 0 0 var(--dtkv-primary, #a9936f) !important;
}

.dtkv-download-list__group-head {
  background: var(--dtkv-soft-group) !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--dtkv-line, #e8e4de) !important;
  margin-top: 0 !important;
  padding: 10px 18px 9px !important;
}

.dtkv-download-list__group-head:not(:first-child) {
  margin-top: 8px !important;
  border-top: 0 !important;
}

.dtkv-download-list__group-head::before {
  width: 4px !important;
  height: 16px !important;
  margin-right: 10px !important;
  background: var(--dtkv-primary, #a9936f) !important;
  border-radius: 999px !important;
}

.dtkv-download-list__group-title {
  color: var(--dtkv-secondary, #4a4a4a) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

.dtkv-download-list__group-count {
  color: var(--dtkv-secondary, #4a4a4a) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  opacity: 0.72 !important;
}

.dtkv-download-list__group-count::before {
  content: "·";
  margin-right: 6px;
  color: var(--dtkv-secondary, #4a4a4a);
  opacity: 0.55;
}

.dtkv-download-sidebar {
  background: #fff;
  border-radius: 14px;
}

.dtkv-download-sidebar__head,
.dtkv-download-sidebar .dtkv-download-cats__head,
.dtkv-download-sidebar .dtkv-download-categories__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px !important;
  background: #fff;
  border-bottom: 1px solid var(--dtkv-line, #e8e4de);
}

.dtkv-download-sidebar__head-icon,
.dtkv-download-sidebar .dtkv-download-cats__icon,
.dtkv-download-sidebar .dtkv-download-categories__icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  border-radius: 999px;
  background: var(--dtkv-primary-soft, #f3efe8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dtkv-primary, #a9936f);
}

.dtkv-download-sidebar__head-icon svg,
.dtkv-download-sidebar .dtkv-download-cats__icon svg,
.dtkv-download-sidebar .dtkv-download-categories__icon svg {
  width: 18px;
  height: 18px;
}

.dtkv-download-sidebar h3,
.dtkv-download-sidebar .dtkv-download-cats__title,
.dtkv-download-sidebar .dtkv-download-categories__title {
  margin: 0;
  color: var(--dtkv-text, #1f1f1f);
  font-size: 17px !important;
  font-weight: 700;
  line-height: 1.2;
}

.dtkv-download-sidebar ul,
.dtkv-download-sidebar .dtkv-download-cats,
.dtkv-download-sidebar .dtkv-download-categories {
  margin: 0;
  padding: 6px 0 0 !important;
  list-style: none;
}

.dtkv-download-sidebar li,
.dtkv-download-sidebar .dtkv-download-cats__item,
.dtkv-download-sidebar .dtkv-download-categories__item {
  margin: 0;
}

.dtkv-download-sidebar a,
.dtkv-download-sidebar .dtkv-download-cats__link,
.dtkv-download-sidebar .dtkv-download-categories__link {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 18px;
  color: var(--dtkv-text, #1f1f1f);
  text-decoration: none;
  border-radius: 0;
  background: transparent;
  border-top: 1px solid var(--dtkv-line, #e8e4de);
  transition: background-color 0.18s ease;
}

.dtkv-download-sidebar li:first-child a,
.dtkv-download-sidebar .dtkv-download-cats__item:first-child .dtkv-download-cats__link,
.dtkv-download-sidebar .dtkv-download-categories__item:first-child .dtkv-download-categories__link {
  border-top: 0;
}

.dtkv-download-sidebar a:hover,
.dtkv-download-sidebar .dtkv-download-cats__link:hover,
.dtkv-download-sidebar .dtkv-download-categories__link:hover {
  background: var(--dtkv-soft-hover) !important;
}

.dtkv-download-sidebar .is-active > a,
.dtkv-download-sidebar li.active > a,
.dtkv-download-sidebar a[aria-current="page"],
.dtkv-download-sidebar .dtkv-download-cats__item.is-active .dtkv-download-cats__link,
.dtkv-download-sidebar .dtkv-download-categories__item.is-active .dtkv-download-categories__link {
  margin: 8px 10px;
  min-height: 56px;
  padding-left: 16px;
  padding-right: 16px;
  background: var(--dtkv-primary, #a9936f);
  border-radius: 14px;
  border-top: 0;
  color: #fff;
}

.dtkv-download-sidebar .is-active + li a,
.dtkv-download-sidebar li.active + li a,
.dtkv-download-sidebar .dtkv-download-cats__item.is-active + .dtkv-download-cats__item .dtkv-download-cats__link,
.dtkv-download-sidebar .dtkv-download-categories__item.is-active + .dtkv-download-categories__item .dtkv-download-categories__link {
  border-top-color: transparent;
}

.dtkv-download-sidebar a .icon,
.dtkv-download-sidebar a svg,
.dtkv-download-sidebar .dtkv-download-cats__link svg,
.dtkv-download-sidebar .dtkv-download-categories__link svg {
  width: 22px;
  height: 22px;
  color: var(--dtkv-secondary, #4a4a4a);
  opacity: 0.78;
}

.dtkv-download-sidebar .label,
.dtkv-download-sidebar .dtkv-download-cats__label,
.dtkv-download-sidebar .dtkv-download-categories__label {
  min-width: 0;
  color: var(--dtkv-text, #1f1f1f);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dtkv-download-sidebar .count,
.dtkv-download-sidebar .dtkv-download-cats__count,
.dtkv-download-sidebar .dtkv-download-categories__count {
  color: var(--dtkv-secondary, #4a4a4a);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  opacity: 0.82;
}

.dtkv-download-sidebar .is-active > a .label,
.dtkv-download-sidebar .is-active > a .count,
.dtkv-download-sidebar .is-active > a svg,
.dtkv-download-sidebar li.active > a .label,
.dtkv-download-sidebar li.active > a .count,
.dtkv-download-sidebar li.active > a svg,
.dtkv-download-sidebar a[aria-current="page"] .label,
.dtkv-download-sidebar a[aria-current="page"] .count,
.dtkv-download-sidebar a[aria-current="page"] svg,
.dtkv-download-sidebar .dtkv-download-cats__item.is-active .dtkv-download-cats__label,
.dtkv-download-sidebar .dtkv-download-cats__item.is-active .dtkv-download-cats__count,
.dtkv-download-sidebar .dtkv-download-cats__item.is-active .dtkv-download-cats__link svg,
.dtkv-download-sidebar .dtkv-download-categories__item.is-active .dtkv-download-categories__label,
.dtkv-download-sidebar .dtkv-download-categories__item.is-active .dtkv-download-categories__count,
.dtkv-download-sidebar .dtkv-download-categories__item.is-active .dtkv-download-categories__link svg {
  color: #fff !important;
  opacity: 1 !important;
}

@media (max-width: 700px) {
  .dtkv-download-sidebar__head,
  .dtkv-download-sidebar .dtkv-download-cats__head,
  .dtkv-download-sidebar .dtkv-download-categories__head {
    padding: 13px 14px !important;
  }

  .dtkv-download-sidebar__head-icon,
  .dtkv-download-sidebar .dtkv-download-cats__icon,
  .dtkv-download-sidebar .dtkv-download-categories__icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }

  .dtkv-download-sidebar h3,
  .dtkv-download-sidebar .dtkv-download-cats__title,
  .dtkv-download-sidebar .dtkv-download-categories__title {
    font-size: 16px !important;
  }

  .dtkv-download-sidebar a,
  .dtkv-download-sidebar .dtkv-download-cats__link,
  .dtkv-download-sidebar .dtkv-download-categories__link {
    min-height: 52px;
    padding: 0 16px;
    gap: 12px;
    grid-template-columns: 20px minmax(0, 1fr) auto;
  }

  .dtkv-download-sidebar .label,
  .dtkv-download-sidebar .dtkv-download-cats__label,
  .dtkv-download-sidebar .dtkv-download-categories__label,
  .dtkv-download-sidebar .count,
  .dtkv-download-sidebar .dtkv-download-cats__count,
  .dtkv-download-sidebar .dtkv-download-categories__count {
    font-size: 14px;
  }

  .dtkv-download-sidebar .is-active > a,
  .dtkv-download-sidebar li.active > a,
  .dtkv-download-sidebar a[aria-current="page"],
  .dtkv-download-sidebar .dtkv-download-cats__item.is-active .dtkv-download-cats__link,
  .dtkv-download-sidebar .dtkv-download-categories__item.is-active .dtkv-download-categories__link {
    margin: 8px;
  }

  .dtkv-download-list__group-head {
    padding: 10px 16px 8px !important;
  }
}

/* ==========================================================
   ABSCHLIESSENDE ELEMENTOR- UND AKTIVZUSTÄNDE
   ========================================================== */

.dtkv-download-sidebar .elementor-heading-title {
  display: flex !important;
  align-items: center !important;
  min-height: 26px;
  padding: 0 0 0 38px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9936F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6Z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: left center !important;
  background-size: 25px 25px !important;
}

.dtkv-download-categories__item.is-active::before,
.dtkv-download-categories__item.is-active:hover::before,
.dtkv-download-categories__item.is-active:focus-visible::before {
  background-color: #ffffff !important;
  opacity: 1 !important;
}

.dtkv-download-categories__item.is-active .dtkv-download-categories__count,
.dtkv-download-categories__item.is-active:hover .dtkv-download-categories__count,
.dtkv-download-categories__item.is-active:focus-visible .dtkv-download-categories__count {
  color: #ffffff !important;
  opacity: 1 !important;
}

.dtkv-download-sidebar {
  overflow: hidden;
  border-radius: 12px !important;
  border: 1px solid var(--dtkv-line, #e8e4de);
  background: var(--dtkv-surface, #ffffff);
  box-shadow: none;
}

.dtkv-download-sidebar .elementor-widget-heading {
  margin: 0 !important;
  padding: 18px 20px 16px !important;
  border-bottom: 1px solid var(--dtkv-line, #e8e4de);
}

.dtkv-download-sidebar .elementor-widget-heading .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
}

.dtkv-download-sidebar .elementor-heading-title {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  color: var(--dtkv-text, #1f1f1f);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.dtkv-download-sidebar .elementor-heading-title::before,
.dtkv-download-sidebar .elementor-heading-title::after {
  content: none !important;
  display: none !important;
}

.dtkv-download-categories__item.is-active {
  margin: 8px !important;
  min-height: 52px;
  padding-left: 16px;
  padding-right: 16px;
  border-radius: 8px !important;
  background: var(--dtkv-primary, #a9936f) !important;
  border-color: var(--dtkv-primary, #a9936f) !important;
  color: #ffffff !important;
}

.dtkv-download-categories__item.is-active:hover,
.dtkv-download-categories__item.is-active:focus-visible {
  background: var(--dtkv-accent, #8a7554) !important;
  border-color: var(--dtkv-accent, #8a7554) !important;
  color: #ffffff !important;
}

.dtkv-download-categories__item.is-active::before,
.dtkv-download-categories__item.is-active:hover::before {
  background-color: #ffffff !important;
  opacity: 1 !important;
}

.dtkv-download-categories__item.is-active .dtkv-download-categories__count,
.dtkv-download-categories__item.is-active:hover .dtkv-download-categories__count {
  color: #ffffff !important;
  opacity: 1 !important;
}

.dtkv-download-categories__item.is-active {
  width: auto !important;
  margin: 8px 10px !important;
  box-sizing: border-box;
}

#dtkv-download-mobile-filters.dtkv-download-mobile-filters.is-open {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 10px 0;
}
