:root{color-scheme:light;--paper:#f6f1e9;--ink:#2b2923;--muted:#5c564b;--accent:#824225;--panel:#e9dfce;--line:#d3c5b2;--white:#fffdf8;--deep:#38271e;--measure:74rem;font:100%/1.6 system-ui,sans-serif}
body.nafpaktos{--paper:#eff6f5;--ink:#102c33;--muted:#38565e;--accent:#15616d;--panel:#dfedec;--line:#b8d1d3;--white:#fbfefd;--deep:#102e38}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink)}
a{color:var(--accent);text-underline-offset:.2em}
button{font:inherit;color:inherit;cursor:pointer}
button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:3px solid #aa6a22;outline-offset:4px}
img{display:block;max-width:100%;height:auto}
h1,h2,h3{line-height:1.13;color:var(--ink);font-family:Georgia,serif;overflow-wrap:anywhere}
h1{font-size:clamp(2.45rem,6vw,5.6rem);margin:.18em 0 .28em;letter-spacing:-.042em}
h2{font-size:clamp(1.9rem,4.4vw,3.4rem);margin:.2em 0 .5em}
h3{font-size:1.53rem;margin:.25em 0 .5em}
p{margin:.5rem 0 1rem}
figure{margin:0;min-width:0}
figcaption,.small{font-size:.875rem;color:var(--muted)}
figcaption{margin-top:.5rem}
.shell{max-width:var(--measure);margin-inline:auto;width:calc(100% - 2.5rem)}
.skip{position:fixed;top:.4rem;left:.4rem;transform:translateY(-170%);z-index:9999;background:var(--white);padding:.6rem}
.skip:focus{transform:none}
header{border-bottom:1px solid var(--line);background:var(--white)}
.bar{display:flex;align-items:center;justify-content:space-between;gap:.3rem 1.4rem;flex-wrap:wrap;min-height:4.7rem;padding:.55rem 0}
.brand{color:var(--ink);text-decoration:none;font:700 1.55rem Georgia,serif;display:inline-flex;align-items:center;gap:.65rem;min-height:44px}
.mark{display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:var(--deep);color:#fff;font:700 1rem Georgia,serif}
nav{display:flex;gap:.3rem 1rem;flex-wrap:wrap}
nav a{padding:.62rem .15rem;color:var(--ink);text-decoration:none;font-weight:650;font-size:.92rem}
nav a:hover,nav a[aria-current]{text-decoration:underline}
.hero{display:grid;grid-template-columns:1.12fr .88fr;gap:clamp(1.5rem,5vw,5rem);align-items:center;padding-block:clamp(2rem,6vw,5.4rem)}
.hero figure{align-self:center}
.hero img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:2px;border:1px solid var(--line)}
.eyebrow{font-size:.85rem;font-weight:750;letter-spacing:.09em;color:var(--accent);margin:0}
.lead{max-width:49ch;font-size:clamp(1.08rem,2vw,1.25rem);color:var(--muted)}
.actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.2rem}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.5rem 1rem;border:1px solid var(--accent);color:var(--accent);background:var(--white);font-weight:700;text-decoration:none;border-radius:.25rem}
.button.primary,button[aria-pressed=true]{background:var(--accent);color:#fff}
.button:hover{box-shadow:inset 0 0 0 1px currentColor}
.nafpaktos .hero{display:block;position:relative;padding-top:2.5rem}
.nafpaktos .hero figure{margin:1.7rem 0 0}
.nafpaktos .hero img{aspect-ratio: 2.8;object-position:center 52%;border-radius:1rem}
.nafpaktos .hero h1{max-width:19ch}
.nafpaktos .hero .lead{max-width:65ch}
.band{background:var(--panel);border-block:1px solid var(--line);padding:2.5rem 0}
.section{padding-block:clamp(2rem,5vw,4rem)}
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.card{background:var(--white);border:1px solid var(--line);border-top:3px solid var(--accent);padding:1.22rem;min-width:0}
.nafpaktos .card{border-radius:.8rem;border-top-width:1px}
.card a{font-weight:700}
.card h3 a{color:var(--ink)}
.card p:last-child{margin-bottom:0}
.map-grid{display:grid;grid-template-columns:1.7fr 1fr;gap:1.2rem;align-items:start}
.mapstage{position:relative;border:1px solid var(--line);background:var(--white);height:clamp(20rem,40vw,28rem)}
.mapstage img{width:100%;height:100%;object-fit:contain}
.live-map{width:100%;height:100%}
.live-map[hidden]{display:none}
.leaflet-marker-icon.pin{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;border:2px solid #fff;color:#fff;background:var(--accent);font:700 1rem system-ui;box-shadow:0 1px 6px #0008}
.map-controls{margin-top:.8rem;display:flex;gap:.6rem;flex-wrap:wrap}
.map-list{padding:0;list-style:none;counter-reset:places;margin:0}
.map-list li{counter-increment:places;border-bottom:1px solid var(--line)}
.map-list a{display:flex;min-height:47px;align-items:center;gap:.65rem;font-weight:700}
.map-list a::before{content:counter(places);display:grid;place-items:center;background:var(--accent);color:#fff;border-radius:50%;width:1.5rem;height:1.5rem;flex:none}
.article{max-width:65ch;padding-bottom:3rem}
.article h1{font-size:clamp(2.35rem,5.5vw,4.15rem)}
.article section{padding-block:1.25rem;border-top:1px solid var(--line)}
.article section h2{font-size:clamp(1.55rem,3vw,2.18rem)}
.article aside{margin:1rem 0}
.article dt{font-weight:750}
.article dd{margin:0 0 1.2rem}
.trace{font-size:.89rem;color:var(--muted);overflow-wrap:anywhere}
.listing-links{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.3rem 0}
[hidden]{display:none!important}
footer{border-top:1px solid var(--line);padding:1.55rem 0;color:var(--muted)}
footer .shell{display:flex;flex-wrap:wrap;gap:1rem 1.35rem;align-items:center}
footer p{margin:0}
@media(max-width:780px){
  .hero,.map-grid{grid-template-columns:1fr}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero img{aspect-ratio: 3/2}
  .nafpaktos .hero img{aspect-ratio: 1.5}
}
@media(max-width:490px){
  .shell{width:calc(100% - 1.6rem)}
  .cards{grid-template-columns:1fr}
  .bar{gap:0}
  nav{gap:0 .75rem}
  nav a{font-size:.85rem}
}
.pending{padding:.8rem 1rem;border-left:3px solid var(--accent);background:var(--panel);color:var(--ink)}
.coast-section{background:var(--deep);color:#e4f3f3;padding:2.1rem 0}
.coast-section h2,.coast-section h3 a{color:#f4ffff}
.coast-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0;gap:1.1rem;list-style:none;margin:0}
.coast-options li{padding-top:.85rem;border-top:1px solid #659a9f}
.coast-options p{margin:0}
@media(max-width:680px){.coast-options{grid-template-columns:1fr}}
.roads details{margin:0 0 .7rem;padding:1rem;border:1px solid var(--line);background:var(--white)}
.roads summary{cursor:pointer;overflow-wrap:anywhere}
.roads summary span{display:inline-block;margin-left:.7rem;color:var(--accent)}
.roads figure{margin:.8rem 0}
.roads figure img{width:100%;height:auto}

.itinerary{grid-template-columns:repeat(auto-fit,minmax(min(100%, 19rem),1fr))}
