.ps-marquee{
  --bordeaux:#6C303C;
  --cream:#F4EEE2;
  --ink:#161f37;
  --text:#29333a;
  --line:rgba(48,72,84,.13);
  --f:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  --ease:cubic-bezier(.5,.05,.05,1);
  --spring:cubic-bezier(.16,1,.3,1);
  --wrap:1480px; --pad:clamp(20px,5vw,80px);
  font-family:var(--f);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
}
.ps-marquee *{box-sizing:border-box;}
.ps-marquee .band{padding-block:clamp(24px,3vw,44px) clamp(64px,9vw,138px); position:relative; background:transparent;}
.ps-marquee .wrap{max-width:var(--wrap); margin:0 auto; padding-inline:var(--pad);}

.ps-marquee .eyebrow{display:inline-flex; align-items:center; gap:.85em; font-weight:600; font-size:12.5px; letter-spacing:.26em; text-transform:uppercase; color:var(--bordeaux); margin:0 0 22px;}
.ps-marquee .eyebrow::before{content:""; width:34px; height:1px; background:currentColor; opacity:.85; flex-shrink:0;}

.ps-marquee h2{font-family:var(--f); font-weight:700; font-size:clamp(2rem,4.6vw,4rem); line-height:1.0; letter-spacing:-.026em; color:var(--text); margin:0;}

/* ——— główne specjalności: wyróżnione pigułki, większe niż tagi poniżej ——— */
.ps-marquee .glowne{display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:clamp(10px,1.1vw,18px); max-width:1180px; margin:0 auto clamp(28px,3vw,44px);}
.ps-marquee .gtag{flex:0 0 auto; font-weight:700; font-size:clamp(1.45rem,2.6vw,2.2rem); letter-spacing:-.02em; line-height:1; padding:20px 44px; border-radius:100px; white-space:nowrap; background:var(--bordeaux); color:var(--cream);}

/* ——— chmura tagów (wyśrodkowana) ——— */
.ps-marquee .tagcloud{display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:clamp(10px,1.1vw,18px); max-width:1180px; margin:0 auto; text-align:center;}

.ps-marquee .otag{
  flex:0 0 auto; font-weight:600; letter-spacing:-.01em; line-height:1;
  background:transparent; color:var(--text);
  border:1px solid var(--line); border-radius:100px; white-space:nowrap;
  transition:transform .45s var(--spring), border-color .35s var(--ease);
}
.ps-marquee .otag:hover{transform:translateY(-3px); border-color:rgba(48,72,84,.4);}

/* warianty koloru napisu */
.ps-marquee .otag.navy{color:var(--ink); border-color:rgba(22,31,55,.2);}
.ps-marquee .otag.navy:hover{border-color:rgba(22,31,55,.45);}
.ps-marquee .otag.bordo{color:var(--bordeaux); border-color:rgba(108,48,60,.24);}
.ps-marquee .otag.bordo:hover{border-color:rgba(108,48,60,.5);}

/* warianty wielkości */
.ps-marquee .otag.s{font-size:clamp(.88rem,1.05vw,1.02rem); padding:12px 22px;}
.ps-marquee .otag.m{font-size:clamp(1.05rem,1.5vw,1.35rem); padding:15px 30px;}
.ps-marquee .otag.l{font-size:clamp(1.3rem,2.3vw,1.95rem); padding:19px 40px; font-weight:700; letter-spacing:-.02em;}

@media(max-width:600px){
  .ps-marquee .gtag{padding:15px 28px;}
  .ps-marquee .otag.l{padding:15px 28px;}
  .ps-marquee .otag.m{padding:13px 24px;}
}
