.kh-page { --kh-ink:#14233f; --kh-muted:#596576; --kh-line:#dce1e6; --kh-yellow:#ffd84d; max-width:1160px; margin:auto; padding:24px 28px 64px; color:var(--kh-ink); font-family:"Hiragino Sans","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif; letter-spacing:0; }
body:has(.kh-page) { background:#fff; }
.kh-page a { text-underline-offset:5px; }
.kh-page a:hover { text-decoration:underline; }
.kh-page :is(a,button,input,summary):focus-visible { outline:3px solid #2563eb; outline-offset:4px; }
.kh-page :is(h1,h2,h3) { font-weight:700; letter-spacing:0; }
.kh-page p { line-height:1.85; }
.kh-page h2 { font-size:23px; line-height:1.5; }
.kh-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.kh-preview-note { padding:7px 24px; text-align:center; font-size:11px; color:#536074; background:#f2f4f6; border-bottom:1px solid #e4e8ec; }
.kh-preview-note span { margin-left:14px; }
.kh-breadcrumb { display:flex; gap:10px; color:var(--kh-muted); font-size:12px; margin-bottom:22px; }
.kh-header { display:flex; align-items:center; justify-content:space-between; gap:32px; padding-bottom:28px; }
.kh-header h1 { font-size:38px; line-height:1.5; display:flex; align-items:center; gap:12px; }
.kh-title-dot { width:13px; height:13px; border-radius:50%; background:var(--kh-yellow); }
.kh-header p { font-size:14px; margin-top:4px; color:var(--kh-muted); }
.kh-search { width:310px; flex-shrink:0; }
.kh-search-scope { display:block; margin-bottom:7px; font-size:13px; color:var(--kh-muted); }
.kh-search-field { display:flex; align-items:center; gap:10px; padding:5px 5px 5px 14px; border:1px solid #bfc7cf; border-radius:5px; }
.kh-search input { min-width:0; width:100%; background:transparent; font-size:14px; padding:8px 0; border:0; }
.kh-search input::placeholder { color:#626e7d; }
.kh-search button { flex-shrink:0; padding:9px 14px; background:var(--kh-yellow); color:var(--kh-ink); font-size:13px; font-weight:700; border-radius:3px; }
.kh-topics { display:flex; align-items:stretch; gap:30px; border-top:1px solid var(--kh-line); border-bottom:1px solid var(--kh-line); margin-bottom:30px; }
.kh-topics a { display:flex; align-items:center; gap:8px; min-height:54px; padding:0 2px; font-size:14px; white-space:nowrap; border-bottom:3px solid transparent; }
.kh-topics a[aria-current] { border-color:var(--kh-yellow); font-weight:700; }
.kh-topics .kh-topic-region { margin-left:auto; color:var(--kh-muted); font-size:13px; }
.kh-opening { display:grid; grid-template-columns:minmax(0,1.62fr) minmax(0,1fr); gap:38px; padding-bottom:38px; border-bottom:1px solid var(--kh-line); }
.kh-feature-image { display:block; overflow:hidden; background:#f3f1eb; }
.kh-feature-image:empty { display:none; }
.kh-feature-image img { width:100%; aspect-ratio:1.8; height:auto; object-fit:cover; }
.kh-feature-copy { padding:20px 0 0; }
.kh-card-meta { display:flex; flex-wrap:wrap; gap:14px; font-size:11px; color:var(--kh-muted); margin-bottom:9px; }
.kh-card-meta span:first-child { color:#47586d; font-weight:700; }
.kh-feature h2 { font-size:28px; line-height:1.55; }
.kh-feature-copy > p { margin-top:12px; font-size:13px; color:var(--kh-muted); }
.kh-text-link { display:inline-flex; gap:20px; align-items:center; font-size:13px; font-weight:700; min-height:42px; }
.kh-feature .kh-text-link { margin-top:8px; }
.kh-side { display:flex; flex-direction:column; }
.kh-side > h2 { font-size:17px; padding-bottom:13px; border-bottom:2px solid var(--kh-ink); }
.kh-side-stories li { border-bottom:1px solid var(--kh-line); padding:18px 0; }
.kh-side-stories h3 { font-size:18px; line-height:1.65; }
.kh-side-stories p { color:var(--kh-muted); font-size:12px; margin-top:7px; }
.kh-side-intro { margin:24px 0; font-size:15px; }
.kh-editor-mini { display:flex; align-items:center; gap:13px; padding:19px 0 0; margin-top:auto; }
.kh-editor-mini img { width:50px; height:50px; border-radius:50%; object-fit:cover; object-position:50% 28%; }
.kh-editor-mini strong { display:block; font-size:15px; margin-top:3px; }
.kh-mini-label { color:var(--kh-muted); font-size:11px; }
.kh-mini-arrow { margin-left:auto; font-size:18px; }
.kh-section-heading { display:flex; align-items:baseline; justify-content:space-between; gap:20px; margin-bottom:23px; }
.kh-section-description { color:var(--kh-muted); font-size:12px; }
.kh-reading { padding:37px 0 0; }
.kh-reading-layout { display:grid; grid-template-columns:minmax(0,1.62fr) minmax(0,1fr); gap:38px; }
.kh-reading-stories { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px; }
.kh-reading-stories h3 { font-size:19px; line-height:1.65; }
.kh-reading-stories p { margin-top:10px; font-size:13px; color:var(--kh-muted); }
.kh-quick-links { display:flex; flex-wrap:wrap; gap:7px 22px; padding-top:17px; margin-top:12px; border-top:1px solid var(--kh-line); }
.kh-quick-links a { font-size:12px; min-height:38px; display:flex; align-items:center; gap:9px; }
.kh-local-guide { background:#f6f5f0; padding:27px 26px 22px; }
.kh-local-guide h3 { font-size:21px; line-height:1.65; }
.kh-local-guide p { font-size:13px; margin-top:12px; color:var(--kh-muted); }
.kh-yellow-link { background:var(--kh-yellow); color:var(--kh-ink); display:flex; justify-content:space-between; align-items:center; gap:10px; padding:13px 15px; margin-top:23px; font-size:13px; font-weight:700; border-radius:4px; }
.kh-yellow-link:hover,.kh-search button:hover { background:#f2c63b; }
.kh-guide-note { display:block; color:var(--kh-muted); font-size:11px; text-align:center; margin-top:9px; }
.kh-directory { padding:32px 0; border-block:1px solid var(--kh-line); margin-top:40px; display:grid; grid-template-columns:1fr 1fr; gap:35px; }
.kh-directory h2 { font-size:20px; }
.kh-directory p { font-size:12px; color:var(--kh-muted); margin-top:7px; }
.kh-directory ul { display:grid; grid-template-columns:repeat(3,1fr); gap:8px 20px; }
.kh-directory a { min-height:42px; display:flex; justify-content:space-between; align-items:center; font-size:13px; }
.kh-directory h2,.km-editor { scroll-margin-top:80px; }
.km-editor { display:flex; gap:27px; margin:40px 0 24px; padding:0; color:#14233f; }
.km-editor > img { width:112px; height:132px; object-fit:cover; object-position:50% 35%; flex-shrink:0; }
.km-editor h2 { font-size:13px; font-weight:500; margin:0 0 7px; }
.km-editor .km-editor-name { font-size:21px; font-weight:700; line-height:1.5; }
.km-editor .km-editor-role { font-size:12px; line-height:1.7; margin-top:4px; }
.km-editor .km-editor-bio { font-size:13px; line-height:1.8; max-width:56em; margin-top:11px; }
.km-editor a { display:inline-flex; padding:8px 0; min-height:36px; align-items:center; gap:10px; font-size:12px; text-decoration:underline; text-underline-offset:4px; }
.kh-policy { border-block:1px solid var(--kh-line); }
.kh-policy summary { padding:18px 0; font-size:13px; cursor:pointer; }
.kh-policy > div { padding-bottom:18px; max-width:700px; }
.kh-policy p { font-size:13px; color:var(--kh-muted); margin-bottom:8px; }
.kh-results,.kh-recent { padding:10px 0 20px; }
.kh-recent { margin-top:35px; }
.kh-result-count { font-size:13px; color:var(--kh-muted); padding-bottom:14px; }
.kh-article-list { border-top:1px solid var(--kh-line); }
.kh-article-row { padding:23px 0; border-bottom:1px solid var(--kh-line); }
.kh-article-row h3 { font-size:19px; line-height:1.65; }
.kh-article-row p { font-size:14px; color:var(--kh-muted); max-width:60em; margin-top:7px; }
.kh-empty { padding:20px 0 35px; }
.kh-empty p + p { font-size:14px; color:var(--kh-muted); margin-top:12px; }
@media(min-width:641px) { html:has(.kh-page) { scroll-behavior:smooth; } }
@media(max-width:950px) { .kh-topics { gap:22px; } .kh-topics .kh-topic-region { display:none; } .kh-opening,.kh-reading-layout { gap:28px; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); } .kh-feature h2 { font-size:25px; } .kh-feature-image img { aspect-ratio:1.5; } }
@media(max-width:640px) {
 .kh-page { padding:18px 20px 40px; }
 .kh-preview-note { padding:6px 12px; font-size:10px; }
 .kh-preview-note span { margin-left:7px; }
 .kh-breadcrumb { margin-bottom:15px; font-size:11px; }
 .kh-header { display:block; padding-bottom:19px; }
 .kh-header h1 { font-size:31px; gap:9px; }
 .kh-title-dot { width:10px; height:10px; }
 .kh-header p { font-size:12px; margin-top:5px; }
 .kh-search { width:100%; margin-top:19px; }
 .kh-search input { font-size:16px; }
 .kh-search input::placeholder { font-size:13px; }
 .kh-topics { display:grid; grid-template-columns:repeat(3,1fr); gap:0 10px; margin-bottom:23px; }
 .kh-topics a { justify-content:center; min-height:44px; font-size:12px; }
 .kh-opening,.kh-reading-layout { grid-template-columns:minmax(0,1fr); gap:30px; }
 .kh-feature-image img { aspect-ratio:1.65; }
 .kh-feature-copy { padding-top:15px; }
 .kh-feature h2 { font-size:24px; line-height:1.6; }
 .kh-feature-copy > p { font-size:13px; }
 .kh-side-stories li { padding:18px 0; }
 .kh-side-stories h3 { font-size:18px; }
 .kh-side-stories p { font-size:13px; }
 .kh-side > h2 { font-size:18px; }
 .kh-editor-mini { margin-top:0; }
 .kh-section-heading { display:block; margin-bottom:24px; }
 .kh-section-heading h2 { font-size:22px; }
 .kh-section-description { display:block; margin-top:5px; }
 .kh-reading-stories { grid-template-columns:1fr; gap:21px; }
 .kh-reading-stories li + li { border-top:1px solid var(--kh-line); padding-top:20px; }
 .kh-reading-stories h3 { font-size:19px; }
 .kh-quick-links { gap:2px 16px; }
 .kh-directory { grid-template-columns:1fr; gap:20px; margin-top:30px; padding:28px 0; }
 .kh-directory ul { gap:6px 17px; }
 .km-editor { gap:17px; margin-top:30px; align-items:flex-start; }
 .km-editor > img { width:72px; height:92px; }
 .km-editor .km-editor-name { font-size:20px; }
 .km-editor .km-editor-role { font-size:11px; }
 .km-editor .km-editor-bio { font-size:12px; }
}
@media(prefers-reduced-motion:reduce) { html:has(.kh-page) { scroll-behavior:auto; } }

.kh-intents { display:flex; flex-wrap:wrap; align-items:center; gap:8px 24px; margin:-12px 0 25px; font-size:12px; }
.kh-intents > span { color:var(--kh-muted); }
.kh-intents a { display:inline-flex; align-items:center; min-height:36px; font-weight:600; }
@media(max-width:640px) { .kh-intents { gap:0 16px; margin:-8px 0 18px; } .kh-intents > span { width:100%; font-size:11px; } }

.kh-recovery { display:flex; flex-wrap:wrap; gap:12px 24px; margin-top:18px; }
.kh-recovery a { display:inline-flex; align-items:center; min-height:44px; font-size:14px; text-decoration:underline; }
.kh-filter-actions { display:flex; flex-wrap:wrap; gap:8px 24px; margin:-8px 0 12px; }
.kh-filter-actions a { display:inline-flex; align-items:center; min-height:44px; font-size:13px; text-decoration:underline; }
.kh-filter-actions:empty { display:none; }
.kh-pagination { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:12px 24px; margin-top:28px; font-size:14px; }
.kh-pagination a { display:inline-flex; align-items:center; min-height:44px; padding:8px 12px; border:1px solid var(--kh-line); border-radius:4px; }
.kh-pagination span { color:var(--kh-muted); }

/* First-pass reader review: give the headline priority on small screens. */
.kh-side-stories p,.kh-reading-stories p { font-size:14px; }
.kh-side-stories h3 a,.kh-reading-stories h3 a { display:block; min-height:44px; }
@media(max-width:640px) {
 .kh-feature { display:flex; flex-direction:column; }
 .kh-feature-copy { order:-1; padding-top:0; padding-bottom:15px; }
 .kh-feature h2 { font-size:23px; }
 .kh-feature-image img { aspect-ratio:1.9; }
 .kh-feature .kh-text-link { display:none; }
 .kh-feature-copy > p { font-size:14px; }
 .kh-intents a { min-height:44px; }
}

/* Thumbnails separate subjects at a glance; tags navigate the same search index. */
.kh-thumbnail { align-self:start; display:block; overflow:hidden; background:#f3f1eb; }
.kh-thumbnail img { display:block; width:100%; height:auto; aspect-ratio:1.5; object-fit:cover; }
.kh-side-stories article { display:grid; grid-template-columns:100px minmax(0,1fr); gap:16px; }
.kh-side-stories article:not(:has(.kh-thumbnail)) { display:block; }
.kh-side-stories h3 { font-size:17px; line-height:1.6; }
.kh-side-stories p { font-size:12px; line-height:1.75; }
.kh-side-stories .kh-card-meta { gap:8px; }
.kh-reading-stories .kh-thumbnail { margin-bottom:16px; }
.kh-tags { display:flex; flex-wrap:wrap; gap:4px 14px; margin-top:9px; }
.kh-tags a { display:inline-flex; align-items:center; min-height:36px; font-size:12px; color:#526078; text-decoration:underline; text-decoration-color:#ccd2da; text-underline-offset:4px; }
.kh-article-row:has(.kh-thumbnail) { display:grid; grid-template-columns:180px minmax(0,1fr); gap:24px; }
.kh-local-guide { align-self:start; }
@media(max-width:950px) and (min-width:641px) { .kh-side-stories article { grid-template-columns:76px minmax(0,1fr); gap:12px; } }
@media(max-width:640px) {
 .kh-side-stories article { grid-template-columns:92px minmax(0,1fr); gap:14px; }
 .kh-side-stories p { font-size:13px; }
 .kh-reading-stories .kh-thumbnail img { aspect-ratio:1.9; }
 .kh-article-row:has(.kh-thumbnail) { grid-template-columns:84px minmax(0,1fr); gap:14px; }
 .kh-article-row h3 { font-size:17px; }
 .kh-article-row p { font-size:13px; }
 .kh-tags a { min-height:40px; }
}
