/*
Theme Name: One West Kirby
Theme URI: https://northern-sites.co.uk
Author: Northern Sites
Author URI: https://northern-sites.co.uk
Description: Custom theme for One West Kirby: home, Discover West Kirby (six themed pages with a business directory and maps), Visitor Map, What's On, News, Our Work and Get Involved.
Version: 2.1.1
Requires at least: 6.0
Requires PHP: 7.4
License: All rights reserved
Text Domain: one-west-kirby
*/
/* Layout: a coastal-town zine. Brand navy frame, each Discover theme owns a colour, photos collaged and tilted like pinned prints, oversized expressive type. */
:root {
  --navy: #16345c;
  --navy-deep: #0d2140;
  --sky: #8acff5;
  --sea: #2f7fd1;
  --taste: #ff6b4a;
  --shop: #f5b72e;
  --art: #e0479e;
  --tides: #9a7650;
  --feel: #2fa37a;
  --bg: #f6f9fc;
  --surface: #ffffff;
  --fg: #10223b;
  --muted: #4d6079;
  --line: #d9e3ee;
  --ink-on-color: #0d2140;
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --wrap: 76rem;
  --r: 22px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0a1424; --surface: #12213a; --fg: #eaf1f9; --muted: #a5b8ce; --line: #22385a; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0a1424; --surface: #12213a; --fg: #eaf1f9; --muted: #a5b8ce; --line: #22385a; color-scheme: dark; }

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 0.98; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 9vw, 7.5rem); font-weight: 800; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
p { margin: 0; }
.muted { color: var(--muted); }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 44px); }
.stack { display: grid; gap: 1.1rem; align-content: start; }
.stack > p { max-width: 60ch; }
.kicker { font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.18em; text-transform: uppercase; }
.hl { position: relative; white-space: nowrap; }
.hl svg { position: absolute; left: -2%; bottom: -0.12em; width: 104%; height: 0.32em; overflow: visible; }
.hl path { fill: none; stroke: var(--sky); stroke-width: 7; stroke-linecap: round; }
section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--navy); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.8rem; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: #fff; }
.brand img { width: clamp(46px, 5vw, 58px); height: auto; }
.brand .wm { font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 300; letter-spacing: -0.01em; text-transform: uppercase; line-height: 1; }
.brand .wm b { font-weight: 800; }
.brand.big img { width: 84px; }
.brand.wide img { width: auto; height: clamp(44px, 5.6vw, 64px); max-width: 70vw; object-fit: contain; }
.brand.big.wide img { width: auto; height: clamp(58px, 9vw, 88px); max-width: 86vw; }
.brand.big .wm { font-size: clamp(1.5rem, 6vw, 2rem); white-space: nowrap; }
.nav { display: flex; gap: 0.3rem; }
.nav a { color: #fff; text-decoration: none; font-weight: 700; font-size: 0.93rem; padding: 0.55rem 0.95rem; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.nav a:hover { background: rgba(255,255,255,0.12); }
.nav a.on { background: var(--sky); color: var(--ink-on-color); }
.menu { display: none; background: none; color: #fff; border: 1.5px solid rgba(255,255,255,0.4); border-radius: 999px; padding: 0.5rem 1rem; font: 700 0.92rem var(--font-body); cursor: pointer; }
@media (max-width: 940px) {
  .menu { display: inline-block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--navy); padding: 0.5rem 16px 1.2rem; }
  .nav.open { display: flex; }
  .nav a { padding: 0.85rem 1rem; font-size: 1.05rem; }
}

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.btn { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.85rem 1.35rem; border-radius: 999px; font-weight: 800; font-size: 0.98rem; text-decoration: none; background: var(--fg); color: var(--bg); border: 2px solid var(--fg); transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; font-family: var(--font-body); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--sky); }
.btn.alt { background: transparent; color: inherit; border-color: currentColor; }
.btn.sky { background: var(--sky); color: var(--ink-on-color); border-color: var(--sky); }
.btn.sky:hover { box-shadow: 4px 4px 0 #fff; }
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(3px); }

/* Pages */
.page { display: none; }
.page.active { display: block; animation: rise 0.5s ease both; }
@keyframes rise { from { opacity: 0.4; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- HOME ---------- */
.home-hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); }
.home-hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.home-hero .wrap > * { min-width: 0; }
.home-hero h1 { font-size: clamp(3rem, 7.6vw, 6.6rem); }
.home-hero h1 .light { font-weight: 300; display: block; }
.home-hero .lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 46ch; }
.collage { position: relative; aspect-ratio: 1 / 1.02; }
.collage figure { position: absolute; margin: 0; overflow: hidden; border-radius: var(--r); box-shadow: 0 18px 40px -18px rgba(13,33,64,0.45); border: 6px solid var(--surface); }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .c1 { inset: 4% 14% 26% 0; transform: rotate(-3deg); }
.collage .c2 { width: 46%; height: 42%; right: 0; bottom: 2%; transform: rotate(4deg); }
.collage .c3 { width: 34%; aspect-ratio: 1; left: 6%; bottom: 0; border-radius: 50%; transform: rotate(-6deg); }
.sticker { position: absolute; top: -2%; right: 2%; width: clamp(110px, 13vw, 150px); aspect-ratio: 1; z-index: 3; }
.sticker .disc { position: absolute; inset: 0; border-radius: 50%; background: var(--shop); }
.sticker svg { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.sticker text { font: 800 11.5px var(--font-body); letter-spacing: 2.4px; fill: var(--ink-on-color); text-transform: uppercase; }
.sticker .mid { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-weight: 800; color: var(--ink-on-color); line-height: 0.95; font-size: clamp(1.1rem, 1.6vw, 1.4rem); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .home-hero .wrap { grid-template-columns: 1fr; } .collage { max-width: 560px; } }

.marquee { background: var(--navy); color: #fff; overflow: hidden; padding-block: 1.1rem; border-block: 3px solid var(--sky); }
.marquee .track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 2rem); padding-inline: 1.4rem; white-space: nowrap; }
.marquee span i { font-style: normal; color: var(--sky); padding-left: 2.8rem; }
@keyframes slide { to { transform: translateX(-50%); } }

