/* Church finder — Vikinger group patterns, Saint Life brand */

.sl-churches .sl-hub-banner__icon {
  filter: grayscale(1) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
}

/* Filters bar (section-filters-bar vibe) */
.sl-filters-bar {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(29, 30, 44, 0.06);
  padding: 18px 20px;
  margin-bottom: 28px;
}

.sl-filters-bar__main {
  display: grid;
  grid-template-columns: minmax(180px, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

@media (max-width: 900px) {
  .sl-filters-bar__main {
    grid-template-columns: 1fr 1fr;
  }
}

/* Church finder: search plus two dropdowns — the search gets the room */
.sl-filters-bar__main--wide-search {
  grid-template-columns: minmax(260px, 2.4fr) repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .sl-filters-bar__main--wide-search {
    grid-template-columns: 1fr 1fr;
  }

  .sl-filters-bar__main--wide-search .sl-filters-bar__search {
    grid-column: 1 / -1;
  }
}

.sl-filters-bar__search {
  position: relative;
  display: block;
}

.sl-filters-bar__search input {
  width: 100%;
  border: 1px solid #e8e8ef;
  border-radius: 10px;
  padding: 12px 44px 12px 14px;
  font: inherit;
}

.sl-filters-bar__go {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: #0d0d0d;
  color: #fbca5c;
  cursor: pointer;
}

.sl-filters-bar__select {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #7c7e98;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sl-filters-bar__main > * {
  min-width: 0;
}

.sl-filters-bar__select select {
  width: 100%;
  min-width: 0;
  font: inherit;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #1d1e2c;
  border: 1px solid #e8e8ef;
  border-radius: 10px;
  padding: 11px 12px;
  background: #fff;
}

.sl-filters-more {
  margin-top: 14px;
  border-top: 1px solid #e8e8ef;
  padding-top: 12px;
}

.sl-filters-more summary {
  cursor: pointer;
  font-weight: 600;
  color: #1d1e2c;
  margin-bottom: 10px;
}

.sl-filters-bar__check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 14px;
}

.sl-filters-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

/* Directory cards (user-preview) */
.sl-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.sl-preview {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(29, 30, 44, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sl-preview:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(13, 13, 13, 0.1);
}

.sl-preview__cover {
  display: block;
  height: 110px;
  background:
    linear-gradient(105deg, #0d0d0d 0%, #3a2a12 55%, #eb9309 100%);
  background-size: cover;
  background-position: center;
  position: relative;
}

.sl-preview__cover-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(105deg, rgba(13, 13, 13, 0.92), rgba(235, 147, 9, 0.55)),
    url("../image/hub/banner-bg.png") center / cover;
}

.sl-preview__body {
  position: relative;
  padding: 0 20px 22px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sl-preview__cover .sl-claim-badge {
  position: absolute;
  top: 10px;
  right: 10px;
}

.sl-preview__avatar {
  position: relative;
  z-index: 1;
  width: 100px;
  height: 100px;
  margin-top: -50px;
  border-radius: 50%;
  border: 6px solid #fff;
  background: #0d0d0d center / cover no-repeat;
  box-shadow: 0 4px 14px rgba(13, 13, 13, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.sl-preview__avatar--initial {
  color: #fbca5c;
  font-family: Oswald, sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

.sl-preview__title {
  margin: 14px 0 4px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.25;
}

.sl-preview__title a {
  color: #0d0d0d;
  text-decoration: none;
}

.sl-preview__title a:hover {
  color: #960202;
}

.sl-preview__tagline,
.sl-preview__stat {
  margin: 4px 0 0;
  color: #7c7e98;
  font-size: 13px;
}

.sl-preview__stat i {
  color: #eb9309;
  margin-right: 4px;
}

.sl-preview__body .sl-offer-row {
  margin-top: 14px;
  justify-content: center;
}

.sl-preview__spacer {
  flex: 1 0 18px;
}

.sl-preview__cta {
  width: 100%;
  text-align: center;
}

/* Profile header (group-timeline) */
.sl-profile-header {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(29, 30, 44, 0.06);
  overflow: hidden;
  margin-bottom: 24px;
}

.sl-profile-header__cover {
  position: relative;
  height: 180px;
  background:
    linear-gradient(105deg, rgba(13, 13, 13, 0.94) 0%, rgba(58, 42, 18, 0.9) 50%, rgba(235, 147, 9, 0.85) 100%),
    url("../image/hub/banner-bg.png") center / cover;
  background-size: cover;
  background-position: center;
}

@media (min-width: 900px) {
  .sl-profile-header__cover {
    height: 260px;
  }
}

.sl-profile-header__cover .sl-claim-badge {
  position: absolute;
  top: 14px;
  right: 14px;
}

.sl-profile-header__info {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: 22px;
  row-gap: 10px;
  align-items: start;
  padding: 0 28px 24px;
}

.sl-profile-header__avatar {
  position: relative;
  z-index: 1;
  width: 124px;
  height: 124px;
  margin-top: -62px;
  border-radius: 50%;
  border: 6px solid #fff;
  background: #0d0d0d center / cover no-repeat;
  box-shadow: 0 6px 18px rgba(13, 13, 13, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: 1;
}

.sl-profile-header__avatar--initial {
  color: #fbca5c;
  font-family: Oswald, sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
}

.sl-profile-header__copy {
  padding-top: 18px;
  min-width: 0;
  grid-column: 2;
  grid-row: 1;
}

.sl-profile-header__crumb {
  margin: 0 0 4px;
  font-size: 13px;
  color: #7c7e98;
}

.sl-profile-header__crumb a {
  color: #b86f00;
  text-decoration: none;
  font-weight: 600;
}

.sl-profile-header__title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: #0d0d0d;
  line-height: 1.15;
}

.sl-profile-header__tradition {
  margin: 6px 0 0;
  font-weight: 600;
  font-size: 14px;
  color: #1d1e2c;
}

.sl-profile-header__text {
  grid-column: 2 / -1;
  grid-row: 2;
  margin: 0;
  color: #7c7e98;
  max-width: 52rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.sl-profile-header__side {
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  grid-column: 3;
  grid-row: 1;
  white-space: nowrap;
}

.sl-profile-header__stats {
  display: flex;
  gap: 22px;
}

.sl-profile-header__stat {
  text-align: center;
  min-width: 64px;
}

.sl-profile-header__stat-value {
  display: block;
  font-family: Oswald, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.1;
  color: #0d0d0d;
}

.sl-profile-header__stat-label {
  display: block;
  font-size: 11px;
  color: #7c7e98;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sl-profile-header__actions {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.sl-profile-header__actions .sl-hub-btn i {
  margin-right: 6px;
}

.sl-profile-header__actions .sl-chip {
  text-decoration: none;
}

@media (max-width: 1199px) and (min-width: 992px) {
  .sl-profile-header__info {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .sl-profile-header__side {
    grid-column: 2;
    grid-row: 2;
    white-space: normal;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .sl-profile-header__text {
    grid-column: 2;
    grid-row: 3;
    max-width: none;
  }

  .sl-profile-header__actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 991px) {
  .sl-profile-header__info {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 0 18px 22px;
  }

  .sl-profile-header__avatar,
  .sl-profile-header__copy,
  .sl-profile-header__side,
  .sl-profile-header__text {
    grid-column: 1;
    grid-row: auto;
  }

  .sl-profile-header__copy {
    padding-top: 12px;
  }

  .sl-profile-header__text {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .sl-profile-header__side {
    align-items: center;
    white-space: normal;
  }

  .sl-profile-header__actions {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Two-column church layout */
.sl-church-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.6fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 900px) {
  .sl-church-layout {
    grid-template-columns: 1fr;
  }
}

.sl-info-line {
  display: grid;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid #e8e8ef;
  font-size: 14px;
}

.sl-info-line span {
  color: #7c7e98;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sl-info-line strong {
  font-weight: 600;
  color: #1d1e2c;
  overflow-wrap: anywhere;
}

.sl-info-line a {
  color: #960202;
}

.sl-info-line--action {
  border-bottom: 0;
  padding-top: 14px;
  padding-bottom: 6px;
}

.sl-info-line--action .sl-hub-btn--block {
  width: 100%;
  justify-content: center;
  color: #1d1e2c;
}

.sl-info-line--action .sl-hub-btn--block:hover,
.sl-info-line--action .sl-hub-btn--block:focus-visible {
  color: #0d0d0d;
  text-decoration: none;
}

.sl-info-line--socials strong {
  font-weight: 400;
}

.sl-socials--church {
  margin: 0;
  gap: 6px;
}

.sl-socials--church .sl-socials__link {
  width: 34px;
  height: 34px;
  background: #f0f0f5;
  color: #1d1e2c;
}

.sl-socials--church .sl-socials__link:hover,
.sl-socials--church .sl-socials__link:focus-visible {
  background: #0d0d0d;
  color: #fbca5c;
  text-decoration: none;
}

.sl-leader {
  display: flex;
  gap: 14px;
  align-items: center;
}

.sl-leader__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #0d0d0d center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sl-leader__photo--initial {
  color: #fbca5c;
  font-weight: 700;
  font-size: 1.4rem;
}

.sl-leader__name {
  margin: 0;
  font-weight: 700;
}

.sl-leader__role {
  margin: 2px 0 0;
  color: #7c7e98;
  font-size: 14px;
}

.sl-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sl-photo-grid__item {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: #e8e8ef;
  display: block;
  transition: transform 0.15s ease;
}

.sl-photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sl-photo-grid__item:hover {
  transform: scale(1.03);
}

.sl-claim-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  background: #fff;
  box-shadow: 0 2px 8px rgba(13, 13, 13, 0.18);
}

.sl-claim-badge--claimed {
  color: #1a6b47;
}

.sl-claim-badge--members {
  color: #1d1e2c;
  letter-spacing: 0;
  text-transform: none;
  font-variant-numeric: tabular-nums;
}

.sl-claim-badge--unclaimed {
  color: #7c7e98;
}

.sl-offer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.sl-offer-grid--filter {
  gap: 8px;
}

.sl-offer-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  border: 1px solid #e8e8ef;
  background: #fafafa;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #7c7e98;
  position: relative;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

/* Unselected badges sit back in greyscale; selecting one brings the gold badge to life. */
.sl-offer-chip img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.15s ease, opacity 0.15s ease;
}

.sl-offer-chip:hover img {
  filter: grayscale(0.45);
  opacity: 0.85;
}

.sl-offer-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sl-offer-chip.is-on,
.sl-offer-chip:has(input:checked) {
  border-color: #0d0d0d;
  background: rgba(251, 202, 92, 0.18);
  color: #1d1e2c;
  font-weight: 600;
}

.sl-offer-chip.is-on img,
.sl-offer-chip:has(input:checked) img {
  filter: none;
  opacity: 1;
}

/* The checkbox itself is hidden, so the chip carries the keyboard focus ring. */
.sl-offer-chip:has(input:focus-visible) {
  outline: 2px solid #eb9309;
  outline-offset: 2px;
}

.sl-offer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
  font-weight: 500;
}

.sl-offer-item img,
.sl-offer-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: block;
}

.sl-offer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sl-offer-icon {
  width: 32px;
  height: 32px;
}

.sl-time-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sl-time-list li {
  display: grid;
  grid-template-columns: 110px 150px 1fr;
  gap: 8px;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid #e8e8ef;
  font-size: 15px;
}

.sl-time-list li em {
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
}

.sl-time-list li span {
  color: #7c7e98;
}

.sl-widget__note {
  margin: 12px 0 0;
  font-size: 13px;
  color: #7c7e98;
}

.sl-claim-form {
  display: grid;
  gap: 12px;
  max-width: 480px;
}

.sl-claim-form label,
.sl-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #7c7e98;
}

.sl-claim-form input,
.sl-claim-form select,
.sl-claim-form textarea,
.sl-form-grid input,
.sl-form-grid select,
.sl-form-grid textarea,
.sl-admin-times input,
.sl-admin-times select {
  font: inherit;
  font-weight: 500;
  color: #1d1e2c;
  border: 1px solid #e8e8ef;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
}

.sl-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sl-form-grid__full {
  grid-column: 1 / -1;
}

@media (max-width: 700px) {
  .sl-form-grid {
    grid-template-columns: 1fr;
  }

  .sl-time-list li {
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    row-gap: 2px;
  }

  .sl-time-list li span {
    grid-column: 1 / -1;
  }
}

.sl-admin-times {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.sl-admin-times__row {
  display: grid;
  grid-template-columns: 140px 130px 130px minmax(0, 1fr);
  gap: 8px;
}

.sl-admin-times__row--head span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7c7e98;
  padding-left: 4px;
}

.sl-admin-times select,
.sl-admin-times input {
  min-height: 46px;
  width: 100%;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  color: #1d1e2c;
  border: 1px solid #dedeea;
  border-radius: 10px;
  padding: 0 12px;
  background-color: #fff;
}

.sl-admin-times select:focus,
.sl-admin-times input:focus {
  outline: none;
  border-color: #b86f00;
  box-shadow: 0 0 0 3px rgba(235, 147, 9, 0.1);
}

@media (max-width: 700px) {
  .sl-admin-times__row {
    grid-template-columns: 1fr 1fr;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e8e8ef;
  }

  .sl-admin-times__row--head {
    display: none;
  }

  .sl-admin-times__row select,
  .sl-admin-times__row input[type="text"] {
    grid-column: 1 / -1;
  }
}

/* Church admin page */
.sl-admin-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.sl-admin-head__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #0d0d0d center / cover no-repeat;
  color: #fbca5c;
  font-family: Oswald, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px #fff, 0 6px 18px rgba(13, 13, 13, 0.18);
}

.sl-admin-head .sl-hub-content__pretitle {
  margin: 0;
}

.sl-admin-head__title {
  margin: 2px 0 6px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
  color: #0d0d0d;
}

.sl-admin-head .sl-claim-badge {
  box-shadow: none;
  background: #f1efe9;
}

@media (max-width: 700px) {
  .sl-admin-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .sl-admin-head__actions {
    grid-column: 1 / -1;
  }
}

.sl-admin-tabs {
  position: sticky;
  top: 76px;
  z-index: 6;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 20px;
  padding: 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 14px rgba(29, 30, 44, 0.08);
}

.sl-admin-tabs::-webkit-scrollbar {
  display: none;
}

.sl-admin-tabs a {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 8px;
  color: #1d1e2c;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.sl-admin-tabs a:hover {
  background: rgba(235, 147, 9, 0.1);
}

.sl-admin-tabs__count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #960202;
  color: #fff;
  font-size: 11px;
  line-height: 20px;
  text-align: center;
}

.sl-church-admin .sl-widget {
  scroll-margin-top: 150px;
}

.sl-inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  max-width: 620px;
  margin: 8px 0 22px;
}

@media (max-width: 575px) {
  .sl-inline-form {
    grid-template-columns: 1fr;
  }
}

.sl-media-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.sl-media-slot {
  border: 1px solid #e8e8ef;
  border-radius: 12px;
  padding: 12px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.sl-media-slot__label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.sl-media-slot__preview {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  background: #ddd center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sl-media-slot__preview.is-empty {
  background: #f1efe9;
  color: #b7b3a8;
  font-size: 1.6rem;
  border: 1px dashed #d9d4c7;
}

.sl-media-slot__form {
  margin: 0;
}

.sl-file {
  position: relative;
  display: inline-flex;
  margin: 0;
  cursor: pointer;
}

.sl-file input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.sl-file:focus-within .sl-hub-btn {
  box-shadow: 0 0 0 3px rgba(235, 147, 9, 0.35);
}

.sl-media-slot__remove {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #960202;
  text-decoration: underline;
  cursor: pointer;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sl-results-count {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: #7c7e98;
}

.sl-preview__tagline--strong {
  color: #1d1e2c;
  font-weight: 600;
}

.sl-preview__tagline i {
  color: #eb9309;
  margin-right: 2px;
}

.sl-offer-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1efe9;
  color: #1d1e2c;
  font-size: 12px;
  font-weight: 700;
}

.sl-photo-grid--main {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
}

@media (max-width: 560px) {
  .sl-filters-bar {
    padding: 14px;
  }

  .sl-filters-bar__main {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .sl-filters-bar__search {
    grid-column: 1 / -1;
  }

  .sl-filters-bar__select:last-child {
    grid-column: 1 / -1;
  }

  /* Two dropdowns sit side by side under the search */
  .sl-filters-bar__main--wide-search .sl-filters-bar__select:last-child {
    grid-column: auto;
  }
}

/* Results bar + empty state + duplicate check */

.sl-results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sl-results-bar .sl-results-count {
  margin: 0;
}

.sl-empty-find {
  text-align: center;
}

.sl-empty-find__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #f1efe9;
  color: #b7b3a8;
  font-size: 1.4rem;
}

.sl-empty-find .sl-hub-actions {
  justify-content: center;
  padding-bottom: 18px;
}

.sl-dupes {
  border-left: 4px solid #eb9309;
}

/* "Add your church" — deliberately unlike the gold Apply button so it reads as a
   separate action, not the next step of filtering. */

.sl-add-church {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px 0 8px;
  border: 2px solid #0d0d0d;
  border-radius: 10px;
  background: #fff;
  color: #0d0d0d;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.sl-add-church__plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fbca5c;
  color: #0d0d0d;
  font-size: 0.95rem;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.sl-add-church:hover {
  background: #0d0d0d;
  color: #fbca5c;
  transform: translateY(-1px);
}

.sl-add-church:hover .sl-add-church__plus {
  background: #fbca5c;
  color: #0d0d0d;
}

.sl-add-church:focus-visible {
  outline: 3px solid rgba(235, 147, 9, 0.5);
  outline-offset: 2px;
}

/* Filled variant for the banner + empty state */
.sl-add-church--solid {
  background: #0d0d0d;
  color: #fbca5c;
  border-color: #0d0d0d;
}

.sl-add-church--solid:hover {
  background: #1d1e2c;
  color: #fbca5c;
}

/* Push it to the far end of the filter action row */
.sl-filters-bar__actions .sl-add-church {
  margin-left: auto;
}

@media (max-width: 575px) {
  .sl-filters-bar__actions .sl-add-church {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
}

.sl-add-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding: 26px 28px;
  border-radius: 12px;
  border: 1px dashed #d9d4c7;
  background: #fffdf8;
}

.sl-add-banner__title {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d0d0d;
}

.sl-add-banner__text {
  margin: 0;
  max-width: 52ch;
  color: #7c7e98;
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ── Finder: list + map split ─────────────────────────────────── */

.sl-finder__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sl-finder__head .sl-results-count {
  margin: 0;
}

.sl-finder__views {
  display: none;
  border: 1px solid #e8e8ef;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.sl-finder__views button {
  border: 0;
  background: none;
  padding: 8px 18px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  color: #7c7e98;
  cursor: pointer;
}

.sl-finder__views button.is-active {
  background: #0d0d0d;
  color: #fbca5c;
}

.sl-finder__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

@media (min-width: 1200px) {
  .sl-finder__split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }
}

.sl-finder__list {
  display: grid;
  gap: 14px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
}

.sl-finder__mapwrap {
  position: sticky;
  top: 90px;
}

.sl-map {
  height: calc(100vh - 140px);
  min-height: 460px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(29, 30, 44, 0.08);
  z-index: 0;
}

.sl-map--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1efe9;
  color: #7c7e98;
  text-align: center;
  padding: 24px;
}

.sl-map__note {
  margin: 10px 2px 0;
  font-size: 12px;
  color: #7c7e98;
}

/* ── Result cards ─────────────────────────────────────────────── */

.sl-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e8e8ef;
  border-left: 4px solid #e8e8ef;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(29, 30, 44, 0.05);
  transition: box-shadow 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

.sl-card.is-claimed {
  border-left-color: #fbca5c;
}

.sl-card.is-unclaimed {
  border-left-style: dashed;
  background: #fdfcfa;
}

.sl-card:hover,
.sl-card.is-active {
  box-shadow: 0 10px 26px rgba(13, 13, 13, 0.1);
  transform: translateY(-2px);
  border-color: #d9d4c7;
}

.sl-card.is-active {
  border-left-color: #eb9309;
}

.sl-card__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 116px;
  border-radius: 9px;
  background: linear-gradient(140deg, #0d0d0d, #3a2a12 60%, #eb9309) center / cover no-repeat;
  color: rgba(251, 202, 92, 0.85);
  font-size: 1.6rem;
  text-decoration: none;
}

.sl-card.is-unclaimed .sl-card__thumb {
  filter: grayscale(0.55);
}

.sl-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.sl-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.sl-card__title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.25;
}

.sl-card__title a {
  color: #0d0d0d;
  text-decoration: none;
}

.sl-card__title a:hover {
  color: #960202;
}

.sl-card__tradition {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1d1e2c;
}

.sl-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0;
  font-size: 0.82rem;
  color: #7c7e98;
}

.sl-card__meta i {
  color: #eb9309;
  margin-right: 3px;
}

.sl-card .sl-offer-row {
  margin-top: 2px;
}

.sl-card .sl-offer-icon {
  width: 28px;
  height: 28px;
}

.sl-card .sl-offer-more {
  width: 28px;
  height: 28px;
  font-size: 11px;
}

.sl-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}

