/* SYM Polska — Moduł początkowy, Enfold ALB. Scoped styles: no changes to other modules. */
#top .sym-hero { --sym-inset: clamp(22px, 7.5vw, 150px); --sym-scene-height: clamp(410px, 35vw, 610px); position:relative; width:100%; margin:0; background:#fff; color:#171717; font-family:'Figtree',sans-serif; isolation:isolate; box-sizing:border-box; }
#top .sym-hero *, #top .sym-hero *::before, #top .sym-hero *::after { box-sizing:border-box; }
#top .sym-hero--full { width:100vw; max-width:100vw; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw); }
#top .sym-hero__scene { height:var(--sym-scene-height); position:relative; background:#282b2d; overflow:hidden; }
#top .sym-hero__background { position:absolute; left:0; top:0; width:100%; height:100%; object-fit:cover; object-position:center center; display:block; max-width:none; border:0; }
#top .sym-hero__scene-shade { position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.42),rgba(0,0,0,.10) 53%,rgba(0,0,0,0) 80%); pointer-events:none; }
#top .sym-hero__scene-copy { position:relative; z-index:2; padding:clamp(45px,5vw,90px) var(--sym-inset) 20px; width:min(60%,900px); }
#top .sym-hero__eyebrow { font:700 clamp(13px,1.4vw,23px)/1.3 'Figtree',sans-serif; color:#fff; margin:0 0 8px; text-transform:uppercase; }
#top .sym-hero__model { margin:0 0 12px; font:700 clamp(56px,7vw,118px)/.98 'Figtree',sans-serif; color:#fff; letter-spacing:-.035em; text-transform:none; overflow-wrap:anywhere; }
#top .sym-hero__tagline { margin:20px 0 0; font:400 clamp(17px,1.55vw,27px)/1.28 'Figtree',sans-serif; color:#fff; }
#top .sym-hero__bottom { height:clamp(450px,30vw,620px); position:relative; background:#fff; }
#top .sym-hero__euro { position:absolute; top:calc(var(--sym-scene-height) - 30px); left:var(--sym-inset); z-index:10; width:min(330px,36vw); max-width:36%; }
#top .sym-hero__euro img { width:100%; max-width:330px; height:auto; display:block; }
#top .sym-hero__bike { position:absolute; z-index:3; top:clamp(-520px,-28vw,-300px); right:clamp(0px,2.5vw,55px); width:min(65vw,1100px); margin:0; pointer-events:none; }
#top .sym-hero__bike img { display:block; width:100%; max-width:none; height:auto; object-fit:contain; }
#top .sym-hero__details { position:relative; z-index:4; padding:clamp(105px,12vw,185px) 0 40px var(--sym-inset); width:43%; }
#top .sym-hero__availability { margin:0 0 24px; color:#111; font:700 clamp(34px,3.1vw,59px)/1.08 'Figtree',sans-serif; letter-spacing:-.025em; text-transform:none; }
#top .sym-hero__price { color:#111; font:600 clamp(24px,2vw,36px)/1.35 'Figtree',sans-serif; }
#top .sym-hero__price-label { margin-right:.3em; }
#top .sym-hero__price-value { font-weight:700; }
@media only screen and (max-width: 989px) {
 #top .sym-hero { --sym-inset:clamp(20px,5vw,42px); --sym-scene-height:clamp(280px,49vw,445px); }
 #top .sym-hero__scene-copy { width:min(80%,650px); padding-top:45px; }
 #top .sym-hero__model { font-size:clamp(48px,8vw,85px); }
 #top .sym-hero__bottom { height:auto; min-height:0; display:flex; flex-direction:column; }
 #top .sym-hero__euro { position:absolute; top:calc(var(--sym-scene-height) - 88px); bottom:auto; left:var(--sym-inset); width:min(230px,52vw); max-width:52%; margin:0; }
 #top .sym-hero__bike { position:relative; top:auto; right:auto; width:min(100%,800px); max-width:100%; margin:8px auto 0; order:2; pointer-events:auto; }
 #top .sym-hero__bike img { width:100%; max-height:640px; object-fit:contain; }
 #top .sym-hero__details { order:1; width:auto; padding:36px var(--sym-inset) 12px; text-align:center; }
 #top .sym-hero__availability { font-size:clamp(32px,5vw,52px); }
}
@media only screen and (max-width: 600px) {
 #top .sym-hero { --sym-scene-height:clamp(250px,76vw,340px); }
 #top .sym-hero__background { object-position:center; }
 #top .sym-hero__scene-copy { width:100%; padding-top:44px; padding-right:20px; }
 #top .sym-hero__eyebrow { font-size:13px; }
 #top .sym-hero__model { font-size:clamp(44px,14vw,72px); }
 #top .sym-hero__tagline { font-size:17px; margin-top:12px; }
 #top .sym-hero__euro { top:calc(var(--sym-scene-height) - 66px); bottom:auto; width:min(185px,48vw); }
 #top .sym-hero__bike { margin-top:6px; width:100%; }
 #top .sym-hero__details { padding-top:32px; padding-bottom:10px; }
 #top .sym-hero__availability { font-size:clamp(30px,8vw,43px); margin-bottom:18px; }
 #top .sym-hero__price { font-size:clamp(24px,5vw,31px); }
}

/* Usuń górny odstęp sekcji treści WYŁĄCZNIE na podstronach z tym modułem.
   W nowoczesnych przeglądarkach :has() pozwala uniknąć globalnej zmiany stylów Enfold. */
@supports selector(:has(*)) {
 #top .template-page .content:has(.sym-hero) { padding-top:0; }
 #top .template-page .entry-content-wrapper:has(.sym-hero) { margin-top:0; }
}
/* Wyłącz domyślny górny margines, który Enfold dodaje pierwszemu elementowi. */
#top .sym-hero:first-child { margin-top:0 !important; }

/* v1.4: usuwa górny luz generowany przez opakowanie treści Enfold, tylko gdy zawiera SYM Hero. */
@supports selector(:has(*)) {
  #top #main .container_wrap:has(.sym-hero) > .container { padding-top:0 !important; }
  #top #main .container_wrap:has(.sym-hero) .content:has(.sym-hero) { padding-top:0 !important; margin-top:0 !important; }
  #top #main .entry-content-wrapper:has(.sym-hero) { padding-top:0 !important; margin-top:0 !important; }
  #top #main .post-entry:has(.sym-hero) { padding-top:0 !important; margin-top:0 !important; }
  #top #main .flex_column:has(> .sym-hero) { margin-top:0 !important; }
}