.intro { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.intro > * { min-width: 0; }
.intro .big { font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; font-weight: 500; letter-spacing: -0.01em; }
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pills span { padding: 0.45rem 0.95rem; border-radius: 999px; font-weight: 700; font-size: 0.88rem; color: var(--ink-on-color); }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; } }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(170px, 19vw, 230px); gap: 0.9rem; }
.bento a { position: relative; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; display: block; isolation: isolate; }
.bento a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s ease; }
.bento a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(8,22,44,0.85)); }
.bento a:hover img { transform: scale(1.06); }
.bento .lbl { position: absolute; left: 1rem; right: 1rem; bottom: 0.9rem; display: flex; justify-content: space-between; align-items: end; gap: 0.75rem; }
.bento h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
.bento .dot { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; color: var(--ink-on-color); font-weight: 800; transition: transform 0.25s; }
.bento a:hover .dot { transform: rotate(-45deg); }
.bento .b1 { grid-column: span 2; grid-row: span 2; }
.bento .b2 { grid-column: span 2; }
.bento .b6 { grid-column: span 2; }
@media (max-width: 820px) { .bento { grid-template-columns: repeat(2, 1fr); } .bento .b1 { grid-row: span 1; } .bento .b2, .bento .b6 { grid-column: span 2; } }
@media (max-width: 480px) { .bento { grid-template-columns: 1fr; } .bento a { grid-column: auto !important; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.tilt { border-radius: var(--r); overflow: hidden; transform: rotate(2deg); border: 6px solid var(--surface); box-shadow: 0 18px 40px -20px rgba(13,33,64,0.5); }
.tilt.l { transform: rotate(-2deg); }
.tilt img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.navyband { background: var(--navy); color: #fff; }
.navyband .muted { color: #b9cde4; }
.navyband .tilt { border-color: var(--navy-deep); }

.scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 1rem; overflow-x: auto; padding-bottom: 0.75rem; scroll-snap-type: x mandatory; }
.scroller article { scroll-snap-align: start; }
.pcard { border-radius: var(--r); padding: 1.6rem 1.5rem 1.8rem; color: var(--ink-on-color); display: grid; gap: 0.8rem; align-content: start; min-height: 290px; }
.pcard .n { font-family: var(--font-display); font-weight: 800; font-size: 3.8rem; line-height: 0.8; }
.pcard p { font-size: 0.96rem; opacity: 0.85; }

/* ---------- DISCOVER ---------- */
.d-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) 2rem; }
.d-hero h1 span { display: inline-block; }
.d-hero h1 .w2 { color: transparent; -webkit-text-stroke: 2px var(--fg); }
.jump { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 66px); z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); padding-block: 0.7rem; }
.jump .wrap { display: flex; gap: 0.5rem; overflow-x: auto; }
.jump button { flex: none; border: 0; cursor: pointer; font: 800 0.9rem var(--font-body); padding: 0.55rem 1rem; border-radius: 999px; color: var(--ink-on-color); }
.theme { scroll-margin-top: 140px; }
.theme .grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.theme .grid > * { min-width: 0; }
.theme.rev .grid > :first-child { order: 2; }
@media (max-width: 820px) { .theme .grid { grid-template-columns: 1fr; } .theme.rev .grid > :first-child { order: 0; } }
.theme .tag { display: inline-flex; align-items: center; gap: 0.6rem; }
.theme .tag b { font-family: var(--font-display); font-size: 0.95rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; color: var(--ink-on-color); }
.blob { position: relative; }
.blob::before { content: ""; position: absolute; inset: 8% -4% -6% 10%; border-radius: 42% 58% 52% 48% / 52% 44% 56% 48%; z-index: 0; }
.blob img { position: relative; z-index: 1; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r); }
.zine { margin-top: clamp(2.5rem, 5vw, 4rem); border-radius: var(--r); background: var(--surface); border: 2px solid var(--fg); box-shadow: 10px 10px 0 var(--taste); display: grid; grid-template-columns: 0.85fr 1.15fr; overflow: hidden; }
.zine > * { min-width: 0; }
.zine img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.zine .body { padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1rem; }
.zine dl { margin: 0; display: grid; gap: 1rem; }
.zine dt { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; }
.zine dd { margin: 0.2rem 0 0; color: var(--muted); }
@media (max-width: 820px) { .zine { grid-template-columns: 1fr; box-shadow: 6px 6px 0 var(--taste); } }
.soon { margin-top: 2.5rem; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; padding: 1.3rem; border-radius: var(--r); border: 2px dashed currentColor; }
.soon > * { min-width: 0; }
.soon img { width: 170px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; filter: sepia(0.25); }
@media (max-width: 600px) { .soon { grid-template-columns: 1fr; } .soon img { width: 100%; } }
.chip { display: inline-block; width: fit-content; padding: 0.35rem 0.8rem; border-radius: 999px; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--shop); color: var(--ink-on-color); }

