.stories_heading .filter_form_block > form,
.stories_heading-wrapper .filter_tags {
  display: none;
}
.stories_heading {
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: flex-start;
}
.stories_heading > h2 {
  flex: none;
  margin-top: 0.125rem;
}
.stories_heading .filter_form_block {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 2.75rem;
}

.csf {
  position: relative;
  width: 100%;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #fff;
}
.csf_bar {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}
.csf_icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  flex: none;
}
.csf_icon svg {
  width: 100%;
  height: 100%;
}
.csf_button {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  height: 2.75rem;
  margin: 0;
  padding: 0 1.125rem;
  border: 1px solid #2f2f34;
  border-radius: 1280px;
  background: #000;
  color: #fff;
  font: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.csf_button:hover,
.csf_anchor.is-open > .csf_button {
  border-color: #52525c;
  background: #18181b;
}
.csf_picker.is-active {
  border-color: #3f3f47;
  background: #27272a;
}
.csf_picker.is-active:hover,
.csf_anchor.is-open > .csf_picker.is-active {
  border-color: #52525c;
  background: #3f3f47;
}
.csf_button[hidden] {
  display: none;
}
.csf_clear {
  padding: 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  border-color: transparent;
  background: none;
  color: #a1a1aa;
}
.csf_clear:hover {
  border-color: transparent;
  background: none;
  color: #fff;
}
.csf_button:focus-visible {
  outline: 2px solid #ff5b49;
  outline-offset: 2px;
}

.csf_panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.5rem);
  left: 0;
  box-sizing: border-box;
  width: max-content;
  min-width: 13rem;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.5rem;
  border: 1px solid #2f2f34;
  border-radius: 1rem;
  background: #18181b;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.6);
  animation: csf-panel 0.16s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.csf_panel[hidden] {
  display: none;
}
.csf_options {
  display: grid;
  gap: 0.125rem;
}
.csf_option {
  position: relative;
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  align-items: center;
  column-gap: 0.625rem;
  margin: 0;
  padding: 0.5rem 0.625rem;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.12s ease;
}
.csf_option:hover {
  background: #27272a;
}
.csf_option.is-disabled {
  opacity: 0.4;
  cursor: default;
}
.csf_option.is-disabled:hover {
  background: none;
}
.csf_input {
  position: absolute;
  top: 50%;
  left: 0.625rem;
  width: 1rem;
  height: 1rem;
  margin: -0.5rem 0 0;
  opacity: 0;
  pointer-events: none;
}
.csf_box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  box-sizing: border-box;
  border: 1px solid #52525c;
  border-radius: 0.25rem;
  color: transparent;
  transition: background-color 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.csf_box svg {
  width: 0.75rem;
  height: 0.75rem;
}
.csf_option.is-checked .csf_box {
  border-color: #ff5b49;
  background: #ff5b49;
  color: #fff;
}
.csf_input:focus-visible + .csf_box {
  outline: 2px solid #ff5b49;
  outline-offset: 2px;
}
.csf_count {
  margin-left: 0.375rem;
  white-space: nowrap;
  color: #71717b;
  font-variant-numeric: tabular-nums;
}
.csf_sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media screen and (max-width: 767px) {
  .stories_heading {
    flex-flow: row wrap;
    align-items: center;
    gap: 1rem 0.75rem;
  }
  .stories_heading > h2 {
    flex: 1 1 0;
    margin-top: 0;
  }
  .stories_heading > .csf_clear {
    flex: none;
    margin-left: auto;
    padding-right: 0;
  }
  .stories_heading .filter_form_block {
    flex: 1 0 100%;
  }
  .csf {
    scroll-margin-top: 7rem;
  }
  .csf_bar {
    justify-content: flex-start;
    gap: 0.375rem;
    margin: -0.25rem;
    padding: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .csf_bar::-webkit-scrollbar {
    display: none;
  }
  .csf_bar > .csf_anchor {
    display: flex;
    flex: 1 1 0;
    min-width: max-content;
  }
  .csf_picker {
    flex: 1 1 auto;
    justify-content: center;
    padding: 0 0.875rem;
    font-size: 0.8125rem;
  }
  .csf_panel {
    right: 0;
    width: auto;
    min-width: 0;
    max-width: none;
    max-height: min(70vh, 40rem);
    overflow-y: auto;
    padding: 0.75rem;
  }
  .csf_options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.125rem 0;
  }
  .csf_option {
    flex: 1 0 50%;
    box-sizing: border-box;
    min-width: max-content;
    max-width: 100%;
  }
}

@keyframes csf-panel {
  from {
    opacity: 0;
    transform: translateY(-0.25rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .csf_panel {
    animation: none;
  }
}
