/*
Theme Name: Kenoh News
Description: kenoh.comリニューアル用。Twenty Twenty-Fiveを基にした子テーマ。
Template: twentytwentyfive
Version: 0.1.89
Text Domain: kenoh-news
*/
body{background:#fff;color:#222}
.kenoh-sponsored-label{display:inline-block;vertical-align:middle;border:1px solid #666;border-radius:2px;padding:2px 7px;font:600 12px/1.5 system-ui,sans-serif;color:#444;background:#f5f5f2;white-space:nowrap}
.kenoh-shell{max-width:1120px;margin:0 auto;padding:0 20px}
.kenoh-masthead{text-align:center;padding:7px 0 14px;border-bottom:3px double #222;margin-top:0}
.kenoh-masthead .wp-block-site-title{font-family:Georgia,serif;font-size:48px;line-height:1.15;letter-spacing:-1px}
.kenoh-region-nav{margin-block-start:8px!important;padding:4px 0 12px;border-bottom:1px solid #aaa}
.kenoh-region-filter{display:flex;align-items:center;justify-content:flex-start;gap:10px;margin:0;font:14px/1.5 system-ui,sans-serif}
.kenoh-region-filter label{font-weight:600;color:#333}
.kenoh-region-select{box-sizing:border-box;min-width:148px;min-height:42px;padding:7px 34px 7px 11px;border:1px solid #888;border-radius:3px;background-color:#fff;color:#222;font:inherit;cursor:pointer}
.kenoh-region-select.is-filtered{background-color:#ffe680;font-weight:700}
.kenoh-region-select:focus-visible{outline:2px solid #2363a0;outline-offset:2px}
.kenoh-region-filter noscript button{min-height:42px;padding:7px 12px;border:1px solid #888;border-radius:3px;background:#f5f5f2;color:#222;font:inherit;cursor:pointer}
.kenoh-layout{display:grid;grid-template-columns:minmax(0,1fr) 184px;gap:28px;margin-top:28px}
.kenoh-heading{font-family:"Hiragino Mincho ProN","Yu Mincho",serif;font-size:26px;border-bottom:2px solid #222;padding-bottom:10px}
.kenoh-feed .wp-block-post-template{margin:0;padding:0}
.kenoh-feed .wp-block-post{margin:0;padding:20px 0;border-bottom:1px solid #ccc}
.kenoh-story{display:flex;gap:18px;align-items:flex-start}
.kenoh-story>.wp-block-post-featured-image{width:130px;flex:0 0 130px;margin:0}
.kenoh-story>.wp-block-group{flex:1;min-width:0;margin:0}
.kenoh-story .wp-block-post-title{font:700 21px/1.65 "Hiragino Mincho ProN","Yu Mincho",serif;margin:5px 0;width:100%;max-width:100%;text-wrap:wrap;word-break:normal;overflow-wrap:anywhere}
.kenoh-story .wp-block-post-title a{text-decoration:none}
.kenoh-meta{font-size:12px;color:#666;display:flex;flex-wrap:wrap;gap:8px 14px;margin:0}
.kenoh-meta>*{margin:0}
.kenoh-feed .wp-block-query-pagination{margin:28px 0;font-size:14px}
.kenoh-ad{background:#f3f3ef;outline:1px solid #ddd;text-align:center;display:flex;align-items:center;justify-content:center;color:#666;font:12px/1.5 system-ui,sans-serif}
.kenoh-top-ad{width:468px;max-width:100%;aspect-ratio:468/60;margin:14px auto 7px}
.kenoh-sidebar{border-left:1px solid #ccc;padding-left:23px}
.kenoh-side-ad{width:160px;height:80px;margin-bottom:16px}
.kenoh-footer{margin-top:36px;border-top:3px double #333;padding:20px 0;font-size:13px;color:#666}
.kenoh-notice{font:12px/1.6 system-ui,sans-serif;color:#666}
@media(max-width:700px){.kenoh-shell{padding:0 14px}.kenoh-layout{grid-template-columns:1fr;gap:20px}.kenoh-masthead .wp-block-site-title{font-size:36px}.kenoh-story{gap:12px}.kenoh-story>.wp-block-post-featured-image{width:86px;flex-basis:86px}.kenoh-story .wp-block-post-title{font-size:17px}.kenoh-sidebar{border-left:0;border-top:1px solid #ccc;padding:20px 0;display:grid;grid-template-columns:repeat(2,minmax(0,160px));justify-content:center;gap:10px}.kenoh-side-ad{width:100%;height:auto;aspect-ratio:2/1;margin:0}.kenoh-sidebar .kenoh-notice{grid-column:1/-1}.kenoh-meta{font-size:11px}}

/* Individual news articles: preserve the image proportions and readable text. */
.kenoh-article{min-width:0}
.kenoh-related{margin-top:36px;padding-top:20px;border-top:1px solid #aaa;overflow-wrap:anywhere}
.kenoh-related h2{font:700 23px/1.5 "Hiragino Mincho ProN","Yu Mincho",serif;margin:0 0 12px}
.kenoh-related ul{list-style:none;padding:0;margin:0}
.kenoh-related a{text-underline-offset:3px}
.kenoh-article-title{font:700 clamp(24px,3.2vw,34px)/1.5 "Hiragino Mincho ProN","Yu Mincho",serif;margin:0 0 16px;overflow-wrap:anywhere}
.kenoh-article .kenoh-article-title{width:100%;max-width:100%;text-wrap:wrap;word-break:normal}
.kenoh-article-photo{margin:24px 0}
.kenoh-article-photo img{display:block;width:auto;max-width:100%;height:auto;margin:0 auto}
.kenoh-article-body{font-size:17px;line-height:1.6;overflow-wrap:anywhere}
.kenoh-article-body :is(p,h2,h3,h4,h5,h6,li,blockquote,figcaption){text-wrap:wrap;word-break:normal}
.kenoh-article-body img{max-width:100%;height:auto}
.kenoh-article-body > *{max-width:100%;box-sizing:border-box}
.kenoh-article-body > p{margin:0 0 1.5em}
.kenoh-article-body > :is(h2,h3,h4,h5,h6){margin-bottom:16px}
.kenoh-article-body table{border-collapse:collapse;width:100%}
.kenoh-article-body table :is(th,td){border:1px solid #777;padding:8px;text-align:left;vertical-align:top}
/* Keep space below the complete embed even when block margins are reset. */
:is(.kenoh-article-body,.wp-block-post-content) .wp-block-embed:is(.is-provider-youtube,.wp-block-embed-youtube){padding-bottom:24px}
@media(max-width:700px){.kenoh-article-body{font-size:18px;line-height:1.6}.kenoh-article-photo{margin:20px 0}}

.kenoh-top-ad > a{display:block;width:100%}
.kenoh-top-ad img{display:block;width:100%;height:auto;aspect-ratio:468/60}

.kenoh-side-list{list-style:none;margin:0;padding:0}
.kenoh-side-creative{break-inside:avoid;margin:0 0 12px;padding:0;width:160px;max-width:100%}
.kenoh-side-creative a,.kenoh-side-creative img{display:block;width:100%}
.kenoh-side-creative img{height:auto;box-sizing:border-box;border:1px solid #ccc}
.kenoh-live-sidebar > .kenoh-notice{margin:0 0 12px}
@media(max-width:700px){.kenoh-live-sidebar{display:block}.kenoh-side-list{position:relative;width:100%;max-width:100%;margin:0 auto}.kenoh-side-creative{width:100%}.kenoh-live-sidebar > .kenoh-notice{text-align:center}}

.kenoh-feed-ad{list-style:none;margin:0;padding:10px 0;border-bottom:1px solid #ccc}
.kenoh-feed-ad > .kenoh-notice{text-align:center;margin:0 0 6px}
.kenoh-adsense-placeholder{min-height:150px;width:100%;box-sizing:border-box;padding:16px}
.kenoh-mobile-ad-group{list-style:none;margin:0;padding:10px 0;border-bottom:1px solid #ccc}
.kenoh-mobile-ad-group > .kenoh-notice{text-align:center;margin:0 0 8px}
.kenoh-mobile-ad-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;width:100%;max-width:100%;list-style:none;padding:0;margin:0 auto}
.kenoh-mobile-ad-pair > .kenoh-side-creative{margin:0;width:100%}
.kenoh-live-sidebar[hidden]{display:none}
.kenoh-big-banner{width:100%;margin:24px auto}
.kenoh-big-banner > .kenoh-notice{text-align:center;margin:0 0 8px}
.kenoh-big-banner img{display:block;width:auto;max-width:100%;height:auto;margin:0 auto}

.kenoh-footer-links{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:16px}
.kenoh-utility-links{display:flex;justify-content:flex-end;flex-wrap:wrap;font-size:13px;margin-top:12px}
.kenoh-social-links{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;margin-top:20px}
.kenoh-social-links>span{font-weight:700}
.kenoh-utility-links a,.kenoh-social-links a{text-underline-offset:3px}
.kenoh-page-layout{margin-top:28px}
.kenoh-basic-page{max-width:820px;margin:0 auto}
.kenoh-basic-content{font-size:16px;line-height:1.9;overflow-wrap:anywhere}
.kenoh-basic-content h2{font-size:23px;margin-top:32px;border-bottom:1px solid #ccc;padding-bottom:8px}
.kenoh-basic-content .draft{background:#f7f2e7;padding:12px 16px;font-size:14px}
.kenoh-basic-content .pending{color:#805714}
.kenoh-basic-content .scroll{overflow-x:auto}
.kenoh-basic-content table{border-collapse:collapse;width:100%;font-size:14px}
.kenoh-basic-content th,.kenoh-basic-content td{padding:12px 8px;border-bottom:1px solid #ccc;text-align:left;vertical-align:top}
.kenoh-contact-demo fieldset{border:1px solid #ccc;padding:16px;min-width:0}
.kenoh-contact-demo label{display:block;margin-top:20px;font-weight:600}
.kenoh-contact-demo input,.kenoh-contact-demo textarea,.kenoh-contact-demo select{box-sizing:border-box;font:inherit;max-width:100%;width:100%;padding:10px}
.kenoh-contact-demo input[type=checkbox]{width:auto}
.kenoh-contact-demo textarea{min-height:180px}
.kenoh-contact-demo small{display:block;font-size:13px;color:#666}
.kenoh-contact-demo button{margin-top:20px;padding:12px 20px;font:inherit}

.kenoh-contact-form{position:relative}
.kenoh-contact-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.kenoh-contact-result{white-space:pre-line;background:#f2f5f4;padding:14px}
.kenoh-contact-result:empty{display:none}
.kenoh-contact-form button{background:#223c47;color:#fff;border:0;cursor:pointer}
.kenoh-contact-form button:disabled{opacity:.6;cursor:default}
.kenoh-contact-form :focus-visible{outline:2px solid #28586b;outline-offset:3px}

.kenoh-advertising-page .wp-block-table{max-width:100%;overflow-x:auto}
.kenoh-advertising-page .kenoh-basic-content table{min-width:680px;table-layout:auto}
.kenoh-advertising-page .kenoh-basic-content tr>:first-child{min-width:5em}
.kenoh-advertising-page .kenoh-basic-content tr>:nth-child(2){min-width:9em}
.kenoh-table-scroll-hint{display:none}
@media(max-width:700px){.kenoh-table-scroll-hint{display:block;font-size:13px;color:#666;margin-bottom:8px}}

/* Quiet SNS icons beneath the masthead, with generous touch targets. */
.kenoh-header-links{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 24px;margin-top:8px}
.kenoh-header-links .kenoh-utility-links{margin:0}
.kenoh-social-links--header{display:flex;flex-wrap:nowrap;gap:4px;margin:0}
.kenoh-social-links--header a{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:44px;height:44px;border:0;border-radius:4px;background:transparent;color:#555;text-decoration:none}
.kenoh-social-links--header svg{display:block;width:20px;height:20px}
.kenoh-social-links--header a:hover{background:#f2f2ef;color:#111}
.kenoh-social-links--header a:focus-visible{outline:2px solid #2363a0;outline-offset:2px}

.kenoh-social-links--header .kenoh-social-x{color:#111}
.kenoh-social-links--header .kenoh-social-facebook{color:#0866ff}
.kenoh-social-links--header .kenoh-social-youtube{color:#f03}

/* Article search shares the quiet upper navigation. */
.kenoh-header-tools{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 20px;max-width:100%}
.kenoh-search-form{display:flex;gap:0;width:270px;max-width:100%;margin:0}
.kenoh-search-form input{box-sizing:border-box;min-width:0;flex:1;width:100%;padding:9px 10px;border:1px solid #999;border-radius:3px 0 0 3px;background:#fff;color:#222;font:14px/1.5 system-ui,sans-serif}
.kenoh-search-form button{box-sizing:border-box;min-height:44px;padding:8px 12px;border:1px solid #999;border-left:0;border-radius:0 3px 3px 0;background:#f5f5f2;color:#222;font:14px/1.5 system-ui,sans-serif;cursor:pointer}
.kenoh-search-form :focus-visible{outline:2px solid #2363a0;outline-offset:2px}
.kenoh-search-note{font-size:14px;line-height:1.8;color:#555;overflow-wrap:anywhere}
@media(max-width:700px){.kenoh-search-form input{font-size:16px}}

/* Compact brand and two-row navigation beneath it. */
.kenoh-masthead .wp-block-site-title{margin-top:0;margin-bottom:0;line-height:1.05}
.kenoh-masthead .kenoh-brand-reading{font:13px/1.3 system-ui,sans-serif;letter-spacing:.08em;margin:0}
.kenoh-masthead .kenoh-brand-reading+p{margin-top:12px;margin-bottom:0}
/* Supplied brand artwork includes the Japanese reading. Keep the site name accessible. */
.kenoh-masthead .wp-block-site-title{width:280px;max-width:100%;aspect-ratio:1992/624;margin-left:auto;margin-right:auto;background:url('assets/kenoh-logo.png') center/contain no-repeat;font-size:0;line-height:0;letter-spacing:0}
.kenoh-masthead .wp-block-site-title a{display:block;width:100%;height:100%}
.kenoh-masthead .kenoh-brand-reading{display:none}
@media(max-width:700px){
 .kenoh-masthead{display:flex;align-items:flex-end;justify-content:flex-start;gap:12px}
 .kenoh-masthead .wp-block-site-title{width:122px;flex:0 0 122px;margin:0}
 .kenoh-masthead>p:not(.kenoh-brand-reading):not(.wp-block-site-title){flex:1;min-width:0;margin:0;font-size:14px;line-height:1.5;text-align:left}
}
@media(min-width:901px){
 .kenoh-masthead{display:flex;align-items:center;justify-content:flex-start;gap:32px}
 .kenoh-masthead .wp-block-site-title{flex:0 0 280px;margin:0}
 .kenoh-masthead>p:not(.kenoh-brand-reading):not(.wp-block-site-title){margin:0;line-height:1.5;text-align:left}
}
.kenoh-header-links{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:6px 20px}
.kenoh-header-tools{display:flex;flex-direction:column;align-items:flex-end;gap:6px;width:auto;min-width:0}
.kenoh-header-tools .kenoh-search-form{width:280px;max-width:100%}
.kenoh-header-tools .kenoh-utility-links{gap:6px 16px;line-height:1.7}
@media(max-width:520px){
 .kenoh-header-links{grid-template-columns:minmax(0,1fr)}
 .kenoh-header-tools{align-items:flex-end}
 .kenoh-header-tools .kenoh-utility-links{justify-content:flex-end;text-align:right}
 .kenoh-header-links{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:6px 8px}
 .kenoh-header-tools{display:contents}
 .kenoh-header-tools .kenoh-search-form{width:100%;min-width:0;grid-column:2;grid-row:1}
 .kenoh-search-form input{padding-left:6px;padding-right:6px}
 .kenoh-search-form button{padding-left:6px;padding-right:6px}
 .kenoh-header-tools .kenoh-utility-links{grid-column:1/-1;justify-self:end}
}
@media(max-width:359px){.kenoh-social-links--header{gap:0}.kenoh-social-links--header a{width:40px}}

.kenoh-heading{overflow-wrap:anywhere}
.kenoh-article-share{position:relative;min-width:0;margin:16px 0 20px;font:13px/1.5 system-ui,sans-serif}
.kenoh-header-links .kenoh-article-share{margin:0}
.kenoh-share-label{display:block;margin-bottom:4px;color:#555}
.kenoh-share-actions{display:flex;flex-wrap:wrap;gap:6px}
.kenoh-share-actions a,.kenoh-share-actions button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;box-sizing:border-box;padding:9px;border:1px solid #ddd;border-radius:4px;background:#fff;color:#333;font:inherit;text-decoration:none;cursor:pointer;flex:0 0 44px}
.kenoh-share-actions svg{display:block;width:24px;height:24px}
.kenoh-share-actions .kenoh-share-x{color:#111}
.kenoh-share-actions .kenoh-share-facebook{color:#0866ff}
.kenoh-share-actions .kenoh-share-line{color:#06c755}
.kenoh-share-actions a:hover,.kenoh-share-actions button:hover{background:#f3f3ef}
.kenoh-share-actions{max-width:440px}
.kenoh-share-actions [hidden]{display:none}
.kenoh-share-actions :focus-visible{outline:2px solid #2363a0;outline-offset:2px}
.kenoh-copy-status{position:absolute;top:100%;left:0;z-index:2;color:#555;background:#fff;font-size:12px;line-height:1.5;white-space:nowrap}
.kenoh-copy-status:not(:empty){padding:2px 6px;box-shadow:0 1px 4px #0002}

.kenoh-contact-form [hidden]{display:none!important}
.kenoh-contact-summary dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 1.2em}
.kenoh-contact-summary dt{font-weight:bold}
.kenoh-contact-form [aria-busy="true"]{cursor:wait}

/* Preserve the legacy 300x600 unit without widening direct-sale images. */
.kenoh-layout{grid-template-columns:minmax(0,1fr) 324px}
.kenoh-sidebar-network-ads{margin-top:24px}
.kenoh-sidebar-network-ads section{margin:0 auto 24px;text-align:center}
.kenoh-sidebar-network-ads .kenoh-notice{margin:0 0 8px}
.kenoh-sidebar-adsense{width:300px;max-width:100%}
.kenoh-sidebar-adsense-placeholder{width:300px;max-width:100%;height:600px}
.kenoh-sidebar-rakuten{width:200px;max-width:100%}
.kenoh-sidebar-rakuten-placeholder{width:200px;max-width:100%;height:600px}
@media(max-width:900px){
 .kenoh-layout{grid-template-columns:minmax(0,1fr)}
 .kenoh-live-sidebar{display:block;border-left:0;border-top:1px solid #ccc;padding:20px 0}
 .kenoh-side-list{position:relative;width:100%;max-width:100%;margin:0 auto}
 .kenoh-side-creative{width:100%}
 .kenoh-live-sidebar > .kenoh-notice{text-align:center}
}
@media(max-width:340px){.kenoh-shell{padding-left:8px;padding-right:8px}}

/* Compact network ads when the sidebar moves below the articles. */
.kenoh-sidebar-responsive-unit{width:300px;height:600px;max-width:100%}
.kenoh-sidebar-ad-size::after{content:"300 × 600"}
@media(max-width:900px){
 .kenoh-sidebar-network-ads .kenoh-sidebar-rakuten{display:none}
 .kenoh-sidebar-responsive-unit,.kenoh-sidebar-adsense-placeholder{height:250px}
 .kenoh-sidebar-ad-size::after{content:"300 × 250"}
}
@media(max-width:329px){
 .kenoh-sidebar-responsive-unit,.kenoh-sidebar-adsense-placeholder{width:250px}
 .kenoh-sidebar-ad-size::after{content:"250 × 250"}
}

@media(max-width:520px){
 body.single-post .kenoh-header-links{align-items:end}
 body.single-post .kenoh-header-links .kenoh-share-actions{flex-wrap:nowrap;gap:4px}
}
@media(max-width:359px){
 body.single-post .kenoh-header-links .kenoh-share-actions{gap:0}
 body.single-post .kenoh-header-links .kenoh-share-actions :is(a,button){width:40px;flex-basis:40px}
}

/* Mobile home feed adjustments; desktop keeps the original sizing. */
@media(max-width:700px){
 :is(.home,.kenoh-related) .kenoh-story>.wp-block-post-featured-image{width:130px;flex-basis:130px;max-width:44%}
 :is(.home,.kenoh-related) .kenoh-story .wp-block-post-title{font-size:16px;margin:0 0 8px}
 :is(.home,.kenoh-related) .kenoh-story>.wp-block-post-featured-image+.wp-block-group .wp-block-post-title{margin-top:-0.3em}
 :is(.home,.kenoh-related) .kenoh-story .kenoh-meta{margin:0}
 :is(.home,.kenoh-related) .kenoh-story .taxonomy-category{display:none}
 :is(.home,.kenoh-related) .kenoh-feed .wp-block-post{padding-top:10px;padding-bottom:10px}
}

/* Desktop home: halve article padding and the gap below the news rule. */
@media(min-width:701px){
 :is(.home,.kenoh-related) .kenoh-feed .wp-block-post{padding-top:10px;padding-bottom:10px}
 .home .kenoh-heading + .kenoh-feed{margin-block-start:9.6px}
}

/* Give desktop home headlines half a character more room on the right. */
@media(min-width:701px){
 :is(.home,.kenoh-related) .kenoh-story .wp-block-post-title{width:calc(100% + 0.5em);max-width:none;margin-top:0}
}

/* Desktop home photos: 130px × 1.3, retaining their aspect ratio. */
@media(min-width:701px){
 :is(.home,.kenoh-related) .kenoh-story>.wp-block-post-featured-image{width:169px;flex-basis:169px}
}

/* Home masthead logo at 70% of its previous dimensions. */
.home .kenoh-masthead .wp-block-site-title{width:196px}
@media(min-width:901px){.home .kenoh-masthead .wp-block-site-title{flex-basis:196px}}
@media(max-width:700px){.home .kenoh-masthead .wp-block-site-title{width:85.4px;flex-basis:85.4px}}

/* Mobile home: keep the date close to the headline. */
@media(max-width:700px){
 :is(.home,.kenoh-related) .kenoh-story .wp-block-post-title{margin-bottom:0}
 :is(.home,.kenoh-related) .kenoh-story .kenoh-meta{margin-block-start:0;line-height:1.65}
}

/* Match the core featured-image block used by the home feed. */
.kenoh-related .wp-block-post-featured-image a{display:block}
.kenoh-related .wp-block-post-featured-image img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}

/* Keep homepage articles in full-width rows when an ad introduces a float. */
.kenoh-layout > main{min-width:0}
.kenoh-feed .kenoh-home-posts{display:flow-root;min-width:0}
.kenoh-feed .kenoh-home-posts > :is(.wp-block-post,.kenoh-feed-ad,.kenoh-mobile-ad-group){
 display:flow-root;float:none;clear:both;box-sizing:border-box;width:100%;min-width:0;max-width:100%;
}

/* Keep auto ads inserted inside a homepage story below the photo and text. */
.home .kenoh-feed .kenoh-story:has(.google-auto-placed){
 display:grid;grid-template-columns:169px minmax(0,1fr);column-gap:18px;row-gap:0;align-items:start;
}
.home .kenoh-feed .kenoh-story:has(.google-auto-placed) > .wp-block-group{display:contents}
.home .kenoh-feed .kenoh-story:has(.google-auto-placed) > .wp-block-post-featured-image{
 grid-column:1;grid-row:1 / span 2;width:100%;max-width:100%;margin:0;
}
.home .kenoh-feed .kenoh-story:has(.google-auto-placed) > .wp-block-group > .wp-block-post-title{
 grid-column:2;grid-row:1;width:100%;max-width:100%;min-width:0;margin-top:0;
}
.home .kenoh-feed .kenoh-story:has(.google-auto-placed) > .wp-block-group > .kenoh-meta{
 grid-column:2;grid-row:2;min-width:0;margin-top:0;
}
.home .kenoh-feed .kenoh-story:has(.google-auto-placed) > .wp-block-group > .kenoh-meta:has(~ .wp-block-post-title){grid-row:1}
.home .kenoh-feed .kenoh-story:has(.google-auto-placed) > .wp-block-group > .kenoh-meta ~ .wp-block-post-title{grid-row:2}
.home .kenoh-feed .kenoh-story:has(.google-auto-placed) > .google-auto-placed,
.home .kenoh-feed .kenoh-story:has(.google-auto-placed) > .wp-block-group > .google-auto-placed{
 grid-column:1 / -1;grid-row:auto;min-width:0;max-width:100%;
}
@media(max-width:700px){
 .home .kenoh-feed .kenoh-story:has(.google-auto-placed){grid-template-columns:130px minmax(0,1fr);column-gap:12px}
}


/* Year/month article navigation: links remain usable without JavaScript. */
.kenoh-news-archive{max-width:900px;line-height:1.8;overflow-wrap:anywhere}
.kenoh-archive-regions,.kenoh-archive-years{display:flex;flex-wrap:wrap;gap:8px 16px;padding:12px 0;border-bottom:1px solid #ccc;font-size:14px}
.kenoh-archive-years a[aria-current]{font-weight:700;text-decoration-thickness:2px}
.kenoh-archive-year{margin:24px 0}.kenoh-archive-year h2{font-size:20px;margin:0 0 10px}
.kenoh-archive-year h2 span,.kenoh-archive-months span{font-size:13px;font-weight:400;color:#666}
.kenoh-archive-months{display:grid;grid-template-columns:repeat(auto-fit,minmax(126px,1fr));gap:6px 12px;list-style:none;padding:0;margin:12px 0}
.kenoh-archive-months a{display:block;padding:6px 0}
.kenoh-archive-articles{list-style:none;padding:0;margin:16px 0}.kenoh-archive-articles li{padding:12px 0;border-bottom:1px solid #ddd}.kenoh-archive-articles time{display:block;font-size:13px;color:#666}
.kenoh-archive-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin:24px 0;font-size:14px}

/* Reserve the existing 3:2 thumbnail frame before its image finishes loading. */
:is(.home,.kenoh-related) .kenoh-story>.wp-block-post-featured-image{aspect-ratio:3/2}
:is(.home,.kenoh-related) .kenoh-story>.wp-block-post-featured-image a{display:block;height:100%}
:is(.home,.kenoh-related) .kenoh-story>.wp-block-post-featured-image img{display:block;width:100%;height:100%;object-fit:cover}

/* Reserve owned ad placements before async ads and the banner shuffle load. */
.kenoh-feed-ad > .adsbygoogle{min-height:280px}
.home .kenoh-feed .kenoh-home-posts > .kenoh-mobile-ad-group{display:none}
:is(.kenoh-article-top-ad,.kenoh-article-ad,.kenoh-article-bottom-ad){min-height:308px}
ins.adsbygoogle[data-ad-slot="3546338975"]{min-height:280px}
.kenoh-sidebar-rakuten{min-height:628px}
@media(max-width:900px){
 .home .kenoh-feed .kenoh-home-posts > .kenoh-mobile-ad-group{display:flow-root}
 .kenoh-mobile-ad-pair{min-height:calc((100vw - 40px) / 4)}
}
@media(max-width:700px){
 .kenoh-feed-ad > .adsbygoogle{min-height:100px}
 :is(.kenoh-article-top-ad,.kenoh-article-ad,.kenoh-article-bottom-ad){min-height:calc(100vw + 28px)}
 ins.adsbygoogle[data-ad-slot="3546338975"]{min-height:100vw}
}
