/* Explore SEQ place search (1.0.0, 15 Nov 2026): the panel, the results page and the phone header's magnifier.
 * Classes es-srch-*. Tokens from tokens.css. Printed after the theme's own stylesheets (exploreseq-search.php). */

/* ---- the header magnifier shows on phones too (site.css hides it at 640 px and below), and the row of buttons gets tighter */
.es-top__tools a.es-tool[aria-label="Search places"] { cursor: pointer; }
@media (max-width: 640px) {
  .es-top__tools a.es-tool[aria-label="Search places"] { display: grid; }
  .es-top__in { gap: 8px; }
  .es-top__tools { gap: 6px; }
  .es-top__in .es-logo { white-space: nowrap; flex: none; }
}
@media (max-width: 400px) {
  .es-top__tools { gap: 4px; }
  .es-top__tools .es-tool, .es-top__tools .es-burger { width: 40px; height: 40px; }
  .es-top__in .es-logo { gap: 7px; font-size: 19px; }
  .es-top__in .es-logo__mark { width: 28px; height: 28px; }
  .es-top__tools .es-burger span { left: 11px; right: 11px; }
}
@media (max-width: 374px) {
  .es-top__tools { gap: 3px; }
  .es-top__tools .es-tool, .es-top__tools .es-burger { width: 38px; height: 38px; }
  .es-top__in .es-logo { gap: 6px; font-size: 18px; }
  .es-top__in .es-logo__mark { width: 26px; height: 26px; }
  .es-top__tools .es-burger span { left: 10px; right: 10px; }
}

