/* ==========================================================================
   CVBS venue finder, results, shortlist and comparison.
   Loaded only on find-a-venue.html, venue-results.html and the venue pages.
   Namespaced .vf- so nothing here can collide with the existing site.
   Uses the site's own tokens. No new colours, no new radii, no new shadows.
   ========================================================================== */

/* ------------------------------------------------------------- the ask */
.vf-ask{background:#fff;border:1px solid var(--line);border-radius:var(--r-card);
  box-shadow:var(--shadow-sm);padding:clamp(1.1rem,2.2vw,1.6rem)}
.vf-ask__row{display:grid;gap:.7rem;grid-template-columns:1.4fr 1fr 1.4fr auto;align-items:end}
@media(max-width:900px){.vf-ask__row{grid-template-columns:1fr 1fr}
  .vf-ask__row .vf-f--wide{grid-column:1/-1}
  .vf-ask__row .vf-go{grid-column:1/-1}}
.vf-f{display:grid;gap:.35rem;min-width:0}
.vf-f>label{font-size:.72rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--muted)}
.vf-f select,.vf-f input{width:100%;font:inherit;font-size:1rem;color:var(--text);
  background:#fff;border:1px solid var(--line);border-radius:var(--r-btn);
  padding:.72rem .85rem;appearance:none;-webkit-appearance:none}
.vf-f select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E747B' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right .7rem center;background-size:18px;padding-right:2.2rem}
.vf-f select:focus,.vf-f input:focus{outline:2px solid var(--teal-ink);outline-offset:1px;border-color:var(--teal-ink)}
.vf-go{white-space:nowrap}
.vf-ask__note{margin:.85rem 0 0;font-size:.86rem;color:var(--muted)}
.vf-ask__note a{color:var(--teal-ink)}

/* --------------------------------------------------------- results head */
.vf-head{display:flex;flex-wrap:wrap;gap:1rem;align-items:baseline;justify-content:space-between;
  padding-bottom:1rem;border-bottom:1px solid var(--line)}
.vf-count{font-size:1.05rem;font-weight:600;color:var(--text);margin:0}
.vf-count b{color:var(--teal-ink)}
.vf-sort{display:flex;align-items:center;gap:.5rem;font-size:.88rem;color:var(--muted)}
.vf-sort select{font:inherit;font-size:.88rem;border:1px solid var(--line);border-radius:var(--r-btn);
  padding:.35rem 1.9rem .35rem .6rem;background:#fff;appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E747B' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right .5rem center;background-size:16px}

/* ------------------------------------------------------------- refine */
.vf-refine{margin:1.1rem 0 0}
.vf-refine__toggle{display:inline-flex;align-items:center;gap:.5rem;font:inherit;font-size:.9rem;
  font-weight:600;color:var(--teal-ink);background:none;border:0;padding:.4rem 0;cursor:pointer}
.vf-refine__toggle svg{transition:transform .25s var(--ease)}
.vf-refine__toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
.vf-refine__panel{display:grid;gap:.9rem;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  padding:1.1rem;margin-top:.6rem;background:var(--stone);border-radius:var(--r-card)}
.vf-refine__panel[hidden]{display:none}
.vf-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin:.9rem 0 0}
.vf-chip{display:inline-flex;align-items:center;gap:.45rem;font-size:.82rem;font-weight:600;
  background:var(--stone-deep);color:var(--navy);border:0;border-radius:var(--r-pill);
  padding:.35rem .5rem .35rem .8rem;cursor:pointer}
.vf-chip:hover{background:var(--line)}
.vf-chip span{font-size:1.05rem;line-height:1;opacity:.6}

/* -------------------------------------------------------------- cards */
.vf-list{display:grid;gap:1rem;margin:1.6rem 0 0;padding:0;list-style:none}
.vf-card{position:relative;display:grid;grid-template-columns:210px 1fr auto;gap:0;
  background:#fff;border:1px solid var(--line);border-radius:var(--r-card);overflow:hidden;
  box-shadow:var(--shadow-sm);transition:box-shadow .3s var(--ease),transform .3s var(--ease)}
