/**
 * Supplier search — advanced search (page_1) and sector landing
 * (uk_company_list) displays of view solr_uk_company_list.
 * Standalone file so it does not depend on the LESS build of style.css.
 */

.supplier-search,
.sector-search {
  --ss-navy: #04043f;
  --ss-red: #eb0000;
  --ss-ink: #0b0c0c;
  --ss-muted: #5a5a68;
  --ss-line: #dcdce3;
  --ss-bg: #f5f5f7;
  --ss-accent: #00549f;
  color: var(--ss-ink);
}

.supplier-search .viewport {
  max-width: 1122px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ---------- Hero + filters ---------- */

.supplier-search__hero {
  position: relative;
  overflow: hidden;
  background: #04043f center / cover no-repeat;
  padding: 40px 0;
  color: #fff;
}

/* Tint overlay: sits above an optional background photo (set inline via
   admin/config/general). 0.6 navy over the photo == the design's photo at
   40% opacity on the navy ground. */
.supplier-search__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(4, 4, 63, 0.6);
}

.supplier-search__hero .viewport {
  position: relative;
  z-index: 1;
}

.supplier-search__hero h1 {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: #fff;
}

.supplier-search__intro {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: #fff;
}

.supplier-filters__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.supplier-filters .form-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  min-height: 64px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 10px 14px;
}

.supplier-filters .form-item label {
  display: block;
  margin: 0;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  color: #fff;
}

.supplier-filters .form-item select {
  width: 100%;
  height: 22px;
  border: 0;
  padding: 0 24px 0 0;
  background: transparent;
  font-size: 16px;
  line-height: 22px;
  color: #fff;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* Native Edge/Windows dropdowns may render the option list on a white
   background while inheriting the select's white text color. */
.supplier-filters .form-item select option {
  color: #111;
  background-color: #fff;
}

.supplier-filters .form-item::after {
  content: "";
  position: absolute;
  /* Bottom-anchored so it stays on the select when a long label wraps. */
  right: 14px;
  bottom: 17px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  pointer-events: none;
}

.supplier-filters .form-item.form-disabled {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.supplier-filters .form-item.form-disabled select {
  color: rgba(255, 255, 255, 0.45);
}

.supplier-filters__keyword {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

/* The keyword box is the input itself, not a labelled select shell — drop the
   .form-item chrome so it does not draw a second border under the input. */
.supplier-filters__keyword .form-item {
  flex: 1;
  min-height: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}

.supplier-filters__keyword .form-item::after {
  content: none;
}

.supplier-filters__keyword .form-item label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.supplier-filters__keyword input[type="text"] {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 0 14px 0 44px;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") no-repeat 14px center;
}

.supplier-filters__keyword input[type="text"]::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

/* Carried only so a new search keeps the sort chosen in the results bar. */
.supplier-filters .form-item-sort-by {
  display: none;
}

.supplier-filters .form-actions {
  margin: 0;
}

.supplier-filters .form-actions input[type="submit"] {
  height: 60px;
  min-width: 128px;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  background: var(--ss-red);
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  cursor: pointer;
}

.supplier-filters .form-actions input[type="submit"]:hover {
  background: #c40000;
}

/* ---------- Active filter chips ---------- */

.supplier-search__chips {
  background: var(--ss-bg);
  padding: 10px 0;
}

.supplier-search__chips .viewport {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.supplier-search__chips-label {
  font-size: 14px;
  color: var(--ss-muted);
}

.supplier-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  background: #e4eaf6;
  color: var(--ss-navy);
  font-size: 13px;
  text-decoration: none;
}

.supplier-chip:hover {
  background: #d3dcef;
}

.supplier-chip__remove {
  font-size: 15px;
  line-height: 1;
}

/* ---------- Result bar + sort ---------- */

.supplier-search__body {
  padding-top: 16px;
  padding-bottom: 56px;
}

.supplier-search__resultbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.supplier-search__count {
  font-size: 16px;
  font-weight: 700;
}

.supplier-sort {
  position: relative;
}

.supplier-sort__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  padding: 4px 0;
  font-size: 14px;
  color: var(--ss-muted);
  cursor: pointer;
}

.supplier-sort__toggle strong {
  color: var(--ss-ink);
  font-weight: 500;
}

.supplier-sort__caret {
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--ss-muted);
  border-bottom: 2px solid var(--ss-muted);
  transform: rotate(45deg) translate(-2px, -2px);
}

.supplier-sort__toggle[aria-expanded="true"] .supplier-sort__caret {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.supplier-sort__menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 5;
  min-width: 148px;
  margin: 4px 0 0;
  padding: 4px 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.supplier-sort.is-open .supplier-sort__menu {
  display: block;
}

.supplier-sort__menu a {
  display: block;
  padding: 8px 32px 8px 14px;
  font-size: 14px;
  color: var(--ss-ink);
  text-decoration: none;
  position: relative;
}

.supplier-sort__menu a:hover {
  background: var(--ss-bg);
}

.supplier-sort__menu a.is-active::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 13px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--ss-navy);
  border-bottom: 2px solid var(--ss-navy);
  transform: rotate(45deg);
}

