.loading-opacity {
    opacity: 0.5;
}
.filtration-mode-toggle__wrapper {
    margin-bottom: 12px;
}
.filtration-mode-toggle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid #d2d9e6;
    background: #eef2f8;
    border-radius: 6px;
    width: fit-content;
}
.filtration-mode-toggle__label {
    font-weight: 600;
    color: #1f2c4d;
}
.filtration-mode-toggle__button {
    border: 1px solid #708cb9;
    background: #ffffff;
    color: #1f2c4d;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: inset 1px 1px 1px hsl(0, 0%, 90%), 1px 1px 1px hsl(0, 0%, 70%);
}
.filtration-mode-toggle__button.is-active,
.filtration-mode-toggle__button[aria-pressed="true"] {
    background: #708cb9;
    color: #ffffff;
    box-shadow: inset -1px -1px 1px hsl(0, 0%, 80%), inset 1px 1px 1px hsl(0, 0%, 30%);
}
.filtration-mode-toggle__status {
    color: #42526e;
    font-size: 13px;
}
#filtration-buttons {
    display: inline-block;
	color: black;
}
#filtration-buttons .btn {
    border-color: #708cb9;
	border-style: solid;
    border-width: 1px;
    border-radius: 3px;
    margin-right: 5px;
	margin-bottom: 5px;
	padding: 0px 3px 0px 3px;
    cursor: pointer;
    text-align: center;
	font-size: 14px;
	color: black;
	box-shadow: inset 2px 2px 2px hsl(0, 0%, 80%), 2px 2px 2px hsl(0, 0%, 50%);
}
#filtration-buttons .btn:hover {
    background-color: #b8c6dc;
	color: black;
}
#filtration-buttons .btn-success {
    background-color: #708cb9;
	color: white;
	box-shadow: inset -2px -2px 2px hsl(0, 0%, 80%), inset 2px 2px 2px hsl(0, 0%, 30%);
}
.one-button-container {
   width:125px;
   position: relative;
}
.two-button-container {
   width:250px;
   position: relative;
   overflow: hidden;
}
.search-one-button-container {
   width:125px;
   height:155px;
   position: relative;
   overflow: hidden;
}
.one-two-button-container-text {
   float:left;
   font-size:16px;
   text-align:center;
   color:black;
   margin-bottom:5px;
}
.two-button-container-text {
   width:240px;
   margin-right:25px;
}
.one-button-container-text {
   width:125px;
   margin-left:-5px;
   margin-right:15px;
}
.filter-button-divider {
   width:5px;
   height:50px;
   margin-right:10px;
   margin-top:5px;
   background-color:hsl(200, 40%, 75%);
   float:left;
   border-radius:1px;
   box-shadow: inset 1px 1px 2px  hsl(0, 0%, 50%), 0.5px 0.5px 1px hsl(200, 30%, 70%), inset -0.5px -0.5px 1px hsl(200, 90%, 97%);
}
.filter-buttons-dropdown-options {
   float: left;
   cursor:pointer;
   padding: 0px 3px 0px 3px;
   border-radius: 5px;
   width:100px;
   margin-right:10px;
   margin-bottom:10px;
   font-size:14px;
   font-family: Helvetica, sans-serif;
   text-align:center;
   color:black;
   background:hsl(200, 52%, 95%);
   box-shadow: -2px -2px 2px hsl(194, 100%, 98%), 2px 2px 2px  hsl(0, 0%, 50%), inset 0 0 0 transparent, inset  0 0 0 transparent;
   transition: 0.5s;
   position: relative;
   overflow: hidden;
}
.filter-buttons-dropdown-options:hover {
   cursor:pointer;
}
.filter-buttons-dropdown-options:active {
   transition: 0.5s;
   color:black;
   background:hsl(200, 50%, 93%);
   box-shadow: 0 0 0 transparent, 0 0 0 transparent, inset 3px 3px 6px  hsl(200, 15%, 60%), inset -3px -3px 6px hsl(200, 50%, 97%), 1px 1px 2px  hsl(200, 44%, 85%);
}
.filter-buttons-dropdown-options-clicked {
   float: left;
   cursor:pointer;
   padding: 0px 3px 0px 3px;
   border-radius: 5px;
   width:100px;
   margin-right:10px;
   margin-bottom:10px;
   font-size:14px;
   font-family: Helvetica, sans-serif;
   text-align:center;
   transition: 0.5s;
   color:black;
   background:hsl(200, 50%, 93%);
   box-shadow: 0 0 0 transparent, 0 0 0 transparent, inset 3px 3px 6px  hsl(200, 15%, 60%), inset -3px -3px 6px hsl(200, 50%, 97%), 1px 1px 2px  hsl(200, 44%, 85%);
   position: relative;
   overflow: hidden;
}
.filter-buttons-main-options {
   float: left;
   cursor:pointer;
   padding: 0px 3px 0px 3px;
   border-radius: 5px;
   width:115px;
   margin-right:10px;
   margin-bottom:10px;
   font-size:16px;
   font-family: Helvetica, sans-serif;
   text-align:center;
   color:black;
   background:hsl(200, 52%, 95%);
   box-shadow: -2px -2px 2px hsl(194, 100%, 98%), 2px 2px 2px  hsl(0, 0%, 50%), inset 0 0 0 transparent, inset  0 0 0 transparent;
   transition: 0.5s;
   position: relative;
   overflow: hidden;
}
.filter-buttons-main-options:active {
   transition: 0.5s;
   color:black;
   background:hsl(200, 50%, 93%);
   box-shadow: 0 0 0 transparent, 0 0 0 transparent, inset 3px 3px 6px  hsl(200, 15%, 60%), inset -3px -3px 6px hsl(200, 50%, 97%), 1px 1px 2px  hsl(200, 44%, 85%);
}
.filter-buttons-main-options-clicked {
   float: left;
   cursor:pointer;
   padding: 0px 3px 0px 3px;
   border-radius: 5px;
   width:115px;
   margin-right:10px;
   margin-bottom:10px;
   font-size:16px;
   font-family: Helvetica, sans-serif;
   text-align:center;
   transition: 0.5s;
   color:black;
   background:hsl(200, 50%, 93%);
   box-shadow: 0 0 0 transparent, 0 0 0 transparent, inset 3px 3px 6px  hsl(200, 15%, 60%), inset -3px -3px 6px hsl(200, 50%, 97%), 1px 1px 2px  hsl(200, 44%, 85%);
   position: relative;
   overflow: hidden;
}
.single-container-extras {
   float: left;
   margin-left:-125px;
   margin-top:28px;
}
.filter-buttons-main-container {
   cursor:pointer;
   max-width:1210px;
   padding: 5px 0px 0px 10px;
   border-radius: 5px;
   margin-left:5px;
   margin-right:15px;
   margin-bottom:15px;
   background:hsl(200, 47%, 90%);
   box-shadow: inset 3px 3px 6px hsl(200, 47%, 95%), 2px 2px 2px  hsl(0, 0%, 50%), -1px -1px 2px hsl(195, 30%, 85%);
   display: flex;
   flex-wrap: wrap;
}
.search-button {
   width:115px;
   height:115px;
   position:absolute;
   cursor:pointer;
   border-radius:5px;
   padding-top: 85px;
   margin-right:10px;
   margin-bottom:10px;
   font-size:16px;
   font-family: Helvetica, sans-serif;
   text-align:center;
   text-align:center;
   color:black;
   background:hsl(200, 52%, 95%);
   box-shadow: inset 3px 3px 3px hsl(200, 52%, 98%), 3px 3px 3px hsl(200, 15%, 60%), -1px -1px 2px  hsl(200, 44%, 85%), inset 0 0 0 transparent, inset  0 0 0 transparent, 0 0 0 transparent;
   transition: 0.5s;
   white-space: pre-wrap;
   line-height: 18px;
   position: relative;
   overflow: hidden;
}
.search-button:active {
   width:1190px;
   height:115px;
   position:absolute;
   cursor:pointer;
   border-radius: 5px;
   margin-bottom:10px;
   font-size:16px;
   font-family: Helvetica, sans-serif;
   text-align:center;
   color:black;
   background:hsl(200, 50%, 93%);
   box-shadow: inset 0 0 0 transparent, 0 0 0 transparent, 0 0 0 transparent, inset 3px 3px 6px  hsl(200, 15%, 60%), inset -3px -3px 6px hsl(200, 50%, 97%), 1px 1px 2px  hsl(200, 44%, 85%);
   white-space: pre-wrap;
   line-height: 18px;
   transition: 0.5s;
}
.search-button-clicked {
   width:115px;
   height:115px;
   cursor:pointer;
   border-radius: 5px;
   padding-top: 85px;
   margin-right:10px;
   margin-bottom:10px;
   font-size:16px;
   font-family: Helvetica, sans-serif;
   text-align:center;
   color:black;
   background:hsl(200, 50%, 93%);
   box-shadow: 0 0 0 transparent, 0 0 0 transparent, inset 3px 3px 6px  hsl(200, 15%, 60%), inset -3px -3px 6px hsl(200, 50%, 97%), 1px 1px 2px  hsl(200, 44%, 85%);
   transition: 0.5s;
   white-space: pre-wrap;
   line-height: 18px;
}
.filter-buttons-sub-container {
   cursor:pointer;
   padding: 10px 0px 0px 10px;
   border-radius: 5px;
   margin-bottom:15px;
   margin-left:-125px;
   display: flex;
   flex-wrap: wrap;
   max-width:99%;
   background:hsl(200, 47%, 90%);
   box-shadow: inset 3px 3px 6px hsl(200, 47%, 95%), 2px 2px 2px  hsl(0, 0%, 50%), -1px -1px 2px hsl(195, 30%, 85%);
}
.search-buttons-sub-container {
   padding: 10px 0px 0px 10px;
   border-radius: 5px;
   margin-bottom:15px;
   margin-left:-400px;
   display: flex;
   flex-wrap: wrap;
   max-width:99%;
   background:hsl(200, 47%, 90%);
   box-shadow: inset 3px 3px 6px hsl(200, 47%, 95%), 2px 2px 2px  hsl(0, 0%, 50%), -1px -1px 2px hsl(195, 30%, 85%);
}
.filter-buttons-dropdown {
  display: inline-block;
  float:left;
}
.filter-buttons-dropdown-content {
  display: none;
  position: absolute;
  margin-top: 143px;
  z-index: 1;
}
.filter-buttons-dropdown:hover .filter-buttons-dropdown-content {
  display: block;
}
.filter-buttons-main-options::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  background: linear-gradient(to bottom, rgba(236, 244, 249, 0), rgba(255, 255, 255, 0.75) 50%, rgba(236, 244, 249, 0));
  transform: rotateZ(60deg) translate(-5em, 7.5em);
}
.filter-buttons-main-options:hover::after, .filter-buttons-main-options:focus::after {
  animation: filter-button-sheen 1.5s forwards;
}
@keyframes filter-button-sheen {
  100% {
    transform: rotateZ(60deg) translate(1em, -9em);
  }
}
.filter-buttons-dropdown-options::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  background: linear-gradient(to bottom, rgba(236, 244, 249, 0), rgba(255,255,255,0.75) 50%, rgba(236, 244, 249, 0));
  transform: rotateZ(60deg) translate(-5em, 7.5em);
}
.filter-buttons-dropdown-options:hover::after, .filter-buttons-dropdown-options:focus::after {
  animation: filter-button-sheen 1.5s forwards;
}
@keyframes filter-button-sheen {
  100% {
    transform: rotateZ(60deg) translate(1em, -9em);
  }
}
.search-button::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  background: linear-gradient(to bottom, rgba(236, 244, 249, 0), rgba(255,255,255,0.75) 50%, rgba(236, 244, 249, 0));
  transform: rotateZ(60deg) translate(-5em, 7.5em);
}
.search-button:hover::after, .search-button:focus::after {
  animation: search-button-sheen 1.5s forwards;
}
@keyframes search-button-sheen {
  100% {
    transform: rotateZ(60deg) translate(1em, -9em);
  }
}
.searchBox2 {
  position: relative;
  border: none;
  outline: none;
  background:none;
  padding: 0px;
  margin-bottom:5px;
  margin-left: 10px;
  float: left;
  width: 300px;
  height:50px;
  margin-right: -10px;
  border-radius: 5px;
}
.searchInput {
  border: none;
  outline: none;
  float: left;
  width: 330px;
  height:50px;
  margin-right: -10px;
  padding-left: 10px;
  padding-right: 20px;
  cursor:cursor;
  border-radius: 5px;
  font-size:16px;
  font-family: Helvetica, sans-serif;
  text-align:left;
  color:black;
  background:hsl(200, 50%, 93%);
  box-shadow: inset 0 0 0 transparent, 0 0 0 transparent, 0 0 0 transparent, inset 3px 3px 6px  hsl(200, 15%, 60%), inset -3px -3px 6px hsl(200, 50%, 97%), 1px 1px 2px  hsl(200, 44%, 85%), 7px 7px 0px hsl(200, 47%, 90%);
  line-height: 18px;
  transition: 1.5s;
  z-index: 99;
}
.searchButton {
  border: none;
  outline: none;
  width:50px;
  height:50px;
  position:relative;
  cursor:pointer;
  border-radius:5px;
  margin-right:10px;
  margin-bottom:10px;
  font-size:16px;
  font-family: Helvetica, sans-serif;
  text-align:center;
  color:black;
  background:hsl(200, 52%, 95%);
  box-shadow: inset 3px 3px 3px hsl(200, 52%, 98%), 3px 3px 3px hsl(200, 15%, 60%), -1px -1px 2px  hsl(200, 44%, 85%), inset 0 0 0 transparent, inset  0 0 0 transparent, 0 0 0 transparent;
  transition: 1.5s;
  white-space: pre-wrap;
  line-height: 18px;
  overflow: hidden;
}
.searchButton:hover {
   background:hsl(200, 50%, 93%);
  box-shadow: inset 0 0 0 transparent, 0 0 0 transparent, 0 0 0 transparent, inset 3px 3px 6px  hsl(200, 15%, 60%), inset -3px -3px 6px hsl(200, 50%, 97%), 1px 1px 2px  hsl(200, 44%, 85%);
  transition: 0.5s;
}
.search-symbol {
   background-color:hsl(200, 15%, 60%);
   border-radius: 50%;
   display: block;
   margin-top:-75px;
   margin-left:20px;
   width:50px;
   height:50px;
}
.search-symbol2 {
   background-color:hsl(200, 50%, 95%);
   border-radius: 50%;
   display: block;
   margin-top:-45px;
   margin-left:25px;
   width:40px;
   height:40px;
}
.search-symbol-handle {
   background-color:hsl(200, 15%, 60%);
   border-radius: 5px;
   display: block;
   margin-left:70px;
   margin-top:-10px;
   width:5px;
   height:40px;
   transform: rotate(-45deg);
}
.searchButton::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  bottom: -50%;
  left: -50%;
  background: linear-gradient(to bottom, rgba(236, 244, 249, 0), rgba(255,255,255,0.5) 50%, rgba(236, 244, 249, 0));
  transform: rotateZ(60deg) translate(-5em, 7.5em);
}
.searchButton:hover::after, .searchButton:focus::after {
  animation: searchButton-sheen 1.5s forwards;
}
@keyframes searchButton-sheen {
  100% {
    transform: rotateZ(60deg) translate(1em, -9em);
  }
}

