.resource-search, .multi-filter,
.search-box {
  display: flex;
  gap: 1.5em;
}

.resource-search .filter-group, .keyword-wrap, .multi-filter .filter-group,
.search-box .filter-group {
  flex-grow: 1;
  position: relative;
}
.resource-search .filter-group:has(.toggle[aria-expanded=false]) .options, .keyword-wrap:has(.toggle[aria-expanded=false]) .options, .multi-filter .filter-group:has(.toggle[aria-expanded=false]) .options,
.search-box .filter-group:has(.toggle[aria-expanded=false]) .options {
  pointer-events: none;
}

.resource-search-summary, .multi-filter-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1em;
}
.resource-search-summary .filters, .multi-filter-summary .filters {
  display: flex;
  gap: 2em;
  flex-grow: 1;
}
.resource-search-summary .filters strong, .multi-filter-summary .filters strong {
  display: inline-block;
  margin-bottom: 0.5em;
}
.resource-search-summary .filters > div, .multi-filter-summary .filters > div {
  max-width: 33%;
}

.resource-search .toggle, .multi-filter .toggle,
.search-box .toggle {
  background: none;
  padding: 0.3em 1em;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 1px solid;
}
.resource-search .toggle .icon, .multi-filter .toggle .icon,
.search-box .toggle .icon {
  display: inline-block;
  margin-right: 0.3em;
  transition: transform 0.2s;
  width: 0.5em;
  height: 0.5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.resource-search [aria-expanded=true].toggle .icon, .multi-filter [aria-expanded=true].toggle .icon,
.search-box [aria-expanded=true].toggle .icon {
  transform: rotate(225deg);
}

.resource-search .options, .multi-filter .options,
.search-box .options {
  position: absolute;
  z-index: 1;
  width: 100%;
  overflow: hidden;
}

.resource-search .options-content, .multi-filter .options-content,
.search-box .options-content {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.3em;
  padding: 1em;
  background-color: white;
  transform: translateY(-100%);
}
.resource-search .options-content label, .multi-filter .options-content label,
.search-box .options-content label {
  margin: 0 0 -1px;
  border-bottom: 1px solid transparent;
}
.resource-search .options-content label:hover, .multi-filter .options-content label:hover,
.search-box .options-content label:hover {
  border-bottom-color: currentColor;
}

.resource-search .controls, .multi-filter .controls,
.search-box .controls {
  display: flex;
  justify-content: flex-end;
  grid-column: 1/3;
  margin-top: 0.5em;
}
.resource-search .controls button, .multi-filter .controls button,
.search-box .controls button {
  font: inherit;
  line-height: inherit;
  font-size: var(--bdn-text-m);
  background-color: transparent;
  border: 2px solid currentColor;
  border-radius: 0.05em;
}

.resource-search input[type=checkbox], .multi-filter input[type=checkbox],
.search-box input[type=checkbox] {
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
  margin: 0;
  display: grid;
  place-content: center;
  font: inherit;
  color: currentColor;
  width: 1em;
  height: auto;
  aspect-ratio: 1;
  border: 1px solid currentColor;
}
.resource-search input[type=checkbox]::before, .multi-filter input[type=checkbox]::before,
.search-box input[type=checkbox]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em currentColor;
}
.resource-search input[type=checkbox]:checked::before, .multi-filter input[type=checkbox]:checked::before,
.search-box input[type=checkbox]:checked::before {
  transform: scale(1);
}
.resource-search input[type=checkbox]:focus, .multi-filter input[type=checkbox]:focus,
.search-box input[type=checkbox]:focus {
  outline: max(2px, 0.15em) solid currentColor;
  outline-offset: max(2px, 0.15em);
}

/**
 * Multi-Filter Component Styles
 *
 * Copyright (C) 2020  Eoin Flood
 *
 * Custom checkbox style: https://moderncss.dev/pure-css-custom-checkbox-style/
 */
