
/* SCREEN PUNKT WYJSCIA — 1:1 Core Page card geometry and Canvas waves; scoped locally */
#wspolpraca{--bd-logo-green:#149D59; --bd-hero-red:#E12120;}

#wspolpraca {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: safe center;
  justify-items: center;
  gap: clamp(22px, 4.1vh, 42px);
  overflow: hidden;
  padding: 106px clamp(22px, 5.2vw, 90px) clamp(48px, 10vh, 105px);
  background: #080a09;
  color: #f1f1ec;
}
#wspolpraca .bd77-head,
#wspolpraca .bd77-grid { width: min(100%, 1500px); }
#wspolpraca .bd77-head h2 {
  margin: 0;
  color: #f1f2ed;
  font-size: clamp(38px, 4.2vw, 76px);
  font-weight: 450;
  letter-spacing: -.062em;
  line-height: 1.04;
}
#wspolpraca .bd77-head h2 em {
  color: var(--bd-logo-green);
  font-style: normal;
}
#wspolpraca .bd77-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(13px, 1.5vw, 21px);
}
#wspolpraca .bd77-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  gap: clamp(17px, 2.6vh, 27px);
  min-width: 0;
  min-height: clamp(338px, 47vh, 482px);
  padding: clamp(23px, 2.5vw, 38px);
  border: 1px solid #303a32;
  background: #121513;
  color: #f1f2ed;
  text-decoration: none;
  outline-offset: 4px;
  transition: background-color .22s ease, border-color .22s ease;
}
#wspolpraca .bd77-development { z-index: 1; background: #111412; }
#wspolpraca .bd77-card:hover, #wspolpraca .bd77-card:focus-visible {
  border-color: var(--bd-logo-green);
  background: #151d16;
}
#wspolpraca .bd77-category {
  color: var(--bd-logo-green);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}
#wspolpraca .bd77-card-main {
  display: grid;
  align-self: end;
  gap: clamp(11px, 1.5vh, 17px);
}
#wspolpraca .bd77-card-title {
  display: block;
  width: calc(100% / .88);
  margin: 0;
  color: #f0f2ed;
  font-size: clamp(36px, 4.8vw, 81px);
  font-weight: 470;
  letter-spacing: -.067em;
  line-height: .97;
  scale: .88 1;
  transform-origin: left top;
}
#wspolpraca .bd77-card-description {
  display: block;
  max-width: 44ch;
  min-height: 3em;
  color: #c3cec5;
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.5;
}
#wspolpraca .bd77-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: clamp(13px, 1.9vh, 22px);
  border-top: 1px solid #3b453d;
  color: #edf1ea;
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.5;
}
#wspolpraca .bd77-card-action > span:first-child {
  position: relative;
  width: fit-content;
}
#wspolpraca .bd77-card-action > span:first-child::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -.28em;
  left: 0;
  height: 2px;
  pointer-events: none;
  background: var(--bd-hero-red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .32s cubic-bezier(.22, .61, .36, 1);
}
#wspolpraca .bd77-card:is(:hover, :focus-visible) .bd77-card-action > span:first-child::after {
  transform: scaleX(1);
}
#wspolpraca .bd77-icon {
  color: var(--bd-logo-green);
  font: clamp(18px, 1.6vw, 24px)/1 "DejaVu Symbols", Arial, sans-serif;
  transition: transform .22s ease, color .22s ease;
}
#wspolpraca .bd77-card:is(:hover, :focus-visible) .bd77-icon {
  color: var(--bd-hero-red);
  transform: translate(4px, -4px);
}
#wspolpraca { --bd77-reveal-offset: 86%; --bd77-reveal-drop: 12px; }
@media (prefers-reduced-motion: no-preference) {
  #wspolpraca[data-reveal="waiting"] .bd77-tech {
    transform: translate(var(--bd77-reveal-offset), var(--bd77-reveal-drop));
  }
  #wspolpraca[data-reveal="playing"] .bd77-tech {
    animation: bd77-open 1.18s cubic-bezier(.34, .08, .2, 1) both;
  }
  @keyframes bd77-open {
    0%, 12% { transform: translate(var(--bd77-reveal-offset), var(--bd77-reveal-drop)); }
    100% { transform: translate(0); }
  }
}
@media (max-width: 700px) {
  #wspolpraca { --bd77-reveal-offset: 14px; --bd77-reveal-drop: 0px; padding: 94px 21px 28px; }
  #wspolpraca .bd77-head h2 { font-size: clamp(36px, 9.8vw, 54px); }
  #wspolpraca .bd77-grid { grid-template-columns: minmax(0, 1fr); }
  #wspolpraca .bd77-card { min-height: 248px; padding: 17px 19px 19px; gap: 13px; }
  #wspolpraca .bd77-card-main { gap: 9px; }
  #wspolpraca .bd77-card-title { font-size: clamp(34px, 8.8vw, 52px); }
  #wspolpraca .bd77-card-description { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #wspolpraca .bd77-card,
  #wspolpraca .bd77-icon,
  #wspolpraca .bd77-card-action > span:first-child::after { transition: none; }
  #wspolpraca .bd77-card:is(:hover, :focus-visible) .bd77-icon { transform: none; }
}