/* ---------- MAP ---------- */
.m-hero { background: var(--navy); color: #fff; }
.m-hero .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.m-hero .wrap > * { min-width: 0; }
@media (max-width: 860px) { .m-hero .wrap { grid-template-columns: 1fr; } }
.count { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.count div { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: 16px; padding: 0.8rem 1.1rem; min-width: 7rem; }
.count b { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--sky); }
.count span { font-size: 0.85rem; color: #b9cde4; }
.mapsvg { width: 100%; height: auto; border-radius: var(--r); }
.mapsvg .sea { fill: #2a6db3; }
.mapsvg .land { fill: #e9dfc6; }
.mapsvg .sand { fill: #d9c7a0; }
.mapsvg .lake { fill: #5fb2e6; stroke: #fff; stroke-width: 3; }
.mapsvg .isl { fill: #c8d8a8; }
.mapsvg .road { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; opacity: 0.8; }
.mapsvg .path { fill: none; stroke: #16345c; stroke-width: 2.5; stroke-dasharray: 2 7; stroke-linecap: round; }
.mapsvg .lbl { font: 700 15px var(--font-body); fill: #16345c; }
.mapsvg .lblw { font: italic 600 15px var(--font-body); fill: #d8ecfb; }
.pin { cursor: default; }
.pin circle { stroke: #fff; stroke-width: 3; }
.pin text { font: 800 13px var(--font-body); fill: #0d2140; text-anchor: middle; }
.legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
@media (max-width: 700px) { .legend { grid-template-columns: 1fr 1fr; } }
.legend div { display: flex; align-items: center; gap: 0.7rem; font-weight: 700; padding: 0.85rem 1rem; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.legend i { width: 1rem; height: 1rem; border-radius: 50%; flex: none; }

/* ---------- WORK ---------- */
.w-hero h1 { font-size: clamp(3rem, 8vw, 6.8rem); }
.w-hero .num2030 { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 22vw, 17rem); line-height: 0.8; color: transparent; -webkit-text-stroke: 2.5px var(--sky); letter-spacing: -0.04em; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 900px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr; } }
.pgrid .pcard { transition: transform 0.25s; }
.pgrid .pcard:nth-child(odd) { transform: rotate(-1deg); }
.pgrid .pcard:nth-child(even) { transform: rotate(1deg); }
.pgrid .pcard:hover { transform: rotate(0) translateY(-4px); }
.illus { background: #fff; border-radius: var(--r); padding: 1rem; border: 1px solid var(--line); }

/* ---------- INVOLVED ---------- */
.i-hero .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
.i-hero .wrap > * { min-width: 0; }
@media (max-width: 820px) { .i-hero .wrap { grid-template-columns: 1fr; } }
.i-hero h1 em { font-style: normal; color: var(--sea); }
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 980px) { .ways { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ways { grid-template-columns: 1fr; } }
.way { border-radius: var(--r); padding: 1.6rem 1.4rem; color: var(--ink-on-color); display: grid; gap: 0.7rem; align-content: start; min-height: 260px; }
.way .ico { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.way p { font-size: 0.97rem; opacity: 0.85; }
.cta-big { border-radius: calc(var(--r) * 1.4); background: var(--navy); color: #fff; padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; overflow: hidden; position: relative; }
.cta-big > * { min-width: 0; position: relative; }
.cta-big .muted { color: #b9cde4; }
.cta-big img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; border: 6px solid var(--sky); }
@media (max-width: 760px) { .cta-big { grid-template-columns: 1fr; } .cta-big img { max-width: 260px; } }

/* Footer */
.foot { background: var(--navy-deep); color: #b9cde4; padding-block: 3.5rem 2rem; }
.foot .wrap { display: grid; gap: 2rem; }
.foot .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: end; }
.foot .brandline { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.6rem, 3.4vw, 2.6rem); color: #fff; line-height: 1.05; max-width: 16ch; margin-top: 1rem; }

.foot nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.foot nav a { text-decoration: none; color: #b9cde4; }
.foot nav a:hover { color: #fff; }
.foot .soc { display: flex; gap: 0.6rem; }
.foot .soc a { text-decoration: none; color: #fff; font-weight: 700; padding: 0.55rem 1.05rem; border: 1.5px solid rgba(255,255,255,0.3); border-radius: 999px; }
.foot .soc a:hover { background: var(--sky); color: var(--ink-on-color); border-color: var(--sky); }
.foot .legal { font-size: 0.85rem; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.2rem; }

/* Colour helpers */
.bg-sea { background: var(--sea); } .bg-taste { background: var(--taste); } .bg-shop { background: var(--shop); }
.bg-art { background: var(--art); } .bg-tides { background: var(--tides); } .bg-feel { background: var(--feel); } .bg-sky { background: var(--sky); }
.c-sea { color: var(--sea); } .c-taste { color: var(--taste); } .c-shop { color: #c98d0a; } .c-art { color: var(--art); } .c-tides { color: var(--tides); } .c-feel { color: var(--feel); }
.blob.sea::before { background: var(--sea); } .blob.taste::before { background: var(--taste); } .blob.shop::before { background: var(--shop); }
.blob.art::before { background: var(--art); } .blob.tides::before { background: var(--tides); } .blob.feel::before { background: var(--feel); }
.bg-sea, .bg-art, .bg-tides, .bg-feel { --ink-on-color: #ffffff; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- DISCOVER HUB ---------- */
.hubgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 900px) { .hubgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hubgrid { grid-template-columns: 1fr; } }
.hubcard { display: grid; text-decoration: none; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.hubcard:hover { transform: translateY(-4px) rotate(-0.5deg); box-shadow: 0 20px 40px -24px rgba(13,33,64,0.5); }
.hubimg { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.hubimg img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.hubcard:hover .hubimg img { transform: scale(1.05); }
.hubnum { position: absolute; top: 0.9rem; left: 0.9rem; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: var(--ink-on-color); }
.hubtxt { padding: 1.2rem 1.3rem 1.4rem; display: grid; gap: 0.35rem; }
.hubtxt h3 { font-size: 1.7rem; }
.hubcount { font-weight: 800; margin-top: 0.4rem; }

/* ---------- THEME PAGE ---------- */
.theme-sea { --tc: var(--sea); } .theme-taste { --tc: var(--taste); } .theme-shop { --tc: var(--shop); }
.theme-art { --tc: var(--art); } .theme-tides { --tc: var(--tides); } .theme-feel { --tc: var(--feel); }
.t-hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.t-hero::before { content: ""; position: absolute; right: -12%; top: -30%; width: 70%; aspect-ratio: 1; border-radius: 46% 54% 50% 50% / 55% 45% 55% 45%; background: var(--tc, var(--sea)); opacity: 0.16; }
.t-hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.t-hero .wrap > * { min-width: 0; }
@media (max-width: 860px) { .t-hero .wrap { grid-template-columns: 1fr; } }
.t-hero h1 { font-size: clamp(2.8rem, 6.5vw, 5.4rem); }
.t-hero #t-intro p { color: var(--muted); max-width: 58ch; }
.t-hero .tag { display: inline-flex; align-items: center; gap: 0.6rem; }
.t-hero .tag b { font-family: var(--font-display); width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; color: var(--ink-on-color); }
.t-hero .tag .kicker { color: var(--tc); }
.theme-shop .t-hero .tag .kicker { color: #c98d0a; }
.back { font-weight: 700; text-decoration: none; color: var(--muted); width: fit-content; }
.back:hover { color: var(--fg); }
.t-photo { border-radius: var(--r); overflow: hidden; transform: rotate(2deg); border: 6px solid var(--surface); box-shadow: 14px 14px 0 var(--tc, var(--sea)); }
.t-photo img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.tstats { display: flex; align-items: baseline; gap: 0.6rem; }
.tstats b { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--tc); font-variant-numeric: tabular-nums; }
.tstats span { color: var(--muted); font-weight: 600; }

.dir { padding-top: 0; }
.dir-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.2rem; }
.search input { width: min(320px, 100%); font: 600 1rem var(--font-body); padding: 0.75rem 1.1rem; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--fg); }
.search input:focus { outline: none; border-color: var(--tc, var(--sky)); }
.search { width: min(320px, 100%); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; }
.filters button { font: 700 0.9rem var(--font-body); padding: 0.5rem 1rem; border-radius: 999px; border: 2px solid var(--line); background: transparent; color: var(--fg); cursor: pointer; }
.filters button:hover { border-color: var(--tc); }
.filters button.on { background: var(--tc); border-color: var(--tc); color: #fff; }
.theme-shop .filters button.on { color: var(--ink-on-color); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .cards { grid-template-columns: 1fr; } }
.biz { background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--tc); border-radius: 16px; padding: 1.2rem 1.25rem 1.1rem; display: grid; gap: 0.5rem; grid-template-rows: auto auto 1fr auto; transition: transform 0.2s, box-shadow 0.2s; }
.biz:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -22px rgba(13,33,64,0.55); }
.biz h3 { font-size: 1.3rem; }
.biz p { color: var(--muted); font-size: 0.96rem; line-height: 1.55; }
.biz .sub { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.biz-foot { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding-top: 0.7rem; margin-top: 0.3rem; border-top: 1px dashed var(--line); font-size: 0.88rem; }
.biz-foot .addr { color: var(--muted); font-weight: 600; min-width: 0; }
.biz-foot a { flex: none; font-weight: 800; text-decoration: none; color: var(--fg); }
.biz-foot a:hover { color: var(--tc); }
.empty, .note { color: var(--muted); margin-top: 1.5rem; }
.note a { font-weight: 700; }
.themenav { display: grid; gap: 1rem; }
.tn { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tn a { text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; padding: 0.7rem 1.2rem; border-radius: 999px; color: var(--ink-on-color); transition: transform 0.2s; }
.tn a:hover { transform: translateY(-2px) rotate(-1.5deg); }

/* ---------- HILBRE ---------- */
.hilbre { display: grid; gap: 2rem; }
.hil-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hil-head > * { min-width: 0; }
@media (max-width: 820px) { .hil-head { grid-template-columns: 1fr; } }
.isles { display: grid; grid-template-columns: 0.8fr 1fr 1.25fr; gap: 1rem; align-items: end; }
@media (max-width: 700px) { .isles { grid-template-columns: 1fr; } }
.isle { background: var(--sea); color: #fff; padding: 2rem 1.6rem 1.6rem; border-radius: 48% 52% 40% 60% / 30% 30% 22% 22%; display: grid; gap: 0.5rem; }
.isle:nth-child(1) { min-height: 170px; } .isle:nth-child(2) { min-height: 210px; } .isle:nth-child(3) { min-height: 250px; }
.isle-n { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; }
.isle p { font-size: 0.95rem; opacity: 0.92; }
.hil-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 760px) { .hil-grid { grid-template-columns: 1fr; } }
.hil-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; display: grid; gap: 0.9rem; align-content: start; }
.hil-box ul, .hil-box ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.6rem; color: var(--muted); }
.hil-box b { color: var(--fg); }
.hil-box.safety { border: 2px solid var(--shop); }
.sos { font-weight: 800; }

/* ---------- WHAT'S ON ---------- */
.wo-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.wo-hero::after { content: ""; position: absolute; right: -6%; bottom: -40%; width: 46%; aspect-ratio: 1; border-radius: 50%; border: 3px dashed var(--sky); opacity: 0.35; }
.wo-hero .wrap { position: relative; z-index: 1; }
.wo-hero h1 .wo-week { display: block; font-weight: 300; color: var(--sky); font-size: 0.62em; margin-top: 0.15em; }
.wo-intro { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #dbe8f6; max-width: 56ch; }
.wo-credit { font-size: 0.92rem; color: #b9cde4; max-width: 62ch; }
.wo-credit a { color: #fff; font-weight: 700; }
.wo-list { display: grid; gap: 1rem; }
.ticket { display: grid; grid-template-columns: 7.5rem 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.ticket .stub { background: var(--sky); color: var(--ink-on-color); padding: 1.1rem 1rem; display: flex; flex-direction: column; justify-content: space-between; border-right: 3px dashed var(--bg); }
.ticket:nth-child(5n+2) .stub { background: var(--taste); color: #fff; }
.ticket:nth-child(5n+3) .stub { background: var(--shop); }
.ticket:nth-child(5n+4) .stub { background: var(--art); color: #fff; }
.ticket:nth-child(5n+5) .stub { background: var(--feel); color: #fff; }
.ticket .cat { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.ticket .idx { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.tk-body { padding: 1.3rem 1.5rem; display: grid; gap: 0.7rem; min-width: 0; }
.tk-body h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.tk-body p { color: var(--muted); }
.tk-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }
.tk-meta dt { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tk-meta dd { margin: 0; font-weight: 700; }
.ticket.off .tk-body h3 { text-decoration: line-through; text-decoration-thickness: 3px; opacity: 0.6; }
.ticket.off .stub { filter: grayscale(0.7); }
.status { width: fit-content; background: var(--taste); color: #fff; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 6px; }
@media (max-width: 560px) { .ticket { grid-template-columns: 1fr; } .ticket .stub { flex-direction: row; align-items: center; border-right: 0; border-bottom: 3px dashed var(--bg); } }

.mapsoon { position: relative; padding: 1.5rem 1.5rem 0 0; }
.mapsoon .tilt { border-color: var(--navy-deep); }
.sticker.big { width: clamp(130px, 16vw, 180px); top: -0.5rem; right: -0.5rem; }
.sticker.big .mid { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 2rem; }
.legal p { margin: 0; }
.credit a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--sky); }
.credit a:hover { color: var(--sky); }

/* ---------- BUSINESS POP-UP ---------- */
.biz { cursor: pointer; }
.biz:focus-visible { outline: 3px solid var(--tc); outline-offset: 2px; }
.biz-foot .more { flex: none; font-weight: 800; color: var(--tc); }
.theme-shop .biz-foot .more { color: #b07a06; }
.bizmodal { border: 0; padding: 0; background: transparent; width: min(980px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: visible; color: var(--fg); }
.bizmodal::backdrop { background: rgba(8, 20, 40, 0.62); backdrop-filter: blur(3px); }
.bizmodal[open] { animation: pop 0.28s ease both; }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
.bm-card { position: relative; display: grid; grid-template-columns: 0.85fr 1.15fr; background: var(--surface); border: 2px solid var(--fg); border-radius: var(--r); box-shadow: 12px 12px 0 var(--tc, var(--taste)); overflow: hidden; max-height: calc(100vh - 48px); }
.bm-card > * { min-width: 0; }
.bm-visual { position: relative; min-height: 260px; }
.bm-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bm-mono { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.bm-mono span { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 12vw, 9rem); letter-spacing: -0.04em; line-height: 1; position: relative; z-index: 1; }
.bm-mono img { position: absolute; width: 70%; right: -14%; bottom: -10%; opacity: 0.22; }
.bm-body { padding: clamp(1.5rem, 3.5vw, 2.6rem); display: grid; gap: 1rem; align-content: start; overflow-y: auto; max-height: calc(100vh - 52px); }
.bm-body .chip { background: var(--tc, var(--taste)); color: #fff; }
.theme-shop .bm-body .chip { color: var(--ink-on-color); }
.bm-body h2 { font-size: clamp(2rem, 4vw, 3rem); }
.bm-bio { color: var(--muted); font-size: 1.08rem; }
.bm-qa { margin: 0; display: grid; gap: 0.9rem; }
.bm-qa dt { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.bm-qa dd { margin: 0.2rem 0 0; color: var(--muted); }
.bm-facts { margin: 0; display: grid; gap: 0.9rem; border-top: 1px dashed var(--line); padding-top: 1rem; }
.bm-facts dt { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.bm-facts dd { margin: 0.15rem 0 0; font-weight: 700; user-select: text; }
.bm-hours { list-style: none; margin: 0.2rem 0 0; padding: 0; display: grid; gap: 0.15rem; font-weight: 500; font-variant-numeric: tabular-nums; font-size: 0.95rem; }
.bm-hours li { display: flex; justify-content: space-between; gap: 1rem; max-width: 340px; color: var(--muted); }
.bm-hours li.today { color: var(--fg); font-weight: 800; }
.bm-note { font-size: 0.85rem; color: var(--muted); }
.bm-close { position: absolute; top: 0.8rem; right: 0.8rem; z-index: 3; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 2px solid var(--fg); background: var(--surface); color: var(--fg); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.bm-close:hover { background: var(--fg); color: var(--surface); }
@media (max-width: 720px) {
  .bm-card { grid-template-columns: 1fr; box-shadow: 6px 6px 0 var(--tc, var(--taste)); overflow-y: auto; }
  .bm-visual { min-height: 170px; }
  .bm-body { max-height: none; overflow: visible; }
}

/* ---------- NEWS ---------- */
.n-hero .wrap { display: grid; gap: 1.2rem; }
.n-hero h1 .thin { font-weight: 300; }
.n-hero p { max-width: 56ch; font-size: 1.1rem; }
.n-hero a { font-weight: 700; }
.n-feature { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); border: 2px solid var(--fg); border-radius: var(--r); overflow: hidden; box-shadow: 10px 10px 0 var(--sky); margin-bottom: 2.5rem; }
.n-feature.noimg { grid-template-columns: 1fr; }
.n-feature > * { min-width: 0; }
.n-feature img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.n-body { padding: clamp(1.4rem, 3.5vw, 2.6rem); display: grid; gap: 0.9rem; align-content: start; }
.n-body h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.n-body p { color: var(--muted); }
.n-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; font-weight: 700; font-size: 0.9rem; color: var(--muted); }
.n-meta .chip { background: var(--sky); color: var(--ink-on-color); }
.n-link { font-weight: 800; color: var(--fg); }
@media (max-width: 820px) { .n-feature { grid-template-columns: 1fr; box-shadow: 6px 6px 0 var(--sky); } .n-feature img { min-height: 200px; max-height: 260px; } }
.n-list { display: grid; }
.n-item { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1.5rem; padding-block: 1.8rem; border-top: 1px solid var(--line); }
.n-item > * { min-width: 0; }
.n-date { display: grid; align-content: start; }
.n-date b { font-family: var(--font-display); font-weight: 800; font-size: 3.2rem; line-height: 0.9; color: var(--sea); font-variant-numeric: tabular-nums; }
.n-date span { font-weight: 700; color: var(--muted); font-size: 0.9rem; }
.n-text { display: grid; gap: 0.6rem; }
.n-tag { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--art); }
.n-text h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.n-full { display: grid; gap: 0.7rem; color: var(--muted); max-width: 70ch; }
.n-item:not(.open) .n-full p:not(:first-child) { display: none; }
.n-more { width: fit-content; background: none; border: 0; padding: 0; font: 800 0.95rem var(--font-body); color: var(--fg); cursor: pointer; border-bottom: 2px solid var(--sky); }
@media (max-width: 560px) { .n-item { grid-template-columns: 1fr; gap: 0.6rem; } .n-date { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 0.5rem; } .n-date b { font-size: 2.2rem; } }

#bm-links .btn { padding: 0.7rem 1.1rem; font-size: 0.92rem; }
#bm-links .btn.alt { border-color: var(--line); }
#bm-links .btn.alt:hover { border-color: var(--fg); }

/* ---------- THEME MAP ---------- */
.dirgrid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 1.5rem; align-items: start; }
.dirgrid .cards { grid-template-columns: 1fr 1fr; }
.mapbox { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); display: grid; gap: 0.5rem; }
.mapframe { --ar: 0.8334; position: relative; width: min(100%, calc((100vh - 190px) * var(--ar))); aspect-ratio: 1416 / 1699; border-radius: var(--r); overflow: hidden; border: 2px solid var(--fg); box-shadow: 8px 8px 0 var(--tc, var(--sea)); }
.mapframe img { position: absolute; inset: 0; width: 100%; height: 100%; filter: saturate(0.75) contrast(0.98); }
.pins { position: absolute; inset: 0; }
.leaders { position: absolute; inset: 0; pointer-events: none; }
.leaders line { stroke: var(--fg); stroke-width: 1.4; opacity: 0.55; }
.leaders circle { fill: var(--fg); stroke: #fff; stroke-width: 1.2; }
.pin { position: absolute; transform: translate(-50%, -50%); width: 24px; height: 24px; padding: 0; border-radius: 50%; border: 2px solid #fff; background: var(--tc, var(--sea)); color: #fff; font: 800 0.7rem/1 var(--font-body); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 6px rgba(0,0,0,0.35); z-index: 1; transition: transform 0.15s, background 0.15s; }
.theme-shop .pin { color: var(--ink-on-color); }
.pin:hover, .pin.hot { z-index: 5; background: var(--fg); color: var(--bg); transform: translate(-50%, -50%) scale(1.3); }
.pin:focus-visible { outline: 3px solid var(--sky); outline-offset: 1px; }
@media (max-width: 420px) { .pin { width: 20px; height: 20px; font-size: 0.62rem; } }
.mapnote { font-size: 0.8rem; color: var(--muted); }
.mapnote a { color: inherit; }
.biz { position: relative; }
.pnum { position: absolute; top: 0.9rem; right: 0.9rem; min-width: 1.7rem; height: 1.7rem; padding: 0 0.35rem; border-radius: 999px; background: var(--tc); color: #fff; font-weight: 800; font-size: 0.8rem; display: grid; place-items: center; }
.theme-shop .pnum { color: var(--ink-on-color); }
.biz h3 { padding-right: 2rem; }
@media (max-width: 1100px) { .dirgrid .cards { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .dirgrid { grid-template-columns: 1fr; }
  .mapbox { position: static; }
  .mapframe { width: 100%; max-width: 560px; justify-self: center; }
  .dirgrid .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) { .dirgrid .cards { grid-template-columns: 1fr; } }

.mapswitch { display: inline-flex; width: fit-content; padding: 4px; gap: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.mapswitch button { border: 0; background: none; font: 700 0.88rem var(--font-body); color: var(--muted); padding: 0.45rem 0.95rem; border-radius: 999px; cursor: pointer; }
.mapswitch button.on { background: var(--fg); color: var(--bg); }

.pintip { position: absolute; z-index: 10; background: var(--surface); color: var(--fg); border: 2px solid var(--fg); border-radius: 14px; box-shadow: 6px 6px 0 var(--tc, var(--sea)); overflow: hidden; pointer-events: none; animation: tipin 0.15s ease both; }
@keyframes tipin { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.pintip img { width: 100%; height: 90px; object-fit: cover; display: block; }
.pt-body { padding: 0.75rem 0.85rem 0.8rem; display: grid; gap: 0.3rem; }
.pt-body strong { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.15; }
.pt-body p { font-size: 0.84rem; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pt-sub { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tc); }
.theme-shop .pt-sub { color: #b07a06; }
.pt-addr { font-size: 0.8rem; font-weight: 700; }
.pt-more { font-size: 0.76rem; font-weight: 800; color: var(--tc); }
.theme-shop .pt-more { color: #b07a06; }
@media (hover: none) { .pintip { display: none; } }
.pintip[hidden] { display: none; }

/* ---------- VISITOR MAP (all places) ---------- */
.vc-sea { background: var(--sea); } .vc-taste { background: var(--taste); } .vc-shop { background: var(--shop); }
.vc-art { background: var(--art); } .vc-tides { background: var(--tides); } .vc-feel { background: var(--feel); } .vc-community { background: var(--navy); }
.theme-community { --tc: var(--navy); }
.vm-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 1.6rem; align-items: start; }
.vm-mapcol { display: grid; gap: 0.6rem; }
.vm-frame { --tc: var(--sea); width: min(100%, calc((100vh - 170px) * var(--ar))); }
.vdot { position: absolute; transform: translate(-50%, -50%); width: 16px; height: 16px; padding: 0; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.4); cursor: pointer; z-index: 1; transition: transform 0.15s; }
.vdot:hover, .vdot.hot { transform: translate(-50%, -50%) scale(1.6); z-index: 5; outline: 2px solid var(--fg); }
.vdot:focus-visible { outline: 3px solid var(--sky); }
.vm-panel { display: grid; gap: 0.9rem; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); }
.vm-filters { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.vf, .vf-all { display: inline-flex; align-items: center; gap: 0.45rem; font: 700 0.86rem var(--font-body); padding: 0.45rem 0.8rem; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: var(--fg); cursor: pointer; }
.vf i { width: 0.8rem; height: 0.8rem; border-radius: 50%; display: block; }
.vf span { font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.vf:not(.on) { opacity: 0.5; }
.vf:not(.on) i { background: transparent; border: 2px solid var(--muted); }
.vf.on { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.vf.on span { color: inherit; opacity: 0.75; }
.vf.on.all { background: var(--surface); color: var(--fg); }
.vf.on.all span { color: var(--muted); opacity: 1; }
.vf.on i { box-shadow: 0 0 0 2px var(--surface); }
.vf-all { border-style: dashed; color: var(--muted); }
.vm-search input { width: 100%; }
.vm-search { width: 100%; }
.vm-count { font-weight: 800; font-size: 0.9rem; color: var(--muted); }
.vm-list { list-style: none; margin: 0; padding: 0; max-height: min(60vh, 560px); overflow-y: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.vm-list li + li { border-top: 1px solid var(--line); }
.vm-list button { width: 100%; display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem 0.9rem; background: none; border: 0; text-align: left; color: var(--fg); cursor: pointer; font: inherit; }
.vm-list button:hover, .vm-list button:focus-visible { background: var(--bg); }
.vm-list i { flex: none; width: 0.75rem; height: 0.75rem; border-radius: 50%; }
.vm-list span { display: grid; min-width: 0; }
.vm-list strong { font-size: 0.95rem; }
.vm-list em { font-style: normal; font-size: 0.8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vm-empty { padding: 1rem; color: var(--muted); }
@media (max-width: 900px) { .vm-grid { grid-template-columns: 1fr; } .vm-panel { position: static; } .vm-frame { width: 100%; } .vm-list { max-height: 380px; } }

.vm-title { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }

/* Visitor Map type colours */
:root { --m-cafe: #ff6b4a; --m-food: #c8372d; --m-bars: #7a4fd0; --m-shops: #f5b72e; --m-charity: #e08a1e; --m-beauty: #e0479e;
  --m-health: #19a3a3; --m-leisure: #2f7fd1; --m-nature: #2fa37a; --m-arts: #b03fbf; --m-heritage: #9a7650; --m-community: #16345c; }
.vc-cafe { background: var(--m-cafe); } .vc-food { background: var(--m-food); } .vc-bars { background: var(--m-bars); }
.vc-shops { background: var(--m-shops); } .vc-charity { background: var(--m-charity); } .vc-beauty { background: var(--m-beauty); }
.vc-health { background: var(--m-health); } .vc-leisure { background: var(--m-leisure); } .vc-nature { background: var(--m-nature); }
.vc-arts { background: var(--m-arts); } .vc-heritage { background: var(--m-heritage); } .vc-community { background: var(--m-community); }
.theme-cafe { --tc: var(--m-cafe); } .theme-food { --tc: var(--m-food); } .theme-bars { --tc: var(--m-bars); } .theme-shops { --tc: #b07a06; }
.theme-charity { --tc: #b0650a; } .theme-beauty { --tc: var(--m-beauty); } .theme-health { --tc: var(--m-health); } .theme-leisure { --tc: var(--m-leisure); }
.theme-nature { --tc: var(--m-nature); } .theme-arts { --tc: var(--m-arts); } .theme-heritage { --tc: var(--m-heritage); } .theme-community { --tc: var(--m-community); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .vc-community, :root:not([data-theme="light"]) .theme-community { --m-community: #8fb3e0; } }
:root[data-theme="dark"] .vc-community { --m-community: #8fb3e0; }

/* Keep the sticky header below the WordPress admin bar when logged in */
.admin-bar .top { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .top { top: 46px; } }
@media screen and (max-width: 600px) { .admin-bar .top { top: 0; } }

/* ---------- MEET THE LOCALS FEATURE PANEL (top of each Discover page) ---------- */
#t-feature { padding-block: 0 clamp(2rem, 4vw, 3rem); }
#t-feature .wrap + .wrap { margin-top: 1.6rem; }
.feat { display: grid; grid-template-columns: 0.85fr 1.15fr; background: var(--surface); border: 2px solid var(--fg); border-radius: var(--r); box-shadow: 10px 10px 0 var(--tc, var(--sea)); overflow: hidden; }
.feat:not(:has(.feat-img)) { grid-template-columns: 1fr; }
.feat > * { min-width: 0; }
.feat-img img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.feat-body { padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1rem; align-content: start; }
.feat-body .chip { background: var(--tc, var(--sea)); color: #fff; }
.theme-shop .feat-body .chip { color: var(--ink-on-color); }
.feat-body h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.feat-bio { color: var(--muted); font-size: 1.08rem; }
.feat-qa { margin: 0; display: grid; gap: 0.9rem; }
.feat-qa dt { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.feat-qa dd { margin: 0.2rem 0 0; color: var(--muted); }
@media (max-width: 820px) { .feat { grid-template-columns: 1fr; box-shadow: 6px 6px 0 var(--tc, var(--sea)); } .feat-img img { min-height: 200px; max-height: 280px; } }

/* ---------- CUSTOM SECTIONS (added from WordPress → Custom sections) ---------- */
.owk-cs { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.owk-cs-text { max-width: 62rem; }
.owk-cs .stack > .muted { max-width: 60ch; }
.owk-cs .pcard h3 { overflow-wrap: anywhere; }
.owk-cs .pcard a { color: inherit; }
.owk-cs .cta-big .btns { margin-top: 0.4rem; }
