@font-face{font-family:KBNBarlow;src:local("Barlow"),local("Barlow Regular");font-weight:400;font-style:normal;font-display:swap}
.kbn-hero,.kbn-news-wrap,.kbn-single{font-family:KBNBarlow,Barlow,Arial,sans-serif;color:var(--kbn-navy,#071a2d);box-sizing:border-box}.kbn-hero *,.kbn-news-wrap *,.kbn-single *{box-sizing:border-box}.kbn-hero{max-width:calc(100vw - 8vw);margin:0 auto;background:#010407;min-height:430px;overflow:hidden;position:relative}.kbn-hero:after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 76% 18%,rgba(108,13,126,.55),transparent 34%),linear-gradient(125deg,transparent 44%,rgba(93,21,128,.38) 44% 46%,transparent 46% 49%,rgba(111,31,143,.35) 49% 51%,transparent 51% 54%,rgba(91,18,119,.32) 54% 56%,transparent 56%)}.kbn-hero-inner{position:relative;z-index:2;height:430px;display:flex;align-items:center}.kbn-marquee{width:100%;display:flex;align-items:center;justify-content:space-around;gap:42px;white-space:nowrap}.kbn-marquee span{font-size:74px;line-height:1;font-weight:700;letter-spacing:.04em;color:#fff}.kbn-marquee i{display:block;width:16px;height:16px;background:#fff;border-radius:50%}.kbn-news-wrap{max-width:1280px;margin:0 auto;padding:72px 24px 80px;position:relative}.kbn-intro{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start;min-height:340px;position:relative}.kbn-ring{position:absolute;left:-340px;top:-7px;width:760px;height:985px;background-image:var(--kbn-path-orange);background-repeat:no-repeat;background-size:760px 985px;background-position:left top;z-index:0;pointer-events:none}.kbn-ring:before,.kbn-ring:after{display:none}.kbn-intro-text{grid-column:2;z-index:1}.kbn-intro h2{font-size:72px;font-weight:300;line-height:1.02;margin:0 0 70px;color:var(--kbn-navy,#071a2d);letter-spacing:-.04em}.kbn-intro p{font-size:17px;line-height:1.45;max-width:520px;margin:0 0 38px}.kbn-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 28px;background:var(--kbn-navy,#071a2d);color:#fff!important;text-decoration:none!important;font-size:12px;letter-spacing:.22em;font-weight:700;text-transform:uppercase;border:0;transition:.18s}.kbn-btn:hover{background:var(--kbn-accent,#f05a1a);color:#071a2d!important}.kbn-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;align-items:start;margin-top:-210px}.kbn-card{position:relative;min-height:360px;overflow:hidden;background:#f3f3f3}.kbn-card.is-large{grid-row:span 2;min-height:560px;max-width:450px;margin-left:72px}.kbn-card-link{display:block;position:relative;width:100%;height:100%;min-height:inherit;color:inherit;text-decoration:none!important;overflow:hidden}.kbn-card img{width:100%;height:100%;min-height:inherit;object-fit:cover;display:block;transition:transform .45s ease}.kbn-card:hover img{transform:scale(1.035)}.kbn-card-caption{position:absolute;left:18px;right:auto;bottom:18px;width:min(78%,380px);background:#fff;padding:22px 26px 19px;box-shadow:0 8px 24px rgba(7,26,45,.08)}.kbn-card-caption h3{font-size:15px!important;line-height:1.42!important;font-weight:400!important;margin:0 0 14px!important;color:var(--kbn-navy,#071a2d)!important}.kbn-card-caption span{display:block;width:34px;height:6px;border-radius:4px;background:var(--kbn-accent,#f05a1a);margin-top:8px}.kbn-single{max-width:1180px;margin:0 auto;padding:70px 24px 110px}.kbn-single-head{text-align:center;min-height:520px;display:flex;flex-direction:column;align-items:center}.kbn-meta-row{display:grid;grid-template-columns:repeat(3,1fr);gap:95px;text-align:left;margin-bottom:85px}.kbn-meta-row strong{display:block;font-size:12px;letter-spacing:.24em;margin-bottom:6px}.kbn-meta-row span{font-size:13px;line-height:1.35}.kbn-single h1{max-width:880px;font-size:45px;line-height:1.18;font-weight:300;letter-spacing:-.045em;margin:0 0 65px}.kbn-featured{margin:0 auto 60px;max-width:980px}.kbn-featured img{width:100%;height:auto;display:block}.kbn-content{font-size:18px;line-height:1.56;max-width:980px;margin:0 auto}.kbn-content>p:first-child{font-size:42px;line-height:1.15;letter-spacing:-.045em;margin-bottom:52px}.kbn-content h2,.kbn-content h3{font-weight:700;letter-spacing:.03em;text-transform:uppercase;font-size:14px;margin-top:45px}.kbn-content p{margin:0 0 28px}
@media (min-width:901px){.kbn-grid .kbn-card:nth-child(2){margin-top:300px}.kbn-grid .kbn-card:nth-child(3){margin-top:130px}.kbn-grid .kbn-card:nth-child(n+4){min-height:430px}.kbn-grid .kbn-card:nth-child(n+4) .kbn-card-caption{width:min(70%,360px)}}

@media (min-width:901px){.kbn-grid-home{grid-template-columns:450px 1fr 1fr;gap:95px;margin-top:-210px}.kbn-grid-home .kbn-card{min-height:360px}.kbn-grid-home .kbn-card.is-large{grid-row:auto;min-height:560px;max-width:450px;margin-left:72px}.kbn-grid-home .kbn-card:nth-child(2){margin-top:300px}.kbn-grid-home .kbn-card:nth-child(3){margin-top:130px}.kbn-grid-home .kbn-card:nth-child(n+4){display:none}}
@media (max-width:900px){.kbn-hero{max-width:100%;min-height:224px}.kbn-hero-inner{height:224px}.kbn-marquee{justify-content:flex-start;gap:30px;animation:kbnScroll 18s linear infinite}.kbn-marquee span{font-size:30px;letter-spacing:.02em}.kbn-marquee i{width:8px;height:8px}.kbn-news-wrap{padding:28px 16px 42px}.kbn-intro{display:block;min-height:0}.kbn-ring{display:none}.kbn-intro h2{font-size:31px;letter-spacing:-.05em;margin:0 0 18px}.kbn-intro p{display:none}.kbn-intro .kbn-btn{display:none}.kbn-grid{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px 0 0;padding:0 0 30px 0}.kbn-grid:after{content:"";flex:0 0 2px}.kbn-card,.kbn-card.is-large{flex:0 0 312px;min-height:260px;max-width:none;margin:0;scroll-snap-align:start}.kbn-card-caption{left:5px;right:5px;bottom:5px;width:auto;padding:15px 16px 14px}.kbn-card-caption h3{font-size:12px!important;line-height:1.35!important}.kbn-card-caption span{display:block;width:34px;height:6px;border-radius:4px;background:var(--kbn-accent,#f05a1a);margin-top:8px}.kbn-grid+.kbn-btn{display:inline-flex}.kbn-single{padding:0 16px 60px}.kbn-single-head{min-height:560px;padding-top:64px}.kbn-meta-row{display:block;width:100%;margin-bottom:26px}.kbn-meta-row div{margin-bottom:22px}.kbn-meta-row strong{font-size:12px}.kbn-single h1{font-size:28px;line-height:1.15;margin:10px 0 45px}.kbn-content{font-size:14px;line-height:1.45}.kbn-content>p:first-child{font-size:18px;line-height:1.15;margin-bottom:30px}.kbn-featured{margin-bottom:28px}}
@keyframes kbnScroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

.kbn-card-caption span{display:block;width:34px;height:6px;border-radius:4px;background:var(--kbn-accent,#f05a1a);margin-top:8px}

/* v1.4.6 poprawki: klikalny przycisk, cień menu, wyżej zdjęcie wpisu */
.kbn-intro{z-index:3}.kbn-intro-text{position:relative;z-index:20}.kbn-all-news-btn,.kbn-btn{position:relative;z-index:30;pointer-events:auto;cursor:pointer}.kbn-grid{z-index:1}
body.single-kbn_news .elementor-location-header,body.post-type-archive-kbn_news .elementor-location-header,body.single-kbn_news header,body.post-type-archive-kbn_news header,body.page .elementor-location-header{box-shadow:0 10px 28px rgba(7,26,45,.16);position:relative;z-index:9999}
.kbn-single{padding-top:34px}.kbn-single-head{min-height:360px}.kbn-meta-row{margin-bottom:54px}.kbn-single h1{margin-bottom:34px}.kbn-featured{margin-top:-18px;box-shadow:0 18px 45px rgba(7,26,45,.14)}
@media (max-width:900px){.kbn-single{padding-top:0}.kbn-single-head{min-height:390px;padding-top:42px}.kbn-featured{margin-top:-10px}}


/* v1.4.7: pomarańczowy rysunek pod kartami + header jak na stronie głównej */
.kbn-news-wrap{position:relative;z-index:0;isolation:isolate;overflow:visible!important;background:transparent!important}
.kbn-intro{z-index:auto!important}
.kbn-ring{z-index:0!important;opacity:1!important}
.kbn-intro-text{position:relative;z-index:4!important}
.kbn-grid{position:relative;z-index:3!important}
.kbn-card,.kbn-card-link,.kbn-card img,.kbn-card-caption{position:relative;z-index:4}
.kbn-card-caption{z-index:6}

body.single-kbn_news:before,
body.post-type-archive-kbn_news:before,
body.kbn-all-news-page:before,
body.page-template-archive-kbn_news:before{
  content:"";position:fixed;left:0;right:0;top:0;height:120px;z-index:9000;pointer-events:none;
  background:linear-gradient(to bottom,rgba(7,26,45,.22),rgba(7,26,45,.08) 42%,rgba(7,26,45,0));
}
body.single-kbn_news .elementor-location-header,
body.post-type-archive-kbn_news .elementor-location-header,
body.single-kbn_news header,
body.post-type-archive-kbn_news header{
  background:transparent!important;box-shadow:none!important;position:relative;z-index:9999!important;
}
body.single-kbn_news .elementor-location-header .elementor-section,
body.post-type-archive-kbn_news .elementor-location-header .elementor-section,
body.single-kbn_news .elementor-location-header .elementor-container,
body.post-type-archive-kbn_news .elementor-location-header .elementor-container{
  background:transparent!important;box-shadow:none!important;
}
body.single-kbn_news header:after,
body.post-type-archive-kbn_news header:after{
  content:"";position:absolute;left:0;right:0;top:0;height:105px;z-index:-1;pointer-events:none;
  background:linear-gradient(to bottom,rgba(7,26,45,.18),rgba(7,26,45,0));
}


/* v1.4.8: pojedynczy wpis jak Bouygues, bez białego pola i bez przycisku PDF */
.kbn-news-wrap{isolation:isolate!important;overflow:visible!important;background:transparent!important}
.kbn-ring{z-index:-1!important;pointer-events:none!important}
.kbn-grid,.kbn-intro-text{position:relative;z-index:3!important}
.kbn-card,.kbn-card-caption{z-index:5!important}

body.single-kbn_news .elementor-location-header,
body.post-type-archive-kbn_news .elementor-location-header,
body.kbn-all-news-page .elementor-location-header,
body.single-kbn_news header.site-header,
body.post-type-archive-kbn_news header.site-header,
body.kbn-all-news-page header.site-header{
  position:absolute!important;
  top:0!important;left:0!important;right:0!important;width:100%!important;
  background:transparent!important;box-shadow:none!important;z-index:9999!important;
}
body.admin-bar.single-kbn_news .elementor-location-header,
body.admin-bar.post-type-archive-kbn_news .elementor-location-header,
body.admin-bar.kbn-all-news-page .elementor-location-header,
body.admin-bar.single-kbn_news header.site-header,
body.admin-bar.post-type-archive-kbn_news header.site-header,
body.admin-bar.kbn-all-news-page header.site-header{top:32px!important}
body.single-kbn_news .elementor-location-header *,
body.post-type-archive-kbn_news .elementor-location-header *,
body.kbn-all-news-page .elementor-location-header *{
  box-shadow:none!important;
}
body.single-kbn_news:before,
body.post-type-archive-kbn_news:before,
body.kbn-all-news-page:before{
  height:150px!important;z-index:9000!important;
  background:linear-gradient(to bottom,rgba(7,26,45,.35),rgba(7,26,45,.13) 45%,rgba(7,26,45,0))!important;
}
body.single-kbn_news .kbn-single{padding-top:145px!important}
body.single-kbn_news .kbn-single-head{min-height:390px!important}
body.single-kbn_news .kbn-meta-row{margin-bottom:70px!important}
body.single-kbn_news .kbn-single h1{margin-bottom:0!important}
body.single-kbn_news .kbn-featured{margin-top:-20px!important}
body.single-kbn_news .kbn-single .kbn-btn{display:none!important}
@media (max-width:900px){
  body.single-kbn_news .kbn-single{padding-top:105px!important}
  body.single-kbn_news .kbn-single-head{min-height:360px!important;padding-top:0!important}
  body.admin-bar.single-kbn_news .elementor-location-header{top:46px!important}
}

/* v1.4.9: pojedynczy wpis bez białego pola, header jak na stronie głównej */
body.single-kbn_news,
body.post-type-archive-kbn_news,
body.kbn-all-news-page{--kbn-admin-offset:0px;}
body.admin-bar.single-kbn_news,
body.admin-bar.post-type-archive-kbn_news,
body.admin-bar.kbn-all-news-page{--kbn-admin-offset:32px;}

body.single-kbn_news #page,
body.single-kbn_news #content,
body.single-kbn_news .site-content,
body.single-kbn_news .ast-container,
body.single-kbn_news .entry-content,
body.single-kbn_news .site-main{
  padding-top:0!important;
  margin-top:0!important;
}

body.single-kbn_news:before,
body.post-type-archive-kbn_news:before,
body.kbn-all-news-page:before{
  top:var(--kbn-admin-offset)!important;
  height:128px!important;
  z-index:9000!important;
  background:linear-gradient(to bottom,rgba(7,26,45,.36) 0%,rgba(7,26,45,.16) 42%,rgba(7,26,45,0) 100%)!important;
}

body.single-kbn_news .elementor-location-header,
body.single-kbn_news [data-elementor-type="header"],
body.single-kbn_news header,
body.single-kbn_news .site-header,
body.single-kbn_news .karmar-header,
body.post-type-archive-kbn_news .elementor-location-header,
body.post-type-archive-kbn_news [data-elementor-type="header"],
body.post-type-archive-kbn_news header,
body.post-type-archive-kbn_news .site-header,
body.post-type-archive-kbn_news .karmar-header,
body.kbn-all-news-page .elementor-location-header,
body.kbn-all-news-page [data-elementor-type="header"],
body.kbn-all-news-page header,
body.kbn-all-news-page .site-header,
body.kbn-all-news-page .karmar-header{
  position:fixed!important;
  top:var(--kbn-admin-offset)!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  margin-top:0!important;
  background:transparent!important;
  box-shadow:none!important;
  z-index:10000!important;
  transition:background-color .22s ease, box-shadow .22s ease;
}

body.kbn-scrolled.single-kbn_news .elementor-location-header,
body.kbn-scrolled.single-kbn_news [data-elementor-type="header"],
body.kbn-scrolled.single-kbn_news header,
body.kbn-scrolled.single-kbn_news .site-header,
body.kbn-scrolled.single-kbn_news .karmar-header,
body.kbn-scrolled.post-type-archive-kbn_news .elementor-location-header,
body.kbn-scrolled.post-type-archive-kbn_news [data-elementor-type="header"],
body.kbn-scrolled.post-type-archive-kbn_news header,
body.kbn-scrolled.post-type-archive-kbn_news .site-header,
body.kbn-scrolled.post-type-archive-kbn_news .karmar-header,
body.kbn-scrolled.kbn-all-news-page .elementor-location-header,
body.kbn-scrolled.kbn-all-news-page [data-elementor-type="header"],
body.kbn-scrolled.kbn-all-news-page header,
body.kbn-scrolled.kbn-all-news-page .site-header,
body.kbn-scrolled.kbn-all-news-page .karmar-header{
  background:#fff!important;
  box-shadow:0 12px 32px rgba(7,26,45,.12)!important;
}

body.single-kbn_news .kbn-single{
  padding-top:118px!important;
}
body.single-kbn_news .kbn-single-head{
  min-height:0!important;
  padding-top:0!important;
  padding-bottom:44px!important;
}
body.single-kbn_news .kbn-meta-row{
  margin-bottom:66px!important;
}
body.single-kbn_news .kbn-single h1{
  margin:0!important;
}
body.single-kbn_news .kbn-featured{
  margin-top:0!important;
  margin-bottom:60px!important;
  box-shadow:0 18px 45px rgba(7,26,45,.14);
}

@media (max-width:900px){
  body.admin-bar.single-kbn_news,
  body.admin-bar.post-type-archive-kbn_news,
  body.admin-bar.kbn-all-news-page{--kbn-admin-offset:46px;}
  body.single-kbn_news .kbn-single{padding-top:96px!important;}
  body.single-kbn_news .kbn-single-head{padding-bottom:28px!important;}
  body.single-kbn_news .kbn-meta-row{margin-bottom:28px!important;}
}


/* v1.5.0: usunięcie szarego pola pod zdjęciem + animacja paska pod tytułem */
.kbn-card{background:transparent!important;}
.kbn-card-link{background:transparent!important;}
.kbn-card img{background:transparent!important;}
.kbn-card-caption span{
  width:34px!important;
  transform:scaleX(1);
  transform-origin:left center;
  transition:transform .26s ease, width .26s ease, background-color .26s ease;
}
.kbn-card:hover .kbn-card-caption span,
.kbn-card.is-hover .kbn-card-caption span,
.kbn-card-link:hover .kbn-card-caption span{
  transform:scaleX(1.2);
}


/* v1.5.3: przycisk Wszystkie aktualności zawsze klikalny ponad siatką i liniami */
.kbn-news-wrap{position:relative!important;isolation:isolate!important;}
.kbn-ring{z-index:-1!important;pointer-events:none!important;}
.kbn-intro{position:relative!important;z-index:50!important;pointer-events:none!important;}
.kbn-intro-text{position:relative!important;z-index:80!important;pointer-events:auto!important;}
.kbn-all-news-btn{position:relative!important;z-index:120!important;pointer-events:auto!important;cursor:pointer!important;}
.kbn-grid{position:relative!important;z-index:5!important;}
.kbn-card,.kbn-card-link,.kbn-card-caption{pointer-events:auto!important;}


/* v2.1.0 FINAL: pomarańczowy element zawsze pod zdjęciami i kartami */
.kbn-layered-news{
  position:relative!important;
  overflow:visible!important;
  isolation:isolate!important;
  z-index:0!important;
}
.kbn-layered-news .kbn-bg{
  position:absolute!important;
  left:0!important;
  top:0!important;
  width:100%!important;
  height:100%!important;
  min-height:1100px!important;
  z-index:0!important;
  pointer-events:none!important;
  overflow:visible!important;
}
.kbn-layered-news .kbn-bg .kbn-ring{
  position:absolute!important;
  left:-340px!important;
  top:-7px!important;
  width:760px!important;
  height:985px!important;
  display:block!important;
  background-image:var(--kbn-path-orange)!important;
  background-repeat:no-repeat!important;
  background-size:760px 985px!important;
  background-position:left top!important;
  z-index:0!important;
  pointer-events:none!important;
}
.kbn-layered-news > .kbn-intro,
.kbn-layered-news > .kbn-grid{
  position:relative!important;
  z-index:10!important;
}
.kbn-layered-news .kbn-intro-text{
  position:relative!important;
  z-index:30!important;
  pointer-events:auto!important;
}
.kbn-layered-news .kbn-all-news-btn{
  position:relative!important;
  z-index:999!important;
  pointer-events:auto!important;
  cursor:pointer!important;
}
.kbn-layered-news .kbn-card,
.kbn-layered-news .kbn-card-link,
.kbn-layered-news .kbn-card img,
.kbn-layered-news .kbn-card-caption{
  position:relative!important;
  z-index:20!important;
}
.kbn-layered-news .kbn-card-caption{z-index:40!important;}
.kbn-layered-news .kbn-intro > .kbn-ring{display:none!important;}
@media (max-width:900px){
  .kbn-layered-news .kbn-bg{display:none!important;}
}


/* v2.1.1 FINAL: naprawa klikalności przycisku bez zmiany wyglądu */
.kbn-layered-news{
  position:relative!important;
  isolation:isolate!important;
}
.kbn-layered-news .kbn-bg,
.kbn-layered-news .kbn-bg .kbn-ring{
  z-index:0!important;
  pointer-events:none!important;
}
.kbn-layered-news > .kbn-grid{
  position:relative!important;
  z-index:20!important;
}
.kbn-layered-news > .kbn-intro{
  position:relative!important;
  z-index:100!important;
  pointer-events:none!important;
}
.kbn-layered-news .kbn-intro-text{
  position:relative!important;
  z-index:200!important;
  pointer-events:auto!important;
}
.kbn-layered-news .kbn-all-news-btn,
.kbn-layered-news a.kbn-all-news-btn{
  position:relative!important;
  z-index:9999!important;
  pointer-events:auto!important;
  cursor:pointer!important;
}
.kbn-layered-news .kbn-card,
.kbn-layered-news .kbn-card-link,
.kbn-layered-news .kbn-card img,
.kbn-layered-news .kbn-card-caption{
  position:relative!important;
  z-index:30!important;
}


/* v2.1.5: powrót z pojedynczej aktualności do listy wszystkich aktualności */
.kbn-single-back-wrap{
  width:min(1180px,calc(100% - 48px));
  margin:0 auto 72px;
}
.kbn-single-back{
  display:inline-flex!important;
  align-items:center;
  gap:12px;
  text-decoration:none!important;
}
.kbn-single-back-arrow{
  display:inline-block;
  font-size:1.25em;
  line-height:1;
  transform:translateY(-1px);
}
@media (max-width:767px){
  .kbn-single-back-wrap{
    width:calc(100% - 32px);
    margin-bottom:48px;
  }
}


/* v2.1.6: przycisk w treści — odporny na szablony Elementor/Hello */
body.single-kbn_news .kbn-single-back-content{
  display:block!important;
  width:100%!important;
  max-width:980px!important;
  margin:46px auto 24px!important;
  padding:0!important;
}
body.single-kbn_news .kbn-single-back-content .kbn-single-back{
  display:inline-flex!important;
  visibility:visible!important;
  opacity:1!important;
  position:relative!important;
  z-index:20!important;
}
@media (max-width:767px){
  body.single-kbn_news .kbn-single-back-content{margin:34px auto 16px!important;}
}
