:root{--navy:#082546;--navy-2:#0c315d;--soft:#e8f3fb;--yellow:#f4b400;--text:#10213a;--muted:#607086;--line:#d9e0e8;--white:#fff;--radius:10px;--shadow:0 8px 28px rgba(9,37,70,.08);--header-h:64px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 18px)}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:#fff}img{max-width:100%;display:block}a{color:inherit}.page-width{width:min(1180px,calc(100% - 48px));margin:0 auto}
.site-header{position:sticky;top:0;z-index:100;background:rgba(8,37,70,.97);border-bottom:1px solid rgba(255,255,255,.12);backdrop-filter:blur(10px)}.nav-wrap{height:var(--header-h);display:flex;align-items:center;justify-content:center}.mobile-brand{display:none;color:#fff;text-decoration:none;font-size:20px;font-weight:800}.main-nav{display:flex;align-items:center;justify-content:center;gap:34px}.main-nav a{color:#fff;text-decoration:none;font-size:14px;font-weight:700;padding:23px 0 18px;border-bottom:3px solid transparent}.main-nav a:hover,.main-nav a.active{border-color:var(--yellow)}.nav-toggle{display:none;background:none;border:0;padding:10px}.nav-toggle span{display:block;width:27px;height:2px;background:#fff;margin:6px 0}
.hero{position:relative;background:#061e3b;overflow:hidden}.hero-inner{position:relative;min-height:440px;display:grid;grid-template-columns:190px 1fr 46%;align-items:center;gap:42px;padding:34px 0 48px}.hero-logo-block{position:relative;z-index:3}.hero-logo-block img{width:185px}.hero-copy{position:relative;z-index:3;color:#fff}.eyebrow{font-size:44px;line-height:1;font-weight:800;margin:0 0 20px}.eyebrow span{color:var(--yellow)}.hero-copy h1{font-size:24px;line-height:1.35;margin:0 0 28px;max-width:500px}.event-meta{display:flex;gap:28px;flex-wrap:wrap}.event-meta>div{display:flex;flex-direction:column;gap:6px;padding-left:16px;border-left:3px solid var(--yellow)}.event-meta strong{font-size:17px}.event-meta span{font-size:12px;color:#dce6f0}.event-return{font-size:23px;font-weight:700}.hero-art{position:absolute;right:-4%;top:0;width:54%;height:100%;background-size:cover;background-position:center;background-repeat:no-repeat;z-index:1}.hero-art::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#061e3b 0%,rgba(6,30,59,.78) 18%,rgba(6,30,59,.15) 58%,rgba(6,30,59,0) 100%)}
.section{padding:46px 0;scroll-margin-top:calc(var(--header-h) + 18px)}.section-white{background:#fff}.section-divider{border-top:1px solid #edf0f3}.v-cut{position:relative;clip-path:polygon(0 0,50% 34px,100% 0,100% 100%,0 100%);margin-top:-1px;padding-top:70px}.section-heading{display:flex;align-items:center;gap:13px;margin-bottom:24px}.section-heading h1,.section-heading h2{font-size:29px;text-transform:uppercase;letter-spacing:-.02em;margin:0;color:var(--navy)}.section-heading.light h1,.section-heading.light h2{color:#fff}.heading-icon{width:32px;height:32px;color:var(--yellow);display:grid;place-items:center}.heading-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.program-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.program-card{background:var(--navy);border-radius:6px;overflow:hidden;box-shadow:var(--shadow);min-width:0}.program-media{aspect-ratio:3/2;background:#f3f5f7;display:grid;place-items:center;overflow:hidden}.program-media img{width:100%;height:100%;object-fit:contain}.program-title{position:relative;color:#fff;font-size:15px;font-weight:700;text-align:center;padding:13px 10px 16px}.program-title span{position:absolute;width:46px;height:3px;background:var(--accent);bottom:7px;left:50%;transform:translateX(-50%);border-radius:3px}.program-info-card{display:flex;flex-direction:column}.program-info-logo{aspect-ratio:3/2;background:var(--navy);display:flex;align-items:center;justify-content:center;padding:15px}.program-info-logo img{width:110px;max-height:115px;object-fit:contain}
.visitor-intro{margin:-4px 0 26px;padding:22px 26px;background:#f7f9fb;border:1px solid #e8edf2;border-radius:10px}.visitor-intro strong{display:block;color:#cf1821;font-size:21px;margin-bottom:8px}.visitor-intro p{margin:0 0 10px;font-weight:700}.visitor-intro ul{margin:0;padding-left:21px;columns:2;column-gap:42px}.visitor-intro li{break-inside:avoid;margin:0 0 7px;line-height:1.45;font-size:14px}.visitor-intro a{font-weight:700;color:#17569c}.visitor-grid{display:grid;gap:24px}.visitor-grid.has-three{grid-template-columns:repeat(3,1fr)}.visitor-grid.has-two{grid-template-columns:repeat(2,1fr)}.visitor-card{display:grid;grid-template-columns:42% 1fr;border:1px solid var(--line);border-left:5px solid var(--accent);border-radius:var(--radius);overflow:hidden;background:#fff;box-shadow:var(--shadow);min-height:225px}.visitor-media{background:#f5f6f7}.visitor-media img{width:100%;height:100%;object-fit:contain}.visitor-body{padding:18px}.visitor-body h3{color:var(--accent);margin:0 0 12px;text-transform:uppercase;font-size:18px}.times{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:700;color:var(--navy);margin-bottom:13px}.visitor-body p{font-size:13px;line-height:1.5;margin:0;color:#3e4e62}
.exhibitor-section{background:linear-gradient(180deg,#e9f4fb,#dcecf8);border-top:1px solid #d3e5f2;border-bottom:1px solid #d3e5f2}.exhibitor-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.exhibitor-grid.single-notice{grid-template-columns:minmax(320px,620px);justify-content:center}.exhibitor-card{background:#fff;border:1px solid #d4dde7;border-radius:var(--radius);padding:28px 25px;box-shadow:0 6px 20px rgba(8,37,70,.05)}.card-symbol{width:46px;height:46px;margin:0 auto 13px;border:2px solid var(--navy);border-radius:50%;display:grid;place-items:center;color:var(--navy);font-size:22px;font-weight:800}.exhibitor-card h3{text-align:center;margin:0 0 15px;text-transform:uppercase;color:var(--navy);font-size:17px}.exhibitor-card p{text-align:center;color:#536276;font-size:14px;line-height:1.55}.exhibitor-card ul{margin:0;padding-left:20px;color:#475a70;font-size:14px;line-height:1.5}.exhibitor-card li{margin:0 0 9px}.signup-card{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px}.notice-card{border-color:#d4dde7}.notice-text{font-size:20px!important;font-weight:800;color:var(--navy)!important}.button-outline,.button-light,.button-primary{display:inline-block;border:1px solid var(--navy);border-radius:5px;padding:11px 16px;text-decoration:none;text-transform:uppercase;font-size:12px;font-weight:800;background:#fff;color:var(--navy);cursor:pointer}.button-outline:hover{background:var(--navy);color:#fff}.button-primary{background:var(--yellow);border-color:var(--yellow);color:#071c34;width:100%;font-size:14px;padding:13px}.button-primary:hover{filter:brightness(.96)}
.location-section{padding:34px 0 38px}.location-grid{display:grid;grid-template-columns:300px 1fr;gap:28px;align-items:stretch}.location-card{border:1px solid var(--line);border-radius:10px;padding:24px 26px;box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:center}.location-card h3{margin:0 0 7px}.location-card p{margin:0 0 18px;color:#4c5d72}.location-card .button-outline{align-self:flex-start}.map-card{height:220px;border-radius:10px;overflow:hidden;border:1px solid var(--line);background:#f5f5f5}.map-card iframe{width:100%;height:100%;border:0;display:block}
.past-section{background:linear-gradient(180deg,#082546,#031a33);color:#fff}.past-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:18px}.past-card{position:relative;min-height:205px;border:1px solid rgba(255,255,255,.2);border-radius:10px;overflow:hidden;background-color:#0b315c;background-image:var(--cover);background-size:cover;background-position:center;text-decoration:none}.past-card.no-cover{background-image:linear-gradient(135deg,#0b315c,#123d6d)}.past-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,17,34,.08),rgba(3,17,34,.82))}.past-content{position:absolute;inset:auto 18px 18px;display:flex;align-items:flex-end;justify-content:space-between;gap:12px}.past-content strong{font-size:22px}.past-content span{font-size:11px;font-weight:800;text-transform:uppercase;border:1px solid rgba(255,255,255,.55);padding:8px 10px;border-radius:4px}.past-actions{text-align:center;margin-top:20px}.button-light{border-color:rgba(255,255,255,.7);color:#fff;background:transparent}.button-light:hover{background:#fff;color:var(--navy)}.empty-state{margin:0;color:#dbe7f2;text-align:center;padding:28px;border:1px dashed rgba(255,255,255,.28);border-radius:10px}
.sponsors-section{padding:28px 0 34px}.sponsor-carousel{position:relative;display:grid;grid-template-columns:38px 1fr 38px;gap:10px;align-items:center}.sponsor-window{overflow:hidden}.sponsor-track{display:flex;gap:14px;transition:transform .45s ease;will-change:transform}.sponsor-track a{flex:0 0 calc((100% - 70px)/6);height:92px;border:1px solid var(--line);border-radius:7px;background:#fff;display:flex;align-items:center;justify-content:center;padding:6px}.sponsor-track img{max-width:145px;max-height:76px;object-fit:contain}.carousel-btn{width:38px;height:38px;border:0;background:transparent;color:var(--navy);font-size:34px;cursor:pointer}.carousel-btn:hover{color:#17569c}
.site-footer{background:#061d38;color:#dfe9f4;padding:28px 0 14px}.footer-main{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:48px}.footer-brand img{width:120px}.footer-contact{display:flex;gap:22px}.footer-contact a{color:#d3deea;text-decoration:none;font-size:13px}.footer-contact a:hover{color:#fff}.footer-social{display:flex;gap:12px}.footer-social a{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.25)}.footer-social img{width:19px;height:19px;object-fit:contain}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:20px;padding-top:12px;font-size:11px;color:#9eb0c2}
.form-modal,.lightbox{position:fixed;inset:0;z-index:300;display:none}.form-modal.open,.lightbox.open{display:block}.modal-backdrop,.lightbox-backdrop{position:absolute;inset:0;background:rgba(2,13,27,.78)}.form-dialog{position:relative;z-index:2;width:min(680px,calc(100% - 28px));max-height:calc(100vh - 40px);overflow:auto;margin:20px auto;background:#fff;border-radius:12px;padding:30px}.modal-close,.lightbox-close{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:34px;color:var(--navy);cursor:pointer}.form-dialog h2{margin:0 0 6px;color:var(--navy)}.form-dialog>p{margin-top:0;color:var(--muted)}.form-dialog form{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-dialog label{font-size:13px;font-weight:700;color:var(--navy);display:flex;flex-direction:column;gap:6px}.form-dialog label:nth-of-type(4),.form-dialog label:nth-of-type(6),.form-dialog .button-primary{grid-column:1/-1}.form-dialog input,.form-dialog select,.form-dialog textarea{width:100%;border:1px solid #cfd8e2;border-radius:6px;padding:11px;font:inherit;color:var(--text);background:#fff}.hp-field{position:absolute!important;left:-10000px!important}.form-message{padding:12px 14px;border-radius:6px;margin:15px 0;font-size:14px}.form-message.success{background:#e6f6ec;color:#176b35}.form-message.error{background:#fdebec;color:#a31d2a}
.gallery-archive{min-height:calc(100vh - var(--header-h));padding-top:48px}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.archive-card{position:relative;min-height:230px;border:1px solid rgba(255,255,255,.22);border-radius:10px;overflow:hidden;background:#0d315a var(--cover) center/cover no-repeat;text-decoration:none}.archive-card.no-cover{background:linear-gradient(135deg,#0d315a,#1b4a79)}.archive-card strong{position:absolute;z-index:2;left:18px;bottom:18px;font-size:22px}.gallery-title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.gallery-title-row h2{font-size:28px;margin:0}.fixed-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.photo-thumb{border:0;padding:0;background:#0b315c;border-radius:7px;overflow:hidden;aspect-ratio:4/3;cursor:pointer}.photo-thumb img{width:100%;height:100%;object-fit:cover;background:#102c4d}.photo-thumb:hover{outline:2px solid rgba(255,255,255,.6)}
.lightbox{color:#fff}.lightbox-shell{position:relative;z-index:2;width:min(1180px,calc(100% - 40px));height:calc(100vh - 30px);margin:15px auto;display:grid;grid-template-columns:56px 1fr 56px;grid-template-rows:1fr 92px;align-items:center}.lightbox-stage{height:calc(100vh - 135px);display:flex;align-items:center;justify-content:center}.lightbox-stage img{max-width:100%;max-height:100%;object-fit:contain}.lightbox-close{color:#fff;z-index:4;right:4px;top:0}.lightbox-arrow{border:0;background:rgba(255,255,255,.08);color:#fff;width:48px;height:64px;border-radius:7px;font-size:42px;cursor:pointer}.lightbox-strip{grid-column:1/-1;display:flex;gap:8px;overflow-x:auto;padding:8px 2px}.lightbox-strip button{flex:0 0 94px;height:70px;padding:0;border:2px solid transparent;background:#0b315c;border-radius:5px;overflow:hidden;cursor:pointer}.lightbox-strip button.active{border-color:var(--yellow)}.lightbox-strip img{width:100%;height:100%;object-fit:contain;background:#102c4d}.always-open{display:flex!important}.always-visible{display:block!important}
@media(max-width:950px){.page-width{width:min(100% - 32px,1180px)}.nav-wrap{justify-content:space-between}.mobile-brand{display:block}.main-nav{position:absolute;left:0;right:0;top:var(--header-h);background:var(--navy);display:none;flex-direction:column;align-items:stretch;gap:0;padding:10px 24px 18px}.main-nav.open{display:flex}.main-nav a{padding:14px 0;border-bottom:1px solid rgba(255,255,255,.1)}.nav-toggle{display:block}.hero-inner{grid-template-columns:150px 1fr;gap:30px;min-height:430px}.hero-logo-block img{width:145px}.hero-art{width:55%;opacity:.35}.hero-copy{grid-column:2}.program-grid{grid-template-columns:repeat(2,1fr)}.visitor-intro ul{columns:1}.visitor-grid.has-three,.visitor-grid.has-two{grid-template-columns:1fr}.exhibitor-grid{grid-template-columns:1fr}.location-grid{grid-template-columns:280px 1fr}.past-grid{grid-template-columns:1fr 1fr}.past-card.featured{grid-column:1/-1}.sponsor-track a{flex-basis:calc((100% - 42px)/4)}.footer-main{grid-template-columns:1fr auto}.footer-contact{grid-column:1}.fixed-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:620px){:root{--header-h:60px}.page-width{width:calc(100% - 24px)}.hero-inner{display:block;min-height:500px;padding:28px 0 54px}.hero-logo-block img{width:132px}.hero-copy{max-width:92%;margin-top:20px}.eyebrow{font-size:31px}.hero-copy h1{font-size:20px}.hero-art{width:80%;right:-28%;opacity:.28}.event-meta{display:grid;gap:14px}.section{padding:34px 0}.v-cut{padding-top:60px}.section-heading h1,.section-heading h2{font-size:23px}.program-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.program-title{font-size:12px;padding:10px 5px 15px}.program-info-logo img{width:78px}.visitor-card{grid-template-columns:1fr}.visitor-media{height:170px}.location-grid{grid-template-columns:1fr}.map-card{height:190px}.past-grid{grid-template-columns:1fr}.past-card.featured{grid-column:auto}.sponsor-carousel{grid-template-columns:30px 1fr 30px}.sponsor-track a{flex-basis:calc((100% - 14px)/2);height:82px}.footer-main{grid-template-columns:1fr;text-align:center;gap:20px}.footer-brand img{margin:auto}.footer-contact{justify-content:center;flex-wrap:wrap}.footer-social{justify-content:center}.form-dialog form{grid-template-columns:1fr}.form-dialog label:nth-of-type(4),.form-dialog label:nth-of-type(6),.form-dialog .button-primary{grid-column:auto}.fixed-grid{grid-template-columns:repeat(2,1fr)}.lightbox-shell{width:calc(100% - 12px);grid-template-columns:38px 1fr 38px}.lightbox-arrow{width:34px;height:54px}.lightbox-strip button{flex-basis:74px;height:56px}}

/* v0.3: hero/header po potrjenem osnutku */
.site-header{z-index:100;background:#082a50;border-bottom:0;box-shadow:none}
.nav-wrap{position:relative}
.sticky-brand{position:absolute;left:0;top:50%;transform:translateY(-50%) translateX(-8px);width:215px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,transform .22s ease,visibility .22s;text-decoration:none;z-index:3}
.sticky-brand img{display:block;width:100%;height:auto}
.site-header.scrolled .sticky-brand{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(-50%) translateX(0)}
.main-nav{position:relative;z-index:2}
.hero{position:relative;background:#061f3e;overflow:visible;isolation:isolate}
.hero::after{content:"";position:absolute;z-index:8;left:0;right:0;bottom:-1px;height:74px;background:#fff;clip-path:polygon(0 0,50% 100%,100% 0,100% 100%,0 100%);pointer-events:none}
.hero-inner{min-height:500px;grid-template-columns:235px minmax(390px,1fr) 48%;gap:34px;padding:24px 0 88px}
.hero-logo-block{z-index:105;align-self:start;transform:translateY(-44px)}
.hero-logo-block img{width:255px;max-width:none;filter:drop-shadow(0 8px 18px rgba(0,0,0,.08))}
.hero-copy{align-self:center;padding-bottom:12px}
.eyebrow{font-size:50px;letter-spacing:-.025em;margin-bottom:20px}
.hero-copy h1{font-size:23px;line-height:1.45;font-weight:700;margin-bottom:28px;max-width:520px}
.hero-meta-compact{display:flex;align-items:center;gap:22px;flex-wrap:nowrap}
.hero-meta-compact .meta-item{display:flex;align-items:center;gap:11px;padding:0;border:0;color:#fff}
.hero-meta-compact .meta-icon{font-size:27px;line-height:1;color:var(--yellow);font-weight:400}
.hero-meta-compact strong{font-size:18px;white-space:nowrap}
.meta-separator{height:36px;width:1px;background:rgba(255,255,255,.72)}
.hero-tagline{margin:30px 0 0;color:var(--yellow);font-size:26px;font-weight:700;font-style:italic;letter-spacing:.01em}
.hero-art{right:-2%;top:0;width:53%;height:100%;background-size:cover;background-position:center center;z-index:1}
.hero-art::before{background:linear-gradient(90deg,#061f3e 0%,rgba(6,31,62,.9) 7%,rgba(6,31,62,.25) 32%,rgba(6,31,62,0) 58%)}
.hero-silhouette-left{position:absolute;z-index:0;left:0;bottom:55px;width:28%;height:60%;opacity:.4;background:
linear-gradient(#174d7b,#174d7b) 1% 66%/56px 2px no-repeat,
linear-gradient(90deg,#174d7b 2px,transparent 2px) 1% 66%/56px 60px no-repeat,
linear-gradient(#174d7b,#174d7b) 16% 49%/72px 2px no-repeat,
linear-gradient(90deg,#174d7b 2px,transparent 2px) 16% 49%/72px 110px no-repeat,
linear-gradient(#174d7b,#174d7b) 42% 70%/90px 2px no-repeat,
linear-gradient(90deg,#174d7b 2px,transparent 2px) 42% 70%/90px 75px no-repeat}
.hero-bricks-left{position:absolute;left:-28px;bottom:41px;z-index:6;width:260px;height:100px;pointer-events:none}
.hero-bricks-left span{position:absolute;bottom:0;border-radius:4px 4px 2px 2px;box-shadow:inset 0 5px 0 rgba(255,255,255,.12)}
.hero-bricks-left span:nth-child(1){left:0;width:92px;height:38px;background:#0969c9;transform:rotate(3deg)}
.hero-bricks-left span:nth-child(2){left:70px;width:74px;height:48px;background:#f4b400;transform:rotate(-7deg)}
.hero-bricks-left span:nth-child(3){left:132px;width:102px;height:34px;background:#d9291d;transform:rotate(3deg)}
.hero-bricks-left span:nth-child(4){left:32px;bottom:34px;width:66px;height:26px;background:#0e58a5;transform:rotate(-4deg)}
.program-section.v-cut{clip-path:none;margin-top:0;padding-top:44px}

@media(max-width:1100px) and (min-width:951px){
  .sticky-brand{width:180px}.main-nav{gap:24px}.main-nav a{font-size:13px}.hero-inner{grid-template-columns:205px 1fr 46%;gap:24px}.hero-logo-block img{width:225px}.eyebrow{font-size:43px}.hero-meta-compact strong{font-size:16px}
}
@media(max-width:950px){
  .sticky-brand{display:none}.hero{overflow:hidden}.hero::after{height:48px}.hero-logo-block{transform:none}.hero-logo-block img{width:175px}.hero-inner{min-height:460px;padding:30px 0 68px}.hero-copy{padding-bottom:0}.hero-meta-compact{flex-wrap:wrap}.meta-separator{display:none}.hero-tagline{font-size:22px}.hero-bricks-left{opacity:.7}
}
@media(max-width:620px){
  .hero::after{height:34px}.hero-inner{min-height:520px;padding-bottom:60px}.hero-logo-block img{width:155px}.hero-copy h1 br{display:none}.hero-meta-compact{display:grid;gap:10px}.hero-tagline{font-size:19px;margin-top:22px}.hero-bricks-left{display:none}
}
\n\n/* v0.4: potrjen zgornji del, prekrivanje logotipa in natančno sidranje menija */
.hero{isolation:auto;overflow:visible}
.hero-logo-block{position:relative;z-index:130;transform:translateY(-76px)}
.hero-logo-block img{width:300px;max-width:none}
.eyebrow{font-family:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif;font-weight:400;letter-spacing:.01em;font-size:56px}
.hero-inner{grid-template-columns:270px minmax(380px,1fr) 50%;gap:26px}
.hero-art{right:0;width:55%;background-position:center center}
.hero-art::before{background:linear-gradient(90deg,#061f3e 0%,rgba(6,31,62,.93) 4%,rgba(6,31,62,.62) 18%,rgba(6,31,62,.15) 42%,rgba(6,31,62,0) 66%)}
.section{scroll-margin-top:0}

@media(max-width:1100px) and (min-width:951px){
  .hero-logo-block{transform:translateY(-64px)}
  .hero-logo-block img{width:260px}
  .hero-inner{grid-template-columns:225px minmax(340px,1fr) 48%}
  .eyebrow{font-size:48px}
}
@media(max-width:950px){
  .hero-logo-block{transform:none}
  .hero-logo-block img{width:185px}
  .eyebrow{font-size:42px}
}
@media(max-width:620px){
  .hero-logo-block img{width:160px}
  .eyebrow{font-size:34px}
}

/* v0.5: natančni popravki hero dela po označenem osnutku */
@media(min-width:951px){
  .hero-inner{
    grid-template-columns:270px minmax(360px,1fr) 46%;
    gap:28px;
    min-height:500px;
    padding-top:26px;
  }
  /* Veliki logo je v celoti viden pod sticky menijem. */
  .hero-logo-block{
    align-self:start;
    transform:translateY(18px);
    z-index:6;
  }
  .hero-logo-block img{
    width:285px;
    max-width:none;
  }
  .hero-copy{
    align-self:center;
    padding-bottom:18px;
  }
  .eyebrow{
    font-family:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif;
    font-size:56px;
    line-height:1;
    font-weight:400;
    letter-spacing:.005em;
    margin:0 0 18px;
    white-space:nowrap;
  }
  .hero-copy h1{
    max-width:430px;
    margin:0 0 24px;
    font-size:23px;
    line-height:1.35;
    font-weight:700;
  }
  .hero-tagline{
    margin:24px 0 0;
    color:var(--yellow);
    font-family:"Segoe Print","Bradley Hand","Comic Sans MS",cursive;
    font-size:25px;
    line-height:1.2;
    font-weight:600;
    font-style:normal;
    letter-spacing:-.02em;
    white-space:nowrap;
  }
  .hero-art{
    width:51%;
    right:0;
    background-position:center center;
  }
  .hero-art::before{
    background:linear-gradient(90deg,#061f3e 0%,rgba(6,31,62,.92) 5%,rgba(6,31,62,.58) 20%,rgba(6,31,62,.12) 43%,rgba(6,31,62,0) 67%);
  }

  /* LEGO kocke na levi, s čepki in rahlim 3D robom. */
  .hero-bricks-left{
    left:34px;
    bottom:45px;
    width:285px;
    height:108px;
    z-index:7;
  }
  .hero-bricks-left span{
    border-radius:5px 5px 3px 3px;
    box-shadow:inset 0 5px 0 rgba(255,255,255,.2),inset 0 -7px 0 rgba(0,0,0,.13),0 7px 12px rgba(0,0,0,.18);
  }
  .hero-bricks-left span::before{
    content:"";
    position:absolute;
    left:8px;
    right:8px;
    top:-10px;
    height:16px;
    background:radial-gradient(ellipse at center,rgba(255,255,255,.35) 0 31%,rgba(0,0,0,.16) 34% 45%,rgba(255,255,255,.12) 48% 53%,transparent 56%) 0 0/25px 16px repeat-x;
    filter:drop-shadow(0 2px 1px rgba(0,0,0,.18));
  }
  .hero-bricks-left span:nth-child(1){left:0;width:102px;height:43px;background:#0872d5;transform:rotate(2deg)}
  .hero-bricks-left span:nth-child(2){left:86px;width:82px;height:52px;background:#f4b400;transform:rotate(-5deg)}
  .hero-bricks-left span:nth-child(3){left:154px;width:112px;height:39px;background:#df2b20;transform:rotate(2deg)}
  .hero-bricks-left span:nth-child(4){left:40px;bottom:39px;width:72px;height:28px;background:#1266b7;transform:rotate(-3deg)}
}

@media(max-width:1100px) and (min-width:951px){
  .hero-inner{grid-template-columns:235px minmax(330px,1fr) 45%;gap:22px}
  .hero-logo-block{transform:translateY(18px)}
  .hero-logo-block img{width:250px}
  .eyebrow{font-size:47px}
  .hero-copy h1{font-size:21px;max-width:390px}
  .hero-tagline{font-size:22px}
  .hero-bricks-left{left:24px;transform:scale(.9);transform-origin:left bottom}
}


/* v0.6: nova, poenostavljena struktura hero bannerja */
.hero{
  background:#061f3e;
  overflow:hidden;
  min-height:500px;
}
.hero::after{
  height:70px;
  clip-path:polygon(0 28%,50% 100%,100% 28%,100% 100%,0 100%);
}
.hero-inner{
  min-height:500px;
  grid-template-columns:245px minmax(470px,1fr) 44%;
  gap:34px;
  padding:34px 0 92px;
  align-items:center;
}
.hero-logo-block{
  align-self:center;
  transform:none;
  z-index:6;
}
.hero-logo-block img{
  width:245px;
  max-width:none;
}
.hero-copy{
  align-self:center;
  padding:0;
  z-index:7;
}
.eyebrow{
  font-family:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif;
  font-size:54px;
  line-height:1;
  font-weight:400;
  letter-spacing:.005em;
  margin:0 0 18px;
  white-space:nowrap;
}
.hero-copy h1{
  display:flex;
  flex-direction:column;
  gap:2px;
  max-width:none;
  margin:0 0 28px;
  font-size:22px;
  line-height:1.35;
  font-weight:700;
}
.hero-copy h1 span{white-space:nowrap}
.hero-meta-compact{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:nowrap;
}
.hero-meta-compact .meta-item{gap:10px}
.hero-meta-compact .meta-date strong{white-space:nowrap}
.hero-meta-compact strong{font-size:16px}
.hero-meta-compact .meta-icon{font-size:25px}
.meta-separator{height:32px}
.hero-free-entry{
  display:inline-flex;
  align-items:center;
  margin-top:22px;
  padding:8px 13px;
  border:1px solid rgba(244,180,0,.7);
  border-radius:5px;
  color:var(--yellow);
  font-size:14px;
  line-height:1;
  font-weight:800;
  letter-spacing:.04em;
}
.hero-art{
  right:0;
  width:48%;
  height:100%;
  background-size:cover;
  background-position:66% center;
  z-index:1;
}
.hero-art::before{
  background:linear-gradient(90deg,#061f3e 0%,rgba(6,31,62,.95) 5%,rgba(6,31,62,.7) 20%,rgba(6,31,62,.18) 45%,rgba(6,31,62,0) 68%);
}
.hero-left-visual{
  position:absolute;
  left:0;
  bottom:0;
  width:430px;
  height:200px;
  z-index:2;
  background:url('../img/hero/hero-left-bricks.png') left bottom/430px 200px no-repeat;
  pointer-events:none;
}
.hero-silhouette-left{display:none}
.hero-bricks-left{display:none!important}

@media(max-width:1180px) and (min-width:951px){
  .hero-inner{grid-template-columns:210px minmax(410px,1fr) 42%;gap:24px}
  .hero-logo-block img{width:210px}
  .eyebrow{font-size:46px}
  .hero-copy h1{font-size:19px}
  .hero-meta-compact strong{font-size:14px}
  .hero-left-visual{width:360px;height:168px;background-size:360px 168px}
}
@media(max-width:950px){
  .hero{min-height:0}
  .hero-inner{display:block;min-height:500px;padding:34px 0 78px}
  .hero-logo-block img{width:175px}
  .hero-copy{max-width:94%;margin-top:20px}
  .eyebrow{font-size:40px;white-space:normal}
  .hero-copy h1{font-size:20px}
  .hero-copy h1 span{white-space:normal}
  .hero-meta-compact{flex-wrap:wrap;gap:12px}
  .meta-separator{display:none}
  .hero-art{width:68%;right:-18%;opacity:.38;background-position:65% center}
  .hero-left-visual{width:300px;height:140px;background-size:300px 140px;opacity:.9}
}
@media(max-width:620px){
  .hero-inner{min-height:520px;padding-bottom:72px}
  .hero-logo-block img{width:145px}
  .eyebrow{font-size:34px}
  .hero-copy h1{font-size:18px}
  .hero-meta-compact{display:grid;gap:10px}
  .hero-meta-compact .meta-date strong{white-space:normal}
  .hero-left-visual{width:240px;height:112px;background-size:240px 112px;opacity:.75}
  .hero-free-entry{margin-top:16px}
}
\n\n/* v0.7: dogovorjena hero logika in čista spodnja grafika */\n.hero-inner{\n  grid-template-columns:245px minmax(500px,1fr) 44%;\n  padding-bottom:96px;\n}\n.hero-copy h1{\n  margin-bottom:24px;\n  max-width:560px;\n}\n.hero-details{\n  display:grid;\n  gap:13px;\n  margin-top:2px;\n}\n.hero-detail-row{\n  display:flex;\n  align-items:flex-start;\n  gap:12px;\n  color:#fff;\n}\n.hero-detail-row strong{\n  font-size:16px;\n  line-height:1.42;\n}\n.hero-date-lines{display:grid;gap:2px}\n.hero-date-lines strong{white-space:nowrap}\n.meta-icon.calendar-icon,\n.meta-icon.pin-icon{\n  position:relative;\n  flex:0 0 24px;\n  width:24px;\n  height:24px;\n  margin-top:1px;\n  color:var(--yellow);\n}\n.meta-icon.calendar-icon::before{\n  content:"";position:absolute;left:2px;top:4px;width:18px;height:16px;\n  border:2px solid currentColor;border-radius:2px;box-sizing:border-box;\n}\n.meta-icon.calendar-icon::after{\n  content:"";position:absolute;left:5px;right:5px;top:8px;height:2px;background:currentColor;\n  box-shadow:2px -6px 0 -0.2px currentColor,10px -6px 0 -0.2px currentColor;\n}\n.meta-icon.pin-icon::before{\n  content:"";position:absolute;left:5px;top:1px;width:14px;height:18px;\n  border:2px solid currentColor;border-radius:10px 10px 12px 12px;\n  transform:rotate(45deg);box-sizing:border-box;\n}\n.meta-icon.pin-icon::after{\n  content:"";position:absolute;left:10px;top:6px;width:4px;height:4px;border:2px solid currentColor;\n  border-radius:50%;background:#061f3e;box-sizing:border-box;\n}\n.event-return{\n  margin:4px 0 0;\n  color:#fff;\n  font-size:19px;\n  line-height:1.4;\n  font-weight:700;\n}\n.hero-tagline{\n  margin:22px 0 0;\n  color:var(--yellow);\n  font-family:"Segoe Print","Bradley Hand","Comic Sans MS",cursive;\n  font-size:22px;\n  line-height:1.2;\n  font-weight:700;\n  font-style:normal;\n  letter-spacing:-.02em;\n}\n.hero-free-entry{\n  display:block;\n  width:max-content;\n  margin:9px 0 0 10px;\n  padding:0;\n  border:0;\n  border-radius:0;\n  color:#ef3b32;\n  background:none;\n  font-family:"Segoe Print","Bradley Hand","Comic Sans MS",cursive;\n  font-size:20px;\n  line-height:1;\n  font-weight:900;\n  letter-spacing:.035em;\n  transform:rotate(-4deg);\n  text-shadow:0 1px 0 rgba(255,255,255,.08);\n}\n.hero-left-visual{\n  left:0;\n  bottom:28px;\n  width:430px;\n  height:200px;\n  background-size:430px 200px;\n  background-position:left bottom;\n  z-index:3;\n}\n.hero-art{\n  right:0;\n  bottom:0;\n  top:0;\n  width:48%;\n  height:100%;\n  background-size:cover;\n  background-position:center center;\n  overflow:hidden;\n}\n.hero::after{z-index:9}\n@media(max-width:1180px) and (min-width:951px){\n  .hero-inner{grid-template-columns:210px minmax(410px,1fr) 42%}\n  .hero-detail-row strong{font-size:14px}\n  .hero-date-lines strong{white-space:normal}\n  .hero-tagline{font-size:20px}\n  .hero-free-entry{font-size:18px}\n  .hero-left-visual{left:0;bottom:28px;width:360px;height:168px;background-size:360px 168px}\n}\n@media(max-width:950px){\n  .hero-detail-row strong{font-size:15px}\n  .hero-date-lines strong{white-space:normal}\n  .hero-tagline{font-size:19px}\n  .hero-free-entry{font-size:17px}\n  .hero-left-visual{bottom:22px}\n}\n@media(max-width:620px){\n  .hero-details{gap:10px}\n  .hero-detail-row strong{font-size:14px}\n  .hero-tagline{font-size:17px;margin-top:18px}\n  .hero-free-entry{font-size:16px;margin-top:8px}\n  .hero-left-visual{bottom:18px}\n}\n
/* ==================================================
   v0.8 HERO, referenca potrjena 18. 8. 2026
   ================================================== */
@media (min-width: 951px) {
  .hero {
    min-height: 500px;
    background: #061f3e;
  }

  .hero-inner {
    min-height: 500px;
    grid-template-columns: 250px minmax(470px, 1fr) 44%;
    gap: 42px;
    padding-top: 34px;
    padding-bottom: 78px;
    align-items: center;
  }

  .hero-logo-block {
    align-self: start;
    transform: none;
    padding-top: 10px;
    z-index: 8;
  }

  .hero-logo-block img {
    width: 250px;
    max-width: 250px;
    height: auto;
  }

  .hero-copy {
    align-self: center;
    z-index: 8;
    padding: 0 0 4px;
  }

  .eyebrow {
    margin: 0 0 20px;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: 55px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: .005em;
    white-space: nowrap;
  }

  .hero-copy h1 {
    display: flex;
    flex-direction: column;
    gap: 3px;
    max-width: 560px;
    margin: 0 0 25px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
  }

  .hero-copy h1 span {
    white-space: nowrap;
  }

  .hero-details {
    display: grid;
    gap: 15px;
    margin: 0;
  }

  .hero-detail-row {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .hero-detail-row strong {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: #fff;
  }

  .hero-date-lines {
    display: grid;
    gap: 4px;
  }

  .hero-date-lines strong {
    display: block;
    white-space: nowrap;
  }

  .meta-icon.calendar-icon,
  .meta-icon.pin-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin: 0;
    color: var(--yellow);
  }

  .meta-icon.calendar-icon::before {
    left: 2px;
    top: 5px;
    width: 23px;
    height: 20px;
    border-width: 2px;
  }

  .meta-icon.calendar-icon::after {
    left: 6px;
    right: 5px;
    top: 10px;
    height: 2px;
    box-shadow: 2px -7px 0 -0.2px currentColor, 12px -7px 0 -0.2px currentColor;
  }

  .meta-icon.pin-icon::before {
    left: 6px;
    top: 1px;
    width: 16px;
    height: 21px;
  }

  .meta-icon.pin-icon::after {
    left: 11px;
    top: 6px;
    width: 5px;
    height: 5px;
  }

  .hero-tagline {
    margin: 25px 0 0;
    color: var(--yellow);
    font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -.025em;
    white-space: nowrap;
  }

  .hero-free-entry {
    display: block;
    width: max-content;
    margin: 16px 0 0 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: #ef2f2f;
    font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
    font-size: 39px;
    line-height: 1;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -.025em;
    transform: rotate(-4deg);
    text-shadow: none;
  }

  .event-return {
    max-width: 520px;
    margin: 0;
    color: #fff;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
  }

  /* Levi dekor se začne na popolnoma isti levi poravnavi kot veliki logo. */
  .hero-left-visual {
    left: max(24px, calc((100% - 1180px) / 2));
    bottom: 24px;
    width: 300px;
    height: 150px;
    background-size: 300px 150px;
    background-position: left bottom;
    z-index: 4;
  }

  .hero-art {
    right: 0;
    top: 0;
    bottom: 0;
    width: 49%;
    height: 100%;
    background-size: cover;
    background-position: 58% center;
    z-index: 1;
    overflow: hidden;
  }

  .hero-art::before {
    background: linear-gradient(90deg, #061f3e 0%, rgba(6,31,62,.95) 5%, rgba(6,31,62,.65) 23%, rgba(6,31,62,.14) 48%, rgba(6,31,62,0) 70%);
  }

  .hero::after {
    height: 62px;
    z-index: 9;
    clip-path: polygon(0 28%, 50% 100%, 100% 28%, 100% 100%, 0 100%);
  }
}

@media (max-width: 1180px) and (min-width: 951px) {
  .hero-inner {
    grid-template-columns: 220px minmax(410px,1fr) 42%;
    gap: 30px;
  }
  .hero-logo-block img { width: 220px; max-width: 220px; }
  .eyebrow { font-size: 48px; }
  .hero-copy h1 { font-size: 20px; }
  .hero-detail-row strong { font-size: 14px; }
  .hero-tagline { font-size: 21px; }
  .hero-free-entry { font-size: 34px; }
  .hero-left-visual {
    left: 24px;
    width: 265px;
    height: 132px;
    background-size: 265px 132px;
  }
}

@media (max-width: 950px) {
  .hero-left-visual {
    left: 16px;
  }
  .hero-free-entry {
    border: 0 !important;
    background: none !important;
    color: #ef2f2f !important;
    font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
    font-weight: 900;
    font-style: italic;
    transform: rotate(-3deg);
  }
}


/* ==================================================
   v0.9 HERO, natančna poravnava po potrjeni referenci
   ================================================== */
@media (min-width: 951px) {
  .hero { min-height: 500px; }
  .hero-inner {
    min-height: 500px;
    grid-template-columns: 245px minmax(500px, 1fr) 45%;
    gap: 34px;
    padding-top: 36px;
    padding-bottom: 72px;
    align-items: start;
  }
  .hero-logo-block {
    align-self: start;
    transform: none;
    padding-top: 0;
    z-index: 8;
  }
  .hero-logo-block img {
    display: block;
    width: 245px;
    max-width: 245px;
    height: auto;
  }
  .hero-copy {
    align-self: start;
    padding-top: 0;
    z-index: 8;
  }
  .eyebrow {
    margin: 0 0 20px;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: 55px;
    line-height: 1;
    font-weight: 400;
    white-space: nowrap;
  }
  .hero-copy h1 {
    margin: 0 0 24px;
    font-size: 22px;
    line-height: 1.35;
  }
  .hero-details { gap: 16px; }
  .hero-detail-row { align-items: center; gap: 16px; }
  .hero-date-lines { display: grid; gap: 4px; }
  .hero-date-lines strong { display: block; white-space: nowrap; }
  .hero-detail-row strong { font-size: 16px; line-height: 1.3; }
  .meta-icon.calendar-icon,
  .meta-icon.pin-icon { flex: 0 0 30px; width: 30px; height: 30px; }
  .hero-tagline {
    margin-top: 25px;
    font-size: 24px;
  }
  .hero-free-entry {
    margin: 15px 0 0 12px;
    color: #ef2f2f;
    background: transparent;
    border: 0;
    font-size: 40px;
    transform: rotate(-4deg);
  }
  .hero-left-visual,
  .hero-silhouette-left,
  .hero-bricks-left { display: none !important; }
  .hero-art {
    right: 0;
    top: 0;
    bottom: 0;
    width: 47%;
    height: 100%;
    background-size: cover;
    background-position: 58% center;
  }
}
@media (max-width: 1180px) and (min-width: 951px) {
  .hero-inner { grid-template-columns: 215px minmax(410px,1fr) 42%; gap: 28px; }
  .hero-logo-block img { width: 215px; max-width: 215px; }
  .eyebrow { font-size: 47px; }
  .hero-copy h1 { font-size: 19px; }
  .hero-detail-row strong { font-size: 14px; }
  .hero-free-entry { font-size: 34px; }
}


/* ==================================================
   v1.0 HERO, končni popravek ikon in VSTOP PROST
   ================================================== */
.hero-svg-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px !important;
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  color: var(--yellow) !important;
}
.hero-svg-icon::before,
.hero-svg-icon::after { content: none !important; display: none !important; }
.hero-svg-icon svg { width: 30px; height: 30px; display: block; overflow: visible; }
.hero-date-row { align-items: flex-start !important; }
.hero-date-lines { display: grid !important; gap: 5px !important; }
.hero-date-lines strong { display: block !important; white-space: nowrap !important; }
.hero-location-row { align-items: center !important; }
.hero-free-entry {
  display: block !important;
  width: max-content !important;
  margin: 14px 0 0 6px !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #ef2f2f !important;
  font-family: "Brush Script MT", "Segoe Print", "Bradley Hand", cursive !important;
  font-size: 48px !important;
  line-height: .95 !important;
  font-weight: 700 !important;
  font-style: italic !important;
  letter-spacing: .01em !important;
  text-transform: uppercase !important;
  transform: rotate(-4deg) skewX(-5deg) !important;
  transform-origin: left center !important;
  text-shadow: 0 2px 0 rgba(0,0,0,.12) !important;
}
@media (max-width: 1180px) and (min-width: 951px) {
  .hero-free-entry { font-size: 42px !important; }
}
@media (max-width: 950px) {
  .hero-svg-icon { width: 28px !important; height: 28px !important; flex-basis: 28px !important; }
  .hero-svg-icon svg { width: 26px; height: 26px; }
  .hero-free-entry { font-size: 38px !important; }
}
@media (max-width: 620px) {
  .hero-free-entry { font-size: 32px !important; }
}

/* ==================================================
   v1.1 - CLEAN HERO REBUILD
   Reference: user-approved layout, 18 Aug 2026
   ================================================== */
@media (min-width: 951px) {
  .page-width { width: min(1240px, calc(100% - 48px)); }

  .site-header { height: 64px; background: #0b3158; }
  .nav-wrap { height: 64px; }
  .main-nav { gap: 42px; }
  .main-nav a { font-size: 14px; padding: 22px 0 18px; }

  .hero {
    position: relative;
    min-height: 510px;
    overflow: hidden;
    isolation: isolate;
    background: #061f3e;
  }

  .hero-inner {
    position: relative;
    z-index: 2;
    min-height: 510px;
    display: grid;
    grid-template-columns: 250px 520px 1fr;
    align-items: start;
    gap: 38px;
    padding: 42px 0 64px;
  }

  .hero-logo-block {
    position: relative;
    z-index: 4;
    align-self: start;
    transform: none !important;
    margin: 0;
    padding: 0;
  }
  .hero-logo-block img {
    display: block;
    width: 240px !important;
    max-width: 240px !important;
    height: auto;
    margin: 0;
  }

  .hero-copy {
    position: relative;
    z-index: 4;
    grid-column: 2;
    align-self: start;
    width: 520px;
    max-width: 520px;
    margin: 0;
    padding: 0;
    color: #fff;
  }

  .eyebrow {
    margin: 0 0 18px;
    font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
    font-size: 52px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: .01em;
    color: #fff;
    text-transform: none;
  }
  .eyebrow span { color: #f4b400; }

  .hero-copy h1 {
    display: grid;
    gap: 4px;
    width: 520px;
    max-width: 520px;
    margin: 0 0 24px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    line-height: 1.32;
    font-weight: 700;
    letter-spacing: 0;
    color: #fff;
  }
  .hero-copy h1 span {
    display: block;
    white-space: nowrap;
  }

  .hero-details {
    display: grid;
    gap: 14px;
    margin: 0;
  }
  .hero-detail-row {
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center !important;
    gap: 13px;
    color: #fff;
  }
  .hero-svg-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 34px !important;
    height: 34px !important;
    flex: 0 0 34px !important;
    margin: 0 !important;
    color: #f4b400 !important;
  }
  .hero-svg-icon svg {
    display: block !important;
    width: 32px !important;
    height: 32px !important;
    overflow: visible;
  }
  .hero-date-lines {
    display: grid !important;
    gap: 4px !important;
  }
  .hero-date-lines strong,
  .hero-location-row strong {
    display: block !important;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 700;
    white-space: nowrap !important;
    color: #fff;
  }

  .event-return {
    margin: 0 0 4px;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 700;
    color: #fff;
  }

  .hero-tagline {
    margin: 20px 0 0 !important;
    font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive !important;
    font-size: 23px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    font-style: italic;
    letter-spacing: -.03em;
    color: #f4b400 !important;
    transform: rotate(-1deg);
    transform-origin: left center;
  }

  .hero-free-entry {
    display: block !important;
    width: max-content !important;
    margin: 14px 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #ef2d32 !important;
    font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive !important;
    font-size: 42px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    font-style: italic;
    letter-spacing: -.035em !important;
    text-transform: uppercase;
    transform: rotate(-4deg) skewX(-5deg) !important;
    transform-origin: left center;
    text-shadow: 0 2px 0 rgba(0,0,0,.08);
  }

  .hero-art {
    position: absolute !important;
    z-index: 1 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: min(54vw, 980px) !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    opacity: 1 !important;
    overflow: hidden !important;
  }
  .hero-art::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
      #061f3e 0%,
      rgba(6,31,62,.94) 8%,
      rgba(6,31,62,.68) 22%,
      rgba(6,31,62,.22) 42%,
      rgba(6,31,62,0) 62%);
  }

  /* Explicitly remove all previous left-bottom brick artwork. */
  .hero-left-visual,
  .hero-silhouette-left,
  .hero-bricks-left { display: none !important; }

  /* Single V transition. */
  .hero::after {
    content: "" !important;
    position: absolute !important;
    z-index: 10 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: -1px !important;
    width: 100% !important;
    height: 42px !important;
    background: #fff !important;
    clip-path: polygon(0 0, 50% 100%, 100% 0, 100% 100%, 0 100%) !important;
    pointer-events: none;
  }

  .program-section.v-cut {
    clip-path: none !important;
    margin-top: 0 !important;
    padding-top: 40px !important;
  }
}

@media (min-width: 951px) and (max-width: 1260px) {
  .page-width { width: min(1160px, calc(100% - 40px)); }
  .hero-inner {
    grid-template-columns: 220px 470px 1fr;
    gap: 28px;
  }
  .hero-logo-block img { width: 215px !important; max-width: 215px !important; }
  .hero-copy { width: 470px; max-width: 470px; }
  .eyebrow { font-size: 47px; }
  .hero-copy h1 { width: 470px; max-width: 470px; font-size: 20px; }
  .hero-date-lines strong, .hero-location-row strong { font-size: 15px !important; }
  .hero-tagline { font-size: 21px !important; }
  .hero-free-entry { font-size: 38px !important; }
  .hero-art { width: 50vw !important; }
}

@media (max-width: 950px) {
  .hero-left-visual,
  .hero-silhouette-left,
  .hero-bricks-left { display: none !important; }
  .hero-date-lines strong { display:block !important; }
  .hero-free-entry {
    border: 0 !important;
    background: transparent !important;
    color: #ef2d32 !important;
    font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive !important;
    font-style: italic;
    font-weight: 900 !important;
    transform: rotate(-3deg) !important;
  }
}


/* v1.2: hero fines, free-entry brush style and full harbor composition */
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');

@media (min-width: 951px) {
  .hero-free-entry {
    margin-top: 24px !important;
    margin-left: 10px !important;
    font-family: "Permanent Marker", "Brush Script MT", "Segoe Print", cursive !important;
    font-size: 46px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: .01em !important;
    transform: rotate(-4deg) skewX(-3deg) !important;
    text-shadow: none !important;
  }

  .hero-art {
    width: min(50vw, 900px) !important;
    background-size: contain !important;
    background-position: right center !important;
    background-color: #061f3e !important;
  }
  .hero-art::before {
    background: linear-gradient(90deg,
      #061f3e 0%,
      rgba(6,31,62,.96) 5%,
      rgba(6,31,62,.74) 15%,
      rgba(6,31,62,.28) 30%,
      rgba(6,31,62,0) 48%) !important;
  }
}

@media (min-width: 951px) and (max-width: 1260px) {
  .hero-free-entry { font-size: 42px !important; margin-top: 22px !important; }
  .hero-art { width: 47vw !important; }
}

@media (max-width: 950px) {
  .hero-free-entry {
    margin-top: 22px !important;
    font-family: "Permanent Marker", "Brush Script MT", "Segoe Print", cursive !important;
    font-style: normal !important;
    font-weight: 400 !important;
    letter-spacing: .01em !important;
  }
  .hero-art {
    background-size: contain !important;
    background-position: right center !important;
    background-color: #061f3e !important;
  }
}

/* v1.3: softer brush title and slightly smaller harbor artwork */
@import url('https://fonts.googleapis.com/css2?family=Knewave&display=swap');

@media (min-width: 951px) {
  .hero-free-entry {
    margin-top: 32px !important;
    margin-left: 12px !important;
    font-family: "Knewave", "Brush Script MT", cursive !important;
    font-size: 48px !important;
    line-height: .96 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: .015em !important;
    transform: rotate(-4deg) !important;
  }

  .hero-art {
    width: min(48vw, 850px) !important;
    background-size: 92% auto !important;
    background-position: right center !important;
  }
}

@media (min-width: 951px) and (max-width: 1260px) {
  .hero-free-entry {
    margin-top: 29px !important;
    font-size: 43px !important;
  }
  .hero-art {
    width: 46vw !important;
    background-size: 92% auto !important;
  }
}

@media (max-width: 950px) {
  .hero-free-entry {
    margin-top: 26px !important;
    font-family: "Knewave", "Brush Script MT", cursive !important;
    font-weight: 400 !important;
    font-style: normal !important;
    transform: rotate(-3deg) !important;
  }
}

/* v1.4: brush lettering closer to approved mockup */
@import url('https://fonts.googleapis.com/css2?family=Road+Rage&display=swap');

.hero-free-entry {
  font-family: "Road Rage", "Knewave", "Brush Script MT", cursive !important;
  font-weight: 400 !important;
  font-style: normal !important;
  text-transform: uppercase;
  letter-spacing: .025em !important;
  color: #ef2d32 !important;
  transform: rotate(-4deg) skewX(-2deg) !important;
  text-shadow: none !important;
}

@media (min-width: 1261px) {
  .hero-free-entry {
    margin-top: 34px !important;
    margin-left: 10px !important;
    font-size: 58px !important;
    line-height: .88 !important;
  }
}

@media (min-width: 951px) and (max-width: 1260px) {
  .hero-free-entry {
    margin-top: 31px !important;
    margin-left: 9px !important;
    font-size: 50px !important;
    line-height: .9 !important;
  }
}

@media (max-width: 950px) {
  .hero-free-entry {
    margin-top: 27px !important;
    font-family: "Road Rage", "Knewave", "Brush Script MT", cursive !important;
    font-size: 42px !important;
    line-height: .92 !important;
  }
}

@media (max-width: 620px) {
  .hero-free-entry {
    margin-top: 22px !important;
    font-size: 36px !important;
  }
}


/* v1.5: VSTOP PROST, brush lettering matched to approved generated mockup */
@import url('https://fonts.googleapis.com/css2?family=Caveat+Brush&display=swap');

.hero-free-entry {
  position: relative !important;
  display: inline-block !important;
  margin-top: 36px !important;
  margin-left: 8px !important;
  color: #ef2f35 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  font-family: "Caveat Brush", "Segoe Print", cursive !important;
  font-size: 59px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: .82 !important;
  letter-spacing: -.025em !important;
  text-transform: uppercase !important;
  transform: rotate(-4.5deg) skewX(-5deg) scaleY(1.08) !important;
  transform-origin: left center !important;
  text-shadow: 1px 0 #ef2f35, -1px 0 #ef2f35 !important;
}

@media (min-width: 951px) and (max-width: 1260px) {
  .hero-free-entry { margin-top: 33px !important; font-size: 51px !important; }
}
@media (max-width: 950px) {
  .hero-free-entry {
    margin-top: 28px !important;
    font-family: "Caveat Brush", "Segoe Print", cursive !important;
    font-size: 43px !important;
    transform: rotate(-3.5deg) skewX(-4deg) scaleY(1.06) !important;
  }
}
@media (max-width: 620px) {
  .hero-free-entry { margin-top: 24px !important; font-size: 37px !important; }
}

/* v1.6: approved Good Brush typeface for VSTOP PROST */
@import url('https://fonts.cdnfonts.com/css/good-brush');

.hero-free-entry {
  margin-top: 40px !important;
  margin-left: 8px !important;
  font-family: 'GOOD BRUSH', 'Caveat Brush', cursive !important;
  font-size: 42px !important;
  font-weight: 400 !important;
  line-height: .9 !important;
  letter-spacing: .01em !important;
  color: #ef2f35 !important;
  transform: rotate(-4deg) !important;
  text-shadow: none !important;
}
@media (min-width: 951px) and (max-width: 1260px) {
  .hero-free-entry { margin-top: 36px !important; font-size: 38px !important; }
}
@media (max-width: 950px) {
  .hero-free-entry { margin-top: 30px !important; font-size: 34px !important; transform: rotate(-3deg) !important; }
}
@media (max-width: 620px) {
  .hero-free-entry { margin-top: 26px !important; font-size: 30px !important; }
}

/* v1.7: GOOD BRUSH, visually thickened to match Fontesk preview */
.hero-free-entry {
  margin-top: 42px !important;
  margin-left: 8px !important;
  font-family: 'GOOD BRUSH', 'Caveat Brush', cursive !important;
  font-size: 36px !important;
  font-weight: 400 !important;
  line-height: .9 !important;
  letter-spacing: -.025em !important;
  color: #ef2f35 !important;
  transform: rotate(-4deg) !important;
  -webkit-text-stroke: 1.35px #ef2f35 !important;
  paint-order: stroke fill !important;
  text-shadow:
    .7px 0 #ef2f35,
    -.7px 0 #ef2f35,
    0 .7px #ef2f35,
    0 -.7px #ef2f35 !important;
}
@media (min-width: 951px) and (max-width: 1260px) {
  .hero-free-entry { margin-top: 38px !important; font-size: 34px !important; -webkit-text-stroke-width: 1.2px !important; }
}
@media (max-width: 950px) {
  .hero-free-entry { margin-top: 31px !important; font-size: 31px !important; transform: rotate(-3deg) !important; -webkit-text-stroke-width: 1.1px !important; }
}
@media (max-width: 620px) {
  .hero-free-entry { margin-top: 27px !important; font-size: 28px !important; -webkit-text-stroke-width: 1px !important; }
}

/* v2.0: transparent LEGO brick outline silhouette under the KockeFest logo */
@media (min-width: 951px) {
  .hero-left-bricks-image {
    position: absolute;
    left: 0;
    bottom: 8px;
    z-index: 3;
    display: block;
    width: 840px;
    height: auto;
    max-width: none;
    pointer-events: none;
    user-select: none;
    opacity: .42;
    filter: saturate(.55) brightness(.82);
  }
}

@media (min-width: 951px) and (max-width: 1260px) {
  .hero-left-bricks-image {
    width: 705px;
    bottom: 6px;
  }
}

@media (max-width: 950px) {
  .hero-left-bricks-image { display: none !important; }
}

/* v2.2: fine-tune left outline silhouette placement */
@media (min-width: 951px) {
  .hero-left-bricks-image {
    width: 720px;
    bottom: -24px;
    opacity: .36;
    filter: saturate(.45) brightness(.78);
  }
}
@media (min-width: 951px) and (max-width: 1260px) {
  .hero-left-bricks-image {
    width: 620px;
    bottom: -22px;
  }
}

/* v2.5 Obiskovalci */
.visitors-wrap{padding-top:4px}
.visitor-facts{display:grid;grid-template-columns:1fr 1.35fr 1.15fr;gap:18px;margin:22px 0 26px}
.visitor-fact{display:flex;align-items:flex-start;gap:16px;padding:22px 24px;background:#fff;border:1px solid #dfe6ee;border-radius:12px;box-shadow:0 5px 18px rgba(4,35,68,.06)}
.visitor-fact-icon{width:38px;height:38px;flex:0 0 38px;color:#f5b400}
.visitor-fact-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.visitor-label{display:block;font-size:1.05rem;font-weight:900;color:#0b2d52;margin:1px 0 7px}
.visitor-fact-free .visitor-label{color:#d9252a;font-size:1.22rem}
.visitor-sub{display:block;color:#40546c;line-height:1.55}
.visitors-offer{background:#f6f9fc;border:1px solid #e1e7ee;border-radius:12px;padding:24px 26px 20px;margin-bottom:28px}
.visitors-offer h3{margin:0 0 20px;color:#0b2d52;font-size:1.35rem}
.offer-groups{display:grid;grid-template-columns:1fr 1.35fr 1fr;gap:30px}
.offer-group h4{margin:0 0 10px;color:#0b2d52;font-size:1rem}
.offer-group ul{margin:0;padding-left:19px;color:#40546c}
.offer-group li{margin:0 0 8px;line-height:1.45}
.offer-group a{color:#0b5a9d}
@media(max-width:800px){.visitor-facts{grid-template-columns:1fr 1fr}.visitor-fact-free{grid-column:1/-1}.offer-groups{grid-template-columns:1fr}}
@media(max-width:560px){.visitor-facts{grid-template-columns:1fr}.visitor-fact-free{grid-column:auto}.visitor-fact{padding:18px}.visitors-offer{padding:20px}}

/* v2.6 Obiskovalci popravki */
#obiskovalci .visitor-facts{margin-top:22px}
#obiskovalci .visitors-offer{margin-bottom:30px}
#obiskovalci .visitor-grid{margin-top:0}
#obiskovalci .section-heading{margin-bottom:0}

/* v2.7 Obiskovalci termini */
#obiskovalci .times{gap:0}
#obiskovalci .day-times{display:grid;grid-template-columns:70px 1fr;column-gap:10px;row-gap:4px;align-items:baseline}
#obiskovalci .day-name{grid-row:1 / span 4;color:var(--accent);text-transform:uppercase;font-size:12px;letter-spacing:.03em}
#obiskovalci .times-divider{height:1px;background:#dfe5eb;margin:9px 0}
#obiskovalci .visitor-media{height:225px;min-height:225px}
#obiskovalci .visitor-media img{display:block;width:100%;height:100%;object-fit:contain;background:#f5f6f7}
#obiskovalci .visitor-grid.has-two .visitor-card,
#obiskovalci .visitor-grid.has-three .visitor-card{grid-template-columns:42% 1fr}

/* v2.7 Galerija: 000.jpg kot začetna slika */
.gallery-images{display:block}
.gallery-cover{display:block;width:100%;height:360px;margin:0 0 20px;padding:0;border:0;border-radius:10px;overflow:hidden;background:#102c4d;cursor:pointer}
.gallery-cover img{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:950px){.gallery-cover{height:300px}}
@media(max-width:620px){
  #obiskovalci .visitor-media{height:170px;min-height:170px}
  #obiskovalci .visitor-grid.has-two .visitor-card,
  #obiskovalci .visitor-grid.has-three .visitor-card{grid-template-columns:1fr}
  #obiskovalci .day-times{grid-template-columns:64px 1fr}
  .gallery-cover{height:220px}
}

/* v2.9 Obiskovalci: Igralnice namesto Robotike */
#obiskovalci .playrooms-media{display:grid;grid-template-columns:repeat(3,1fr);gap:2px;background:#eef2f5}
#obiskovalci .playrooms-media img{width:100%;height:100%;object-fit:cover;min-width:0}
#obiskovalci .playrooms-list{margin:4px 0 12px;padding-left:20px;color:#40546c}
#obiskovalci .playrooms-list li{margin:5px 0}
#obiskovalci .all-event{font-weight:800;color:#0b2d52;margin-top:14px}

/* v2.9 Galerija: 000.* kot dejanska slika kartice */
.past-cover-image,.archive-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.past-card .past-shade,.archive-card .past-shade{z-index:1}
.past-card .past-content,.archive-card strong{z-index:2}

/* v3.0 Razstavljalec */
#razstavljalec .exhibitor-grid{align-items:stretch}
#razstavljalec .exhibitor-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
}
#razstavljalec .signup-card{
  align-items:flex-start;
  justify-content:flex-start;
  text-align:left;
}
#razstavljalec .exhibitor-card h3{
  width:100%;
  text-align:center;
}
#razstavljalec .signup-card p{
  width:100%;
  text-align:center;
}
#razstavljalec .signup-card .button-outline{
  align-self:center;
}
#razstavljalec .card-icon{
  width:48px;
  height:48px;
  margin:0 auto 10px;
  align-self:center;
}
#razstavljalec .card-icon svg{
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
#razstavljalec .card-icon-conditions{color:#2e9d55}
#razstavljalec .card-icon-offer{color:#2f78c4}
#razstavljalec .card-icon-signup{color:#f0a800}
#razstavljalec .card-icon-notice{color:#d64a3a}

/* v3.1 Lokacija */
#lokacija .location-card{align-items:center;text-align:center;justify-content:center}
#lokacija .location-card .button-outline{align-self:center}
#lokacija .school-mark{width:76px;height:62px;display:block;margin:0 auto 14px;color:#5b9f38}
#lokacija .school-mark svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
#lokacija .school-mark:hover{color:#39771f}

/* v3.1 Galerija header */
.gallery-page .gallery-header{position:sticky;top:0;z-index:50;min-height:64px;background:#0d355e;box-shadow:0 2px 12px rgba(0,0,0,.12)}
.gallery-page .gallery-header .nav-wrap{min-height:64px;display:flex;align-items:center;justify-content:space-between}
.gallery-page .gallery-brand{display:flex;align-items:center;height:42px;flex:0 0 auto}
.gallery-page .gallery-brand img{display:block;width:auto;height:34px;object-fit:contain}
.gallery-page .gallery-nav{display:flex;align-items:center;gap:30px}
.gallery-page .gallery-nav a{color:#fff;text-decoration:none;font-weight:800;font-size:14px;padding:22px 0 18px;border-bottom:3px solid transparent}
.gallery-page .gallery-nav a:hover,.gallery-page .gallery-nav a.active{color:#fff;border-bottom-color:var(--yellow)}
.gallery-page .gallery-archive{padding-top:42px}
.gallery-page .gallery-title-row{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:26px 0 20px}
.gallery-page .gallery-title-row h2{margin:2px 0 0}
.gallery-page .gallery-kicker{display:block;color:#f0b400;text-transform:uppercase;letter-spacing:.08em;font-size:12px;font-weight:800}
.gallery-page .gallery-back{white-space:nowrap}
@media(max-width:780px){
  .gallery-page .gallery-header .nav-wrap{justify-content:center}
  .gallery-page .gallery-brand{display:none}
  .gallery-page .gallery-nav{gap:16px;overflow-x:auto}
  .gallery-page .gallery-nav a{font-size:12px;white-space:nowrap}
  .gallery-page .gallery-title-row{align-items:flex-start;flex-direction:column}
}

/* v3.2 Razstavljalec poravnava */
#razstavljalec .exhibitor-card{padding-top:28px}
#razstavljalec .signup-card p{margin-top:0}
#razstavljalec .signup-card .button-outline{margin-top:auto}

/* v3.2 Galerija logo desno */
.gallery-page .gallery-header .nav-wrap{justify-content:space-between}
.gallery-page .gallery-nav{order:1}
.gallery-page .gallery-brand{order:2;margin-left:auto}

/* v3.2 Footer */
.footer-logo-link{display:inline-block}
.footer-logo-link img{display:block}

/* v3.3 Razstavljalec prijava */
#razstavljalec .signup-card .button-outline{
  margin-top:14px !important;
}

/* v3.3 Galerija logo levo kot drugod */
.gallery-page .gallery-header .nav-wrap{justify-content:flex-start}
.gallery-page .gallery-brand{order:0;margin-left:0;margin-right:28px}
.gallery-page .gallery-nav{order:1}

/* v3.4 Galerija header naj se ujema z glavnim menijem */
.gallery-page .gallery-header .nav-wrap{
  max-width:none;
  width:100%;
  padding-left:20px;
  padding-right:20px;
  box-sizing:border-box;
  justify-content:flex-start;
}
.gallery-page .gallery-brand{
  margin:0 112px 0 0 !important;
  height:58px;
  display:flex;
  align-items:center;
  flex:0 0 auto;
}
.gallery-page .gallery-brand img{
  height:52px;
  width:auto;
  display:block;
}
.gallery-page .gallery-nav{
  display:flex;
  align-items:center;
  gap:42px;
  margin:0;
}
.gallery-page .gallery-nav a{
  padding:21px 0 18px;
}
@media(max-width:1000px){
  .gallery-page .gallery-brand{margin-right:48px !important}
  .gallery-page .gallery-nav{gap:26px}
}
@media(max-width:780px){
  .gallery-page .gallery-header .nav-wrap{padding-left:12px;padding-right:12px}
  .gallery-page .gallery-brand{display:none}
}

/* v3.5 Galerija header: enaka postavitev kot glavni meni */
.gallery-page .gallery-header .nav-wrap{
  width:min(1180px,calc(100% - 48px)) !important;
  max-width:1180px !important;
  margin:0 auto !important;
  padding:0 !important;
  display:flex;
  align-items:center;
  justify-content:flex-start !important;
  box-sizing:border-box;
}
.gallery-page .gallery-brand{
  flex:0 0 auto;
  margin:0 118px 0 0 !important;
  height:58px;
  display:flex;
  align-items:center;
}
.gallery-page .gallery-brand img{
  height:52px;
  width:auto;
  display:block;
}
.gallery-page .gallery-nav{
  display:flex;
  align-items:center;
  gap:42px;
  margin:0 !important;
}
@media(max-width:1000px){
  .gallery-page .gallery-header .nav-wrap{
    width:min(100% - 32px,1180px) !important;
  }
  .gallery-page .gallery-brand{margin-right:48px !important}
  .gallery-page .gallery-nav{gap:26px}
}
@media(max-width:780px){
  .gallery-page .gallery-header .nav-wrap{
    width:calc(100% - 24px) !important;
    justify-content:center !important;
  }
  .gallery-page .gallery-brand{display:none}
}

/* v3.6 dogovorjeni popravki pred obrazcem */
/* Program: Crawler in Rally zapolnita celotno slikovno polje. */
#program .program-card:nth-child(2) .program-media img,
#program .program-card:nth-child(3) .program-media img{object-fit:cover}

/* Obiskovalci: naslovni pas in slike kartic cez celotno slikovno polje. */
#obiskovalci .visitors-offer{padding:0;overflow:hidden}
#obiskovalci .visitors-offer>h3{margin:0;padding:15px 26px;background:#0b2d52;color:#fff}
#obiskovalci .offer-groups{padding:22px 26px 12px}
#obiskovalci .visitor-media img{object-fit:cover;background:transparent}
@media(max-width:560px){
  #obiskovalci .visitors-offer{padding:0}
  #obiskovalci .visitors-offer>h3{padding:14px 20px}
  #obiskovalci .offer-groups{padding:20px 20px 10px}
}

/* Lokacija: znak OŠ Koseze namesto generične hiške. */
#lokacija .school-mark{width:88px;height:auto;color:inherit}
#lokacija .school-mark img{display:block;width:100%;height:auto}

/* v3.7: hero VSTOP PROST graphic */
.hero-free-entry img{
  display:block;
  width:250px;
  height:75px;
  object-fit:contain;
  max-width:100%;
}


/* v3.8: HERO VSTOP PROST uses supplied PNG, isolated from legacy text styling */
.hero-free-entry-graphic{
  display:block;
  width:300px;
  height:90px;
  margin:32px 0 0 8px;
  padding:0;
  line-height:0;
}
.hero-free-entry-graphic img{
  display:block;
  width:300px !important;
  height:90px !important;
  max-width:none !important;
  object-fit:fill;
}
@media(max-width:1260px) and (min-width:951px){
  .hero-free-entry-graphic{margin-top:28px}
}
@media(max-width:950px){
  .hero-free-entry-graphic{margin-top:21px}
}
@media(max-width:620px){
  .hero-free-entry-graphic{width:240px;height:72px;margin-top:17px}
  .hero-free-entry-graphic img{width:240px !important;height:72px !important}
}

/* v4.0, prijava razstavljalcev */
.form-dialog-wide{width:min(920px,calc(100vw - 32px));max-height:92vh;padding:0;overflow:auto;border-radius:20px}.form-dialog-wide .modal-close{z-index:3;background:#fff}.form-banner{height:220px;overflow:hidden;border-radius:20px 20px 0 0;background:#111}.form-banner img{width:100%;height:100%;object-fit:cover;object-position:center 52%;display:block}.form-head,.kf-application,.form-dialog-wide>.form-message{margin-left:32px;margin-right:32px}.form-head{padding:24px 0 8px}.form-head h2{margin:0 0 6px}.kf-application fieldset{border:0;border-top:1px solid #e2e5ea;margin:20px 0 0;padding:24px 0 4px}.kf-application legend{font-size:1.25rem;font-weight:800;padding:0 12px 0 0}.kf-application label{display:flex;flex-direction:column;gap:7px;font-weight:700;margin:14px 0}.kf-application input,.kf-application select,.kf-application textarea{width:100%;box-sizing:border-box;border:1px solid #cbd1d8;border-radius:10px;padding:12px 13px;font:inherit;background:#fff}.kf-application textarea{resize:vertical}.form-grid{display:grid;gap:16px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.choice-group{margin:16px 0}.choice-group>span{display:block;font-weight:800;margin-bottom:8px}.choice-group label{display:flex;flex-direction:row;align-items:flex-start;gap:9px;margin:8px 0;font-weight:500}.choice-group input,.consent input{width:auto;margin-top:3px}.conditional{display:none}.conditional.is-visible{display:block}.creation-card{background:#f7f8fa;border:1px solid #dde1e6;border-radius:14px;padding:18px;margin:14px 0}.creation-title{display:flex;justify-content:space-between;align-items:center;font-size:1.05rem}.remove-creation{border:0;background:transparent;color:#a32424;cursor:pointer}.creation-card:first-child .remove-creation{display:none}.add-creation{width:100%;border:2px dashed #1f5fa9;background:#fff;color:#1f5fa9;border-radius:12px;padding:13px;font-weight:800;cursor:pointer}.mini-label,.field-help,small{color:#5e6670}.mini-label{font-weight:800;display:block;margin-top:12px}.consent{flex-direction:row!important;align-items:flex-start}.submit-application{width:100%;margin:12px 0 30px}.form-message.success{margin-top:10px;margin-bottom:30px}.form-message.error{margin-top:10px}.hp-field{position:absolute!important;left:-9999px!important}
@media(max-width:680px){.form-dialog-wide{width:100%;height:100dvh;max-height:none;border-radius:0}.form-banner{height:120px;border-radius:0}.form-head,.kf-application,.form-dialog-wide>.form-message{margin-left:18px;margin-right:18px}.form-head{padding-top:18px}.form-grid.two,.form-grid.three{grid-template-columns:1fr}.creation-card{padding:14px}.kf-application input,.kf-application select,.kf-application textarea{font-size:16px}.choice-group label{padding:4px 0}.modal-close{position:fixed;right:12px;top:12px}}

/* v4.1 prijava: mobile-first popravki */
.kf-application fieldset{min-width:0}.kf-application input[type="radio"],.kf-application input[type="checkbox"]{flex:0 0 auto;min-width:20px;min-height:20px}.choice-group small{display:block;margin:-2px 0 10px}.form-dialog-wide{overscroll-behavior:contain}.creation-title{gap:12px}.remove-creation{min-height:40px;padding:6px 4px}.add-creation,.submit-application{min-height:48px}.kf-application input[type="file"]{max-width:100%}
@media(max-width:680px){.form-dialog-wide{width:100vw;max-width:100vw}.form-head h2{font-size:1.45rem;line-height:1.2}.form-head p{font-size:.95rem}.kf-application fieldset{padding-top:20px;margin-top:16px}.kf-application legend{font-size:1.12rem;line-height:1.25}.choice-group label{min-height:36px;line-height:1.35}.choice-group input[type="radio"],.choice-group input[type="checkbox"]{margin-top:0}.creation-title{align-items:flex-start}.remove-creation{font-size:.9rem}.form-banner img{object-position:center center}.kf-application label{line-height:1.35}.submit-application{position:relative;z-index:1}}
@media(max-width:380px){.form-head,.kf-application,.form-dialog-wide>.form-message{margin-left:14px;margin-right:14px}.creation-card{padding:12px}.form-head h2{font-size:1.3rem}}

/* v4.2 prijava: zaporedni koraki, brez dvostolpčnega razreza obrazca */
.form-dialog .kf-application{display:block;grid-template-columns:none;gap:0}
.form-dialog .kf-application>fieldset,
.form-dialog .kf-application>.conditional{width:100%;grid-column:1/-1;box-sizing:border-box}
@media(max-width:680px){
  .form-dialog .kf-application{display:block}
  .kf-application fieldset{width:100%}
}


/* v4.3 prijava: banner, dimenzije in razlagalna slika */
.form-banner img{object-position:center 28%}
.dimensions-help{margin:18px 0 12px;padding:14px 16px;background:#f7f8fa;border:1px solid #dde1e6;border-radius:12px}
.dimensions-help p{margin:0 0 12px;color:var(--navy);line-height:1.45}
.dimensions-help img{display:block;width:100%;max-width:720px;height:auto;margin:0 auto;border-radius:8px}
@media(max-width:680px){
  .form-banner img{object-position:center 24%}
  .dimensions-help{padding:12px}
  .dimensions-help p{font-size:.95rem}
}


/* v4.4 prijava: uvodno obvestilo, banner, ena razlaga dimenzij, ponovna prijava */
.form-banner img{object-position:center top}
.application-disclaimer{margin:8px 0 18px;padding:16px 18px;background:#f7f8fa;border:1px solid #dde1e6;border-radius:12px;color:var(--navy);line-height:1.5}
.application-disclaimer p{margin:0 0 12px}
.application-disclaimer p:last-child{margin-bottom:0}
.new-application-wrap{margin-top:16px}
.new-application{display:inline-flex;text-decoration:none;align-items:center;justify-content:center}
@media(max-width:680px){
  .form-banner img{object-position:center top}
  .application-disclaimer{padding:14px;font-size:.94rem}
  .new-application{width:100%;box-sizing:border-box}
}


/* v4.5 prijava: stabilno notranje drsenje, več prostora in lepši scrollbar */
.form-dialog-wide{
  max-height:calc(100dvh - 24px);
  margin:12px auto;
  scroll-padding-top:92px;
  scroll-padding-bottom:120px;
  scrollbar-width:thin;
  scrollbar-color:#aab4bf transparent;
}
.form-dialog-wide::-webkit-scrollbar{width:8px}
.form-dialog-wide::-webkit-scrollbar-track{background:transparent;margin:18px 0}
.form-dialog-wide::-webkit-scrollbar-thumb{background:#aab4bf;border-radius:999px;border:2px solid #fff}
.form-dialog-wide::-webkit-scrollbar-corner{background:transparent}
.kf-application{padding-bottom:110px}
.kf-application .conditional.is-visible{scroll-margin-top:92px}
.kf-application input[type="number"]{-moz-appearance:textfield}
.kf-application input[type="number"]::-webkit-outer-spin-button,
.kf-application input[type="number"]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
@media(max-width:680px){
  .form-dialog-wide{margin:0;max-height:none;scroll-padding-top:76px;scroll-padding-bottom:110px}
  .kf-application{padding-bottom:120px}
}

/* v4.6 prijava: manjši, nadzorovan pomik pri pogojnih poljih */

/* v4.7 prijava */
.creation-details[hidden],.creation-short-note[hidden]{display:none!important}
.creation-short-note{margin:12px 0 2px;padding:12px 14px;border-radius:10px;background:#eef4fa;color:#173b63}
.creation-kind{padding-top:4px}
.kf-application [data-show-when="tip_udelezbe:razstavljalec"],
.kf-application [data-show-duties],
.kf-application [data-show-final]{scroll-margin-top:88px}

/* v4.9 prijava: enotni sklopi brez velikih barvnih kartic */
.kf-application{background:transparent;border-radius:0;padding:0 16px 120px}
.kf-application .application-section{border:0!important;border-radius:0;margin:28px 0 0!important;padding:0!important;box-shadow:none;background:transparent!important;color:var(--navy)!important}
.kf-application .application-section legend{display:flex;align-items:center;gap:14px;width:100%;padding:0;margin:0 0 22px;color:var(--navy)!important;font-size:22px;font-weight:800}
.kf-application .application-section legend::after{content:"";height:1px;background:var(--navy);opacity:.22;flex:1 1 auto}
.kf-application .application-section label,.kf-application .application-section .choice-group>span,.kf-application .application-section .field-help,.kf-application .application-section small{color:var(--navy)!important}
.kf-application .application-section input,.kf-application .application-section textarea,.kf-application .application-section select{background:#fff;color:var(--navy);border-color:#cfd8e3}
.terms-link{appearance:none;border:0;background:none;padding:0;color:#075ca8;text-decoration:underline;font:inherit;font-weight:700;cursor:pointer}
.terms-modal{position:fixed;inset:0;z-index:1200;display:none;align-items:center;justify-content:center;padding:20px}
.terms-modal.open{display:flex}
.terms-backdrop{position:absolute;inset:0;background:rgba(2,20,40,.68)}
.terms-dialog{position:relative;z-index:1;width:min(760px,calc(100vw - 32px));max-height:min(82vh,760px);overflow:auto;background:#fff;border-radius:18px;padding:28px 30px;color:var(--navy);box-shadow:0 24px 70px rgba(0,0,0,.25)}
.terms-dialog h2{margin:0 42px 20px 0;font-size:28px}.terms-dialog h3{margin:22px 0 6px;font-size:18px}.terms-dialog p{margin:0;line-height:1.55}.terms-close{position:absolute;right:14px;top:12px;width:38px;height:38px;border:0;background:#eef3f7;border-radius:8px;font-size:30px;line-height:1;cursor:pointer;color:var(--navy)}
@media(max-width:680px){.kf-application{padding:0 14px 120px}.kf-application .application-section legend{font-size:20px;gap:10px;margin-bottom:18px}.terms-modal{padding:10px}.terms-dialog{width:calc(100vw - 20px);max-height:88vh;padding:22px 18px;border-radius:14px}}


/* v5.5: mobilni header in HERO, desktop ostane nespremenjen */
@media (max-width:620px){
  .site-header .nav-wrap{height:60px;}
  .mobile-brand{display:flex;align-items:center;height:60px;padding:0;text-decoration:none;}
  .mobile-brand img{display:block;width:auto;height:38px;max-width:122px;object-fit:contain;}
  .nav-toggle{margin-left:auto;}

  .hero{min-height:0;overflow:visible;}
  .hero-inner{display:block;min-height:0;padding:24px 0 62px;}
  .hero-logo-block{display:none!important;}
  .hero-copy{position:relative;z-index:8;max-width:100%;margin:0;padding:0;}
  .eyebrow{margin:0 0 13px;font-size:34px;line-height:1;white-space:nowrap;}
  .hero-copy h1{margin:0 0 18px;max-width:330px;font-size:17px;line-height:1.32;}
  .hero-copy h1 span{display:inline;white-space:normal;}
  .hero-copy h1 span+span::before{content:" ";}
  .hero-details{gap:10px;margin:0;}
  .hero-detail-row{gap:10px;align-items:flex-start;}
  .hero-svg-icon{flex:0 0 22px!important;width:22px!important;height:22px!important;margin-top:1px;}
  .hero-detail-row strong{font-size:13px;line-height:1.32;}
  .hero-date-lines{gap:2px;}
  .hero-tagline{margin:15px 0 0;font-size:16px;line-height:1.2;white-space:normal;}
  .hero-free-entry-graphic{width:200px;height:60px;margin:10px 0 0 2px;}
  .hero-free-entry-graphic img{width:200px!important;height:60px!important;}
  .hero-art{right:-18%;top:0;bottom:0;width:72%;height:100%;opacity:.28;background-position:63% center;}
  .hero-art::before{background:linear-gradient(90deg,#061f3e 0%,rgba(6,31,62,.88) 24%,rgba(6,31,62,.25) 62%,rgba(6,31,62,0) 100%);}
  .hero::after{height:42px;clip-path:polygon(0 24%,50% 100%,100% 24%,100% 100%,0 100%);}
}

/* v5.6: mobilni HERO čez celotno sliko + popravljen hamburger meni */
@media (max-width:620px){
  /* mobilni meni mora ostati pod headerjem in prikazati tudi prvi element */
  .site-header{overflow:visible;}
  .site-header .nav-wrap{position:relative;}
  .main-nav{
    position:absolute!important;
    left:0!important;
    right:0!important;
    top:60px!important;
    z-index:160!important;
    margin:0!important;
    padding:8px 24px 16px!important;
    background:#082746!important;
  }
  .main-nav.open{display:flex!important;}
  .main-nav a{padding:13px 0!important;}

  /* ista obstoječa HERO slika je zdaj ozadje čez celoten banner */
  .hero{background:#061f3e;}
  .hero-inner{padding:24px 0 54px;}
  .hero-art{
    left:0!important;
    right:0!important;
    top:0!important;
    bottom:0!important;
    width:100%!important;
    height:100%!important;
    opacity:.48!important;
    background-size:cover!important;
    background-position:58% center!important;
  }
  .hero-art::before{
    background:linear-gradient(90deg,rgba(6,31,62,.86) 0%,rgba(6,31,62,.70) 48%,rgba(6,31,62,.42) 100%)!important;
  }
  .hero-copy{max-width:100%!important;}
  .hero-copy h1{max-width:none!important;width:100%!important;}

  /* spodnja VSTOP PROST grafika je nekoliko manjša */
  .hero-free-entry-graphic{width:170px;height:51px;margin-top:9px;}
  .hero-free-entry-graphic img{width:170px!important;height:51px!important;}

  /* nekoliko manjši spodnji V izrez, da HERO ne jemlje po nepotrebnem prostora */
  .hero::after{height:30px!important;clip-path:polygon(0 18%,50% 100%,100% 18%,100% 100%,0 100%)!important;}
}

/* v5.7: mobilni HERO vsebina cez skoraj cel ekran + kompaktni desni meni */
@media (max-width:620px){
  /* HERO naj na telefonu izkoristi celotno sirino zaslona */
  .hero > .page-width.hero-inner{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:22px 14px 48px!important;
  }
  .hero-copy{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }
  .eyebrow,
  .hero-copy h1,
  .hero-details,
  .hero-tagline,
  .hero-free-entry-graphic{
    max-width:none!important;
  }
  .hero-copy h1{width:100%!important;}
  .hero-detail-row{width:100%!important;}
  .hero-date-lines{min-width:0;flex:1 1 auto;}
  .hero-date-lines strong{white-space:normal!important;}
  .hero-location-row strong{white-space:normal!important;}

  /* hamburger meni samo na desni in samo toliko sirok, kolikor ga rabi vsebina */
  .main-nav{
    left:auto!important;
    right:0!important;
    width:max-content!important;
    min-width:178px!important;
    max-width:calc(100vw - 24px)!important;
    padding:8px 18px 14px!important;
    align-items:stretch!important;
  }
  .main-nav a{
    white-space:nowrap!important;
    padding:12px 0!important;
  }
}

/* v5.8: mobilni HERO tipografija, meta razmiki in manjši V prehod */
@media (max-width:620px){
  /* naslov 25. KockeFest naj ostane v istem IMPACT slogu kot desktop */
  .hero .eyebrow{
    font-family:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif!important;
    font-size:36px!important;
    line-height:1!important;
    font-weight:400!important;
    letter-spacing:.01em!important;
  }

  /* vrni pisan slogan in ga nekoliko povečaj */
  .hero .hero-tagline{
    font-family:"Segoe Print","Bradley Hand","Comic Sans MS",cursive!important;
    font-size:19px!important;
    line-height:1.22!important;
    font-weight:700!important;
    font-style:italic!important;
    letter-spacing:-.02em!important;
    margin-top:18px!important;
    transform:rotate(-1deg)!important;
    transform-origin:left center!important;
  }

  /* več zraka in malce večje besedilo pri datumih in lokaciji */
  .hero .hero-details{
    gap:14px!important;
    margin-top:2px!important;
  }
  .hero .hero-detail-row{
    gap:12px!important;
    align-items:flex-start!important;
  }
  .hero .hero-svg-icon{
    width:25px!important;
    height:25px!important;
    flex-basis:25px!important;
    margin-top:1px!important;
  }
  .hero .hero-svg-icon svg{
    width:25px!important;
    height:25px!important;
  }
  .hero .hero-date-lines{
    gap:4px!important;
  }
  .hero .hero-detail-row strong,
  .hero .hero-date-lines strong,
  .hero .hero-location-row strong{
    font-size:14px!important;
    line-height:1.38!important;
  }

  /* manj praznega belega območja pod konico HERO-ja */
  .hero > .page-width.hero-inner{
    padding-bottom:38px!important;
  }
  .hero::after{
    height:20px!important;
    bottom:-1px!important;
    clip-path:polygon(0 12%,50% 100%,100% 12%,100% 100%,0 100%)!important;
  }
  .program-section.v-cut{
    padding-top:34px!important;
  }
}
\n\n/* v5.9: zanesljivi mobilni web fonti + vecji naslov */
@media (max-width:620px){
  .hero .eyebrow{
    font-family:"Anton",Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif!important;
    width:100%!important;
    max-width:none!important;
    white-space:nowrap!important;
    font-size:clamp(44px,13vw,60px)!important;
    line-height:.98!important;
    letter-spacing:0!important;
    margin-left:0!important;
    margin-right:0!important;
  }
  .hero .hero-tagline{
    font-family:"Caveat Brush","Segoe Print","Bradley Hand","Comic Sans MS",cursive!important;
    font-size:22px!important;
    line-height:1.18!important;
  }
}

/* v6.0: mobilni HERO naslov cez skoraj celotno sirino */
@media (max-width:620px){
  .hero .hero-copy{width:100%!important;max-width:none!important;}
  .hero .eyebrow{
    display:block!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    white-space:nowrap!important;
    font-family:"Anton",Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif!important;
    font-size:clamp(48px,14.6vw,68px)!important;
    line-height:.94!important;
    letter-spacing:-.02em!important;
    text-align:left!important;
  }
}

/* v6.1: final mobile HERO spacing and sizing */
@media (max-width:620px){
  .hero .eyebrow{
    margin-bottom:26px!important;
  }
  .hero .hero-details{
    gap:18px!important;
    margin-top:16px!important;
  }
  .hero .hero-detail-row{
    gap:13px!important;
  }
  .hero .hero-svg-icon{
    width:28px!important;
    height:28px!important;
    flex-basis:28px!important;
  }
  .hero .hero-svg-icon svg{
    width:28px!important;
    height:28px!important;
  }
  .hero .hero-detail-row strong,
  .hero .hero-date-lines strong,
  .hero .hero-location-row strong{
    font-size:16px!important;
    line-height:1.45!important;
  }
  .hero .hero-date-lines{
    gap:6px!important;
  }
  .hero .hero-tagline{
    font-size:27px!important;
    line-height:1.16!important;
    margin-top:24px!important;
  }
  .hero .hero-free-entry-graphic{
    width:230px!important;
    height:69px!important;
    margin-top:14px!important;
  }
  .hero .hero-free-entry-graphic img{
    width:230px!important;
    height:69px!important;
  }
}

/* v6.2 mobile footer */
@media(max-width:620px){
  .site-footer{padding:22px 0 12px}
  .footer-main{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center}
  .footer-brand{display:flex;justify-content:center;width:100%}
  .footer-brand img{width:120px;margin:0 auto}
  .footer-contact-social-row{display:flex;align-items:center;justify-content:center;gap:12px}
  .footer-club-cube{display:block;width:34px;height:34px;object-fit:contain}
  .footer-contact{display:none}
  .footer-social{display:flex;align-items:center;justify-content:center;gap:10px}
  .footer-bottom{text-align:center;margin-top:14px;padding-top:12px}
}

/* v6.3 mobile footer icon sizing */
@media(max-width:620px){
  .footer-club-cube{width:40px;height:40px;object-fit:contain}
  .footer-social a{width:40px;height:40px}
  .footer-social img{width:23px;height:23px}
}

/* v6.4 mobile footer, forced equal icon boxes */
@media(max-width:620px){
  .footer-contact-social-row > a[aria-label="Kocke klub"]{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    max-width:42px !important;
    flex:0 0 42px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
  }
  .footer-contact-social-row > a[aria-label="Kocke klub"] > img.footer-club-cube{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    max-width:42px !important;
    object-fit:contain !important;
    display:block !important;
    margin:0 !important;
  }
  .footer-social a{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    flex:0 0 42px !important;
  }
  .footer-social img{
    width:25px !important;
    height:25px !important;
    object-fit:contain !important;
  }
}

/* v6.5 footer icon and copyright alignment, desktop + mobile */
.footer-contact-social-row{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}
.footer-contact-social-row > a[aria-label="Kocke klub"]{
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  max-width:42px !important;
  flex:0 0 42px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  overflow:hidden !important;
}
.footer-contact-social-row > a[aria-label="Kocke klub"] > img.footer-club-cube{
  width:25px !important;
  height:25px !important;
  min-width:25px !important;
  max-width:25px !important;
  object-fit:contain !important;
  display:block !important;
  margin:0 !important;
}
.footer-social a{
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  flex:0 0 42px !important;
}
.footer-social img{
  width:25px !important;
  height:25px !important;
  object-fit:contain !important;
}
.footer-bottom{
  text-align:center !important;
}
\n\n/* v6.6 footer cube circle + mobile gallery hamburger */
.footer-contact-social-row > a[aria-label="Kocke klub"]{
  border:1px solid rgba(255,255,255,.25) !important;
  border-radius:50% !important;
  box-sizing:border-box !important;
  background:transparent !important;
}
.footer-contact-social-row > a[aria-label="Kocke klub"] > img.footer-club-cube{
  width:25px !important;
  height:25px !important;
  object-fit:contain !important;
}
@media(max-width:950px){
  .gallery-page .gallery-header .nav-wrap{
    height:60px !important;
    min-height:60px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    position:relative !important;
    padding-left:12px !important;
    padding-right:12px !important;
  }
  .gallery-page .gallery-brand{
    display:flex !important;
    order:0 !important;
    margin:0 !important;
    height:38px !important;
    align-items:center !important;
  }
  .gallery-page .gallery-brand img{
    display:block !important;
    height:32px !important;
    width:auto !important;
  }
  .gallery-page .gallery-nav-toggle{
    display:block !important;
    order:2 !important;
    margin-left:auto !important;
    padding:8px !important;
    cursor:pointer !important;
  }
  .gallery-page .gallery-nav{
    display:none !important;
    position:absolute !important;
    top:60px !important;
    right:12px !important;
    left:auto !important;
    width:max-content !important;
    min-width:190px !important;
    max-width:calc(100vw - 24px) !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:0 !important;
    padding:8px 18px 12px !important;
    background:#082b50 !important;
    border:1px solid rgba(255,255,255,.14) !important;
    border-radius:0 0 8px 8px !important;
    box-shadow:0 12px 26px rgba(0,0,0,.28) !important;
    overflow:visible !important;
    z-index:120 !important;
  }
  .gallery-page .gallery-nav.open{display:flex !important;}
  .gallery-page .gallery-nav a{
    display:block !important;
    padding:12px 4px !important;
    font-size:14px !important;
    white-space:nowrap !important;
    border-bottom:1px solid rgba(255,255,255,.10) !important;
  }
  .gallery-page .gallery-nav a:last-child{border-bottom:0 !important;}
}


/* v6.7 footer club icon: exactly same circular treatment as FB/IG */
.footer-contact-social-row > a[aria-label="Kocke klub"]{
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  max-width:42px !important;
  flex:0 0 42px !important;
  display:grid !important;
  place-items:center !important;
  padding:0 !important;
  margin:0 !important;
  border:1px solid rgba(255,255,255,.25) !important;
  border-radius:50% !important;
  box-sizing:border-box !important;
  background:transparent !important;
  overflow:hidden !important;
  line-height:1 !important;
}
.footer-contact-social-row > a[aria-label="Kocke klub"] > img.footer-club-cube{
  width:25px !important;
  height:25px !important;
  min-width:25px !important;
  max-width:25px !important;
  display:block !important;
  object-fit:contain !important;
  margin:0 !important;
  padding:0 !important;
}


/* v7.1: Obiskovalci 600x300 + vecji logoslo v 8. programski kartici */
#obiskovalci .visitor-grid.has-three{
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
}
#obiskovalci .visitor-card,
#obiskovalci .visitor-grid.has-two .visitor-card,
#obiskovalci .visitor-grid.has-three .visitor-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:0;
}
#obiskovalci .visitor-media{
  width:100%;
  height:auto;
  min-height:0;
  aspect-ratio:2 / 1;
  overflow:hidden;
  flex:0 0 auto;
  background:#f5f6f7;
}
#obiskovalci .visitor-media img,
#obiskovalci .playrooms-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  min-width:0;
}
#obiskovalci .playrooms-media{
  display:block;
  gap:0;
}
#obiskovalci .visitor-body{
  min-width:0;
  overflow-wrap:anywhere;
}
#obiskovalci .visitor-body p,
#obiskovalci .visitor-body h3{
  max-width:100%;
}

/* Informacije: novi logoslo.png naj bolje zapolni isto 3:2 polje kot ostale slike. */
#program .program-info-logo{
  aspect-ratio:3 / 2;
  padding:6px;
}
#program .program-info-logo img{
  width:min(82%,220px);
  height:auto;
  max-width:100%;
  max-height:92%;
  object-fit:contain;
}

@media(max-width:950px){
  #obiskovalci .visitor-grid.has-three,
  #obiskovalci .visitor-grid.has-two{
    grid-template-columns:1fr;
  }
  #obiskovalci .visitor-media{
    height:auto;
    min-height:0;
    aspect-ratio:2 / 1;
  }
}

@media(max-width:620px){
  #obiskovalci .visitor-media{
    height:auto;
    min-height:0;
    aspect-ratio:2 / 1;
  }
  #program .program-info-logo{
    padding:4px;
  }
  #program .program-info-logo img{
    width:90%;
    max-height:94%;
  }
}

/* v7.2: Obiskovalci poravnave, Urnik dogajanj podmeni in vecji logoslo */
@media(min-width:951px){
  .main-nav .nav-item{position:relative;display:flex;align-items:stretch;}
  .main-nav .nav-item>a{display:flex;align-items:center;}
  .main-nav .nav-submenu{
    position:absolute;
    top:calc(100% - 1px);
    left:50%;
    transform:translate(-50%,-5px);
    min-width:170px;
    padding:7px 10px;
    border:1px solid rgba(255,255,255,.13);
    border-radius:0 0 8px 8px;
    background:#082546;
    box-shadow:0 12px 24px rgba(0,0,0,.18);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .16s ease,transform .16s ease,visibility .16s ease;
  }
  .main-nav .nav-item:hover .nav-submenu,
  .main-nav .nav-item:focus-within .nav-submenu{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translate(-50%,0);
  }
  .main-nav .nav-submenu a{
    display:block;
    padding:10px 12px;
    border:0!important;
    border-radius:5px;
    white-space:nowrap;
    text-align:left;
    font-size:13px;
  }
  .main-nav .nav-submenu a:hover,
  .main-nav .nav-submenu a.active{background:rgba(255,255,255,.09);}
}

#obiskovalci .visitor-facts{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
#obiskovalci .visitor-fact{
  min-width:0;
  height:100%;
  align-items:center;
}
#obiskovalci .visitor-fact-free{grid-column:auto;}

#obiskovalci .schedule-heading{
  scroll-margin-top:calc(var(--header-h) + 18px);
  display:flex;
  align-items:center;
  gap:11px;
  margin:0 0 18px;
  padding-top:2px;
  color:var(--navy);
}
#obiskovalci .schedule-heading h3{
  margin:0;
  font-size:22px;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:-.01em;
}
#obiskovalci .schedule-heading-icon{
  width:28px;
  height:28px;
  color:var(--yellow);
  display:grid;
  place-items:center;
  flex:0 0 28px;
}
#obiskovalci .schedule-heading-icon svg{
  width:27px;
  height:27px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

#program .program-info-logo{padding:1px;}
#program .program-info-logo img{
  width:min(96%,250px);
  max-height:98%;
}

@media(max-width:950px){
  .main-nav .nav-item{display:block;width:100%;}
  .main-nav .nav-item>a{display:block;width:100%;}
  .main-nav .nav-submenu{
    display:block;
    margin:0;
    padding:0 0 2px 17px;
    border-left:2px solid rgba(244,180,0,.65);
  }
  .main-nav .nav-submenu a{
    display:block;
    padding:9px 0 10px!important;
    border-bottom:1px solid rgba(255,255,255,.1)!important;
    color:#dbe7f3;
    font-size:12px;
    font-weight:700;
  }
  #obiskovalci .visitor-facts{
    grid-template-columns:1fr;
    gap:12px;
  }
  #obiskovalci .visitor-fact-free{grid-column:auto;}
  #obiskovalci .schedule-heading{margin-bottom:14px;}
  #obiskovalci .schedule-heading h3{font-size:19px;}
}

@media(max-width:620px){
  #program .program-info-logo{padding:0;}
  #program .program-info-logo img{width:98%;max-height:99%;}
}


/* v7.3: Urnik kot glavni meni + visje kartice Pretekli KockeFesti samo desktop */
@media(min-width:951px){
  #pretekli .past-card{min-height:260px;}
}

/* v7.4: Lokacija poravnava zemljevida + Informacije kartica z belim logo poljem */
@media(min-width:621px){
  #lokacija .map-card{
    height:100%;
    min-height:220px;
  }
}

#program .program-info-card{
  background:#fff;
  border:3px solid var(--navy);
  box-sizing:border-box;
}
#program .program-info-logo{
  background:#fff;
}
#program .program-info-card .program-title{
  background:var(--navy);
  margin:0;
}


/* KockeFest pokrovitelji: neprekinjen carousel brez puščic */
.sponsor-carousel.sponsor-carousel-infinite{
  display:block !important;
  position:relative;
  overflow:hidden;
}
.sponsor-carousel-infinite .sponsor-window{
  width:100%;
  overflow:hidden;
}
.sponsor-carousel-infinite .sponsor-track{
  display:flex;
  width:max-content;
  gap:14px;
  transition:none !important;
  will-change:transform;
}
.sponsor-carousel-infinite .sponsor-track a{
  flex:0 0 190px;
}
.sponsor-carousel-infinite .carousel-btn{
  display:none !important;
}
@media(max-width:950px){
  .sponsor-carousel-infinite .sponsor-track a{flex-basis:165px}
}
@media(max-width:620px){
  .sponsor-carousel-infinite .sponsor-track a{flex-basis:145px}
}


/* Footer jasno ločen od temno modre sekcije Pretekli KockeFesti */
.site-footer{
  background:#000 !important;
}

/* v7.5: stalni mali logo, desno poravnani meniji in bel copyright */
@media(min-width:951px){
  .site-header .sticky-brand{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:translateY(-50%) translateX(0);
    transition:none;
  }
  .site-header .main-nav{
    margin-left:auto;
    justify-content:flex-end;
  }
  .gallery-page .gallery-brand{
    margin:0 !important;
  }
  .gallery-page .gallery-nav{
    margin-left:auto !important;
    justify-content:flex-end;
  }
}
.footer-bottom{
  color:#fff !important;
}

/* Slovenski izbor fotografij in potrditev pospravljanja */
body .form-modal .form-dialog.form-dialog-wide .pk-file-control{position:relative;display:flex;align-items:center;min-height:46px;margin-top:6px;border:1px solid #cfd8e2;border-radius:10px;background:#fff;overflow:hidden}
body .form-modal .form-dialog.form-dialog-wide .pk-file-control input[type="file"]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2}
body .form-modal .form-dialog.form-dialog-wide .pk-file-button{flex:0 0 auto;padding:13px 15px;background:#f2f3f5;border-right:1px solid #cfd8e2;color:#111!important;-webkit-text-fill-color:#111!important;font-size:12px;font-weight:700}
body .form-modal .form-dialog.form-dialog-wide .pk-file-name{min-width:0;padding:0 13px;color:#666!important;-webkit-text-fill-color:#666!important;font-size:13px;font-weight:400!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body .form-modal .form-dialog.form-dialog-wide .pk-cleanup-confirm{margin-top:18px;margin-bottom:34px!important;padding:16px 18px;border:1px solid #d7dde4;border-radius:10px;background:#f8f9fb}
body .form-modal .form-dialog.form-dialog-wide .pk-cleanup-confirm h4{margin:0 0 8px;color:#a02323!important;-webkit-text-fill-color:#a02323!important}
body .form-modal .form-dialog.form-dialog-wide .pk-cleanup-confirm p{margin:0 0 10px;font-weight:400!important}
body .form-modal .form-dialog.form-dialog-wide .pk-cleanup-confirm .consent-row{margin:8px 0}
/* KockeFest: potrditev skupnega pospravljanja */
body .form-modal .form-dialog.form-dialog-wide .pk-cleanup-confirm h4{color:#0b2d52!important;-webkit-text-fill-color:#0b2d52!important}
body .form-modal .form-dialog.form-dialog-wide .pk-cleanup-confirm .consent-row{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:10px!important;margin:12px 0 0!important;font-weight:700!important}
body .form-modal .form-dialog.form-dialog-wide .pk-cleanup-confirm .consent-row input{width:auto!important;min-width:18px;height:18px;margin:1px 0 0!important;flex:0 0 auto}
body .form-modal .form-dialog.form-dialog-wide .pk-cleanup-confirm .consent-row span{display:block;line-height:1.35}

/* ==================================================
   KOCKEFEST GALERIJA - KONCNA PORAVNAVA HEADERJA
   Samo galerija, desktop: logo na levi in meni na desni,
   poravnano z robovoma 1240 px galerijskega polja.
   ================================================== */
@media (min-width:951px) {
  .gallery-page .gallery-header .nav-wrap {
    position: relative !important;
    width: 1240px !important;
    max-width: calc(100% - 48px) !important;
    min-width: 0 !important;
    height: var(--header-h) !important;
    min-height: var(--header-h) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  .gallery-page .gallery-brand {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
  }

  .gallery-page .gallery-nav {
    width: auto !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }
}

/* Samo galerija: brez horizontalnega skoka med posamezno galerijo in Vse galerije. */
html.gallery-html {
  scrollbar-gutter: stable;
}

/* ==================================================
   KOCKEFEST GALERIJA - LOGO IN MENI ENAKA PRVI STRANI
   Desktop: enake mere logotipa, font, teza in razmiki menija.
   ================================================== */
@media (min-width:951px) {
  .gallery-page .gallery-brand {
    width:215px !important;
    height:auto !important;
  }

  .gallery-page .gallery-brand img {
    display:block !important;
    width:100% !important;
    height:auto !important;
    max-width:none !important;
    object-fit:contain !important;
  }

  .gallery-page .gallery-nav {
    gap:42px !important;
  }

  .gallery-page .gallery-nav a {
    font-size:14px !important;
    font-weight:700 !important;
    padding:22px 0 18px !important;
  }
}

