.sites-main { min-height: 65vh; }
.sites-heading { align-items: end; justify-content: space-between; }
.sites-kicker, .sites-count, .sites-detail-kicker {
  margin: 0 0 10px;
  color: #c14769;
  font-family: "Quicksand", sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
}
.sites-intro { margin: 14px 0 0; color: #5c5960; line-height: 1.7; }
.sites-count { white-space: nowrap; color: #77727b; }
.sites-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 18px; }
.sites-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid #d9d6db;
  border-radius: 999px;
  background: #fff;
  color: #44414b;
  font: inherit;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  opacity: .48;
  transition: opacity .2s, border-color .2s, transform .2s;
}
.sites-filter.is-active { opacity: 1; border-color: var(--site-color); box-shadow: 0 2px 10px #36323a12; }
.sites-filter:hover { transform: translateY(-2px); }
.sites-filter-all { justify-content: center; min-width: 96px; background: #303038; color: #fff; }
.sites-filter-all:not(.is-active) { background: #fff; color: #44414b; }
.sites-filter:focus-visible, .sites-pin:focus-visible, .sites-detail-close:focus-visible { outline: 3px solid #e55477; outline-offset: 3px; }
.sites-filter-dot { width: 12px; height: 12px; border: 1px solid #aaa; border-radius: 50%; background: var(--site-color); }
.sites-map-wrap { position: relative; overflow: hidden; border: 1px solid #dbd8dd; border-radius: 24px; background: #e8e4e2; }
.sites-map { width: 100%; aspect-ratio: 1 / 1; }
.sites-pin {
  display: block;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 3px solid #29292d;
  border-radius: 50%;
  box-shadow: 0 3px 10px #19191975;
  cursor: pointer;
}
.sites-pin[hidden] { display: none; }
.sites-pin:hover { box-shadow: 0 0 0 5px #ffffffb8, 0 3px 10px #19191975; }
.sites-detail {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: min(390px, calc(100% - 32px));
  max-height: calc(100% - 24px);
  overflow-y: auto;
  padding: 26px;
  border: 1px solid #e6dce0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 60px #2e252e35;
}
.sites-detail[hidden], .sites-map-error[hidden], .sites-detail [hidden] { display: none; }
.sites-detail-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #f5eef0; color: #48434b; cursor: pointer; }
.sites-detail-kicker { margin-right: 30px; }
.sites-detail h3 { margin: 0 28px 12px 0; color: #27252b; font-size: 1.35rem; line-height: 1.35; }
.sites-detail-members { display: flex; flex-wrap: wrap; gap: 5px; margin: 14px 0; }
.sites-member-badge { padding: 5px 9px; border: 1px solid #aaa7; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.sites-detail-address, .sites-detail-tel { margin: 10px 0; color: #67636a; font-size: .9rem; }
.sites-detail-body { margin: 18px 0; color: #333038; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.sites-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.sites-detail-actions a { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 999px; background: #303038; color: #fff; font-size: .78rem; font-weight: 700; text-decoration: none; }
.sites-detail-actions a:hover { background: #b13b65; }
.sites-map-error { position: absolute; z-index: 2; right: 16px; bottom: 36px; max-width: 280px; padding: 12px; border-radius: 12px; background: #fff; color: #4b2835; box-shadow: 0 4px 20px #0002; }
.sites-empty, .sites-map-note { margin: 14px 0 0; color: #6d6970; font-size: .8rem; }
@media (max-width: 720px) {
  .sites-heading { display: block; }
  .sites-count { display: block; margin-top: 12px; }
  .sites-detail { width: calc(100% - 24px); max-height: 55%; padding: 20px; }
}
