/* 7px.pl | Wystawy — autorzy HERO v14.17
   Full-bleed photo cards: bez ramek, bocznych paneli i przesuwania kart.
   Samodzielny arkusz, ZASTĘPUJE v14.16, NIE ładować obu wersji.
*/
.ex-shell #autorzy.ex-panel { padding:clamp(22px,2.8vw,44px); }
.ex-shell #autorzy .ex-section-head { margin-bottom:clamp(20px,2.5vw,32px); }
.ex-shell #autorzy .ex-section-head h2 { font-size:clamp(31px,3vw,46px);letter-spacing:-.045em;line-height:1.06; }
.ex-shell #autorzy .ex-section-head p {font-size:13px;margin-top:9px;}
.ex-shell #autorzy .ex-authors {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(11px,1.4vw,19px);
  align-items:stretch;
}
.ex-shell #autorzy .ex-author {
  /* Hero to fotografia, a nie portret obok bloku tekstowego. */
  display:block;
  position:relative;
  isolation:isolate;
  min-width:0;
  width:100%;
  height:auto;
  min-height:0;
  aspect-ratio: 1 / 1.08;
  padding:0;
  margin:0;
  overflow:hidden;
  box-sizing:border-box;
  border:0;
  outline:0;
  border-radius:10px;
  box-shadow:none;
  background:#1a1b20;
  color:#fff;
  text-decoration:none;
  text-align:left;
  transform:none;
  transition:none;
  will-change:auto;
}
.ex-shell #autorzy .ex-author::before,
.ex-shell #autorzy .ex-author::after {display:none;content:none;}
.ex-shell #autorzy .ex-author__avatar {
  display:grid;
  place-items:center;
  position:absolute;
  inset:0;
  z-index:0;
  width:100%;
  height:100%;
  min-height:0;
  padding:0;
  margin:0;
  border:0;
  border-radius:0;
  overflow:hidden;
  background:radial-gradient(circle at 50% 30%,#3b343b,#17191d 85%);
  color:#ffad52;
  font-size:48px;
}
.ex-shell #autorzy .ex-author__avatar img {
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  object-fit:cover;
  object-position:50% 35%;
  border:0;
  border-radius:0;
  filter:none;
  transform:scale(1);
  transition:transform 500ms cubic-bezier(.2,.75,.3,1);
}
.ex-shell #autorzy .ex-author__avatar::after {
  content:"";
  display:block;
  position:absolute;
  z-index:1;
  inset:0;
  pointer-events:none;
  /* Mocny kontrast pod tekstem, bez osobnego panelu. */
  background:
    linear-gradient(180deg,rgba(0,0,0,.16) 0%,transparent 36%,rgba(0,0,0,.12) 52%,rgba(0,0,0,.68) 75%,rgba(0,0,0,.90) 100%),
    linear-gradient(90deg,rgba(0,0,0,.21) 0%,transparent 75%);
}
.ex-shell #autorzy .ex-author__details {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-end;
  position:absolute;
  inset:auto 0 0 0;
  z-index:2;
  box-sizing:border-box;
  gap:7px;
  padding:clamp(22px,2vw,30px);
  width:100%;
  min-width:0;
  height:auto;
  text-align:left;
  background:none;
  border:0;
}
.ex-shell #autorzy .ex-author__eyebrow {display:none;}
.ex-shell #autorzy .ex-author__details strong {
  display:block;
  position:static;
  margin:0;
  padding:0;
  width:auto;
  max-width:100%;
  color:#fff;
  font-size:clamp(22px,2.1vw,30px);
  font-weight:800;
  line-height:1.08;
  letter-spacing:-.045em;
  text-align:left;
  white-space:normal;
  overflow-wrap:anywhere;
  text-shadow:0 1px 6px rgba(0,0,0,.30);
}
.ex-shell #autorzy .ex-author__role {
  display:block;
  margin:0;
  color:#ffad52;
  font-size:14px;
  line-height:1.35;
  font-weight:750;
  text-shadow:0 1px 5px rgba(0,0,0,.4);
}
.ex-shell #autorzy .ex-author__photos {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:5px;
  margin:5px 0 0;
  padding:0;
  color:rgba(255,255,255,.88);
  font-size:13px;
  line-height:1.35;
  font-weight:500;
  text-shadow:0 1px 5px rgba(0,0,0,.5);
}
.ex-shell #autorzy .ex-author__photos i {
  color:rgba(255,255,255,.84);
  margin-right:4px;
  font-size:13px;
}
.ex-shell #autorzy .ex-author__photos b {font-weight:800;color:#fff;}
.ex-shell #autorzy .ex-author__portfolio-context {color:rgba(255,255,255,.8);}
.ex-shell #autorzy .ex-author__arrow {
  display:grid;
  place-items:center;
  position:absolute;
  z-index:3;
  top:17px;
  right:17px;
  bottom:auto;
  left:auto;
  width:37px;
  height:37px;
  padding:0;
  margin:0;
  border:0;
  border-radius:50%;
  background:rgba(8,9,12,.35);
  color:white;
  font-size:13px;
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
  transform:none;
  transition:background-color 180ms ease, color 180ms ease;
}
.ex-shell #autorzy .ex-author:hover,
.ex-shell #autorzy .ex-author:active {transform:none;box-shadow:none;border:0;}
.ex-shell #autorzy .ex-author:hover .ex-author__avatar img {transform:scale(1.035);}
.ex-shell #autorzy .ex-author:hover .ex-author__arrow {background:#ffa941;color:#16171c;transform:none;}
.ex-shell #autorzy .ex-author:focus-visible {outline:3px solid #ffa941;outline-offset:4px;}
@media(max-width:1100px){
  .ex-shell #autorzy .ex-authors {grid-template-columns:repeat(2,minmax(0,1fr));}
  .ex-shell #autorzy .ex-author {aspect-ratio:1/1.01;}
}
@media(max-width:570px){
  .ex-shell #autorzy.ex-panel {padding:18px;}
  .ex-shell #autorzy .ex-authors {grid-template-columns:minmax(0,1fr);gap:14px;}
  .ex-shell #autorzy .ex-author {aspect-ratio:1.10/1;min-height:240px;border-radius:9px;}
  .ex-shell #autorzy .ex-author__details {padding:21px;gap:6px;}
  .ex-shell #autorzy .ex-author__details strong {font-size:26px;}
  .ex-shell #autorzy .ex-author__role {font-size:13px;}
  .ex-shell #autorzy .ex-author__photos {font-size:12px;}
}
@media(prefers-reduced-motion:reduce){
  .ex-shell #autorzy .ex-author *,
  .ex-shell #autorzy .ex-author {transition:none!important;animation:none!important;}
  .ex-shell #autorzy .ex-author:hover .ex-author__avatar img {transform:none!important;}
}
