.grads-mentor-template .grads-mentor-content {
  padding: 24px 16px 48px;
  background: #f5f3ef;
}

.grads-mentor-template .grads-mentor-search {
  max-width: 1220px;
  margin: 0 auto 24px;
  background: #ffffff;
  border: 1px solid #e5ddd4;
  border-radius: 18px;
  padding: 18px;
}

.grads-mentor-template .grads-mentor-search-header {
  margin-bottom: 12px;
}

.grads-mentor-template .grads-mentor-title {
  color: #1a1108;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 6px;
}

.grads-mentor-template .grads-mentor-subtitle {
  color: #7d7369;
  font-size: 14px;
  margin: 0;
}

.grads-mentor-template .grads-mentor-search-inner {
  background: #f8f6f2;
  border-radius: 14px;
  padding: 14px;
  box-shadow: none;
}

.grads-mentor-template .grads-mentor-search-form {
  margin-bottom: 0;
}

.grads-mentor-template .main-search-form {
  margin-bottom: 0;
}

.grads-mentor-template .main-search-input-item {
  background: transparent;
}

.grads-mentor-template .split-top-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.grads-mentor-template .row.with-forms.split-top-inputs {
  margin-left: 0;
  margin-right: 0;
}

.grads-mentor-template .row.with-forms.split-top-inputs::before,
.grads-mentor-template .row.with-forms.split-top-inputs::after {
  content: none !important;
  display: none !important;
}

.grads-mentor-template .split-top-inputs > div {
  flex: 1 1 calc(22% - 10px);
  min-width: 220px;
  float: none;
  padding: 0;
}

/* Prefer wider first field (keyword search) when present */
.grads-mentor-template .split-top-inputs > div:first-child {
  flex-basis: calc(34% - 10px);
  min-width: 320px;
}

.grads-mentor-template .main-search-input-item input[type="text"],
.grads-mentor-template .main-search-input-item input[type="search"],
.grads-mentor-template .main-search-input-item input[type="email"],
.grads-mentor-template .main-search-input-item input[type="number"],
.grads-mentor-template .main-search-input-item input[type="tel"],
.grads-mentor-template .main-search-input-item select,
.grads-mentor-template .grads-mentor-search-inner .drilldown-menu,
.grads-mentor-template .bootstrap-select .dropdown-toggle {
  height: 48px;
  border: 1px solid #dfd6cb;
  border-radius: 10px;
  background: #fff;
  box-shadow: none;
}
.grads-mentor-template .grads-mentor-search-inner .drilldown-menu {
  width: 100%;
}

.grads-mentor-template .main-search-input-item input[type="checkbox"],
.grads-mentor-template .panel-dropdown-content input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 16px;
  margin: 0 6px;
}

.grads-mentor-template .bootstrap-select.btn-group .dropdown-menu {
  border-radius: 10px;
}

.grads-mentor-template .more-search-options-trigger {
  display: none !important;
}

.grads-mentor-template .more-search-options.relative,
.grads-mentor-template .more-search-options {
  display: block !important;
  position: static;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e4dbd0;
}

.grads-mentor-template .panel-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 10px;
  align-items: start;
  margin-top: 10px;
}

.grads-mentor-template .panel-dropdown {
  position: static !important;
  margin: 0;
  width: 100%;
}

.grads-mentor-template .panel-dropdown > a {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 16px;
  border: 1px solid #dfd6cb;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.grads-mentor-template .panel-dropdown-content {
  border: 1px solid #e3dbcf;
  border-radius: 12px;
  box-shadow: none;
  background: #fff;
}

/* Keep panel filters expanded by default (no click-to-open). */
.grads-mentor-template .panel-wrapper .panel-dropdown {
  flex: 1 1 260px;
  min-width: 240px;
}

.rating-filter__field:first-child .rating-filter__text,
.rating-filter__field:last-child .rating-filter__text {
  border-radius: 999px !important;
}
.rating-filter__input + .rating-filter__text:after {
  display: none !important;
}

.grads-mentor-template .panel-wrapper .panel-dropdown > a {
  display: block !important;
  pointer-events: none;
  height: auto;
  min-height: 20px;
  margin: 0 0 8px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  color: #1a1108;
}

.grads-mentor-template .panel-wrapper .panel-dropdown > a .caret,
.grads-mentor-template .panel-wrapper .panel-dropdown > a .bs-caret {
  display: none !important;
}

.grads-mentor-template .panel-wrapper .panel-dropdown .panel-dropdown-content {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: static !important;
  transform: none !important;
  pointer-events: auto !important;
  margin-top: 0;
  padding: 10px;
  width: 100%;
  min-width: 0;
  z-index: auto !important;
  background: none;
  border: none;
}

