/* Main Filter Bar Styling */
.filter-bar--fixed {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 60px;
  background-color: var(--bone); /* Change to your preferred background color */
  border-top: .5px solid var(--grey); /* Optional: border for separation */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  z-index: 1000; /* Ensure it stays on top */
  font-family: var(--font-body);
  transition: bottom 3s ease; /* Slower transition for sliding effect */
}

.filter-bar--fixed .main-filter-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  /*max-width: 1200px; /* Adjust max-width as needed */
  margin: 0 auto;
}

.sup {
  font-size: 5px;
}

.filter-bar--fixed .filter-label {
  font-size: 20px;
  margin-right: 10px;
  font-weight: 400;
  color: var(--black);
}

.filter-bar--fixed .filter-tabs {
  display: flex;
}

.filter-bar--fixed .filter-tabs a {
  margin-left: 15px;
  margin-right: 15px;
  font-weight: 400;
  background-color: var(--bone); /* Change to your preferred background color */
  border-radius: 25px;
  text-align: center;
  font-size: 20px;
  color: var(--black);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 3s, color 3s;
}

.filter-bar--fixed .filter-tabs a:hover {
  text-decoration: underline;
}

.filter-bar--fixed .filter-tabs a.active {
  background-color: var(--black);
  color: var(--white);
}

.filter-bar--fixed .filter-tabs a:last-child {
  margin-right: 0;
}

/* Subfilter Styling */
.filter-category.filter-category--fixed {
  display: none; /* Initially hidden */
  position: fixed;
  bottom: 60px; /* Just above the main filter bar */
  width: 100%;
  background-color: var(--bone); /* Change to your preferred background color */
  padding: 15px;
  border-top: .5px solid var(--grey);
  z-index: 999;
}

.filter-category.filter-category--fixed ul.horizontal-filter {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

.filter-category.filter-category--fixed ul.horizontal-filter li {
  margin-right: 2px;
}

.filter-category.filter-category--fixed ul.horizontal-filter li a {
  padding: 2px 5px;
  background-color: var(--bone);
  border: .5px solid var(--black);
  border-radius: 25px;
  text-align: center;
  font-size: 12px;
  color: var(--black);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s, color 3s;
}

/* Active button styling */
.filter-category.filter-category--fixed ul.horizontal-filter li a.active {
  background-color: var(--black);
  color: var(--white);
}

/* Hover state for active button, showing only an "X" */
.selected-filter-item.active:hover,
.filter-category.filter-category--fixed ul.horizontal-filter li a.active:hover {
  background-color: var(--black);
  color: var(--black); /* Hide the text by making it the same color as the background */
  position: relative;
}

.filter-category.filter-category--fixed ul.horizontal-filter li a.active:hover::after {
  content: "X";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: 300;
  color: var(--white);
}

.filter-bar--fixed .selected-filter-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  width: 100%;
}

.filter-bar--fixed .selected-filter-item {
  margin-right: 10px;
  font-size: 12px;
  background-color: var(--black);
  border: 1px solid var(--black);
  border-radius: 25px;
  color: var(--white);
  padding: 2px 5px;
  display: inline-block;
  /*vertical-align: middle;*/
  cursor: pointer;
}

.filter-bar--fixed .selected-filter {
  display: flex;
}

.filter-bar--fixed .clear-filter {
  padding: 2px 10px;
  background-color: transparent;
  border: .5px solid var(--black);
  font-size: 12px !important;
  border-radius: 25px;
  color: var(--black);
  text-decoration: none;
  cursor: pointer;
}

.filter-bar--fixed .clear-filter-container {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 10px; /* Optional: add margin for spacing */
}

.news-title {
  font-size: 12px !important;
}


.filter-bar--fixed .selected-filter-item.active {
  background-color: var(--black); /* Adjust this to match your design */
  color: var(--white); /* Adjust text color */
  
}


.filter-bar--fixed .selected-filter-item.active:hover::after {
  content: "X";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: 300;
  color: var(--white);
}