/* Keep the approved portrait photos intact in the wide article header. */
.kb-post-cover figure {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #e5eef1;
}

.kb-post-cover figure::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 39px;
  background: var(--cover-image) center / cover no-repeat;
  filter: blur(36px);
  opacity: .18;
  transform: scale(1.08);
  pointer-events: none;
}

.kb-post-cover img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  height: clamp(500px, 51vw, 680px);
  max-height: none;
  object-fit: contain;
}

.kb-post-cover figcaption {
  position: relative;
  z-index: 1;
  align-self: stretch;
}

.kb-author-photo {
  width: 84px;
  height: 84px;
  overflow: hidden;
  border-radius: 50%;
  background: #c9d6dc;
}

.kb-author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 11%;
  transform: scale(2.25);
  transform-origin: 50% 10%;
  border-radius: 0;
}

@media (max-width: 640px) {
  .kb-post-cover img { height: min(125vw, 540px); }
  .kb-author-photo { justify-self: center; }
}
