/* ==========================================================
   SBWiLK – Hero Banner (Image / Video)
   Kolor przewodni: #ffd23a (ustawiany jako --sbw-brand)
   ========================================================== */

.sbwilk-hero {
  position: relative;
  width: 100%;
  min-height: 60vh; /* nadpisywane kontrolką */
  overflow: hidden;
  background: #0f141a;
  --sbw-brand: #ffd23a;
}

.sbwilk-hero.is-full .sbwilk-hero__inner {
  max-width: none;
}

/* Warstwa z mediami (obrazy/wideo) */
.sbwilk-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.sbwilk-hero__img,
.sbwilk-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%!important;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02); /* subtelne powiększenie, żeby nie “błyskały” krawędzie */
}

.sbwilk-hero__overlay {
  position: absolute;
  inset: 0;
  mix-blend-mode: normal;
}

/* Warstwa z treścią */
.sbwilk-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: flex;
  /* Wyrównania sterowane kontrolkami (CHOOSE) – CSS wstrzykiwany inline przez Elementor */
}

.sbwilk-hero__inner {
  width: min(92%, 1160px);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) 0;
}

.sbwilk-hero__pretitle {
  display: inline-block;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sbw-brand);
  background: rgba(255,210,58,.12);
  border: 1px solid rgba(255,210,58,.45);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.sbwilk-hero__title {
  margin: 0 0 10px;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.08;
  color: #fff;
  text-wrap: balance;
}

.sbwilk-hero__desc {
  margin: 0 0 22px;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.5;
  color: rgba(255,255,255,.92);
  max-width: 60ch;
}

.sbwilk-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--sbw-brand);
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(255, 210, 58, .32);
  transition: transform .2s ease, box-shadow .2s ease;
}
.sbwilk-hero__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 52px rgba(255, 210, 58, .42);
}
.sbwilk-hero__btn .arr { transition: transform .2s ease; }
.sbwilk-hero__btn:hover .arr { transform: translateX(4px); }

/* Responsywność */
@media (max-width: 980px) {
  .sbwilk-hero__inner { width: min(94%, 900px); }
}
@media (max-width: 640px) {
  .sbwilk-hero__desc { max-width: none; }
}

/* Edytor Elementora – zawsze włącz media */
.elementor-editor-active .sbwilk-hero__video {
  opacity: 1 !important;
}
