/* Reddit-style Blogger post image — v1.1.0 */
/* 22 post image: center, full width, border (all images inside post body) */
body.item-view .post-body-container > .post-body.entry-content > .separator,
body.item-view .post-body-container > .post-body.entry-content > .separator > a{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin-left:0 !important;
  margin-right:0 !important;
  box-sizing:border-box !important;
}

body.item-view .post-body-container > .post-body.entry-content > .separator{
  text-align:center !important;
  width:calc(100% - 48px) !important;
  max-width:calc(100% - 48px) !important;
  margin-left:24px !important;
  margin-right:24px !important;
}

body.item-view .post-body-container > .post-body.entry-content img{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  margin-left:auto !important;
  margin-right:auto !important;
  box-sizing:border-box !important;
  border:1px solid rgba(0,0,0,.14) !important;
  border-radius:10px;
  background:transparent !important;
}

@media (prefers-color-scheme:dark){
  body.item-view .post-body-container > .post-body.entry-content img{
    border-color:rgba(255,255,255,.22) !important;
    background:transparent !important;
  }
}

/* 라이트 모드: 이미지 컨테이너에 테두리 + 라운드 */
html[data-theme="light"] body.item-view .post-body-container > .post-body.entry-content > .separator:has(img){
  border:1px solid rgba(20,32,27,.16) !important;
  border-radius:12px !important;
  overflow:hidden !important;
  background:#fff !important;
  box-shadow:0 4px 14px rgba(20,32,27,.06);
}
html[data-theme="light"] body.item-view .post-body-container > .post-body.entry-content > .separator img{
  border:0 !important;
  border-radius:12px !important;
}
/* 이미지 없는 빈 separator(블로그 편집기 잔여물) 숨김 */
body.item-view .post-body-container > .post-body.entry-content > .separator:not(:has(img)){
  display:none !important;
}

@media screen and (max-width:600px){
  body.item-view .post-body-container > .post-body.entry-content > .separator{
    width:calc(100% - 32px) !important;
    max-width:calc(100% - 32px) !important;
    margin-left:16px !important;
    margin-right:16px !important;
  }
}

/* 이미지 클릭 시 원본 확대/이동 비활성화 */
body.item-view .post-body-container > .post-body.entry-content a[href*="blogger.googleusercontent.com"]{
  pointer-events:none !important;
  cursor:default !important;
}
body.item-view .post-body-container > .post-body.entry-content img{
  cursor:default !important;
}