/* ---------- Cards ---------- */

/* Cards render as plain .supplier-card articles (no .views-row wrapper),
   so spacing has to come from the list container, not a sibling selector. */
.supplier-search__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.supplier-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 32px 24px;
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: 6px;
}

.supplier-card__logo {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ss-bg);
  border: 1px solid var(--ss-line);
  border-radius: 6px;
}

/* Logos render through the site's .medias/background-image pattern. */
.supplier-card__logo .medias,
.supplier-card__logo .medias span {
  display: block;
  width: 100%;
  height: 100%;
}

.supplier-card__logo .medias span {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.supplier-card__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.supplier-card__body {
  flex: 1 1 auto;
  min-width: 0;
}

.supplier-card__name {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.35;
  color: var(--ss-navy);
}

.supplier-card__region {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ss-accent);
}

.supplier-card__description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ss-muted);
}

.supplier-card__description:not(.is-expanded) {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.supplier-card__description p {
  margin: 0;
}

.supplier-card__more::after,
.supplier-sort__toggle::after,
.sector-search__keyword button::after {
  content: none;
}

.supplier-card__more {
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 12px;
  color: #333;
  text-decoration: underline;
  cursor: pointer;
}

.supplier-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.supplier-tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 18px;
  background: #e6f1fb;
  color: #0c447c;
}

.supplier-tag--china {
  background: #f5f5f7;
  color: #27500a;
}

.supplier-card__actions {
  flex: 0 0 120px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.supplier-card__cta {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  text-decoration: none;
}

.supplier-card__cta--primary {
  background: var(--ss-navy);
  color: #fff;
}

.supplier-card__cta--primary:hover {
  background: #0b0a4f;
  color: #fff;
}

.supplier-card__cta--secondary {
  border: 1px solid var(--ss-navy);
  color: var(--ss-navy);
}

.supplier-card__cta--secondary:hover {
  background: var(--ss-bg);
}

.supplier-search__empty {
  padding: 48px 0;
  text-align: center;
  color: var(--ss-muted);
}

/* ---------- Pager ---------- */

/* Specificity matches style.css's sitewide `.pager__items .pager__item a`
   (0,2,1), so we chain .pager__items in too (0,3,1) to reliably win instead
   of depending on library load order. */
.supplier-search .pager__items.pager__items {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 32px 0;
  padding: 16px 0;
  list-style: none;
  align-items: center;
}

.supplier-search .pager__items .pager__item a,
.supplier-search .pager__items .pager__item--previous.is-disabled span[aria-disabled] {
  box-sizing: border-box;
  display: block;
  width: auto;
  height: auto;
  min-width: 40px;
  padding: 12px 16px;
  background: #fff;
  border: none;
  box-shadow: inset 0 0 0 2px var(--ss-navy);
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  line-height: 18px;
  color: var(--ss-navy);
  text-decoration: none;
  opacity: 1;
}

.supplier-search .pager__items .pager__item a[rel="prev"],
.supplier-search .pager__items .pager__item a[rel="next"] {
  width: auto;
}

.supplier-search .pager__items .pager__item.is-active a {
  background: var(--ss-accent);
  box-shadow: none;
  color: #fff;
}

.supplier-search .pager__items .pager__item--previous.is-disabled span[aria-disabled] {
  box-shadow: inset 0 0 0 2px var(--ss-line);
  color: var(--ss-muted);
  cursor: not-allowed;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  /* Two columns, per the mobile design. */
  .supplier-filters__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .supplier-filters__keyword {
    flex-direction: column;
    align-items: stretch;
  }

  .supplier-filters .form-actions input[type="submit"] {
    width: 100%;
  }

  .supplier-search__hero {
    padding: 24px 0;
  }

  /* Mobile drops the background photo for a flat navy band. */
  .supplier-search__hero::before {
    background: var(--ss-navy);
  }

  .supplier-search__hero h1 {
    font-size: 22px;
    line-height: 30px;
  }

  .supplier-search__intro {
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
  }

  .supplier-card {
    flex-wrap: wrap;
    gap: 16px;
  }

  .supplier-card__logo {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
  }

  .supplier-card__body {
    flex: 1 1 200px;
  }

  .supplier-card__actions {
    flex: 1 1 100%;
    flex-direction: row;
  }

  .supplier-card__cta {
    flex: 1;
  }

  /* Pager: page numbers and ellipses collapse to just prev/next. */
  .supplier-search .pager__items .pager__item:not(.pager__item--previous):not(.pager__item--next) {
    display: none;
  }
  .supplier-search .pager__items .pager__item--previous,
  .supplier-search .pager__items .pager__item--next {
    flex: 1 0 0;
  }
  .supplier-search .pager__items .pager__item--previous a,
  .supplier-search .pager__items .pager__item--previous span[aria-disabled],
  .supplier-search .pager__items .pager__item--next a {
    width: 100%;
  }
}

/* =====================================================================
   Sector landing search
   ===================================================================== */

.sector-hero {
  position: relative;
  background: var(--ss-navy);
  color: #fff;
  overflow: hidden;
}

/* Keep the title legible over whatever sector image is uploaded. */
.sector-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(4, 4, 63, 0.85) 0%, rgba(4, 4, 63, 0.45) 60%, rgba(4, 4, 63, 0.2) 100%);
}