/* ==== SIGGRAPH HISTORY ARCHIVE – Filtration v0.1 ==== */
.sgg-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.sgg-facets {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  padding: 0.75rem 0.75rem 0.5rem;
  position: sticky;
  top: 1rem;
  max-height: calc(100vh - 2rem);
  overflow: auto;
}

.sgg-facet { margin-bottom: 1rem; }
.sgg-facet__title {
  font-weight: 600;
  margin: 0;
  font-size: 0.95rem;
}
.sgg-facet__body label { display: block; font-size: 0.9rem; padding: 0.06rem 0; } /* reduced vertical padding for tighter rows */
.sgg-radio { display: block; margin-bottom: 0.08rem; } /* smaller gap between radios */

.sgg-results { min-width: 0; }

.sgg-toolbar {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.5rem 0.25rem 0.75rem;
  border-bottom: 1px solid #e9e9e9;
  margin-bottom: 0.75rem;
}

.sgg-input {
  flex: 1 1 420px;
  max-width: 560px;
  padding: 0.5rem 0.65rem;
  border: 1px solid #d4d4d4;
  border-radius: 10px;
}

.sgg-sort { display: inline-flex; align-items: center; gap: 0.4rem; }
.sgg-sort__label { font-size: 0.9rem; color: #333; }
#sgg-sort-select {
  padding: 0.45rem 0.65rem;
  border: 1px solid #d4d4d4;
  border-radius: 10px;
}

