/* skiandbike-bannery.css – v3 (21. 11. 2026), obrázky ve složce /user/documents/upload/HP/
   HP bannery – Vánoce 2026:
   velký banner = Vánoční rozvoz dětských kol (fotka jako <img>, text + tlačítko v HTML).
   Malé bannery zatím beze změny (původní od agentury) – pravidla pro ně se doplní, až budou nové podklady.
   Načítá se ze Záhlaví přes <link>. !important je nutný kvůli vysoké specificitě CSS agentury. */

/* ===== VELKÝ BANNER: Vánoční rozvoz dětských kol ===== */
body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas{
  position:relative;z-index:0;overflow:hidden;
  display:block !important;padding:0 !important;
  background:#20291c !important;           /* bez obrázku agentury, tmavý podklad */
  border-radius:6px !important;color:#fff;text-align:left !important;
}
/* agentura schovává všechny děti banneru – vrátit fotku a text */
body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas>.sb-xmas-img,
body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas>.sb-xmas-content{display:block !important;}

/* fotka přes celý banner */
body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-img{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;margin:0;}
body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-img img{
  display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:right center;
}
/* tmavý přechod zleva kvůli čitelnosti bílého textu (leží mezi fotkou a textem) */
body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas::before{
  content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;
  background:linear-gradient(90deg,rgba(12,16,11,.84) 0%,rgba(12,16,11,.76) 30%,rgba(12,16,11,.56) 41%,rgba(12,16,11,0) 60%);
}

/* text */
body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-content{
  position:static;height:100%;box-sizing:border-box;
  display:flex !important;flex-direction:column;justify-content:center;align-items:flex-start;
  max-width:46%;padding:44px 0 44px 44px;
}
body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-date{
  margin:0 0 14px;color:#ffdb98;font-weight:700;font-size:17px;line-height:1.3;
}
body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-content h2{
  display:block !important;margin:0 !important;color:#fff !important;
  font-size:40px !important;line-height:1.05 !important;font-weight:900 !important;
  text-transform:none !important;letter-spacing:-.02em;
}
body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-details{
  margin:14px 0 20px;color:#fff;font-size:17px;line-height:1.45;
}
body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-details span{display:block;}

/* tlačítko – agentura ho dělá neviditelné přes celý banner, tady ho zviditelníme */
body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .akip--main-banner-btn{
  display:inline-block !important;position:static !important;opacity:1 !important;
  background:#ffdb98;color:#1e241a !important;font-weight:700;font-size:15px;line-height:1.2;
  text-transform:none !important;text-decoration:none !important;
  padding:12px 20px;border-radius:6px;transition:background-color .2s ease,transform .2s ease;
}
/* klikací zůstává celý banner (text je static, takže se vrstva roztáhne přes celý banner) */
body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .akip--main-banner-btn::after{
  content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;
}
@media (hover:hover) and (pointer:fine){
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas:hover .akip--main-banner-btn{background:#ffe7b8;transform:translateY(-2px);}
}
@media (prefers-reduced-motion:reduce){
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas:hover .akip--main-banner-btn{transform:none;}
}
body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .akip--main-banner-btn:focus-visible{outline:3px solid #fff;outline-offset:3px;}

/* užší desktop (980–1199 px): banner je jen cca 600–770 px široký – menší písmo, širší text a přechod */
@media (min-width:980px) and (max-width:1199px){
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas::before{
    background:linear-gradient(90deg,rgba(12,16,11,.86) 0%,rgba(12,16,11,.78) 40%,rgba(12,16,11,.55) 58%,rgba(12,16,11,0) 78%);
  }
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-content{max-width:58%;padding:32px 0 32px 32px;}
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-content h2{font-size:32px !important;}
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-date,
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-details{font-size:15px;}
}

/* tablet (760–979 px): banner je na celou šířku, výška podle poměru fotky, text přes fotku */
@media (min-width:760px) and (max-width:979px){
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas{min-height:0 !important;height:auto !important;aspect-ratio:1829/860;}
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas::before{
    background:linear-gradient(90deg,rgba(12,16,11,.86) 0%,rgba(12,16,11,.78) 40%,rgba(12,16,11,.55) 58%,rgba(12,16,11,0) 78%);
  }
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-content{max-width:58%;padding:28px 0 28px 28px;}
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-content h2{font-size:30px !important;}
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-date,
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-details{font-size:15px;}
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-details{margin:10px 0 16px;}
}

/* mobil (do 759 px, banner užší než cca 720 px): mobilní ořez nahoře, tmavý blok s textem pod ním */
@media (max-width:759px){
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas{min-height:0 !important;height:auto !important;}
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas::before{display:none;}
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-img{position:static;}
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-img img{height:auto;aspect-ratio:3/2;object-position:center;}
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-content{max-width:none;height:auto;padding:22px 20px 24px;}
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-content h2{font-size:28px !important;max-width:18ch;}
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-date,
  body .kn_container.benefits+.col-sm-8 .akip--main-banner.sb-xmas .sb-xmas-details{font-size:15px;}
}
