.jpn-section{margin:24px 0 30px;padding:0;clear:both;min-width:0}
.jpn-heading{display:flex;align-items:flex-start;margin:0 0 12px;padding:0;border:0;gap:0}
.widget.widget_getsu_juve_petit_news_widget > .widget-title,.widget.widget_getsu_juve_petit_news_widget .widget-title,.widget.widget_getsu_juve_petit_news_widget > h2:first-child,.widget.widget_getsu_juve_petit_news_widget > h3:first-child{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;line-height:0!important}.widget.widget_getsu_juve_petit_news_widget > .widget-title:before,.widget.widget_getsu_juve_petit_news_widget > .widget-title:after{display:none!important;content:none!important;border:0!important}
.jpn-heading-image{display:block;width:238px;max-width:72%;height:auto;object-fit:contain}
.jpn-list{display:flex;flex-direction:column;gap:0;min-width:0}
.jpn-card{box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;gap:14px;min-width:0;padding:14px 4px;border-bottom:1px solid #e3e6e8;background:transparent}
.jpn-card:first-child{border-top:1px solid #e3e6e8}
.jpn-image-wrap{display:block;flex:0 0 112px;width:112px;height:112px;overflow:hidden;border-radius:6px;background:#f2f2f2;aspect-ratio:1/1}
.jpn-image-wrap img{display:block;width:100%;height:100%;object-fit:cover}
.jpn-card-body{flex:1;min-width:0}
.jpn-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0 0 5px;color:#68717b;font-size:.76rem}
.jpn-media-col{flex:0 0 112px;width:112px;min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:5px}
.jpn-card-date{display:block;width:100%;margin:0!important;font-size:.72rem;line-height:1.3;color:#68717b;text-align:center}
.jpn-card-title{font-size:1rem;line-height:1.4;font-weight:700;margin:0 0 6px;color:inherit;overflow-wrap:anywhere}
.jpn-summary{font-size:.9rem;line-height:1.65;margin:0;color:inherit;overflow-wrap:anywhere}
.jpn-summary-toggle{display:inline-block;margin:8px 0 0;padding:5px 10px;border:1px solid #b8d5ec;border-radius:5px;background:#f1f7fc;color:#145b91;font:inherit;font-size:.84rem;line-height:1.4;font-weight:700;cursor:pointer;text-align:left;transition:background .15s ease,border-color .15s ease}
.jpn-summary-toggle:hover{background:#e2f0fb;border-color:#78afd9;text-decoration:none}
.jpn-expanded-content[hidden]{display:none!important}
.jpn-summary-full{display:block;overflow:visible;line-height:1.75}
.jpn-editor-comment{padding:8px 10px;background:#fff1f1;border-left:3px solid #c82333;border-radius:0 6px 6px 0;margin:9px 0 0;min-width:0}
.jpn-editor-comment strong{display:block;font-size:.78rem;color:#a20f19;margin:0 0 3px}
.jpn-editor-comment p{font-size:.84rem;line-height:1.55;margin:0;overflow-wrap:anywhere}
.jpn-card-source{margin:8px 0 0;font-size:.8rem}.jpn-source{color:#64748b;text-decoration:underline}
.jpn-empty{padding:16px;background:#f7f8fa;border-radius:7px;color:#68717b}
.jpn-section a:focus-visible,.jpn-summary-toggle:focus-visible{outline:2px solid #1769aa;outline-offset:3px}
.jpn-single-summary{margin:1.2em 0}.jpn-single-summary h2{font-size:1.25rem;margin:0 0 .5em}.jpn-single-summary p{line-height:1.8}.jpn-single-comment{margin:1.2em 0}.jpn-single-source{margin-top:1em;font-size:.9rem}
@media(max-width:600px){
.jpn-section{margin:16px 0 22px}
.jpn-heading-image{width:210px;max-width:78%}
.jpn-card{gap:10px;padding:12px 2px}
.jpn-image-wrap{flex-basis:88px;width:88px;height:88px}
.jpn-meta{font-size:.72rem;margin-bottom:4px}
.jpn-media-col{flex-basis:88px;width:88px;gap:4px}
.jpn-card-date{font-size:.68rem}
.jpn-card-title{font-size:.92rem;margin-bottom:5px}
.jpn-summary{font-size:.84rem;line-height:1.55}
.jpn-summary-toggle{font-size:.8rem;margin-top:6px;padding:5px 9px}
.jpn-editor-comment{padding:8px 9px;margin-top:8px}
.jpn-editor-comment strong{font-size:.74rem}
.jpn-editor-comment p{font-size:.8rem;line-height:1.5}
}
@media(max-width:360px){.jpn-media-col{flex-basis:76px;width:76px}.jpn-image-wrap{flex-basis:76px;width:76px;height:76px}.jpn-card{gap:8px}}

/* v1.3.5: this widget uses its own image heading; remove Cocoon/WordPress title and frame */
.widget.widget_getsu_juve_petit_news_widget,
.widget_getsu_juve_petit_news_widget {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.widget.widget_getsu_juve_petit_news_widget > .widget-title,
.widget.widget_getsu_juve_petit_news_widget > h2,
.widget.widget_getsu_juve_petit_news_widget > h3,
.widget_getsu_juve_petit_news_widget .widget-title {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: none !important;
  line-height: 0 !important;
}
.widget.widget_getsu_juve_petit_news_widget > .widget-title:before,
.widget.widget_getsu_juve_petit_news_widget > .widget-title:after,
.widget_getsu_juve_petit_news_widget .widget-title:before,
.widget_getsu_juve_petit_news_widget .widget-title:after {
  display: none !important;
  content: none !important;
  border: 0 !important;
}

/* v1.3.7: independent news listing and single-page presentation */
.jpn-card{flex-wrap:nowrap;align-items:center}
.jpn-card-link{color:inherit;text-decoration:none}
.jpn-card-link:hover{text-decoration:none;opacity:.92}
.jpn-card-body{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.jpn-card-title{margin:0;font-size:1.02rem;line-height:1.55}
.jpn-read-more{display:inline-block;padding:6px 12px;border:1px solid #cbd5df;border-radius:5px;background:#f7f9fb;color:#245b83;font-size:.84rem;font-weight:700;line-height:1.4;text-decoration:none}
.jpn-read-more:hover{background:#edf3f8;color:#17466a;text-decoration:none}
.jpn-single-thumbnail{margin:0 0 1.4em}
.jpn-single-thumbnail-image{display:block;width:100%;height:auto;max-height:560px;object-fit:contain;margin:0 auto;border-radius:5px}
.jpn-single-summary{margin:1.2em 0}
.jpn-single-summary p{line-height:1.9;margin:0}
.jpn-single-comment{padding:16px 18px;background:#eaf4fb;border:0;border-radius:7px;margin:1.8em 0;}
.jpn-single-comment h2{margin:0 0 .65em;padding:0;color:#333;font-size:1.25rem;line-height:1.4;border:0;background:transparent}
.jpn-single-comment h2:before,.jpn-single-comment h2:after{display:none!important;content:none!important}
.jpn-single-comment p{margin:0;color:#444;font-size:.95rem;line-height:1.85;overflow-wrap:anywhere}
.jpn-single-source{margin-top:1.2em;font-size:.9rem}
@media(max-width:600px){
 .jpn-card{gap:10px;padding:12px 2px}
 .jpn-media-col{flex-basis:88px;width:88px}
 .jpn-image-wrap{flex-basis:88px;width:88px;height:88px}
 .jpn-card-title{font-size:.92rem;line-height:1.5}
 .jpn-read-more{font-size:.8rem;padding:5px 9px}
 .jpn-single-comment{padding:13px 14px}
 .jpn-single-comment h2{font-size:1.12rem}
}


/* v1.3.9: petit-news-only latest list, placed after the native comment form */
.jpn-latest-news{clear:both;margin:2em 0 1.5em;padding:18px;border:1px solid #e2e5e8;border-radius:8px;background:#fff}
.jpn-latest-news-title{margin:0 0 14px;padding:0 0 10px;border-bottom:2px solid #e5e7eb;font-size:1.2rem;line-height:1.4}
.jpn-latest-news-list{display:flex;flex-direction:column;gap:0}
.jpn-latest-news-item{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #edf0f2;color:inherit;text-decoration:none}
.jpn-latest-news-item:last-child{border-bottom:0}
.jpn-latest-news-item:hover{text-decoration:none;opacity:.82}
.jpn-latest-news-thumb{display:block;flex:0 0 68px;width:68px;height:68px;overflow:hidden;border-radius:5px;background:#f2f2f2}
.jpn-latest-news-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.jpn-latest-news-text{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}
.jpn-latest-news-item-title{font-size:.94rem;font-weight:700;line-height:1.5;overflow-wrap:anywhere}
.jpn-latest-news-date{font-size:.75rem;color:#78818a}
@media(max-width:600px){.jpn-latest-news{padding:13px}.jpn-latest-news-thumb{flex-basis:58px;width:58px;height:58px}.jpn-latest-news-item-title{font-size:.88rem}}
/* Hide Cocoon's generic new-entry cards only on petit-news single pages. */
body.single-gj_petit_news .new-entry-cards,
body.single-gj_petit_news .new-entry-card-wrap,
body.single-gj_petit_news .widget_recent_entries{display:none!important}

/* v1.4.3: add breathing room between editor comment and latest-news section */
.jpn-single-news .jpn-latest-news{margin-top:3.2em;}
@media(max-width:600px){.jpn-single-news .jpn-latest-news{margin-top:2.6em;}}

/* v1.4.5: subtle divider after the editor's comment */
.jpn-single-news .jpn-editor-comment-divider{display:block;height:0;border:0;border-top:1px solid #333;margin:1.8em 0 2em;opacity:.55;}
@media(max-width:600px){.jpn-single-news .jpn-editor-comment-divider{margin:1.5em 0 1.7em;}}

/* v1.4.9: make the news title itself a link */
.jpn-card-title-link{color:inherit;text-decoration:none;}
.jpn-card-title-link:hover{text-decoration:underline;}
.jpn-card-title-link:focus-visible{outline:2px solid #1769aa;outline-offset:2px;}


/* v1.6.1: preserve paragraph spacing and explicit line breaks from wp_editor. */
.jpn-single-comment p,
.jpn-single-summary p {
  white-space: normal;
}
.jpn-single-comment p + p,
.jpn-single-summary p + p {
  margin-top: 1em !important;
}
.jpn-single-comment p:empty,
.jpn-single-summary p:empty {
  display: block;
  min-height: 1em;
  margin: 0 0 1em !important;
}
.jpn-single-comment br,
.jpn-single-summary br {
  content: "";
}


/* v1.6.2: consistent one-em paragraph spacing in both news body and editor comment. */
.jpn-single-summary > p,
.jpn-single-comment > p {
  margin-top: 0 !important;
  margin-bottom: 1em !important;
  line-height: 1.8;
}
.jpn-single-summary > p + p,
.jpn-single-comment > p + p {
  margin-top: 0 !important;
}
.jpn-single-summary > ul,
.jpn-single-summary > ol {
  margin-block: 0 1em;
}


/* v1.6.3: distinctive yellow lightning badge for petit-news recognition. */
.jpn-petit-badge{display:inline-flex;align-items:center;gap:6px;box-sizing:border-box;width:max-content;max-width:100%;margin:0 0 12px;padding:6px 12px;border:1px solid #e0ad18;border-radius:6px;background:#f4c542;color:#171717;font-size:.82rem;font-weight:800;line-height:1.35;letter-spacing:.02em;vertical-align:middle}
.jpn-petit-badge-icon{font-size:1.05em;line-height:1}
.jpn-single-news>.jpn-petit-badge{margin:0 0 14px}
.jpn-card-body>.jpn-petit-badge{margin:0 0 2px;padding:4px 9px;font-size:.72rem;border-radius:5px}
@media(max-width:600px){.jpn-petit-badge{font-size:.78rem;padding:5px 10px;margin-bottom:10px}.jpn-card-body>.jpn-petit-badge{font-size:.68rem;padding:4px 8px}}

/* v1.6.4: show the label inline immediately after the single-page title only. */
body.single-gj_petit_news .entry-title .jpn-petit-badge{display:inline-flex;vertical-align:middle;margin:0 0 0 .55em;padding:4px 9px;font-size:.68em;line-height:1.25;white-space:nowrap}
body.single-gj_petit_news .jpn-single-news>.jpn-petit-badge{display:none!important}
@media(max-width:600px){body.single-gj_petit_news .entry-title .jpn-petit-badge{padding:3px 7px;font-size:.62em;margin-left:.4em}}


/* v1.6.5: unify line breaks and paragraph spacing in news body and editor comment. */
.jpn-single-news .jpn-single-rich-content p {
  display: block !important;
  white-space: normal !important;
  margin: 0 0 1em !important;
  line-height: 1.8 !important;
}
.jpn-single-news .jpn-single-rich-content p:last-child {
  margin-bottom: 0 !important;
}
.jpn-single-news .jpn-single-rich-content br {
  display: inline !important;
  content: normal !important;
}
.jpn-single-news .jpn-single-rich-content ul,
.jpn-single-news .jpn-single-rich-content ol {
  margin: 0 0 1em 1.5em !important;
  padding-left: 1em;
}
.jpn-single-news .jpn-single-rich-content li {
  margin-bottom: .35em;
}


/* v1.6.9: remove heading-to-body gap while preserving the heading's original vertical padding. */
.jpn-single-news .jpn-single-rich-content h1,
.jpn-single-news .jpn-single-rich-content h2,
.jpn-single-news .jpn-single-rich-content h3,
.jpn-single-news .jpn-single-rich-content h4,
.jpn-single-news .jpn-single-rich-content h5,
.jpn-single-news .jpn-single-rich-content h6 {
  margin-bottom: 0 !important;
}
.jpn-single-news .jpn-single-rich-content h1 + p,
.jpn-single-news .jpn-single-rich-content h2 + p,
.jpn-single-news .jpn-single-rich-content h3 + p,
.jpn-single-news .jpn-single-rich-content h4 + p,
.jpn-single-news .jpn-single-rich-content h5 + p,
.jpn-single-news .jpn-single-rich-content h6 + p {
  margin-top: 0 !important;
}
.jpn-single-news .jpn-single-rich-content h1 + p:empty,
.jpn-single-news .jpn-single-rich-content h2 + p:empty,
.jpn-single-news .jpn-single-rich-content h3 + p:empty,
.jpn-single-news .jpn-single-rich-content h4 + p:empty,
.jpn-single-news .jpn-single-rich-content h5 + p:empty,
.jpn-single-news .jpn-single-rich-content h6 + p:empty {
  display: none !important;
}
