/* Single */
.gpj-article-header{padding:66px 0 60px;background:#fff}
.gpj-article-header__inner{max-width:1050px}
.gpj-article-header__meta-top{display:flex;align-items:center;gap:14px;margin-bottom:22px}
.gpj-article-header__meta-top>span{font-size:9px;letter-spacing:.15em;color:#999}
.gpj-term-label{display:inline-flex;align-items:center;background:var(--term-soft);color:var(--term-color);padding:7px 12px;font-size:10px;font-weight:850}
.gpj-article-header h1{margin:0;color:var(--gpj-ink);font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:clamp(36px,4.7vw,64px);font-weight:600;line-height:1.48;letter-spacing:-.045em}
.gpj-article-header__lead{max-width:850px;margin:24px 0 0;color:var(--gpj-muted);font-size:15px;line-height:2}
.gpj-article-header__meta{display:flex;flex-wrap:wrap;gap:0;margin-top:35px;border-top:1px solid var(--gpj-line);border-bottom:1px solid var(--gpj-line)}
.gpj-article-header__meta>div{display:flex;flex-direction:column;min-width:120px;padding:13px 24px 13px 0;margin-right:24px;border-right:1px solid var(--gpj-line)}
.gpj-article-header__meta>div:last-child{border-right:0}
.gpj-article-header__meta span{font-size:8px;color:#999;letter-spacing:.08em}
.gpj-article-header__meta time,.gpj-article-header__meta strong{font-size:11px;font-weight:750}
.gpj-article-visual{max-width:1180px;margin-bottom:58px}
.gpj-article-visual img{width:100%;max-height:720px;object-fit:cover}
.gpj-article-layout{display:grid;grid-template-columns:minmax(0,var(--gpj-content)) 300px;gap:78px;align-items:start;padding-bottom:100px}
.gpj-share-row{display:flex;align-items:center;gap:8px;margin-bottom:28px}
.gpj-share-row>span{font-size:9px;letter-spacing:.12em;font-weight:850;margin-right:8px}
.gpj-share-row a,.gpj-share-row button{border:1px solid var(--gpj-line);background:#fff;padding:7px 11px;font-size:9px;color:#555}
.gpj-share-row a:hover,.gpj-share-row button:hover{border-color:var(--gpj-red);color:var(--gpj-red)}
.gpj-article-summary{padding:30px 34px;margin-bottom:46px;background:var(--term-soft);border-top:3px solid var(--term-color)}
.gpj-article-summary__head{display:flex;align-items:baseline;gap:14px;margin-bottom:15px}
.gpj-article-summary__head span{color:var(--term-color);font-size:9px;letter-spacing:.14em;font-weight:850}
.gpj-article-summary h2{margin:0;font-size:19px}
.gpj-article-summary p{margin:0;font-size:13px;line-height:2}
.gpj-article-summary ul{margin:0;padding:0;list-style:none}
.gpj-article-summary li{position:relative;padding:7px 0 7px 26px;font-size:13px;font-weight:650}
.gpj-article-summary li:before{content:"";position:absolute;left:2px;top:17px;width:9px;height:9px;border:3px solid var(--term-color);border-radius:50%}
.gpj-entry-content{font-size:16px;line-height:2.05;color:#2c2e31;overflow-wrap:anywhere}
.gpj-entry-content>*:first-child{margin-top:0}
.gpj-entry-content p{margin:0 0 1.55em}
.gpj-entry-content h2{margin:3.1em 0 1.25em;padding:0 0 16px;border-bottom:2px solid var(--gpj-ink);color:var(--gpj-ink);font-size:29px;line-height:1.55;letter-spacing:-.025em}
.gpj-entry-content h2:before{content:"";display:block;width:42px;height:4px;margin-bottom:14px;background:var(--term-color)}
.gpj-entry-content h3{margin:2.5em 0 1em;padding-left:16px;border-left:4px solid var(--term-color);color:var(--gpj-ink);font-size:23px;line-height:1.55}
.gpj-entry-content h4{margin:2em 0 .85em;color:var(--gpj-ink);font-size:18px}
.gpj-entry-content a{color:#1766a3;text-decoration:underline;text-underline-offset:3px}
.gpj-entry-content strong{color:var(--gpj-ink);font-weight:800}
.gpj-entry-content ul,.gpj-entry-content ol{margin:1.5em 0 2em;padding:25px 28px 25px 48px;background:#f7f8f8}
.gpj-entry-content li{margin:.55em 0}
.gpj-entry-content blockquote{margin:2.5em 0;padding:28px 32px;background:var(--gpj-ivory);border-left:4px solid var(--term-color);font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:17px}
.gpj-entry-content figure{margin:2.5em 0}
.gpj-entry-content figcaption{margin-top:10px;color:var(--gpj-muted);font-size:10px;text-align:center}
.gpj-entry-content img{border-radius:4px}
.gpj-entry-content table{width:100%;border-collapse:collapse;margin:2em 0;font-size:13px;line-height:1.75}
.gpj-entry-content th{background:var(--gpj-ink);color:#fff;font-weight:750;text-align:left}
.gpj-entry-content th,.gpj-entry-content td{padding:14px 16px;border:1px solid #d9dcdf;vertical-align:top}
.gpj-entry-content tr:nth-child(even) td{background:#f7f8f8}
.gpj-entry-content .wp-block-button__link{background:var(--gpj-red);color:#fff;text-decoration:none;border-radius:2px;padding:15px 26px}
.gpj-entry-content pre{overflow:auto;background:#181a1d;color:#eee;padding:20px;font-size:12px}
.gpj-toc{position:sticky;top:175px;border-top:3px solid var(--gpj-ink);background:#fff;padding-top:16px;max-height:calc(100vh - 200px);overflow:auto}
.admin-bar .gpj-toc{top:207px}
.gpj-toc__head{display:flex;align-items:baseline;gap:12px;margin-bottom:12px}
.gpj-toc__head span{font-size:9px;color:var(--gpj-red);letter-spacing:.12em;font-weight:850}
.gpj-toc__head strong{font-size:15px}
.gpj-toc nav ol{list-style:none;margin:0;padding:0}
.gpj-toc nav li{border-bottom:1px solid var(--gpj-line)}
.gpj-toc nav a{display:block;padding:10px 3px;color:#6d7178;font-size:10px;line-height:1.6}
.gpj-toc nav .is-h3 a{padding-left:16px;font-size:9px}
.gpj-toc nav a:hover,.gpj-toc nav a.is-active{color:var(--gpj-red)}
.gpj-aside-popular{margin-top:35px;padding:24px;background:var(--gpj-soft)}
.gpj-aside-popular h2{margin:0 0 14px;font-size:16px}
.gpj-aside-popular>a{display:grid;grid-template-columns:28px 1fr;gap:10px;padding:12px 0;border-top:1px solid #d9dcdf}
.gpj-aside-popular>a span{font-family:Georgia,serif;color:var(--gpj-red);font-size:16px}
.gpj-aside-popular>a strong{font-size:10px;line-height:1.65}
.gpj-widget{margin-top:30px}
.gpj-sources{margin-top:55px;padding-top:25px;border-top:1px solid var(--gpj-line)}
.gpj-sources h2{font-size:18px}
.gpj-sources ul{padding-left:20px}
.gpj-sources a{font-size:11px;color:#1766a3;word-break:break-all}
.gpj-editorial-note{display:grid;grid-template-columns:150px 1fr;gap:28px;margin-top:70px;padding:30px 0;border-top:1px solid var(--gpj-line);border-bottom:1px solid var(--gpj-line)}
.gpj-editorial-note>span{font-size:9px;letter-spacing:.13em;color:var(--gpj-red);font-weight:850}
.gpj-editorial-note h2{margin:0 0 8px;font-size:18px}
.gpj-editorial-note p{margin:0 0 9px;color:var(--gpj-muted);font-size:11px}
.gpj-editorial-note a{font-size:10px;font-weight:850}
.gpj-author-box{display:grid;grid-template-columns:120px 1fr;gap:30px;margin-top:60px;padding:38px;background:var(--gpj-ink);color:#fff}
.gpj-author-box__avatar img{border-radius:50%}
.gpj-author-box h2{margin:0;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:27px;font-weight:500}
.gpj-author-box>div>span{display:block;margin:3px 0 12px;color:#f28d98;font-size:10px}
.gpj-author-box>div>p:not(.gpj-eyebrow){margin:0 0 14px;color:rgba(255,255,255,.68);font-size:11px}
.gpj-author-box a{font-size:10px;font-weight:850;color:#fff;border-bottom:1px solid rgba(255,255,255,.45)}
.gpj-article-cta{margin-top:60px;padding:44px;background:linear-gradient(135deg,#8d1e2d,#b53042);color:#fff;position:relative;overflow:hidden}
.gpj-article-cta:after{content:"";position:absolute;width:260px;height:260px;border:1px solid rgba(255,255,255,.18);border-radius:50%;right:-80px;top:-100px}
.gpj-article-cta .gpj-eyebrow{color:rgba(255,255,255,.65)}
.gpj-article-cta h2{margin:0;font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-size:28px;font-weight:500;line-height:1.55}
.gpj-article-cta p:not(.gpj-eyebrow){margin:13px 0 24px;color:rgba(255,255,255,.75);font-size:12px}
.gpj-article-cta a{position:relative;z-index:1;display:inline-flex;align-items:center;gap:30px;background:#fff;color:var(--gpj-red);padding:13px 18px;font-size:11px;font-weight:850}
.gpj-related{padding-top:90px}
.gpj-post-nav{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:var(--gpj-line);margin-top:80px;margin-bottom:100px}
.gpj-post-nav>div{background:#fff}
.gpj-post-nav a{display:block;min-height:150px;padding:30px}
.gpj-post-nav span{display:block;margin-bottom:10px;color:var(--gpj-red);font-size:9px;letter-spacing:.12em;font-weight:850}
.gpj-post-nav strong{font-size:13px;line-height:1.65}

/* Full article eyecatch keeps its natural ratio and uses the original composition. */
.gpj-article-visual{display:block;max-width:1180px;margin-top:0;margin-bottom:58px;padding:18px;background:#f7f5f1;border:1px solid var(--gpj-line)}
.gpj-article-visual img{width:100%;height:auto!important;max-height:none;object-fit:contain}

/* Article typography and imported WordPress content resilience. */
.gpj-entry-content{font-size:16px;line-height:2.05;word-break:normal;overflow-wrap:break-word}
.gpj-entry-content>*{max-width:100%}
.gpj-entry-content p{margin-bottom:1.65em}
.gpj-entry-content h2{font-size:clamp(26px,2.4vw,30px);line-height:1.6}
.gpj-entry-content h3{font-size:clamp(21px,2vw,24px);line-height:1.65}
.gpj-entry-content h4{line-height:1.65}
.gpj-entry-content img{width:auto;max-width:100%!important;height:auto!important}
.gpj-entry-content figure,.gpj-entry-content .wp-block-image{max-width:100%}
.gpj-entry-content iframe,.gpj-entry-content video{max-width:100%}
.gpj-entry-content .wp-block-embed__wrapper{position:relative;max-width:100%;overflow:hidden}
.gpj-table-scroll{width:100%;max-width:100%;margin:2em 0;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #d9dcdf;background:#fff}
.gpj-table-scroll table{width:100%;min-width:680px;margin:0;border:0}
.gpj-table-scroll th:first-child,.gpj-table-scroll td:first-child{border-left:0}
.gpj-table-scroll th:last-child,.gpj-table-scroll td:last-child{border-right:0}
.gpj-entry-content pre,.gpj-entry-content code{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
.gpj-entry-content a{overflow-wrap:anywhere}

/* Normalize legacy inline article wrappers without removing intentional box styling. */
.gpj-entry-content>div[style],.gpj-entry-content>section[style]{max-width:100%!important;font-family:inherit!important;line-height:inherit!important;letter-spacing:normal!important}
.gpj-entry-content h2{font-size:clamp(26px,2.4vw,30px)!important;line-height:1.6!important}
.gpj-entry-content h3{font-size:clamp(21px,2vw,24px)!important;line-height:1.65!important}
.gpj-entry-content h4{line-height:1.65!important}
.gpj-author-box__avatar img{width:120px;height:120px;object-fit:cover;object-position:center 18%;border-radius:50%}
@media (max-width:640px){
  .gpj-entry-content h2{font-size:25px!important;line-height:1.6!important}
  .gpj-entry-content h3{font-size:21px!important;line-height:1.65!important}
  .gpj-entry-content h4{font-size:18px!important;line-height:1.65!important}
  .gpj-entry-content>div[style*="padding:"],.gpj-entry-content>section[style*="padding:"]{padding-left:min(6vw,22px)!important;padding-right:min(6vw,22px)!important}
  .gpj-entry-content>section[style*="margin-bottom"]{margin-bottom:3rem!important}
  .gpj-author-box__avatar img{width:92px;height:92px}
}

/* Grid children must be allowed to shrink around imported wide tables/content. */
.gpj-article-main,.gpj-article-aside,.gpj-entry-content{min-width:0}
.gpj-entry-content>div[style*="overflow"],.gpj-entry-content>section[style*="overflow"]{width:100%;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
.gpj-entry-content table{max-width:100%}

/* Server-rendered TOC and evidence metadata */
.gpj-toc__head{justify-content:space-between}
.gpj-toc__toggle{display:none;border:0;background:transparent;color:var(--gpj-red);font-size:11px;font-weight:800}
.gpj-toc nav[hidden]{display:none!important}
.gpj-article-summary__conclusion{margin:0 0 18px;padding:18px 20px;background:rgba(255,255,255,.62);font-size:14px;font-weight:700;line-height:1.9}
.gpj-article-summary__audience{margin-top:18px;padding-top:16px;border-top:1px solid color-mix(in srgb,var(--term-color) 20%,transparent);font-size:12px}
.gpj-sources ol{margin:0;padding:0;list-style:none}
.gpj-sources li{padding:18px 0;border-bottom:1px solid var(--gpj-line);font-size:12px;line-height:1.75}
.gpj-sources li strong{display:block;color:var(--gpj-ink);font-size:13px}
.gpj-sources li span{display:block;color:var(--gpj-muted)}
.gpj-sources li a{display:inline-block;margin-top:5px;word-break:break-word}
.gpj-history{margin-top:45px;padding:28px;background:var(--gpj-soft)}
.gpj-history h2{margin:0 0 18px;font-size:18px}
.gpj-history>div{display:grid;grid-template-columns:110px 60px 1fr;gap:18px;padding:12px 0;border-top:1px solid #d9dcdf;font-size:11px}
.gpj-history time,.gpj-history strong{color:var(--gpj-ink)}.gpj-history span{color:var(--gpj-muted)}
.gpj-author-box--reviewer{margin-top:24px;background:#292b2f}
.gpj-author-box__meta{display:flex;flex-wrap:wrap;gap:7px 15px;margin:12px 0;color:rgba(255,255,255,.65);font-size:10px}
.gpj-entry-content .wp-block-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.gpj-entry-content .wp-block-table table{min-width:680px;margin:0}
.gpj-entry-content>div[style*="overflow"],.gpj-entry-content>section[style*="overflow"]{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
