.sort-container {
    display: flex;
    justify-content: center;
    gap: 2em; /* space between groups */
    margin-bottom: 2em;
  }
  
  .sort-group {
    display: flex;
    flex-direction: column; /* stack inside the group vertically */
    align-items: center;
    gap: 0.0em; /* space between A–Z and Z–A buttons */
  }
  
  .sort-button {
    padding: 2px 4px;
    border: 1px solid #ccc;
    /* background-color: #f8f8f8; */
    background-color: transparent;
    /* background-color: #8ae6e1; */
    cursor: pointer;
    font-size: 14px;
    /* color: #555; */
    color: currentColor;
  }
  
  .sort-button.active {
    background-color: #ffcc00;
    color: black;
    font-weight: bold;
  }
  
    
  #sort-container {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-out;
    display: flex;
    justify-content: center;
    gap: 2em;
    flex-wrap: wrap; /* just in case window gets smaller */
    margin-bottom: -2em;
    color: currentColor;
  }
  
  .sort-toggle-button {
    padding: 1px 3px;
    font-size: 1em;
    cursor: pointer;
    /* background-color: #ffcc00; */
    background-color: inherit;
    color: currentColor;
    border: 1px solid #ccc;
    /* border: 1px solid #555; */
    border-radius: 5px;
    margin-bottom: 1em;
    margin-right: 1em;
  }

  /* META SECTION: concerns, topics and case files that are shown under each page's section */
  .meta-section {
    
    font-size: 0.9em;
    /* color: #666;  */
    margin: 0.5em 0 1em 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.1em;
    line-height: 1.4;
  }
  
  .meta-section strong,
  .meta-section .label {
    /* color: #999; */
    font-weight: 600;
    margin-right: 0.4em;
  }
  
  .meta-section a {
    text-decoration: none;
    padding: 1px 3px;
    border-radius: 2px;
    /* background-color: #f2f2f2; */
    /* color: #333; */
    font-size: 0.85em;
    transition: background-color 0.2s ease;
  }
  
  .meta-section a:hover {
    background-color: #e0e0e0;
    color: black;
  }
  
  .meta-section {
    margin-top: -0.2em;
    margin-bottom: -0.2em;
    margin-left: 2em;
  }
  
  .meta-section strong {
    display: inline-block;
    margin-right: 0.5em;
  }
  
  .meta-section em a {
    margin-right: 0.3em;
  }
  .bullet {
    color: #aaa;           /* softer gray */
    font-size: 0.75em;     /* smaller than regular text */
    margin: 0 0.3em;       /* spacing around it */
    vertical-align: middle;
  }
  


  .case-dropdown-container {
    text-align: right;
    margin-top: -1em;
    margin-bottom: -0.5em;
  }
  
  .case-select {
    padding: 0.6em 1em;
    font-size: 0.95em;
    /* background-color: #86c4f0;          */
    background-color: inherit;         
    /* color: #333;                     */
    color: inherit;                    

    border: 1px solid #ccc;
    border-radius: 5px;
    appearance: none;              /* remove default browser styles */
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .case-select:focus {
    outline: none;
    border-color: #999;
    box-shadow: 0 0 0 2px rgba(200, 200, 255, 0.3);
  }
  