/* HONCW Core – venue search on venue category pages (includes/directory/venue-search.php). Loaded only there.
   Brand: plum #381641, pink #EF4E7A, blush #FDEAF1, lilac line #E0C5E0, body #355057. */

/* The hero's "Browse Listings" button only scrolled to the results; the filter bar sits right under the hero now. */
.honcw-vs-on a[href="#category-listings"] { display: none !important; }

/* ---------- First Look (in the hero, after the hidden Browse Listings button; or a strip above the bar) ----------
   A short band: small photo + name + tagline per venue, all side by side on desktop, a swipe row on phones.
   Kept compact so the filter bar stays above the fold. */
.honcw-fl { font-family: var(--honcw-font-body, Nunito, sans-serif); color: #355057; text-align: left; min-width: 0; width: 100%; box-sizing: border-box; }
.honcw-fl--card { margin-top: 20px; }
.honcw-fl--strip { width: calc(100% - 48px); max-width: 1440px; margin: 0 auto 16px; padding-inline: 41px; }
.honcw-fl__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.honcw-fl__eyebrow { font: 400 13px/18px var(--honcw-font-heading, 'Josefin Sans', sans-serif); letter-spacing: 1.56px; text-transform: uppercase; color: #EF4E7A; }
.honcw-fl__sub { font-size: 12px; color: #5B5560; }
.honcw-fl__list { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 14px; }
.honcw-fl__item { min-width: 0; }
.honcw-fl__item[hidden] { display: none; }
.honcw-fl__link { display: flex; align-items: stretch; gap: 12px; height: 100%; box-sizing: border-box; padding: 8px 12px 8px 8px; color: inherit; text-decoration: none !important; background: #fff; border-radius: 14px; box-shadow: 0 4px 12px rgba(35, 10, 42, .07); }
.honcw-fl__media { position: relative; flex: 0 0 88px; width: 88px; min-height: 60px; align-self: stretch; border-radius: 10px; overflow: hidden; background: #F4EEF2; } /* photo fills the tile's height, inside its 8px margin */
.honcw-fl__img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.honcw-fl__media .honcw-tier-badge { position: absolute; top: 4px; right: 4px; transform: scale(.8); transform-origin: top right; }
.honcw-fl__text { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-width: 0; padding: 2px 0; }
.honcw-fl__name { font: 400 16px/1.25 var(--honcw-font-heading, 'Josefin Sans', sans-serif); color: #381641; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.honcw-fl__link:hover .honcw-fl__name, .honcw-fl__link:focus-visible .honcw-fl__name { color: #EF4E7A; }
.honcw-fl__link:focus-visible { outline: 2px solid #EF4E7A; outline-offset: 2px; }
.honcw-fl__tag { font-size: 12.5px; line-height: 1.35; color: #355057; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Tighter hero while the venue search is on, so the filter bar shows without scrolling: the cream card (outer
   container) gets less padding, the inner column none, and the listings section less space on top. */
.honcw-vs-on .e-con:has(> .e-con > .honcw-fl--card) { padding-top: 28px !important; padding-bottom: 24px !important; }
.honcw-vs-on .e-con:has(> .honcw-fl--card) { padding-top: 0 !important; padding-bottom: 0 !important; gap: 10px !important; }
.honcw-vs-on .elementor-section:has(.honcw-vs) { padding-top: 20px !important; }

@media (max-width: 767px) {
  .honcw-fl--card { margin-top: 16px; }
  .honcw-fl--strip { width: calc(100% - 20px); padding-inline: 6px; }
  .honcw-fl__list { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 14px; margin: -2px -2px -10px; scrollbar-width: none; }
  .honcw-fl__list::-webkit-scrollbar { display: none; }
  .honcw-fl__item { flex: 0 0 240px; min-width: 0; scroll-snap-align: start; }
  .honcw-vs-on .e-con:has(> .e-con > .honcw-fl--card) { padding-top: 22px !important; padding-bottom: 18px !important; }
}

/* ---------- Filter bar ---------- */
.honcw-vs { position: sticky; top: 0; z-index: 30; margin-inline: 12px; /* lines up with the hero card's edges */ background: #fff; border-top: 1px solid #EFE6EE; border-bottom: 1px solid #EFE6EE; box-shadow: 0 6px 18px rgba(35, 10, 42, .06); margin-bottom: 28px; font-family: var(--honcw-font-body, Nunito, sans-serif); }
.admin-bar .honcw-vs { top: 32px; }
@media (max-width: 782px) { .admin-bar .honcw-vs { top: 0; } }
.honcw-vs-bar { margin: 0; }
.honcw-vs-bar__inner { padding: 12px 56px; /* same inset as the hero text */ box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.honcw-vs-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.honcw-vs-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.honcw-vs-count { font-weight: 800; font-size: 15px; color: #381641; white-space: nowrap; }

.honcw-vs-pop { position: relative; }
.honcw-vs-pill {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px 0 18px; box-sizing: border-box;
  border: 1.5px solid #E0C5E0; border-radius: 999px; background: #fff; color: #381641; font-weight: 700; font-size: 14px; white-space: nowrap; user-select: none;
}
.honcw-vs-pill::-webkit-details-marker { display: none; }
.honcw-vs-pill::marker { content: ''; }
.honcw-vs-pop[open] > .honcw-vs-pill, .honcw-vs-pop[data-active] > .honcw-vs-pill { border-color: #381641; }
.honcw-vs-pill:focus-visible { outline: 2px solid #EF4E7A; outline-offset: 2px; }
.honcw-vs-pill--quiet { padding-left: 16px; }
.honcw-vs-caret { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; transition: transform .15s ease; }
.honcw-vs-pop[open] .honcw-vs-caret { transform: rotate(180deg); }
.honcw-vs-badge { min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 999px; background: #EF4E7A; color: #fff; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

.honcw-vs-panel {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 40; width: 340px; max-height: min(70vh, 560px); overflow: auto; box-sizing: border-box;
  background: #fff; border-radius: 20px; box-shadow: 0 16px 40px rgba(35, 10, 42, .18); padding: 20px 22px 14px;
}
.honcw-vs-panel--wide { width: 560px; }
.honcw-vs-panel--right { left: auto; right: 0; width: 220px; padding: 8px; }
.honcw-vs-fieldset { border: 0; margin: 0 0 12px; padding: 0; min-width: 0; }
.honcw-vs-legend { padding: 0; margin-bottom: 8px; font-weight: 800; font-size: 15px; color: #381641; }
.honcw-vs-hint { font-weight: 600; font-size: 12px; color: #5B5560; margin-left: 6px; }
.honcw-vs-cols { display: grid; grid-template-columns: 1fr; column-gap: 20px; }
.honcw-vs-panel--wide .honcw-vs-cols { grid-template-columns: 1fr 1fr; }
.honcw-vs-opt { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 15px; line-height: 1.3; color: #2A2230; cursor: pointer; }
.honcw-vs-opt input { width: 18px; height: 18px; margin: 0; flex: 0 0 18px; accent-color: #381641; }
.honcw-vs-chipset { display: flex; flex-wrap: wrap; gap: 8px; }
.honcw-vs-choice { position: relative; cursor: pointer; }
.honcw-vs-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.honcw-vs-choice span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #E0C5E0; background: #fff; color: #381641; font-weight: 700; font-size: 13px; }
.honcw-vs-choice input:checked + span { background: #381641; border-color: #381641; color: #fff; }
.honcw-vs-choice input:focus-visible + span { outline: 2px solid #EF4E7A; outline-offset: 2px; }
.honcw-vs-panel__foot { display: flex; justify-content: flex-end; border-top: 1px solid #EFE6EE; margin-top: 4px; padding-top: 12px; position: sticky; bottom: -14px; background: #fff; padding-bottom: 2px; }
.honcw-vs button.honcw-vs-apply, a.honcw-vs-apply {
  display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 3px 22px 0; border: 0; border-radius: 999px;
  background: #381641; color: #fff; font: 400 16px/1 var(--honcw-font-heading, 'Josefin Sans', sans-serif); text-decoration: none; cursor: pointer; text-transform: none; letter-spacing: 0;
}
.honcw-vs button.honcw-vs-apply:hover, a.honcw-vs-apply:hover { background: #230A2A; color: #fff; }

.honcw-vs-sortopt { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 12px; color: #2A2230; font-weight: 700; font-size: 15px; text-decoration: none !important; }
.honcw-vs-sortopt:hover, .honcw-vs-sortopt:focus-visible { background: #F4EEF2; color: #381641; }
.honcw-vs-sortopt[aria-current] { background: #F4EEF2; color: #381641; }

.honcw-vs-chips { padding: 0 56px 12px; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.honcw-vs-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px 0 14px; border-radius: 999px; background: #FDEAF1; color: #381641 !important; font-weight: 700; font-size: 13px; text-decoration: none !important; }
.honcw-vs-chip svg { width: 14px; height: 14px; fill: none; stroke: #381641; stroke-width: 2.6; stroke-linecap: round; }
.honcw-vs-chip:hover, .honcw-vs-chip:focus-visible { background: #F8D3E1; }
.honcw-vs-clear { color: #381641 !important; font-weight: 700; font-size: 13px; text-decoration: underline; }

/* ---------- Results and paging ---------- */
.honcw-vs-on .honcw-vs-results .directorist-pagination, .honcw-vs-on .honcw-vs-results .directorist-header-bar { display: none !important; }
.honcw-vs-on .honcw-vs-results .directorist-archive-grid-view .directorist-row { row-gap: 28px; }
.honcw-vs-paging { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 36px auto 64px; font-family: var(--honcw-font-body, Nunito, sans-serif); }
.honcw-vs-shown { margin: 0; font-size: 14px; color: #5B5560; }
.honcw-vs-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.honcw-vs-pages a, .honcw-vs-pages span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid #E0C5E0; color: #381641; font-weight: 700; text-decoration: none; }
.honcw-vs-pages span[aria-current] { background: #381641; border-color: #381641; color: #fff; }
.honcw-vs-more {
  display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 4px 32px 0; box-sizing: border-box; border: 2px solid #381641 !important; border-radius: 999px !important;
  background: transparent !important; color: #381641 !important; font: 400 18px/1 var(--honcw-font-heading, 'Josefin Sans', sans-serif); cursor: pointer; text-transform: none; letter-spacing: 0;
}
.honcw-vs-more:hover { background: #381641 !important; color: #fff !important; }
.honcw-vs-more[disabled] { opacity: .6; cursor: progress; }
.honcw-vs-js .honcw-vs-pages { display: none; } /* Load more takes over when JS runs; the links stay in the HTML. */
.honcw-vs-empty { text-align: center; margin: 24px auto 64px; color: #355057; }

/* Venue cards: style tags */
.honcw-card .honcw-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.honcw-card .honcw-card__tag { padding: 5px 10px 4px; border-radius: 999px; background: #F4EEF2; color: #381641; font-size: 12px; font-weight: 700; line-height: 1.3; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1024px) {
  .honcw-vs-bar__inner, .honcw-vs-chips { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 767px) {
  .honcw-vs { margin-inline: -2px; }
  .honcw-vs-bar__inner, .honcw-vs-chips { padding-left: 16px; padding-right: 16px; }
  .honcw-vs-bar__inner { flex-wrap: wrap; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .honcw-vs-pills { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 2px; scrollbar-width: none; }
  .honcw-vs-pills::-webkit-scrollbar { display: none; }
  .honcw-vs-right { width: 100%; justify-content: space-between; }
  .honcw-vs-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .honcw-vs-chip { flex-shrink: 0; }
  /* Panels become a bottom sheet. */
  .honcw-vs-panel, .honcw-vs-panel--wide, .honcw-vs-panel--right {
    position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-height: 80vh; border-radius: 24px 24px 0 0; padding: 18px 20px 16px; z-index: 1000;
  }
  .honcw-vs-panel--wide .honcw-vs-cols { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .honcw-vs-opt { font-size: 14px; }
  .honcw-vs-pop[open]::before { content: ''; position: fixed; inset: 0; background: rgba(35, 10, 42, .45); z-index: 999; }
  .honcw-vs-panel__foot .honcw-vs-apply { width: 100%; height: 50px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .honcw-vs-caret { transition: none; } }

/* Guide pages (0.10.0): the search replaces the six-card section. Edges line up with the hero card, like /browse/. */
.honcw-guide-search { padding-top: 48px; scroll-margin-top: 90px; }
.honcw-guide-search__h { margin: 0 0 18px; padding-inline: 65px; }
@media (max-width: 1024px) { .honcw-guide-search__h { padding-inline: 44px; } }
@media (max-width: 767px) {
  .honcw-guide-search { padding-top: 32px; }
  .honcw-guide-search__h { padding-inline: 10px; font-size: 30px; line-height: 1.15; }
}
/* Inside Elementor's wrapper (guide pages), `.elementor a` / `.elementor img` outrank the single-class rules above. */
.honcw-fl .honcw-fl__link { box-shadow: 0 4px 12px rgba(35, 10, 42, .07); }
.honcw-fl .honcw-fl__img { height: 100%; }

/* Mixed guides (0.12.0): Venues and Wedding Pros sections under one bar. */
.honcw-vs-section + .honcw-vs-section { margin-top: 40px; }
.honcw-vs-section__h { margin: 0 0 14px; padding-inline: 65px; font-size: 26px; line-height: 1.2; }
.honcw-vs-section__n { margin-left: 6px; font-size: 15px; font-family: var(--honcw-font-body, Nunito, sans-serif); color: #8A7F8C; vertical-align: middle; }
@media (max-width: 1024px) { .honcw-vs-section__h { padding-inline: 44px; } }
@media (max-width: 767px) { .honcw-vs-section__h { padding-inline: 10px; font-size: 23px; } .honcw-vs-section + .honcw-vs-section { margin-top: 28px; } }

/* Hubs (0.13.3): header card matches the guide pages (1200px, cream, centered); the old First Look column is hidden
   and First Look sits above the bar, as on guides. */
body.honcw-hub-on [data-id="a2e07fa"], body.honcw-hub-on [data-id="66e278a"] {
  display: block !important; max-width: 1200px !important; width: auto !important; margin: 24px auto 0 !important;
  padding: 72px 24px 56px !important; background: #F9F6F0 !important; border-radius: 24px !important; text-align: center;
}
body.honcw-hub-on [data-id="17bfb37"], body.honcw-hub-on [data-id="7bcb723e"] { display: none !important; }
body.honcw-hub-on [data-id="20d11fa2"], body.honcw-hub-on [data-id="1e57cea"] {
  display: flex !important; flex-direction: column; align-items: center; max-width: 820px !important; width: 100% !important;
  margin: 0 auto !important; padding: 0 !important; background: transparent !important; text-align: center;
}
body.honcw-hub-on [data-id="20d11fa2"] > *, body.honcw-hub-on [data-id="1e57cea"] > * { text-align: center; }
@media (max-width: 1024px) { body.honcw-hub-on [data-id="a2e07fa"], body.honcw-hub-on [data-id="66e278a"] { margin: 24px 20px 0 !important; } }
@media (max-width: 767px) { body.honcw-hub-on [data-id="a2e07fa"], body.honcw-hub-on [data-id="66e278a"] { margin: 16px 16px 0 !important; padding: 48px 20px 40px !important; } }
.honcw-hub-search .honcw-vs-results, .honcw-hub-search .honcw-vs-paging { margin-top: 0; }

/* Category filter (vendor hub and region pages). */
.honcw-vs-find { width: 100%; margin: 4px 0 12px; padding: 9px 12px; border: 1px solid #DCD3DE; border-radius: 10px; font: inherit; font-size: 15px; }
.honcw-vs-cols--cats { max-height: 320px; overflow: auto; }
.honcw-vs-opt[hidden] { display: none !important; }

/* Region pages (/single-location/<region>/): same header card and width as the guide pages. */
.honcw-region { position: relative; left: 50%; width: min(1200px, calc(100vw - 40px)); transform: translateX(-50%); padding: 24px 0 48px; }
.honcw-region__hero { margin: 0 0 8px; padding: 72px 24px 56px; background: #F9F6F0; border-radius: 24px; text-align: center; }
.honcw-region__hero > * { max-width: 820px; margin-left: auto; margin-right: auto; }
.honcw-region__eyebrow { margin-bottom: 10px; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #EF4E7A; }
.honcw-region__h1 { margin-top: 0; margin-bottom: 14px; font-size: 44px; line-height: 1.14; font-weight: 600; color: #381641; }
.honcw-region__intro { margin-top: 0; margin-bottom: 10px; font-size: 18px; line-height: 1.55; }
.honcw-region__switch { margin: 0 auto; font-weight: 700; }
.honcw-region__switch a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.honcw-region .honcw-guide-search { padding-top: 40px; }
@media (max-width: 767px) {
  .honcw-region { width: calc(100vw - 32px); padding-top: 16px; }
  .honcw-region__hero { padding: 48px 20px 40px; }
  .honcw-region__h1 { font-size: 34px; }
  .honcw-region__intro { font-size: 17px; }
}
.honcw-region__hero > * { text-align: center; }
/* One or two First Look tiles keep their normal width instead of stretching across the row. */
@media (min-width: 768px) { .honcw-fl__list:not(:has(> :nth-child(3))) { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); } }
