/* CSS for Taxonomy Filter Block Alt 2 */
.primary-button .filter-trigger{
  font-size: 18px!important;

}

/* Top row layout: Title, Small Arrow, and Hashtags Side by Side */
.taxonomy-filter-navigation-alt2 .top-row.flex {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px;
  /* background: #f8f9fa; */
  /* border: 1px solid #e9ecef; */
  /* border-radius: 8px; */
}

.taxonomy-filter-navigation-alt2 .primary-title h1 {
  margin: 0;
}

.taxonomy-filter-navigation-alt2 .small-arrow-button {
  flex: 0 0 auto;
}

.taxonomy-filter-navigation-alt2 .small-arrow {
  background: transparent;
  color: #333;
  border: none;
  padding: 5px 10px;
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.taxonomy-filter-navigation-alt2 .small-arrow:hover {
  color: #007bff;
}

.taxonomy-filter-navigation-alt2 .secondary-hashtags {
  flex: 1;
}

/* Hashtag container and boxes */
.taxonomy-filter-navigation-alt2 .secondary-hashtags .hashtag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.taxonomy-filter-navigation-alt2 .hashtag-box {
  /* background: #e9ecef; */
  /* border: 1px solid #ced4da; */
  border-radius: 12px;
  padding: 6px 20px 6px 0;
  font-size: 15px;
  font-weight: 500;
}

.taxonomy-filter-navigation-alt2 .hashtag-link {
  text-decoration: none;
  color: #495057;
}

.taxonomy-filter-navigation-alt2 .hashtag-link.active {
  /* color: #007bff; */
  color: #003068;
  font-weight: bold;
}

/* Dropdown positioning and styling */
.taxonomy-filter-navigation-alt2 .primary-dropdown {
  margin-top: 10px;
}

.taxonomy-filter-navigation-alt2 .filter-dropdown {
  background: #fff;
  border: 1px solid #ced4da;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-height: 200px;
  overflow-y: auto;
}

.taxonomy-filter-navigation-alt2 .filter-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.taxonomy-filter-navigation-alt2 .hashtag-text {
  color: #495057;
}

.taxonomy-filter-navigation-alt2 .hashtag-text.active {
  color: #003068;
  text-decoration: underline;
  font-weight: bold;
}