.sl-card__locate {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: #7c7e98;
  cursor: pointer;
}

.sl-card__locate:hover {
  color: #0d0d0d;
}

.sl-card__locate i {
  color: #eb9309;
  margin-right: 4px;
}

/* ── Map pins + popups ────────────────────────────────────────── */

.sl-pin__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  background: #7c7e98;
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(13, 13, 13, 0.35);
  transition: transform 0.15s ease;
}

.sl-pin__dot i {
  transform: rotate(45deg);
  font-size: 0.85rem;
}

.sl-pin--claimed .sl-pin__dot {
  background: #0d0d0d;
  color: #fbca5c;
}

.sl-pin.is-active .sl-pin__dot {
  background: #eb9309;
  color: #0d0d0d;
  transform: rotate(-45deg) scale(1.18);
}

.sl-pop {
  min-width: 170px;
  font-family: Barlow, sans-serif;
}

.sl-pop__name {
  margin: 0 0 4px;
  font-size: 0.98rem;
  font-weight: 700;
}

.sl-pop__name a {
  color: #0d0d0d;
  text-decoration: none;
}

.sl-pop__meta {
  margin: 0 0 3px;
  font-size: 0.82rem;
  color: #7c7e98;
}

.sl-pop__meta i {
  color: #eb9309;
}