.sgg-view { margin-left: auto; display: inline-flex; gap: 0.25rem; }
.sgg-view-btn {
  padding: 0.35rem 0.6rem;
  border: 1px solid #d4d4d4;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
}
.sgg-view-btn[aria-pressed="true"] {
  outline: 2px solid #6c4bd5; /* purple-ish accent */
  border-color: #6c4bd5;
}

/* Optional list view styling hook */
.sgg-results-list.sgg-list .entry { display: block; }

/* Hide the legacy header block entirely */
.filter-buttons-main-container { display: none !important; }

/* Collapsible facets */
.sgg-facet.is-collapsed .sgg-facet__body { display: none; }
.sgg-facet__title {
  display:flex; align-items:center; justify-content:space-between; cursor:pointer;
}
.sgg-facet__title .sgg-caret { transition: transform .2s ease; }
.sgg-facet.is-collapsed .sgg-caret { transform: rotate(-90deg); }

/* Year facet "show more" link */
.sgg-facet__more { margin-top:.25rem; font-size:.9rem; cursor:pointer; text-decoration:underline; }

/* ===== default: hide legacy header bits so there's no flash ===== */
#tableHeadersParent,
#tableHeaders,
[id^="courseHeader"] {               /* legacy div-based header cells */
  display: none !important;
}

