/* Holiday Nerja app */
:root {
  --navy: #0B3954; --ink: #2E4A5C; --muted: #4A6577; --bg: #F5F8FA; --card: #FFFFFF;
  --line: #E2E8ED; --accent: #B8501F; --sand: #FFE7D9; --brown: #5C2510; --green: #1F5A33;
  --head: 'Outfit', system-ui, sans-serif; --body: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--navy); font-family: var(--body); font-size: 15px; line-height: 1.45; }
h1, h2, h3 { font-family: var(--head); margin: 0; line-height: 1.15; }
a { color: var(--navy); text-decoration: none; }
img { max-width: 100%; }
.hn-main { max-width: 720px; margin: 0 auto; padding-bottom: 96px; }

/* Header */
.hn-top { position: sticky; top: 0; z-index: 50; background: #fff; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.hn-logo { display: flex; align-items: center; gap: 8px; font: 700 20px var(--head); letter-spacing: -.3px; }
.hn-lang { display: flex; gap: 2px; background: #EEF2F5; border-radius: 999px; padding: 3px; }
.hn-lang a { padding: 6px 12px; border-radius: 999px; font: 600 12px var(--body); min-height: 32px; display: flex; align-items: center; }
.hn-lang a.on { background: var(--navy); color: #fff; }

/* Bottom tabs */
.hn-tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 6px calc(10px + env(safe-area-inset-bottom)); }
.hn-tabs a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 48px; font: 600 11px var(--body); color: var(--muted); }
.hn-tabs a.on { color: var(--accent); }
.hn-tabs svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Home */
.hn-hero { margin: 16px; min-height: 240px; border-radius: 24px; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end;
  background: #2C6E8F url('../img/hero.jpg') center/cover; color: #fff; }
.hn-hero h1 { font-size: 32px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.hn-eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #FFD9C7; }
.hn-accent { color: var(--accent); }
.hn-sections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 4px 16px; }
.hn-sections a { background: #fff; border-radius: 16px; padding: 14px 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; font: 600 14px var(--head); text-align: center; }
.hn-sections svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hn-block { padding: 20px 16px 0; display: flex; flex-direction: column; gap: 10px; }
.hn-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.hn-head h2 { font-size: 22px; }
.hn-head a { font-size: 13px; font-weight: 600; color: var(--accent); }
.hn-page-title { font-size: 28px; }
.hn-small { margin: 0; font-size: 12px; color: var(--muted); }
.hn-row { background: #fff; border-radius: 16px; padding: 12px; display: flex; gap: 12px; align-items: center; }
.hn-thumb { width: 56px; height: 56px; border-radius: 12px; flex: 0 0 56px; }
.hn-row-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hn-row-text strong { font: 600 15px var(--head); }
.hn-row-text small { font-size: 12px; color: var(--muted); }
.hn-chev { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; }
.hn-quest-card { margin: 24px 16px 0; border-radius: 22px; background: var(--sand); padding: 20px; color: var(--brown); display: flex; flex-direction: column; gap: 10px; }
.hn-quest-card .hn-eyebrow { color: #8A3A17; }
.hn-quest-card h2 { font-size: 24px; }
.hn-quest-card p { margin: 0; }
.hn-quest-card .hn-small { color: var(--brown); }
.hn-inline { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Buttons */
.hn-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--accent); color: #fff; font: 600 15px var(--body); cursor: pointer; }
.hn-btn-dark { background: var(--brown); }
.hn-btn-green { background: var(--green); width: 100%; }
.hn-btn-outline { min-height: 44px; border: 2px solid currentColor; background: transparent; border-radius: 12px; font: 600 14px var(--body); color: inherit; cursor: pointer; padding: 0 16px; }

/* Trail page */
.hn-map { height: 300px; background: #E4ECE3; }
.hn-pin span { display: flex; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 13px var(--head); align-items: center; justify-content: center; border: 2px solid #fff; }
.hn-panel { background: #fff; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.hn-panel h1 { font-size: 28px; }
.hn-panel p { margin: 0; color: var(--ink); }
.hn-panel .hn-eyebrow { color: var(--accent); }
.hn-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.hn-facts div { background: var(--bg); border-radius: 12px; padding: 10px 4px; text-align: center; display: flex; flex-direction: column; }
.hn-facts strong { font: 600 15px var(--head); }
.hn-facts small { font-size: 11px; color: var(--muted); }
.hn-stampcard { margin: 12px 16px 0; background: var(--navy); color: #fff; border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.hn-stampcard h2 { font-size: 18px; }
.hn-stampcard .hn-head span, .hn-stampcard p { font-size: 13px; color: #CFE0EA; margin: 0; }
.hn-stamps { display: grid; gap: 8px; }
.hn-stamp { aspect-ratio: 1; border-radius: 50%; border: 2px dashed #6C8CA0; color: #CFE0EA; display: flex; align-items: center; justify-content: center; font: 700 15px var(--head); max-width: 56px; }
.hn-stamp.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.hn-stop { background: #fff; border-radius: 16px; padding: 14px; display: flex; gap: 12px; align-items: flex-start; }
.hn-num { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 50%; background: #EEF2F5; display: flex; align-items: center; justify-content: center; font: 600 14px var(--head); }
.hn-num.on { background: var(--accent); color: #fff; }
.hn-stop-text { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hn-stop-text h3 { font-size: 16px; }
.hn-stop-text p { margin: 0; font-size: 13px; color: var(--ink); }
.hn-stop-text small { font-size: 12px; color: var(--muted); }
.hn-link { font-size: 13px; font-weight: 600; color: var(--accent); padding: 6px 0; }
.hn-check { min-height: 44px; padding: 0 12px; border-radius: 10px; border: 2px solid var(--navy); background: #fff; color: var(--navy); font: 600 13px var(--body); cursor: pointer; flex: 0 0 auto; }
.hn-check.on { background: #EEF2F5; border-color: #EEF2F5; }
.hn-cta { margin: 20px 16px 0; background: #fff; border-radius: 16px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hn-cta div { display: flex; flex-direction: column; }
.hn-cta strong { font: 600 15px var(--head); }
.hn-cta small { font-size: 12px; color: var(--muted); }

/* Quest */
.page-quest { background: #FFF4EC; }
.hn-quest { color: var(--brown); padding: 12px 16px 0; }
.hn-progress-top { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.hn-qbar { display: grid; gap: 6px; }
.hn-qbar span { height: 10px; border-radius: 999px; background: #F0D5C5; }
.hn-qbar span.on { background: var(--accent); }
.hn-clue { margin-top: 16px; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 6px 20px rgba(92,37,16,.10); }
.hn-clue-pic { height: 160px; background: #F6C7AE url('../img/quest.jpg') center/cover; position: relative; }
.hn-pill { position: absolute; top: 12px; left: 12px; background: var(--brown); color: #fff; font: 700 12px var(--head); padding: 6px 12px; border-radius: 999px; }
.hn-clue-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.hn-clue-body h1 { font-size: 24px; }
.hn-clue-body p { margin: 0; }
.hn-question { background: #FFF4EC; border-radius: 16px; padding: 14px; font: 700 17px var(--head); }
.hn-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hn-answer { min-height: 56px; border-radius: 14px; border: 2px solid #F0C9B3; background: #fff; color: var(--brown); font: 800 20px var(--head); cursor: pointer; }
.hn-answer.wrong { background: #FDE8E0; color: #8A3A17; border-color: #E0A68B; }
.hn-answer.right { background: var(--green); color: #fff; border-color: var(--green); }
.hn-right { background: #E3F1E6; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.hn-right p { font: 700 17px var(--head); color: var(--green); }
.hn-wrong { background: #FDE8E0; border-radius: 16px; padding: 14px; font-weight: 600; color: #8A3A17; }
.hn-hint { font-size: 14px; }
.hn-done { margin-top: 16px; background: #fff; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.hn-done h1 { font-size: 28px; }
.hn-done input { min-height: 48px; border: 2px solid #F0C9B3; border-radius: 12px; padding: 0 14px; font: 16px var(--body); }
.hn-safety { font-size: 12px; color: #8A5A42; text-align: center; padding: 16px 4px; }
.hn-certificate { display: none; }
[hidden] { display: none !important; }

@media print {
  body * { visibility: hidden; }
  .hn-certificate, .hn-certificate * { visibility: visible; }
  .hn-certificate { display: block; position: fixed; inset: 0; padding: 60px; text-align: center; border: 10px double var(--accent); color: var(--brown); }
  .hn-cert-brand { font: 700 18px var(--head); }
  .hn-certificate h2 { font-size: 40px; margin: 30px 0; }
  .hn-cert-name { font: 800 36px var(--head); border-bottom: 2px solid var(--brown); display: inline-block; min-width: 60%; padding-bottom: 6px; }
}

/* ---------------------------------------------------------------
   Rental script embeds: brand overrides.
   The script uses its own Bootstrap build (pj.bootstrap). These rules
   restyle the common parts; inspect the page in your browser to find
   any further class names you want to match.
   --------------------------------------------------------------- */
.hn-embed { font-family: var(--body); color: var(--navy); }
.hn-embed h1, .hn-embed h2, .hn-embed h3, .hn-embed h4 { font-family: var(--head) !important; color: var(--navy); }
.hn-embed a { color: var(--accent); }
.hn-embed .btn, .hn-embed button, .hn-embed input[type="submit"] { border-radius: 12px !important; min-height: 44px; font-family: var(--body) !important; font-weight: 600; }
.hn-embed .btn-primary, .hn-embed input[type="submit"] { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; }
.hn-embed input[type="text"], .hn-embed select, .hn-embed .form-control { border-radius: 10px !important; min-height: 44px; border-color: #D5DEE5 !important; }
.hn-embed .panel, .hn-embed .thumbnail, .hn-embed .well { border-radius: 16px !important; border-color: var(--line) !important; overflow: hidden; }
.hn-embed img { border-radius: 12px; }

/* ---------- Nerja Quest v2: treasure map ---------- */
.hn-tmap { display: block; width: 100%; max-width: 440px; margin: 4px auto 0; }
.tm-paper { fill: #F7E6C4; stroke: #C99A5B; stroke-width: 3; }
.tm-sea { fill: #BFD9E6; }
.tm-wave { fill: none; stroke: #8DB8CE; stroke-width: 2; }
.tm-compass circle { fill: none; stroke: #8A5A42; stroke-width: 2; }
.tm-compass path { fill: #8A5A42; }
.tm-compass text { font: 700 12px var(--head); fill: #8A5A42; }
.tm-route { fill: none; stroke: #B58A62; stroke-width: 3; stroke-dasharray: 7 7; stroke-linecap: round; }
.tm-route-done { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.qm circle { fill: #F7E6C4; stroke: #8A5A42; stroke-width: 2; }
.qm-x { stroke: #B9A07E; stroke-width: 4; stroke-linecap: round; }
.qm-now .qm-x { stroke: #C0392B; stroke-width: 5; }
.qm-pulse { fill: rgba(192,57,43,.18) !important; stroke: none !important; animation: qpulse 1.6s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes qpulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .qm-pulse { animation: none; } }
.qm-done circle { fill: var(--accent); stroke: #fff; }
.qm-done text { font: 800 16px var(--head); fill: #fff; }
.qm-ice { fill: #E8B27A; }
.qm-later .qm-ice { opacity: .5; }
.q-card { margin-top: 14px; background: #fff; border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 6px 20px rgba(92,37,16,.08); }
.q-card h1 { font-size: 26px; }
.q-card h2 { font-size: 22px; }
.q-card p { margin: 0; }
.q-eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #8A3A17; }
.q-level { text-align: left; border: 2px solid #F0C9B3; background: #FFF4EC; border-radius: 16px; padding: 16px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; color: var(--brown); min-height: 72px; }
.q-level strong { font: 700 19px var(--head); }
.q-level small { font-size: 13px; color: #8A5A42; }
.q-warm { height: 12px; border-radius: 999px; background: #F0D5C5; overflow: hidden; }
.q-warm span { display: block; height: 100%; border-radius: 999px; background: #E0A68B; transition: width .6s; }
.q-warm-warm span { background: #E8873E; } .q-warm-hot span { background: #C0392B; } .q-warm-here span { background: var(--green); }
.q-warm-text { font-weight: 600; }
.q-wide { width: 100%; text-align: center; justify-content: center; display: flex; align-items: center; }
.q-textbtn { background: none; border: 0; color: #8A5A42; font: 500 13px var(--body); text-decoration: underline; min-height: 44px; cursor: pointer; }
.q-letters { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--brown); color: #FFD9C7; border-radius: 16px; padding: 12px 16px; font-size: 13px; font-weight: 600; }
.q-letters div { display: flex; gap: 6px; }
.q-letters b, .q-letters-inline b { width: 34px; height: 34px; border-radius: 8px; background: #FFD27A; color: var(--brown); display: flex; align-items: center; justify-content: center; font: 800 18px var(--head); }
.q-letters-inline { background: none; padding: 0; margin: 0; }
.q-clue .hn-pill { position: static; align-self: flex-start; }
.q-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.q-pics .hn-answer { min-height: 84px; }
.q-emoji { font-size: 44px; line-height: 1; }
.q-compass .hn-answer { display: flex; align-items: center; justify-content: center; gap: 8px; }
.q-dir { display: inline-block; font-size: 22px; }
.q-dir-E { transform: rotate(90deg); } .q-dir-S { transform: rotate(180deg); } .q-dir-W { transform: rotate(270deg); }
.q-bigletter { font: 700 17px var(--head); color: var(--green); display: flex; align-items: center; gap: 10px; }
.q-bigletter b { width: 48px; height: 48px; border-radius: 10px; background: #FFD27A; color: var(--brown); display: flex; align-items: center; justify-content: center; font: 800 28px var(--head); }
.q-photo { position: relative; overflow: hidden; cursor: pointer; }
.q-photo input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.q-treat, .q-done { align-items: center; text-align: center; }
.q-small { font-size: 13px; color: #8A5A42; }
.q-code { font: 800 30px var(--head); letter-spacing: 4px; background: #FFF4EC; border: 2px dashed var(--accent); border-radius: 14px; padding: 12px 20px; }
.q-word { min-height: 52px; border: 2px solid #F0C9B3; border-radius: 12px; padding: 0 14px; font: 700 22px var(--head); letter-spacing: 3px; text-transform: uppercase; width: 100%; color: var(--brown); }
.q-done label { align-self: stretch; text-align: left; font-weight: 600; }
.q-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Treasure map list */
.q-intro { padding: 8px 4px 4px; }
.q-intro h1 { font-size: 30px; }
.q-intro p { margin: 6px 0 0; }
.q-mapcard { margin-top: 12px; background: #fff; border-radius: 18px; padding: 14px; display: flex; gap: 14px; align-items: center; color: var(--brown); box-shadow: 0 4px 14px rgba(92,37,16,.06); }
.q-mapthumb { width: 64px; height: 64px; flex: 0 0 64px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.q-mapthumb svg { width: 32px; height: 32px; fill: none; stroke: var(--brown); stroke-width: 1.8; stroke-linejoin: round; }
.q-mapinfo { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.q-mapinfo strong { font: 700 17px var(--head); }
.q-mapinfo small { font-size: 13px; color: #8A5A42; }
.q-badge { align-self: flex-start; font-style: normal; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #FFE7D9; color: #8A3A17; }
.q-badge-done { background: #E3F1E6; color: var(--green); }
.q-back { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 13px; font-weight: 600; color: #8A3A17; }
.q-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.q-title { font-size: 24px; margin-bottom: 4px; }
.page-quest .hn-chev { stroke: var(--brown); }
/* Street map with treasure styling */
.q-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #F0D5C5; border-radius: 14px; padding: 4px; margin: 8px 0 10px; }
.q-toggle button { min-height: 40px; border: 0; border-radius: 10px; background: transparent; color: var(--brown); font: 600 14px var(--body); cursor: pointer; }
.q-toggle button.on { background: #fff; box-shadow: 0 1px 4px rgba(92,37,16,.15); }
.q-street { height: 380px; border-radius: 18px; overflow: hidden; border: 3px solid #C99A5B; background: #F7E6C4; }
.q-street .leaflet-tile-pane { filter: sepia(.6) saturate(1.1) hue-rotate(-10deg) brightness(1.03) contrast(.95); }
.qx { display: flex; align-items: center; justify-content: center; }
.qx svg { width: 70%; height: 70%; fill: none; stroke: #8A5A42; stroke-width: 3.5; stroke-linecap: round; position: relative; }
.qx-later { background: rgba(247,230,196,.9); border: 2px solid #B9A07E; border-radius: 50%; }
.qx-later svg { stroke: #B9A07E; }
.qx-now { background: #FFF4EC; border: 3px solid #C0392B; border-radius: 50%; }
.qx-now svg { stroke: #C0392B; stroke-width: 4; }
.qx-pulse { position: absolute; inset: -10px; border-radius: 50%; background: rgba(192,57,43,.25); animation: qpulse2 1.6s ease-out infinite; }
@keyframes qpulse2 { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .qx-pulse { animation: none; } }
.qx-done { background: var(--accent); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.qx-done b { color: #fff; font: 800 16px var(--head); }
.qx-treat { background: #fff; border-color: #E8B27A; }
.qx-treat svg { stroke: none; width: 80%; height: 80%; }
.qx-you span { display: block; width: 16px; height: 16px; border-radius: 50%; background: #1A73E8; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(26,115,232,.2); }
/* Typed answers and colour picking */
.q-textans { text-transform: none; letter-spacing: 0; font: 600 18px var(--body); }
.q-swatches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.q-swatch { min-height: 72px; border: 2px solid #F0C9B3; background: #fff; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font: 600 13px var(--body); color: var(--brown); cursor: pointer; text-transform: capitalize; }
.q-swatch span { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(0,0,0,.15); }
.q-swatch.on { border-color: var(--green); background: #E3F1E6; box-shadow: inset 0 0 0 2px var(--green); }
/* Adult mystery tour */
.q-intro-text { font-size: 16px; line-height: 1.55; }
.q-fact { background: #EEF4FA; border-radius: 14px; padding: 12px 14px; color: var(--navy); }
.q-fact strong { font: 700 14px var(--head); display: block; margin-bottom: 4px; }
.q-fact p { margin: 0; font-size: 14px; line-height: 1.5; }
.q-badge-adult { background: #DCE8F5; color: var(--navy); }
.q-mapinfo { align-items: flex-start; }
.q-mapinfo .q-badge + .q-badge { margin-top: 2px; }
.hn-right .q-fact p { font: 400 14px/1.5 var(--body); color: var(--navy); }
/* Five tabs and four home sections */
.hn-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hn-tabs a { font-size: 10.5px; text-align: center; }
.hn-sections { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.hn-sections a { font-size: 13px; padding: 12px 4px; }

/* Walks */
.hn-lead { margin: 0; color: var(--ink); }
.hn-walkcard { background: #fff; border-radius: 16px; padding: 12px; display: flex; gap: 12px; align-items: center; }
.hn-walkcard .hn-thumb { display: flex; align-items: center; justify-content: center; }
.hn-walkcard .hn-thumb svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linejoin: round; }
.hn-row-text em { font-style: normal; }
.hn-diff { align-self: flex-start; margin-top: 3px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.hn-diff-easy { background: #E3F1E6; color: #1F5A33; }
.hn-diff-moderate { background: #FFF1D6; color: #7A4E00; }
.hn-diff-hard { background: #FDE3DC; color: #8A2E17; }
.hn-diff-text { background: none !important; }
.hn-facts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hn-facts-4 strong { font-size: 14px; }
.hn-back-navy { color: var(--navy); }
.hn-info { margin: 0; background: #fff; border-radius: 16px; padding: 4px 16px; }
.hn-info div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.hn-info div:last-child { border-bottom: 0; }
.hn-info dt { font: 600 13px var(--body); color: var(--muted); }
.hn-info dd { margin: 2px 0 0; color: var(--navy); }
.hn-safetybox { background: #FFF6D6; color: #5A4300; border-radius: 16px; padding: 14px 16px; }
.hn-safetybox p { margin: 4px 0 0; font-size: 14px; }
.hn-h2 { font-size: 20px; }
.hn-finish { margin: 20px 16px 0; background: #fff; border-radius: 16px; padding: 16px; }
.hn-finish h2 { font-size: 18px; margin: 2px 0 4px; }
.hn-finish p { margin: 0; }
.hn-wpin span { display: flex; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font: 700 13px var(--head); align-items: center; justify-content: center; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.hn-wpin-start span { background: var(--green); }
.hn-wpin-end span { background: var(--accent); }
/* Local info */
.hn-top-right { display: flex; align-items: center; gap: 8px; }
.hn-info-btn { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #EEF2F5; color: var(--navy); }
.hn-info-btn.on { background: var(--navy); color: #fff; }
.hn-info-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.hn-guide-card { margin: 10px 16px 0; background: #fff; border-radius: 16px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.hn-guide-card > svg:first-child { width: 28px; height: 28px; flex: 0 0 28px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; }
.hn-guide-card span { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.hn-guide-card strong { font: 600 15px var(--head); }
.hn-guide-card small { font-size: 12px; color: var(--muted); }
.hn-sos { margin: 16px 16px 0; background: #9E2B1E; color: #fff; border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.hn-sos h2 { font-size: 18px; }
.hn-sos-main { display: flex; align-items: center; gap: 14px; background: #fff; color: #9E2B1E; border-radius: 14px; padding: 12px 14px; }
.hn-sos-num { font: 800 34px var(--head); letter-spacing: 1px; }
.hn-sos-main span:last-child { display: flex; flex-direction: column; }
.hn-sos-main strong { font: 700 16px var(--head); }
.hn-sos-main small { font-size: 12px; color: #6B2A20; }
.hn-sos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.hn-sos-grid a { background: rgba(255,255,255,.14); color: #fff; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; min-height: 56px; }
.hn-sos-grid strong { font: 700 20px var(--head); }
.hn-sos-grid small { font-size: 12px; color: #FFE1DA; }
.hn-search { width: 100%; min-height: 48px; border: 1px solid #D5DEE5; border-radius: 12px; padding: 0 14px; font: 16px var(--body); background: #fff; }
.hn-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.hn-chips button { flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #D5DEE5; background: #fff; color: var(--navy); font: 600 13px var(--body); cursor: pointer; }
.hn-chips button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.hn-duty { background: #E3F1E6; color: #1F5A33; border-radius: 16px; padding: 14px 16px; }
.hn-duty p { margin: 4px 0 0; font-size: 14px; }
#g-list { display: flex; flex-direction: column; gap: 10px; }
.hn-place { background: #fff; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.hn-place h3 { font-size: 16px; }
.hn-place p { margin: 0; font-size: 14px; color: var(--ink); }
.hn-place-top { display: flex; gap: 6px; }
.hn-cat, .hn-feat { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.hn-cat-health { background: #E3F1E6; color: #1F5A33; } .hn-cat-shops { background: #FFF1D6; color: #7A4E00; }
.hn-cat-transport { background: #DCE8F5; color: var(--navy); } .hn-cat-services { background: #EEE6F5; color: #4F3570; }
.hn-feat { background: var(--accent); color: #fff; }
.hn-place-addr { color: var(--muted) !important; }
.hn-place-meta { font-size: 12px !important; color: var(--muted) !important; }
.hn-place-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.hn-place-actions .hn-btn-outline { display: inline-flex; align-items: center; font-size: 13px; color: var(--navy); }
.hn-disabled { opacity: .5; }
.hn-cat-eat { background: #FDE3DC; color: #8A2E17; }
.hn-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0; }
.hn-tags span { font-size: 12px; padding: 2px 8px; border-radius: 6px; background: var(--bg); color: var(--ink); }
.hn-trails-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border-radius: 14px; padding: 12px 14px; font-weight: 600; color: var(--accent); }
.hn-trails-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.hn-trails-link[hidden] { display: none; }
/* Local info map */
.hn-viewbar { display: flex; gap: 8px; align-items: center; }
.hn-viewtoggle { flex: 1; margin: 0; background: #E2E8ED; }
.hn-viewtoggle button { color: var(--navy); }
.hn-near { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1px solid #D5DEE5; background: #fff; color: var(--navy); font: 600 13px var(--body); cursor: pointer; flex: none; }
.hn-near svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.hn-near.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.hn-gmap { height: 460px; border-radius: 16px; overflow: hidden; background: #E4ECE3; }
.hn-gpin span { display: block; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.hn-gpop-link { color: var(--accent); font-weight: 600; }
.hn-dist { font: 600 12px var(--body); color: var(--accent); white-space: nowrap; }
.hn-place h3 { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
/* Logo with web address */
.hn-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.hn-logo-text small { font: 500 11.5px var(--body); color: var(--accent); letter-spacing: .1px; margin-top: 2px; }
/* One-tap type buttons */
.hn-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.hn-type { min-height: 74px; border: 1px solid #D5DEE5; background: #fff; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 8px 4px; cursor: pointer; color: var(--navy); }
.hn-type[hidden] { display: none; }
.hn-type-ic { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.hn-type-ic svg, .hn-gpin svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hn-type-eat .hn-type-ic { background: #C0462B; } .hn-type-health .hn-type-ic { background: #1F7A45; }
.hn-type-shops .hn-type-ic { background: #B07A00; } .hn-type-transport .hn-type-ic { background: #1F5E9E; }
.hn-type-services .hn-type-ic { background: #6B4E9A; }
.hn-type-l { font: 600 11.5px var(--body); text-align: center; line-height: 1.2; }
.hn-type.on { border: 2px solid var(--navy); background: #EEF2F5; }
.hn-gpin span { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.hn-gpin svg { width: 17px; height: 17px; }
.hn-cat { display: inline-flex; align-items: center; gap: 4px; }
.hn-cat-ic { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Buses */
.hn-bus { background: #fff; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.hn-bus-head { display: flex; gap: 12px; align-items: center; }
.hn-bus-ic { width: 44px; height: 44px; border-radius: 12px; background: #1F5E9E; display: flex; align-items: center; justify-content: center; flex: none; }
.hn-bus-ic svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.hn-bus-from { margin: 0; font-size: 12px; color: var(--muted); font-weight: 600; }
.hn-bus h2 { font-size: 19px; }
.hn-bus-facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.hn-bus-facts dt { font-size: 12px; color: var(--muted); font-weight: 600; }
.hn-bus-facts dd { margin: 1px 0 0; font-size: 14px; }
.hn-bus-note { margin: 0; font-size: 14px; color: var(--ink); }
.hn-tt { background: #F2F6FA; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.hn-tt-sample { margin: 0; font-size: 12px; font-weight: 700; color: #8A2E17; background: #FDE3DC; border-radius: 8px; padding: 4px 8px; align-self: flex-start; }
.hn-tt-next p { margin: 0 0 4px; font-size: 14px; }
.hn-tt-next b { font: 800 17px var(--head); color: var(--accent); }
.hn-tt-next span { color: var(--muted); font-size: 13px; }
.hn-tt summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--navy); min-height: 36px; display: flex; align-items: center; }
.hn-tt-controls { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 10px; }
.hn-tt-dir { margin: 0; background: #E2E8ED; }
.hn-tt-dir button { color: var(--navy); }
.hn-tt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
.hn-tt-grid span { text-align: center; padding: 8px 0; border-radius: 8px; background: #fff; font: 600 14px var(--body); font-variant-numeric: tabular-nums; }
.hn-tt-grid span.past { color: #9AAAB6; background: transparent; }
.hn-tt-grid span.next { background: var(--accent); color: #fff; }
.hn-map-round { border-radius: 16px; overflow: hidden; }
.hn-bus-link > svg:first-child { stroke: #1F5E9E !important; }
.hn-block .hn-bus-link { margin: 0; } .hn-bus-link[hidden] { display: none; }
/* What's on */
.hn-staybox { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8px; align-items: end; }
.hn-staybox label { display: flex; flex-direction: column; gap: 3px; font: 600 12px var(--body); color: var(--muted); }
.hn-staybox input { min-height: 46px; border: 1px solid #D5DEE5; border-radius: 10px; padding: 0 10px; font: 16px var(--body); color: var(--navy); background: #fff; width: 100%; }
.hn-staybox .hn-btn, .hn-staybox .hn-btn-outline { grid-column: 1 / -1; }
.hn-whatson { margin: 10px 16px 0; background: var(--navy); color: #fff; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.hn-whatson-head { display: flex; gap: 12px; align-items: center; }
.hn-whatson-head svg { width: 30px; height: 30px; flex: none; fill: none; stroke: #FFD9C7; stroke-width: 1.8; stroke-linecap: round; }
.hn-whatson-head span { display: flex; flex-direction: column; }
.hn-whatson-head strong { font: 700 17px var(--head); }
.hn-whatson-head small { font-size: 13px; color: #CFE0EA; }
.hn-whatson .hn-staybox label { color: #CFE0EA; }
.hn-ev-weekly { background: #fff; border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.hn-ev-weekly h3 { font-size: 15px; color: var(--muted); }
.hn-ev-wk { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; border-top: 1px solid var(--line); }
.hn-ev-wk:first-of-type { border-top: 0; padding-top: 0; }
.hn-ev-wk strong { font: 600 15px var(--head); }
.hn-ev-wk small { font-size: 13px; color: var(--muted); }
.hn-ev-count { font-size: 13px; color: var(--accent); font-weight: 600; }
.hn-ev-list { display: flex; flex-direction: column; gap: 10px; }
.hn-ev { background: #fff; border-radius: 16px; padding: 14px; display: flex; gap: 14px; }
.hn-ev-date { width: 54px; flex: none; border-radius: 12px; background: var(--sand); color: var(--brown); display: flex; flex-direction: column; align-items: center; justify-content: center; height: 62px; }
.hn-ev-date span { font: 600 12px var(--body); text-transform: uppercase; }
.hn-ev-date b { font: 800 24px var(--head); line-height: 1; }
.hn-ev-religious .hn-ev-date { background: #EEE6F5; color: #4F3570; }
.hn-ev-music .hn-ev-date { background: #DCE8F5; color: var(--navy); }
.hn-ev-classes .hn-ev-date { background: #EADFF2; color: var(--navy); }
.hn-ev-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hn-ev-body h3 { font-size: 17px; }
.hn-ev-body p { margin: 0; font-size: 14px; color: var(--ink); }
.hn-ev-tag { font-size: 12px !important; font-weight: 600; color: var(--accent) !important; }
.hn-ev-tag em { font-style: normal; color: #8A2E17; background: #FDE3DC; padding: 1px 6px; border-radius: 6px; }
.hn-ev-when { font-size: 13px !important; color: var(--muted) !important; }
.hn-ev-add { background: none; border: 0; padding: 6px 0; text-align: left; cursor: pointer; font: 600 13px var(--body); min-height: 36px; }
.hn-ev-none { background: #fff; border-radius: 16px; padding: 16px; margin: 0; }

/* =====================================================================
   DESKTOP & TABLET
   ===================================================================== */
@media (min-width: 760px) {
  .hn-main { max-width: 1200px; padding-left: 24px; padding-right: 24px; }
  .hn-top { padding: 14px max(24px, calc((100vw - 1200px) / 2 + 24px)); }
  .hn-hero { min-height: 340px; padding: 40px; margin: 20px 16px; }
  .hn-hero h1 { font-size: 48px; max-width: 14ch; }
  .hn-page-title { font-size: 36px; }
  .hn-lead { max-width: 70ch; font-size: 17px; }
  /* Lists of cards become grids */
  .hn-block:has(> .hn-row), .hn-block:has(> .hn-walkcard), .hn-block:has(> .hn-bus), .hn-block:has(> .hn-stop) {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
  }
  .hn-block:has(> .hn-row) > :not(.hn-row), .hn-block:has(> .hn-walkcard) > :not(.hn-walkcard),
  .hn-block:has(> .hn-bus) > :not(.hn-bus), .hn-block:has(> .hn-stop) > :not(.hn-stop) { grid-column: 1 / -1; }
  #g-list, .hn-ev-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #g-list > [hidden] { display: none; }
  .hn-quest:not(:has(#q-view)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .hn-quest:not(:has(#q-view)) > :not(.q-mapcard) { grid-column: 1 / -1; }
  .hn-quest:not(:has(#q-view)) .q-mapcard { margin-top: 0; }
  .hn-whatson .hn-staybox { grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; }
  .hn-whatson .hn-staybox .hn-btn { grid-column: auto; }
  .hn-staybox { grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; max-width: 640px; }
  .hn-staybox .hn-btn, .hn-staybox .hn-btn-outline { grid-column: auto; min-height: 46px; }
  .hn-sos-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hn-types { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
  .hn-map { height: 420px; }
  .hn-cta, .hn-finish, .hn-stampcard, .hn-quest-card, .hn-whatson, .hn-guide-card { margin-left: 16px; margin-right: 16px; }
  /* Reading pages stay a comfortable width */
  .is-detail .hn-main { max-width: 900px; }
  .is-detail .hn-map { border-radius: 0 0 20px 20px; }
}

/* Wide screens: tabs move up into the header as a top menu */
@media (min-width: 1100px) {
  .hn-main { padding-bottom: 60px; }
  .hn-top { height: 72px; }
  .hn-tabs {
    position: fixed; top: 0; bottom: auto; left: 50%; right: auto; transform: translateX(-50%);
    height: 72px; display: flex; gap: 4px; padding: 0; background: transparent; border: 0; z-index: 60;
  }
  .hn-tabs a { flex-direction: row; gap: 8px; font-size: 14px; min-height: 44px; padding: 0 14px; border-radius: 999px; align-self: center; color: var(--navy); }
  .hn-tabs a:hover { background: #EEF2F5; }
  .hn-tabs a.on { background: #FFE7D9; color: var(--accent); }
  .hn-tabs svg { width: 20px; height: 20px; }
  /* Home: what's on, local info and quest side by side */
  .page-home .hn-main { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; align-content: start; }
  .page-home .hn-main > * { grid-column: 1 / -1; }
  .page-home .hn-hero { grid-column: 1 / 8; margin: 24px 0 0; min-height: 420px; }
  .page-home .hn-sections { grid-column: 8 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 24px 0 0; align-content: stretch; }
  .page-home .hn-sections a { justify-content: center; font-size: 16px; }
  .page-home .hn-whatson { grid-column: 1 / 8; margin: 16px 0 0; }
  .page-home .hn-guide-card { grid-column: 8 / -1; margin: 16px 0 0; }
  .page-home .hn-block { padding-left: 0; padding-right: 0; }
  .page-home .hn-block:has(> .hn-row) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .page-home .hn-quest-card { margin: 24px 0 0; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 32px; }
  /* Local info: list and map side by side, map stays in view */
  .page-guide .hn-block:has(#g-list) { display: grid; grid-template-columns: minmax(0, 1fr) 440px; grid-auto-flow: dense; column-gap: 20px; row-gap: 12px; align-items: start; }
  .page-guide .hn-block:has(#g-list) > * { grid-column: 1 / -1; }
  .page-guide .hn-block:has(#g-list) > #g-list { grid-column: 1; }
  .page-guide .hn-block:has(#g-list) > #g-map { grid-column: 2; align-self: start; position: sticky; top: 92px; height: calc(100vh - 120px); min-height: 420px; }
  .page-guide .hn-viewtoggle { display: none; }
  .page-guide .hn-viewbar { justify-content: flex-end; }
  .hn-ev-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .is-detail .hn-main { padding-top: 12px; }
}
/* How was your day? */
.hn-fb { margin: 20px 16px 0; background: #fff; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 12px; border: 2px solid #FFE7D9; }
.hn-fb[hidden] { display: none; }
.hn-quest .hn-fb { margin: 16px 0 0; color: var(--navy); }
.hn-fb h2 { font-size: 22px; }
.hn-fb-sub { margin: 0; color: var(--ink); font-size: 14px; }
.hn-fb-form { display: flex; flex-direction: column; gap: 12px; }
.hn-fb-form[hidden], .hn-fb-thanks[hidden] { display: none; }
.hn-fb-stars { border: 0; margin: 0; padding: 0; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.hn-fb-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hn-fb-stars label { font-size: 38px; line-height: 1; color: #D5DEE5; cursor: pointer; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.hn-fb-stars input:checked ~ label, .hn-fb-stars label:hover, .hn-fb-stars label:hover ~ label { color: #E0A21B; }
.hn-fb-stars input:focus-visible + label { outline: 2px solid var(--navy); border-radius: 8px; }
.hn-fb-l { display: flex; flex-direction: column; gap: 4px; font: 600 13px var(--body); color: var(--muted); }
.hn-fb-l textarea, .hn-fb-l input { border: 1px solid #D5DEE5; border-radius: 10px; padding: 10px 12px; font: 16px var(--body); color: var(--navy); }
.hn-fb-check { display: flex; gap: 8px; align-items: center; font-size: 14px; min-height: 44px; }
.hn-fb-check input { width: 20px; height: 20px; }
.hn-hp { position: absolute; left: -9999px; }
.hn-fb-err { margin: 0; color: #8A2E17; font-weight: 600; font-size: 14px; }
.hn-fb-big { margin: 0; font: 700 18px var(--head); color: var(--green); }
.hn-fb-share { background: var(--bg); border-radius: 14px; padding: 14px; }
.hn-fb-share p { margin: 0 0 10px; font-size: 14px; }
.hn-fb-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.hn-fb-btns > * { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.hn-fb-btns .hn-btn[hidden] { display: none; }
.hn-fb-google { margin: 0; font-size: 14px; }
.hn-fb-google a { color: var(--accent); font-weight: 600; }
.hn-fb-open { width: 100%; min-height: 48px; }
.hn-reviews { margin: 20px 16px 0; display: flex; flex-direction: column; gap: 10px; }
.hn-quest .hn-reviews { margin: 20px 0 0; }
.hn-rv-sum { margin: 0; font-weight: 600; }
.hn-stars { color: #E0A21B; letter-spacing: 1px; }
.hn-rv { margin: 0; background: #fff; border-radius: 14px; padding: 12px 16px; }
.hn-rv p { margin: 0 0 4px; }
.hn-rv footer { font-size: 13px; color: var(--muted); }
.hn-rv-mini { font-size: 12px; font-weight: 600; color: #8A5A00; }
/* Services */
.hn-sv { background: #fff; border-radius: 18px; padding: 18px; display: flex; gap: 16px; align-items: flex-start; }
.hn-sv-ic { width: 52px; height: 52px; border-radius: 14px; background: #FFE7D9; display: flex; align-items: center; justify-content: center; flex: none; }
.hn-sv-ic svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hn-sv-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.hn-sv-body h2 { font-size: 19px; }
.hn-sv-body p { margin: 0; font-size: 15px; color: var(--ink); }
.hn-sv-price { font-weight: 700; color: var(--navy) !important; }
.hn-sv-card > svg:first-child { stroke: var(--accent) !important; }
.hn-block .hn-sv-card { margin: 0; }
.hn-sv-link[hidden] { display: none; }
@media (min-width: 760px) { .hn-block:has(> .hn-sv) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .hn-block:has(> .hn-sv) > :not(.hn-sv) { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .page-home .hn-sv-card { grid-column: 1 / -1; margin: 16px 0 0; } }
/* Property Seeker */
.hn-sk { background: #fff; border-radius: 20px; padding: 18px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; }
.hn-sk > label, .hn-sk-group label { display: flex; flex-direction: column; gap: 4px; font: 600 13px var(--body); color: var(--muted); }
.hn-sk input:not([type=checkbox]):not([type=radio]), .hn-sk select, .hn-sk textarea { min-height: 46px; border: 1px solid #D5DEE5; border-radius: 10px; padding: 0 12px; font: 16px var(--body); color: var(--navy); background: #fff; width: 100%; }
.hn-sk textarea { padding: 10px 12px; }
.hn-sk-full { grid-column: 1 / -1; }
.hn-sk fieldset { border: 0; margin: 0; padding: 0; }
.hn-sk legend { font: 600 13px var(--body); color: var(--muted); margin-bottom: 8px; }
.hn-sk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hn-sk-chips label { display: flex; align-items: center; gap: 8px; border: 1px solid #D5DEE5; border-radius: 999px; padding: 8px 14px; font: 500 14px var(--body); color: var(--navy); min-height: 44px; cursor: pointer; }
.hn-sk-chips label:has(input:checked) { border-color: var(--accent); background: #FFF1E8; }
.hn-sk-inline { flex-direction: row !important; align-items: center; font: 500 15px var(--body) !important; color: var(--navy) !important; min-height: 44px; }
.hn-sk-inline input { width: 20px; height: 20px; }
.hn-sk-group { display: none; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; background: #F1ECE4; border-radius: 14px; padding: 14px; }
.hn-sk:has(input[name=trip][value=wedding]:checked) .hn-sk-group, .hn-sk:has(input[name=trip][value=group]:checked) .hn-sk-group { display: grid; }
.hn-sk-group p { grid-column: 1 / -1; margin: 0; font-weight: 600; }
.hn-sk-wed { background: var(--navy); color: #fff; border-radius: 16px; padding: 16px 18px; }
.hn-sk-wed p { margin: 4px 0 0; color: #CFE0EA; font-size: 14px; }
.hn-sk-done { background: #E3F1E6; color: var(--green); border-radius: 16px; padding: 18px; }
.hn-sk-done p { margin: 6px 0 0; color: #1F4A2E; }
.hn-sk-card > svg:first-child { stroke: var(--navy) !important; }
.hn-block .hn-sk-card { margin: 0; }
@media (min-width: 1100px) { .page-home .hn-sk-card { grid-column: 1 / -1; margin: 16px 0 0; } }
.hn-sk-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hn-sk-badges span { display: inline-flex; align-items: center; gap: 6px; background: #E3F1E6; color: #1F5A33; font: 600 14px var(--body); padding: 8px 14px; border-radius: 999px; }
.hn-sk-badges svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* Hall of Fame */
.hn-hof-up { margin: 16px 0 0; background: #fff; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 12px; border: 2px solid #FFD27A; color: var(--navy); }
.hn-hof-up[hidden], .hn-hof-form[hidden], .hn-hof-thanks[hidden], .hn-hof-preview[hidden] { display: none; }
.hn-hof-up h2 { font-size: 22px; }
.hn-hof-prompt { margin: 0; font-weight: 600; }
.hn-hof-form { display: flex; flex-direction: column; gap: 12px; }
.hn-hof-pick { width: 100%; }
.hn-hof-preview { width: 100%; max-height: 320px; object-fit: cover; border-radius: 14px; }
.hn-hof-form .hn-fb-check { align-items: flex-start; min-height: 0; }
.hn-hof-form .hn-fb-check input { margin-top: 3px; flex: none; }
.q-selfie { background: #FFF6D6; border-radius: 14px; padding: 12px 14px; color: #5A4300; }
.hn-chips a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #D5DEE5; background: #fff; color: var(--navy); font: 600 13px var(--body); }
.hn-chips a.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.hn-hof-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.hn-hof-card { margin: 0; background: #fff; border-radius: 16px; overflow: hidden; }
.hn-hof-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: #E2E8ED; }
.hn-hof-card figcaption { padding: 10px 12px; font-size: 14px; }
.hn-hof-card figcaption span { display: block; font-size: 12px; color: var(--muted); }
.hn-hof-empty { background: #fff; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.hn-hof-empty p { margin: 0; }
.hn-hof-card-link { margin: 16px 0 0 !important; }
.hn-hof-card-link > svg:first-child { stroke: #B07A00 !important; }
@media (min-width: 760px) { .hn-hof-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
/* Active Nerja */
.hn-cat-sport { background: #D7EFF0; color: #0B5A61; }
.hn-type-sport .hn-type-ic { background: #0E7C86; }
.hn-sport-card > svg:first-child { stroke: #0E7C86 !important; }
.hn-block .hn-sport-card { margin: 0; }
.hn-walkcard .hn-thumb svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 1100px) { .page-home .hn-sport-card { grid-column: 1 / -1; margin: 16px 0 0; } }
/* Photos added from the staff admin */
.hn-walk-photo{display:block;width:100%;max-height:320px;object-fit:cover}
.hn-place-photo{display:block;width:100%;max-height:200px;object-fit:cover;border-radius:12px;margin:6px 0 8px}
.hn-stop-photo{display:block;width:100%;max-height:180px;object-fit:cover;border-radius:10px;margin:4px 0 6px}
/* Guest reviews */
.hn-gr-block { display: flex; flex-direction: column; gap: 10px; }
.hn-gr { box-shadow: 0 1px 2px rgba(11,57,84,.06); }
.hn-gr > p:not(.hn-stars) { font-size: 15px; line-height: 1.55; }
.hn-gr-prop { display: inline-block; margin-bottom: 4px; font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.hn-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.hn-chips a { padding: 6px 14px; border-radius: 99px; background: #fff; border: 1px solid #D8DEE3; text-decoration: none; color: var(--navy); font-size: 14px; }
.hn-chips a.on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Hall of Fame thumbnails strip + Nerja Gallery */
.hn-hof-strip { display: flex; gap: 8px; overflow-x: auto; margin: 10px 0 0; padding-bottom: 4px; scrollbar-width: none; text-decoration: none; }
.hn-hof-strip::-webkit-scrollbar { display: none; }
.hn-hof-strip img { flex: none; width: 76px; height: 76px; object-fit: cover; border-radius: 12px; background: #E2E8ED; }
.hn-gal-link > svg:first-child { stroke: var(--accent) !important; }
.hn-gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.hn-gal-item { padding: 0; border: 0; background: #E2E8ED; border-radius: 10px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1; }
.hn-gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 760px) { .hn-gal-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; } }
.hn-gal-up { margin: 20px 16px 0; }
.hn-gal-view { border: 0; padding: 0; max-width: 96vw; max-height: 92vh; background: #000; border-radius: 14px; overflow: hidden; }
.hn-gal-view::backdrop { background: rgba(0,0,0,.85); }
.hn-gal-view img { display: block; max-width: 96vw; max-height: 80vh; margin: 0 auto; }
.hn-gal-cap { margin: 0; padding: 10px 14px; color: #fff; font-size: 14px; }
.hn-gal-cap:empty { display: none; }
.hn-gal-close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 18px; cursor: pointer; }

/* Colourful Gallery banner */
.hn-galx { position: relative; display: flex; align-items: center; gap: 12px; min-height: 168px; padding: 20px 18px; border-radius: 22px; overflow: hidden; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, #F2994A 0%, #E2557A 48%, #6C4AB6 78%, #2E86C1 100%); box-shadow: 0 8px 22px rgba(226, 85, 122, .28); }
.hn-galx::before { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,102,.55), rgba(255,214,102,0) 70%); }
.hn-galx-text { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hn-galx-eye { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.hn-galx strong { font-family: var(--display, inherit); font-size: 22px; line-height: 1.15; }
.hn-galx small { font-size: 14px; opacity: .95; }
.hn-galx-btn { align-self: flex-start; margin-top: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; color: #C2185B; font-weight: 700; font-size: 14px; }
.hn-galx-pics { position: relative; flex: none; width: 112px; height: 124px; }
.hn-galx-pics img { position: absolute; width: 78px; height: 92px; object-fit: cover; border: 4px solid #fff; border-radius: 8px; box-shadow: 0 6px 14px rgba(0,0,0,.25); background: #fff; }
.hn-galx-pics .p0 { right: 4px; top: 16px; transform: rotate(8deg); z-index: 3; }
.hn-galx-pics .p1 { right: 30px; top: 6px; transform: rotate(-7deg); z-index: 2; }
.hn-galx-pics .p2 { right: 16px; top: 30px; transform: rotate(-2deg); z-index: 1; }
.hn-galx-pics svg { width: 112px; height: 112px; }
.hn-galx:hover .hn-galx-pics .p0 { transform: rotate(12deg) translateY(-4px); }
.hn-galx-pics img { transition: transform .25s ease; }
@media (min-width: 760px) { .hn-galx { min-height: 190px; padding: 24px 28px; } .hn-galx strong { font-size: 26px; } }

/* Local info banner: sea colours, a hint of street map, and one-tap shortcuts */
.hn-infox { margin: 16px; border-radius: 22px; overflow: hidden; color: #fff;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='160' viewBox='0 0 240 160'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.13' stroke-width='6' stroke-linecap='round'%3E%3Cpath d='M-10 40 C60 30 90 70 160 55 S240 30 260 45'/%3E%3Cpath d='M30 -10 C40 50 20 100 50 170'/%3E%3Cpath d='M150 -10 C140 60 175 110 165 170'/%3E%3Cpath d='M-10 120 C70 110 120 135 260 115'/%3E%3C/g%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='2'%3E%3Cpath d='M90 -10 L100 170'/%3E%3Cpath d='M-10 85 L260 80'/%3E%3Cpath d='M200 -10 L215 170'/%3E%3C/g%3E%3C/svg%3E") repeat,
    linear-gradient(140deg, #0E7C86 0%, #0B5E7E 55%, #0B3954 100%);
  box-shadow: 0 8px 22px rgba(11, 57, 84, .25); }
.hn-infox-top { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; padding: 18px 18px 12px; color: #fff; text-decoration: none; }
.hn-infox-pin { grid-row: span 2; width: 54px; height: 54px; border-radius: 50%; background: #FF8A5B; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(255,138,91,.25); animation: hnPulse 2.4s ease-out infinite; }
.hn-infox-pin svg { width: 28px; height: 28px; fill: #fff; stroke: #FF8A5B; stroke-width: 1.4; }
.hn-infox-pin svg circle { fill: #FF8A5B; stroke: none; }
@keyframes hnPulse { 0% { box-shadow: 0 0 0 0 rgba(255,138,91,.55); } 70% { box-shadow: 0 0 0 14px rgba(255,138,91,0); } 100% { box-shadow: 0 0 0 0 rgba(255,138,91,0); } }
@media (prefers-reduced-motion: reduce) { .hn-infox-pin { animation: none; } }
.hn-infox-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hn-infox-eye { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9FE3E8; }
.hn-infox-text strong { font-family: var(--display, inherit); font-size: 22px; line-height: 1.15; }
.hn-infox-text small { font-size: 14px; opacity: .92; }
.hn-infox-btn { grid-column: 2; justify-self: start; margin-top: 6px; padding: 7px 14px; border-radius: 999px; background: #fff; color: #0B5E7E; font-weight: 700; font-size: 14px; }
.hn-infox-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 4px 14px 16px; }
.hn-infox-chips a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 14px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; font-size: 12.5px; font-weight: 600; text-align: center; line-height: 1.2; }
.hn-infox-chips a span { font-size: 22px; line-height: 1; }
.hn-infox-chips a:active, .hn-infox-chips a:hover { background: rgba(255,255,255,.26); }
.hn-infox-chips a.sos { background: #D64545; border-color: #D64545; }
@media (min-width: 760px) { .hn-infox-chips { grid-template-columns: repeat(6, 1fr); } .hn-infox-top { padding: 22px 24px 14px; } }

/* "Est. 2000" badge by the logo */
.hn-logo-name { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.hn-est { font: 700 9.5px/1 var(--body); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: #8A6A1F;
  padding: 3px 6px 2px; border: 1px solid #D9B45A; border-radius: 999px; background: #FFF7E3; transform: translateY(-1px); }
@media (max-width: 370px) { .hn-est { display: none; } }
/* Phones: make room for the badge – the language switch becomes one round button showing the other language */
@media (max-width: 480px) {
  .hn-top { padding: 12px 14px; }
  .hn-top-right { gap: 6px; }
  .hn-info-btn { width: 38px; height: 38px; }
  .hn-lang { padding: 0; background: none; }
  .hn-lang a.on { display: none; }
  .hn-lang a { width: 38px; height: 38px; min-height: 0; padding: 0; justify-content: center; background: var(--navy); color: #fff; font-size: 12.5px; }
  .hn-logo { gap: 7px; }
  .hn-est { font-size: 8.5px; padding: 3px 5px 2px; }
}

/* Availability calendar link + page */
.hn-avx { display: flex; align-items: center; gap: 14px; margin: 12px 0; padding: 14px 16px; border-radius: 18px; background: #fff; border: 2px solid #CFE0EA; text-decoration: none; color: var(--navy); }
.hn-avx-cal { flex: none; display: grid; grid-template-columns: repeat(4, 10px); gap: 3px; padding: 7px; border-radius: 10px; background: #F1F6F9; }
.hn-avx-cal i { width: 10px; height: 10px; border-radius: 3px; background: #DCE6EC; }
.hn-avx-cal i.a { background: #2E9E6B; } .hn-avx-cal i.b { background: #F2994A; }
.hn-avx-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.hn-avx-text strong { font-size: 15.5px; } .hn-avx-text small { font-size: 13.5px; color: var(--muted); }
.hn-av-how { background: #fff; border-radius: 16px; padding: 12px 16px; margin-top: 10px; }
.hn-av-how ol { margin: 6px 0 0; padding-left: 20px; } .hn-av-how li { margin: 4px 0; }
.hn-av-cal { overflow-x: auto; }

.hn-infox-guide { display: flex; align-items: center; gap: 12px; margin: 0 14px 10px; padding: 10px 14px; border-radius: 14px; background: #fff; color: var(--navy); text-decoration: none; }
.hn-infox-guide > span:first-child { font-size: 24px; }
.hn-infox-guide span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.hn-infox-guide small { color: var(--muted); font-size: 13px; }
.hn-infox-guide em { font-style: normal; font-weight: 700; color: #0B5E7E; }

/* Picture clues and jigsaw */
.q-findpic { display: block; width: 100%; padding: 0; margin: 10px 0; border: 0; background: none; cursor: zoom-in; }
.q-findpic img { display: block; width: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; border: 4px solid #fff; box-shadow: 0 3px 10px rgba(11,57,84,.18); transition: max-height .25s; }
.q-findpic.big img { max-height: 80vh; object-fit: contain; background: #000; }
.q-jig { display: grid; gap: 2px; width: 100%; margin: 12px 0; padding: 2px; background: #5C2510; border-radius: 12px; overflow: hidden; }
.q-piece { border: 0; padding: 0; background-color: #E8D6CC; background-repeat: no-repeat; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.q-piece.sel { transform: scale(.92); box-shadow: 0 0 0 3px #FFD166 inset, 0 0 0 3px #FFD166; position: relative; z-index: 1; }
.q-jig-done { font-weight: 700; }
@media (min-width: 760px) { .hn-infox { margin: 16px 0; } }

.hn-cx { margin: 10px 0 14px; }
.hn-cx strong { display: block; font-size: 14px; margin-bottom: 6px; }
.hn-cx-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.hn-cx-chips a { flex: none; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--navy); }

/* Optional home page video (assets/img/hero.mp4) */
.hn-hero { position: relative; overflow: hidden; }
.hn-hero > *:not(.hn-hero-video) { position: relative; z-index: 1; }
.hn-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hn-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.35), rgba(0,0,0,0) 55%); z-index: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .hn-hero-video { display: none; } }

/* Photos on the four big home buttons */
.hn-sections a.has-photo { position: relative; overflow: hidden; color: #fff; background: #2C6E8F var(--tile) center/cover; text-shadow: 0 1px 6px rgba(0,0,0,.5); justify-content: flex-end; min-height: 96px; }
.hn-sections a.has-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,.05) 70%); }
.hn-sections a.has-photo > * { position: relative; }
.hn-sections a.has-photo svg { stroke: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }

/* "Nerja now" weather */
.hn-wx { margin: 16px; padding: 16px 18px 10px; border-radius: 20px; color: #fff; background: linear-gradient(150deg, #3FA7D6 0%, #2E86C1 45%, #F2994A 130%); box-shadow: 0 6px 18px rgba(46,134,193,.25); }
.hn-wx-now { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.hn-wx-ico { font-size: 46px; line-height: 1; filter: drop-shadow(0 2px 4px rgba(0,0,0,.15)); }
.hn-wx-eye { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.hn-wx-temp { margin: 0; font: 700 34px/1.05 var(--head); }
.hn-wx-word { margin: 0; font-size: 14px; opacity: .95; }
.hn-wx-facts { list-style: none; margin: 0; padding: 0; font-size: 13px; text-align: right; display: grid; gap: 3px; }
.hn-wx-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.hn-wx-days span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 12px; background: rgba(255,255,255,.18); font-size: 14px; font-weight: 600; }
.hn-wx-days b { font-size: 12px; font-weight: 600; opacity: .9; } .hn-wx-days i { font-style: normal; font-size: 20px; } .hn-wx-days small { opacity: .8; font-weight: 400; }
.hn-wx-src { margin: 8px 0 0; font-size: 10.5px; opacity: .8; text-align: right; } .hn-wx-src a { color: #fff; }
@media (min-width: 900px) { .page-home .hn-wx { grid-column: 8 / -1; margin: 16px 0 0; padding: 12px 16px 8px; align-self: start; } .page-home .hn-wx-days { margin-top: 8px; } }
@media (min-width: 900px) {
  .page-home .hn-wx-ico { font-size: 38px; }
  .page-home .hn-wx-temp { font-size: 28px; }
  .page-home .hn-wx-days span { flex-direction: row; justify-content: center; gap: 6px; padding: 5px 4px; font-size: 13px; }
  .page-home .hn-wx-days i { font-size: 16px; }
  .page-home .hn-wx-src { margin-top: 4px; }
}

.hn-aboutrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hn-aboutrow a { display: flex; gap: 10px; align-items: center; padding: 14px; border-radius: 16px; background: #fff; color: var(--navy); }
.hn-aboutrow a > span:first-child { font-size: 26px; }
.hn-aboutrow strong { display: block; font-size: 15px; } .hn-aboutrow small { color: var(--muted); font-size: 12.5px; }
/* iPhone/Safari date boxes have a built-in minimum width – let them shrink to fit their column */
.hn-staybox label { min-width: 0; }
.hn-staybox input[type=date] { display: block; width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box; -webkit-appearance: none; appearance: none; text-align: left; }
.hn-staybox input[type=date]::-webkit-date-and-time-value { text-align: left; }

/* Guest welcome guide */
.hn-wl { max-width: 760px; margin: 0 auto; padding: 0 16px 20px; }
.hn-wl-head { padding: 18px 0 6px; }
.hn-wl-head h1 { font: 800 30px/1.1 var(--head); margin: 4px 0 8px; }
.hn-wl-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.hn-wl-toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.hn-wl-toc a { padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: 13.5px; font-weight: 600; }
.hn-wl-sec { background: #fff; border-radius: 18px; padding: 16px 18px; margin: 14px 0; scroll-margin-top: 80px; box-shadow: 0 1px 2px rgba(11,57,84,.06); }
.hn-wl-sec h2 { font: 700 21px/1.2 var(--head); margin: 0 0 8px; }
.hn-wl-body { font-size: 15.5px; line-height: 1.6; }
.hn-wl-body h2 { font: 700 17px var(--head); margin: 16px 0 4px; }
.hn-wl-body h3 { font: 700 16px var(--head); margin: 14px 0 4px; }
.hn-wl-body p { margin: 0 0 10px; } .hn-wl-body ul { margin: 0 0 10px; padding-left: 20px; } .hn-wl-body li { margin: 3px 0; }
.hn-wl-body a, .hn-wl-r a, .hn-wl-contact a { color: #0B5E7E; text-decoration: underline; }
.hn-wl-rest { display: grid; gap: 10px; margin-top: 10px; }
.hn-wl-r { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.hn-wl-r strong { font: 700 17px var(--head); } .hn-wl-r p { margin: 4px 0; font-size: 14.5px; }
.hn-wl-tags { display: flex; flex-wrap: wrap; gap: 6px; } .hn-wl-tags span { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #EEF3F6; color: var(--navy); }
.hn-wl-tags .bk { background: #FFE7D9; color: #B8501F; }
.hn-wl-acts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-weight: 600; }
.hn-wl-url { word-break: break-all; }
@media (min-width: 760px) { .hn-wl-rest { grid-template-columns: 1fr 1fr; } }
@media print {
  .hn-top, .hn-tabs, nav.hn-tabbar, .hn-wl-tools, .hn-wl-toc, .hn-bottom, footer { display: none !important; }
  body { background: #fff !important; padding: 0 !important; }
  .hn-wl-sec { box-shadow: none; border: 0; border-top: 1px solid #ddd; border-radius: 0; padding: 10px 0; }
  .hn-wl-sec h2, .hn-wl-body h2, .hn-wl-body h3 { break-after: avoid; }
  .hn-wl-r { break-inside: avoid; }
  .hn-wl-body a, .hn-wl-r a { color: #000; }
  .hn-wl, .hn-wl * { visibility: visible; }
  .hn-main { padding: 0 !important; max-width: none; }
}

/* My shortlist page */
.hn-sl-list { display: grid; gap: 10px; margin: 14px 0; }
.hn-sl-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 1px 2px rgba(11,57,84,.06); }
.hn-sl-item img, .hn-sl-ph { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; display: grid; place-items: center; background: #F7E1E8; color: #E2557A; font-size: 28px; }
.hn-sl-item strong { display: block; font-size: 15.5px; } .hn-sl-item a { font-size: 14px; font-weight: 600; color: #0B5E7E; }
.hn-sl-x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; }
.hn-sl-actions { display: grid; gap: 10px; margin: 6px 0 14px; }
.hn-sl-clear { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; }
.hn-sl-empty { text-align: center; background: #fff; border-radius: 18px; padding: 24px 16px; } .hn-sl-big { font-size: 46px; color: #E2557A; margin: 0; }
.hn-sl-shared { background: #FFF0F4; border-radius: 16px; padding: 14px; margin-top: 10px; } .hn-sl-shared p { margin: 0 0 10px; font-weight: 600; }
.hn-cx-chips a.hn-cx-quiz { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---- Countdown to Nerja ---- */
.hn-cd-form { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.hn-cd-form[hidden] { display: none; }
.hn-cd-wide { grid-column: 1 / -1; }
.hn-cd-form input[type=date] { -webkit-appearance: none; appearance: none; min-width: 0; }
.hn-cd-hero { margin: 16px 16px 0; padding: 22px 18px; border-radius: 20px; color: #fff; text-align: center; background: linear-gradient(150deg, #0B3954 0%, #0E7C86 60%, #F29E4C 130%); box-shadow: 0 8px 24px rgba(11,57,84,.18); }
.hn-cd-hola { font: 600 18px var(--head); margin: 0 0 4px; opacity: .95; }
.hn-cd-num { margin: 0; font: 600 22px var(--head); }
.hn-cd-num b { display: block; font-size: 76px; line-height: 1; letter-spacing: -2px; }
.hn-cd-big { font: 700 26px/1.2 var(--head); margin: 6px 0; }
.hn-cd-sub { margin: 2px 0 0; opacity: .9; }
.hn-cd-tick { display: flex; justify-content: center; gap: 8px; margin: 16px 0 6px; }
.hn-cd-tick span { min-width: 58px; padding: 8px 4px; border-radius: 12px; background: rgba(255,255,255,.16); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.hn-cd-tick b { display: block; font: 700 22px var(--head); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.hn-cd-dates { margin: 12px 0 0; font-weight: 600; }
.hn-cd-where { margin: 4px 0 0; opacity: .92; }
.hn-cd-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 14px 0 0; }
.hn-cd-tools button { border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.1); color: #fff; border-radius: 99px; padding: 7px 12px; font: 500 13px var(--body); cursor: pointer; }
.hn-cd-sec { margin: 14px 16px 0; padding: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.hn-cd-sec h2 { font-size: 19px; margin: 0 0 10px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.hn-cd-sec h3 { font-size: 15px; margin: 14px 0 6px; }
.hn-cd-sec p { margin: 0 0 8px; }
.hn-cd-wx { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.hn-cd-wx span { flex: none; display: flex; flex-direction: column; align-items: center; min-width: 74px; padding: 10px 6px; border-radius: 12px; background: var(--bg); font-weight: 700; }
.hn-cd-wx b { font-size: 12px; color: var(--muted); }
.hn-cd-wx i { font-style: normal; font-size: 26px; margin: 2px 0; }
.hn-cd-wx small { color: var(--muted); font-weight: 500; }
.hn-cd-wx em { font-style: normal; font-weight: 500; font-size: 11px; color: var(--muted); text-align: center; }
.hn-cd-stats { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.hn-cd-stats li { padding: 7px 11px; border-radius: 99px; background: var(--bg); font-size: 14px; }
.hn-cd-more { display: inline-block; margin-top: 4px; font-weight: 600; color: var(--accent); }
.hn-cd-ev { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.hn-cd-ev li { display: grid; grid-template-columns: 82px 1fr; gap: 10px; align-items: start; }
.hn-cd-date { font: 700 13px var(--head); color: var(--accent); background: var(--sand); border-radius: 8px; padding: 5px 6px; text-align: center; }
.hn-cd-ev small { display: block; color: var(--muted); }
.hn-cd-pack ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.hn-cd-pack label { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; cursor: pointer; }
.hn-cd-pack input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--green); }
.hn-cd-pack input:checked + span { color: var(--muted); text-decoration: line-through; }
.hn-cd-count { font: 500 13px var(--body); color: var(--green); }
.hn-cd-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.hn-cd-btns .hn-btn-outline { display: inline-flex; align-items: center; }
.hn-cd-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hn-cd-links a { padding: 12px; border-radius: 12px; background: var(--bg); font-weight: 600; }
.hn-cdlink { display: flex; align-items: center; gap: 12px; margin: 12px 0; padding: 13px 16px; border-radius: 16px; color: #fff; background: linear-gradient(120deg, #0B3954, #0E7C86); }
.hn-cdlink > span:first-child { font-size: 26px; }
.hn-cdlink span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.hn-cdlink small { opacity: .85; }
.hn-cdlink em { font-style: normal; font-weight: 700; }
.hn-wl-cd { display: inline-flex; align-items: center; }
@media print { .hn-wl-cd { display: none !important; } }
.hn-cc { display: flex; align-items: center; gap: 12px; margin: 14px 16px 0; padding: 14px 16px; border-radius: 16px; background: linear-gradient(120deg, #4A1D5C, #B8501F); color: #fff; }
.hn-cc > span:first-child { font-size: 28px; }
.hn-cc span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.hn-cc small { opacity: .85; }
.hn-cc em { font-style: normal; font-weight: 700; }
.hn-newsbox { margin: 14px 0; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.hn-newsbox-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.hn-newsbox-h h2 { font-size: 18px; }
.hn-newsbox-h a { font-weight: 600; color: var(--accent); font-size: 14px; }
.hn-news { list-style: none; padding: 0; margin: 0; }
.hn-news li + li { border-top: 1px solid var(--line); }
.hn-news a { display: block; padding: 10px 0; }
.hn-news strong { display: block; font-weight: 600; line-height: 1.35; }
.hn-news small { color: var(--muted); font-size: 12.5px; }
.hn-news-es { color: var(--accent); }
.hn-block .hn-news { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 14px; }
.hn-now { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hn-now > * { padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.2); font-size: 13px; color: #fff; }
.hn-now b { font-weight: 600; }
.hn-wx-lite { padding-bottom: 14px; }
@media (min-width: 900px) { .page-home .hn-now { margin-top: 6px; } .page-home .hn-now > * { font-size: 12px; padding: 4px 9px; } }
.hn-wl-favs a { display: inline-block; margin: 4px 0 10px; font-weight: 600; color: var(--accent); }
@media print { .hn-wl-favs { display: none; } }

/* ---- E-postcards ---- */
.hn-gal-pc { margin-top: 10px; }
.hn-gal-pchint { margin: 0; font-size: 14px; color: var(--muted); }
.pc { perspective: 1400px; cursor: pointer; margin: 6px 0 4px; }
.pc-in { position: relative; width: 100%; aspect-ratio: 3 / 2; transition: transform .8s cubic-bezier(.3,.7,.3,1); transform-style: preserve-3d; }
.pc-flip .pc-in { transform: rotateY(180deg); }
.pc-front, .pc-back { position: absolute; inset: 0; border-radius: 10px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 10px 28px rgba(11,57,84,.22); }
.pc-front { background: #fff; padding: 8px; }
.pc-front > img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; display: block; }
.pc-greet { position: absolute; left: 18px; bottom: 16px; font: italic 700 clamp(18px, 6vw, 30px) Georgia, serif; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.55); }
.pc-credit { position: absolute; right: 14px; top: 14px; max-width: 60%; font-size: 10.5px; color: #fff; background: rgba(0,0,0,.35); padding: 2px 7px; border-radius: 99px; }
.pc-back { transform: rotateY(180deg); background: #FFFBF2; display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; padding: 14px; }
.pc-msg { border-right: 1.5px solid #D8CDB8; padding-right: 10px; font: 400 clamp(13px, 3.6vw, 17px)/1.45 'Segoe Print', 'Bradley Hand', 'Comic Sans MS', cursive; color: #233; overflow: hidden; }
.pc-msg p { margin: 0 0 6px; } .pc-sign { text-align: right; }
.pc-side { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.pc-stamp { width: 58px; padding: 4px; background: #fff; border: 2px dashed #C9B48A; display: flex; flex-direction: column; align-items: center; transform: rotate(4deg); }
.pc-stamp img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pc-stamp b { font: 800 9px var(--head); color: var(--accent); letter-spacing: .1em; } .pc-stamp i { font: 600 7px var(--body); font-style: normal; color: var(--muted); }
.pc-mark { position: absolute; top: 34px; right: 40px; width: 70px; height: 70px; border: 2px solid rgba(184,80,31,.45); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-align: center; font: 700 7.5px/1.3 var(--body); color: rgba(184,80,31,.6); transform: rotate(-14deg); }
.pc-addr { margin-top: auto; align-self: stretch; font-size: 11px; color: var(--muted); border-top: 1px solid #D8CDB8; padding-top: 4px; }
.pc-turn { margin: 8px auto 0; display: block; }
.pc-note { text-align: center; }
.pc-cta { margin-top: 10px; padding: 16px; border-radius: 16px; background: var(--sand); text-align: center; }
.pc-cta p { margin: 6px 0; }
.pc-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px !important; }
.pc-btns .hn-btn-outline, .pc-share .hn-btn-outline { display: inline-flex; align-items: center; }
.pc-form { display: grid; gap: 10px; margin-top: 10px; }
.pc-form label { display: flex; flex-direction: column; gap: 4px; font: 600 13px var(--body); color: var(--muted); }
.pc-form input, .pc-form textarea { border: 1px solid #D5DEE5; border-radius: 10px; padding: 10px; font: 16px var(--body); color: var(--navy); background: #fff; }
.pc-share { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-share[hidden] { display: none; }
@media (min-width: 700px) { .hn-pc-page { max-width: 680px; margin: 0 auto; } }

/* ---- Rainy day plan ---- */
.hn-rainy { display: flex; align-items: center; gap: 12px; margin: 12px 0; padding: 13px 16px; border-radius: 16px; color: #fff; background: linear-gradient(120deg, #3B4E6B, #5C7FA3); }
.hn-rainy > span:first-child { font-size: 26px; } .hn-rainy span:nth-child(2) { flex: 1; display: flex; flex-direction: column; } .hn-rainy small { opacity: .88; } .hn-rainy em { font-style: normal; font-weight: 700; }
.hn-rain-fc { display: flex; gap: 8px; flex-wrap: wrap; }
.hn-rain-fc span { padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: 14px; display: flex; gap: 6px; align-items: center; }
.hn-rain-fc i { font-style: normal; font-size: 20px; }
.hn-hunt-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.hn-hunt-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.hn-hunt-cards li { position: relative; padding: 14px 12px; border-radius: 12px; background: #FFF6E0; border: 2px dashed #D9B45A; }
.hn-hunt-n { font: 800 12px var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.hn-hunt-cards p { margin: 6px 0 0; font: 500 15px/1.4 var(--body); }
.hn-hunt-a { display: block; margin-top: 8px; padding-top: 6px; border-top: 1px solid #E8D7A8; color: var(--muted); font-size: 12.5px; }
.hn-rain-quest { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(120deg, #1F5A33, #3FA36B); color: #fff; }
.hn-rain-quest > span:first-child { font-size: 28px; } .hn-rain-quest span:nth-child(2) { flex: 1; display: flex; flex-direction: column; } .hn-rain-quest small { opacity: .9; } .hn-rain-quest em { font-style: normal; font-weight: 700; }
.hn-rain-ideas { display: grid; gap: 8px; }
.hn-rain-idea { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.hn-rain-ico { font-size: 26px; line-height: 1; }
.hn-rain-idea span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; }
.hn-rain-idea small { color: var(--muted); font-size: 14px; }
.hn-rain-idea em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--green); background: #E4F3EA; padding: 1px 7px; border-radius: 99px; vertical-align: middle; }
@media print {
  body.print-hunt * { visibility: hidden !important; }
  body.print-hunt .hn-hunt-cards, body.print-hunt .hn-hunt-cards * { visibility: visible !important; }
  body.print-hunt .hn-hunt-cards { position: absolute; left: 0; top: 0; width: 100%; grid-template-columns: 1fr 1fr; gap: 0; }
  body.print-hunt .hn-hunt-cards li { break-inside: avoid; border: 2px dashed #999; border-radius: 0; background: #fff; min-height: 45mm; padding: 8mm; }
  body.print-hunt .hn-hunt-cards p { font-size: 15pt; }
  body.print-hunt .hn-hunt-a { display: none !important; }
}

/* ---- Spanish phrase of the day ---- */
.hn-phrase { margin: 14px 0; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); border-left: 6px solid #C60B1E; }
.hn-phrase-h { display: flex; justify-content: space-between; align-items: baseline; font: 700 11px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hn-phrase-h a { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--accent); }
.hn-phrase-main { display: flex; align-items: center; gap: 10px; margin: 6px 0 2px; }
.hn-phrase-main strong { flex: 1; font: 700 22px/1.2 var(--head); }
.hn-say { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sand); font-size: 20px; cursor: pointer; }
.hn-say[hidden] { display: none; }
.hn-phrase-en { margin: 0; font-size: 15px; }
.hn-phrase-say { margin: 2px 0 0; font-size: 13px; color: var(--muted); font-style: italic; }
.hn-phrase-tip { margin: 6px 0 0; font-size: 13px; color: var(--ink); }
.hn-phrases { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hn-phrases li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.hn-phrases li > span { flex: 1; display: flex; flex-direction: column; }
.hn-phrases b { font-size: 16px; } .hn-phrases small { color: var(--muted); } .hn-phrases i { font-size: 12.5px; color: var(--muted); }

/* Featured homes: a tidy grid, 3 across on a computer */
.hn-fgrid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin: 0 !important; width: auto !important; float: none !important; }
.hn-fgrid::before, .hn-fgrid::after, .hn-frow::before, .hn-frow::after { display: none !important; }
.hn-fgrid > :not(.hn-fcard):not(.hn-frow) { display: none !important; }
.hn-frow { display: contents !important; }
.hn-frow > :not(.hn-fcard) { display: none !important; }
.hn-fcard { width: auto !important; max-width: none !important; min-width: 0 !important; float: none !important; margin: 0 !important; padding: 0 !important; flex: none !important; }
.hn-fcard img.hn-fphoto { width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; }
.hn-fcard h1, .hn-fcard h2, .hn-fcard h3, .hn-fcard h4, .hn-fcard [class*="title"] { font-size: 16px !important; line-height: 1.3 !important; margin: 8px 0 !important; }
@media (min-width: 900px) { .hn-fgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .hn-fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .hn-fcard h1, .hn-fcard h2, .hn-fcard h3, .hn-fcard h4, .hn-fcard [class*="title"] { font-size: 14px !important; } }
.hn-fcard .hn-sl-heart { border-radius: 50% !important; }

/* ---- Search map: homes on the map, as a scrollable row (website home + app Stay page) ---- */
.ml{margin:14px 0 0}
.ml[hidden]{display:none}
.ml-h{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.ml-h strong{font:700 17px var(--head);color:var(--navy)}
.ml-nav{display:flex;gap:6px}
.ml-nav button{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:22px;line-height:1;color:var(--navy);cursor:pointer}
.ml-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,250px);gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 2px 10px;scrollbar-width:thin}
.ml-card{scroll-snap-align:start;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.ml-link{display:flex;flex-direction:column;gap:2px;text-decoration:none;color:var(--navy);flex:1;padding-bottom:8px}
.ml-link img,.ml-ph{width:100%;aspect-ratio:4/3;object-fit:cover;background:var(--sand);display:block;margin-bottom:6px}
.ml-link b{padding:0 12px;font-size:15px;line-height:1.3}
.ml-link small{padding:0 12px;color:var(--muted);font-size:13px}
.ml-foot{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:8px 10px 10px;border-top:1px solid var(--line)}
.ml-view{font-weight:600;font-size:13.5px;color:#0E7C86;text-decoration:none}
.hn-sl-heart.ml-save{position:static!important;width:auto!important;height:auto!important;min-height:34px;padding:0 10px 0 7px!important;border-radius:999px!important;border:1.5px solid #E2557A!important;background:#fff!important;box-shadow:none!important;display:inline-flex!important;align-items:center;gap:5px;color:#C2185B;font:700 12.5px var(--body);cursor:pointer}
.hn-sl-heart.ml-save svg{width:17px;height:17px;fill:none;stroke:#C2185B;stroke-width:2}
.hn-sl-heart.ml-save.on{background:#FDEBF1!important}.hn-sl-heart.ml-save.on svg{fill:#E2557A;stroke:#E2557A}
.ml-save.pop{animation:hnslpop .3s}
@media(max-width:600px){.ml-nav{display:none}.ml-row{grid-auto-columns:78%}}
.ml-foot{flex-direction:column;align-items:stretch;gap:6px}
.ml-view{text-align:center;white-space:nowrap}
.hn-sl-heart.ml-save{justify-content:center;white-space:nowrap}

.hn-embed + .ml { margin: 14px 0 6px; }
@keyframes hnslpop{50%{transform:scale(1.25)}}

/* ---- Live webcams (Windy) ---- */
.hn-cams { margin: 14px 0; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.hn-cams-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.hn-cams-h h2 { font-size: 18px; }
.hn-cams-live { font: 700 11px var(--body); letter-spacing: .06em; text-transform: uppercase; color: #D32F2F; }
.hn-cams-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.hn-cam { position: relative; display: block; border-radius: 12px; overflow: hidden; background: #0B3954; aspect-ratio: 16 / 9; color: #fff !important; text-decoration: none !important; }
.hn-cam img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hn-cam-ph { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 34px; background: linear-gradient(160deg, #0E7C86, #0B3954); }
.hn-cam-n { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 8px; background: linear-gradient(transparent, rgba(0,0,0,.65)); display: flex; flex-direction: column; }
.hn-cam-n b { font-size: 14px; } .hn-cam-n small { font-size: 11.5px; opacity: .9; }
.hn-cams-credit { margin: 8px 0 0; font-size: 11.5px; color: var(--muted); }
.hn-cams-credit a { color: inherit; text-decoration: underline; }
.hn-cam-dlg { width: min(960px, 96vw); padding: 0; border: 0; border-radius: 14px; background: #000; color: #fff; }
.hn-cam-dlg::backdrop { background: rgba(0,0,0,.7); }
.hn-cam-dlg iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.hn-cam-dlg .hn-cams-credit { padding: 6px 12px 10px; color: #ccc; }
.hn-cam-x { position: absolute; top: 8px; right: 8px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 16px; cursor: pointer; }
