/* Vintage Greece v34: Hybrid Atlas + Archive + Cartography.
   Design layer over v33. Scope shell changes to .vg-hybrid to preserve admin/upload dialogs. */
:root{--vg-ink:#132735;--vg-navy:#142437;--vg-deep:#0c1725;--vg-cream:#f7f4ed;--vg-paper:#ede9df;--vg-gold:#c3a875;--vg-slate:#5d6b70;--vg-white:#fff;--vg-ring:#a5bdee;--vg-radius:18px;--vg-shadow:0 24px 60px rgba(7,22,38,.22);--header-h:74px;--drawer-w:320px}
.vg-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.vg-hybrid{background:var(--vg-deep);color:#f6f4ee;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.vg-hybrid button,.vg-record-body button{cursor:pointer}
.vg-hybrid :is(a,button,input,select):focus-visible,.vg-record-body :is(a,button):focus-visible{outline:3px solid var(--vg-ring)!important;outline-offset:3px!important}
.vg-hybrid .app-header{height:var(--header-h);background:#122235;border-bottom:1px solid rgba(221,205,175,.19);padding-inline:22px;gap:24px;box-shadow:0 8px 24px rgba(6,12,24,.24)}
.vg-hybrid .brand{display:flex;align-items:center;gap:12px;white-space:nowrap;flex:0 0 auto;color:#f7f5ee;text-decoration:none;letter-spacing:-.035em;font-family:Georgia,"Times New Roman",serif;font-weight:600;font-size:24px}
.vg-brand-mark{height:40px;width:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #bca174;border-radius:12px;color:#d7bb88;background:#203649;font-family:Georgia,serif;letter-spacing:-.14em;padding-right:3px;font-size:20px}
.vg-brand-words em{color:#cdb385;font-weight:400}
.vg-hybrid .vg-primary-nav{display:flex;align-items:center;gap:4px;flex:0 0 auto}
.vg-primary-nav a{display:inline-flex;align-items:center;min-height:42px;padding:0 14px;color:#bac7ce!important;font-size:13px;font-weight:650;text-decoration:none;border-radius:12px;white-space:nowrap;transition:background .15s,color .15s}
.vg-primary-nav a:hover,.vg-primary-nav .vg-nav-active{background:#293e50;color:#fff!important}
.vg-primary-nav .vg-nav-active{box-shadow:inset 0 -2px #d0b485}
.vg-hybrid .header-search{max-width:380px;min-width:140px;margin-left:auto}
.vg-hybrid .header-actions{gap:7px}
.vg-hybrid .header-actions .lang-chip{opacity:.82;filter:saturate(.68)}
.vg-hybrid .header-actions .lang-chip:hover{opacity:1;filter:none}
.vg-hybrid .primary-button,.vg-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#d7b98b!important;color:#162434!important;font-weight:750;text-decoration:none;padding:11px 18px;border-radius:11px;border:1px solid #e4cba4;min-height:43px;box-shadow:0 3px 14px rgba(0,0,0,.1);font-family:inherit;font-size:13px}
.vg-hybrid .primary-button:hover,.vg-primary:hover{background:#ecd2a9!important}
.vg-hybrid .header-counter{display:none}
.vg-hybrid .left-column{padding:20px!important;background:#14263a!important;box-shadow:10px 0 28px rgba(3,10,22,.15);gap:6px;border-right:1px solid rgba(241,223,191,.14);z-index:1200!important}
.vg-sidebar-title{padding:10px 7px 13px;border-bottom:1px solid rgba(231,214,184,.17);margin-bottom:10px}
.vg-eyebrow{display:inline-block;font-weight:750;letter-spacing:.19em;font-size:10px!important;color:#c9ae7e;text-transform:uppercase}
.vg-sidebar-title h2{font:normal 27px/1.16 Georgia,"Times New Roman",serif;letter-spacing:-.02em;margin:8px 0 8px;color:#f5f2eb}
.vg-sidebar-title p{font-size:12px;line-height:1.55;color:#9eb2be;margin:0}
.vg-hybrid .navigation_markers_label,.vg-hybrid .navigation_maps_label{font-size:12px!important;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:#d5c5a9;padding-inline:8px}
.vg-hybrid #legend,.vg-hybrid #slider,.vg-hybrid .map_selector,.vg-hybrid #map_opacity{background:rgba(239,247,252,.035)!important;border:1px solid rgba(255,255,255,.09)!important;border-radius:13px!important;padding:9px!important}
.vg-hybrid #legend .legend{border:1px solid transparent!important;background:transparent!important;border-radius:10px!important;min-height:38px!important;margin:2px 0!important;padding:7px 8px!important;transition:background .15s}
.vg-hybrid #legend .legend:hover{background:rgba(227,212,185,.1)!important;border-color:rgba(227,212,185,.1)!important}
.vg-hybrid #legend .legend_text{font-size:13px!important;font-weight:600!important;color:#e7edf1!important}
.vg-hybrid #legend .legend_image img{width:22px;height:auto}
.vg-hybrid #legend input{accent-color:#d2b481}
.vg-hybrid #navigation_maps{border-top:1px solid rgba(239,226,206,.13);margin-top:14px;padding-top:9px}
.vg-hybrid #map{top:var(--header-h)!important;background:#e4e9e8}
.vg-hybrid .left-column.left-column-open + #map{left:var(--drawer-w)}
.vg-hybrid #visibleImages{box-shadow:-8px 0 32px rgba(0,0,0,.19)}
.vg-drawer-close{display:none}
.vg-global-caption{color:#d5c6a6}
#vg-global-status{position:fixed;top:calc(var(--header-h) + 16px);left:calc(var(--drawer-w) + 18px);z-index:4000;pointer-events:none;color:#fff;background:#b83d45;padding:0 12px;border-radius:8px}
#vg-global-status:empty{display:none}
.vg-mobile-nav{display:none}
/* Map mode: keep legacy filters and thumbnails operational */
.vg-mode-map #vg-gallery,.vg-mode-map #vg-map-info,.vg-mode-map #vg-map-catalog{display:none!important}
/* Gallery mode: editorial archival reading surface */
.vg-gallery-page{position:fixed;z-index:60;top:var(--header-h);bottom:0;left:0;right:0;overflow-y:auto;overscroll-behavior:contain;background:var(--vg-cream);color:var(--vg-ink);padding:0 36px 80px}
.vg-mode-map #vg-gallery,.vg-mode-maps #vg-gallery{display:none!important}
.vg-mode-gallery #vg-map-info,.vg-mode-gallery #vg-map-catalog{display:none!important}
.vg-mode-gallery:has(.left-column-open) .vg-gallery-page{left:var(--drawer-w)}
.vg-mode-gallery #visibleImages,.vg-mode-gallery #visibleSpan{display:none!important}
.vg-gallery-intro{max-width:1400px;margin:24px auto 0;min-height:225px;border-radius:22px;overflow:hidden;display:flex;align-items:center;background:#193143;color:#fff;position:relative;box-shadow:0 14px 40px rgba(14,35,52,.12)}
.vg-gallery-intro>div:first-child{padding:34px 40px;max-width:740px;position:relative;z-index:2}
.vg-gallery-intro h1{font:normal clamp(32px,4vw,51px)/1.03 Georgia,serif;letter-spacing:-.04em;color:#faf7ee;margin:12px 0 13px}
.vg-gallery-intro p{max-width:630px;color:#c5d0d1;font-size:14px;line-height:1.6;margin:0}
.vg-gallery-intro-art{position:absolute!important;right:0;top:0;bottom:0;width:42%;background-image:linear-gradient(90deg,#193143 1%,rgba(25,49,67,.12) 70%),url('../overlays/previews/Athens_1890.webp');background-size:cover;background-position:center;filter:sepia(.22)}
.vg-gallery-tools{max-width:1400px;display:flex;align-items:center;gap:12px;margin:23px auto 0;position:sticky;top:0;z-index:2;padding:14px 0;background:var(--vg-cream)}
.vg-gallery-tools input,.vg-gallery-tools select{background:#fff!important;border:1px solid #d1d7d3!important;border-radius:11px!important;padding:12px 13px!important;font:inherit;color:#243b4a!important;min-height:45px}
.vg-gallery-search{flex:1 1 auto}.vg-gallery-search input{width:100%}
.vg-outline{background:transparent;border:1px solid #b6c1c5;border-radius:11px;color:#183248;padding:11px 17px;min-height:44px;font-weight:700;font-size:13px;white-space:nowrap;cursor:pointer}
.vg-outline:hover{background:#e8e8e1}
.vg-sort-label{display:flex;align-items:center;gap:8px;color:#5e6e71;font-size:12px;font-weight:650}
.vg-gallery-results{max-width:1400px;margin:7px auto 17px;display:flex;align-items:center;justify-content:space-between;gap:12px}
#vg-gallery-count{font-size:13px;color:#5d706e;margin:0}
#vg-location-scope{background:#e9eee9;border:1px solid #d0dfd0;border-radius:10px;padding:8px 12px;font-size:12px;color:#254b44}
#vg-location-scope button{background:transparent;border:0;margin-left:6px;font-weight:750;color:#23594d;text-decoration:underline}
.vg-gallery-grid{max-width:1400px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:19px;min-height:80px}
.vg-gallery-card{background:#fff;border:1px solid #e7e6df;border-radius:16px;overflow:hidden;box-shadow:0 5px 15px rgba(26,41,45,.045);min-width:0;transition:transform .2s,box-shadow .2s}
.vg-gallery-card:hover{transform:translateY(-4px);box-shadow:0 14px 35px rgba(26,41,45,.14)}
.vg-gallery-card-link{text-decoration:none;display:block;color:inherit}
.vg-gallery-card-art{width:100%;aspect-ratio:4/3;background:linear-gradient(135deg,#d6ccc0,#708a85);overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center}
.vg-gallery-card-art img{width:100%;height:100%;object-fit:cover;filter:sepia(.11) saturate(.77);transition:transform .3s}
.vg-gallery-card:hover img{transform:scale(1.055)}
.vg-gallery-tag{position:absolute;bottom:11px;left:11px;background:rgba(12,30,43,.84);backdrop-filter:blur(4px);border:1px solid rgba(255,255,255,.12);color:#e3d7bf;padding:6px 8px;border-radius:7px;font-size:9px;letter-spacing:.09em;font-weight:800}
.vg-video-mark{font-size:52px;color:#fff;text-shadow:0 4px 20px rgba(0,0,0,.28)}
.vg-gallery-card-content{padding:17px 17px 18px;display:flex;flex-direction:column;gap:7px;min-height:170px}
.vg-gallery-year{font-size:11px;color:#9a7848;font-weight:800;letter-spacing:.07em}
.vg-gallery-card h3{font:normal 20px/1.17 Georgia,serif;margin:0;color:#213846;letter-spacing:-.01em;min-height:45px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.vg-gallery-source{margin:0;color:#6f7b7c;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vg-gallery-cta{margin-top:auto;font-size:11px;text-transform:uppercase;font-weight:800;letter-spacing:.05em;color:#536b6b}
.vg-gallery-pagination{display:flex;justify-content:center;margin:27px 0}
.vg-gallery-loading:empty:before{content:' ';display:block;min-height:180px;border-radius:14px;background:linear-gradient(110deg,#e8e8e1 8%,#f6f5ef 18%,#e8e8e1 33%);background-size:260% 100%;animation:vg-shimmer 1.4s linear infinite}
@keyframes vg-shimmer{to{background-position-x:-250%}}
/* Map collection explorer */
.vg-mode-maps #vg-gallery{display:none!important}
.vg-mode-maps .navigation_markers_label,.vg-mode-maps #navigation_markers,.vg-mode-maps #navigation_maps,.vg-mode-maps #totalPhotos,.vg-mode-maps #upload_popup,.vg-mode-maps .vg-social-footer{display:none!important}
.vg-mode-maps .vg-sidebar-title h2{font-size:23px}
.vg-map-catalog{padding:4px 6px 18px;flex-shrink:0}
.vg-map-catalog h2{font:normal 24px/1.1 Georgia,serif;margin:9px 0;color:#f9f2e7}
.vg-map-catalog p{font-size:12px;color:#9daeb8;line-height:1.55;margin:6px 0 18px}
.vg-map-catalog-items{display:flex;flex-direction:column;gap:9px}
.vg-map-choice{display:flex;align-items:center;gap:12px;width:100%;padding:7px;text-align:left;border:1px solid rgba(250,244,228,.12);background:rgba(255,255,255,.035);color:#e8e9e6;border-radius:12px;min-height:74px}
.vg-map-choice img{width:78px;height:58px;object-fit:cover;border-radius:7px;flex-shrink:0;filter:saturate(.6) sepia(.23)}
.vg-map-choice strong{display:block;font-size:13px}.vg-map-choice small{font-size:10px;color:#9fb2b8;margin-top:5px;display:block}
.vg-map-choice:hover,.vg-map-choice-active{background:#284357;border-color:#cfaf78}
.vg-mode-map #vg-map-info,.vg-mode-gallery #vg-map-info{display:none!important}
.vg-map-info{position:fixed;z-index:550;top:calc(var(--header-h) + 26px);right:20px;max-width:310px;padding:22px;background:rgba(16,32,45,.96);border:1px solid rgba(227,205,169,.26);box-shadow:var(--vg-shadow);color:#ede9dc;border-radius:18px;backdrop-filter:blur(12px)}
.vg-map-info h2{font:normal 28px/1.07 Georgia,serif;margin:13px 0 10px}.vg-map-info p{font-size:12px;line-height:1.65;color:#acb9bb}
#vg-map-meta{font-size:12px;line-height:1.5;color:#c8b68e;border-top:1px solid rgba(225,214,186,.18);padding-top:12px;margin:18px 0}
.vg-map-info .vg-outline{display:block;width:100%;color:#ebdfc7;border-color:#72808a;margin-top:8px;font-size:12px;white-space:normal}
.vg-map-info .vg-outline:hover{background:#294559}
#vg-map-picker{display:none!important}
.vg-dialog-record-link{display:inline-flex;color:#3a5670!important;font-weight:700;padding:10px 18px;text-decoration:underline}
/* Nonmap records */
.vg-record-body,.vg-login-body,.vg-admin-body{background:#f4f1ea;color:#163041;font:16px/1.55 Inter,ui-sans-serif,system-ui,"Segoe UI",sans-serif;margin:0}
.vg-record-header{height:76px;display:flex;align-items:center;gap:30px;padding:0 5vw;background:#132637;color:#fff}
.vg-record-header .vg-brand-link{color:#fff;text-decoration:none;display:flex;align-items:center;gap:10px;font:24px Georgia,serif;white-space:nowrap}
.vg-record-header .vg-brand-link em{color:#d0b385}.vg-record-header nav{display:flex;gap:20px;margin-left:auto}.vg-record-header nav a{color:#e3e9ed;text-decoration:none;font-size:13px;font-weight:700}
.vg-record-wrap{max-width:1450px;padding:36px 5vw 80px;margin:auto}
.vg-back{color:#456474;text-decoration:none;font-size:13px;font-weight:750}
.vg-record-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(315px,.7fr);gap:28px;margin-top:22px}
.vg-record-media{background:#16293a;border-radius:20px;overflow:hidden;display:flex;flex-direction:column;justify-content:center;min-height:450px}
.vg-record-media img{max-width:100%;max-height:76vh;object-fit:contain;align-self:center}
.vg-record-media iframe{width:100%;aspect-ratio:16/9;border:0}.vg-stereo-tip{color:#fff;text-align:center;font-size:13px}
.vg-record-meta{border-radius:20px;background:#fff;padding:clamp(22px,3vw,42px);box-shadow:0 12px 40px rgba(32,44,47,.06)}
.vg-record-meta h1{font:normal clamp(29px,3.5vw,43px)/1.11 Georgia,serif;letter-spacing:-.035em;margin:13px 0 18px}
.vg-record-translation{color:#687978;font-style:italic}
.vg-record-meta dl{margin:25px 0;display:grid;gap:8px}.vg-record-meta dt{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.09em;color:#788684;margin-top:10px}.vg-record-meta dd{margin:0;border-bottom:1px solid #ebece6;padding-bottom:10px;color:#203849}
.vg-record-actions{display:flex;flex-wrap:wrap;gap:8px}.vg-record-disclaimer{font-size:12px;color:#758584;margin-top:24px}.vg-record-unavailable{color:#fff;text-align:center}
/* Admin / credentials */
.vg-login-body{min-height:100vh;display:grid;place-items:center;background:#132738}.vg-login-card{width:min(440px,calc(100% - 30px));background:#fff;border-radius:20px;padding:38px;box-shadow:var(--vg-shadow)}
.vg-login-card h1{font:normal 35px Georgia,serif;margin:9px 0 22px}.vg-login-card form{display:grid;gap:16px}.vg-login-card label{display:grid;gap:5px;font-size:12px;font-weight:800}.vg-login-card input{padding:12px;border:1px solid #bac5c6;border-radius:9px;font:inherit}.vg-login-card a{display:block;font-size:13px;margin-top:24px}
.vg-admin-header{display:flex;align-items:center;justify-content:space-between;background:#132738;color:#fff;padding:18px 5vw}.vg-admin-header h1{margin:0;font:normal 28px Georgia,serif}.vg-admin-header a{color:#d4b785}
.vg-admin-main{padding:26px 5vw 60px;max-width:1600px;margin:auto}.vg-admin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:15px}
.vg-admin-card{background:#fff;border:1px solid #dfe4e0;border-radius:13px;padding:16px;display:flex;gap:14px;overflow-wrap:anywhere}.vg-admin-card img{width:90px;height:90px;object-fit:contain;background:#f0f0ec}.vg-admin-card p{font-size:12px;color:#596e75}
.vg-admin-card form{display:flex;gap:8px;flex-wrap:wrap}.vg-danger{background:#9f3440;color:#fff;border:0;border-radius:9px;padding:10px 14px;font-weight:700}.vg-admin-notice{padding:12px 18px;border-radius:10px;background:#ddede0}
@media(max-width:1250px){.vg-hybrid .app-header{gap:12px;padding-inline:12px}.vg-primary-nav a{padding:0 9px;font-size:12px}.vg-hybrid .brand{font-size:20px}.vg-hybrid .header-search{max-width:265px}.vg-hybrid .header-actions{gap:4px}.vg-hybrid .header-actions .icon-button{display:none}}
@media(max-width:1080px){.vg-hybrid .header-search{display:none}.vg-hybrid .vg-primary-nav{margin-left:auto}.vg-hybrid .header-actions{flex:0 0 auto}}
@media(max-width:900px){:root{--header-h:62px;--drawer-w:min(340px,calc(100vw - 34px))}
.vg-hybrid .app-header{height:calc(var(--header-h) + env(safe-area-inset-top));padding-inline:12px}
.vg-hybrid .brand{font-size:20px}.vg-brand-mark{height:35px;width:35px;font-size:17px}
.vg-hybrid .vg-primary-nav,.vg-hybrid .header-search,.vg-hybrid .vg-contribute-link,.vg-hybrid .header-actions .icon-button{display:none!important}
.vg-hybrid .header-actions{margin-left:auto}
.vg-hybrid .left-column{top:calc(var(--header-h) + env(safe-area-inset-top))!important;padding:15px!important;bottom:calc(60px + env(safe-area-inset-bottom))!important}
.vg-hybrid #map{left:0!important;top:calc(var(--header-h) + env(safe-area-inset-top))!important;bottom:calc(60px + env(safe-area-inset-bottom))!important}
.vg-mobile-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;z-index:5800;bottom:0;left:0;right:0;min-height:calc(60px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#132536;border-top:1px solid rgba(217,196,158,.22);box-shadow:0 -4px 20px rgba(0,0,0,.15)}
.vg-mobile-nav a{color:#becbd1!important;text-decoration:none;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;min-height:60px;border-top:3px solid transparent}
.vg-mobile-nav a.vg-nav-active{color:#f6d5a4!important;border-color:#cbae79;background:rgba(255,255,255,.06)}
.vg-drawer-close{display:block;align-self:flex-end;background:rgba(255,255,255,.08);color:#fff;font-size:24px;border:1px solid rgba(255,255,255,.15);border-radius:9px;width:34px;height:34px;margin-left:auto}
.vg-gallery-page{top:calc(var(--header-h) + env(safe-area-inset-top));bottom:calc(60px + env(safe-area-inset-bottom));padding:0 16px 50px}
.vg-mode-gallery:has(.left-column-open) .vg-gallery-page{left:0}
.vg-gallery-intro{min-height:190px;margin-top:14px;border-radius:16px}.vg-gallery-intro>div:first-child{padding:24px}.vg-gallery-intro h1{font-size:35px}.vg-gallery-intro-art{width:45%;opacity:.48}
.vg-gallery-tools{margin-top:12px;flex-wrap:wrap}.vg-gallery-search{flex:1 1 100%;order:0}.vg-gallery-tools .vg-outline{order:1}.vg-sort-label{order:2;margin-left:auto}
.vg-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.vg-gallery-card-content{padding:12px;min-height:155px}.vg-gallery-card h3{font-size:17px;min-height:39px}.vg-gallery-tag{font-size:8px;padding:4px 5px}.vg-gallery-card-art{aspect-ratio:1/1}
.vg-mode-maps .vg-map-info{left:12px;right:12px;bottom:calc(72px + env(safe-area-inset-bottom));top:auto;max-width:none;padding:16px;border-radius:17px}
.vg-map-info h2{font-size:22px;margin:7px 0}.vg-map-info p{font-size:11px;margin:5px 0}
.vg-map-info #vg-map-meta{display:none}.vg-map-info .vg-outline{font-size:11px;display:inline-flex;width:auto;margin:4px 5px 0 0;padding:9px 10px}
#vg-map-picker{display:inline-flex!important}
.vg-record-layout{grid-template-columns:1fr}.vg-record-media{min-height:280px}.vg-record-header{padding:0 17px;height:68px}.vg-record-header nav{gap:10px}.vg-record-header nav a{font-size:11px}.vg-record-wrap{padding:22px 16px 70px}
}
@media(max-width:430px){.vg-gallery-intro h1{font-size:29px}.vg-gallery-intro p{font-size:12px}.vg-gallery-intro-art{opacity:.23}.vg-gallery-tools select{max-width:165px}.vg-gallery-grid{gap:8px}.vg-gallery-card h3{font-size:15px}.vg-gallery-source{font-size:11px}.vg-record-header nav a:nth-child(3){display:none}.vg-login-card{padding:24px}}
@media(max-height:520px) and (max-width:900px){.vg-mode-maps .vg-map-info{padding:10px;max-width:300px;left:auto}.vg-map-info p{display:none}}
@media(prefers-reduced-motion:reduce){.vg-gallery-card,.vg-gallery-card-art img,.vg-hybrid #legend .legend{transition:none!important}.vg-gallery-loading:empty:before{animation:none}}
.vg-map-opacity{display:grid;gap:9px;margin-top:13px}.vg-map-opacity label{display:flex;justify-content:space-between;font-size:12px;font-weight:750;color:#e4d1ae}.vg-map-opacity input{width:100%;accent-color:#d9bb8d}
.vg-mode-gallery #navigation_maps{display:none!important}

/* v34.5: keep the historical-map information card clear of the photo rail.
   The rail occupies the rightmost 262px and the catalogue occupies the drawer. */
@media(min-width:901px){
  .vg-mode-maps .vg-map-info{
    left:calc(var(--drawer-w) + 18px)!important;
    right:calc(262px + 26px)!important;
    top:calc(var(--header-h) + 20px)!important;
    bottom:auto!important;
    width:auto!important;
    max-width:330px!important;
    padding:20px!important;
    border-radius:16px!important;
    box-shadow:0 16px 50px rgba(6,20,31,.32)!important;
  }
  .vg-mode-maps .vg-map-info h2{font-size:clamp(21px,2vw,27px)!important}
}
@media(min-width:901px) and (max-width:1050px){
  .vg-mode-maps .vg-map-info{padding:15px!important}
  .vg-mode-maps .vg-map-info h2{font-size:20px!important}
  .vg-mode-maps .vg-map-info p{font-size:11px!important}
}
/* The map information dock and the photograph bottom-sheet cannot coexist
   on short tablet viewports; keep the historical-map controls unobstructed. */
@media(min-width:768px) and (max-width:900px){
  .vg-mode-maps #visibleImages,.vg-mode-maps #visibleSpan{display:none!important}
}
