.article-filter .card {
    border-radius: .75rem;
}
.article-filter .card-header {
    font-size: 1.5rem;
    font-family: "Poppins", "Trebuchet MS", sans-serif;
    border-top-left-radius: .75rem;
    border-top-right-radius: .75rem;
}
.article-filter .card-body {
    padding-left: 2rem;
    padding-right: 2rem;
    border-bottom-left-radius: .75rem;
    border-bottom-right-radius: .75rem;
}
.article-filter .article-filter-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.article-filter label:hover,
.article-filter label:focus {
    text-decoration: underline;
    cursor: pointer;
}

.collapsible-wrapper {
    position: relative;
  }
  
  .collapsible-content {
    max-height: 175px; /* Adjust to show the first five items */
    overflow: hidden;
    transition: max-height 0.5s ease-in-out; /* Smooth height transition */
  }
  
  .article-filter .fade-effect {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 125px; /* Adjust the fade effect height */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #f2f2f2); /* Fade effect */
    pointer-events: none; /* Allow clicks through the fade effect */
  }
  
  .collapsible-content.expanded {
    max-height: 1000px; /* Set a large enough height to show all items */
  }
  
  .collapsible-content.expanded ~ .fade-effect {
    display: none; /* Hide fade effect when expanded */
  }
  .toggle-button {
    background: none;
    border: none;
    color: #163ad6;
    cursor: pointer;
    text-align: center;
    width: 100%;
    padding: 10px;
    z-index: 10000;
  }
  
  .toggle-button:hover {
    text-decoration: underline;
  }
  
  