/**
 * Layout only. Colour, type, radius and buttons come from the site template
 * (Bootstrap 5 / Helix / Flex presets via .btn-primary, .card, .badge, .text-*).
 */

.com-wmdownloads .wmdownloads-content {
  min-width: 0;
}

.com-wmdownloads .wmdownloads-header-desc {
  max-width: 42rem;
}

.com-wmdownloads .wmdownloads-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: var(--bs-border-radius, 0.375rem);
  font-size: 1.35rem;
  line-height: 1;
  background-color: rgba(0, 0, 0, 0.06);
  background-color: color-mix(in srgb, currentColor 14%, transparent);
}

.com-wmdownloads .wmdownloads-icon i {
  line-height: 1;
}

.com-wmdownloads .wmdownloads-item .h5 a {
  text-decoration: none;
}

.com-wmdownloads .wmdownloads-item .h5 a:hover,
.com-wmdownloads .wmdownloads-item .h5 a:focus-visible {
  text-decoration: underline;
}

.com-wmdownloads .wmdownloads-sort-arrow {
  display: inline-block;
  min-width: 0.75em;
}

.com-wmdownloads .wmdownloads-item.is-hidden {
  display: none !important;
}

.mod-wmdownloads-latest .wmdownloads-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: var(--bs-border-radius, 0.375rem);
  font-size: 1.25rem;
  background-color: rgba(0, 0, 0, 0.06);
  background-color: color-mix(in srgb, currentColor 14%, transparent);
}

@media (prefers-reduced-motion: reduce) {
  .com-wmdownloads *,
  .mod-wmdownloads-latest * {
    transition: none !important;
  }
}
