/* L2e: People archive filters as compact dropdowns (the Taxonomy Filter buttons become the list).
   #people + !important: the kit / abd-btn button styles must not reach these controls. */
#people > .e-con-inner > .e-con, #people > .e-con { width: 320px !important; max-width: 100%; flex: 0 1 320px !important; }
#people > .e-con-inner > .e-con:not(:has(.e-filter)), #people > .e-con:not(:has(.e-filter)) { display: none !important; }
#people .abd-dd { position: relative; width: 100%; }

#people .abd-dd__toggle {
  display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important;
  box-sizing: border-box !important; width: 100% !important; min-height: 48px !important; margin: 0 !important; padding: 0 16px !important;
  border: 1px solid #DDD6CA !important; border-radius: 0 !important; background: #FFFFFF !important; color: #121110 !important;
  box-shadow: none !important; text-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important;
  font-family: "IBM Plex Sans", sans-serif !important; font-size: 15px !important; font-weight: 500 !important; line-height: 1.2 !important;
  text-align: start !important; cursor: pointer; transition: border-color .2s !important;
}
#people .abd-dd__toggle:hover, #people .abd-dd.is-open .abd-dd__toggle { border-color: #BB8100 !important; background: #FFFFFF !important; color: #121110 !important; }
#people .abd-dd__toggle:focus-visible { outline: 2px solid #BB8100 !important; outline-offset: 2px !important; }
#people .abd-dd__toggle svg { flex: none; width: 12px; height: 12px; color: #8A5E00; transition: transform .2s; }
#people .abd-dd.is-open .abd-dd__toggle svg { transform: rotate(180deg); }

#people .abd-dd .e-filter {
  display: none !important; position: absolute; z-index: 30; inset-inline: 0; top: calc(100% + 4px);
  flex-direction: column !important; flex-wrap: nowrap !important; gap: 0 !important; overflow: auto !important;
  max-height: 340px; margin: 0 !important; padding: 6px 0 !important;
  background: #FFFFFF; border: 1px solid #DDD6CA; box-shadow: 0 12px 32px rgba(18, 17, 16, .12);
}
#people .abd-dd.is-open .e-filter { display: flex !important; }
#people .abd-dd .e-filter .e-filter-item {
  display: flex !important; align-items: center !important; justify-content: flex-start !important; width: 100% !important;
  box-sizing: border-box !important; min-height: 44px !important; margin: 0 !important; padding: 10px 16px !important;
  border: 0 !important; border-radius: 0 !important; background: transparent !important; color: #3A3733 !important;
  box-shadow: none !important; text-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important;
  font-family: "IBM Plex Sans", sans-serif !important; font-size: 15px !important; font-weight: 500 !important; line-height: 1.3 !important;
  text-align: start !important; white-space: normal !important;
}
#people .abd-dd .e-filter .e-filter-item:hover, #people .abd-dd .e-filter .e-filter-item:focus-visible { background: #F6F3EE !important; color: #8A5E00 !important; outline: 0 !important; }
#people .abd-dd .e-filter .e-filter-item[aria-pressed="true"] { background: #F6F3EE !important; color: #8A5E00 !important; font-weight: 600 !important; }
#people .abd-dd .e-filter .e-filter-item[aria-pressed="true"]::after { content: "✓"; margin-inline-start: auto; padding-inline-start: 12px; }

/* Arabic: the Arabic cut of the same family, a step smaller (as the builders scale it) */
html[lang^="ar"] #people .abd-dd__toggle, html[lang^="ar"] #people .abd-dd .e-filter .e-filter-item {
  font-family: "IBM Plex Sans Arabic", sans-serif !important; font-size: 14px !important; line-height: 1.5 !important;
}

@media (max-width: 1024px) {
  #people > .e-con-inner > .e-con, #people > .e-con { width: 100% !important; flex-basis: 100% !important; }
}