.sector-hero .viewport {
  position: relative;
  z-index: 1;
  max-width: 1122px;
  margin: 0 auto;
  padding: 72px 16px;
}

.sector-hero h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.2;
  color: #fff;
}

.sector-hero .field--name-field-taxonomy-image,
.sector-hero .medias {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sector-hero .medias span,
.sector-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}

.sector-search {
  background: var(--ss-bg);
  padding-bottom: 48px;
}

.sector-search__body {
  max-width: 1122px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 264px 1fr;
  grid-template-areas:
    "keyword keyword"
    "resultbar resultbar"
    "sidebar results";
  gap: 24px;
}

/* The keyword box and the sidebar live in one wrapper so they can stack
   together inside the dark band on mobile; on desktop the wrapper steps out
   of the box tree and both become grid items in their own right. */
.sector-search__filters {
  display: contents;
}

.sector-search__keyword {
  grid-area: keyword;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
}

/* Full-bleed dark band behind the keyword row. */
.sector-search__keyword::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  background: var(--ss-navy);
}

.sector-search__keyword-field {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
}

.sector-search__keyword input[type="search"] {
  width: 100%;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  padding: 0 12px 0 40px;
  font-size: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") no-repeat 12px center;
}

.sector-search__keyword input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.sector-search__keyword button {
  position: relative;
  z-index: 1;
  height: 50px;
  min-width: 120px;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  background: var(--ss-red);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.sector-search__keyword button:hover {
  background: #c40000;
}

/* ---------- Sidebar ---------- */

.sector-search__sidebar {
  grid-area: sidebar;
}

.sector-filters {
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: 8px;
  padding: 4px 20px;
}

/* Held while a filter change is in flight, so a second click cannot be lost
   in the view refresh. Cleared by the refresh replacing this panel. */
.sector-filters.is-busy {
  pointer-events: none;
  opacity: 0.6;
}

/* Carried for state only: the visible keyword box and sort menu live elsewhere. */
.sector-filters .form-actions,
.sector-filters .form-item-search-api-fulltext,
.sector-filters .form-item-sort-by {
  display: none;
}

.sector-filters .form-item {
  margin: 0;
  padding: 20px 0;
}

.sector-filters .form-item + .form-item {
  border-top: 1px solid var(--ss-line);
}

/* Only meaningful when a group is collapsed, which is a mobile-only state. */
.sector-filters__current {
  display: none;
}

.sector-filters > .form-item > label,
.sector-filters legend {
  display: block;
  float: left;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ss-navy);
}

/* Legends do not create a block box on their own; the float above does, so
   clear it before the radio list. */
.sector-filters .fieldset-wrapper {
  clear: both;
}

/* Two columns, per the design. Some filters wrap their options in a
   .form-radios / .form-checkboxes container one level down; others (e.g.
   ungrouped radio fields) put the .form-item options directly in the
   wrapper. Grid the wrapper itself and, when an inner container exists,
   make it transparent to the grid instead of nesting a second grid inside
   each option. */
.sector-filters .fieldset-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
}

.sector-filters .fieldset-wrapper > .form-radios,
.sector-filters .fieldset-wrapper > .form-checkboxes,
.sector-filters .fieldset-wrapper > div:not(.form-item) {
  display: contents;
}

.sector-filters .fieldset-wrapper .form-item {
  padding: 0;
  border: 0;
}

.sector-filters .form-type-radio,
.sector-filters .form-type-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0 !important;
}

.sector-filters input[type="radio"],
.sector-filters input[type="checkbox"] {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 0;
  box-sizing: border-box;
}

.sector-filters input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--ss-line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.sector-filters input[type="radio"]:checked {
  width: 16px;
  height: 16px;
  border-color: transparent;
  background: url(../svg/check-circle.svg) center / 20px 20px no-repeat;
}

.sector-filters input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--ss-line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.sector-filters input[type="checkbox"]:checked {
  border-color: transparent;
  background: url(../svg/check-square.svg) center / 20px 20px no-repeat;
}

