/*
 * Places landing — accents + filter bar on top of archive-editorial.css
 *
 * @package Japan_Documented
 */

.archive-listing--places .archive-hero .eyebrow {
  color: var(--places);
}

.archive-listing--places .archive-hero .section-title {
  color: var(--places);
}

/* ---------- Filter bar ---------- */
.places-filter {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 32px;
  padding: 18px 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.places-filter__group {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.places-filter__label {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 88px;
}

.places-filter__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.places-filter__pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.places-filter__pill:hover {
  border-color: var(--places);
  color: var(--places);
  transform: translateY(-1px);
}

.places-filter__pill.is-active {
  background: var(--places);
  border-color: var(--places);
  color: #fff;
}

.places-filter__pill.is-active:hover {
  color: #fff;
}

.places-filter__reset {
  align-self: flex-start;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.02em;
}

.places-filter__reset:hover {
  color: var(--brand-hover);
  text-decoration: underline;
}

/* Empty-state with reset button */
.archive-listing--places .archive-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  .places-filter {
    padding: 14px 16px 16px;
    border-radius: 14px;
  }
  .places-filter__group {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .places-filter__label {
    min-width: 0;
  }
  .places-filter__pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
  }
  .places-filter__pills::-webkit-scrollbar {
    display: none;
  }
}
