/* Keep notice/community attachments inside their own document-flow blocks.
   Scoped to the public post body: login, editors, market and staff articles
   deliberately retain their existing layout. Original image links are kept. */
#postDetailBody > .lkc-inline-post-image {
  display: flow-root;
  position: relative;
  float: none;
  clear: both;
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
  margin: 24px 0;
  padding: 12px;
  border: 1px solid #dfe3e8;
  border-radius: 12px;
  background: #fff;
  white-space: normal;
  text-align: center;
}
#postDetailBody > .lkc-inline-post-image > a {
  display: block;
  position: static;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  line-height: 0;
}
#postDetailBody > .lkc-inline-post-image img {
  display: block;
  position: static;
  float: none;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(560px, 64vh);
  max-height: min(560px, 64svh);
  object-fit: contain;
  margin: 0 auto;
  border-radius: 8px;
}
#postDetailBody > .lkc-inline-post-image figcaption {
  display: block;
  position: static;
  margin: 10px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
@media (max-width: 620px) {
  #postDetailBody > .lkc-inline-post-image {
    margin: 20px 0;
    padding: 8px;
    border-radius: 10px;
  }
}