/* Exact waveform canvas CSS from GlobalBD_Core_Pasmo_Zbieznosc(3).html */
#wspolpraca .bd77-card canvas.rzb{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none;-webkit-mask-image:linear-gradient(transparent,#000 22%,#000 68%,transparent);mask-image:linear-gradient(transparent,#000 22%,#000 68%,transparent)}

/* The approved two-card system; only content and card actions adapt to this page. */
#wspolpraca{background:#080a09;}
#wspolpraca:before{content:'';position:absolute;z-index:-1;inset:0;pointer-events:none;background:radial-gradient(ellipse 62% 54% at 100% 100%,rgba(22,65,39,.26), transparent 87%)}
#wspolpraca .bd77-head h2{--title-width:.86;display:block;width:calc(100% / var(--title-width));scale:var(--title-width) 1;transform-origin:left top}
#wspolpraca .bd77-card{cursor:default}
#wspolpraca .bd77-card-main{gap:clamp(11px,1.5vh,17px)}
#wspolpraca .bd77-card-description{max-width:49ch;min-height:0;font-size:clamp(13px,1.00vw,16px);line-height:1.6}
#wspolpraca .bd77-card-title{font-size:clamp(38px,4.6vw,73px)}
#wspolpraca .bd77-card-action{min-height:60px}
#wspolpraca .bd77-card-action span{max-width:57ch}
#wspolpraca .bd77-card-action > span:first-child::after{display:none!important}
#wspolpraca .bd77-card-action small{color:#d0d8d1;font:inherit}
#wspolpraca .bd77-category{font-weight:560}
#wspolpraca{gap:clamp(18px,3.2vh,34px)}
@media(min-width:1150px){#wspolpraca .bd77-card{min-height:clamp(360px,45vh,450px)}}
@media(max-width:700px){
 .site-header{height:auto;min-height:75px;padding:15px 22px 12px;align-items:flex-start;flex-wrap:wrap}
 .site-header:after{left:22px;right:22px}
 .site-nav{gap:9px 14px;flex-wrap:wrap}
 .site-nav a.active:after{bottom:-4px}
 #wspolpraca{height:auto;min-height:100vh;padding-top:150px;overflow:visible}
 #wspolpraca .bd77-card{min-height:310px}
 #wspolpraca .bd77-card-title{font-size:clamp(34px,9vw,53px)}
 #wspolpraca .bd77-head h2{width:auto;scale:1}
}
@media(prefers-reduced-motion:reduce){#wspolpraca .bd77-card{transition:none}}

#wspolpraca .bd77-head h2{max-width:none;white-space:normal;}
#wspolpraca .bd77-card-title{max-width:none;}
/* Avoid the original mobile-only header overrides in the imported reference when embedded. */
@media (max-width:700px){#wspolpraca{height:100dvh;min-height:0;overflow:auto;} }