/* also hide real <thead> and "fake first-row headers" by default */
.sgg-results thead,
.sgg-results tbody > tr:first-child {
  display: none !important;
}

/* ===== show only when Table view is active ===== */
body.sgg-is-table #tableHeadersParent,
body.sgg-is-table #tableHeaders,
body.sgg-is-table [id^="courseHeader"] {
  display: block !important;
}
body.sgg-is-table .sgg-results thead {
  display: table-header-group !important;
}
body.sgg-is-table .sgg-results tbody > tr:first-child {
  display: table-row !important;
}

/* ===== the row we tag from JS inside #tableContainerScroll ===== */
#tableContainerScroll > .sgg-legacy-header-row { display: none !important; }
body.sgg-is-table #tableContainerScroll > .sgg-legacy-header-row { display: block !important; }

/* Facet container spacing (left sidebar) */
[data-group] {
  display: flex;
  flex-direction: column;
  gap: 6px;                 /* controls space between cards */
}

/* Each facet looks like a card with a clear clickable area */
.sgg-facet {
  border: 1px solid #e5e9f2;
  margin: 0;            /* set for sake of compressing each filtration card tighter */
  border-radius: 10px;
  background: #aecaf6;    /* controls card background color; roughly color matched w/ ACM SIGGRAPH logo */
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
  overflow: hidden;          /* keep body divider inside the card */
}

