/* 4.14: supplied specialist images already contain their yellow/turquoise frames.
   Preserve the whole artwork instead of cropping its edges or adding another frame. */
.team-section .person-card .person-photo.oko-photo-framed,
.archive-grid .person-card .person-photo.oko-photo-framed,
.profile-grid .profile-photo.oko-photo-framed {
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}
.team-section .person-card .person-photo.oko-photo-framed img,
.archive-grid .person-card .person-photo.oko-photo-framed img,
.profile-grid .profile-photo.oko-photo-framed img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: none !important;
  transition: filter .24s ease;
}
.team-section .person-card:hover .person-photo.oko-photo-framed img,
.archive-grid .person-card:hover .person-photo.oko-photo-framed img {
  transform: none !important;
  filter: brightness(1.025);
}
/* Readable long biographies without oversized sub-headings or cramped lists. */
.profile-grid .entry-content h2 {
  font-size: clamp(1.2rem, 1.65vw, 1.65rem);
  line-height: 1.22;
  letter-spacing: -.025em;
  margin: 28px 0 12px;
}
.profile-grid .entry-content h2:first-child { margin-top: 20px; }
.profile-grid .entry-content h3 {font-size:1.08rem;letter-spacing:-.02em;margin:20px 0 9px;}
.profile-grid .entry-content ul {padding-left:1.3rem;margin:0 0 24px;}
.profile-grid .entry-content li {margin:0 0 8px;line-height:1.6;color:var(--muted);}
.profile-grid .entry-content p {line-height:1.75;margin:0 0 20px;}
.profile-grid .entry-content .oko-ru-bio {margin-top:30px;border-top:1px solid var(--line);padding:20px 0;}
.profile-grid .entry-content .oko-ru-bio summary {cursor:pointer;font-weight:700;color:var(--forest);}
.profile-grid .entry-content .oko-ru-bio summary:focus-visible {outline:3px solid #005550;outline-offset:4px;}
@media(max-width:580px) {
  .profile-grid .entry-content h2 {font-size:1.25rem;margin-top:23px;}
  .profile-grid .entry-content ul {padding-left:1.1rem;}
}
@media(prefers-reduced-motion:reduce) {
  .team-section .person-card .person-photo.oko-photo-framed img,
  .archive-grid .person-card .person-photo.oko-photo-framed img {transition:none!important;}
}
