.avhc-taxonomy-list {
  margin: 24px 0 40px;
}

.avhc-taxonomy-list-title {
  margin: 0 0 14px;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0b3d53 0%, #0f5b78 100%);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 10px 24px rgba(11, 61, 83, 0.14);
}

.avhc-taxonomy-list-description {
  margin: 0 0 18px;
  color: #5b6470;
  font-size: 14px;
  line-height: 1.8;
}

.avhc-taxonomy-list-items,
.avhc-taxonomy-list-items li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.avhc-taxonomy-list-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.avhc-taxonomy-list-item {
  margin: 0;
}

.avhc-taxonomy-list-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  color: #1f2937;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.avhc-taxonomy-list-link:hover {
  transform: translateY(-2px);
  border-color: #b8d5e3;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
  text-decoration: none;
}

.avhc-taxonomy-list-link::before {
  content: "#";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #eff6fb;
  color: #0f5b78;
  font-size: 13px;
  font-weight: 700;
}

.avhc-taxonomy-list-link-text {
  flex: 1 1 auto;
  min-width: 0;
}

.avhc-taxonomy-list-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 38px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3f7fa;
  color: #4b5563;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.avhc-taxonomy-empty {
  padding: 18px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #f8fafc;
  color: #5b6470;
  font-size: 14px;
  line-height: 1.8;
}

.avhc-taxonomy-empty p {
  margin: 0;
}

@media (max-width: 640px) {
  .avhc-taxonomy-list-title {
    font-size: 20px;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .avhc-taxonomy-list-items {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .avhc-taxonomy-list-link {
    min-height: 52px;
    padding: 12px 14px;
    border-radius: 12px;
  }
}