/* Title row = full clickable hit-area */
.sgg-facet__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 12px;   /* controls margin size of text within card */
  cursor: pointer;
  font-weight: 600;
  color: #000000 !important;    /* controls card title color */
}

/* Hover/focus states so users see it's interactive */
.sgg-facet__title:hover {
  background: #2651e1; /* control color displayed on hover */
}
.sgg-facet__title:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(82, 125, 255, 0.35);
  background: #f7f9fc;
}

/* Body content sits inside the card */
.sgg-facet__body {
  padding: 10px 12px 12px;    /* controls padding of (collapsed) content area */
  border-top: 1px solid #edf1f7;
}

/* Collapse behavior you already wired in JS */
.sgg-facet.is-collapsed .sgg-facet__body { display: none; }

/* Rotate caret when collapsed (you added .sgg-caret earlier) */
.sgg-caret {
  margin-left: 8px;
  transition: transform 0.2s ease;
}
.sgg-facet.is-collapsed .sgg-caret {
  transform: rotate(-90deg);
}

/* =========================
   Mobile Filters Drawer
   ========================= */
@media (max-width: 900px) {
  /* stack layout (don’t reserve a left column) */
  .sgg-layout { display: block !important; }

  /* sidebar becomes a slide-in drawer */
  #sgg-facets {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 85vw;
    max-width: 420px;
    height: 100dvh;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
    transform: translateX(-100%);
    transition: transform .25s ease;
    overflow-y: auto;
    padding: 12px;
  }
  body.filters-open #sgg-facets { transform: translateX(0); }

  /* dim the page behind the drawer */
  body.filters-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 900;
  }

  /* “Filters” toggle button */
  .sgg-filters-toggle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid hsl(210 20% 75%);
    background: hsl(210 50% 96%);
    cursor: pointer;
    font-weight: 600;
  }

  /* optional: a close button at top of the drawer */
  .sgg-filters-close {
    display: inline-block;
    margin: 4px 0 10px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid hsl(210 20% 75%);
    background: hsl(210 50% 96%);
    font-weight: 600;
    cursor: pointer;
  }

  .sgg-filters-close:hover{
    background: #2651e1;
    border-color: white;
    color: white;
  }
}

