/* Shared by published articles and the classic editor; parent JIN files stay untouched. */
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) .wp-video {max-width:100%}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) video.wp-video-shortcode {max-width:100%;height:auto}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) h3 {
  position:relative;
  line-height:1.6;
  padding:8px 0 8px 16px;
}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) h3::before {
  top:8px;bottom:8px;height:auto;
}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) h3::after {
  top:8px;bottom:auto;height:calc(50% - 8px);
}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) :is(.simple-box1,.simple-box2,.simple-box5,.simple-box6) {
  box-sizing:border-box;
  margin:24px 0;
  padding:18px 20px;
}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) :is(.simple-box1,.simple-box2,.simple-box5,.simple-box6,.concept-box1,.concept-box2,.concept-box5,.concept-box6,.jin-iconbox-main,.balloon-content)>:first-child {margin-top:0!important}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) :is(.simple-box1,.simple-box2,.simple-box5,.simple-box6,.concept-box1,.concept-box2,.concept-box5,.concept-box6,.jin-iconbox-main,.balloon-content)>:last-child {margin-bottom:0!important;padding-bottom:0}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) .balloon-box {
  --ct-avatar:80px;
  display:grid;grid-template-columns:80px minmax(0,1fr);grid-template-rows:80px auto;
  column-gap:20px;row-gap:6px;align-items:start;
  margin:28px 0;padding:0;min-width:0;
}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) .balloon-box::after {display:none}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) .balloon-icon {
  grid-column:1;grid-row:1;float:none;position:static;width:80px;height:auto;margin:0;
}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) .balloon-icon img {display:block;width:100%;height:var(--ct-avatar);object-fit:contain;margin:0}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) .balloon-box .icon-name {
  grid-column:1;grid-row:2;position:static;width:auto;margin:0;
  font-size:12px;line-height:1.5!important;text-align:center;overflow-wrap:anywhere;
}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) .balloon-serif {
  grid-column:2;grid-row:1 / 3;float:none;position:relative;
  width:auto;max-width:100%;min-width:0;margin:0!important;box-sizing:border-box;
}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) .balloon-content {overflow-wrap:anywhere;line-height:1.8}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) .balloon-serif::before {top:calc(var(--ct-avatar) / 2 - 7px)}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) .balloon-serif::after {top:calc(var(--ct-avatar) / 2 - 8px)}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) .balloon-right {grid-template-columns:minmax(0,1fr) 80px}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) .balloon-right :is(.balloon-icon,.icon-name) {grid-column:2}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) .balloon-right .balloon-serif {grid-column:1}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) .jin-iconbox {
  display:flex;align-items:flex-start;box-sizing:border-box;gap:14px;padding:18px 20px;
}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) .jin-iconbox-icons {
  flex:0 0 28px;float:none;width:28px;margin:0;padding:0;text-align:center;
}
:is(.ct-editorial.single .cps-post-main,body.ct-article-editor) .jin-iconbox-main {
  flex:1;float:none;min-width:0;width:auto;margin:0;padding:0 0 0 14px;line-height:1.8;
}
@media(max-width:767px){
  :is(.ct-editorial.single .cps-post-main,body.ct-article-editor) .balloon-box {--ct-avatar:64px;grid-template-columns:64px minmax(0,1fr);grid-template-rows:64px auto;column-gap:16px}
  :is(.ct-editorial.single .cps-post-main,body.ct-article-editor) .balloon-right {grid-template-columns:minmax(0,1fr) 64px}
  :is(.ct-editorial.single .cps-post-main,body.ct-article-editor) .balloon-icon {width:64px}
  :is(.ct-editorial.single .cps-post-main,body.ct-article-editor) :is(.simple-box1,.simple-box2,.simple-box5,.simple-box6,.jin-iconbox) {padding:16px}
}