.sl-pop__tag {
  display: inline-block;
  margin: 6px 0 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1efe9;
  color: #7c7e98;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sl-pop__tag.is-claimed {
  background: rgba(35, 135, 90, 0.12);
  color: #1a6b47;
}

.sl-pop__approx {
  margin: 6px 0 0;
  font-size: 11px;
  color: #b7b3a8;
}

.sl-pop__link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #b86f00;
}

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 991px) {
  .sl-finder__views {
    display: flex;
  }

  .sl-finder__split {
    grid-template-columns: minmax(0, 1fr);
  }

  .sl-finder__list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .sl-finder__mapwrap {
    position: static;
  }

  .sl-map {
    height: 60vh;
    min-height: 380px;
  }

  .sl-finder__split[data-view="list"] .sl-finder__mapwrap {
    display: none;
  }

  .sl-finder__split[data-view="map"] .sl-finder__list {
    display: none;
  }
}

@media (max-width: 575px) {
  .sl-card {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
  }

  .sl-card__thumb {
    min-height: 84px;
  }

  .sl-card__top {
    flex-direction: column;
    gap: 6px;
  }
}

/* ── Church admin: pin editor ─────────────────────────────────── */

.sl-pinmap {
  margin-bottom: 18px;
}

.sl-pinmap__canvas {
  height: 340px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8e8ef;
  z-index: 0;
}

