/* Пиротска ризница — верна реконструкција достављеног визуелног узора.
   Сва слова, везе, навигација, бројачи и картице су стварни DOM елементи. */
:root{--wine:#741b26;--ink:#12382d;--cream:#f8eedc;--gold:#ba8b4b}
body{background:#f4e8d1 url('../images/design/ornament-bottom.webp') repeat-x top left;background-size:1024px 36px}
.rugline{height:19px;background:url('../images/design/ornament-top.webp') repeat-x center top/1024px 20px;border-bottom:1px solid #ba854b}
.heritage-header{position:relative;height:73px;padding:2px 22px;display:flex;justify-content:center;align-items:center;background:linear-gradient(90deg,#efe1c6,#fbf3e2 40%,#f6e9d3);border-bottom:1px solid #bd9d6c;gap:0}
.heritage-header:before{content:'';position:absolute;left:1.3%;bottom:4px;width:25%;height:61px;background:url('../images/design/old-pirot-sketch.webp') left bottom/contain no-repeat;mix-blend-mode:multiply;opacity:.88}
.heritage-brand{text-align:center;font-family:Georgia,'Times New Roman',serif;color:#741824!important;font-size:clamp(27px,4.15vw,42px);font-weight:700;line-height:.97;letter-spacing:-.025em;display:block;white-space:nowrap;position:relative;z-index:1;margin:auto}
.heritage-brand:before,.heritage-brand:after{content:'❖';display:inline-block;color:#851f2b;font-size:21px;position:absolute;top:9px;left:-40px}
.heritage-brand:after{left:auto;right:-40px}
.heritage-brand small{font-family:Georgia,'Times New Roman',serif;font-size:clamp(12px,1.8vw,19px);color:#0f2e26;display:block;font-weight:normal;letter-spacing:0;margin-top:1px}
.heritage-search{position:absolute;right:1.9%;top:20px;width:17.6%;height:34px;padding:4px 12px!important;border:1px solid #c6ad86;border-radius:25px;background:#f3e7d1;color:#65513c;font-size:12px;text-align:left;font-family:Georgia,serif;display:flex;justify-content:space-between;align-items:center;transition:background .2s}
.heritage-search span{color:#12332b;font:bold 19px Arial,sans-serif}
.heritage-search:hover{background:#fff9ed;transform:none}
#nav{padding:3px 10px 4px;display:flex;flex-direction:column;align-items:stretch;gap:0;background:linear-gradient(115deg,#06372e,#06352b 50%,#022d26);min-height:108px;position:relative;border-bottom:3px solid #bd9061;z-index:20}
#nav .heritage-nav-row{display:flex;justify-content:center;align-items:center;gap:6px;min-height:34px;width:100%}
#nav a,#nav button{margin:0;border:0;border-radius:0;background:transparent;color:#f6edcf;font-size:clamp(10px,1.23vw,14px);font-family:Georgia,'Times New Roman',serif;font-weight:700;letter-spacing:.025em;line-height:1;white-space:nowrap;text-transform:uppercase;padding:8px clamp(8px,1.34vw,19px);min-height:31px}
#nav a:hover,#nav button:hover,#nav button[aria-expanded=true]{background:#641820;color:#f7e4be;transform:none}
#nav .heritage-nav-row:first-child a{background:#711c25;padding-left:20px;padding-right:20px;border-radius:3px}
#nav .heritage-nav-row:last-child .mobile-nav-button{display:none}
#mega{top:auto;position:absolute;left:0;right:0;z-index:35;background:linear-gradient(130deg,#143d31,#082920);box-shadow:0 18px 48px #0009;border-top:2px solid #b79153;max-height:74vh;overflow-y:auto}
#mega .mega-layout{max-width:1250px;margin:auto}
#mega a{color:#f7e2bf}
footer .motion-footer{font-size:13px;background:#365547;border:1px solid #b89e76;color:#fff6dc;padding:6px 15px}
/* HOME: leading composition follows the provided full-page visual. */
.landing{background:radial-gradient(ellipse at 60% 33%,#fff5e1,#ead6b4);overflow:hidden}
.landing .museum-hero{height:440px;position:relative;isolation:isolate;overflow:hidden;background:#d3b68a}
.landing .hero-background{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;object-position:50% 56%;filter:contrast(1.05) saturate(1.06)}
.landing .draped-rug{position:absolute;z-index:3;left:0;top:0;width:29%;height:100%;object-fit:cover;object-position:left top;filter:saturate(1.18) contrast(1.08);mask-image:linear-gradient(90deg,#000 0%,#000 85%,transparent 100%)}
.landing .hero-veil{position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,transparent 0%,#fff9e09a 28%,#fff8dcbb 46%,#fff8dc20 62%,transparent 77%);pointer-events:none}
.landing .museum-copy{position:absolute;z-index:4;left:26.5%;top:29px;width:35.5%;text-align:center;color:#132d24;text-shadow:0 1px 0 #fff4df88}
.landing .museum-copy .flourish{font-size:26px;color:#a17739;letter-spacing:5px;line-height:1.1;margin:0 0 2px}
.landing .museum-copy h1{font-family:Georgia,serif;color:#791e2b;font-weight:bold;font-size:clamp(42px,5.65vw,60px);line-height:.92;letter-spacing:-1.4px;margin:0 0 11px}
.landing .museum-copy h2{font-family:Georgia,serif;font-size:clamp(18px,2.6vw,28px);font-weight:bold;line-height:1.11;margin:0 0 12px;color:#12352a}
.landing .museum-copy .flourish-line{display:flex;align-items:center;justify-content:center;gap:16px;color:#861f2c;font-size:25px;margin:12px auto 7px}
.landing .museum-copy .flourish-line:before,.landing .museum-copy .flourish-line:after{content:'';height:1px;background:#923b33;width:35%}
.landing .museum-copy p{font-family:Georgia,serif;font-size:clamp(12px,1.53vw,16px);font-style:italic;line-height:1.45;color:#242017;margin:0 auto}
.landing .treasure-quick{position:relative;z-index:5;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;max-width:925px;margin:-66px auto 0;padding:0 0 0;height:67px}
.landing .treasure-quick a{height:64px;background:linear-gradient(#044733,#043a2d);color:#fff2cf;border:1px solid #d6a75c;border-radius:7px;display:flex;align-items:center;justify-content:center;gap:10px;font:normal 13px/1.27 Georgia,serif;text-align:left;text-shadow:0 1px #321b0b;box-shadow:0 3px 4px #4e290f6a;transition:transform .25s,filter .25s}
.landing .treasure-quick a:nth-child(2){background:linear-gradient(#891726,#6f0e20)}
.landing .treasure-quick a:nth-child(3){background:linear-gradient(#bc8a35,#94601b)}
.landing .treasure-quick a:nth-child(4){background:linear-gradient(#a0242b,#770f1a)}
.landing .treasure-quick a:hover{transform:translateY(-5px);filter:brightness(1.12)}
.landing .treasure-quick em{font-style:normal;font-size:29px;color:#f7d4a1;line-height:1}
.landing .treasure-discover{padding:16px 20px 12px;background:linear-gradient(90deg,#f7ebd7,#fcf4e3 55%,#eedab6)}
.landing .treasure-discover>h2{font-size:clamp(17px,2.16vw,24px);font-weight:bold;line-height:1.25;margin:1px 0 10px;text-align:center;color:#113d2e;white-space:normal}
.landing .treasure-discover>h2 span{color:#831c28;font-size:.83em;margin:0 7px}
.landing .treasure-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.landing .treasure-card{height:158px;background:#f7e7c8;border:1px solid #c9a879;border-radius:7px;overflow:hidden;box-shadow:0 2px 4px #8a5e303d;display:flex;flex-direction:column;color:#211d14;transition:transform .22s,box-shadow .22s}
.landing .treasure-card:hover{transform:translateY(-5px);box-shadow:0 8px 15px #3d291e55;color:#711c24}
.landing .treasure-card img{height:108px;width:100%;object-fit:cover;display:block;flex:0 0 108px}
.landing .treasure-caption{height:49px;position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:2px 6px 2px 24px;font-family:Georgia,'Times New Roman',serif;line-height:1.05}
.landing .treasure-caption:before{content:'❖';position:absolute;left:4px;top:50%;transform:translateY(-50%);font-size:18px;color:#8b202d}
.landing .treasure-caption b{font-size:clamp(10px,1.23vw,14px);font-weight:bold}
.landing .treasure-caption small{font:normal clamp(9px,1.06vw,12px)/1.2 Georgia,'Times New Roman',serif;letter-spacing:0;margin-top:3px;color:#251e16}
.landing .heritage-stats{position:relative;min-height:106px;background:linear-gradient(130deg,#800d18,#5c0710);border-top:5px solid transparent;border-bottom:5px solid transparent;border-image-source:url('../images/design/ornament-bottom.webp');border-image-slice:8;border-image-width:5px;display:grid;grid-template-columns:2.2fr repeat(5,.7fr) 1.2fr 1.2fr;align-items:center;gap:0;color:#ffe7ba;padding:4px 18px 13px}
.landing .heritage-stats h2{font:normal 15px/1.35 Georgia,serif;text-align:center;margin:0;padding:0 8px}
.landing .stat-entry{height:60px;border-left:1px solid #e5bd805b;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:0}
.landing .stat-entry span{font-size:20px;color:#eab66a;line-height:1}
.landing .stat-entry small{font:normal 11px/1.1 Georgia,serif;letter-spacing:0;margin:4px 0 0}
.landing .stat-entry b{font:normal 20px/1.05 Georgia,serif;margin-top:5px}
.landing .stat-world{font-size:68px;opacity:.25;text-align:center;line-height:1}
.landing .analytics-link{color:#ffe8c1;text-align:center;border:1px solid #f2ce9e;border-radius:24px;padding:8px 7px;font:normal 12px/1.2 Georgia,serif}
.landing .analytics-link:hover{color:#fff;background:#984534}
.landing .stats-status{position:absolute;right:20px;bottom:0px;color:#e7bd98;font:normal 9px Arial,sans-serif;letter-spacing:0}
.landing .weekly-showcase{height:197px;display:grid;grid-template-columns:34% 34% 32%;gap:0;padding:12px 24px;background:linear-gradient(115deg,#fbedd7,#f1dfbf);color:#311e16}
.landing .weekly-intro{padding:0 16px 0 31px}
.landing .weekly-intro h2{color:#811d28;font:700 clamp(23px,3.1vw,32px)/1 Georgia,serif;margin:2px 0 6px;white-space:nowrap}
.landing .weekly-intro h2 span{color:#a32634;font-size:20px;margin-left:-33px;margin-right:9px}
.landing .weekly-voice{color:#321c19;font:700 13px Georgia,serif;margin-bottom:11px}
.landing .weekly-intro p{font:normal 14px/1.22 Georgia,serif;margin-bottom:12px;max-height:59px;overflow:hidden}
.landing .weekly-button{display:inline-block;background:#870e1c;color:#fff0dc;border-radius:8px;border:1px solid #bf885a;padding:7px 17px;font:normal 12px Georgia,serif;box-shadow:1px 3px 4px #4c2b2545}
.landing .weekly-button:hover{color:white;background:#ac2436}
.landing .weekly-photo{position:relative;min-width:0;border:1px solid #d4b389;border-radius:4px;overflow:hidden}
.landing .weekly-photo>img{width:100%;height:100%;object-fit:cover;display:block}
.landing .audio-mock{position:absolute;bottom:1px;left:1px;right:1px;height:35px;border-top:1px solid #d6b991;background:#f6e9d9e8;display:flex;align-items:center;gap:7px;padding:3px 7px}
.landing .audio-mock>span{background:#7b1c29;color:#fce0bc;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:10px}
.landing .audio-wave{height:8px;flex:1;border-radius:10px;background:repeating-linear-gradient(90deg,#9e7e5d 0 2px,transparent 2px 5px);mask-image:linear-gradient(#0009,#000)}
.landing .audio-mock small{font:normal 10px Arial,sans-serif;color:#5b4838;letter-spacing:0;white-space:nowrap}
.landing .weekly-next{padding:0 2px 0 20px;min-width:0}
.landing .weekly-next h3{color:#81212c;font:700 14px Georgia,serif;border-bottom:1px solid #caab80;margin:1px 0 8px;padding:0 0 6px}
.landing .weekly-next a{display:flex;align-items:center;gap:8px;min-height:34px;border-bottom:1px solid #d4bc9c;color:#31201c;font:normal 11px/1.2 Georgia,serif}
.landing .weekly-next a:hover{color:#8b1f29}
.landing .weekly-next img{flex:0 0 49px;width:49px;height:25px;object-fit:cover;border:1px solid #d0b48b}
.landing .weekly-next b{font-size:19px;margin-left:auto;font-weight:normal}
.landing .bottom-rug{height:36px;background:url('../images/design/ornament-bottom.webp') center/1024px 39px repeat-x;border-top:1px solid #86361e;border-bottom:1px solid #78321c}
.landing .more-home{padding:45px 32px}
/* smaller widths keep the characteristic hierarchy, without clobbering other pages */
@media(max-width:900px){.heritage-brand{font-size:clamp(25px,4.5vw,36px)}.heritage-header:before{width:23%}.heritage-search{width:15%;font-size:0}.heritage-search span{font-size:23px}#nav a,#nav button{font-size:clamp(9px,1.22vw,13px);padding:7px 7px}.landing .museum-copy{left:27%;width:39%}.landing .museum-copy h1{font-size:clamp(40px,5.5vw,54px)}.landing .treasure-quick{max-width:93%;gap:8px}.landing .treasure-quick a{font-size:11px}.landing .treasure-quick em{font-size:20px}.landing .weekly-intro{padding-left:18px}.landing .weekly-intro h2 span{margin-left:-21px}.landing .heritage-stats{grid-template-columns:1.6fr repeat(5,.75fr) 1.3fr}.landing .stat-world{display:none}}
@media(max-width:720px){
 .rugline{height:13px;background-size:700px 14px}
 .heritage-header{height:75px;padding:8px 12px;justify-content:flex-start}
 .heritage-header:before{width:50px;height:50px;opacity:.5;left:5px;bottom:5px}
 .heritage-brand{font-size:clamp(21px,5.4vw,32px);margin:0 47px 0 22px;white-space:normal}
 .heritage-brand small{font-size:clamp(11px,2.7vw,15px);line-height:1.12;margin-top:5px}
 .heritage-brand:before,.heritage-brand:after{display:none}
 .heritage-search{width:38px;height:35px;top:21px;right:7px;padding:5px 8px!important}
 #nav{min-height:47px;padding:5px 10px}
 #nav .heritage-nav-row:not(:last-child){display:none}
 #nav .heritage-nav-row:last-child{display:flex;justify-content:center;min-height:35px}
 #nav .heritage-nav-row:last-child .mobile-nav-button{display:block;width:100%;font-size:15px;letter-spacing:1px}
 #mega .mega-all{grid-template-columns:repeat(2,minmax(0,1fr))}
 .landing .museum-hero{height:470px}
 .landing .hero-background{object-position:57% 49%;filter:contrast(1.1) saturate(1.08)}
 .landing .draped-rug{width:42%;height:100%;opacity:.95}
 .landing .hero-veil{background:linear-gradient(90deg,transparent 10%,#fff1c09c 30%,#f5e5cce9 52%,#fff9e37e 79%,transparent)}
 .landing .museum-copy{top:70px;left:23%;width:67%;padding:0 6px}
 .landing .museum-copy h1{font-size:clamp(36px,8.5vw,56px)}
 .landing .museum-copy h2{font-size:clamp(17px,4.6vw,25px)}
 .landing .museum-copy p{font-size:clamp(11px,2.7vw,15px)}
 .landing .treasure-quick{width:94%;height:auto;margin:-76px auto 0;gap:7px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .landing .treasure-quick a{height:56px;font-size:clamp(11px,2.3vw,13px);justify-content:center;line-height:1.15}
 .landing .treasure-discover{padding:25px 12px 18px}
 .landing .treasure-discover>h2{font-size:clamp(17px,3.4vw,24px);margin:3px auto 16px}
 .landing .treasure-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
 .landing .treasure-card{height:156px}
 .landing .treasure-card img{height:103px;flex-basis:103px}
 .landing .treasure-caption{height:52px;padding-left:17px;padding-right:3px}
 .landing .treasure-caption:before{left:3px;font-size:13px}
 .landing .treasure-caption b{font-size:clamp(9px,2vw,12px)}
 .landing .treasure-caption small{font-size:clamp(9px,1.7vw,11px)}
 .landing .heritage-stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:14px 10px 23px}
 .landing .heritage-stats h2{grid-column:1/-1;margin-bottom:8px}
 .landing .heritage-stats .analytics-link{grid-column:1/-1;margin:10px auto 3px;padding:7px 18px}
 .landing .stat-entry{border-left:1px solid #c2946966}
 .landing .stat-entry small{font-size:10px}
 .landing .stat-entry b{font-size:18px}
 .landing .stats-status{left:0;right:0;text-align:center}
 .landing .weekly-showcase{height:auto;grid-template-columns:1fr;gap:15px;padding:22px 18px}
 .landing .weekly-intro{padding:0 15px}
 .landing .weekly-intro h2{font-size:30px}
 .landing .weekly-intro p{max-height:none}
 .landing .weekly-photo{height:250px}
 .landing .weekly-next{padding:4px 0}
 .landing .weekly-next a{min-height:44px;font-size:13px}
 .landing .bottom-rug{height:29px;background-size:750px 29px}
}
@media(max-width:430px){.heritage-brand{font-size:20px}.landing .museum-hero{height:415px}.landing .museum-copy{left:23%;top:55px;width:75%}.landing .museum-copy h1{font-size:35px}.landing .museum-copy h2{font-size:17px}.landing .museum-copy p{font-size:11px}.landing .treasure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.landing .treasure-card{height:167px}.landing .treasure-card img{height:113px;flex-basis:113px}.landing .treasure-caption b{font-size:12px}.landing .treasure-caption small{font-size:10px}#mega .mega-all{grid-template-columns:1fr}.landing .treasure-quick a{font-size:11px}.landing .treasure-quick em{font-size:21px}}
@media(prefers-reduced-motion:reduce){.landing .treasure-card,.landing .treasure-quick a{transition:none}}
body.reduced .landing .treasure-card,body.reduced .landing .treasure-quick a{transition:none}
/* Keep the desktop navigation to the three intended rows; the fourth is mobile-only. */
@media(min-width:721px){
 .heritage-header{min-height:73px}
 #nav .heritage-nav-row:last-child{display:none}
 .landing .treasure-discover{padding-bottom:0}
}

/* V4: прецизне исправке насловне и навигације по захтеву уреднице. */
.heritage-header:before{width:clamp(130px,24vw,340px);height:64px;left:1.5%;bottom:3px;opacity:.65;mix-blend-mode:multiply;filter:sepia(.6) contrast(1.18);-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 68%,transparent 100%);mask-image:linear-gradient(90deg,#000 0%,#000 68%,transparent 100%)}
#nav{min-height:54px;padding:6px clamp(8px,2vw,36px);display:flex;align-items:center;justify-content:center;position:sticky;top:0;z-index:32}
#nav .heritage-nav-row{display:flex;justify-content:center;align-items:center;flex-wrap:nowrap;width:100%;min-height:41px;gap:clamp(3px,.65vw,12px)}
#nav .heritage-nav-row.nav-mobile{display:none}
#nav a,#nav button{font-size:clamp(11px,1vw,15px);padding:10px clamp(6px,.86vw,15px);min-height:38px;border-radius:4px;line-height:1.2}
#nav .heritage-nav-row:first-child a{background:transparent;padding:10px clamp(6px,.86vw,15px);border-radius:4px}
#nav .nav-all{background:linear-gradient(#7e1e2c,#651322);border:1px solid #bc9155;color:#fff0cf}
#nav .nav-find{border-bottom:1px solid #bfa36e;color:#ffedc1}
#mega .mega-sela{max-width:960px;margin:0 auto;display:grid;gap:20px}
#mega .mega-sela label{font-size:18px;font-weight:bold;color:#f5e3c7}
#mega .mega-sela input{max-width:800px;background:#fff8e8;color:#14382d;font-size:18px}
#mega .village-full-link{display:inline-block;border:1px solid #bea06e;padding:12px 22px;width:max-content}
.village-modal-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:38vh;overflow-y:auto;margin:14px 0}
.village-hit{display:flex!important;justify-content:space-between;align-items:center;gap:12px;color:#234235!important;background:#fbf0da;border:1px solid #c7ac7f;font:normal 17px Georgia,serif;padding:10px 14px!important;border-radius:3px}
.village-hit:hover{background:#eaddbc;color:#711b28!important}
/* Clean, dignified hero name: the masthead carries the site's main brand. */
.landing .museum-copy{top:47px;left:25.3%;width:39.2%}
.landing .museum-copy h1{font-size:clamp(36px,4.75vw,62px);line-height:1.02;letter-spacing:-.5px}
.landing .museum-copy h2{font-size:clamp(18px,2.35vw,28px);margin:10px 0 15px}
.landing .treasure-discover{padding:40px clamp(18px,4vw,70px) 46px}
.landing .discover-heading{text-align:center;margin:0 auto 28px}
.landing .discover-kicker{display:block;font:normal clamp(13px,1.16vw,17px) Georgia,serif;letter-spacing:.14em;text-transform:uppercase;color:#95672f;margin:0 0 9px}
.landing .discover-heading h2{font:700 clamp(29px,3vw,47px)/1.12 Georgia,serif;color:#163c30;margin:0 auto 9px;text-transform:none}
.landing .discover-ornament{display:block;color:#8a2331;font-size:24px;line-height:1}
.landing .treasure-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:19px}
.landing .treasure-card{height:240px;border-radius:8px;box-shadow:0 4px 12px #6e482c33}
.landing .treasure-card img{height:171px;flex:0 0 171px;object-fit:cover}
.landing .treasure-caption{height:69px;padding:7px 8px 9px 23px;line-height:1.15}
.landing .treasure-caption b{font-size:clamp(13px,1.2vw,19px)}
.landing .treasure-caption small{font-size:clamp(11px,1vw,15px)}
/* The story section matches the user's dark-green editorial reference. */
.landing .weekly-showcase{min-height:440px;height:auto;display:grid;grid-template-columns:52% 48%;gap:0;padding:0;background:#173d31;color:#fff2d4}
.landing .weekly-intro{padding:clamp(35px,5vw,83px) clamp(28px,4vw,83px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.landing .weekly-kicker{display:block;font:normal 17px/1.35 Arial,sans-serif;letter-spacing:.17em;color:#cda663;margin-bottom:24px}
.landing .weekly-intro h2{color:#fff0d2;font:normal clamp(42px,4.7vw,77px)/1.08 Georgia,serif;margin:0 0 46px;white-space:normal}
.landing .weekly-description{font:normal clamp(18px,1.8vw,28px)/1.5 Georgia,serif;color:#f5e7cb;margin:0 0 23px;max-height:none;max-width:770px;overflow:visible}
.landing .weekly-availability{font:normal 16px/1.35 Arial,sans-serif;letter-spacing:.06em;color:#eadcbf;margin:0 0 25px}
.landing .weekly-button{display:inline-block;border:1px solid #bba675;background:transparent;color:#fff0d3;border-radius:0;padding:17px 28px;box-shadow:none;font:normal 23px/1.2 Georgia,serif;margin-top:12px}
.landing .weekly-button:hover{background:#2c5847;color:white}
.landing .weekly-photo{height:auto;min-height:440px;border:0;border-radius:0;overflow:hidden}
.landing .weekly-photo>img{width:100%;height:100%;object-fit:cover;object-position:76% 54%;display:block}
/* Remove publicly displayed analytics without removing the future back-office page. */
.landing .heritage-stats{display:none}
@media(max-width:1160px){#nav a,#nav button{font-size:clamp(10px,1.05vw,13px);padding:10px 6px}.heritage-header:before{width:20%;}.landing .treasure-card{height:215px}.landing .treasure-card img{height:147px;flex-basis:147px}.landing .museum-copy{left:26%;width:39%}.landing .weekly-intro{padding:38px}.landing .weekly-intro h2{margin-bottom:26px}}
@media(max-width:760px){
 .heritage-header:before{width:50px;height:55px;left:3px;opacity:.44}
 #nav{min-height:48px;overflow:visible;padding:5px 12px}
 #nav .heritage-nav-row.nav-desktop{display:none}
 #nav .heritage-nav-row.nav-mobile{display:flex;gap:10px;width:100%}
 #nav .nav-mobile button{font-size:13px;flex:1}
 #nav .nav-mobile .mobile-nav-button{display:block;flex:1 1 auto}
 #nav .nav-mobile .nav-find{flex:1 1 auto}
 #mega{position:absolute;max-height:75vh;overflow:auto;padding:18px 13px}
 #mega .mega-all{grid-template-columns:repeat(2,minmax(0,1fr))}
 .village-modal-results{grid-template-columns:repeat(2,minmax(0,1fr))}
 .landing .museum-copy{top:62px;left:22%;width:75%}
 .landing .museum-copy h1{font-size:clamp(33px,7.2vw,50px)}
 .landing .museum-copy h2{font-size:clamp(16px,4.2vw,23px)}
 .landing .treasure-discover{padding:40px 16px 26px}
 .landing .discover-heading{margin-bottom:22px}
 .landing .discover-heading h2{font-size:clamp(26px,5vw,35px)}
 .landing .treasure-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .landing .treasure-card{height:205px}
 .landing .treasure-card img{height:137px;flex-basis:137px}
 .landing .treasure-caption b{font-size:clamp(12px,2.8vw,16px)}
 .landing .treasure-caption small{font-size:clamp(10px,2.4vw,13px)}
 .landing .weekly-showcase{grid-template-columns:1fr;gap:0}
 .landing .weekly-intro{padding:38px 26px 45px}
 .landing .weekly-intro h2{font-size:clamp(40px,8vw,56px);margin-bottom:22px}
 .landing .weekly-kicker{margin-bottom:18px;font-size:13px}
 .landing .weekly-description{font-size:clamp(18px,4.8vw,23px)}
 .landing .weekly-button{font-size:19px}
 .landing .weekly-photo{height:300px;min-height:300px}
}
@media(max-width:430px){.landing .museum-copy{left:21%;width:77%;top:57px}.landing .museum-copy h1{font-size:32px}.landing .museum-copy h2{font-size:17px}.landing .treasure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.landing .treasure-card{height:181px}.landing .treasure-card img{height:117px;flex-basis:117px}.landing .treasure-caption{height:64px;padding:4px 3px 4px 19px}.landing .treasure-caption b{font-size:11px}.landing .treasure-caption small{font-size:10px}.village-modal-results{grid-template-columns:1fr}}
/* V5: SIMPLE CURATED NAV + TWO VERY VISIBLE CALLS TO CONTRIBUTE */
.landing .museum-copy h1{
  color:#164635;font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(36px,4.3vw,61px);line-height:1.04;letter-spacing:-.02em;
  font-weight:700;text-transform:none;margin-bottom:7px;
}
.landing .museum-copy h2{color:#1e4b3c;font-weight:normal;font-size:clamp(18px,2.15vw,28px)}
.landing .museum-copy{top:44px;left:27%;width:37%}
.landing .hero-contribute{
  position:relative;z-index:8;display:grid;grid-template-columns:1fr 1fr;
  max-width:1000px;gap:22px;margin:-28px auto 0;padding:0 20px 26px;
}
.landing .hero-contribute a{
  display:flex;justify-content:center;align-items:center;gap:15px;
  min-height:92px;padding:15px 21px;box-shadow:0 6px 18px #42281966;
  background:linear-gradient(130deg,#0c4d39,#073c30);color:#fff3db;
  border:2px solid #d3a662;border-radius:9px;font:700 clamp(17px,1.55vw,24px)/1.23 Georgia,serif;
  text-decoration:none;transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}
.landing .hero-contribute a.hero-submit-story{background:linear-gradient(130deg,#972634,#6d1522)}
.landing .hero-contribute a:hover,.landing .hero-contribute a:focus-visible{transform:translateY(-4px);box-shadow:0 12px 22px #42281966;filter:brightness(1.1);color:white}
.landing .hero-contribute a>span:first-child{font-size:40px;font-weight:normal;color:#e9ba73}
.landing .hero-contribute a small{display:block;font:normal clamp(12px,1vw,15px)/1.3 Georgia,serif;margin-top:6px;color:#f8e7c8}
.landing .hero-contribute a .submit-arr{font-size:31px;font-weight:normal;margin-left:auto;color:#f6d3a5}
.landing .weekly-showcase{margin-top:6px}
.landing .treasure-discover{padding-top:72px}
#mega .mega-all{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 22px;padding-bottom:16px}
#mega .mega-group{padding:18px;background:#f7ebd8;border:1px solid #ba995e;border-radius:6px;color:#1d3e32}
#mega .mega-group h3{font:700 18px/1.25 Georgia,serif;margin:0 0 12px;color:#74222c}
#mega .mega-group a{display:block;color:#194133;font:normal 16px/1.3 Georgia,serif;padding:6px 3px;text-decoration:none}
#mega .mega-group h3>a{font-weight:bold;color:#78202e;padding:0}
#mega .mega-group a:hover{color:#901e30;text-decoration:underline}
#mega .mega-layout{max-width:820px}
#mega .mega-layout .links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:20px 0}
#mega .mega-layout .links a{display:block;background:#f8ecd7;color:#184232;padding:18px;border:1px solid #d5b78a;border-radius:6px;font:700 21px/1.25 Georgia,serif}
#mega .mega-layout .links a:hover{background:#fff8e8;color:#7a2530}
#nav .toplink{display:flex;align-items:center}
.visitor-page{max-width:1040px;margin:auto;padding-bottom:70px}
.visitor-page .visitor-form{background:#fff6e8;border:1px solid #cbb087;box-shadow:0 6px 27px #8c684b33;padding:clamp(16px,3.5vw,44px);margin:25px auto}
.visitor-form h2{color:#72222d;font-size:clamp(27px,3.5vw,42px)}
.visitor-form .visitor-submit{background:#174a37;color:white;font-size:20px;padding:17px 27px}
.visitor-preview{display:flex;gap:12px;flex-wrap:wrap;margin:15px 0}
.preview-item{width:154px;background:#f1e3c8;border:1px solid #cbb18a;border-radius:7px;padding:7px;overflow:hidden;font-size:12px;overflow-wrap:anywhere}
.preview-item img{width:100%;height:110px;object-fit:cover;border-radius:4px;display:block;margin-bottom:6px}
.submission-choices{display:flex;gap:14px;flex-wrap:wrap;margin:25px 0}
.hub-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:40px 0}
@media(max-width:1150px){#nav a,#nav button{font-size:clamp(10px,1.06vw,14px);padding:9px 6px}}
@media(max-width:950px){#mega .mega-all{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
 .landing .museum-hero{height:370px}
 .landing .museum-copy{left:25%;top:36px;width:72%}
 .landing .museum-copy h1{font-size:clamp(31px,7vw,48px)}
 .landing .museum-copy h2{font-size:clamp(15px,4vw,23px)}
 .landing .hero-contribute{gap:10px;margin:-15px auto 0;padding:0 12px 22px}
 .landing .hero-contribute a{min-height:107px;padding:11px 9px;gap:6px;font-size:clamp(12px,3.1vw,17px)}
 .landing .hero-contribute a>span:first-child{font-size:25px}
 .landing .hero-contribute a small{font-size:11px}
 .landing .hero-contribute a .submit-arr{display:none}
 .landing .treasure-discover{padding-top:45px}
 #mega .mega-all{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
 #mega .mega-group{padding:13px}
 #mega .mega-group h3{font-size:16px}
 #mega .mega-group a{font-size:14px}
 .hub-cards{grid-template-columns:1fr}
}
@media(max-width:430px){
 .landing .museum-hero{height:340px}
 .landing .museum-copy{left:27%;top:27px;width:70%}
 .landing .museum-copy h1{font-size:30px}
 .landing .museum-copy h2{font-size:16px}
 .landing .museum-copy p{font-size:10px}
 .landing .hero-contribute a{min-height:107px;font-size:12px;gap:6px}
 .landing .hero-contribute a>span:first-child{font-size:22px}
 .landing .hero-contribute a small{font-size:10px}
 #mega .mega-all{grid-template-columns:1fr}
 #mega .mega-layout .links{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.landing .hero-contribute a{transition:none;transform:none!important}}

/* V6: једноредни натпис, померена чаршија са чесмом и фото-картице брендова. */
.landing .museum-hero{background:#cfb387}
.landing .hero-background{
  left:17%;right:0;top:0;width:83%;height:100%;inset:auto 0 auto auto;
  object-fit:cover;object-position:center center;
  filter:contrast(1.04) saturate(1.10);
}
.landing .draped-rug{width:23.5%;mask-image:linear-gradient(90deg,#000 0%,#000 80%,transparent 100%)}
.landing .hero-veil{background:linear-gradient(90deg,transparent 0%,#fff4d83d 23%,#fff9e0b5 34%,#fff9e0a0 53%,transparent 73%)}
.landing .museum-copy{top:61px;left:25.7%;width:43.5%}
.landing .museum-copy h1{font-size:clamp(25px,2.4vw,42px);line-height:1.18;letter-spacing:-.018em;white-space:nowrap;margin:11px 0 12px;color:#164635}
.landing .museum-copy h2{font-size:clamp(16px,1.8vw,27px)}
#mega.is-brands{background:linear-gradient(150deg,#12382d,#082c24);max-height:77vh}
.mega-brands{width:min(1320px,96%);margin:0 auto;padding:16px 0 22px}
.mega-brand-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.brand-photo-card{display:flex;flex-direction:column;overflow:hidden;background:#fff4e0;border:1px solid #d0aa70;border-radius:8px;box-shadow:0 5px 17px #0002;color:#1c3b30!important;text-decoration:none;transition:transform .2s,box-shadow .2s}
.brand-photo-card:hover,.brand-photo-card:focus-visible{transform:translateY(-4px);box-shadow:0 9px 27px #0004;color:#782434!important}
.brand-photo-card figure{margin:0;display:block;height:145px;background:linear-gradient(120deg,#325e46,#d9bd8d)}
.brand-photo-card img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(.95)}
.brand-photo-body{padding:13px 16px 17px;flex:1}
.brand-photo-body h3{font:700 18px/1.23 Georgia,'Times New Roman',serif;color:#772333;margin:0 0 7px}
.brand-photo-body p{font:normal 14px/1.4 Georgia,'Times New Roman',serif;color:#29392d;margin:0 0 9px}
.brand-photo-body span{font:700 13px/1.25 Georgia,serif;color:#205541}
#mega .brand-photo-card{padding:0;color:#173d30}
#mega .brand-photo-card:hover{color:#812332}
#mega .brand-photo-card figure{height:105px}
#mega .brand-photo-body{padding:11px 13px 12px}
#mega .brand-photo-body h3{font-size:17px}
#mega .brand-photo-body p{font-size:12px}
#mega .brand-photo-body span{font-size:12px}
.mega-brand-footer{text-align:center;margin-top:15px}
.mega-brand-footer a{background:#811f2d!important;border:1px solid #cba574!important;font-size:15px!important;padding:11px 20px!important;color:white!important}
.brand-hub{padding-top:22px;padding-bottom:65px}
.brand-intro{text-align:center;max-width:800px;margin:0 auto 30px}
.brand-intro h2{font:700 clamp(32px,4vw,53px)/1.2 Georgia,serif;color:#762331;margin:12px auto}
.brand-intro p{font:normal 19px/1.5 Georgia,serif}
.brand-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}
.brand-photo-grid .brand-photo-card figure{height:235px}
.brand-photo-grid .brand-photo-card h3{font-size:25px}
.brand-photo-grid .brand-photo-card p{font-size:17px}
.brand-pair{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:1050px){
  .landing .museum-copy{left:26%;width:47%;top:61px}
  .landing .museum-copy h1{font-size:clamp(25px,2.7vw,35px)}
  .mega-brand-list{grid-template-columns:repeat(3,minmax(0,1fr))}
  .brand-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .landing .hero-background{left:13%;width:87%;object-position:60% center}
  .landing .draped-rug{width:25%}
  .landing .hero-veil{background:linear-gradient(90deg,transparent 4%,#fff9e0bc 32%,#fff8e2c9 64%,#fff8e230 100%)}
  .landing .museum-copy{top:42px;left:22%;width:76%}
  .landing .museum-copy h1{font-size:clamp(21px,4.55vw,33px);white-space:nowrap;letter-spacing:-.04em}
  .landing .museum-copy h2{font-size:clamp(17px,3.8vw,24px)}
  .mega-brand-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .brand-photo-grid,.brand-pair{grid-template-columns:repeat(2,minmax(0,1fr))}
  #mega .brand-photo-card figure{height:96px}
}
@media(max-width:430px){
  .landing .museum-copy{top:40px;left:20%;width:79%}
  .landing .museum-copy h1{font-size:clamp(19px,5vw,24px)}
  .landing .museum-copy h2{font-size:17px}
  .mega-brand-list{grid-template-columns:1fr}
  .brand-photo-grid,.brand-pair{grid-template-columns:1fr}
  .brand-photo-grid .brand-photo-card figure{height:190px}
}
@media(prefers-reduced-motion:reduce){.brand-photo-card{transition:none}.brand-photo-card:hover{transform:none}}

/* V6 card markers and inner brand pages */
.brand-photo-card figure{position:relative}
.brand-photo-label{position:absolute;left:10px;bottom:9px;background:#173d30e0;color:#fff1d8;padding:4px 9px;border-radius:4px;font:normal 11px/1.25 Arial,sans-serif;letter-spacing:.02em}
.brand-detail-layout{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:32px;align-items:center;margin-bottom:40px;background:#fff2dd;border:1px solid #cfab76;padding:22px;border-radius:9px}
.brand-detail-photo{margin:0;background:#dfc499}
.brand-detail-photo img{width:100%;height:310px;object-fit:cover;display:block}
.brand-detail-photo figcaption{font:normal 13px/1.3 Georgia,serif;color:#564433;padding:10px 12px}
.brand-detail-copy h2{font:700 clamp(30px,3vw,43px)/1.2 Georgia,serif;color:#752232;margin:16px 0}
.brand-detail-copy p{font:normal 19px/1.5 Georgia,serif;color:#223f33}
@media(max-width:760px){.brand-detail-layout{grid-template-columns:1fr}.brand-detail-photo img{height:220px}}


/* V7 — lower the crop to PEOPLE, Guševica fountain and the Jonić shop; shorten the banner. */
@media (min-width: 761px) {
 .landing .museum-hero { height: 395px; }
 .landing .hero-background { left: 14%; width: 86%; object-fit: cover; object-position: 50% 50%; }
 .landing .draped-rug { width: 19%; object-position: left center; }
 .landing .hero-veil { background: linear-gradient(90deg, transparent 0%, #fff6de26 20%, #fff7e877 33%, #fff7e377 51%, #fff4db1e 67%, transparent 79%); }
 .landing .museum-copy { left: 27.5%; top: 30px; width: 40.5%; text-shadow:0 1px 5px #fff1d7,0 0 12px #fff5e6; }
 .landing .museum-copy h1 { font-size:clamp(25px,2.3vw,41px); white-space:nowrap; }
 .landing .museum-copy h2 { font-size:clamp(18px,1.6vw,25px); }
 .landing .hero-contribute { margin-top:-13px; }
}
@media (max-width:760px) {
 .landing .museum-hero { height: 335px; }
 .landing .hero-background { left: 11%; width: 89%; object-fit:cover; object-position: 67% center; }
 .landing .draped-rug { width: 23%; }
 .landing .hero-veil {background:linear-gradient(90deg,transparent 0%,#fffae072 18%,#fff7e2c0 35%,#fff8e2a1 83%,transparent)}
 .landing .museum-copy { top: 34px; left: 23%; width:75%; }
 .landing .museum-copy h1 { font-size:clamp(19px,4.55vw,32px); }
}
@media (max-width:430px) {
 .landing .museum-hero { height:320px; }
 .landing .museum-copy { top:30px; left:21%; width:78%; }
 .landing .museum-copy h1 { font-size:clamp(18px,4.6vw,24px); }
}
/* Dedicated, editorial call for authentic literary recollections. */
.literary-call {background:linear-gradient(135deg,#fff8eb,#e9ddc6);border:1px solid #b89c71;border-left:7px solid #76222f;box-shadow:0 10px 28px #70523926;padding:clamp(23px,3.5vw,48px);margin:34px auto 24px;color:#183b30;}
.literary-call .literary-overline {display:block;color:#986e39;letter-spacing:.17em;font:700 13px Arial,sans-serif;margin-bottom:14px;}
.literary-call h2 {color:#75212d;font:700 clamp(36px,5vw,62px)/1.05 Georgia,serif;margin:0 0 8px;}
.literary-call .literary-subtitle {font:normal clamp(20px,2.5vw,30px)/1.3 Georgia,serif;color:#174032;margin-bottom:27px;}
.literary-call p {font:normal clamp(17px,1.6vw,21px)/1.65 Georgia,serif;margin:0 0 16px;}
.literary-call .literary-note {margin-top:20px;padding:15px 18px;background:#f2e7d4;border-left:3px solid #b59668;font-size:16px;line-height:1.6;}
.visitor-form .consent-row {display:flex;gap:12px;align-items:start;line-height:1.55;}
.visitor-form .consent-row input[type=checkbox]{flex:none;margin-top:7px;}


/* V8 — composition shows Guševica fountain (LEFT) and complete Mladen Jonić sign (RIGHT).
   Image is a horizontal archival illustration crop, not an artificial reconstruction. */
@media (min-width: 761px) {
  .landing .museum-hero { height:clamp(257px,23.3vw,382px); }
  .landing .hero-background {
    inset:0 0 0 auto; left:11%; right:0; top:0; bottom:0; width:89%; height:100%;
    object-fit:cover; object-position:center center;
  }
  .landing .draped-rug {width:16%;object-position:left center;mask-image:linear-gradient(90deg,#000 0%,#000 74%,transparent 100%)}
  .landing .hero-veil {background:linear-gradient(90deg,transparent 0%,transparent 17%,#f8e8cc34 23%,#fffae3c6 32%,#fffae3b8 54%,#fff3d41a 68%,transparent 77%)}
  .landing .museum-copy {left:27%;top:clamp(10px,2.5vw,35px);width:41%;}
  .landing .museum-copy h1{font-size:clamp(25px,2.35vw,41px)}
  .landing .museum-copy h2{font-size:clamp(17px,1.7vw,25px)}
  .landing .museum-copy p{font-size:clamp(12px,1.2vw,16px)}
}
@media (min-width:761px) and (max-width:1060px){
  .landing .museum-hero{height:257px}
  .landing .museum-copy{top:9px;left:25%;width:46%}
  .landing .museum-copy .flourish{font-size:17px}
  .landing .museum-copy h1{font-size:clamp(22px,2.35vw,29px);margin:4px 0 5px}
  .landing .museum-copy h2{font-size:clamp(16px,1.8vw,20px);margin:3px 0 8px}
  .landing .museum-copy .flourish-line{margin:3px auto;font-size:18px}
  .landing .museum-copy p{font-size:12px;line-height:1.3}
}
@media (max-width:760px) {
  .landing .hero-background {left:7%;width:93%;object-fit:cover;object-position:50% center}
  .landing .draped-rug{width:17%;mask-image:linear-gradient(90deg,#000,#000 60%,transparent 100%)}
  .landing .hero-veil{background:linear-gradient(90deg,transparent 0%,#fff4d373 19%,#fff8e5c5 35%,#fff8e3ae 71%,#fff4d347 100%)}
  .landing .museum-copy{left:18%;width:80%}
}
.literary-call strong{font-weight:700}
.visitor-form .place-hint{padding:10px 14px;background:#f4e7cc;color:#173b2f;border-left:3px solid #b38b52;line-height:1.55}
.visitor-form .story-photo-label{padding:18px;background:#f0e4cb;border:1px solid #c0a375;border-radius:5px}
.visitor-form .story-photo-label small{display:block;font:normal 14px/1.4 Georgia,serif;margin-top:8px;color:#453e30}

/* V9 — жива „Некад и сад“ галерија, приче и одобравани коментари. */
.reader-gallery{margin:40px 0}.reader-gallery>h2{color:#173b30;font:700 clamp(27px,3vw,40px) Georgia,serif;border-bottom:2px solid #b9a077;padding-bottom:12px}
.comparison-entry{background:#fff8e9;border:1px solid #c9b18b;padding:clamp(16px,3vw,30px);margin:24px 0;box-shadow:0 8px 18px #4e32131b}.comparison-entry>h3{color:#75232c;font-size:clamp(22px,2.6vw,32px)}
.submitted-compare{height:clamp(240px,40vw,490px);border:3px solid #eee0c9}.slider-label{font-weight:700;margin:13px 0}.slider-label input{accent-color:#81232f;margin-top:13px}
.single-photo{margin:14px 0}.single-photo img{max-width:100%;max-height:580px;object-fit:contain;background:#eadcc3;display:block;margin:auto}.single-photo figcaption{font-size:15px;margin-top:10px;color:#5f513f}
.compare-invite,.reader-actions{margin:20px 0 30px}.reader-actions .btn,.compare-invite .btn{background:#154835;font-size:clamp(15px,1.7vw,19px);font-weight:700}
.heritage-comments{margin:28px 0 35px;padding:clamp(18px,3vw,35px);background:linear-gradient(135deg,#fef8e8,#f0e5cf);border:1px solid #c5ab80;border-top:5px solid #205444;box-shadow:0 5px 14px #46301b16}
.comments-heading h3{font:700 clamp(26px,2.8vw,38px) Georgia,serif;color:#722330;margin:5px 0 13px}.heritage-comments .eyebrow{margin:0}.comment-item{padding:13px 4px;border-bottom:1px solid #ccb790}.comment-item b{color:#1d4938}.comment-item small{margin-left:12px;color:#735b3c}.comment-item p{margin:8px 0;white-space:pre-wrap;overflow-wrap:anywhere}.quiet-comment{font-style:italic;color:#71614b}
.comment-form{max-width:880px;margin-top:25px;border-top:1px solid #bba478;padding-top:20px}.comment-form h4{font-size:23px;color:#1a4033;margin:0 0 18px}.comment-form textarea{min-height:96px}.moderation-policy{background:#f7e8dc;border-left:4px solid #832a34;color:#5b2c2d;padding:13px 16px;font:15px/1.6 Georgia,serif}.comment-form .consent-row{display:flex;align-items:flex-start;gap:9px}.comment-form .consent-row input{flex:none;margin-top:8px}.comment-form .btn{background:#174934;font-weight:700}
.compare-photo-upload{padding:18px;background:#ecdfc3;border:1px solid #c5a977;margin:15px 0}.compare-photo-upload h3{font-size:24px;color:#71313a}.compare-photo-upload p{font-size:16px}.admin-comment-queue{margin-top:55px}.admin-comment-queue h2{font-size:27px}.admin-comment-card{background:#fffaf0;margin:12px 0;padding:20px;overflow-wrap:anywhere}.admin-comment-card button{margin:3px}.admin-list article .count{overflow-wrap:anywhere}
@media(max-width:650px){.heritage-comments{padding:15px}.comment-form .row{grid-template-columns:1fr}.comparison-entry{padding:13px}.compare-photo-upload{padding:14px}.submitted-compare{height:260px}}


/* V10 — Facebook groups in a restrained bar above the masthead. */
.facebook-groups{position:relative;z-index:15;display:flex;align-items:center;justify-content:center;gap:clamp(7px,1vw,17px);min-height:39px;padding:6px 15px;background:#f6ead3;border-bottom:1px solid #d8ba88;color:#1a4033;font:normal clamp(12px,1.05vw,15px)/1.3 Georgia,'Times New Roman',serif;flex-wrap:wrap}
.facebook-intro{color:#694d3a;font-weight:bold}
.facebook-groups a{display:inline-flex;align-items:center;gap:7px;color:#174939;text-decoration:none;padding:3px 7px;border-radius:5px;transition:background .2s,color .2s}
.facebook-groups a:hover,.facebook-groups a:focus-visible{background:#e8dac0;color:#7c202b;text-decoration:underline;text-underline-offset:3px}
.facebook-groups .fb-icon{display:inline-grid;place-items:center;background:#1877f2;color:#fff;border-radius:4px;width:21px;height:21px;flex:none;font:700 18px/1 Arial,Helvetica,sans-serif;padding-top:2px}
.facebook-groups .fb-open{font:normal 12px Arial,sans-serif;color:#547362}
.fb-sep{color:#ab956e}
/* New photo supplied for the Mirjana card only; other card imagery remains unchanged. */
.landing .treasure-card.mirjana-card img{object-position:50% 56%;background:#dec6be}
/* Dignified photo layout on Mirjana's own page, without fictitious biographical claims. */
.mirjana-portrait-feature{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,1.4fr);gap:clamp(23px,4vw,70px);align-items:center;max-width:1050px;margin:25px auto 60px;padding:clamp(16px,3vw,42px);border:1px solid #d4b990;background:linear-gradient(115deg,#f9edda,#fff9ef);box-shadow:0 8px 28px #5138191f}
.mirjana-portrait{margin:0;max-width:355px;border:9px solid #fff9ea;box-shadow:0 5px 25px #5c332748;background:#e2cec6}
.mirjana-portrait img{width:100%;height:auto;display:block}
.mirjana-portrait figcaption{padding:10px 12px;text-align:center;color:#742b38;font:normal 17px/1.3 Georgia,serif}
.mirjana-portrait-copy h2{font:700 clamp(30px,3.5vw,54px)/1.1 Georgia,serif;color:#77202b;margin:12px 0 22px}
.mirjana-portrait-copy p{font:normal clamp(17px,1.7vw,22px)/1.6 Georgia,serif;color:#224537;max-width:650px}
.mirjana-related{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.mirjana-related .btn{padding:12px 17px;font-size:16px}
@media(max-width:760px){
 .facebook-groups{gap:5px 9px;padding:7px 9px;min-height:unset;font-size:12px}
 .facebook-groups .facebook-intro{flex:0 0 100%;text-align:center}
 .facebook-groups .fb-sep{display:none}
 .facebook-groups a{max-width:100%;padding:3px 4px}
 .mirjana-portrait-feature{grid-template-columns:1fr;gap:23px;margin-top:15px}
 .mirjana-portrait{width:min(100%,350px);margin:0 auto}
 .mirjana-portrait-copy h2{text-align:center}
}
@media(max-width:450px){.facebook-groups{flex-direction:column;align-items:center}.facebook-groups a{font-size:12px;text-align:center}.facebook-groups .fb-icon{width:19px;height:19px}}
@media(prefers-reduced-motion:reduce){.facebook-groups a{transition:none}}

/* V11: social links no longer occupy the center; left and right margins. */
.facebook-groups{justify-content:space-between;flex-wrap:nowrap;padding:5px clamp(12px,2.2vw,40px);min-height:34px;gap:14px}
.facebook-groups a{flex:0 1 auto;max-width:48%;font-size:clamp(12px,1vw,15px);white-space:normal}
.facebook-groups a:last-child{margin-left:auto;justify-content:flex-end}
.facebook-groups .facebook-intro,.facebook-groups .fb-sep{display:none}
/* High-quality photographs provided for the primary cards remain separate from other content. */
.landing .treasure-card img{object-position:center center}
.landing .treasure-card[href="#places"] img{object-position:center 38%}
.landing .treasure-card[href="#pirot"] img{object-position:center 57%}
.landing .treasure-card[href="#evenings"] img{object-position:center 53%}
.landing .treasure-card[href="#viewpoint"] img{object-position:center 57%}
.landing .treasure-card[href="#g1-7"] img{object-position:center 42%}
.story-photo-card img{display:block;width:100%;height:205px;object-fit:cover;object-position:center 44%}
.story-photo-card[href="#mirjana"] img{object-position:center center}
.story-photo-card[href="#evenings"] img{object-position:center 45%}
.story-photo-card[href="#viewpoint"] img{object-position:center 56%}
.brand-photo-card img[src$="grncarija-bez-pozadine.png"], .brand-detail-photo img[src$="grncarija-bez-pozadine.png"]{object-fit:contain!important;object-position:center center;background:#efe3cd;padding:10px;box-sizing:border-box}
@media(max-width:760px){.facebook-groups{justify-content:space-between;flex-direction:row;align-items:center;padding:6px 8px;gap:5px}.facebook-groups a{max-width:49%;font-size:clamp(10px,2.4vw,13px);line-height:1.15}.facebook-groups a:last-child{margin-left:auto;text-align:right}.facebook-groups .fb-icon{width:19px;height:19px;font-size:16px}.story-photo-card img{height:155px}}

.pottery-card img, .pottery-photo img{object-fit:contain!important;background:#efe3cd;padding:10px;box-sizing:border-box}


/* V12 — dedicated ornamental house on the green navigation ribbon.
   Supplied RGBA cutout already has transparent background, preserved in WebP. */
#nav{overflow:visible;isolation:isolate}
#nav .nav-house{
  position:absolute;z-index:2;pointer-events:none;
  left:clamp(5px,1vw,18px);bottom:0;
  display:block;width:clamp(104px,10vw,172px);height:auto;
  filter:drop-shadow(0 5px 5px #001d19a0);
}
/* Replace the small upper-left sepia sketch rather than superimpose the two. */
.heritage-header::before{display:none}
@media(min-width:761px){
  #nav .heritage-nav-row.nav-desktop{padding-left:clamp(110px,10.5vw,182px)}
}
@media(max-width:760px){
  #nav .nav-house{width:clamp(55px,10vw,73px);bottom:calc(100% - 6px);left:5px;filter:drop-shadow(0 3px 3px #152d2480)}
}
/* Three images deliberately replaced: church card and first lower Mirjana card.
   Keep the other portraits, pages and source images untouched. */
.landing .treasure-card[href="#g4"] img{object-position:center 52%}
.story-photo-card[href="#mirjana"] img{object-position:center 35%}
/* На малим екранима кућица стоји у самој зеленој траци, испред менија,
   без преклапања поднаслова Пиротске ризнице. */
@media(max-width:760px){
  #nav .nav-house{width:clamp(48px,12vw,62px);bottom:0;left:4px}
  #nav .heritage-nav-row.nav-mobile{padding-left:clamp(52px,13vw,68px);box-sizing:border-box}
  #nav .nav-mobile button{font-size:clamp(10px,2.9vw,13px);padding:9px 4px}
}

/* v17: high-contrast subordinate links and captions in menus. */
#mega .mega-all .mega-group div a,
#mega .mega-all .mega-group div a:visited{color:#164636!important;font-weight:600;font-size:clamp(15px,1.05vw,17px);line-height:1.45;text-shadow:none}
#mega .mega-all .mega-group h3 a{color:#772530!important}
#mega .mega-all .mega-group div a:hover,#mega .mega-all .mega-group div a:focus-visible{color:#852535!important;background:#fff4db}
#mega .mega-brand-list .brand-photo-body p{color:#213d33!important;font-size:14px;line-height:1.45}
#mega .mega-brand-list .brand-photo-body span{color:#10543d!important;font-size:13px}
#mega .mega-brand-list .brand-photo-body h3{color:#752532!important}

/* Телефон: главне странице су доступне одвојено од прочишћеног „Све рубрике“. */
#nav .nav-mobile-shortcuts{display:none}
@media(max-width:760px){
 #nav .nav-mobile-shortcuts{display:flex;align-items:center;gap:6px;width:100%;box-sizing:border-box;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scroll-snap-type:x proximity;border-top:1px solid #ffffff26;padding:6px 3px 3px}
 #nav .nav-mobile-shortcuts a{flex:0 0 auto;min-height:30px;padding:8px 10px!important;font-size:clamp(10px,2.8vw,12px)!important;border:1px solid #d1a86a65;border-radius:5px;color:#f7e8c5;background:#15493b;scroll-snap-align:start;text-transform:none;letter-spacing:0}
 #nav .nav-mobile-shortcuts a:hover{background:#6d1e2b}
}

/* V18 — sažeti naslovi mega-menija, stranice sa zasebnim karticama i poziv da sačuvamo ljude */
#mega .mega-titles-only{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 18px;}
#mega .mega-titles-only .mega-group{border:1px solid #b99c65;background:#fdf2d8;padding:0;border-radius:6px;box-shadow:0 3px 0 #071e1830;}
#mega .mega-titles-only .mega-group h3{margin:0;font-size:clamp(16px,1.25vw,20px);font-weight:700;line-height:1.36;}
#mega .mega-titles-only .mega-group h3 a{display:flex;align-items:center;padding:16px 18px;color:#173c32!important;min-height:70px;text-decoration:none;}
#mega .mega-titles-only .mega-group h3 a:hover,#mega .mega-titles-only .mega-group h3 a:focus-visible{background:#fff9e9;color:#752132!important;outline:2px solid #c09957;outline-offset:-2px;}
#mega .mega-brands .mega-brand-list{margin-top:12px;}
.heritage-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:10px 0 28px;}
.heritage-section-card{min-height:185px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:12px;background:linear-gradient(130deg,#fff7e5,#ecddc0);border:2px solid #c4a16b;border-radius:8px;color:#143c2e;text-decoration:none;padding:20px;box-shadow:0 12px 26px #61462b16;transition:transform .2s,box-shadow .2s;}
.heritage-section-card:hover,.heritage-section-card:focus-visible{transform:translateY(-3px);box-shadow:0 15px 25px #61462b33;border-color:#7e2531;}
.heritage-section-card h3{margin:0;font:700 clamp(22px,2.1vw,31px)/1.2 Georgia,'Times New Roman',serif;color:#721e2a;}
.heritage-section-symbol{color:#b18b4d;font-size:28px;line-height:1;}
.heritage-section-card .section-go{color:#1b4b3b;font:600 14px Georgia,serif;}
.section-return{display:inline-block;padding:12px 19px;background:#173b30;color:#ffedca;margin:3px 0 20px;border-radius:5px;}
.landing .memory-mission{padding:clamp(36px,4.5vw,76px) 22px;background:linear-gradient(135deg,#f6ead1,#fff9e8 48%,#edddbc);position:relative;overflow:hidden;border-top:4px solid #b38d54;border-bottom:4px solid #b38d54;}
.landing .memory-mission:before,.landing .memory-mission:after{content:'❖';position:absolute;top:20px;font-size:95px;opacity:.12;color:#8b2931;}
.landing .memory-mission:before{left:-20px}.landing .memory-mission:after{right:-20px}
.landing .memory-mission-inner{max-width:990px;margin:0 auto;text-align:center;position:relative;z-index:1;}
.landing .memory-kicker{display:block;font:700 12px/1.5 Arial,sans-serif;letter-spacing:.22em;color:#9b763e;margin-bottom:13px;}
.landing .memory-mission h2{font:700 clamp(32px,4vw,56px)/1.15 Georgia,serif;color:#751e29;margin:0 auto 25px;}
.landing .memory-mission p{font:normal clamp(16px,1.35vw,20px)/1.65 Georgia,serif;margin:0 auto 18px;color:#1c3931;max-width:930px;}
.landing .memory-mission strong{color:#6f1f2b;}
.landing .memory-mission .memory-book-promise{font-style:italic;padding:19px 30px 6px;border-top:1px solid #b99a65;max-width:800px;margin:24px auto 0;color:#6c2530;}
.landing .memory-book-promise span{font-size:24px;margin-right:8px;color:#a28145;}
@media(max-width:860px){#mega .mega-titles-only{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){#mega .mega-titles-only{grid-template-columns:1fr;gap:9px}#mega .mega-titles-only .mega-group h3 a{min-height:51px;padding:12px 15px}.heritage-section-grid{grid-template-columns:1fr;gap:13px}.heritage-section-card{min-height:142px}.landing .memory-mission{padding:38px 18px}.landing .memory-mission h2{font-size:34px}.landing .memory-mission .memory-book-promise{padding:16px 0 0}}

/* v19 — Пирот некад и сад: две аутентичне фотографије хотела Национал */
.heritage-before-after{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0 24px}
.heritage-photo{min-width:0;margin:0;background:#f7edda;border:1px solid #b99a69;box-shadow:0 6px 18px #3c2e2017;overflow:hidden}
.heritage-photo a{display:flex;align-items:center;justify-content:center;height:390px;background:#e8ddc7;cursor:zoom-in}
.heritage-photo img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}
.heritage-photo figcaption{min-height:70px;display:flex;align-items:center;gap:12px;padding:12px 17px;font-size:18px;color:#243e32}
.historical-badge{background:#70252d;color:#fff5db;font:bold 12px/1.4 Arial,sans-serif;letter-spacing:.09em;padding:8px 10px;white-space:nowrap}
.heritage-photo:nth-child(2) .historical-badge{background:#174d3d}
.historical-slider-details{border:1px solid #cdb38b;margin:18px 0;background:#f8efd9}
.historical-slider-details>summary{cursor:pointer;padding:18px 23px;color:#174a39;font-weight:bold;font-size:21px;list-style-position:inside}
.historical-slider-details[open]>summary{border-bottom:1px solid #cfb88f}
.historical-slide{padding:16px 20px 7px}
.compare-nacional{height:490px;border:2px solid #dac6a1;background:#e9ddc8}
.compare-nacional .layer{background-size:contain;background-repeat:no-repeat}
.compare-nacional .before{background-color:#544941}
.compare-nacional .after{background-color:#444b40}
.comparison-control{font-size:16px;padding:10px 4px;color:#174a39;font-weight:bold}
.historical-context{font-size:15px;line-height:1.7;color:#54473b;background:#f4e8d0;padding:12px 15px;border-left:3px solid #a9824c}
/* v19 — вечери пиротског говора: календар и фото-архива по датумима */
.speech-evenings-page{padding-top:40px}
.speech-intro{max-width:1020px;margin:0 auto 40px;text-align:center}
.speech-intro h2{font-size:clamp(28px,3.4vw,47px);color:#173f32;margin:0 0 15px}
.speech-intro p{font-size:19px;line-height:1.8;color:#514737}
.speech-nav-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:50px}
.speech-go-card{border:1px solid #b8a078;border-top:5px solid #792b33;background:linear-gradient(135deg,#fff8e9,#ead9b9);padding:27px 30px;box-shadow:0 10px 22px #3e301619;color:#153d32;transition:transform .2s ease}
.speech-go-card:hover{transform:translateY(-3px)}
.speech-go-card>span:first-child{font-size:35px;color:#7a2931}
.speech-go-card h3{font-size:clamp(22px,2.7vw,32px);margin:12px 0 6px}
.speech-go-card p{margin:0 0 20px;color:#51483c}
.speech-go-card>span:last-child{color:#792b33;font-weight:bold}
.speech-block{margin:35px 0 62px;scroll-margin-top:28px;padding-top:14px;border-top:3px solid #bb9765}
.speech-block>.eyebrow{display:block;margin:16px 0 5px;color:#835c2e}
.speech-block h2{color:#183f32;font-size:clamp(28px,3.2vw,44px);margin:0 0 20px}
.speech-block>p{color:#60523d;max-width:900px;font-size:18px}
.speech-empty{margin-top:25px;max-width:960px;background:#f9f2e3;border:1px solid #ceb898;min-height:145px;padding:24px 30px}
.speech-empty h3{color:#702630;margin:0 0 8px;font-size:26px}
.speech-empty p{font-size:17px;margin:0;line-height:1.7}
.speech-event-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.speech-event-card{border:1px solid #c6ad88;padding:22px;background:#fff8e9}
.speech-event-card time{font:bold 16px Arial;color:#7e2d37}
.speech-event-card h3{color:#173e31}
.speech-event-program p{white-space:pre-wrap}
.speech-archive-date{margin:13px 0;background:#fff9e9;border:1px solid #c4a77a;padding:14px}
.speech-archive-date>summary{cursor:pointer;font-size:19px;color:#204334;padding:10px}
.speech-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}
.speech-media-grid button{border:1px solid #ceb893;padding:0;background:transparent;cursor:zoom-in}
.speech-media-grid img{display:block;width:100%;height:210px;object-fit:cover}
.speech-media-grid video{height:210px;background:#173c32}
@media(max-width:700px){.heritage-before-after,.speech-nav-cards,.speech-event-list{grid-template-columns:1fr}.heritage-photo a{height:auto;min-height:0}.heritage-photo img{height:auto;max-height:none}.heritage-photo figcaption{min-height:60px;font-size:16px}.compare-nacional{height:310px}.historical-slide{padding:10px}.speech-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.speech-evenings-page{padding-top:25px}}

/* V20: падајући мени непрозирно прекрива садржај, без приказивања картице из позадине. */
body.mega-open{overflow:hidden}
#mega:not([hidden]){position:fixed!important;top:var(--mega-top,220px)!important;left:0;right:0;bottom:0;max-height:none!important;height:calc(100dvh - var(--mega-top,220px));overflow-y:auto!important;overscroll-behavior:contain;z-index:1000;padding:20px clamp(16px,3vw,56px) 55px;background:#10382e!important;box-shadow:0 8px 24px #0008}
#mega .mega-heading{max-width:1320px;margin:auto;position:relative}
#mega .mega-one-way{max-width:700px;margin:24px auto}
#mega .mega-one-way a{display:block;padding:25px 28px;border-radius:8px;background:#f8ebd3;border:2px solid #d3b67e;color:#173f32!important;text-align:center;font:700 clamp(20px,3vw,30px)/1.35 Georgia,serif;text-decoration:none;box-shadow:0 7px 23px #0005}
#mega .mega-one-way a:hover,#mega .mega-one-way a:focus-visible{background:#fff8e8;color:#772734!important;outline:3px solid #b18b51}
/* Засебне странице Приче из Пирота и Приче са села */
.story-hub-page{background:linear-gradient(#f9edda,#f3e3c8);min-height:65vh;padding-bottom:70px}
.story-hub-banner{text-align:center;padding:clamp(45px,6vw,85px) 18px 56px;color:#fff0cf;background:linear-gradient(120deg,#0b3025ee,#184738ec),url('../images/dopune-v11/fotografija-03.webp') center 42%/cover}
.story-hub-kicker{display:block;text-transform:uppercase;letter-spacing:.15em;color:#d9bb88;font:600 13px/1.5 Arial,sans-serif;margin-bottom:18px}
.story-hub-banner h1{font:700 clamp(36px,5vw,68px)/1.1 Georgia,serif;color:#fdf1d7;margin:0 0 22px}
.story-hub-banner p{max-width:850px;margin:0 auto;font:normal clamp(18px,1.8vw,24px)/1.6 Georgia,serif;color:#fff1d9}
.story-hub-inner{max-width:1150px;margin:0 auto}
.story-hub-intro{background:#fff5e5;padding:clamp(24px,4vw,45px);border:1px solid #d2b785;border-radius:10px;margin:-20px auto 32px;position:relative;box-shadow:0 7px 28px #533e201f;text-align:center}
.story-hub-intro h2{font:700 clamp(28px,3vw,42px)/1.2 Georgia,serif;color:#762737;margin:0 0 14px}
.story-hub-intro p{font:normal clamp(17px,1.5vw,21px)/1.6 Georgia,serif;color:#284638;max-width:900px;margin:0 auto 24px}
.story-hub-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:14px}
.story-hub-actions .btn{min-width:230px;text-align:center;display:inline-flex;justify-content:center;align-items:center}
.story-formats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:35px 0 0}
.story-format-tab{display:flex;flex-direction:column;align-items:center;gap:8px;border:2px solid #c6a875;border-radius:10px;background:#fdf5e7;color:#174636;min-height:164px;padding:20px 15px;cursor:pointer;transition:background .2s,transform .2s;box-shadow:0 4px 14px #805c3015;text-align:center}
.story-format-tab .story-format-icon{font:normal 34px/1 Georgia,serif;color:#822634}
.story-format-tab strong{font:700 clamp(18px,2vw,27px)/1.25 Georgia,serif}
.story-format-tab small{font:normal 15px/1.4 Georgia,serif;color:#3d5645}
.story-format-tab.active{background:#164838;color:#fff4d9;border-color:#b8995e;transform:translateY(-2px)}
.story-format-tab.active .story-format-icon,.story-format-tab.active small{color:#f1daaa}
.story-format-tab:focus-visible{outline:3px solid #ad7625;outline-offset:2px}
.story-archive-panels{padding:30px clamp(20px,3vw,45px) 40px;background:#fff7e9;border:1px solid #d0b383;border-top:0;border-radius:0 0 10px 10px;min-height:270px;box-shadow:0 9px 22px #674b2317}
.story-format-panel[hidden]{display:none!important}
.story-format-panel h2{color:#762532;font:700 clamp(26px,3vw,37px)/1.25 Georgia,serif;margin:0 0 18px}
.story-archive-empty{text-align:center;padding:30px 15px;border:1px dashed #bba077;background:#fff9ef;border-radius:8px}
.story-archive-empty span{font-size:28px;color:#b18f5a}
.story-archive-empty p{font:normal 18px/1.5 Georgia,serif;color:#254b3b;margin:15px 0}
.story-archive-empty a{font:bold 17px Georgia,serif;color:#812e3b}
.story-archive-footer{text-align:center;padding:28px 0;font:normal 17px/1.8 Georgia,serif}
.story-mini-link{color:#1b5a45;font-weight:700}
.story-village-chooser{display:grid;grid-template-columns:1.1fr 1fr auto;gap:24px;align-items:end;border:1px solid #bca475;padding:25px;background:#ebddc2;border-radius:8px}
.story-village-chooser h2{color:#71303a;font:700 28px Georgia,serif;margin:0 0 7px}
.story-village-chooser p{color:#284436;margin:0}
.story-village-chooser label{display:flex;flex-direction:column;gap:8px;color:#254538;font-weight:bold}
.story-village-chooser select{width:100%;font:normal 16px Georgia,serif;min-height:47px;background:#fff7e9;border:1px solid #c3a982;border-radius:4px;color:#254437;padding:6px}
@media(max-width:800px){.story-village-chooser{grid-template-columns:1fr}.story-formats{gap:10px}.story-format-tab{min-height:145px;padding:14px 8px}.story-format-tab small{font-size:12px}}
@media(max-width:550px){.story-formats{grid-template-columns:1fr;gap:8px}.story-format-tab{min-height:0;flex-direction:row;align-items:center;text-align:left;gap:12px}.story-format-tab strong{font-size:20px}.story-format-tab small{display:none}.story-hub-banner{padding:36px 15px 42px}.story-hub-actions .btn{width:100%}.story-hub-intro{margin:-12px 12px 25px}}

/* Пиротске вечери — једноставне три картице. Стилови су ограничени само на ову страницу. */
.speech-simple .story-hub-banner{padding-bottom:64px}
.speech-simple .story-hub-banner h1{margin-bottom:14px}
.speech-simple .speech-simple-motto{margin-top:13px;font-size:clamp(17px,1.8vw,22px);font-style:italic;color:#f7dcaa}
.speech-simple .story-hub-intro{max-width:910px;padding:27px 30px;margin-bottom:25px}
.speech-simple .story-hub-intro h2{font-size:clamp(24px,2.7vw,34px)}
.speech-simple .story-hub-intro p{margin:0;font-size:clamp(17px,1.6vw,20px)}
.speech-simple .speech-choice-grid{gap:18px;margin:22px 0 0}
.speech-simple .story-format-tab{border:2px solid #c7a46b;border-radius:13px 13px 0 0;min-height:240px;padding:30px 19px 21px;gap:13px;background:linear-gradient(155deg,#fff9ed,#ecd9b7);box-shadow:0 8px 20px #5d412119;transition:background .18s,box-shadow .18s;text-align:center}
.speech-simple .story-format-tab:hover{background:#fffdf6;box-shadow:0 9px 20px #64482728}
.speech-simple .story-format-tab.active{background:#204f3e;color:#fff5da;border-color:#d3ae72;transform:none}
.speech-simple .story-format-tab .story-format-icon{font-size:43px;line-height:1.25}
.speech-simple .story-format-tab strong{font:700 clamp(21px,2vw,26px)/1.3 Georgia,serif}
.speech-simple .story-format-tab small{display:block;font:normal 17px/1.45 Georgia,serif;color:#435743}
.speech-simple .story-format-tab.active small{color:#ffefd0}
.speech-simple .speech-card-open{margin-top:auto;font:700 17px/1.4 Georgia,serif;color:#7e2936}
.speech-simple .story-format-tab.active .speech-card-open{color:#ffdfa0}
.speech-simple .speech-simple-panels{border:2px solid #d0b281;border-top:0;padding:clamp(20px,4vw,45px);min-height:270px}
.speech-simple .story-format-panel h2{margin-bottom:15px}
.speech-simple .speech-simple-help{font:normal clamp(18px,1.8vw,22px)/1.65 Georgia,serif;color:#25483a;margin:0 0 24px}
.speech-simple .speech-simple-event{background:#fffdf7;border:1px solid #d6bd92;border-left:6px solid #853144;padding:clamp(22px,3vw,33px);border-radius:10px;margin-bottom:20px;max-width:920px}
.speech-simple .speech-simple-event h3{font:700 clamp(24px,2.6vw,34px)/1.25 Georgia,serif;color:#204a3a;margin:0 0 12px}
.speech-simple .speech-simple-event p{font:normal 18px/1.65 Georgia,serif;color:#4a4237;margin:9px 0}
.speech-simple .speech-simple-date{font-weight:700!important;color:#843343!important}
.speech-simple .speech-simple-empty{border:1px dashed #c7aa79;border-radius:9px;padding:27px;text-align:center;background:#fffaf0}
.speech-simple .speech-simple-empty span{font-size:30px;color:#9e7846}
.speech-simple .speech-simple-empty p{font:normal 20px/1.7 Georgia,serif;color:#214535;margin:8px 0}
.speech-simple .speech-simple-footnote{font:normal 17px/1.55 Georgia,serif;color:#625844;margin:18px 0 0}
.speech-simple .speech-quiet-hint{font-size:17px!important;color:#625f56!important}
.speech-simple .speech-join-button{display:block;margin:25px 0 18px;background:#246b42;color:#fff;border:2px solid #1c5533;border-radius:10px;min-height:70px;max-width:100%;padding:17px 30px;font:700 clamp(18px,2.1vw,24px)/1.3 Georgia,serif;cursor:pointer;box-shadow:0 5px 14px #142c201e}
.speech-simple .speech-join-button:hover,.speech-simple .speech-join-button:focus-visible{background:#14502d;outline:3px solid #e0ae4b;outline-offset:3px}
.speech-simple .speech-join-button[hidden],.speech-simple .speech-stream-wrap[hidden]{display:none!important}
.speech-simple .speech-stream-wrap,.speech-simple .speech-video-box{max-width:900px;aspect-ratio:16/9;margin:20px 0 43px}
.speech-simple .speech-stream-wrap iframe,.speech-simple .speech-video-box iframe{width:100%;height:100%;border:0;border-radius:7px;background:#152d25}
.speech-simple .speech-stream-wrap>p{font:normal 16px/1.45 Georgia,serif}
.speech-simple .speech-stream-fallback a{font-size:16px;color:#255c46;text-decoration:underline}
.speech-simple .speech-archive-item{max-width:none}
.speech-simple .speech-archive-videos{display:grid;gap:20px;margin:20px 0}
.speech-simple .speech-archive-videos video{display:block;width:100%;max-height:520px;background:#17392c}
.speech-simple .speech-archive-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;margin:15px 0}
.speech-simple .speech-archive-photos button{border:1px solid #bc9a68;padding:0;cursor:zoom-in;background:#f1e3cd}
.speech-simple .speech-archive-photos img{display:block;width:100%;height:170px;object-fit:cover}
@media(max-width:760px){.speech-simple .speech-choice-grid{grid-template-columns:1fr;gap:10px}.speech-simple .story-format-tab{border-radius:11px;min-height:125px;flex-direction:row;text-align:left;align-items:center;padding:20px;flex-wrap:wrap;gap:9px 16px}.speech-simple .story-format-tab .story-format-icon{font-size:35px}.speech-simple .story-format-tab strong{font-size:22px;flex:1}.speech-simple .story-format-tab small{font-size:17px;flex-basis:100%}.speech-simple .speech-card-open{margin-top:3px;font-size:16px}.speech-simple .speech-simple-panels{border-top:2px solid #d0b281;border-radius:9px;padding:22px 16px}.speech-simple .story-hub-intro{margin:-15px 10px 20px;padding:23px 18px}.speech-simple .speech-join-button{width:100%;font-size:20px}.speech-simple .speech-archive-photos{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:400px){.speech-simple .story-format-tab strong{font-size:20px}.speech-simple .speech-archive-photos{grid-template-columns:1fr}}


/* V56 — Пиротске вечери: изглед према достављеним фотографијама.
   Ограничено на .speech-v56, ниједна друга рубрика није измењена. */
.speech-v56.story-hub-page{background:#faf7f0;padding-bottom:80px}
.speech-v56.speech-story-hub .story-hub-banner{
 display:block;position:relative;isolation:isolate;overflow:hidden;
 padding:94px 20px 98px;text-align:center;
 color:#244b3c;background:linear-gradient(180deg,#f8f2e5 0%,#f3e6d1 100%);
 border-top:5px solid #153e33;border-bottom:6px double #ad8d51;
}
.speech-v56 .story-hub-banner::before,.speech-v56 .story-hub-banner::after{
 content:"❧";position:absolute;top:29%;font:normal clamp(130px,15vw,280px)/1 Georgia,serif;
 color:#e7d8bd;opacity:.8;pointer-events:none;z-index:-1
}
.speech-v56 .story-hub-banner::before{left:clamp(-40px,1.4vw,34px);transform:rotate(-19deg)}
.speech-v56 .story-hub-banner::after{right:clamp(-40px,1.4vw,34px);transform:scaleX(-1) rotate(-19deg)}
.speech-v56 .story-hub-kicker{
 display:block;color:#9e693c;letter-spacing:.15em;text-transform:uppercase;
 font:700 clamp(12px,1.04vw,19px)/1.35 Arial,sans-serif;margin:0 0 30px;
}
.speech-v56 .story-hub-banner h1{
 font:normal clamp(56px,7.0vw,132px)/1.07 Georgia,'Times New Roman',serif;
 color:#763d35;margin:0 0 24px;letter-spacing:-.026em;
}
.speech-v56 .story-hub-banner p.speech-hero-subtitle{
 font:normal clamp(23px,2.2vw,39px)/1.35 Georgia,serif;
 color:#765b3b;margin:0 auto 31px;max-width:1300px;
}
.speech-v56 .story-hub-banner p.speech-simple-motto{
 font:italic clamp(24px,2.12vw,38px)/1.35 Georgia,serif;
 color:#235344;margin:0 auto 29px;max-width:1300px;
}
.speech-v56 .story-hub-banner p.speech-hero-description{
 font:normal clamp(18px,1.43vw,26px)/1.4 Georgia,serif;
 color:#173f32;margin:0 auto;max-width:1200px;
}
.speech-v56 .story-hub-inner{
 max-width:1760px;width:calc(100% - clamp(36px,8.5vw,160px));margin:0 auto;padding:0;
}
.speech-v56 .story-hub-intro{
 background:transparent;border:0;border-radius:0;box-shadow:none;position:static;
 text-align:center;padding:75px 0 8px;margin:0 auto;max-width:none;
}
.speech-v56 .story-hub-intro h2{
 font:normal clamp(29px,2.7vw,50px)/1.26 Georgia,serif;
 color:#204c3c;margin:0;
}
.speech-v56 .speech-choice-grid{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;
 margin:38px 0 0;
}
.speech-v56 .story-format-tab{
 display:flex;flex-direction:column;align-items:center;text-align:center;
 border:3px solid #dcc8a3;border-radius:19px;padding:46px 22px 37px;
 min-height:412px;gap:0;background:linear-gradient(135deg,#fffaf1,#fbf2e2);
 box-shadow:0 12px 27px #6250370d;transform:none;cursor:pointer;
 color:#204b3c;transition:box-shadow .17s,border-color .17s,transform .17s;
}
.speech-v56 .story-format-tab:nth-child(2){
 border-color:#b2c1a2;background:linear-gradient(135deg,#f4f7ed,#e8f0df);
}
.speech-v56 .story-format-tab:nth-child(3){
 background:linear-gradient(135deg,#fff9f0,#f0e8df);
}
.speech-v56 .story-format-tab.active{background:linear-gradient(135deg,#fffaf1,#fbf2e2);color:#204b3c;border-color:#c7ac7f;transform:none}
.speech-v56 .story-format-tab:nth-child(2).active{background:linear-gradient(135deg,#f4f7ed,#e8f0df);border-color:#a9bb9d}
.speech-v56 .story-format-tab:hover{transform:translateY(-2px);box-shadow:0 14px 35px #62503724;background:#fffaf1}
.speech-v56 .story-format-tab:nth-child(2):hover{background:#f1f7eb}
.speech-v56 .story-format-tab:focus-visible{outline:4px solid #aa702c;outline-offset:4px}
.speech-v56 .story-format-tab .story-format-icon{
 display:grid;place-items:center;flex:none;width:100px;height:100px;
 border-radius:50%;background:#efe4d0;color:#835942;
 font:normal 62px/1 Georgia,serif;margin:0 0 19px;
}
.speech-v56 .story-format-tab:nth-child(2) .story-format-icon{background:#dfe9d9;color:#426b4c}
.speech-v56 .story-format-tab:nth-child(3) .story-format-icon{background:#efe4d0;color:#835942}
.speech-v56 .story-format-tab strong{
 font:700 clamp(24px,2vw,36px)/1.23 Georgia,serif;
 color:#204b3c;margin:0 0 24px;
}
.speech-v56 .story-format-tab small,.speech-v56 .story-format-tab.active small{
 display:block;font:normal clamp(18px,1.52vw,28px)/1.38 Georgia,serif;
 color:#5d5542;margin:0 0 33px;
}
.speech-v56 .speech-card-open,.speech-v56 .story-format-tab.active .speech-card-open{
 display:inline-flex;align-items:center;justify-content:center;gap:23px;
 width:min(240px,100%);min-height:75px;margin:auto 0 0;padding:14px 18px;
 border-radius:11px;background:#244d3b;color:#fff!important;
 font:700 clamp(19px,1.5vw,25px)/1.25 Arial,sans-serif;
}
.speech-v56 .speech-card-open span{font:normal 34px/1 Arial,sans-serif}
.speech-v56 .speech-simple-note{
 text-align:center;margin:47px auto 26px;padding:0 14px;
 color:#74664f;font:italic clamp(18px,1.38vw,26px)/1.45 Georgia,serif;
}
.speech-v56 .speech-simple-panels{
 margin:20px auto 0;padding:clamp(20px,3.5vw,50px);
 max-width:1100px;border:2px solid #d7c2a0;border-radius:15px;
 background:#fffaf2;box-shadow:0 10px 26px #62503716;
 scroll-margin-top:20px;
}
@media(max-width:950px){
 .speech-v56 .speech-choice-grid{gap:16px}
 .speech-v56 .story-format-tab{min-height:365px;padding:30px 15px 24px}
 .speech-v56 .story-format-tab .story-format-icon{height:80px;width:80px;font-size:50px}
 .speech-v56 .story-format-tab strong{font-size:clamp(20px,2.3vw,30px)}
 .speech-v56 .story-format-tab small{font-size:17px}
 .speech-v56 .speech-card-open{min-height:58px;font-size:18px}
}
@media(max-width:760px){
 .speech-v56 .story-hub-banner{padding:60px 22px 68px}
 .speech-v56 .story-hub-banner::before,.speech-v56 .story-hub-banner::after{font-size:115px;opacity:.45;top:29%}
 .speech-v56 .story-hub-banner::before{left:-43px}
 .speech-v56 .story-hub-banner::after{right:-43px}
 .speech-v56 .story-hub-kicker{margin-bottom:26px;letter-spacing:.12em}
 .speech-v56 .story-hub-banner h1{letter-spacing:-.025em;margin-bottom:25px}
 .speech-v56 .story-hub-banner p.speech-hero-subtitle{margin-bottom:25px}
 .speech-v56 .story-hub-banner p.speech-simple-motto{margin-bottom:23px}
 .speech-v56 .story-hub-intro{padding:39px 0 8px}
 .speech-v56 .speech-choice-grid{grid-template-columns:1fr;gap:18px;margin-top:24px}
 .speech-v56 .story-format-tab{
  min-height:284px;padding:27px 15px 26px;flex-direction:column;text-align:center;gap:0;
 }
 .speech-v56 .story-format-tab .story-format-icon{width:76px;height:76px;font-size:46px;margin-bottom:13px}
 .speech-v56 .story-format-tab strong{flex:none;font-size:27px;margin-bottom:12px}
 .speech-v56 .story-format-tab small{flex-basis:auto;font-size:19px;margin-bottom:25px}
 .speech-v56 .speech-card-open{min-height:63px;font-size:20px;width:min(235px,100%);margin:auto 0 0}
 .speech-v56 .speech-simple-note{margin:28px auto 12px}
 .speech-v56 .speech-simple-panels{border-top:2px solid #d7c2a0;border-radius:13px;padding:24px 16px}
}
@media(max-width:400px){
 .speech-v56 .story-hub-banner h1{font-size:51px}
 .speech-v56 .story-hub-banner p.speech-hero-subtitle{font-size:22px}
 .speech-v56 .story-hub-banner p.speech-simple-motto{font-size:23px}
}