.grads-mentor-template .panel-wrapper .panel-buttons {
  display: none !important;
}

/* Render taxonomy checkboxes as compact chips in second row */
.grads-mentor-template .panel-checkboxes-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
}

.grads-mentor-template .panel-checkbox-wrap {
  display: inline-flex;
  position: relative;
  justify-content: center;
  align-items: center;
  border: 1px solid #dfd6cb;
  border-radius: 999px;
  background: #fff;
  height: 38px;
  padding: 0 6px;
  transition: all 0.18s ease;
  overflow: hidden;
}

.grads-mentor-template .panel-checkbox-wrap input[type="checkbox"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  display: block;
}

.grads-mentor-template .panel-checkbox-wrap label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
  font-weight: 600;
  font-size: 12px;
  padding-right: 0;
  pointer-events: none;
}
.grads-mentor-template .panel-checkbox-wrap label::before {
  display: none;
}



.grads-mentor-template .rating-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.grads-mentor-template .rating-filter__field {
  display: inline-flex;
  margin: 0;
}

.grads-mentor-template .rating-filter__input {
  display: none;
}

.grads-mentor-template .rating-filter__text {
  border: 1px solid #dfd6cb;
  background: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  min-height: 38px;
  min-width: 78px;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.grads-mentor-template .rating-filter__text i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  line-height: 1;
  font-size: 0.95em;
}

.grads-mentor-template .panel-checkbox-wrap:has(input:checked),
.grads-mentor-template .rating-filter__input:checked + .rating-filter__text {
  background: var(--listeo-primary-color, var(--primary-color, #c9922a));
  border-color: var(--listeo-primary-color, var(--primary-color, #c9922a));
  color: #fff;

}

.grads-mentor-template .panel-checkbox-wrap:has(input:checked) label {
  color: #fff;
}

.grads-mentor-template .panel-dropdown-content .range-slider-container,
.grads-mentor-template .panel-dropdown-content .rating-filter {
  width: 100%;
}

.grads-mentor-template .panel-dropdown-content .panel-buttons,
.grads-mentor-template .panel-dropdown-content .slider-disable {
  display: none !important;
}

.grads-mentor-template .panel-dropdown-content .range-slider-subtitle {
  display: none;
}

/* Hide empty panel cards when taxonomy has no terms */
.grads-mentor-template
  .panel-dropdown:has(
    .panel-checkboxes-container:not(:has(.panel-checkbox-wrap))
  ) {
  display: none !important;
}

.grads-mentor-template .rating-filter__field .rating-filter__text {
  border-radius: 999px;
}

.grads-mentor-template .range-slider-container {
  border-radius: 12px;
  padding-top: 5px;
}
.grads-mentor-template .range-slider-container .range-slider-headline {
  display: none;
}

.grads-mentor-template .grads-mentor-listings {
  max-width: 1220px;
  margin: 0 auto;
}

.grads-mentor-template .listings-container {
  margin-top: 0;
}

.grads-mentor-template .listing-item {
  border-radius: 14px;
  overflow: hidden;
}

.grads-mentor-template .mentor-name-nl {
  margin-bottom: 4px;
}

.grads-mentor-template .listing-service-title-nl {
  font-weight: 600;
  color: #1a1108;
  font-size: 14px;
  margin: 0;
}

.grads-mentor-template .listing-university-nl,
.grads-mentor-template .listing-location-nl,
.grads-mentor-template .listing-mentor-stats-nl {
  margin: 0 0 5px;
  font-size: 13px;
  color: #4d443c;
}

.grads-mentor-template .listing-mentor-stats-nl {
  margin-top: 8px;
  font-weight: 500;
}

.layout-switcher {
  text-align: right !important;
  justify-content: flex-start;
  display: flex;
  align-items: center;
}
#tax-listing_category-panel,
#tax-listing_feature-panel {
  display: none;
}
@media (max-width: 991px) {
  .grads-mentor-template .grads-mentor-content {
    padding: 16px 12px 30px;
  }

  .grads-mentor-template .grads-mentor-title {
    font-size: 24px;
  }

  .grads-mentor-template .split-top-inputs {
    display: flex;
    flex-wrap: wrap;
  }

  .grads-mentor-template .split-top-inputs > div,
  .grads-mentor-template .split-top-inputs > div:first-child {
    flex-basis: 100%;
    min-width: 100%;
  }

  .grads-mentor-template .panel-wrapper {
    grid-template-columns: 1fr;
  }
}
.listing-title-nl {
  margin-bottom: 10px;
}
body .listing-excerpt-nl {
  margin-top: 0;
}