.filter-group--range .options:not([hidden]) {
  display: block;
}
.filter-group--range .range-filter {
  margin-top: 0.5em;
}
.filter-group--range input[type=range] {
  position: absolute;
  top: -0.55em;
  width: 100%;
  font: inherit;
  pointer-events: none;
  -webkit-appearance: none;
  background: none;
}
.filter-group--range input[type=range]:is(:active, :focus)::-webkit-slider-thumb, .filter-group--range input[type=range]:is(:active, :focus)::-moz-range-thumb {
  background-color: currentColor;
}
.filter-group--range input[type=range]::-webkit-slider-thumb,
.filter-group--range input[type=range]::-moz-range-thumb {
  pointer-events: all;
  height: auto;
  width: 1em;
  aspect-ratio: 1;
  background: var(--bdn-primary);
  border: 2px solid var(--bdn-secondary);
  border-radius: 50%;
  cursor: pointer;
}
.filter-group--range input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
}
.filter-group--range .slider-track {
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 5px;
}

.range-slider-wrapper {
  position: relative;
}

.range-display {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6em;
}

/**
 * Search Box Styles
 * Reuses multi-filter dropdown styling (.filter-group, .toggle, .options)
 * Only adds layout-specific styling for the search-box wrapper
 */
.search-box {
  display: flex;
  gap: 1.5em;
  flex-grow: 1;
}

.search-box-submit {
  padding: 0.5em 1.5em;
  cursor: pointer;
}

.search-box-container {
  display: flex;
  align-items: center;
  gap: 1.5em;
}

/**
 * Resource Search Component Styles
 *
 * Combines keyword search input with practices and categories dropdown filters.
 * All filters are displayed in a row below the keyword input.
 * Disabled options indicate zero results in current filter context.
 */
.resource-search .options-content label.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.resource-search input[type=checkbox]:disabled {
  cursor: not-allowed;
}

.keyword-wrap:focus-within button[type=submit] {
  opacity: 1;
}
.keyword-wrap input[type=text] {
  border: 1px solid currentColor;
  border-radius: 1px;
  transition: all 0.3s;
  outline-offset: 2px;
  background-color: transparent;
}
.keyword-wrap input[type=text]::placeholder {
  color: currentColor;
  opacity: 0.7;
}
.keyword-wrap input[type=text]:focus {
  outline: 1px solid currentColor;
}
.keyword-wrap input[type=text]:focus::placeholder {
  opacity: 0.3;
}
.keyword-wrap button[type=submit] {
  position: absolute;
  right: 0.75em;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5em;
  opacity: 0;
  transition: opacity 0.2s;
  line-height: 1;
}
.keyword-wrap button[type=submit] .icon {
  width: 1.25em;
  height: 1.25em;
}

.resource-search-summary {
  margin-bottom: 1.5em;
}
.resource-search-summary .filters {
  margin-bottom: 0.75em;
}
.resource-search-summary .filters > div {
  margin-bottom: 0.5em;
}
.resource-search-summary .filters > div:last-child {
  margin-bottom: 0;
}

.brxe-user-carousel {
  position: relative;
  min-width: 0;
  width: 100%;
}
.brxe-user-carousel .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  overflow: hidden;
}
.brxe-user-carousel .user-slide {
  position: relative;
  overflow: hidden;
}
.brxe-user-carousel .user-slide a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  transition: all 0.3s ease;
}
.brxe-user-carousel .user-slide:hover .user-name {
  opacity: 1;
}
.brxe-user-carousel .user-slide:hover a {
  transform: scale(1.05);
}
.brxe-user-carousel .user-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brxe-user-carousel .bricks-swiper-button-prev {
  left: 50px;
}
.brxe-user-carousel .bricks-swiper-button-next {
  right: 50px;
}
.brxe-user-carousel .user-name {
  opacity: 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 1rem;
  text-align: center;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filters .items {
  display: flex;
  flex-wrap: wrap;
}

.filter-item {
  padding: 0.3em 0.7em;
  border-radius: 2px;
  margin-right: 0.6em;
  display: inline-block;
  white-space: nowrap;
  margin-bottom: 0.5em;
  background-color: currentColor;
  opacity: 0.9;
}
.filter-item .text {
  color: currentColor;
  filter: invert(80%);
}

/*# sourceMappingURL=bricks.css.map */
