.pd-search {
  display: block;
  margin: 0 0 28px;
}

.pd-search[hidden] {
  display: none;
}

.pd-search .op-field__label {
  font-size: var(--op-size-h3);
  font-weight: 600;
}

.pd-search__row {
  position: relative;
  max-width: 32em;
}

.pd-search__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  color: var(--op-muted);
  pointer-events: none;
}

.pd-search__icon .op-icon {
  width: 22px;
  height: 22px;
}

.pd-search__input.op-input {
  width: 100%;
  min-height: 56px;
  padding-left: 50px;
  font-size: max(18px, var(--op-size-body));
}

.pd-search__count {
  min-height: 1.5em;
  margin: 8px 0 0;
  color: var(--op-muted);
  font-size: var(--op-size-small);
}

.pd-search__count:empty {
  margin: 0;
  min-height: 0;
}

.pd-search__empty {
  margin-top: 12px;
  max-width: 32em;
}

.pd-all > h2 {
  margin-top: 0;
}

.pd-letters ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.pd-letters[hidden] {
  display: none;
}

.pd-letters li {
  margin: 0;
}

.pd-letters a {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 6px;
  border: 1px solid var(--op-border);
  border-radius: 8px;
  background: var(--op-surface);
  font-weight: 600;
  color: var(--op-text);
}

.pd-letters a:hover {
  border-color: var(--op-text);
}

.pd-groups {
  margin: 0 0 8px;
}

@media (min-width: 720px) {
  .pd-groups {
    columns: 2;
    column-gap: 40px;
  }
}

.pd-group {
  break-inside: avoid;
  padding-top: 4px;
  margin: 0 0 16px;
  scroll-margin-top: 16px;
}

.pd-group[hidden] {
  display: none;
}

.pd-group__letter {
  margin: 0 0 2px;
  font-size: var(--op-size-small);
  font-weight: 700;
  color: var(--op-primary);
  letter-spacing: 0.04em;
}

.pd-regions {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pd-regions li {
  margin: 0;
  max-width: none;
}

.pd-regions li[hidden] {
  display: none;
}

.pd-regions a,
.pd-region-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 8px 2px;
  border-bottom: 1px solid var(--op-sunken);
  color: var(--op-text);
  line-height: 1.3;
  text-decoration-color: var(--op-border);
}

.pd-regions a:hover,
.pd-region-link:hover {
  color: var(--op-text);
  background: var(--op-surface);
}

.pd-region-link__chev {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--op-muted);
}

.pd-noregion {
  max-width: 28em;
  margin: 8px 0 32px;
}

.pd-region-link--other {
  font-weight: 600;
  border-bottom: 0;
}

.pd-noregion__hint {
  display: block;
  color: var(--op-muted);
  font-size: var(--op-size-small);
}

.pd-home-foot {
  padding-top: 16px;
  border-top: 1px solid var(--op-sunken);
}

.pd-search__results {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  max-width: 32em;
  background: var(--op-surface);
  border: 1px solid var(--op-border);
  border-radius: var(--op-radius);
}

.pd-search__results[hidden] {
  display: none;
}

.pd-search__results li {
  margin: 0;
  max-width: none;
  border-top: 1px solid var(--op-sunken);
}

.pd-search__results li:first-child {
  border-top: 0;
}

.pd-search__results a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 8px 16px;
  font-weight: 600;
}
