/* WL Heading */
.wl-heading{position:relative;--wl-h-ml:0;--wl-h-mr:auto;--wl-h-jc:flex-start;--wl-sep-color:currentColor;--wl-sep-h:3px;--wl-bar-color:currentColor;--wl-bar-w:4px;--wl-bar-h:100%;--wl-bar-gap:16px;--wl-sub-line-color:currentColor;--wl-sub-line-w:40px;--wl-sub-line-h:2px;--wl-sub-line-gap:12px}
.wl-heading__link,.wl-heading__link:hover{text-decoration:none;color:inherit}
.wl-heading__title{margin:0}
.wl-heading__title-text{display:inline-block;position:relative;max-width:100%}
.wl-heading__title mark{background:none;color:inherit;padding:0}

/* Układ: tytuł z lewej, podtytuł i opis z prawej */
.wl-heading--side{display:flex;align-items:center;gap:30px}
.wl-heading--side .wl-heading__main{flex:0 0 40%;max-width:40%;min-width:0}
.wl-heading--side .wl-heading__aside{flex:1 1 auto;min-width:0}
@media (max-width:1024px){.wl-heading-stack-tablet .wl-heading--side{display:block}.wl-heading-stack-tablet .wl-heading--side .wl-heading__main{max-width:none}}
@media (max-width:767px){.wl-heading-stack-mobile .wl-heading--side{display:block}.wl-heading-stack-mobile .wl-heading--side .wl-heading__main{max-width:none}}
.wl-heading--side .wl-heading__aside>:first-child{margin-top:0}

/* Gradient tytułu */
.wl-heading-color-gradient .wl-heading__title-text,.wl-heading-color-gradient.wl-heading-gt-mark .wl-heading__title mark{background-image:linear-gradient(var(--wl-ga,90deg),var(--wl-g1,#000) var(--wl-g1p,0%),var(--wl-g2,#666) var(--wl-g2p,100%));-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.wl-heading-color-gradient.wl-heading-grad-radial .wl-heading__title-text,.wl-heading-color-gradient.wl-heading-grad-radial.wl-heading-gt-mark .wl-heading__title mark{background-image:radial-gradient(circle at var(--wl-gpos,center center),var(--wl-g1,#000) var(--wl-g1p,0%),var(--wl-g2,#666) var(--wl-g2p,100%))}

/* Belka przy tytule — tuż przy tekście */
.wl-heading__title.has-bar.bar-start .wl-heading__title-text{padding-left:calc(var(--wl-bar-w) + var(--wl-bar-gap))}
.wl-heading__title.has-bar.bar-end .wl-heading__title-text{padding-right:calc(var(--wl-bar-w) + var(--wl-bar-gap))}
.wl-heading__title.has-bar .wl-heading__title-text::before{content:"";position:absolute;top:50%;transform:translateY(-50%);width:var(--wl-bar-w);height:var(--wl-bar-h);background:var(--wl-bar-color);border-radius:calc(var(--wl-bar-w) / 2)}
.wl-heading__title.has-bar.bar-start .wl-heading__title-text::before{left:0}
.wl-heading__title.has-bar.bar-end .wl-heading__title-text::before{right:0}
.wl-heading-color-gradient .wl-heading__title.has-bar .wl-heading__title-text::before{-webkit-text-fill-color:initial}

/* Podtytuł */
.wl-heading__subtitle{margin:0 0 8px}
.wl-heading__title+.wl-heading__subtitle,.wl-heading__link+.wl-heading__subtitle,.wl-heading__sep+.wl-heading__subtitle{margin-top:8px}
.wl-heading__subtitle.has-outline{display:inline-block;border:1px solid currentColor;border-radius:2em;padding:6px 20px}
.wl-heading__subtitle.has-lines{display:flex;align-items:center;justify-content:var(--wl-h-jc);gap:var(--wl-sub-line-gap)}
.wl-heading__subtitle.has-lines.has-outline{display:inline-flex}
.wl-heading__subtitle.has-lines::before,.wl-heading__subtitle.has-lines::after{content:"";flex:0 0 var(--wl-sub-line-w);height:var(--wl-sub-line-h);background:var(--wl-sub-line-color)}

/* Opis */
.wl-heading__description{margin-top:12px;margin-left:var(--wl-h-ml);margin-right:var(--wl-h-mr)}
.wl-heading__description>:last-child{margin-bottom:0}

/* Separator */
.wl-heading__sep{display:flex;align-items:center;gap:8px;width:100px;max-width:100%;margin:12px var(--wl-h-mr) 12px var(--wl-h-ml);color:var(--wl-sep-color);line-height:0}
.wl-heading__sep-line{flex:1 1 auto;height:var(--wl-sep-h);background:currentColor;border-radius:calc(var(--wl-sep-h) / 2)}
.wl-heading__sep-dots{display:inline-flex;gap:calc(var(--wl-sep-h) + 2px);flex:0 0 auto}
.wl-heading__sep-dots i{display:block;width:var(--wl-sep-h);height:var(--wl-sep-h);border-radius:50%;background:currentColor}
.wl-heading__sep-dot{flex:0 0 auto;width:calc(var(--wl-sep-h) * 3);height:calc(var(--wl-sep-h) * 3);min-width:7px;min-height:7px;border-radius:50%;background:currentColor}
.wl-heading__sep-mark{flex:0 0 auto;width:calc(var(--wl-sep-h) * 5);height:calc(var(--wl-sep-h) * 5);min-width:12px;min-height:12px}
.wl-heading__sep--image{width:auto;justify-content:var(--wl-h-jc)}
.wl-heading__sep--image img{display:block;max-width:100%;height:auto}
/* Gradient tylko na fragmencie {{ }}: reszta tytułu w kolorze jednolitym */
.wl-heading-color-gradient.wl-heading-gt-mark .wl-heading__title-text{background-image:none;-webkit-background-clip:border-box;background-clip:border-box;color:inherit;-webkit-text-fill-color:currentColor}
/* Obrys tekstu (włącz/wyłącz jak gradient). Obrys rysowany pod wypełnieniem (paint-order) — litery nie chudną. */
.wl-heading-stroke-yes{--wl-stroke-w:1px;--wl-stroke-c:currentColor}
.wl-heading-stroke-yes.wl-heading-st-all .wl-heading__title-text,
.wl-heading-stroke-yes.wl-heading-st-mark .wl-heading__title mark,
.wl-heading-stroke-yes.wl-heading-st-rest .wl-heading__title-text{
    -webkit-text-stroke:var(--wl-stroke-w) var(--wl-stroke-c);
    paint-order:stroke fill;
}
.wl-heading-stroke-yes.wl-heading-st-rest .wl-heading__title mark{-webkit-text-stroke:0}
/* Sam kontur: przezroczyste litery (także bez gradientu) */
.wl-heading-stroke-yes.wl-heading-sf-none.wl-heading-st-all .wl-heading__title-text,
.wl-heading-stroke-yes.wl-heading-sf-none.wl-heading-st-all .wl-heading__title-text mark,
.wl-heading-stroke-yes.wl-heading-sf-none.wl-heading-st-mark .wl-heading__title mark,
.wl-heading-stroke-yes.wl-heading-sf-none.wl-heading-st-rest .wl-heading__title-text{
    -webkit-text-fill-color:transparent;
    background-image:none;
}
.wl-heading-stroke-yes.wl-heading-sf-none.wl-heading-st-rest .wl-heading__title mark{
    -webkit-text-fill-color:currentColor;
}

