/* The STORK19 article template supplies the content, navigation and widgets. */
body.single-post {
    --kbm-paper: #fffcf6;
    --kbm-ivory: #f7f6f1;
    --kbm-forest: #193027;
    --kbm-ink: #21372d;
    --kbm-sage: #e8ede6;
    --kbm-copper: #ab9472;
    --kbm-line: #d8ded4;
    --kbm-serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", "Noto Serif CJK JP", serif;
    --kbm-sans: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
    color: var(--kbm-ink);
    font-family: var(--kbm-sans);
}
body.single-post #content { background: var(--kbm-ivory); }
body.single-post #header.stk_header,
body.single-post #footer { background-color: var(--kbm-forest); color: var(--kbm-paper); }
body.single-post #header.stk_header a,
body.single-post #footer a { color: var(--kbm-paper); }
body.single-post #main > article { background: var(--kbm-paper); border-color: var(--kbm-line); }
body.single-post #main .article-header { padding-block: clamp(1.25rem, 3vw, 3rem); }
body.single-post #main .entry-title {
    color: var(--kbm-ink);
    font-family: var(--kbm-serif);
    font-size: clamp(1.8rem, 4vw, 3.05rem);
    font-weight: 500;
    letter-spacing: .045em;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
body.single-post #main .entry-meta { color: #516b5b; }
body.single-post #main .entry-content { color: var(--kbm-ink); font-size: clamp(1rem, 1.15vw, 1.1rem); line-height: 1.95; overflow-wrap: anywhere; }
body.single-post #main .entry-content :is(h2, h3, h4):is(:not([class]), .wp-block-heading) {
    font-family: var(--kbm-serif);
    color: var(--kbm-forest);
    font-weight: 500;
    line-height: 1.55;
}
body.single-post #main .entry-content h2:is(:not([class]), .wp-block-heading) { background: var(--kbm-sage); border-color: var(--kbm-copper); }
body.single-post #main .entry-content h3:is(:not([class]), .wp-block-heading) { border-color: var(--kbm-copper); }
body.single-post #main .entry-content :is(img, video) { max-width: 100%; height: auto; }
body.single-post #main .entry-content blockquote { background-color: var(--kbm-sage); border-color: var(--kbm-copper); }
body.single-post #main .entry-content p > a:not([class]) { color: #345e48; text-decoration: underline; text-underline-offset: .2em; }

/* Match the live site's existing logo against the new palette. */
body.single-post #header.stk_header { background-color: var(--kbm-ivory) !important; }
body.single-post #header.stk_header a { color: var(--kbm-ink) !important; }
body.single-post #footer { background-color: var(--kbm-forest) !important; color: var(--kbm-paper) !important; }
body.single-post #footer a { color: var(--kbm-paper) !important; }