.sl-pinmap__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.sl-pinmap__status {
  margin: 0;
  font-size: 0.86rem;
  color: #7c7e98;
}

/* ── Claim: modal + route explainer ───────────────────────────── */

.sl-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(560px, calc(100vw - 32px));
  height: fit-content;
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 30px 30px 26px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(13, 13, 13, 0.3);
  color: #1d1e2c;
  font-family: Barlow, sans-serif;
}

.sl-modal::backdrop {
  background: rgba(13, 13, 13, 0.55);
  backdrop-filter: blur(2px);
}

.sl-modal__close-form {
  margin: 0;
  float: right;
}

.sl-modal__close {
  border: 0;
  background: none;
  padding: 0 4px;
  font-size: 1.6rem;
  line-height: 1;
  color: #7c7e98;
  cursor: pointer;
}

.sl-modal__close:hover {
  color: #0d0d0d;
}

.sl-modal__title {
  margin: 0 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  line-height: 1.25;
}

.sl-modal__lead {
  margin: 0 0 20px;
  color: #7c7e98;
  font-size: 0.94rem;
  line-height: 1.5;
}

.sl-modal .sl-claim-form {
  max-width: none;
}

.sl-church-footer-note {
  text-align: center;
  line-height: 1.6;
}

.sl-church-footer-note__sep {
  margin: 0 0.35em;
  color: #b0b2c4;
}

