/* CreteCompass look, v95 (owner's choice 13 Nov 2026: home page = looks A + C on the hero photo, other pages = look A).
   Loaded last. Uses the tokens of app.css :root; sizes and corners only from the scales there.
   Parts: 1 ground and tokens, 2 place cards with the name on the photo, 3 experience cards (text under the photo),
   4 scrollable rows, 5 home page, 6 header on the home photo, 7 phone bottom bar, 8 list bars, 9 small things. */

/* 1 ---- tokens */
:root { --ground: #F1F5FA; --shade: 8 24 40; }

/* 2 ---- one card shell (v96). Every place card (partials/listing-card.php) and experience card (partials/tour-card.php, .vcard).
          Replaces the card rules app.css stacked from v15 to v91 (removed there in v96).
          Place card = photo with name and one line on it; on hover the dark bottom slides up and shows the short text.
          Experience card = rounded photo with all text under it (long titles, time, rating, price stay readable).
          Phones: inside list grids (.grid--browse, .grid--four) both become compact rows; a paid card stays a large photo card. */
.card { position: relative; display: block; min-width: 0; color: inherit; }
.card__link { display: block; height: 100%; color: inherit; }
.card__media { position: relative; display: block; overflow: hidden; background: var(--brand-50); }
.card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__media .placeholder { height: 100%; }
.card__badges { position: absolute; z-index: 2; left: 12px; top: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.card__badges .badge { gap: 4px; padding: 4px 10px; font-size: var(--fs-xs); }
.card__save { position: absolute; z-index: 3; top: 8px; right: 8px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.card__save .icon { width: 24px; height: 24px; filter: drop-shadow(0 1px 3px rgb(0 0 0 / .55)); transition: transform var(--dur) var(--ease); }
.card__save:hover .icon { transform: scale(1.1); }
.card__save .save-on { color: #E8445A; }
.card__textblock { display: flex; flex-direction: column; gap: 4px; }
.card__title { margin: 0; font: 700 var(--fs-xl)/1.15 var(--font-display); color: var(--navy); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__summary { margin: 0; font-size: var(--fs-md); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { margin: 0; display: flex; align-items: center; gap: 6px; font-size: var(--fs-sm); font-weight: 500; line-height: 1.35; }
.card__foot .dot { flex: none; }
.card__dist { color: var(--brand); font-weight: 700; }
.badge--premium, .badge--gem { background: var(--gold); color: var(--navy); }
.badge--premium .icon, .badge--gem .icon { color: var(--navy); }

/* 2a ---- place card: photo with the name on it */
.card:not(.vcard) { aspect-ratio: 3 / 4; border-radius: var(--r-xl); overflow: hidden; background: var(--navy); isolation: isolate; }
.card:not(.vcard) .card__media { position: absolute; inset: 0; }
.card:not(.vcard) .card__body { position: absolute; z-index: 1; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 4px; padding: 72px 18px 18px; color: #fff; background: linear-gradient(180deg, rgb(8 24 40 / 0), rgb(8 24 40 / .86) 64%); transition: padding .35s var(--ease); }
.card:not(.vcard) .card__title { color: #fff; text-shadow: 0 1px 8px rgb(8 24 40 / .45); }
.card:not(.vcard) .card__summary { max-height: 0; opacity: 0; color: #fff; transition: max-height .35s var(--ease), opacity .25s var(--ease), margin .35s var(--ease); }
.card:not(.vcard) .card__foot { color: #fff; opacity: .94; white-space: normal; }
.card:not(.vcard) .card__foot .dot { display: none; }
.card:not(.vcard) .card__dist { color: var(--gold); }
@media (hover: hover) {
  .card:not(.vcard):is(:hover, :focus-within) .card__body { padding-top: 120px; background: linear-gradient(180deg, rgb(8 24 40 / 0), rgb(8 24 40 / .9) 42%); }
  .card:not(.vcard):is(:hover, :focus-within) .card__summary { max-height: 6em; opacity: .96; margin: 2px 0 4px; }
}
/* paid business page: gold ring, its own line always visible */
.card--premium:not(.vcard) { box-shadow: 0 0 0 3px var(--gold); }
.card--premium:not(.vcard) .card__summary { max-height: none; opacity: .95; -webkit-line-clamp: 2; }
@media (min-width: 1280px) {
  .grid--browse { grid-auto-flow: dense; }
  .grid--browse > .card--premium:not(.vcard) { grid-column: span 2; aspect-ratio: auto; min-height: 320px; }
  .grid--browse > .card--premium:not(.vcard) .card__title { font-size: var(--fs-2xl); }
}
.inline-places .card:not(.vcard) { aspect-ratio: 4 / 3; }
.inline-places .card:not(.vcard) .card__title { font-size: var(--fs-lg); }

/* 2b ---- experience card: rounded photo, all text under it */
.vcard { display: flex; flex-direction: column; }
.vcard .card__link { display: flex; flex-direction: column; height: 100%; }
.vcard .card__media { aspect-ratio: 4 / 3; flex: none; border-radius: var(--r-xl); }
.vcard .card__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 12px 2px 4px; }
.vcard .card__title { font-size: var(--fs-lg); line-height: 1.3; min-height: 2.6em; }
.vcard:hover .card__title { color: var(--brand); }
.vcard .card__summary { font-size: var(--fs-sm); color: var(--ink); opacity: .85; -webkit-line-clamp: 2; }
.vcard__meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; min-height: 42px; font-size: var(--fs-sm); line-height: 1.6; color: var(--ink); opacity: .85; }
.vcard__meta li { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vcard__meta .icon { width: 14px; height: 14px; flex: none; }
.vcard__free { color: var(--v-green); font-weight: 600; }
.vcard .card__foot { margin-top: auto; justify-content: space-between; align-items: flex-end; min-height: 31px; color: var(--navy); }
.vcard__rating { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-sm); font-weight: 600; color: #1a2b49; }
.vcard__rating .icon { width: 15px; height: 15px; color: #00AA6C; }
.vcard__price { display: grid; justify-items: end; text-align: right; color: #1a2b49; font-size: var(--fs-sm); line-height: 1.1; }
.vcard__price strong { font-size: var(--fs-lg); font-weight: 800; }
.vcard__price small { font-size: var(--fs-xs); line-height: 1.2; color: var(--muted); }
.vcard__flag { padding: 4px 8px; border-radius: var(--r-xs); background: #fff; color: #1a2b49; font-size: var(--fs-xs); font-weight: 700; }
.vcard .card__badges { flex-direction: row; flex-wrap: wrap; }

/* 2c ---- phones: compact rows inside list grids */
@media (max-width: 639.98px) {
  :is(.grid--browse, .grid--four) { gap: 16px; }
  :is(.grid--browse, .grid--four) > .card:not(.card--premium) { aspect-ratio: auto; border-radius: 0; overflow: visible; background: none; }
  :is(.grid--browse, .grid--four) > .card:not(.card--premium) .card__link { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: center; }
  :is(.grid--browse, .grid--four) > .card:not(.card--premium) .card__media { position: relative; inset: auto; height: 104px; aspect-ratio: auto; border-radius: var(--r-md); }
  :is(.grid--browse, .grid--four) > .card:not(.card--premium) .card__body { position: static; min-height: 0; padding: 0 40px 0 0; gap: 3px; background: none; color: var(--ink); }
  :is(.grid--browse, .grid--four) > .card:not(.card--premium) .card__title { color: var(--navy); font-size: var(--fs-lg); line-height: 1.2; min-height: 0; text-shadow: none; }
  :is(.grid--browse, .grid--four) > .card:not(.card--premium) .card__summary { max-height: none; opacity: .85; margin: 0; color: var(--ink); font-size: var(--fs-sm); line-height: 1.4; -webkit-line-clamp: 2; }
  :is(.grid--browse, .grid--four) > .card:not(.card--premium) .card__foot { color: var(--muted); opacity: 1; font-size: var(--fs-xs); font-weight: 600; }
  :is(.grid--browse, .grid--four) > .card:not(.card--premium) .card__foot .dot { display: inline-block; }
  :is(.grid--browse, .grid--four) > .card:not(.card--premium) .card__dist { color: var(--brand); }
  :is(.grid--browse, .grid--four) > .card:not(.card--premium) .card__badges { left: 6px; top: 6px; }
  :is(.grid--browse, .grid--four) > .card:not(.card--premium) .card__badges .badge { font-size: 0; gap: 0; padding: 5px; }
  :is(.grid--browse, .grid--four) > .card:not(.card--premium) .card__save { top: 50%; right: 0; transform: translateY(-50%); color: var(--muted); }
  :is(.grid--browse, .grid--four) > .card:not(.card--premium) .card__save .icon { filter: none; width: 22px; height: 22px; }
  :is(.grid--browse, .grid--four) > .card:not(.card--premium):hover .card__media img { transform: none; }
  :is(.grid--browse, .grid--four) > .vcard:not(.card--premium) .card__link { align-items: start; }
  :is(.grid--browse, .grid--four) > .vcard:not(.card--premium) .card__media { aspect-ratio: 1; height: auto; }
  :is(.grid--browse, .grid--four) > .vcard:not(.card--premium) .card__title { font-size: var(--fs-md); line-height: 1.3; -webkit-line-clamp: 2; }
  :is(.grid--browse, .grid--four) > .vcard .vcard__meta { min-height: 0; gap: 0; }
  :is(.grid--browse, .grid--four) > .vcard .card__foot { min-height: 0; }
  .vcard__price { display: flex; align-items: baseline; gap: 2px; white-space: nowrap; }
  .vcard__price small { display: none; }
  .vcard__star { color: var(--brand); font-weight: 800; }
  /* paid card between the rows: large photo card with the gold ring */
  :is(.grid--browse, .grid--four) > .card--premium:not(.vcard) { aspect-ratio: 16 / 11; margin: 3px; }
  :is(.grid--browse, .grid--four) > .card--premium:not(.vcard) .card__body { padding: 56px 16px 16px; }
}
/* photo grid (home "What do you love?"): two rows of four; phones two columns, the first one wide */
.grid--photo { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 639.98px) {
  html .grid--photo > .card.card:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
  html .grid--photo .card.card:not(.vcard) .card__title { font-size: var(--fs-lg); }
  html .grid--photo .card.card:not(.vcard) .card__body { padding: 48px 14px 14px; }
}
@media (min-width: 760px) { .grid--photo { gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid--photo { gap: 24px; } }
.grid--photo > .ad, .rail--cards > .ad { border-radius: var(--r-xl); min-height: 0; height: 100%; }
.grid--photo > .ad .ad__track, .rail--cards > .ad .ad__track { min-height: 0; height: 100%; aspect-ratio: 3 / 4; }

/* 4 ---- scrollable rows with arrows */
.railbox { position: relative; }
.rail--cards { grid-auto-columns: minmax(200px, 62%); gap: 16px; padding-block: 4px 8px; }
@media (min-width: 640px) { .rail--cards { grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; } }
@media (min-width: 1024px) { .rail--cards { grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; } }
.rail--events { grid-auto-columns: minmax(270px, 84%); gap: 16px; padding-block: 4px 8px; }
@media (min-width: 640px) { .rail--events { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; } }
@media (min-width: 1024px) { .rail--events { grid-auto-columns: calc((100% - 2 * 24px) / 3); gap: 24px; } }
.rail--events .event { border-radius: var(--r-xl); height: 100%; }
.railbox__nav { position: absolute; top: 50%; z-index: 3; display: none; place-items: center; width: 44px; height: 44px; margin-top: -22px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--e2); cursor: pointer; }
.railbox__nav--prev { left: -14px; } .railbox__nav--next { right: -14px; }
.railbox__nav:hover { background: var(--brand-50); }
@media (hover: hover) and (min-width: 760px) { .railbox__nav:not([hidden]) { display: grid; } }

/* 5 ---- home page */
body.page-home { background: var(--ground); }
.hm-hero { margin-top: calc(-1 * (var(--header-h) + var(--safe-t))); min-height: 0; align-items: flex-start; background: var(--navy); }
html .hm-hero .hero__media::after { background: linear-gradient(95deg, rgb(12 32 52 / .9) 0%, rgb(20 50 79 / .66) 42%, rgb(20 50 79 / .12) 78%), linear-gradient(180deg, rgb(12 32 52 / .5), rgb(12 32 52 / 0) 28%); }
html .hm-hero .hero__inner { width: 100%; padding-block: calc(var(--header-h) + var(--safe-t) + 56px) 132px; }
@media (min-width: 900px) { html .hm-hero .hero__inner { padding-block: calc(var(--header-h) + var(--safe-t) + 88px) 168px; } }
html .hm-hero .hero__title { font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; max-width: 720px; }
html .hm-hero .hero__subtitle { font-weight: 500; max-width: 540px; margin: 18px 0 0; color: #E3ECF5; }
.hm-rose { position: absolute; right: -150px; top: -40px; width: 340px; height: 340px; color: var(--gold); opacity: .4; pointer-events: none; }
@media (min-width: 900px) { .hm-rose { right: -90px; top: -30px; width: 620px; height: 620px; opacity: .42; } }
.hs { margin-top: 32px; max-width: 680px; }
.hs__kinds { display: none; gap: 4px; padding: 4px; margin-bottom: 16px; border-radius: var(--r-pill); background: rgb(255 255 255 / .16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (min-width: 700px) { .hs { margin-top: 44px; } .hs__kinds { display: inline-flex; } }
.hs__k { min-height: 36px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: none; color: #E3ECF5; font: 600 var(--fs-md)/1 var(--font); cursor: pointer; }
.hs__k:hover { color: #fff; }
.hs__k.is-on { background: #fff; color: var(--navy); }
html .hs .hero-search { max-width: none; height: 60px; padding: 6px; border-radius: var(--r-md); box-shadow: 0 18px 50px rgb(8 24 40 / .32); }
html .hs .hero-search .btn { height: 48px; border-radius: var(--r-sm); padding-inline: 20px; }
@media (min-width: 700px) { html .hs .hero-search { height: 68px; padding: 8px; } html .hs .hero-search .btn { height: 52px; padding-inline: 26px; } }
.hm-doors { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: -72px; }
@media (min-width: 900px) { .hm-doors { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.hm-door { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; border-radius: var(--r-md); background: #fff; color: var(--ink); box-shadow: var(--e2); transition: transform var(--dur) var(--ease), box-shadow var(--dur); }
.hm-door:hover { transform: translateY(-2px); box-shadow: var(--e3); }
.hm-door i { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--gold-50); color: var(--gold-700); }
.hm-door b { display: block; font: 700 var(--fs-lg)/1.15 var(--font-display); color: var(--navy); }
.hm-door small { display: block; margin-top: 3px; font-size: var(--fs-sm); line-height: 1.3; color: var(--muted); }
@media (min-width: 900px) { .hm-door { flex-direction: row; align-items: center; gap: 14px; padding: 20px; } .hm-door i { width: 48px; height: 48px; } }
html .hm-love { padding-block: 36px 0; background: none; }
.hm-panel { padding: 20px 16px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--e1); }
@media (min-width: 760px) { html .hm-love { padding-block: 56px 0; } .hm-panel { padding: 32px; } }
html .hm-love .love__top { background: none; padding: 0; text-align: left; }
html .hm-love .love__title { font-size: var(--fs-h2); text-align: left; }
html .hm-love .love__sub { margin: 6px 0 18px; text-align: left; color: var(--muted); max-width: none; }
html .hm-love .love__pills { justify-content: flex-start; margin: 0 0 20px; }
html .hm-love .love__body { padding: 0; }
.hm-island { padding-block: 56px 0; }
.hm-island__top { display: grid; gap: 28px; }
@media (min-width: 1000px) { .hm-island__top { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; align-items: center; } }
.hm-island__text .prose { max-width: 680px; }
.hm-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.hm-facts > div { padding-block: 16px; border-top: 1px solid var(--line-2); }
.hm-facts dt { font: 800 var(--fs-h2)/1 var(--font-display); color: var(--brand); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hm-facts dd { margin: 6px 0 0; font-size: var(--fs-md); color: var(--muted); }
.hm-regions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
@media (min-width: 900px) { .hm-regions { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 44px; } }
.hm-region { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; background: var(--navy); color: #fff; }
.hm-region img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.hm-region:hover img { transform: scale(1.04); }
.hm-region__tx { position: absolute; inset: auto 0 0 0; display: grid; gap: 4px; padding: 64px 16px 16px; background: linear-gradient(180deg, rgb(8 24 40 / 0), rgb(8 24 40 / .86)); }
.hm-region strong { font: 700 var(--fs-xl)/1.1 var(--font-display); }
.hm-region small { display: none; font-size: var(--fs-md); line-height: 1.4; opacity: .95; }
@media (min-width: 900px) { .hm-region small { display: block; } }
.hm-more { display: flex; justify-content: center; margin: 28px 0 0; }
.hm-ad { margin-top: 56px; }
.hm-ad .ad { margin: 0; }
/* same size as the banner at the bottom of every page (ads.css .ad--page-bottom) */
.ad--home-mid .ad__track { aspect-ratio: 16 / 3; }
@media (max-width: 759px) { .ad--home-mid .ad__track { aspect-ratio: 2 / 1; } }
.ad-split--2 .ad--home-mid .ad__track { aspect-ratio: 8 / 3; }
.ad-split--3 .ad--home-mid .ad__track { aspect-ratio: 16 / 9; }
.ad-split--4 .ad--home-mid .ad__track { aspect-ratio: 4 / 3; }
body.page-home .section { padding-block: 56px 0; }
body.page-home .section .section__sub { margin-top: 6px; }
html .hm-band { margin-top: 56px; padding-block: 48px 52px; background: #fff; }
.hm-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.hm-guides { display: grid; gap: 28px 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .hm-guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hm-guides { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
html .hm-guide { display: flex; flex-direction: column; gap: 14px; min-height: 0; border-radius: 0; background: none; overflow: visible; }
html .hm-guide:hover { box-shadow: none; transform: none; }
html .hm-guide.is-hidden { display: none; }
.hm-guide__media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--r-xl); overflow: hidden; background: var(--brand-50); }
.hm-guide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.hm-guide:hover .hm-guide__media img { transform: scale(1.04); }
.hm-guide__body { display: grid; gap: 6px; }
.hm-guide__body small { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-700); }
.hm-guide__body strong { font: 700 var(--fs-xl)/1.2 var(--font-display); color: var(--navy); }
.hm-guide:hover .hm-guide__body strong { color: var(--brand); }
.hm-guide__body > span { color: var(--muted); font-size: var(--fs-md); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 639.98px) {
  html .hm-guide { flex-direction: row; align-items: center; }
  .hm-guide__media { width: 104px; aspect-ratio: 1; flex: none; border-radius: var(--r-md); }
  .hm-guide__body strong { font-size: var(--fs-lg); }
  .hm-guides { gap: 16px; }
}

/* 6 ---- header on the home page photo (until the page is scrolled, a menu opens or the pointer is on it) */
@media (hover: hover) { body.hdr-clear .site-header:hover { --hdr-solid: 1; } }
body.hdr-clear:not(.overlay-open) .site-header:not(:has(.is-open)):not(:hover) { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.hdr-clear:not(.overlay-open) .site-header:not(:has(.is-open)):not(:hover) :is(.mainnav__link, .logo__crete, .icon-btn, .header-saved, .site-header__actions > a, .site-header__actions > button) { color: #fff; }
body.hdr-clear:not(.overlay-open) .site-header:not(:has(.is-open)):not(:hover) .logo__compass { color: #F3CE6B; }
body.hdr-clear:not(.overlay-open) .site-header:not(:has(.is-open)):not(:hover) .mainnav__link .icon { color: #fff; opacity: .8; }
@media (hover: none) { body.hdr-clear:not(.overlay-open) .site-header:not(:has(.is-open)) { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.hdr-clear:not(.overlay-open) .site-header:not(:has(.is-open)) :is(.mainnav__link, .logo__crete, .icon-btn, .header-saved, .site-header__actions > a, .site-header__actions > button) { color: #fff; }
  body.hdr-clear:not(.overlay-open) .site-header:not(:has(.is-open)) .logo__compass { color: #F3CE6B; } }
.site-header { transition: background var(--dur) var(--ease), border-color var(--dur); }

/* 7 ---- phone bottom bar: floating dark bar, gold dot under the page you are on */
@media (max-width: 1023.98px) {
  html .tabbar { inset: auto 12px calc(10px + var(--safe-b)) 12px; height: 60px; padding: 0 6px; border: 0; border-radius: var(--r-pill); background: rgb(20 50 79 / .97); box-shadow: 0 10px 30px rgb(8 24 40 / .35); }
  html .tabbar__item { position: relative; color: #AFC0D2; font-size: var(--fs-xs); font-weight: 600; gap: 0; }
  html .tabbar__pill { height: 26px; background: none; }
  html .tabbar__item.is-active { color: #fff; }
  html .tabbar__item.is-active .tabbar__pill { background: none; }
  html .tabbar__item.is-active::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
}

/* 8 ---- list bars (places, experiences, events), v97 owner's design: one white rounded bar on computers.
          [See on map] [Where (Near me inside)] [menus: price, group size, duration / kind, options] [search] [Filters].
          Second row: count, the chosen filters on one line ("+N" for the rest), sort on the right. Phones keep their one-row bar. */
.lbar__menus { display: none; }
@media (min-width: 760px) {
  html .xf-sticky { background: var(--bg); border-bottom: 0; padding-top: 12px; }
  html .xf-sticky .lbar__top { flex-wrap: wrap; gap: 10px; padding: 10px; border: 0; border-radius: var(--r-xl); background: #fff; box-shadow: 0 10px 32px rgb(20 50 79 / .14), 0 0 0 1px rgb(20 50 79 / .05); }
  html .lbar__top:has(.lbar__menus) .region-pills, html .lbar__top:has(.bmenu--where) .lbar__near { display: none; }
  .lbar__menus { display: flex; flex: 1 1 auto; flex-wrap: wrap; justify-content: center; gap: 8px; min-width: 0; }
  html .lbar__map { height: 44px; padding: 0 18px; border: 1px solid var(--line-2); color: var(--navy); font-size: var(--fs-md); }
  html .lbar__map:hover { border-color: var(--brand); color: var(--brand); background: #fff; }
  html .lbar__near { width: 44px; height: 44px; border-width: 1px; }
  html .lbar__search { order: 8; flex: 0 1 300px; min-width: 180px; height: 44px; margin-left: 0; border: 1px solid var(--line-2); background: #fff; }
  html .lbar__search:focus-within { border-color: var(--brand); }
  html .xf-sticky .xf-filters-btn { order: 9; height: 44px; padding: 0 22px; border: 0; border-radius: var(--r-pill); background: var(--navy); color: #fff; font-size: var(--fs-md); }
  html .xf-sticky .xf-filters-btn:hover { background: var(--brand-700); color: #fff; }
  html .xf-sticky .xf-filters-btn .icon { color: #fff; }
  html .lbar__sub { flex-wrap: nowrap; align-items: center; gap: 16px; padding: 16px 8px 12px; border-bottom: 1px solid var(--line); }
  html .lbar__sub .lbar__radius { display: none; }
  html .xf-sticky .xf-chips--inbar { flex: 1 1 auto; min-width: 0; padding: 0; margin: 0; }
  html .lbar__sub .lbar__sort { margin-left: auto; flex: none; }
}
@media (min-width: 1100px) { html .xf-sticky .lbar__top { flex-wrap: nowrap; border-radius: var(--r-pill); } }
@media (min-width: 760px) and (max-width: 1099.98px) { html .lbar__search { flex: 1 1 260px; } }
@media (max-width: 759.98px) {
  html .lbar__sub { flex-wrap: wrap; }
  html .xf-sticky .xf-chips--inbar { order: 5; flex: 1 1 100%; padding: 0; }
}

/* the menus in the bar */
.bmenu { position: relative; flex: none; }
.bmenu > summary { list-style: none; }
.bmenu > summary::-webkit-details-marker { display: none; }
.bmenu__btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: #fff; color: var(--navy); font-size: var(--fs-md); font-weight: 600; white-space: nowrap; cursor: pointer; }
.bmenu__btn:hover, .bmenu[open] > .bmenu__btn { border-color: var(--brand); color: var(--brand); }
.bmenu__btn.is-set { border-color: var(--navy); background: var(--brand-50); }
.bmenu__label { max-width: 190px; overflow: hidden; text-overflow: ellipsis; }
.bmenu__chev { color: var(--muted); transition: transform var(--dur) var(--ease); }
.bmenu[open] .bmenu__chev { transform: rotate(180deg); }
.bmenu__panel { position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; display: grid; gap: 2px; min-width: 250px; max-width: min(340px, calc(100vw - 32px)); max-height: min(70vh, 520px); overflow-y: auto; padding: 8px; border-radius: var(--r-md); background: #fff; box-shadow: var(--e3), 0 0 0 1px rgb(20 50 79 / .06); }
.bmenu--wide .bmenu__panel { min-width: 300px; }
.bmenu__row { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 10px; border-radius: var(--r-sm); color: var(--navy); font-size: var(--fs-md); font-weight: 500; }
.bmenu__row span { flex: 1; min-width: 0; }
.bmenu__row small { color: var(--muted); font-size: var(--fs-xs); font-variant-numeric: tabular-nums; }
.bmenu__row:hover { background: var(--soft); color: var(--brand); }
.bmenu__row.is-on { color: var(--brand); font-weight: 700; }
.bmenu__row:not(.bmenu__row--tick).is-on { background: var(--brand-50); }
.bmenu__row--sub { padding-left: 30px; font-size: var(--fs-sm); }
.bmenu__row--tick::before { content: ""; flex: none; width: 18px; height: 18px; border: 1.5px solid #9FB0C3; border-radius: var(--r-xs); background: #fff center / 14px no-repeat; }
.bmenu__row--tick.is-on::before { border-color: var(--brand); background-color: var(--brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.5l3.2 3L14 5.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.bmenu__head { margin: 10px 10px 2px; color: var(--muted); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.bmenu__near { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 6px 10px; border: 0; border-radius: var(--r-sm); background: none; color: var(--navy); font: inherit; font-size: var(--fs-md); font-weight: 700; text-align: left; cursor: pointer; }
.bmenu__near:hover, .bmenu__near.is-on { background: var(--brand-50); color: var(--brand); }
.bmenu__km { display: flex; gap: 4px; margin: 2px 4px 6px; padding: 3px; border-radius: var(--r-pill); background: var(--soft); }
.bmenu__km .lbar__km { flex: 1; text-align: center; }
.bmenu__panel > .bmenu__near + .bmenu__row, .bmenu__panel > .bmenu__km + .bmenu__row { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-sm) var(--r-sm); }

/* 9 ---- small things */
.pcard { border: 0; border-radius: 0; background: none; overflow: visible; }
.pcard:hover { box-shadow: none; transform: none; }
.pcard__media { border-radius: var(--r-xl); }
.pcard__body { padding: 12px 2px 4px; }

/* v95 fixes after the first look */
html .hm-love a.love-pill > span { min-height: 44px; padding: 0 18px; border: 0; background: var(--brand-50); color: var(--brand-700); font-size: var(--fs-md); font-weight: 600; box-shadow: none; }
html .hm-love a.love-pill > span .icon { color: var(--brand); }
html .hm-love a.love-pill:hover > span { color: var(--brand); transform: none; }
html .hm-love a.love-pill.is-active > span { background: var(--brand); color: #fff; box-shadow: none; }
html .hm-love a.love-pill.is-active > span .icon { color: #fff; }
@media (max-width: 639.98px) {
  html .grid--photo > :last-child:nth-child(even) { grid-column: span 2; aspect-ratio: 4 / 3; }
  html .grid--photo > .ad:last-child:nth-child(even) .ad__track { aspect-ratio: 4 / 3; }
  html .hm-love .love__pills a.love-pill > span { min-height: 44px; }
}
.love-results__more { margin: 24px 0 0; text-align: center; color: var(--muted); }
.love-results__more a { display: inline-flex; align-items: center; min-height: 44px; margin: 4px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: #fff; color: var(--navy); font-weight: 600; }
.love-results__more a:hover { border-color: var(--brand); color: var(--brand); }

/* v96 home page: bands and the end of the page (owner: own colours, more room, no gradient) */
html .hm-band--next { margin-top: 0; padding-top: 8px; }
.hm-band--next .hm-links { margin-bottom: 0; }
html .hm-why { margin-top: 0; padding-block: 88px; }
.hm-why .quotes__grid { margin-top: 32px; gap: 20px; }
@media (min-width: 700px) { .hm-why .quotes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .hm-why .quotes__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hm-why .quote { padding: 24px; border-radius: var(--r-xl); }
html .local-guide.hm-band { margin-top: 0; padding-block: 64px 64px; }
html .hm-gems { padding-block: 64px 72px; background: var(--sand); }
html body.page-home .hm-cta { padding-block: 88px 0; }
html .hm-cta .biz-cta { padding: 32px; border-radius: var(--r-xl); background: var(--navy); color: #DCE7F2; }
@media (min-width: 800px) { html .hm-cta .biz-cta { padding: 40px 48px; } }
html .hm-cta .biz-cta__title { color: #fff; }
html .hm-cta .biz-cta p { color: #DCE7F2; }
body.page-home .recent { padding-block: 88px 0; }
body.page-home .ad-wrap--bottom { padding-block: 88px 56px; }
body.page-home .ad-wrap--bottom .ad--page-bottom { margin-top: 0; }
body.page-home .ad-wrap--bottom .ad-split { margin-top: 0; }

/* v96 contact cards: one credit line per page */
.osm-note { margin: 32px auto 0; color: var(--muted); font-size: var(--fs-xs); text-align: center; }
.osm-note a { color: inherit; text-decoration: underline; }
.card__eyebrow { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; overflow: hidden; color: var(--muted); font-size: var(--fs-xs); font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
/* v96 card rows: drag with the mouse */
@media (hover: hover) { .rail { cursor: grab; } }
.rail.is-grab { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rail.is-grab a { pointer-events: none; }

/* v96 (owner: "fix the filter menu"): the Regions / Filters / Sort row of "What do you love?" in the look of the other bars.
   Calm buttons on one row, menus with the square tick boxes of the filter popups, and on phones the menu opens as a sheet
   at the bottom of the screen so nothing runs off the side. */
.hm-love .love-bar { flex-wrap: nowrap; gap: 8px; margin: 4px 0 14px; }
.hm-love .love-bar__filters { flex-wrap: nowrap; gap: 8px; min-width: 0; }
.hm-love .love-bar__sort { flex: none; gap: 6px; }
.hm-love .dropdown__btn { min-height: 44px; padding: 0 16px; border: 0; background: var(--soft); color: var(--navy); font-size: var(--fs-md); }
.hm-love .dropdown__btn:hover, .hm-love .dropdown[open] .dropdown__btn { background: var(--brand-50); color: var(--brand); }
.hm-love .dropdown__label strong { color: var(--navy); }
.hm-love .dropdown__panel { padding: 8px; border: 0; border-radius: var(--r-md); box-shadow: var(--e3); }
.hm-love .dropdown__item { min-height: 44px; font-size: var(--fs-md); font-weight: 500; color: var(--navy); }
.hm-love .dropdown__item.is-active { background: none; color: var(--brand); font-weight: 700; }
.hm-love .dropdown--wide .dropdown__item .icon { display: none; }
.hm-love .dropdown--wide .dropdown__item::before { content: ""; flex: none; width: 18px; height: 18px; border: 1.5px solid #9FB0C3; border-radius: var(--r-xs); background: #fff center / 14px no-repeat; }
.hm-love .dropdown--wide .dropdown__item.is-active::before { border-color: var(--brand); background-color: var(--brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9.5l3.2 3L14 5.8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.hm-love .love-results__count { margin: 0 0 16px; }
@media (max-width: 639.98px) {
  .hm-love .love-bar { flex-wrap: wrap; row-gap: 10px; }
  .hm-love .love-bar__filters { flex: 1 1 100%; }
  .hm-love .love-bar__sort { flex: 1 1 100%; justify-content: flex-start; }
  .hm-love .dropdown__btn { padding: 0 12px; }
  .hm-love .love-bar .dropdown { position: static; }
  .hm-love .love-bar .dropdown__panel { position: fixed; z-index: 70; left: 12px; right: 12px; top: auto; bottom: calc(84px + var(--safe-b)); min-width: 0; max-width: none; max-height: 60vh; }
}

/* v96 ads: a banner under the filter bar, and each ad's shape between the cards (card, wide card, full row) */
.ad-wrap--top { margin: 0 0 24px; }
.ad--list-top .ad__track { aspect-ratio: 16 / 3; }
@media (max-width: 759px) { .ad--list-top .ad__track { aspect-ratio: 2 / 1; } }
.ad-split--2 .ad--list-top .ad__track { aspect-ratio: 8 / 3; }
.ad-split--3 .ad--list-top .ad__track { aspect-ratio: 16 / 9; }
.ad-split--4 .ad--list-top .ad__track { aspect-ratio: 4 / 3; }
@media (min-width: 640px) {
  :is(.grid--browse, .grid--photo) { grid-auto-flow: dense; }
  :is(.grid--browse, .grid--photo) > .ad--s-wide { grid-column: span 2; }
  :is(.grid--browse, .grid--photo) > .ad--s-banner { grid-column: 1 / -1; height: auto; min-height: 0; }
  :is(.grid--browse, .grid--photo) > .ad--s-banner .ad__track { height: auto; min-height: 0; aspect-ratio: 16 / 3; }
  .rail > .ad--s-wide, .rail > .ad--s-banner { grid-column: auto; }
  .rail > .ad--s-banner .ad__track { aspect-ratio: 3 / 4; height: 100%; }
}

/* v98 bar menus: sliders for price and duration on top of the quick choices */
.bmenu--wide .bmenu__panel { min-width: 320px; }
.bmenu__slide { padding: 6px 6px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.bmenu__slidet { margin: 2px 4px 0; color: var(--navy); font-size: var(--fs-md); font-weight: 700; }
.bmenu__slidet em { color: var(--brand); font-style: normal; font-weight: 600; }
.bmenu__slide .xf-range { margin: 6px 14px 0; }
.lbar__menus .bmenu:last-child .bmenu__panel, .lbar__menus .bmenu:nth-last-child(2) .bmenu__panel { left: auto; right: 0; }

/* v98 filter popups (Things to do and places): main groups are plain rows that open a list; the list is clearly a level lower */
.xf-row--menu { cursor: pointer; }
.xf-row--menu:hover { background: var(--soft); }
.xf-row--menu.is-open { background: var(--brand-50); }
.xf-row--menu.is-open .xf-exp .icon { transform: rotate(180deg); }
.xf-row--hub .xf-lbl { font: 700 var(--fs-base)/1.25 var(--font-display); color: var(--navy); }
html .xf-kids { margin: 0 12px 12px 30px; padding: 4px 0; border-left: 3px solid var(--brand); border-radius: 0 0 var(--r-md) 0; background: var(--soft); }
html .xf-kids .xf-row { min-height: 44px; padding: 6px 12px 6px 14px; border-top: 1px solid #fff; background: transparent; }
html .xf-kids .xf-row:first-child { border-top: 0; }
html .xf-kids .xf-row:hover { background: rgb(255 255 255 / .6); }
html .xf-kids .xf-lbl { font: 500 var(--fs-md)/1.3 var(--font); color: var(--ink); }
html .xf-kids .xf-lbl small { font-weight: 400; color: var(--muted); }
html .xf-kids .xf-row--seeall .xf-lbl { font-weight: 700; color: var(--brand); }
html .xf-kids .xf-row--sub { padding-left: 34px; background: transparent; }
html .xf-kids .xf-row--sub .xf-lbl { font-size: var(--fs-sm); }
html .xf-kids .xf-n { font-size: var(--fs-xs); }
html [data-df-kids].xf-kids .xf-row--sub { padding-left: 14px; }
html [data-df-kids].xf-kids .xf-row--sub .xf-lbl { font-size: var(--fs-md); }
