/* Oko na Dziecko 4.15 - jednakowy rozmiar gotowych kolaży, bez przycinania dekoracji. */
.team-section .person-card .person-photo.oko-photo-framed,
.archive-grid .person-card .person-photo.oko-photo-framed {
  display:block;
  position:relative;
  width:100%;
  aspect-ratio:1 / 1;
  overflow:hidden;
  background:transparent;
  border-radius:0;
}
.team-section .person-card .person-photo.oko-photo-framed img,
.archive-grid .person-card .person-photo.oko-photo-framed img,
.profile-flow .profile-photo.oko-photo-framed img {
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
  object-position:center center;
  transform:scale(var(--oko-frame-art-scale,1)) !important;
  transform-origin:center;
  transition:none !important;
}
.team-section .person-card:hover .person-photo.oko-photo-framed img,
.archive-grid .person-card:hover .person-photo.oko-photo-framed img {
  transform:scale(var(--oko-frame-art-scale,1)) !important;
  filter:none;
}

/* Pas konsultacyjny jest osobną sekcją pod siatką, a nie kolejną wysoką kartą. */
.team-section .team-help-strip {
  display:flex;
  align-items:center;
  gap:20px;
  width:100%;
  min-width:0;
  margin-top:32px;
  padding:20px 24px;
  background:rgba(188,235,233,.21);
  border:1px solid rgba(0,85,80,.12);
  border-radius:22px;
}
.team-section .team-help-strip-icon {
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  flex:0 0 46px;
  background:#fff;
  color:#005550;
  border-radius:15px;
}
.team-section .team-help-strip-icon svg {width:23px;height:23px;}
.team-section .team-help-strip-copy{flex:1 1 auto;min-width:0;}
.team-section .team-help-strip .eyebrow{
  display:block;
  margin:0 0 2px;
  font-size:.6rem;
  letter-spacing:.13em;
  color:#005550;
}
.team-section .team-help-strip h3{
  margin:0 0 3px;
  max-width:none;
  font-size:clamp(1.1rem,1.55vw,1.38rem);
  line-height:1.25;
  letter-spacing:-.035em;
  color:#222;
}
.team-section .team-help-strip p{
  margin:0;
  max-width:none;
  color:#526b66;
  font-size:.88rem;
  line-height:1.5;
}
.team-section .team-help-strip-cta{
  display:inline-flex;
  justify-content:space-between;
  align-items:center;
  gap:26px;
  flex:0 0 auto;
  white-space:nowrap;
  padding:12px 19px;
  border:1px solid #005550;
  background:#fff;
  color:#005550;
  font-size:.85rem;
  font-weight:700;
  border-radius:999px;
  min-height:46px;
  transition:background-color .18s ease,color .18s ease,transform .18s ease;
}
.team-section .team-help-strip-cta:hover{background:#005550;color:#fff;transform:translateY(-1px);}
.team-section .team-help-strip-cta:focus-visible {outline:3px solid #005550;outline-offset:3px;}

/* Biogram: tekst opływa fotografię i zajmuje pełną szerokość po jej zakończeniu. */
.profile-flow{display:flow-root;min-width:0;}
.profile-flow .profile-photo{
  float:left;
  width:min(37%,420px);
  margin:0 clamp(25px,4vw,56px) 25px 0;
  aspect-ratio:4 / 5;
  border-radius:24px;
  overflow:hidden;
  background:transparent;
}
.profile-flow .profile-photo.oko-photo-framed{aspect-ratio:1 / 1;border-radius:0;}
.profile-flow .profile-photo img{width:100%;height:100%;object-fit:cover;display:block;}
.profile-flow .profile-copy{min-width:0;}
.profile-flow .eyebrow{margin:4px 0 17px;}
.profile-flow h1{font-size:clamp(2.2rem,3.9vw,3.95rem);line-height:1.12;overflow-wrap:break-word;}
.profile-flow .profile-role{margin:0 0 22px;}
.profile-flow .entry-content{max-width:none;overflow-wrap:break-word;}
.profile-flow .entry-content h2{margin-top:30px;}
.profile-flow .entry-content p{line-height:1.78;}
.profile-flow .action-row{gap:12px;}
.profile-flow .action-row>.btn{width:auto;min-height:48px;justify-content:space-between;}
@media(max-width:900px){
  .team-section .team-help-strip{gap:14px;padding:18px;}
  .team-section .team-help-strip-cta{padding:11px 15px;gap:15px;}
  .profile-flow .profile-photo{width:40%;margin-right:25px;}
}
@media(max-width:680px){
  .team-section .team-help-strip{align-items:flex-start;gap:12px;flex-wrap:wrap;padding:17px 16px;margin-top:23px;border-radius:17px;}
  .team-section .team-help-strip-icon{width:40px;height:40px;flex-basis:40px;border-radius:13px;}
  .team-section .team-help-strip-copy{flex:1 1 calc(100% - 55px);}
  .team-section .team-help-strip h3{font-size:1.11rem;}
  .team-section .team-help-strip p{font-size:.81rem;}
  .team-section .team-help-strip-cta{width:100%;min-height:44px;padding:10px 16px;margin-top:3px;}
  .profile-flow .profile-photo,
  .profile-flow .profile-photo.oko-photo-framed{float:none;width:min(100%,420px);margin:0 auto 26px;}
  .profile-flow h1{font-size:clamp(2rem,8vw,2.8rem);}
  .profile-flow .action-row{display:flex;flex-direction:column;align-items:stretch;}
  .profile-flow .action-row>.btn{width:100%;}
}
@media(prefers-reduced-motion:reduce){
 .team-section .team-help-strip-cta{transition:none!important;transform:none!important;}
}