/* ---- shared bits */
.es-srch-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.es-srch-ico { width: 22px; height: 22px; flex: none; stroke: currentColor; stroke-width: 2; }
.es-srch-field { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 8px 0 16px; background: #fff; color: var(--ink, #0b1b26); border: 2px solid var(--line-2, #cfc4ae); border-radius: var(--radius-button, 16px); transition: border-color .15s, box-shadow .15s; }
.es-srch-field:focus-within { border-color: var(--action, #0d5670); box-shadow: 0 0 0 4px var(--action-tint, #e6f0f3); }
.es-srch-field .es-srch-ico { color: var(--muted, #55656d); }
.es-srch-input { flex: 1; min-width: 0; height: 100%; padding: 0; margin: 0; background: transparent; border: 0; outline: none; box-shadow: none; font: 500 18px/1.2 var(--font-body, "Hanken Grotesk", system-ui, sans-serif); color: var(--ink, #0b1b26); -webkit-appearance: none; appearance: none; }
.es-srch-field input.es-srch-input, .es-srch-field input.es-srch-input:focus, .es-srch-field input.es-srch-input:focus-visible { outline: 0 !important; box-shadow: none !important; border: 0 !important; background: transparent !important; border-radius: 0; height: 100%; }
.es-srch-input::placeholder { color: var(--muted-2, #7d8b92); opacity: 1; }
.es-srch-input::-webkit-search-decoration, .es-srch-input::-webkit-search-cancel-button, .es-srch-input::-webkit-search-results-button { -webkit-appearance: none; display: none; }
.es-srch-clear { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; border-radius: 50%; color: var(--muted, #55656d); cursor: pointer; }
.es-srch-clear[hidden] { display: none; }
.es-srch-clear svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2; }
.es-srch-clear:hover { background: var(--alt, #f5f0e6); color: var(--ink, #0b1b26); }
.es-srch mark.es-srch-m, .es-srch-page mark.es-srch-m { background: rgba(255, 179, 65, .42); color: inherit; border-radius: 3px; padding: 0 1px; margin: 0 -1px; }

/* ---- rows (the panel and the results page) */
.es-srch-row { position: relative; display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 8px 16px; color: var(--text, #12222c); text-decoration: none; border-radius: 14px; -webkit-tap-highlight-color: transparent; box-sizing: border-box; }
.es-srch-row:hover, .es-srch-row.is-active { background: var(--alt, #f5f0e6); color: var(--text, #12222c); }
.es-srch-row.is-active::before { content: ""; position: absolute; left: 4px; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--accent, #ffb341); }
.es-srch-row:focus-visible { outline: 3px solid var(--action, #0d5670); outline-offset: -3px; }
.es-srch-thumb { flex: none; width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--alt-2, #ebe3d4); display: grid; place-items: center; color: var(--muted, #55656d); }
.es-srch-thumb img { display: block; width: 56px; height: 56px; max-width: none; object-fit: cover; }
.es-srch-thumb .es-srch-ico { width: 24px; height: 24px; }
.es-srch-thumb.is-cat { background: var(--ink, #0b1b26); color: var(--accent, #ffb341); }
.es-srch-txt { flex: 1; min-width: 0; display: grid; gap: 3px; }
.es-srch-name { display: block; font: 700 17px/1.25 var(--font-body, "Hanken Grotesk", system-ui, sans-serif); color: var(--ink, #0b1b26); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.es-srch-sub { display: block; font: 500 14px/1.3 var(--font-body, "Hanken Grotesk", system-ui, sans-serif); color: var(--muted, #55656d); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.es-srch-tag { flex: none; max-width: 40%; padding: 5px 10px; border-radius: 999px; background: var(--alt, #f5f0e6); color: var(--muted, #55656d); font: 700 12px/1.1 var(--font-body, "Hanken Grotesk", system-ui, sans-serif); letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.es-srch-row:hover .es-srch-tag, .es-srch-row.is-active .es-srch-tag { background: #fff; }
.es-srch-tag--event { background: rgba(255, 179, 65, .26); color: var(--accent-ink, #8a5a08); }
.es-srch-tag--guide { background: var(--action-tint, #e6f0f3); color: var(--action, #0d5670); }
.es-srch-tag--done { background: transparent; color: var(--muted-2, #7d8b92); border: 1px solid var(--line, #ddd3c1); }
.es-srch-row .es-srch-tag--cat, .es-srch-row:hover .es-srch-tag--cat, .es-srch-row.is-active .es-srch-tag--cat { background: var(--ink, #0b1b26); color: #fff; }
.es-srch-row--done .es-srch-thumb img { filter: grayscale(.7); opacity: .75; }
.es-srch-row--done .es-srch-name { color: var(--muted, #55656d); }
.es-srch-arrow { flex: none; width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; color: var(--muted, #55656d); }
.es-srch-row--all { min-height: 56px; margin-top: 6px; background: var(--action-tint, #e6f0f3); }
.es-srch-row--all .es-srch-name { color: var(--action, #0d5670); white-space: normal; }
.es-srch-row--all .es-srch-arrow { color: var(--action, #0d5670); }
.es-srch-row--all:hover, .es-srch-row--all.is-active { background: #d6e7ec; }
.es-srch-h { padding: 14px 16px 4px; font: 700 12px/1 var(--font-body, "Hanken Grotesk", system-ui, sans-serif); letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #55656d); }
.es-srch-grp { display: grid; gap: 2px; }
.es-srch-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 16px 16px; }
.es-srch-chip { min-height: 44px; padding: 0 16px; background: #fff; border: 1.5px solid var(--line-2, #cfc4ae); border-radius: 999px; font: 600 15px/1 var(--font-body, "Hanken Grotesk", system-ui, sans-serif); color: var(--ink, #0b1b26); cursor: pointer; }
.es-srch-chip:hover { border-color: var(--ink, #0b1b26); background: var(--alt, #f5f0e6); }
.es-srch-note { padding: 28px 16px; font: 500 16px/1.5 var(--font-body, "Hanken Grotesk", system-ui, sans-serif); color: var(--muted, #55656d); }
.es-srch-note a { color: var(--action, #0d5670); text-decoration: underline; }
.es-srch-none { padding: 26px 18px 22px; font: 500 16px/1.5 var(--font-body, "Hanken Grotesk", system-ui, sans-serif); color: var(--muted, #55656d); }
.es-srch-none p { margin: 0 0 8px; }
.es-srch-none__t { font: 700 19px/1.3 var(--font-heading, "Bricolage Grotesque", system-ui, sans-serif); color: var(--ink, #0b1b26); }
.es-srch-none__links { display: grid; gap: 4px; margin-top: 14px !important; }
.es-srch-none__links a { display: flex; align-items: center; min-height: 44px; color: var(--action, #0d5670); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---- the panel */
html.es-srch-lock { overflow: hidden; }
.es-srch { position: fixed; inset: 0; z-index: 2000; }
.es-srch[hidden] { display: none; }
.es-srch-scrim { position: absolute; inset: 0; background: rgba(11, 27, 38, .6); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: es-srch-fade .18s ease-out both; }
.es-srch-dialog { position: absolute; left: 50%; top: 10vh; width: min(680px, calc(100% - 32px)); max-height: 80vh; transform: translateX(-50%); display: flex; flex-direction: column; background: #fff; color: var(--text, #12222c); border-radius: var(--radius-md, 22px); box-shadow: 0 24px 70px rgba(11, 27, 38, .38); overflow: hidden; animation: es-srch-rise .2s cubic-bezier(.2, .7, .2, 1) both; }
.es-srch-bar { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 14px 10px; flex: none; }
.es-srch-closebtn { flex: none; min-height: 44px; padding: 0 12px; background: none; border: 0; border-radius: 12px; font: 700 15px/1 var(--font-body, "Hanken Grotesk", system-ui, sans-serif); color: var(--action, #0d5670); cursor: pointer; }
.es-srch-closebtn:hover { background: var(--action-tint, #e6f0f3); }
.es-srch-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 0 8px 12px; }
@keyframes es-srch-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes es-srch-rise { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (max-width: 640px) {
  .es-srch-dialog { left: 0; top: 0; width: 100%; max-height: none; height: 100vh; height: 100dvh; transform: none; border-radius: 0; box-shadow: none; animation: es-srch-fade .15s ease-out both; }
  .es-srch-bar { padding: 10px 10px 8px 12px; padding-top: max(10px, env(safe-area-inset-top)); }
  .es-srch-field { height: 54px; padding-left: 14px; }
  .es-srch-list { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .es-srch-scrim, .es-srch-dialog { animation: none; } }

/* ---- the quiet link under the home page's finder */
.es-srch-hero-link { margin: 14px 0 0; }
.es-srch-hero-link button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; background: none; border: 0; color: rgba(255, 255, 255, .88); font: 600 15.5px/1 var(--font-body, "Hanken Grotesk", system-ui, sans-serif); cursor: pointer; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 4px; }
.es-srch-hero-link button:hover { color: #fff; text-decoration-color: var(--accent, #ffb341); }
.es-srch-hero-link .es-srch-ico { width: 18px; height: 18px; }

/* ---- the results page (/?s=term) */
.es-srch-hero .es-srch-pageform { display: flex; align-items: center; gap: 10px; max-width: 760px; margin: 30px 0 0; padding: 0; }
.es-srch-go { flex: none; height: 58px; padding: 0 26px; background: var(--accent, #ffb341); color: var(--ink, #0b1b26); border: 0; border-radius: var(--radius-button, 16px); font: 700 16px/1 var(--font-body, "Hanken Grotesk", system-ui, sans-serif); cursor: pointer; transition: background .2s; }
.es-srch-go:hover { background: var(--accent-hover, #ffc670); }
.es-srch-body { padding: 34px 0 90px; background: #fff; }
.es-srch-page p.es-srch-summary { margin: 0 0 28px !important; padding: 0; font: 600 16px/1.4 var(--font-body, "Hanken Grotesk", system-ui, sans-serif); color: var(--muted, #55656d); }
.es-srch-group { margin: 0 0 38px; }
.es-srch-page .es-srch-group h2.es-srch-gh { margin: 0 0 14px; padding: 0; font: 700 clamp(22px, 2.2vw, 28px)/1.15 var(--font-heading, "Bricolage Grotesque", system-ui, sans-serif); letter-spacing: -.02em; color: var(--ink, #0b1b26); }
.es-srch-page .es-srch-group h2.es-srch-gh span { margin-left: 6px; font: 700 14px/1 var(--font-body, "Hanken Grotesk", system-ui, sans-serif); letter-spacing: 0; color: var(--muted, #55656d); background: var(--alt, #f5f0e6); border-radius: 999px; padding: 4px 10px; vertical-align: middle; }
.es-srch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; }
.es-srch-grid .es-srch-row { border: 1px solid var(--line, #ddd3c1); }
.es-srch-grid .es-srch-row:hover { border-color: var(--line-2, #cfc4ae); }
.es-srch-more { min-height: 48px; margin-top: 14px; padding: 0 22px; background: #fff; border: 1.5px solid var(--ink, #0b1b26); border-radius: 999px; font: 700 15px/1 var(--font-body, "Hanken Grotesk", system-ui, sans-serif); color: var(--ink, #0b1b26); cursor: pointer; }
.es-srch-more:hover { background: var(--ink, #0b1b26); color: #fff; }
.es-srch-page .es-srch-chips { padding-left: 0; }
.es-srch-page .es-srch-h { padding-left: 0; }
.es-srch-page .es-srch-grp { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; }
.es-srch-page .es-srch-grp .es-srch-row { border: 1px solid var(--line, #ddd3c1); }
.es-srch-fallback[hidden] { display: none; }
.es-srch-plain { margin: 0; padding-left: 22px; font: 500 17px/1.7 var(--font-body, "Hanken Grotesk", system-ui, sans-serif); }
.es-srch-plain li span { margin-left: 8px; color: var(--muted, #55656d); font-size: 14.5px; }
.es-srch-plain a { color: var(--action, #0d5670); font-weight: 600; }
@media (max-width: 900px) {
  .es-srch-grid, .es-srch-page .es-srch-grp { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .es-srch-hero .es-srch-pageform { flex-wrap: wrap; margin-top: 22px; }
  .es-srch-hero .es-srch-field { flex: 1 1 100%; height: 54px; }
  .es-srch-go { width: 100%; height: 52px; }
  .es-srch-body { padding: 26px 0 70px; }
}

/* ---- phone rows: the name gets the whole width, the place line and the label sit under it */
@media (max-width: 640px) {
  .es-srch-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 1px; align-items: center; min-height: 76px; padding: 9px 10px; }
  .es-srch-txt { display: contents; }
  .es-srch-thumb { grid-column: 1; grid-row: 1 / 4; align-self: center; }
  .es-srch-name { grid-column: 2; grid-row: 1; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
  .es-srch-sub { grid-column: 2; grid-row: 2; }
  .es-srch-tag { grid-column: 2; grid-row: 3; justify-self: start; max-width: 100%; margin-top: 4px; }
  .es-srch-arrow { grid-column: 3; grid-row: 1 / 4; }
  .es-srch-row--all { grid-template-columns: minmax(0, 1fr) auto; min-height: 56px; }
  .es-srch-row--all .es-srch-name { grid-column: 1; grid-row: 1; }
  .es-srch-row--all .es-srch-arrow { grid-column: 2; grid-row: 1; }
}

.es-srch-fallback .navigation.pagination, .es-srch-fallback .nav-links { margin-top: 18px; }
.es-srch-fallback .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.es-srch-fallback .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--line-2, #cfc4ae); border-radius: 12px; font: 700 15px/1 var(--font-body, "Hanken Grotesk", system-ui, sans-serif); color: var(--ink, #0b1b26); text-decoration: none; }
.es-srch-fallback .page-numbers.current { background: var(--ink, #0b1b26); border-color: var(--ink, #0b1b26); color: #fff; }