.sl-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.sl-correction-form textarea {
  width: 100%;
  min-height: 110px;
  resize: vertical;
}

.sl-correction-form select {
  width: 100%;
  min-height: 42px;
}

.sl-claim-route {
  display: flex;
  gap: 12px;
  margin: 0 0 6px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(251, 202, 92, 0.16);
  border: 1px solid rgba(251, 202, 92, 0.7);
  font-size: 0.9rem;
  line-height: 1.5;
  color: #1d1e2c;
}

.sl-claim-route--manual {
  background: #f7f6f2;
  border-color: #e3ded2;
  color: #55566b;
}

.sl-claim-route > span {
  min-width: 0;
  overflow-wrap: break-word;
}

.sl-claim-route__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0d0d0d;
  color: #fbca5c;
  font-size: 0.9rem;
}

/* ── Members roster (visible only to the church's own confirmed members) ── */

.sl-roster__count {
  display: inline-block;
  min-width: 26px;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(251, 202, 92, 0.25);
  color: #0d0d0d;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  vertical-align: middle;
}

.sl-roster__note {
  font-size: 0.88rem;
}

.sl-roster__note i {
  margin-right: 4px;
  color: #b57a00;
}

.sl-roster__note a {
  color: var(--hub-accent, #960202);
  font-weight: 600;
}

/* A large congregation should not push the rest of the sidebar off the page. */
.sl-roster__list {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

/* ── Multi-site churches ─────────────────────────────────────────────
   One church meeting in several places. Locations keep their own pages; these
   pieces tie them together without making any of them look secondary. */

.sl-profile-header__family,
.sl-card__family {
  margin: 6px 0 0;
  font-size: 0.86rem;
  color: #6b6e80;
}

.sl-card__family {
  margin: 2px 0 0;
  font-size: 0.8rem;
}

.sl-profile-header__family i,
.sl-card__family i {
  margin-right: 3px;
  color: #b57a00;
}

.sl-profile-header__family a,
.sl-card__family a {
  color: #0d0d0d;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(251, 202, 92, 0.9);
  text-underline-offset: 3px;
}

.sl-profile-header__charity {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: #6b6e80;
}

/* The band of sibling locations under a location's header */
.sl-multisite-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin: 18px 0 16px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #0d0d0d;
  color: #fff;
}

.sl-multisite-strip__name {
  color: #fbca5c;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.sl-multisite-strip__name span {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

.sl-multisite-strip__name:hover {
  color: #fff;
}

.sl-multisite-strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sl-multisite-strip__loc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.sl-multisite-strip__loc em {
  font-style: normal;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

a.sl-multisite-strip__loc:hover {
  border-color: #fbca5c;
  background: rgba(251, 202, 92, 0.12);
}

.sl-multisite-strip__loc.is-here {
  border-color: #fbca5c;
  background: #fbca5c;
  color: #0d0d0d;
}

/* The multi-site church page */
.sl-multisite-intro {
  margin: 22px 0 14px;
  font-size: 1rem;
  color: #4a4c5c;
}

.sl-finder__split--multisite .sl-finder__list {
  max-height: none;
  overflow: visible;
  padding-right: 0;
}

.sl-finder__split--multisite .sl-map {
  height: 480px;
  min-height: 0;
}

/* Church admin → Locations */
.sl-multisite-points {
  margin: 0 0 16px;
  padding-left: 20px;
  color: #4a4c5c;
  font-size: 0.92rem;
  line-height: 1.6;
}

.sl-disclosure {
  margin-top: 14px;
  border: 1px solid #ecebe6;
  border-radius: 12px;
  background: #fbfaf6;
}

/* The theme sets `box-sizing: inherit` on everything, but a <details> wraps its content
   in a browser-internal slot that rule cannot reach, so fields inside fell back to
   content-box and grew by their padding (+38px) — spilling out of the box and under
   the button beside them. Restart the chain at the disclosure's children. */
.sl-disclosure > * {
  box-sizing: border-box;
}

.sl-disclosure > summary:focus {
  outline: none;
}

.sl-disclosure > summary:focus-visible {
  border-radius: 12px;
  box-shadow: 0 0 0 3px rgba(251, 202, 92, 0.7);
}

.sl-disclosure > summary {
  padding: 14px 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.sl-disclosure > summary::-webkit-details-marker {
  display: none;
}

.sl-disclosure > summary::before {
  content: "+";
  display: inline-block;
  width: 1.2em;
  color: #b57a00;
  font-weight: 800;
}

.sl-disclosure[open] > summary::before {
  content: "−";
}

.sl-disclosure > :not(summary) {
  margin: 0 18px;
}

.sl-disclosure > form {
  padding-bottom: 18px;
}

.sl-disclosure > .sl-inline-form {
  max-width: none;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 18px;
}

.sl-disclosure > .sl-inline-form .sl-hub-btn {
  white-space: nowrap;
}

.sl-disclosure > .sl-widget__note {
  margin-bottom: 12px;
}

.sl-invite {
  margin: 0 0 16px;
  padding: 16px 18px;
  border-left: 4px solid #fbca5c;
  border-radius: 10px;
  background: rgba(251, 202, 92, 0.12);
}

.sl-invite p {
  margin: 0;
}

.sl-invite__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.sl-locations .sl-person__actions {
  flex-wrap: wrap;
}

/* Add a church → "one church, several places?" */
.sl-choice-list {
  display: grid;
  gap: 10px;
}

.sl-multisite-ask__pick {
  max-width: 420px;
  margin-left: 30px;
}

@media (max-width: 991px) {
  /* Few pins: show the map above the locations rather than behind a toggle. The
     [data-view] matches the finder's own toggle rules so these win whatever it is set to. */
  .sl-finder__split--multisite[data-view] .sl-finder__mapwrap {
    display: block;
    order: -1;
  }

  .sl-finder__split--multisite[data-view] .sl-finder__list {
    display: grid;
  }

  .sl-finder__split--multisite .sl-map {
    height: 300px;
  }

  .sl-multisite-strip__name {
    white-space: normal;
  }
}

/* ── Unconfirmed listing ─────────────────────────────────────────────
   Live, but the church itself has not confirmed it: say so plainly, at the top. */

.sl-unconfirmed {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 0 0 22px;
  padding: 18px 22px;
  border: 2px solid #eb9309;
  border-radius: 14px;
  background: #fff6e2;
  color: #3d2a00;
}

.sl-unconfirmed__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eb9309;
  color: #fff;
  font-size: 1.15rem;
}

.sl-unconfirmed__body {
  min-width: 0;
}

.sl-unconfirmed__title {
  margin: 0 0 6px;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.3;
  color: #0d0d0d;
}

.sl-unconfirmed__text {
  margin: 0 0 6px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.sl-unconfirmed__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

@media (max-width: 575px) {
  .sl-unconfirmed {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }
}

/* ── Administrators: invite typeahead + remove confirm ─────────── */

.sl-admin-invite {
  max-width: 620px;
  margin-top: 18px;
  margin-bottom: 0;
  align-items: start;
}

.sl-admin-invite .sl-typeahead {
  min-width: 0;
}

.sl-admin-invite .sl-hub-btn {
  white-space: nowrap;
  margin-top: 0;
  align-self: center;
}

.sl-typeahead {
  position: relative;
}

.sl-typeahead .sl-input {
  margin: 0;
}

.sl-typeahead__list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  max-height: 260px;
  overflow: auto;
  border: 1px solid #e4e2dc;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(13, 13, 13, 0.12);
}

.sl-typeahead__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.sl-typeahead__option:hover,
.sl-typeahead__option.is-active {
  background: #faf8f4;
}

.sl-typeahead__option-name {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}

.sl-typeahead__option-meta {
  display: block;
  margin-top: 1px;
  color: #7c7e98;
  font-size: 0.82rem;
}

.sl-typeahead__empty {
  margin: 0;
  padding: 12px 10px;
  color: #7c7e98;
  font-size: 0.9rem;
}

.sl-typeahead__picked {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
  color: #1d1e2c;
}

.sl-admin-invite .sl-typeahead__picked:not([hidden]) {
  margin-top: 2px;
}

.sl-typeahead__picked strong {
  font-weight: 700;
}

.sl-admin-trash {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #7c7e98;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.sl-admin-trash:hover {
  background: #f4f1ea;
  color: #0d0d0d;
}

.sl-admin-remove-form {
  display: grid;
  gap: 16px;
}

.sl-slide-confirm {
  display: block;
  margin: 0;
}

.sl-slide-confirm__track {
  position: relative;
  display: block;
  height: 52px;
  padding: 0 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f4f1ea 0%, #ebe6dc 100%);
  border: 1px solid #e4e2dc;
  overflow: hidden;
}

.sl-slide-confirm__track::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--slide-pct, 0%);
  background: linear-gradient(90deg, rgba(251, 202, 92, 0.25), rgba(251, 202, 92, 0.55));
  pointer-events: none;
  transition: width 0.05s linear;
}

.sl-slide-confirm__hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: #7c7e98;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: opacity 0.15s ease;
}

