/* Discover Albania — interactive map, scoped for the Visit Albania theme.
 * Ported from albania-interactive-map/src/map.css. ALL selectors are scoped
 * under .va-discover-map so the map's CSS reset / bare-tag rules can never
 * leak into the rest of the homepage. Fonts reuse the theme's globally-loaded
 * Fraunces (display) + Manrope (body) — no Google Fonts link needed. */

.va-discover-map{
  --sea-1:#0b3a44;--sea-2:#0f4b54;--sea-3:#13616a;--foam:#cfe9e4;--ink:#161514;
  --parch:#f7efe0;--parch-2:#efe3cd;--line:#0a2b32;--gold:#e0a83f;--clay:#c0603a;
  --clay-2:#d97a4e;--land:#dcc79a;--land-line:#b9a06c;
  --c-coast:#149cb0;--c-alps:#5c8a39;--c-heritage:#c0603a;--c-nature:#1f8f74;--c-city:#d8a13a;
  --mh:clamp(540px,70vh,780px);
  font-family:'Manrope',-apple-system,'Helvetica Neue',sans-serif;color:var(--ink);
  background:transparent;padding:0;margin-top:4px;
}
.va-discover-map *{box-sizing:border-box;margin:0;padding:0}
.va-discover-map .va-dm-subline{font-size:.95rem;color:#5f5640;max-width:none;margin:0 0 14px;line-height:1.5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.va-discover-map .modebar{display:flex;gap:5px;background:var(--paper-warm,#e9dfcb);border:1px solid rgba(22,21,20,.10);padding:5px;border-radius:999px;margin:0 0 16px;width:max-content;max-width:100%;flex-wrap:wrap}
.va-discover-map .modebar button{border:0;cursor:pointer;font-family:'Manrope',-apple-system,'Helvetica Neue',sans-serif;font-weight:600;font-size:.86rem;color:#6b5d44;background:transparent;padding:9px 18px;border-radius:999px;transition:.25s;letter-spacing:.02em}
.va-discover-map .modebar button.on{background:var(--clay);color:#fff}
.va-discover-map .stage{display:grid;grid-template-columns:minmax(0,0.72fr) minmax(440px,1.1fr);gap:clamp(14px,2.4vw,30px);align-items:stretch}
/* the overlay toggle + close button are mobile-only; hidden on desktop */
.va-discover-map .va-dm-ovtoggle,.va-discover-map .va-dm-close{display:none}
@media(max-width:820px){
  .va-discover-map .stage{grid-template-columns:1fr;position:relative}
  /* Legend: on mobile the map fills the card width, so a floating corner legend
     covers the southern pins. Drop it out of the overlay and lay it in-flow as a
     wrapping filter row BELOW the map. The map gets a fixed height and the card
     grows to contain both. (3-class selectors out-specify the desktop base.) */
  .va-discover-map .stage .mapcard{height:auto;min-height:0}
  .va-discover-map .stage svg.map{height:var(--mh);min-height:var(--mh)}
  .va-discover-map .stage .legend{position:static;flex-direction:row;flex-wrap:wrap;justify-content:center;align-items:center;gap:9px 16px;right:auto;bottom:auto;max-width:none;margin:14px auto 0;padding:0;background:transparent;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none}
  .va-discover-map .stage .legend .lg{font-size:.82rem;color:#4d4334}
  /* mobile-only control to switch detail-overlay style */
  .va-discover-map .va-dm-ovtoggle{display:inline-flex;align-items:center;gap:.4rem;margin:-2px 0 14px;border:1px solid rgba(22,21,20,.12);background:var(--paper-warm,#e9dfcb);color:#6b5d44;font-family:'Manrope',-apple-system,'Helvetica Neue',sans-serif;font-weight:600;font-size:.74rem;letter-spacing:.02em;padding:7px 13px;border-radius:999px;cursor:pointer}
  .va-discover-map .va-dm-ovtoggle span{color:var(--clay)}
  /* keep the regions/dest subline readable (wrapping) on narrow screens */
  .va-discover-map .va-dm-subline{white-space:normal;overflow:visible;font-size:.9rem}
  /* hide the panel until a place is tapped — the map is the hero on mobile.
     `.stage .panel` (3 classes) beats the base `.va-discover-map .panel`. */
  .va-discover-map .stage .panel{display:none}
  .va-discover-map.va-dm-open .panel{display:flex;position:absolute;left:0;right:0;bottom:0;z-index:30;max-height:74%;border-radius:20px 20px 0 0;box-shadow:0 -22px 55px -22px rgba(0,0,0,.65);animation:va-dm-sheet .3s ease both}
  /* drag-handle affordance on the sheet */
  .va-discover-map.va-dm-open .panel::before{content:"";flex:0 0 auto;align-self:center;width:42px;height:4px;border-radius:99px;background:#cbb98d;margin:-4px 0 10px}
  /* full-cover variant */
  .va-discover-map.va-dm-open.va-dm-ov-full .panel{top:0;bottom:0;max-height:none;border-radius:18px;animation:va-dm-fadein .25s ease both}
  .va-discover-map.va-dm-open.va-dm-ov-full .panel::before{display:none}
  /* close (×) button — injected as first child of the position:relative panel */
  .va-discover-map.va-dm-open .va-dm-close{display:flex;align-items:center;justify-content:center;position:absolute;top:8px;right:10px;z-index:32;width:34px;height:34px;border-radius:50%;border:0;cursor:pointer;background:rgba(22,21,20,.9);color:#fff;font-size:22px;line-height:1;padding:0}
}
@keyframes va-dm-sheet{from{transform:translateY(100%)}to{transform:none}}
.va-discover-map .mapcard{position:relative;height:var(--mh);min-height:var(--mh);background:transparent}
.va-discover-map .grid-bg{display:none}
.va-discover-map svg.map{position:relative;width:100%;height:100%;display:block;min-height:0}
.va-discover-map .region path,.va-discover-map .district path{stroke:var(--line);stroke-width:1.1;vector-effect:non-scaling-stroke;cursor:pointer;transition:fill .35s,opacity .45s,filter .35s}
.va-discover-map .region,.va-discover-map .district{filter:drop-shadow(0 6px 10px rgba(0,0,0,.18))}
.va-discover-map .region:hover path,.va-discover-map .district:hover path{filter:brightness(1.09)}
.va-discover-map svg.map.zoomed .region:not(.active),.va-discover-map svg.map.zoomed .district:not(.active){opacity:.16}
.va-discover-map .region.active path,.va-discover-map .district.active path{fill:var(--clay-2)!important}
.va-discover-map .lbl{font-family:'Manrope',-apple-system,'Helvetica Neue',sans-serif;font-weight:700;font-size:22px;fill:#2a1d0e;paint-order:stroke;stroke:rgba(255,255,255,.92);stroke-width:4.5px;pointer-events:none;text-anchor:middle;transition:opacity .35s}
.va-discover-map .dot{fill:var(--clay);stroke:#fff;stroke-width:1.4;vector-effect:non-scaling-stroke;pointer-events:none;transition:opacity .35s}
.va-discover-map .district text{font-family:'Manrope',-apple-system,'Helvetica Neue',sans-serif;font-weight:700;font-size:18px;fill:#23201a;paint-order:stroke;stroke:#fff;stroke-width:4px;text-anchor:middle;pointer-events:none;opacity:1;transition:opacity .2s}
.va-discover-map svg.map.zoomed .district text{opacity:0}
.va-discover-map .district:hover text,.va-discover-map .district.active text{opacity:1}
.va-discover-map svg.map.zoomed .district.active text{opacity:0}
.va-discover-map svg.map:not(.mode-dest) .pins{display:none}
.va-discover-map svg.map:not(.mode-districts) .districts{display:none}
.va-discover-map svg.map.mode-districts .regions{display:none}
.va-discover-map svg.map:not(.mode-regions) .rlabels,.va-discover-map svg.map:not(.mode-regions) .rdots{display:none}
.va-discover-map svg.map.zoomed .rlabels,.va-discover-map svg.map.zoomed .rdots{opacity:0}
.va-discover-map svg.map.mode-dest .region path{fill:var(--land)!important;stroke:var(--land-line);cursor:default;filter:none}
.va-discover-map svg.map.mode-dest .region{filter:drop-shadow(0 8px 14px rgba(0,0,0,.22))}
.va-discover-map svg.map.mode-dest .region:hover path{filter:none}
.va-discover-map .pin{cursor:pointer}
.va-discover-map .pin .hit{fill:transparent;pointer-events:all}/* enlarged finger-friendly tap target */
.va-discover-map .pin circle.bd{fill:#fff;opacity:0;transition:.25s}
.va-discover-map .pin circle.mk{stroke:#fff;stroke-width:1.6;vector-effect:non-scaling-stroke;cursor:pointer;transition:.2s}
.va-discover-map .pin:hover circle.mk{r:8}.va-discover-map .pin.sel circle.bd{opacity:.9;r:13}
.va-discover-map .pin text{font-family:'Manrope',-apple-system,'Helvetica Neue',sans-serif;font-weight:700;font-size:22px;fill:#23201a;paint-order:stroke;stroke:#fff;stroke-width:4.5px;text-anchor:middle;pointer-events:auto;cursor:pointer;opacity:1;transition:opacity .2s}
.va-discover-map .pin:hover text,.va-discover-map .pin.sel text{opacity:1}.va-discover-map .pin.hide{display:none}
/* Leader arrows for displaced markers (crowded southern coast, 2026-06-11):
   a dashed line from the moved marker back to a small arrowhead on the true spot. */
.va-discover-map .pin .leader{stroke:#6b6356;stroke-width:1.6;stroke-dasharray:5 4;fill:none;opacity:.75;pointer-events:none}
.va-discover-map .pin .leader-tip{fill:#6b6356;opacity:.8;pointer-events:none}
.va-discover-map .reset{position:absolute;left:8px;top:8px;z-index:5;border:0;cursor:pointer;font-family:'Manrope',-apple-system,'Helvetica Neue',sans-serif;font-weight:600;font-size:.8rem;color:#2c2719;background:rgba(255,255,255,.88);backdrop-filter:blur(6px);padding:9px 14px;border-radius:999px;border:1px solid rgba(22,21,20,.12);box-shadow:0 4px 14px -6px rgba(0,0,0,.3);opacity:0;transform:translateY(-6px);pointer-events:none;transition:.35s}
.va-discover-map .reset.show{opacity:1;transform:none;pointer-events:auto}.va-discover-map .reset:hover{background:#fff}
/* collapsible legend */
.va-discover-map .legtoggle{position:absolute;right:14px;bottom:12px;z-index:6;border:0;cursor:pointer;display:none;align-items:center;gap:6px;font-family:'Manrope',-apple-system,'Helvetica Neue',sans-serif;font-weight:600;font-size:.72rem;letter-spacing:.04em;color:#2c2719;background:rgba(255,255,255,.88);backdrop-filter:blur(6px);padding:8px 13px;border-radius:999px;border:1px solid rgba(22,21,20,.12);box-shadow:0 4px 14px -6px rgba(0,0,0,.3)}
.va-discover-map .legtoggle.show{display:inline-flex}.va-discover-map .legtoggle:hover{background:#fff}
.va-discover-map .legend{position:absolute;right:14px;bottom:14px;z-index:5;display:none;flex-direction:column;align-items:flex-start;gap:8px;max-width:none;justify-content:flex-start;background:rgba(255,255,255,.92);backdrop-filter:blur(6px);border:1px solid rgba(22,21,20,.12);border-radius:14px;padding:11px 13px;box-shadow:0 8px 22px -10px rgba(0,0,0,.3)}
.va-discover-map .legend.open{display:flex}
.va-discover-map .legend .lg{display:flex;align-items:center;gap:6px;font-size:.74rem;letter-spacing:.02em;color:#4d4334;opacity:1;cursor:default;user-select:none;transition:.2s;white-space:nowrap}
.va-discover-map .legend .lg.clk{cursor:pointer}.va-discover-map .legend .lg.off{opacity:.32;text-decoration:line-through}
.va-discover-map .legend .lg i{width:9px;height:9px;border-radius:50%;display:inline-block}
.va-discover-map .panel{border-radius:22px;background:radial-gradient(120% 55% at 100% 0%,rgba(192,96,58,.10),transparent 60%),linear-gradient(180deg,var(--parch),var(--parch-2));padding:clamp(22px,2.5vw,30px);display:flex;flex-direction:column;box-shadow:0 30px 70px -34px rgba(0,0,0,.55);position:relative;overflow-y:auto}
@media(min-width:821px){.va-discover-map .panel{max-height:var(--mh)}}
/* Idle/intro states (rotating spotlight + the mode intros) hold light content in
   a panel stretched to the map's height, leaving a large void below. Vertically
   centre that content so the empty space is balanced rather than bottom-heavy.
   `safe` falls back to top-aligned if an intro (e.g. 36 district chips) ever
   overflows, so nothing clips. Detail states (`.panel` without `.intro`) keep
   their default top alignment + scroll. */
.va-discover-map .panel.intro{justify-content:safe center}
.va-discover-map .panel::-webkit-scrollbar{width:8px}.va-discover-map .panel::-webkit-scrollbar-thumb{background:#d8c69c;border-radius:8px}
.va-discover-map .p-kicker{font-size:.7rem;letter-spacing:.3em;text-transform:uppercase;color:var(--clay);font-weight:700}
.va-discover-map .p-title{font-family:'Fraunces','Cormorant Garamond','Times New Roman',serif;font-weight:600;font-size:clamp(1.8rem,3.5vw,2.5rem);line-height:1;margin:.35rem 0 .15rem;letter-spacing:-.01em}
.va-discover-map .p-sub{font-size:.76rem;letter-spacing:.18em;text-transform:uppercase;color:#8a7a5c;font-weight:600}
.va-discover-map .p-desc{font-size:1rem;line-height:1.55;color:#3c3322;margin:0}
/* Editorial place header — a real destination photo with the tag, title and
   region overlaid (replaces the old text-only header that read as AI-generated). */
.va-discover-map .p-hero{position:relative;display:flex;flex-direction:column;justify-content:flex-end;min-height:176px;border-radius:16px;overflow:hidden;background:#cdbb8e 50%/cover no-repeat;margin-bottom:1rem;box-shadow:0 16px 34px -20px rgba(0,0,0,.6)}
.va-discover-map .p-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,12,8,0) 26%,rgba(15,12,8,.55) 66%,rgba(15,12,8,.82) 100%)}
.va-discover-map .p-hero>.tag{position:absolute;top:12px;left:12px;z-index:2;margin:0;box-shadow:0 2px 10px rgba(0,0,0,.28)}
.va-discover-map .p-hero-cap{position:relative;z-index:2;padding:16px 18px 15px}
.va-discover-map .p-hero-cap .p-title{color:#fff;margin:0 0 .12rem;text-shadow:0 1px 16px rgba(0,0,0,.45)}
.va-discover-map .p-sub-light{color:rgba(255,255,255,.88)}
/* Lead paragraph — the destination's one-liner, pulled up as editorial copy
   instead of being buried under a repetitive "About" label. */
.va-discover-map .p-lead{font-size:1.05rem;line-height:1.5;color:#3c3322;margin:.15rem 0 0;font-weight:500}
.va-discover-map .pcol{display:flex;flex-direction:column}
.va-discover-map .psec{margin-top:1.2rem}.va-discover-map .psec:first-of-type{margin-top:1rem}
.va-discover-map .psec h4{font-size:.66rem;letter-spacing:.2em;text-transform:uppercase;color:#a08a5e;font-weight:700;margin-bottom:.55rem}
.va-discover-map .spots{list-style:none;display:flex;flex-direction:column;gap:.5rem;margin:0}
.va-discover-map .spots li{display:flex;align-items:center;gap:.7rem;font-weight:500;font-size:.96rem;color:#2c2719}
.va-discover-map .spots li .pinn{width:22px;height:22px;flex:0 0 22px;border-radius:50%;display:grid;place-items:center;background:var(--clay);color:#fff;font-size:.66rem;font-weight:700}
.va-discover-map .partner{display:flex;gap:.8rem;align-items:center;background:rgba(255,255,255,.62);border:1px solid #e6d8b2;border-radius:14px;padding:12px 14px}
.va-discover-map a.partner{text-decoration:none;color:inherit;position:relative;padding-right:32px;transition:border-color .2s,transform .2s,box-shadow .2s}
.va-discover-map a.partner:hover{border-color:var(--clay);transform:translateX(2px);box-shadow:0 10px 24px -16px rgba(0,0,0,.5)}
.va-discover-map a.partner::after{content:"→";position:absolute;right:13px;top:50%;transform:translateY(-50%);color:#bca875;font-size:.95rem;transition:color .2s,right .2s}
.va-discover-map a.partner:hover::after{color:var(--clay);right:10px}
.va-discover-map .partner .pic{width:38px;height:38px;border-radius:10px;background:var(--clay);color:#fff;display:flex;align-items:center;justify-content:center;flex:0 0 38px}
.va-discover-map .partner .pic svg{display:block}
.va-discover-map .partner .pic.pic-logo{background:#fff;border:1px solid #e6d8b2;padding:4px}
.va-discover-map .partner .pic.pic-logo img{width:100%;height:100%;object-fit:contain;display:block}
.va-discover-map .partner .pbody{display:flex;flex-direction:column;min-width:0}
.va-discover-map .partner .pname{font-weight:700;font-size:.95rem;color:#2c2719;display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}
.va-discover-map .partner .pnote{font-size:.83rem;color:#5f5640;margin-top:2px;line-height:1.4}
.va-discover-map .partner.empty{border-style:dashed;background:transparent}
.va-discover-map .partner.empty .pic{background:#cdbb8e}
.va-discover-map .partner.empty .pname{color:#7a6a45;font-weight:600}
.va-discover-map .badge{font-size:.55rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:2px 6px;border-radius:5px;background:#ece0c0;color:#8a7647}
.va-discover-map .badge.sample{background:#d97a4e;color:#fff}.va-discover-map .badge.feat{background:#1f8f74;color:#fff}
.va-discover-map .evrow{display:flex;justify-content:space-between;gap:.6rem;align-items:center;background:rgba(255,255,255,.5);border:1px solid #e6d8b2;border-radius:12px;padding:10px 12px}
.va-discover-map .evrow .evn{font-weight:600;font-size:.91rem;color:#2c2719;display:flex;align-items:center;gap:.4rem}
.va-discover-map .evrow .evd{font-weight:700;color:var(--clay);font-size:.8rem;white-space:nowrap}
.va-discover-map .tag{display:inline-flex;align-items:center;gap:7px;font-size:.74rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:6px 12px;border-radius:999px;color:#fff;margin-top:2px;width:max-content}
.va-discover-map .tag i{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.85)}
.va-discover-map .cta{margin-top:1.5rem;display:flex;flex-wrap:wrap;gap:.6rem;align-items:center}
.va-discover-map .cta a,.va-discover-map .backbtn{display:inline-flex;align-items:center;gap:.5rem;text-decoration:none;font-weight:600;cursor:pointer;border:0;font-family:'Manrope',-apple-system,'Helvetica Neue',sans-serif;font-size:.92rem;background:var(--ink);color:var(--parch);padding:13px 20px;border-radius:999px;transition:.25s}
.va-discover-map .cta a:hover{background:var(--clay);transform:translateX(3px)}
.va-discover-map .cta .backbtn{background:transparent;color:#7a6a45;border:1px solid #d9c79b;padding:12px 18px}
.va-discover-map .cta .backbtn:hover{background:rgba(0,0,0,.04);color:var(--ink)}
.va-discover-map .chips{margin-top:1.2rem;display:flex;flex-wrap:wrap;gap:.5rem;max-height:230px;overflow:auto}
.va-discover-map .chip{border:1px solid #d9c79b;background:rgba(255,255,255,.5);color:#5b4d31;font-size:.82rem;font-weight:500;padding:7px 13px;border-radius:999px;cursor:pointer;transition:.2s;display:inline-flex;align-items:center;gap:6px}
.va-discover-map .chip i{width:9px;height:9px;border-radius:50%}.va-discover-map .chip:hover{background:var(--clay);color:#fff;border-color:var(--clay)}
.va-discover-map .fade-in{animation:va-dm-fade .5s ease both}@keyframes va-dm-fade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.va-discover-map .foot{margin-top:16px;font-size:.7rem;color:#8a7a5c;opacity:.95;text-align:center;line-height:1.5}
.va-discover-map .foot a{color:#7a6a45;text-decoration:underline}
/* attract loop */
.va-discover-map .region.hint path,.va-discover-map .district.hint path{animation:va-dm-glow 1.6s ease-in-out infinite}
@keyframes va-dm-glow{0%,100%{filter:brightness(1.06)}50%{filter:brightness(1.24) drop-shadow(0 0 9px rgba(217,122,78,.7))}}
.va-discover-map .pin.hint circle.mk{r:8.5}
.va-discover-map .pin.hint circle.bd{animation:va-dm-ring 1.5s ease-out infinite}
.va-discover-map .pin.hint text{opacity:1}
@keyframes va-dm-ring{0%{r:6;opacity:.85}75%{r:18;opacity:0}100%{r:18;opacity:0}}
.va-discover-map .spot{animation:va-dm-fadein .4s ease both;display:flex;flex-direction:column}
@keyframes va-dm-fadein{from{opacity:.55}to{opacity:1}}
.va-discover-map .schint{margin-top:1rem;font-size:.78rem;color:#9a8a64;font-style:italic}
/* Visually-hidden but crawlable list of destination links (SEO + a fallback for
   non-visual users, since the SVG pins aren't anchors). */
.va-dm-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* Respect reduced-motion: kill the looping attract animations + entrance fades.
   (The auto-rotation itself is also disabled in JS for these users.) */
@media (prefers-reduced-motion: reduce){
  .va-discover-map .region.hint path,.va-discover-map .district.hint path,
  .va-discover-map .pin.hint circle.bd,.va-discover-map .spot,
  .va-discover-map .fade-in,.va-discover-map.va-dm-open .panel{animation:none!important}
}
