
/* DVOJKA v2.6 — dynamic promo banner slider */
.promo-slider-section{padding:54px 22px 24px;background:#fff}.promo-slider{position:relative;overflow:hidden;border-radius:26px;background:#0b1f31;box-shadow:0 22px 60px rgba(18,45,69,.12);aspect-ratio:20/7;min-height:260px}.promo-track{height:100%;position:relative}.promo-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .55s ease}.promo-slide.active{opacity:1;pointer-events:auto}.promo-media,.promo-media img,.promo-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.promo-mobile{display:none}.promo-slide.has-copy:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,19,32,.82) 0%,rgba(5,27,42,.54) 42%,rgba(3,30,41,.10) 75%)}.promo-copy{position:absolute;z-index:2;left:0;top:0;bottom:0;width:min(56%,650px);padding:clamp(28px,5vw,64px);display:flex;flex-direction:column;justify-content:center;color:#fff}.promo-copy .promo-kicker{font-size:10px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;opacity:.75;margin-bottom:10px}.promo-copy h2{font-size:clamp(30px,4.2vw,54px);line-height:1;margin:0 0 13px;color:#fff}.promo-copy p{font-size:clamp(13px,1.6vw,17px);line-height:1.6;color:rgba(255,255,255,.84);margin:0;max-width:540px}.promo-copy a{align-self:flex-start;margin-top:22px;padding:11px 16px;border-radius:13px;background:#fff;color:#10263a;font-weight:850;font-size:12px}.promo-controls{position:absolute;z-index:4;left:18px;right:18px;bottom:16px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.promo-dots{display:flex;gap:7px;pointer-events:auto}.promo-dot{width:9px;height:9px;border:0;border-radius:999px;background:rgba(255,255,255,.48);padding:0;cursor:pointer;transition:.2s}.promo-dot.active{width:26px;background:#fff}.promo-arrows{display:flex;gap:7px;pointer-events:auto}.promo-arrow{width:38px;height:38px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(5,25,41,.42);backdrop-filter:blur(9px);color:#fff;cursor:pointer;font-size:20px}.promo-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:rgba(255,255,255,.16);z-index:5}.promo-progress span{display:block;height:100%;width:0;background:#fff}.promo-slider.is-running .promo-progress span{animation:promoProgress var(--promo-duration,7s) linear forwards}@keyframes promoProgress{from{width:0}to{width:100%}}@media(max-width:800px){.promo-slider-section{padding:34px 14px 18px}.promo-slider{aspect-ratio:4/3;min-height:330px;border-radius:22px}.promo-desktop.has-mobile{display:none}.promo-mobile{display:block}.promo-slide.has-copy:after{background:linear-gradient(0deg,rgba(5,19,32,.84),rgba(5,19,32,.22) 68%)}.promo-copy{width:100%;justify-content:flex-end;padding:26px 24px 50px}.promo-copy h2{font-size:32px}.promo-copy p{font-size:13px;max-width:92%}.promo-copy a{margin-top:14px}.promo-controls{left:13px;right:13px;bottom:12px}.promo-arrow{width:34px;height:34px}}@media(prefers-reduced-motion:reduce){.promo-slide{transition:none}.promo-progress{display:none}}


/* v2.6.3.1 — slider integrated directly into the first hero viewport */
.hero-content{display:grid!important;grid-template-columns:minmax(0,.82fr) minmax(620px,1.18fr);gap:26px;align-items:center!important;margin-top:76px!important}
.hero-copy{max-width:650px!important}
.hero h1{font-size:clamp(56px,6vw,88px)!important}
.hero-promo-zone{position:relative;width:100%;max-width:760px;justify-self:end;padding:4px 0 38px 0}
.hero .promo-slider-section{padding:0!important;background:transparent!important;width:100%}
.hero .promo-slider{width:100%;aspect-ratio:16/9;min-height:0;padding:0;border-radius:24px;border:none;box-shadow:0 26px 70px rgba(0,0,0,.24);background:transparent}
.hero .promo-track,.hero .promo-slide,.hero .promo-media,.hero .promo-media img,.hero .promo-media video{border-radius:24px;overflow:hidden;background:transparent}
.hero .promo-slide.has-copy:after{background:linear-gradient(0deg,rgba(5,19,32,.70) 0%,rgba(5,27,42,.26) 42%,rgba(3,30,41,0) 76%)}
.hero .promo-copy{width:100%;padding:22px 24px 46px;justify-content:flex-end}
.hero .promo-copy h2{font-size:clamp(23px,2vw,32px);margin-bottom:7px}
.hero .promo-copy p{font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;max-width:86%}
.hero .promo-copy a{margin-top:12px;padding:10px 13px;font-size:11px;border-radius:11px}
.hero .promo-controls{left:14px;right:14px;bottom:14px}
.hero .promo-arrow{width:34px;height:34px;font-size:17px}
.hero .promo-dot{width:8px;height:8px}.hero .promo-dot.active{width:22px}
.hero-badge-mini{position:absolute!important;right:-20px!important;bottom:-42px!important;width:126px!important;height:126px!important;transform:rotate(4deg)!important;z-index:8!important;background:rgba(27,113,132,.68)!important;border:1px solid rgba(255,255,255,.40)!important;box-shadow:0 18px 45px rgba(0,0,0,.26)!important}
.hero-badge-mini strong{font-size:34px!important}.hero-badge-mini .hero-badge-kicker{font-size:8px!important}.hero-badge-mini span:last-child{font-size:7px!important}
.hero-promo-zone:has(.promo-slider-section[hidden]){display:flex;justify-content:flex-end;align-items:center;min-height:210px}
.hero-promo-zone:has(.promo-slider-section[hidden]) .hero-badge-mini{position:relative!important;right:auto!important;bottom:auto!important;width:150px!important;height:150px!important}
.hero-promo-zone:has(.promo-slider-section[hidden]) .hero-badge-mini strong{font-size:40px!important}

@media(max-width:1100px){
  .hero-content{grid-template-columns:minmax(0,.88fr) minmax(500px,1.12fr);gap:24px}
  .hero h1{font-size:clamp(52px,5.8vw,74px)!important}
  .hero-promo-zone{max-width:630px}
}
@media(max-width:980px){
  .hero{height:auto!important;min-height:760px!important;padding:150px 0 82px}
  .hero-content{grid-template-columns:1fr!important;gap:34px!important;margin-top:0!important;align-items:start!important}
  .hero-copy{max-width:720px!important}
  .hero-promo-zone{max-width:650px;justify-self:start;padding-bottom:20px}
  .hero-badge-mini{display:flex!important;width:96px!important;height:96px!important;right:-12px!important;bottom:-14px!important}
  .hero-badge-mini strong{font-size:27px!important}
  .hero .promo-slider{aspect-ratio:16/9!important;min-height:260px!important}
}
@media(max-width:680px){
  .hero{min-height:820px!important;padding:126px 0 76px}
  .hero-content{gap:26px!important}
  .hero-copy h1{font-size:52px!important}
  .hero-promo-zone{width:100%;padding:0 0 8px}
  .hero .promo-slider{aspect-ratio:16/9!important;min-height:210px!important;border-radius:18px}
  .hero .promo-copy{padding:20px 20px 38px;width:82%}
  .hero .promo-copy h2{font-size:25px}
  .hero .promo-copy p{font-size:11px}
  .hero-badge-mini{display:none!important}
  .scroll-cue{display:none}
}

/* v2.6.2 — hero slider refined: no white frame, 4:3 format */

/* v2.6.3 — 16:9 hero slider, wider layout, badge intentionally overlaps */

/* v2.6.7 — hero banner enlarged ~120%, badge lowered */

/* v2.8.1 — official school logo inside the hero badge */
.hero-badge-mini{padding:14px 10px 13px!important;gap:4px!important;justify-content:flex-start!important}
.hero-badge-mini .hero-badge-logo{width:74px!important;max-width:68%!important;height:auto!important;display:block;filter:drop-shadow(0 4px 10px rgba(0,0,0,.10));margin:1px auto 0}
.hero-badge-mini strong{font-size:31px!important;line-height:1!important;margin-top:2px}
.hero-badge-mini span:last-child{font-size:7px!important;line-height:1.15!important;max-width:86px}
.hero-promo-zone:has(.promo-slider-section[hidden]) .hero-badge-mini{padding:16px 12px 14px!important}
.hero-promo-zone:has(.promo-slider-section[hidden]) .hero-badge-mini .hero-badge-logo{width:84px!important;max-width:70%!important}
.hero-promo-zone:has(.promo-slider-section[hidden]) .hero-badge-mini strong{font-size:36px!important}
@media(max-width:980px){
  .hero-badge-mini{padding:10px 8px 9px!important;gap:2px!important}
  .hero-badge-mini .hero-badge-logo{width:56px!important;max-width:70%!important}
  .hero-badge-mini strong{font-size:24px!important}
  .hero-badge-mini span:last-child{font-size:6px!important;max-width:74px}
}


/* v3.6.13 — engraved DVOJKA 2026 hero medallion */
.hero-badge-mini.hero-medallion{
  width:150px!important;
  height:150px!important;
  right:-28px!important;
  bottom:-48px!important;
  padding:0!important;
  gap:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
  transform:rotate(3deg)!important;
  display:block!important;
}
.hero-badge-mini.hero-medallion .hero-medallion-image{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  object-fit:contain!important;
  border-radius:50%!important;
  margin:0!important;
  filter:drop-shadow(0 15px 24px rgba(0,0,0,.34))!important;
}
.hero-promo-zone:has(.promo-slider-section[hidden]) .hero-badge-mini.hero-medallion{
  width:164px!important;
  height:164px!important;
  right:auto!important;
  bottom:auto!important;
  padding:0!important;
}
@media(max-width:980px){
  .hero-badge-mini.hero-medallion{
    width:108px!important;
    height:108px!important;
    right:-16px!important;
    bottom:-20px!important;
    padding:0!important;
  }
}
@media(max-width:680px){
  .hero-badge-mini.hero-medallion{display:none!important}
}

/* v3.6.13 — clickable hero slideshow */
.promo-slide{cursor:zoom-in}
.promo-slide:focus-visible{outline:3px solid rgba(255,255,255,.78);outline-offset:-5px}
.promo-zoom-hint{position:absolute;right:18px;top:18px;z-index:7;display:flex;align-items:center;gap:7px;min-height:32px;padding:0 11px;border-radius:999px;background:rgba(4,22,36,.58);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(10px);color:#fff;font-size:9px;font-weight:850;opacity:.72;pointer-events:none;transition:.2s}
.promo-slider:hover .promo-zoom-hint{opacity:1;transform:translateY(2px)}
.promo-zoom-hint span{font-size:14px}
body.promo-viewer-open{overflow:hidden}
.promo-fullscreen-viewer{position:fixed;inset:0;z-index:100000;display:grid;grid-template-rows:58px minmax(0,1fr) 42px;background:#04111a;color:#fff;opacity:0;visibility:hidden;pointer-events:none;transform:scale(.985);transition:opacity .24s ease,transform .28s cubic-bezier(.2,.75,.25,1),visibility 0s linear .28s}
.promo-fullscreen-viewer.open{opacity:1;visibility:visible;pointer-events:auto;transform:scale(1);transition-delay:0s}
.promo-viewer-top,.promo-viewer-bottom{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 20px;background:#071925;border-bottom:1px solid rgba(255,255,255,.08)}
.promo-viewer-bottom{border-top:1px solid rgba(255,255,255,.08);border-bottom:0;color:#9db1bf;font-size:10px}
.promo-viewer-title{font-size:13px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.promo-viewer-actions{display:flex;gap:8px}
.promo-viewer-actions button{width:36px;height:36px;border:1px solid rgba(255,255,255,.16);border-radius:11px;background:#0e2a3d;color:#fff;font-size:18px;cursor:pointer}
.promo-viewer-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:0;padding:18px 70px;background:#020b11;overflow:hidden}
.promo-viewer-media{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center;opacity:0;transform:scale(.97);filter:blur(5px);transition:opacity .42s ease,transform .46s cubic-bezier(.2,.75,.25,1),filter .4s ease;box-shadow:0 20px 70px rgba(0,0,0,.35)}
.promo-viewer-media.ready{opacity:1;transform:scale(1);filter:blur(0)}
.promo-viewer-nav{position:absolute;top:50%;z-index:3;transform:translateY(-50%);width:48px;height:70px;border:1px solid rgba(255,255,255,.13);border-radius:16px;background:rgba(13,41,58,.72);backdrop-filter:blur(9px);color:#fff;font-size:34px;cursor:pointer}
.promo-viewer-nav.prev{left:15px}.promo-viewer-nav.next{right:15px}
.promo-viewer-nav:hover,.promo-viewer-actions button:hover{background:#16425d}
@media(max-width:800px){.promo-zoom-hint{right:12px;top:12px;font-size:0;width:34px;padding:0;justify-content:center}.promo-viewer-stage{padding:10px 46px}.promo-viewer-nav{width:38px;height:58px;border-radius:12px}.promo-viewer-nav.prev{left:5px}.promo-viewer-nav.next{right:5px}.promo-viewer-bottom span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){.promo-fullscreen-viewer,.promo-viewer-media{transition:none!important}}

/* v3.6.13 — ESC closes viewer completely + Dvojka seal */
.promo-viewer-seal{
  position:absolute;
  right:24px;
  bottom:52px;
  z-index:5;
  width:112px;
  height:auto;
  display:block;
  pointer-events:none;
  user-select:none;
  opacity:.92;
  filter:drop-shadow(0 12px 24px rgba(0,0,0,.34));
  transition:opacity .2s ease,transform .25s ease;
}
.promo-fullscreen-viewer.open .promo-viewer-seal{
  transform:translateY(0) scale(1);
}
@media(max-width:800px){
  .promo-viewer-seal{
    width:76px;
    right:10px;
    bottom:48px;
    opacity:.88;
  }
}