.sl-slide-confirm__track.is-ready .sl-slide-confirm__hint {
  color: #0d0d0d;
}

.sl-slide-confirm input[type="range"] {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 52px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.sl-slide-confirm input[type="range"]::-webkit-slider-runnable-track {
  height: 52px;
  background: transparent;
}

.sl-slide-confirm input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 40px;
  height: 40px;
  margin-top: 6px;
  border: 0;
  border-radius: 50%;
  background: #0d0d0d;
  box-shadow: 0 4px 12px rgba(13, 13, 13, 0.25);
}

.sl-slide-confirm input[type="range"]::-moz-range-track {
  height: 52px;
  background: transparent;
  border: 0;
}

.sl-slide-confirm input[type="range"]::-moz-range-thumb {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #0d0d0d;
  box-shadow: 0 4px 12px rgba(13, 13, 13, 0.25);
}

.sl-slide-confirm input[type="range"]:focus-visible {
  outline: 0;
}

.sl-slide-confirm input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(251, 202, 92, 0.55);
}

.sl-slide-confirm input[type="range"]:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 3px rgba(251, 202, 92, 0.55);
}

/* ── Under the results: the same area elsewhere, and other areas ── */

.sl-area-links {
  margin-top: 28px;
  padding: 22px 26px 8px;
}

.sl-area-links__row {
  margin-bottom: 14px;
}

.sl-area-links__title {
  margin: 0 0 8px;
  color: #0d0d0d;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sl-area-links__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sl-area-links__list li {
  color: #a4a4b0;
  font-size: 0.9rem;
}

.sl-area-links__list li.is-region {
  flex-basis: 100%;
  font-weight: 700;
}

.sl-area-links__list li.is-region:not(:first-child) {
  margin-top: 6px;
}

.sl-area-links__list a {
  color: #0d0d0d;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid #fbca5c;
}

.sl-area-links__list a:hover,
.sl-area-links__list a:focus-visible {
  color: #b57a00;
}

/* "More Christian events in Swansea →" under an event or group's sidebar */
.sl-area-more {
  margin: 4px 0 0;
  text-align: center;
}

.sl-area-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0d0d0d;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 2px solid #fbca5c;
  padding-bottom: 2px;
}

.sl-area-more a:hover,
.sl-area-more a:focus-visible {
  color: #b57a00;
}

/* The event page's trail sits inside the template's event block */
.sl-event-trail {
  margin-bottom: 6px;
}
