/* Prawo-Budowlane.info - Paczka 17: Nasz zespol */
.pbx-main-row-team{display:block!important;grid-template-columns:1fr!important;gap:0!important}
.pbx-main-row-team>.pb-team-page{width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box}
.pb-team-page{font-family:Lato,Arial,sans-serif;color:#2c2927}
.pb-team-page *{box-sizing:border-box}
.pb-team-page a{text-decoration:none}
.pb-team-hero{margin:0 0 34px;padding:34px 38px 30px;background:#fff;border:1px solid #e5ddd8;border-radius:14px;box-shadow:0 2px 10px rgba(67,50,40,.05)}
.pb-team-kicker,.pb-team-eyebrow{display:block;margin:0 0 8px;color:#8b6c58;font-size:12px;line-height:1.2;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.pb-team-hero h1{margin:0 0 12px!important;color:#3d3029!important;font-size:34px!important;line-height:1.18!important;font-weight:700!important}
.pb-team-lead{max-width:880px;margin:0;color:#5c554f;font-size:16px;line-height:1.7}
.pb-team-trust{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:22px;padding-top:18px;border-top:1px solid #eee7e2;color:#4e4742;font-size:13px;font-weight:700}
.pb-team-trust span{position:relative;padding-left:18px}
.pb-team-trust span:before{content:'✓';position:absolute;left:0;top:0;color:#2c5987;font-weight:700}
.pb-team-section{margin:0 0 40px}
.pb-team-section-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,460px);gap:28px;align-items:end;margin:0 0 20px;padding:0 4px}
.pb-team-section-head h2{margin:0!important;color:#3d3029!important;font-size:25px!important;line-height:1.25!important;font-weight:700!important}
.pb-team-section-head p{margin:0;color:#716861;font-size:14px;line-height:1.6}
.pb-team-grid{display:grid;gap:16px}
.pb-team-grid-lawyers{grid-template-columns:repeat(2,minmax(0,1fr))}
.pb-team-card{display:grid;grid-template-columns:92px minmax(0,1fr);gap:18px;align-items:start;min-height:260px;padding:22px;background:#fff;border:1px solid #e5ddd8;border-radius:13px;box-shadow:0 1px 6px rgba(67,50,40,.045)}
.pb-team-photo{position:relative;display:block;width:92px;height:108px;overflow:hidden;border-radius:10px;background:#efe8e3;border:1px solid #e0d5ce}
.pb-team-initials{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#7c6354;font-size:22px;font-weight:700;letter-spacing:.02em}
.pb-team-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center bottom;background:#f7f3f0}
.pb-team-role{display:block;margin:0 0 5px;color:#8b6c58;font-size:12px;line-height:1.2;font-weight:700;text-transform:uppercase;letter-spacing:.045em}
.pb-team-card h3{margin:0 0 9px!important;font-size:19px!important;line-height:1.3!important;font-weight:700!important}
.pb-team-card h3 a{color:#2c5987!important}
.pb-team-card h3 a:hover{text-decoration:underline}
.pb-team-card p{margin:0 0 12px;color:#5c554f;font-size:14px;line-height:1.58}
.pb-team-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px}
.pb-team-tags span{display:inline-block;padding:5px 8px;border:1px solid #e6dfda;border-radius:999px;background:#faf8f6;color:#6b5d54;font-size:11px;line-height:1.2;font-weight:700}
.pb-team-more{display:inline-flex;align-items:center;gap:5px;color:#2c5987!important;font-size:13px;font-weight:700}
.pb-team-more:hover{text-decoration:underline}
.pb-team-authors{padding-top:4px}
.pb-team-grid-authors{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pb-author-card{display:flex;align-items:center;gap:13px;min-height:96px;padding:16px 17px;background:#fff;border:1px solid #e5ddd8;border-radius:11px;color:#332e2a!important;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}
.pb-author-card:hover{border-color:#cdbdb3;box-shadow:0 3px 10px rgba(67,50,40,.07);transform:translateY(-1px)}
.pb-author-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;border-radius:50%;background:#f0e9e4;color:#755b4d;font-size:14px;font-weight:700}
.pb-author-card>span:last-child{display:flex;min-width:0;flex-direction:column}
.pb-author-card strong{color:#3d3029;font-size:14px;line-height:1.3}
.pb-author-card small{margin-top:3px;color:#7d746e;font-size:11px;line-height:1.35}
.pb-author-card em{margin-top:6px;color:#2c5987;font-size:11px;line-height:1.2;font-style:normal;font-weight:700}
.pb-team-cta{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:42px 0 8px;padding:27px 30px;background:#f4f0ed;border:1px solid #e2d8d1;border-radius:13px}
.pb-team-cta h2{margin:0 0 6px!important;color:#3d3029!important;font-size:23px!important;line-height:1.25!important}
.pb-team-cta p{max-width:700px;margin:0;color:#655d57;font-size:14px;line-height:1.55}
.pb-team-cta>a{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:44px;padding:0 20px;border-radius:7px;background:#2c5987;color:#fff!important;font-size:14px;font-weight:700;white-space:nowrap}
.pb-team-cta>a:hover{background:#244a70}
@media (max-width:1199px) and (min-width:1024px){
  .pb-team-hero{padding:30px 30px 27px}
  .pb-team-card{grid-template-columns:78px minmax(0,1fr);gap:15px;padding:19px}
  .pb-team-photo{width:78px;height:94px}
  .pb-team-grid-authors{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1023px){
  .pbx-main-row-team{display:block!important}
  .pb-team-page{width:auto!important;margin:0 12px 24px!important;padding:0!important}
  .pb-team-hero{margin:12px 0 26px;padding:25px 20px 22px;border-radius:11px}
  .pb-team-hero h1{font-size:28px!important}
  .pb-team-lead{font-size:15px;line-height:1.62}
  .pb-team-trust{gap:8px 18px;margin-top:18px;padding-top:15px}
  .pb-team-section{margin-bottom:32px}
  .pb-team-section-head{display:block;margin-bottom:15px;padding:0 2px}
  .pb-team-section-head h2{font-size:22px!important}
  .pb-team-section-head p{margin-top:9px;font-size:13px}
  .pb-team-grid-lawyers{grid-template-columns:1fr}
  .pb-team-card{grid-template-columns:76px minmax(0,1fr);gap:14px;min-height:0;padding:17px;border-radius:10px}
  .pb-team-photo{width:76px;height:91px}
  .pb-team-card h3{font-size:17px!important}
  .pb-team-card p{font-size:13px;line-height:1.55}
  .pb-team-grid-authors{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pb-team-cta{align-items:flex-start;margin-top:32px;padding:22px;flex-direction:column}
  .pb-team-cta h2{font-size:21px!important}
  .pb-team-cta>a{width:100%}
}
@media (max-width:620px){
  .pb-team-page{margin-left:10px!important;margin-right:10px!important}
  .pb-team-grid-authors{grid-template-columns:1fr}
  .pb-team-card{grid-template-columns:64px minmax(0,1fr);gap:12px;padding:15px}
  .pb-team-photo{width:64px;height:78px}
  .pb-team-tags{margin-bottom:11px}
  .pb-team-trust{display:block}
  .pb-team-trust span{display:block;margin:0 0 7px}
}
