/* PCsonota unified layout repair, scoped over the existing KIZANOTO stylesheet. */
.brand-name small,.archive-notice,.archive-legacy-note,.article-type{display:none!important}
/* Four-column homepage: one 2x2 feature plus four small cards, then two complete rows of four. */
@media(min-width:1001px){
 body[data-page="home"] .feed-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(275px,auto))!important;grid-auto-rows:minmax(174px,auto)!important;gap:12px!important;align-items:stretch!important}
 body[data-page="home"] .feed-card{min-height:0!important;height:100%!important;min-width:0!important;overflow:hidden}
 body[data-page="home"] .feed-card--featured{grid-column:span 2!important;grid-row:span 2!important}
 body[data-page="home"] .feed-card:nth-child(n+2):nth-child(-n+5) .feed-card__link{display:flex!important;flex-direction:column!important;min-height:0!important;height:100%!important;padding:0!important;gap:0!important}
 body[data-page="home"] .feed-card:nth-child(n+2):nth-child(-n+5) .feed-card__thumb{width:100%!important;aspect-ratio:16/9!important;height:auto!important;max-height:145px!important;flex:none!important;float:none!important;overflow:hidden!important;margin:0!important}
 body[data-page="home"] .feed-card:nth-child(n+2):nth-child(-n+5) .feed-card__thumb .story-art{height:100%!important}
 body[data-page="home"] .feed-card:nth-child(n+2):nth-child(-n+5) .feed-card__body{display:flex!important;flex-direction:column!important;min-width:0!important;width:100%!important;padding:9px 10px 10px!important;flex:1!important}
 body[data-page="home"] .feed-card:nth-child(n+2):nth-child(-n+5) h3{font-size:13px!important;line-height:1.45!important;-webkit-line-clamp:3!important;margin:5px 0 0!important;min-width:0!important;overflow:hidden!important}
 body[data-page="home"] .feed-card:nth-child(n+2):nth-child(-n+5) p{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;white-space:normal!important;line-height:1.5!important;max-height:3em!important;margin:4px 0 0!important;overflow:hidden!important}
 body[data-page="home"] .feed-card:nth-child(n+6) .feed-card__link{height:100%!important;display:grid!important;grid-template-columns:104px minmax(0,1fr)!important;gap:10px!important;align-items:start!important;padding:11px!important;min-height:0!important}
 body[data-page="home"] .feed-card:nth-child(n+6) .feed-card__thumb{height:80px!important;width:104px!important;aspect-ratio:16/9!important;flex:none!important;float:none!important;margin:0!important}
 body[data-page="home"] .feed-card:nth-child(n+6) .feed-card__body{min-width:0!important;width:100%!important;padding:0!important}
 body[data-page="home"] .feed-card:nth-child(n+6) h3{font-size:13px!important;line-height:1.45!important;-webkit-line-clamp:3!important;display:-webkit-box!important;overflow:hidden!important;margin:4px 0!important}
 body[data-page="home"] .feed-card:nth-child(n+6) p{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;white-space:normal!important;overflow:hidden!important;line-height:1.4!important;font-size:11px!important;margin:4px 0 0!important}
 body[data-page="home"] .feed-card:nth-child(n+6) .feed-card__tags{display:none!important}
}
/* All category and archive lists use predictable equal-width, horizontal cards. */
body[data-page="category"] .feed-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:auto!important;gap:12px!important;align-items:stretch!important}
body[data-page="category"] .feed-grid>.feed-card{width:100%!important;min-height:148px!important;height:100%!important;grid-column:auto!important;grid-row:auto!important;border:1px solid #e0e6eb!important;overflow:hidden!important}
body[data-page="category"] .feed-grid>.feed-card .feed-card__link{display:grid!important;grid-template-columns:126px minmax(0,1fr)!important;gap:12px!important;padding:12px!important;min-height:148px!important;height:100%!important;align-items:start!important}
body[data-page="category"] .feed-grid>.feed-card .feed-card__thumb{display:block!important;width:126px!important;max-width:100%!important;height:95px!important;aspect-ratio:4/3!important;float:none!important;margin:0!important;overflow:hidden!important}
body[data-page="category"] .feed-grid>.feed-card .feed-card__body{display:block!important;min-width:0!important;padding:0!important;margin:0!important;width:100%!important}
body[data-page="category"] .feed-grid>.feed-card h3{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;white-space:normal!important;overflow:hidden!important;margin:6px 0 4px!important;font-size:14px!important;line-height:1.45!important}
body[data-page="category"] .feed-grid>.feed-card p{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;white-space:normal!important;overflow:hidden!important;margin:3px 0!important;font-size:11px!important;line-height:1.45!important}
body[data-page="category"] .feed-grid>.feed-card .feed-card__tags{display:none!important}
/* Article body should align with the article header and hero (left, not centered). */
body[data-page="article"] .article-layout .article-head{max-width:800px!important;margin-left:0!important;margin-right:0!important}
body[data-page="article"] .article-layout .article-banner{width:min(100%,800px)!important;max-width:800px!important;margin-left:0!important;margin-right:0!important}
body[data-page="article"] .article-layout .article-columns{display:block!important;width:min(100%,800px)!important;max-width:800px!important;margin-left:0!important;margin-right:0!important}
body[data-page="article"] .article-layout .article-columns>.article-body{min-width:0!important;width:100%!important;max-width:800px!important;margin:0 0 60px 0!important}
body[data-page="article"] .article-body .entry-content{max-width:100%!important;overflow-wrap:anywhere!important}
body[data-page="article"] .article-body .entry-content img{height:auto!important;max-width:100%!important}
body[data-page="article"] .article-body .entry-content iframe{max-width:100%!important}
/* Search results: image + article information; original JS fills text. */
body[data-page="search"] .search-results .search-result{display:grid!important;grid-template-columns:140px minmax(0,1fr)!important;gap:15px!important;align-items:start!important}
body[data-page="search"] .search-result__thumb{position:relative;display:block;width:100%;aspect-ratio:16/9;overflow:hidden;border-radius:5px;background:#e5e8eb}
body[data-page="search"] .search-result__thumb img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover}
body[data-page="search"] .search-result__content{display:block;min-width:0}
body[data-page="search"] .search-result__content h3{overflow-wrap:anywhere}
/* Shared card typography and mobile layout */
.feed-card,.feed-card__link,.feed-card__body,.feed-card h3,.feed-card p{min-width:0;overflow-wrap:anywhere}
.feed-card__meta{min-width:0;gap:5px!important}
@media(max-width:1000px) and (min-width:761px){body[data-page="home"] .feed-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:auto!important}body[data-page="home"] .feed-card--featured{grid-column:span 2!important;grid-row:auto!important}}
@media(max-width:760px){body[data-page="category"] .feed-grid{grid-template-columns:1fr!important}body[data-page="home"] .feed-grid{grid-template-columns:1fr!important;grid-template-rows:none!important;grid-auto-rows:auto!important}body[data-page="home"] .feed-card--featured{grid-column:auto!important;grid-row:auto!important}body[data-page="search"] .search-results .search-result{grid-template-columns:100px minmax(0,1fr)!important;gap:10px!important}}
@media(max-width:390px){body[data-page="category"] .feed-grid>.feed-card .feed-card__link{grid-template-columns:100px minmax(0,1fr)!important;gap:9px!important}body[data-page="category"] .feed-grid>.feed-card .feed-card__thumb{width:100px!important;height:78px!important}body[data-page="search"] .search-results .search-result{grid-template-columns:84px minmax(0,1fr)!important}}

/* Historical comments, static display only. */
.pc-archive-comments { margin:3rem 0 0; max-width:100%; border-top:1px solid rgba(120,120,120,.25); padding-top:1.5rem; }
.pc-archive-comments h2 { margin:0 0 1.5rem; font-size:1.35rem; }
.pc-archive-comment-list { list-style:none; margin:0; padding:0; }
.pc-archive-comment { padding:1rem 0; border-bottom:1px solid rgba(120,120,120,.18); overflow-wrap:anywhere; }
.pc-archive-comment[data-parent] { margin-left:min(5vw,2rem); padding-left:1rem; border-left:2px solid rgba(120,120,120,.18); }
.pc-archive-comment-meta { display:flex; gap:.25rem 1rem; flex-wrap:wrap; align-items:center; font-size:.86rem; opacity:.9; }
.pc-archive-comment-meta time { font-size:.8rem; opacity:.7; }
.pc-archive-comment-body { line-height:1.75; margin-top:.5rem; }
.pc-archive-comment-body p { margin:.5rem 0; }
@media (max-width:600px) { .pc-archive-comment[data-parent] {margin-left:.5rem;padding-left:.6rem;} }
