.slct-councils {
  width: 100%;
}

.slct-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 26px;
}

.slct-search {
  position: relative;
  display: block;
  width: min(100%, 240px);
}

.slct-search-input {
  width: 100%;
  min-height: 48px;
  padding: 10px 48px 10px 20px;
  border: 0;
  border-radius: 100px;
  outline: 0;
  background: #e8e8e8;
  color: #333;
  font: inherit;
  box-shadow: none;
  transition: box-shadow .25s ease, background-color .25s ease;
}

.slct-search-input:focus {
  background: #f0f0f0;
  box-shadow: 0 0 0 2px rgba(20, 48, 78, .28);
}

.slct-search svg {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 23px;
  height: 23px;
  transform: translateY(-50%);
  fill: none;
  stroke: #9a9a9a;
  stroke-width: 1.8;
  pointer-events: none;
}

.slct-grid {
  --slct-columns: 4;
  display: grid;
  grid-template-columns: repeat(var(--slct-columns), minmax(0, 1fr));
  align-items: start;
}

.slct-card {
  min-width: 0;
  text-align: center;
  transition: opacity .22s ease, transform .22s ease;
}

.slct-card[hidden] {
  display: none !important;
}

.slct-photo-link {
  display: block;
  color: inherit;
}

.slct-photo-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: 360px;
  margin: 0 auto 18px;
  overflow: hidden;
  border-radius: 0;
  background: #ddd;
}

.slct-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.slct-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}

.slct-card:hover .slct-photo,
.slct-card:focus-within .slct-photo {
  transform: scale(1.06);
}

.slct-card:hover .slct-photo-wrap::after,
.slct-card:focus-within .slct-photo-wrap::after {
  opacity: .45;
}

.slct-name {
  margin: 0 0 10px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
}

.slct-name a {
  text-decoration: none;
}

.slct-name a:hover,
.slct-name a:focus {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.slct-position {
  font-size: 16px;
  line-height: 1.42;
}

.slct-no-results {
  margin: 50px 0;
  text-align: center;
}

@media (max-width: 767px) {
  .slct-grid {
    --slct-columns: 2;
    column-gap: 14px;
    row-gap: 24px;
  }
  .slct-toolbar { justify-content: stretch; }
  .slct-search { width: 100%; }
  .slct-photo-wrap {
    max-width: 100%;
    margin-bottom: 12px;
  }
  .slct-name {
    font-size: 16px;
    margin-bottom: 6px;
  }
  .slct-position {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slct-photo,
  .slct-card { transition: none; }
}