.sector-filters .form-type-radio label,
.sector-filters .form-type-checkbox label {
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: #333;
  cursor: pointer;
}

.sector-filters .form-type-radio input:checked + label,
.sector-filters .form-type-checkbox input:checked + label {
  color: var(--ss-navy);
}

/* ---------- Results column ---------- */

.sector-search__results {
  grid-area: results;
  min-width: 0;
}

.sector-search__resultbar {
  grid-area: resultbar;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--ss-line);
  border-radius: 8px;
}

.sector-search__resultbar .supplier-search__count {
  font-weight: 400;
}

.sector-search .pager__items.pager__items {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.sector-search .pager__items .pager__item a,
.sector-search .pager__items .pager__item--previous.is-disabled span[aria-disabled] {
  box-sizing: border-box;
  display: block;
  width: auto;
  height: auto;
  min-width: 40px;
  padding: 12px 16px;
  border: none;
  box-shadow: inset 0 0 0 2px var(--ss-navy);
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  line-height: 18px;
  color: var(--ss-navy);
  text-decoration: none;
  background: #fff;
  opacity: 1;
}

.sector-search .pager__items .pager__item a[rel="prev"],
.sector-search .pager__items .pager__item a[rel="next"] {
  width: auto;
}

.sector-search .pager__items .pager__item.is-active a {
  background: var(--ss-accent);
  box-shadow: none;
  color: #fff;
}

.sector-search .pager__items .pager__item--previous.is-disabled span[aria-disabled] {
  box-shadow: inset 0 0 0 2px var(--ss-line);
  color: var(--ss-muted);
  cursor: not-allowed;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .sector-hero .viewport {
    padding: 40px 16px;
  }

  .sector-hero h1 {
    font-size: 28px;
  }

  .sector-search__body {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  /* Filters and keyword share one dark band, filters first, as designed. */
  .sector-search__filters {
    display: flex;
    flex-direction: column;
    background: var(--ss-navy);
    margin: 0 -16px;
    padding: 16px;
  }

  .sector-search__keyword {
    padding: 16px 0 0;
    flex-direction: column;
  }

  .sector-search__keyword::before {
    content: none;
  }

  .sector-search__keyword button {
    width: 100%;
  }

  .sector-filters {
    border: 0;
    padding: 0;
    background: transparent;
  }

  .sector-filters .form-item + .form-item {
    border-top: 0;
    margin-top: 12px;
  }
  .sector-filters .form-item .form-item-field-uk-company-experience-expo {
    margin-top: 0;
  }

  /* Collapsed groups read like the dropdowns in the mobile design. */
  .sector-filters > .form-item {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 10px 14px;
  }

  .sector-filters > .form-item > label,
  .sector-filters legend {
    position: relative;
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    font-weight: 400;
    cursor: pointer;
  }

  .sector-filters > .form-item > label::after,
  .sector-filters legend::after {
    content: "";
    position: absolute;
    right: 0;
    top: 4px;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.75);
    border-bottom: 2px solid rgba(255, 255, 255, 0.75);
    transform: rotate(45deg);
  }

  .sector-filters .sector-filters__current {
    display: block;
    font-size: 16px;
    color: #fff;
  }

  .sector-filters > .form-item:not(.is-open) .fieldset-wrapper,
  .sector-filters > .form-item:not(.is-open) .form-radios {
    display: none;
  }

  .sector-filters > .form-item.is-open > label::after,
  .sector-filters > .form-item.is-open legend::after {
    transform: rotate(-135deg);
  }

  .sector-filters > .form-item.is-open .fieldset-wrapper > *,
  .sector-filters > .form-item.is-open .form-radios {
    margin-top: 10px;
  }

  .sector-filters .form-type-radio label,
  .sector-filters .form-type-checkbox label {
    color: rgba(255, 255, 255, 0.85);
  }

  .sector-filters .form-type-radio input:checked + label,
  .sector-filters .form-type-checkbox input:checked + label {
    color: #fff;
  }

  .sector-filters input[type="checkbox"] {
    border-color: rgba(255, 255, 255, 0.4);
    background: transparent;
  }

  .sector-search__resultbar {
    padding: 16px 0 12px;
  }

  /* Pager: page numbers and ellipses collapse to just prev/next. */
  .sector-search .pager__items .pager__item:not(.pager__item--previous):not(.pager__item--next) {
    display: none;
  }
  .sector-search .pager__items .pager__item--previous,
  .sector-search .pager__items .pager__item--next {
    flex: 1 0 0;
  }
  .sector-search .pager__items .pager__item--previous a,
  .sector-search .pager__items .pager__item--previous span[aria-disabled],
  .sector-search .pager__items .pager__item--next a {
    width: 100%;
  }
}
