/* Bulgaria Quest — illustrated travel atlas. Map controls remain outside the artwork. */
:root{--atlas-paper:#f6f0df;--atlas-brass:#a77d3f;--atlas-ink:#234e3d}
aside{background-color:#f8f5e9;background-image:radial-gradient(#a68b4e0c .6px,transparent .6px);background-size:5px 5px}
.intro{border-radius:0 0 20px 20px}.intro h1{font-family:Georgia,Arial,serif}.intro::before,html[dir=ltr] .intro::before{background-image:linear-gradient(180deg,#124b39ed 0%,#124b39c9 60%,#124b3990),url('art/atlas/balkans.webp');background-size:cover;background-position:center;opacity:1}.intro::after{height:7px;background-size:auto 9px}.intro .stats{position:relative}
.discover-district-intro{padding:0!important;border:0!important;background:transparent!important;margin-top:20px!important}.atlas-index-heading{text-align:center;padding:18px 6px 0}.atlas-index-heading .nearby-eyebrow{font-size:10px;letter-spacing:.08em}.atlas-index-heading h2{font:600 26px/1.3 Georgia,Arial,serif;margin:12px 0}.atlas-index-heading p{font-size:13px;line-height:1.8;color:#687158}.atlas-index-rule{display:flex;align-items:center;gap:14px;color:#a27b3d;justify-content:center;margin:20px 15px 0}.atlas-index-rule::before,.atlas-index-rule::after{content:'';height:1px;background:#bcaa7c66;flex:1}
.discover-list.region-grid{gap:14px}.district-discover-card{padding:0!important;overflow:hidden;background:#fffdf5!important;position:relative;display:flex!important;flex-direction:column;text-align:start;border:1px solid #d8cbae!important;border-radius:12px!important;box-shadow:0 4px 12px #244c3110;transition:transform .18s,box-shadow .18s}.district-discover-card:hover{transform:translateY(-3px);box-shadow:0 8px 18px #244c3120}.district-discover-card>img{display:block;width:100%!important;height:128px!important;object-fit:cover;background:#f0ead9;border-bottom:1px solid #e4d9bb;mix-blend-mode:multiply}.atlas-card-caption{padding:14px 13px 17px;display:grid;gap:7px;width:100%;box-sizing:border-box}.atlas-card-caption b{font:600 21px/1.25 Georgia,Arial,sans-serif}.atlas-card-caption small{font-size:11px!important;line-height:1.5;color:#73755a}.atlas-card-caption em{font-style:normal;font-size:11px;color:#876b38;line-height:1.5}.district-card-visited{position:absolute;top:9px;inset-inline-end:9px;background:#fffdf2e8!important;border:1px solid #b1bb92;padding:4px 7px;border-radius:20px;font-size:10px}
.atlas-chapter{border:1px solid #d3c29b;border-radius:15px;background:#fffdf4;overflow:hidden;box-shadow:0 5px 16px #2c4a2d09}.atlas-chapter-art{height:185px;position:relative;background:#ede7d4;overflow:hidden}.atlas-chapter-art>img{width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply}.atlas-chapter-art>span{position:absolute;bottom:12px;inset-inline-start:16px;border:1px solid #c9b683;background:#fffaf0e8;border-radius:5px;padding:6px 9px;color:#5f664b;font-size:10px}.atlas-chapter-copy{padding:19px}.atlas-back{font:11px Arial,sans-serif;background:transparent!important;border:0!important;padding:0!important;color:#73785e!important;min-height:30px;margin-bottom:16px}.atlas-chapter-copy h2{font:600 34px/1.25 Georgia,Arial,serif!important;margin:9px 0!important}.atlas-chapter-line{font-size:16px!important;line-height:1.6;color:#8b6e3b!important;margin:5px 0 20px!important}.atlas-chapter-preview{border-block:1px solid #d9cba965;padding:15px 0 10px}.atlas-chapter-preview>small{display:block;font-size:10px;color:#8b7651;margin-bottom:8px}.atlas-chapter-preview>button{width:100%;display:flex;align-items:center;gap:10px;background:transparent!important;border:0!important;border-radius:0!important;padding:10px 0!important;text-align:start;font:12px/1.5 Arial,sans-serif;color:#2e5641}.atlas-chapter-preview svg{width:20px;height:20px;flex-shrink:0;color:#9d7c40}.atlas-chapter-preview i{font-style:normal;margin-inline-start:auto}.atlas-journal{margin-top:15px;background:#f0eddb!important;border:1px solid #cecfb6!important;padding:10px 12px!important;border-radius:7px;font-size:12px!important}
.discovery-card{border-radius:13px;border:1px solid #d8cfb6;background:#fffdf5;box-shadow:0 3px 12px #33482c07;padding:19px}.discovery-card-hero{grid-template-columns:112px minmax(0,1fr);gap:17px;align-items:center}.discovery-card-hero>img{width:112px;height:112px;object-fit:contain;mix-blend-mode:multiply;background:#f5f0e1;border-radius:50%;border:1px solid #e7ddc5}.discovery-card h3{font-family:Georgia,Arial,serif;font-size:23px!important;line-height:1.3}.discovery-card>p{font-size:13px;line-height:1.8}.discovery-card-links{border-top:1px dashed #cabd9b;padding-top:13px;margin-top:13px}.place-kind{font-size:10px!important;letter-spacing:.02em}.place-detail-hero{background:linear-gradient(140deg,#ede9d6,#faf7ec);border:1px solid #ded2b5;border-radius:15px;padding:24px;gap:24px}.place-detail-hero>img{mix-blend-mode:multiply;object-fit:contain}.place-detail-hero h2{font-family:Georgia,Arial,serif}.place-practical{border-style:dashed!important}
.quest-poi-marker{width:44px!important;height:44px!important;border:2px solid #a78a50!important;background:#fffaf0!important;border-radius:50%!important;box-shadow:0 3px 9px #163b3040!important;position:relative;overflow:visible!important}.quest-poi-marker>img{width:100%;height:100%;object-fit:cover;border-radius:50%;mix-blend-mode:multiply}.quest-poi-marker>span{position:absolute;bottom:-5px;inset-inline-end:-5px;width:20px;height:20px;border:1px solid #fff8e4;border-radius:50%;display:grid;place-items:center;background:#8b713e;color:#fffaf0}.quest-poi-marker.nature>span{background:#456b48}.quest-poi-marker.culture>span{background:#596e7e}.quest-poi-marker>span svg{width:13px!important;height:13px!important}.quest-poi-marker.place-visited::after{content:'✓';position:absolute;top:-5px;inset-inline-start:-5px;width:18px;height:18px;font-size:12px;display:grid;place-items:center;border:1px solid white;border-radius:50%;background:#195b40;color:white}.quest-poi-marker::before{display:none!important}.quest-poi-marker.coin-context{width:33px!important;height:33px!important;opacity:.95}.quest-poi-marker.coin-context>span{width:16px;height:16px}
.passport-cover{isolation:isolate;overflow:hidden}.passport-cover::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(#174c3bef,#174c3bd9),url('art/atlas/mountains.webp') center/cover;opacity:.9}.passport-stamp-card{background:linear-gradient(135deg,#fffdf4,#f0ead7)!important;border-color:#d7c7a1!important}.passport-stamp-card.visited{background:linear-gradient(135deg,#edf2df,#faf7e8)!important}.passport-journal-summary{border:1px solid #d3c59d}.trip-entry{gap:9px}.trip-entry button{background:#fffdf5;border-color:#d8cdae}.trip-day-card,.trip-result-card{border-color:#d5c9ab!important;background:#fffdf4!important}
button:focus-visible,a:focus-visible{outline:3px solid #a37b31;outline-offset:3px}
@media(max-width:800px){.district-discover-card>img{height:112px!important}.atlas-card-caption b{font-size:19px}.atlas-card-caption{padding:12px 11px 14px}.atlas-chapter-art{height:180px}.atlas-chapter-copy h2{font-size:29px!important}.atlas-chapter-copy{padding:17px}.discovery-card{padding:15px}.discovery-card-hero{grid-template-columns:90px minmax(0,1fr);gap:12px}.discovery-card-hero>img{width:90px;height:90px}.discovery-card h3{font-size:21px!important}.place-detail-hero{padding:18px;gap:16px}.place-detail-hero>img{width:110px;height:110px}.atlas-index-heading h2{font-size:25px}.map-section{border-bottom:1px solid #d3c59d}}
@media(prefers-reduced-motion:reduce){.district-discover-card{transition:none}.district-discover-card:hover{transform:none}}
/* Keep intrinsic bitmap dimensions out of Leaflet's auto-sized grid tracks. */
.leaflet-container .quest-poi-marker{display:block!important;box-sizing:border-box}.leaflet-container .quest-poi-marker>img{position:absolute;inset:0;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important}

/* Historical figures belong to the whole atlas, with a compact scrollable portrait gallery. */
.people-gallery{padding:20px 0;margin-top:12px}.people-heading h2{font:600 19px/1.4 Georgia,Arial,sans-serif}.people-heading p{font-size:11px;line-height:1.6}.person-tile{flex-basis:96px;padding-top:5px}.person-tile img{width:86px;height:102px}.person-tile span{min-height:28px;display:grid;place-items:center;line-height:1.4}.person-story{display:grid;grid-template-columns:95px minmax(0,1fr);gap:12px}.person-story>div{min-width:0}.person-story h3{line-height:1.4}.person-trail{border-top:1px dashed #cabc97;padding-top:12px;margin-top:12px}.person-trail>b{display:block;font-size:12px;line-height:1.5;margin:6px 0}.person-trail>button{white-space:normal;line-height:1.5;min-height:40px}.person-nav{display:flex;flex-wrap:wrap;gap:6px 12px;margin:8px 0}.person-nav a{font-size:10px;line-height:1.6;color:#36634e;text-underline-offset:3px}.person-portrait{height:145px}.people-note{line-height:1.6}
@media(max-width:800px){.person-story{grid-template-columns:75px minmax(0,1fr)}.person-portrait{width:75px;height:105px}.person-tile{flex-basis:88px}.person-tile img{width:78px;height:94px}}