.vf-card:hover{box-shadow:var(--shadow-md)}
.vf-card--noimg{grid-template-columns:1fr auto}
@media(max-width:820px){.vf-card,.vf-card--noimg{grid-template-columns:1fr}}
.vf-card__img{position:relative;background:var(--stone-deep)}
.vf-card__img img{width:100%;height:100%;min-height:180px;object-fit:cover;display:block}
@media(max-width:820px){.vf-card__img img{min-height:190px;max-height:230px}}
.vf-card__body{padding:1.25rem 1.4rem;min-width:0}
.vf-card__n{margin:0;font-size:1.16rem;font-weight:600;letter-spacing:-.018em;line-height:1.25}
.vf-card__n a{color:var(--navy);text-decoration:none}
.vf-card__n a:hover{color:var(--teal-ink)}
.vf-card__loc{margin:.25rem 0 0;font-size:.86rem;color:var(--muted)}
.vf-fit{margin:.75rem 0 0;font-size:.95rem;line-height:1.5;color:var(--text)}
.vf-fit b{font-weight:600}
.vf-fit--tight{color:#8A5A16}
.vf-fit--none{color:var(--muted)}
.vf-card__note{margin:.6rem 0 0;font-size:.9rem;line-height:1.55;color:var(--muted);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vf-facts{display:flex;flex-wrap:wrap;gap:.35rem 1.4rem;margin:.85rem 0 0;padding:0;list-style:none}
.vf-facts div{font-size:.83rem;color:var(--muted)}
.vf-facts b{display:block;font-size:.98rem;font-weight:600;color:var(--navy);letter-spacing:-.01em}
.vf-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin:.9rem 0 0}
.vf-tag{display:inline-flex;align-items:center;gap:.35rem;font-size:.7rem;font-weight:700;
  letter-spacing:.1em;text-transform:uppercase;border-radius:var(--r-pill);padding:.3rem .65rem}
.vf-tag--seen{background:var(--navy);color:#fff}
.vf-tag--worked{background:var(--stone-deep);color:var(--navy)}
.vf-tag--offer{background:var(--teal);color:var(--navy-deep)}
.vf-tag--accom{background:var(--stone);color:var(--muted)}
.vf-card__acts{display:flex;flex-direction:column;gap:.5rem;justify-content:center;
  padding:1.25rem 1.4rem 1.25rem 0;min-width:172px}
@media(max-width:820px){.vf-card__acts{flex-direction:row;flex-wrap:wrap;padding:0 1.4rem 1.25rem;min-width:0}
  .vf-card__acts .btn{flex:1 1 auto}}
.vf-save{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;
  font:inherit;font-size:.86rem;font-weight:600;color:var(--navy);background:#fff;
  border:1px solid var(--line);border-radius:var(--r-btn);padding:.6rem .9rem;cursor:pointer;
  transition:border-color .2s,color .2s,background .2s}
.vf-save:hover{border-color:var(--teal-ink);color:var(--teal-ink)}
.vf-save svg{flex:none}
.vf-save[aria-pressed="true"]{background:var(--navy);border-color:var(--navy);color:#fff}
.vf-save[aria-pressed="true"] svg{fill:currentColor}
.vf-cmp{display:inline-flex;align-items:center;gap:.5rem;font-size:.84rem;color:var(--muted);cursor:pointer;padding:.2rem 0}
.vf-cmp input{width:17px;height:17px;accent-color:var(--teal-ink);cursor:pointer}
.vf-src{font-size:.78rem;color:var(--muted);text-align:center}
.vf-src a{color:var(--muted);text-decoration:underline;text-underline-offset:2px}

/* ----------------------------------------------------------- no result */
.vf-empty{background:var(--stone);border-radius:var(--r-card);padding:clamp(1.6rem,4vw,2.6rem);
  margin:1.6rem 0 0;text-align:center}
.vf-empty h3{margin:0 0 .6rem;font-size:1.2rem;font-weight:600;letter-spacing:-.02em}
.vf-empty p{margin:0 auto 1.2rem;max-width:52ch;color:var(--muted)}
.vf-nodata{margin:2rem 0 0;padding:1.2rem 1.4rem;background:var(--stone);border-radius:var(--r-card)}
.vf-nodata h4{margin:0 0 .4rem;font-size:.95rem;font-weight:600}
.vf-nodata p{margin:0;font-size:.88rem;color:var(--muted);line-height:1.55}
.vf-nodata ul{margin:.7rem 0 0;padding-left:1.1rem;font-size:.88rem;color:var(--muted);columns:2;column-gap:2rem}
@media(max-width:640px){.vf-nodata ul{columns:1}}

/* -------------------------------------------------------- sticky tray */
.vf-tray{position:fixed;left:0;right:0;bottom:0;z-index:98;background:var(--navy);color:#fff;
  transform:translateY(105%);transition:transform .35s var(--ease);
  box-shadow:0 -18px 40px -26px rgba(6,30,59,.9)}
.vf-tray.on{transform:none}
.vf-tray__in{max-width:var(--container);margin:0 auto;padding:.85rem var(--gutter);
  display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.vf-tray__n{font-size:.95rem;font-weight:600;margin:0}
.vf-tray__n b{color:var(--teal)}
.vf-tray__names{font-size:.82rem;color:rgba(255,255,255,.7);margin:.15rem 0 0;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:52ch}
.vf-tray__acts{margin-left:auto;display:flex;gap:.6rem;flex-wrap:wrap}
/* .btn sets display:inline-flex, which beats the user agent's [hidden] rule,
   so a hidden button stayed on screen. This is the fix, and it is the reason
   "Compare these 0" was visible with nothing selected. */
.vf-tray .btn[hidden],.vf-tray [hidden]{display:none!important}
/* On a phone the tray is competing with the results for the bottom of the
   screen, so it carries one full width action and three quiet ones. */
@media(max-width:640px){.vf-tray__in{padding:.7rem 1.1rem;gap:.55rem}
  .vf-tray__n{font-size:.88rem}
  .vf-tray__names{display:none}
  .vf-tray__acts{margin-left:0;width:100%;display:flex;flex-wrap:wrap;
    align-items:center;justify-content:space-between;gap:.4rem}
  .vf-tray__acts [data-tray-send]{order:-1;width:100%;justify-content:center;padding:.7rem}
  .vf-tray__acts [data-tray-review],
  .vf-tray__acts [data-tray-compare],
  .vf-tray__acts [data-tray-clear]{background:none;border:0;box-shadow:none;
    color:rgba(255,255,255,.82);font-size:.82rem;font-weight:600;padding:.25rem .1rem;
    text-decoration:underline;text-underline-offset:3px;min-height:0}}
.vf-tray .btn--ghost-light{border-color:rgba(255,255,255,.4);color:#fff}
body.has-tray{padding-bottom:96px}

/* --------------------------------------------------------- comparison */
/* The site header is sticky at z-index 100 and the mobile menu at 99, so a
   modal below that draws underneath the navigation. 210 clears both and the
   200 used elsewhere in site.css. */
.vf-modal{position:fixed;inset:0;z-index:210;display:none}
.vf-modal.on{display:block}
.vf-modal__bg{position:absolute;inset:0;background:rgba(6,30,59,.72)}
.vf-modal__box{position:absolute;inset:auto 0 0;top:3vh;background:var(--stone);
  border-radius:18px 18px 0 0;display:flex;flex-direction:column;overflow:hidden}
@media(min-width:900px){.vf-modal__box{inset:4vh 4vw;border-radius:18px}}
.vf-modal__head{display:flex;align-items:center;gap:1rem;padding:1.1rem clamp(1.1rem,3vw,2rem);
  background:#fff;border-bottom:1px solid var(--line)}
.vf-modal__head h2{margin:0;font-size:1.15rem;font-weight:600;letter-spacing:-.02em}
.vf-modal__x{margin-left:auto;background:none;border:0;cursor:pointer;color:var(--muted);
  width:40px;height:40px;border-radius:50%;display:grid;place-items:center}
.vf-modal__x:hover{background:var(--stone);color:var(--navy)}
.vf-modal__body{flex:1;overflow:auto;padding:clamp(1.1rem,3vw,2rem);-webkit-overflow-scrolling:touch}
.vf-cmp-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
.vf-cmp-col{background:#fff;border:1px solid var(--line);border-radius:var(--r-card);overflow:hidden}
.vf-cmp-col h3{margin:0;padding:1rem 1.1rem .2rem;font-size:1.02rem;font-weight:600;letter-spacing:-.018em}
.vf-cmp-col .loc{padding:0 1.1rem .9rem;margin:0;font-size:.82rem;color:var(--muted)}
.vf-cmp-col dl{margin:0;border-top:1px solid var(--line)}
.vf-cmp-col .r{display:flex;justify-content:space-between;gap:1rem;padding:.6rem 1.1rem;
  border-bottom:1px solid var(--line);font-size:.88rem}
.vf-cmp-col dt{color:var(--muted);flex:none}
.vf-cmp-col dd{margin:0;font-weight:600;text-align:right;color:var(--navy)}
.vf-cmp-col dd.na{font-weight:400;color:var(--muted)}
.vf-cmp-col .best{color:var(--teal-ink)}
.vf-cmp-col .foot{padding:.9rem 1.1rem;display:grid;gap:.5rem}
.vf-cmp-note{margin:1.4rem 0 0;font-size:.86rem;color:var(--muted);line-height:1.6;max-width:70ch}
.vf-modal__foot{background:#fff;border-top:1px solid var(--line);padding:1rem clamp(1.1rem,3vw,2rem);
  display:flex;gap:.7rem;align-items:center;flex-wrap:wrap}
.vf-modal__foot p{margin:0;font-size:.88rem;color:var(--muted);max-width:46ch}
.vf-modal__foot .btn{margin-left:auto}
@media(max-width:640px){.vf-modal__foot .btn{margin-left:0;width:100%;justify-content:center}}

/* ------------------------------------------------- header shortlist pip */
.vf-pip{display:none;align-items:center;gap:.4rem;font-size:.82rem;font-weight:600}
.vf-pip.on{display:inline-flex}
.vf-pip b{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 .3rem;
  border-radius:var(--r-pill);background:var(--teal);color:var(--navy-deep);font-size:.72rem}

/* ------------------------------------------------- venue page save slot */
.vf-onpage{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin:1.1rem 0 0}

@media(prefers-reduced-motion:reduce){
  .vf-tray,.vf-card,.vf-refine__toggle svg{transition:none}
}

/* ==========================================================================
   The published city index. A reference list, not a tool: no filters, no
   sort, no search. Set below the featured venues so the photography leads.
   ========================================================================== */
.vcx{margin:2.4rem 0 0}
.vcx__band{margin:2.6rem 0 .4rem;font-size:1.05rem;font-weight:600;letter-spacing:-.015em;
  display:flex;align-items:baseline;gap:.8rem;flex-wrap:wrap;
  padding-bottom:.7rem;border-bottom:2px solid var(--navy)}
.vcx__band:first-child{margin-top:0}
.vcx__band span{font-size:.72rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:var(--muted)}
.vcx__bandlead{margin:.9rem 0 0;font-size:.94rem;line-height:1.6;color:var(--muted);max-width:70ch}
.vcx__list{list-style:none;margin:1.2rem 0 0;padding:0;display:grid;gap:0}
.vcx__v{display:grid;grid-template-columns:1.25fr 1fr;gap:1.5rem 2.5rem;
  padding:1.5rem 0;border-bottom:1px solid var(--line)}
@media(max-width:800px){.vcx__v{grid-template-columns:1fr;gap:1rem;padding:1.3rem 0}}
.vcx__n{margin:0;font-size:1.1rem;font-weight:600;letter-spacing:-.018em;line-height:1.3}
.vcx__n a{color:var(--navy);text-decoration:none;border-bottom:1px solid var(--line)}
.vcx__n a:hover{color:var(--teal-ink);border-color:var(--teal-ink)}
.vcx__loc{margin:.2rem 0 0;font-size:.82rem;font-weight:600;letter-spacing:.06em;
  text-transform:uppercase;color:var(--muted)}
.vcx__note{margin:.7rem 0 0;font-size:.95rem;line-height:1.62;color:var(--text);max-width:56ch}
.vcx__v .vf-tags{margin-top:.8rem}
.vcx__figs{margin:0;display:grid;gap:0}
.vcx__figs>div{display:flex;align-items:baseline;gap:.7rem;padding:.32rem 0;
  border-bottom:1px dotted var(--line)}
.vcx__figs>div:last-child{border-bottom:0}
.vcx__figs dt{font-size:1rem;font-weight:600;color:var(--navy);letter-spacing:-.01em;
  flex:none;min-width:8.5rem}
.vcx__figs dd{margin:0;font-size:.86rem;color:var(--muted)}
.vcx__acts{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin:1rem 0 0}
.vcx__acts .vf-save{font-size:.8rem;padding:.5rem .8rem;flex-direction:row-reverse}
.vcx__enq{font-size:.85rem;font-weight:600;color:var(--teal-ink);text-decoration:none;
  border-bottom:1px solid currentColor;padding-bottom:1px}
.vcx__enq:hover{color:var(--navy)}
.vcx__foot{margin:2.4rem 0 0;font-size:.88rem;line-height:1.65;color:var(--muted);max-width:76ch;
  padding-top:1.4rem;border-top:1px solid var(--line)}
.vcx__foot a{color:var(--teal-ink)}

/* ------------------------------------------------- destination shortcuts */
.vf-cities{display:grid;gap:1rem;margin:2rem 0 0;
  grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr))}
.vf-city{display:block;background:#fff;border:1px solid var(--line);border-radius:var(--r-card);
  padding:1.3rem 1.4rem;text-decoration:none;color:inherit;box-shadow:var(--shadow-sm);
  transition:box-shadow .3s var(--ease),border-color .3s var(--ease)}
.vf-city:hover{box-shadow:var(--shadow-md);border-color:var(--teal-ink)}
.vf-city__n{display:block;font-size:1.12rem;font-weight:600;letter-spacing:-.02em;color:var(--navy)}
.vf-city__c{display:block;margin-top:.6rem;font-size:2rem;font-weight:600;line-height:1;
  letter-spacing:-.04em;color:var(--teal-ink)}
.vf-city__t{display:block;margin-top:.35rem;font-size:.85rem;line-height:1.5;color:var(--muted)}

.vf-more{margin:1.6rem auto 0;display:block}
.vf-showing{margin:.7rem 0 0;text-align:center;font-size:.85rem;color:var(--muted)}
.vf-cmp-col dd a{color:var(--teal-ink);text-decoration:none;border-bottom:1px solid currentColor}
.vf-cmp-col dd a:hover{color:var(--navy)}

/* The results hero is a working header, not a statement. Keep it short so the
   first venue is on the first screen at laptop height. */
.vf-page .page-hero{padding-top:clamp(6.5rem,12vh,8rem);padding-bottom:1.2rem}
.vf-page .page-hero .lead{margin-bottom:0}

/* The three questions must sit on one line at laptop width, with labels that
   do not wrap and throw the fields out of alignment. */
.vf-ask__row{grid-template-columns:1.3fr .9fr 1.4fr auto}
/* Labels are questions, so some of them wrap. Reserving two lines on all of
   them keeps the four fields on one baseline instead of stepping. */
@media(min-width:901px){.vf-f>label{min-height:2.1em}}
@media(max-width:900px){.vf-ask__row{grid-template-columns:1fr 1fr}}

/* ------------------------------------------ the two number decision list */
.vres-list{list-style:none;margin:1.2rem 0 0;padding:0}
.vres{display:grid;grid-template-columns:1.2fr 1fr auto;gap:1rem 2rem;align-items:center;
  padding:1.15rem 0;border-bottom:1px solid var(--line)}
@media(max-width:820px){.vres{grid-template-columns:1fr;gap:.8rem;padding:1.1rem 0}}
.vres__n h4{margin:0;font-size:1.05rem;font-weight:600;letter-spacing:-.018em;line-height:1.3}
.vres__n h4 a{color:var(--navy);text-decoration:none;border-bottom:1px solid var(--line)}
.vres__n h4 a:hover{color:var(--teal-ink);border-color:var(--teal-ink)}
.vres__n p{margin:.2rem 0 0;font-size:.8rem;font-weight:600;letter-spacing:.06em;
  text-transform:uppercase;color:var(--muted)}
.vres__n .vf-tags{margin-top:.6rem}
.vres__pair{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}
.vres__f b{display:block;font-size:1.28rem;font-weight:600;letter-spacing:-.03em;color:var(--navy);
  line-height:1.1}
.vres__f b span{font-size:.62em;font-weight:500;color:var(--muted);letter-spacing:0;margin-left:.25rem}
.vres__f b em{font-size:.72em;font-style:normal;font-weight:500;color:var(--muted)}
.vres__f>span{display:block;margin-top:.25rem;font-size:.78rem;color:var(--muted);line-height:1.4}
.vres__act .vf-save{font-size:.8rem;padding:.5rem .8rem;white-space:nowrap}
