/* /explore only. The map, overlay panel, search box and chips come from the home map
   section in workation-home.css (.ws-local-*); this file only adds what is specific to
   the travel page: a compact title, the map size and the result cards. */

.explore-shell--map { padding: 24px 0 64px; } /* the explore header is sticky (in flow), so no offset for it */
.explore-shell--map .explore-intro { margin: 0 0 18px; }
.explore-shell--map .explore-intro .ws-kicker { margin: 0 0 8px; color: var(--ws-green); font-size: .75rem; font-weight: 800; letter-spacing: .16em; }
.explore-shell--map .explore-intro h1 { margin: 0 0 8px; font-size: clamp(1.55rem, 2.8vw, 2.1rem); line-height: 1.3; letter-spacing: -.04em; word-break: keep-all; }
.explore-shell--map .explore-intro p { margin: 0; font-size: .95rem; line-height: 1.65; word-break: keep-all; }

.explore-local { background: transparent; }
.explore-local .ws-local-map-shell { height: 560px; }
.explore-local #explore-map { width: 100%; height: 100%; min-height: 0; z-index: 0; }
.explore-local #explore-map .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px; }
@media (min-width: 1024px) { .explore-local .ws-local-search-panel { max-width: 760px; } } /* fits all nine chips */

.explore-results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 22px 0 12px; }
.explore-results-head h2 { margin: 0; font-size: 1.1rem; letter-spacing: -.03em; }
.explore-results-head .explore-results-count { color: var(--ws-muted); font-size: .84rem; }

.explore-results-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.explore-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--ws-line); transition: border-color .15s, box-shadow .15s; }
.explore-card.is-selected { border-color: var(--ws-green); box-shadow: 0 0 0 2px var(--ws-green) inset; }
.explore-card__media { background: #e9eee8; }
.explore-card__media img { display: block; width: 100%; height: 100%; min-height: 104px; object-fit: cover; }
.explore-card__media.is-empty { background: #eef1ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3ada5' stroke-width='1.6'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 1 0-14 0c0 4.8 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.2'/%3E%3C/svg%3E") center / 26px no-repeat; }
.explore-card__body { min-width: 0; padding: 12px 14px 4px; }
.explore-card__category { display: block; margin-bottom: 3px; color: var(--ws-green); font-size: .74rem; font-weight: 700; }
.explore-card h3 { margin: 0 0 4px; font-size: .95rem; line-height: 1.4; overflow-wrap: anywhere; }
.explore-card h3 a { color: var(--ws-ink); text-decoration: none; }
.explore-card h3 a:hover { color: var(--ws-green); text-decoration: underline; }
.explore-card__address { margin: 0; color: var(--ws-muted); font-size: .8rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.explore-card__actions { display: flex; flex-wrap: wrap; gap: 0 14px; }
.explore-card__actions a, .explore-card__actions button { display: inline-flex; align-items: center; min-height: 40px; padding: 0; border: 0; background: none; color: var(--ws-green); font: inherit; font-size: .8rem; font-weight: 700; text-decoration: none; cursor: pointer; }

.explore-status { grid-column: 1 / -1; margin: 0; padding: 22px 18px; border: 1px dashed #cfd4c9; background: #fff; color: var(--ws-muted); font-size: .9rem; line-height: 1.7; }
.explore-status p { margin: 0; }
.explore-status--error { border-style: solid; border-color: #e7c3b6; background: #fdf6f3; color: #8a3b22; }
.explore-status button { min-height: 40px; margin-top: 6px; padding: 0; border: 0; background: none; color: var(--ws-green); font: inherit; font-weight: 700; cursor: pointer; }
.explore-more { display: block; min-height: 44px; margin: 14px auto 0; padding: 0 22px; border: 1px solid var(--ws-line); border-radius: 999px; background: #fff; color: var(--ws-ink); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
.explore-more[hidden] { display: none; }
.explore-local .explore-disclaimer { margin-top: 16px; }

@media (max-width: 1023px) {
  .explore-local .ws-local-map-shell { height: 500px; }
  .explore-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phones: keep the search overlay on the map (unlike the home section's stacked tools), but compact. */
@media (max-width: 767px) {
  .explore-shell--map { padding: 18px 0 48px; }
  .explore-shell--map .explore-intro h1 { font-size: clamp(1.3rem, 6vw, 1.6rem); }
  .explore-shell--map .explore-intro p { font-size: .88rem; }
  .explore-local .ws-local-map-shell { display: block; height: 440px; }
  .explore-local #explore-map { height: 100%; }
  .explore-local .ws-local-search-panel { position: absolute; top: 10px; left: 10px; right: 10px; width: auto; max-width: none; padding: 8px 8px 0; border-radius: 8px; box-shadow: 0 3px 14px rgba(20,38,26,.16); }
  .explore-local .ws-local-search-panel .ws-place-search input, .explore-local .ws-local-search-panel .ws-place-search button { min-height: 40px; }
  .explore-local .ws-local-search-panel .ws-category-list { gap: 6px; padding: 8px 0; }
  .explore-local .ws-local-search-panel .ws-category-button { min-height: 34px; padding: 5px 11px; }
  .explore-results-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 359px) {
  .explore-card { grid-template-columns: 80px minmax(0, 1fr); }
}