/* Desktop/larger screens: keep the collapse/expand buttons hidden */
@media (min-width: 901px) {
  .sgg-filters-toggle,
  .sgg-filters-close {
    display: none;
  }
}

/* Mobile/small screens: show the collapse/expand buttons */
@media (max-width: 900px) {
  .sgg-filters-toggle { display: inline-flex; }
  .sgg-filters-close  { display: inline-block; }
}

/* ---- Desktop collapsible filters: allow collapse at any width ---- */

/* Make the toggle available on desktop (override the media-query hide) */
.sgg-filters-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: .5rem;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid hsl(210 20% 75%);
  background: hsl(210 50% 96%);
  cursor: pointer;
  font-weight: 600;
  transition: background .18s ease, border-color .18s ease;
}

.sgg-filters-toggle:hover {
  background: #2651e1;
  border-color: white;
  color: white;
}

/* Smoothly animate facet/sidebar hiding */
.sgg-facets {
  transition: width .24s ease, opacity .18s ease, transform .24s ease, padding .18s ease;
  will-change: width, opacity, transform;
}

/* When collapsed on desktop, remove the left column from the grid and hide facets visually */
body.sgg-filters-collapsed .sgg-layout {
  grid-template-columns: 0 1fr !important;
}

body.sgg-filters-collapsed .sgg-facets,
body.sgg-filters-collapsed #sgg-facets {
  width: 0 !important;
  max-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  opacity: 0 !important;
  transform: translateX(-6px);
  pointer-events: none;
  overflow: hidden;
}

/* Ensure results expand to use available space */
body.sgg-filters-collapsed .sgg-results,
body.sgg-filters-collapsed #all-filtered-entries {
  min-width: 0;
}

/* Keep close button hidden on desktop if desired (mobile-only close inside drawer) */
@media (min-width: 901px) {
  .sgg-filters-close { display: none; }
}

/* Two-column layout for Conference Year radio lists */
#facet-conf_year,
#facet-conf_year_collectibles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.15rem 0.8rem;       /* controls margin spacing of year radios */
  align-items: start;
}

/* Support collapse regardless of whether the JS toggles on the parent facet or on the inner list */
.sgg-facet.is-collapsed .sgg-facet__body { display: none !important; }
#facet-conf_year.is-collapsed,
#facet-conf_year_collectibles.is-collapsed {
  display: none !important;
}

/* Keep a single column on narrow screens for better reading */
@media (max-width: 900px) {
  #facet-conf_year,
  #facet-conf_year_collectibles {
    grid-template-columns: 1fr;
  }
}


/* ===== display category type===== */
#category-type {
    display: none;
}
#category-type.show {
    display: block !important; /* When we want to show it */
}

/* ===== display category sub type===== */
#category-sub-type {
    display: none;
}
#category-sub-type .show {
    display: block !important; /* When we want to show it */
}
