/* Pazin Castle · Destination Atlas 2.0 · Geographic map, editorial UI */
.atlas-section {padding-top:110px; padding-bottom:116px; background:#f2f0e7; border-top:1px solid #e0ddd0; border-bottom:1px solid #e0ddd0;}
.atlas-section .map-head {margin-bottom:42px;}
.atlas-section .map-head .section-heading {max-width:940px;}
.atlas-section .map-sub {max-width:550px; font-size:15px; line-height:1.8; margin:24px 0 0;}
.atlas-toolbar {display:flex; gap:18px; flex-wrap:wrap; align-items:center; justify-content:space-between; padding:0 0 22px;}
.atlas-toolbar .map-toolbar {margin:0;}
.atlas-toolbar .atlas-scope {gap:5px;}
.atlas-toolbar .pill {font:700 10px/1.15 var(--sans);text-transform:uppercase;letter-spacing:.12em;padding:13px 17px;min-height:42px;border-color:#c8c7bb;color:#4b5c50;background:transparent;}
.atlas-toolbar .pill.active {background:var(--forest);border-color:var(--forest);color:#fff;}
.atlas-toolbar .pill:hover:not(.active){border-color:var(--forest);background:#e7e8dc;color:var(--forest);}
.atlas-toolbar .atlas-filters {gap:5px;}
.atlas-shell {display:grid;grid-template-columns:minmax(0,1.72fr) minmax(360px,.87fr);background:#f9f8f1;border:1px solid #d5d6ca;box-shadow:0 22px 70px rgba(36,51,40,.045);}
.atlas-map-column {display:flex;flex-direction:column;min-width:0;background:#e4e8dd;}
.atlas-map-topline {height:49px;background:#f8f7f0;padding:0 22px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:9px;letter-spacing:.19em;text-transform:uppercase;font-weight:700;color:#4c6556;border-bottom:1px solid #dce1d6;white-space:nowrap;}
.atlas-decorative-star{color:#b49e7c;font-size:20px;line-height:1;}
.geo-map {height:645px;min-height:520px;position:relative;overflow:hidden;isolation:isolate;touch-action:pan-y;user-select:none;cursor:grab;background:linear-gradient(135deg,#d5dfd1,#e9eadf 52%,#d2dbce);}
.geo-map:focus-visible{outline:3px solid #b29a75;outline-offset:-3px;}
.geo-map.is-dragging {cursor:grabbing;}
.geo-illustration,.geo-map-tiles,.geo-map-markers {position:absolute;inset:0;pointer-events:none;}
.geo-illustration {z-index:0;overflow:hidden;}
.geo-illustration svg {position:absolute;width:100%;height:100%;object-fit:cover;opacity:.95;}
.geo-illustration:after{content:'';position:absolute;inset:0;background:linear-gradient(55deg,rgba(224,230,216,.12),transparent 45%,rgba(245,241,218,.12));pointer-events:none;}
.geo-map-tiles {z-index:1;overflow:hidden;opacity:0;transition:opacity .45s ease;}
.geo-map-tiles.map-tiles-ready {opacity:1;}
.geo-map-tile {position:absolute;display:block;width:257px;height:257px;max-width:none;pointer-events:none;user-select:none;border:0;filter:saturate(.57) sepia(.10) hue-rotate(7deg) brightness(1.06);}
.geo-map-markers {z-index:3;}
.geo-marker {position:absolute;pointer-events:auto;transform:translate(-50%,-50%);width:46px;height:46px;border:0;background:transparent;padding:0;display:flex;align-items:center;justify-content:center;color:var(--forest);z-index:1;cursor:pointer;-webkit-tap-highlight-color:transparent;}
.geo-marker-dot {width:29px;height:29px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:15px;line-height:1;background:#375946;border:2px solid #fffdf4;color:#fdf8ed;box-shadow:0 2px 8px rgba(17,44,31,.27),0 0 0 2px rgba(44,73,53,.18);transition:transform .2s,background .2s,box-shadow .2s;}
.geo-marker[data-category="nature"] .geo-marker-dot{background:#668679;}
.geo-marker[data-category="village"] .geo-marker-dot{background:#587160;}
.geo-marker.home-marker .geo-marker-dot{background:#ba956b;box-shadow:0 1px 10px rgba(61,41,16,.26),0 0 0 4px rgba(187,147,104,.21);}
.geo-marker:hover,.geo-marker:focus-visible,.geo-marker.selected {z-index:30;}
.geo-marker:hover .geo-marker-dot,.geo-marker:focus-visible .geo-marker-dot{transform:scale(1.13);}
.geo-marker.selected .geo-marker-dot {background:#253d31;transform:scale(1.21);box-shadow:0 0 0 4px #e6d6bc,0 4px 16px rgba(21,46,33,.35);}
/* Close-by attractions merge into a clear, tap-friendly cluster until zoomed in. */
.geo-cluster {position:absolute;pointer-events:auto;transform:translate(-50%,-50%);z-index:20;min-width:49px;min-height:49px;padding:0;border:0;background:transparent;display:grid;place-items:center;cursor:zoom-in;}
.geo-cluster-count {width:43px;height:43px;display:grid;place-items:center;border-radius:50%;background:#314f3d;border:3px solid #faf8ee;box-shadow:0 0 0 5px #35563f33,0 5px 16px #1b423f40;color:#fff;font:500 22px var(--serif);}
.geo-cluster.cluster-active .geo-cluster-count {background:#ac8860;box-shadow:0 0 0 5px #bc98775c,0 5px 16px #1b423f40;}
.geo-cluster-label {position:absolute;top:-8px;left:50%;transform:translate(-50%,-100%);background:#fffdf2;color:#2c4838;padding:6px 10px;font:700 10px var(--sans);white-space:nowrap;box-shadow:0 3px 10px #233c3325;}
.geo-cluster:hover .geo-cluster-count,.geo-cluster:focus-visible .geo-cluster-count{transform:scale(1.07);}
.geo-marker-label {display:none;position:absolute;top:-13px;left:50%;transform:translate(-50%,-100%);width:max-content;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#fcfbf4f3;border:1px solid rgba(70,82,63,.15);color:#2d4738;padding:6px 9px;box-shadow:0 3px 12px rgba(20,50,32,.11);font:700 10px/1.15 var(--sans);letter-spacing:.012em;pointer-events:none;}
.geo-marker.has-label .geo-marker-label,.geo-marker:hover .geo-marker-label,.geo-marker:focus-visible .geo-marker-label,.geo-marker.selected .geo-marker-label{display:block;}
.geo-marker.selected .geo-marker-label {background:#263f32;color:#fff;border-color:#263f32;}
.geo-controls {position:absolute;z-index:6;right:21px;top:22px;display:flex;flex-direction:column;gap:3px;}
.geo-controls button {background:#fffefaef;color:#2b4639;width:45px;height:43px;padding:0;border:1px solid rgba(53,75,58,.17);font-size:25px;line-height:1;box-shadow:0 2px 12px rgba(39,56,42,.08);}
.geo-controls button:hover{background:#294638;color:#fff;}
.geo-controls button:last-child{font-size:22px;}
.geo-compass {position:absolute;z-index:4;top:22px;left:24px;display:flex;flex-direction:column;align-items:center;color:#314b3e;font-size:16px;line-height:1;pointer-events:none;text-shadow:0 2px 5px #fffb;}
.geo-compass i{font-size:10px;font-style:normal;letter-spacing:.13em;font-weight:800;}
.geo-compass span{font-size:28px;line-height:28px;}
.geo-map-caption {position:absolute;bottom:24px;left:19px;z-index:4;background:#fafbf0ec;border:1px solid rgba(70,94,73,.12);padding:10px 14px;color:#4a6757;letter-spacing:.11em;text-transform:uppercase;font:700 9px/1.3 var(--sans);max-width:55%;pointer-events:none;}
.geo-map-meters {--atlas-meter-width:94px;position:absolute;bottom:24px;right:20px;z-index:4;font:700 10px/1 var(--sans);color:#2a4337;text-align:right;text-shadow:0 1px #fff;pointer-events:none;background:#f9fbf5bb;padding:8px 10px 9px;}
.geo-map-meters:after {content:'';display:block;width:var(--atlas-meter-width);height:5px;border-bottom:2px solid #355844;border-left:2px solid #355844;border-right:2px solid #355844;margin-top:4px;}
.geo-map-credit {position:absolute;bottom:5px;right:17px;z-index:4;font-size:9px;color:#526356;}
.geo-map-credit a{background:#eff1e9dc;padding:1px 4px;}
.atlas-map-under {min-height:44px;background:#f7f8f2;border-top:1px solid #dce1d6;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 17px;font-size:10px;color:#557162;letter-spacing:.055em;}
.atlas-map-under #map-status {display:flex;align-items:center;gap:8px;font-weight:700;}
.atlas-map-under #map-status:before{content:'';display:inline-block;width:7px;height:7px;background:#86a184;border-radius:50%;box-shadow:0 0 0 3px #d8e6d5;}
.atlas-map-under #map-access-note {color:#858d81;text-align:right;}
.atlas-sidebar {display:flex;flex-direction:column;min-width:0;min-height:738px;border-left:1px solid #d5d6ca;background:#faf9f4;}
.atlas-sidebar-header {padding:25px 26px 17px;display:flex;justify-content:space-between;align-items:baseline;gap:12px;}
.atlas-sidebar-header .overline{font-size:9px;color:#8b806b;}
.atlas-place-count{font-size:10px;color:#7b8579;white-space:nowrap;}
.atlas-place-count strong{font:400 26px var(--serif);color:var(--forest);padding-right:2px;}
.atlas-find {position:relative;margin:0 26px 19px;display:flex;align-items:center;background:#fff;border:1px solid #d9dbd0;min-height:48px;}
.atlas-find svg{width:19px;height:19px;margin-left:13px;color:#658171;flex:none;}
.atlas-find input{font:500 14px var(--sans);width:100%;min-width:0;color:var(--forest);border:0;background:none;padding:13px 10px;outline:0;}
.atlas-find input:focus-visible{outline:0;}
.atlas-find:focus-within{outline:2px solid #a6b7a8;outline-offset:2px;}
.atlas-find input::placeholder{color:#a1a69b;}
.atlas-clear{width:43px;height:43px;border:0;background:transparent;color:#536f60;font-size:25px;flex:none;}
.atlas-clear[hidden]{display:none!important;}
.atlas-point-list {min-height:175px;max-height:262px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#b9c6b5 transparent;padding:0 16px 10px;overscroll-behavior:contain;}
.atlas-location {width:100%;min-height:56px;display:grid;grid-template-columns:36px minmax(0,1fr) 23px;gap:12px;align-items:center;text-align:left;padding:7px 11px;background:transparent;border:0;border-bottom:1px solid #e7e6de;color:#344d3e;transition:background .2s;}
.atlas-location:hover,.atlas-location:focus-visible{background:#ebeee4;}
.atlas-location.selected{background:#e7ece1;color:#203c2e;}
.atlas-location-number{font:400 21px var(--serif);color:#b5a082;}
.atlas-location-info{min-width:0;}
.atlas-location-info strong{font:600 13px/1.3 var(--sans);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.atlas-location-info small{display:block;margin-top:3px;text-transform:uppercase;letter-spacing:.13em;font-size:9px;color:#849080;}
.atlas-location-arrow {color:#a6a790;opacity:.75;font-size:16px;text-align:right;}
.atlas-location.selected .atlas-location-arrow{color:#345b42;}
.atlas-empty{margin:14px;padding:21px;background:#f1f0e6;color:#657866;font-size:13px;}
.atlas-feature{padding:25px 27px 31px;background:#eff0e7;border-top:1px solid #d7dbcf;margin-top:auto;min-width:0;}
.atlas-feature .overline{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#8f8574;font-size:9px;}
#map-feature-type {font-size:9px;color:#7b896e;letter-spacing:.08em;white-space:nowrap;}
.atlas-feature h3{font:400 clamp(34px,3.1vw,47px)/.99 var(--serif);letter-spacing:-.034em;margin:18px 0 12px;color:#2b4435;}
.atlas-feature>p{font-size:12px;line-height:1.62;color:#626f63;min-height:39px;margin-bottom:16px;}
.atlas-feature-coordinates{padding-top:12px;border-top:1px solid #d5ddcf;color:#596b5e;font-size:10px;letter-spacing:.09em;}
.atlas-feature-coordinates a:hover{text-decoration:underline;}
.atlas-feature-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px;}
.atlas-feature-actions .btn{font-size:9px;letter-spacing:.05em;min-height:42px;padding:11px 13px;gap:8px;}
.atlas-feature-actions .atlas-save{border:1px solid #b4beb0;background:transparent;color:#405b49;}
.atlas-feature-actions .atlas-save:hover,.atlas-feature-actions .atlas-save.is-saved{background:#e3e2d8;color:var(--forest);}
.atlas-disclaimer {font-size:11px;color:#697669;line-height:1.8;margin:18px 0 0;max-width:950px;}
.atlas-point-list .map-place-link{font-size:12px;display:block;padding:12px;border-bottom:1px solid #e1e4d8;}
/* Resilience: never make substantial content invisible while waiting for observers or images. */
.js [data-reveal]{opacity:1;transform:none;transition:none;}
.hero-bg,.page-hero-bg,.picture-box img,.photo-card img,.feature-photo img,.story-card img,.image-tile img,.editorial-photo img{transition:opacity .18s ease,transform .65s ease;}
/* Better focus and tap affordance for site-wide interactive elements */
.icon-button,.menu-toggle{min-width:42px;min-height:42px;}
.site-header.scrolled,.site-header.header-solid{backdrop-filter:none;}
@media (max-width:1150px){
 .atlas-shell{grid-template-columns:minmax(0,1.4fr) minmax(320px,.9fr);}
 .atlas-sidebar-header{padding-inline:19px;}.atlas-find{margin-inline:19px;}
 .atlas-feature{padding:23px 20px;}.atlas-point-list{padding-inline:9px;}
}
@media (max-width:930px){
 .atlas-section{padding:80px 0;}.atlas-shell{grid-template-columns:minmax(0,1fr);}
 .geo-map{height:520px;min-height:440px;}
 .atlas-sidebar{border-left:0;border-top:1px solid #d4d7c9;min-height:0;}
 .atlas-point-list{max-height:250px;min-height:115px;}
 .atlas-sidebar-header{padding:23px 24px 15px;}.atlas-find{margin:0 24px 15px;}.atlas-point-list{padding-inline:16px;}
 .atlas-feature{margin-top:0;padding:27px 24px;}
 .atlas-toolbar{gap:12px;justify-content:flex-start;}.atlas-map-under{gap:12px;}
}
@media (max-width:700px){
 .atlas-section{padding:73px 0 80px;}.atlas-section .map-head{margin-bottom:26px;}
 .atlas-section .map-head .section-heading{font-size:clamp(48px,11vw,76px);}
 .atlas-toolbar .pill{font-size:9px;min-height:40px;padding:11px 12px;letter-spacing:.06em;}
 .atlas-toolbar{padding-bottom:17px;}
 .geo-map{height:420px;min-height:420px;}
 .atlas-map-topline{height:45px;font-size:8px;padding:0 14px;letter-spacing:.11em;}
 .atlas-map-under{padding:10px 14px;min-height:50px;font-size:9px;}
 .atlas-map-under #map-access-note{max-width:43%;}
 .geo-controls{right:13px;top:13px;}.geo-controls button{height:42px;width:42px;}
 .geo-compass{top:16px;left:15px;}.geo-map-caption{left:10px;bottom:17px;font-size:8px;max-width:52%;padding:8px 9px;}
 .geo-map-meters{right:10px;bottom:18px;}
 .atlas-feature h3{font-size:43px;}
 .atlas-place-count{font-size:9px;}
}
@media (max-width:390px){
 .atlas-toolbar .atlas-filters{gap:4px;}.atlas-toolbar .atlas-filters .pill{padding:11px 9px;}
 .atlas-map-topline{font-size:7px;}
 .geo-map{height:385px;min-height:385px;}
 .atlas-feature-actions .btn{flex:1 1 auto;}
}
@media (prefers-reduced-motion:reduce){.geo-map-tiles,.geo-marker-dot,.atlas-location{transition:none!important;}}
@media print{.geo-map,.atlas-map-under,.atlas-toolbar,.atlas-sidebar .atlas-point-list,.atlas-find{display:none!important;}.atlas-shell{display:block;}.atlas-sidebar{min-height:0;}}
/* Compact, single-line mobile identity: avoid brand wrapping into header controls. */
@media(max-width:700px){
  .site-header .nav-bar{gap:8px;}
  .site-header .brand{flex:1 1 auto;min-width:0;gap:7px;}
  .site-header .brand-text{font-size:21px;line-height:.98;white-space:nowrap;letter-spacing:-.016em;}
  .site-header .brand-text small{font-size:6px;line-height:1.25;letter-spacing:.22em;margin-top:3px;}
  .site-header .brand-symbol{width:27px;height:32px;flex:none;}
  .site-header .nav-actions{flex:0 0 auto;gap:0;}
  .site-header .icon-button{width:36px;min-width:36px;height:42px;min-height:42px;padding:7px;}
  .site-header .language-switch{width:47px;min-width:47px;max-width:47px;padding:0 1px;font-size:10px;letter-spacing:0;}
}
@media(max-width:375px){
  .site-header .nav-bar{gap:2px;}
  .site-header .brand{gap:4px;}
  .site-header .brand-text{font-size:18px;letter-spacing:-.035em;}
  .site-header .brand-text small{font-size:5.5px;letter-spacing:.15em;}
  .site-header .brand-symbol{width:23px;height:29px;}
  .site-header .icon-button{width:31px;min-width:31px;height:42px;min-height:42px;padding:5px;}
  .site-header .language-switch{width:40px;min-width:40px;max-width:40px;font-size:9px;}
}
/* Keep the language control finger-friendly across all mobile widths. */
@media(max-width:700px){.site-header .language-switch{height:42px;min-height:42px;align-self:center;}}
