/* KMP Site Design 0.2.5: single standard blog posts only. */
body.kmp-blog-editorial,
body.kmp-blog-editorial #page,
body.kmp-blog-editorial .site,
body.kmp-blog-editorial #content,
body.kmp-blog-editorial .site-content,
body.kmp-blog-editorial .site-inner,
body.kmp-blog-editorial .content-wrapper,
body.kmp-blog-editorial .site-main,
body.kmp-blog-editorial main { background-color:#111015; color:#e0dce6; }
/* Hide the article sidebar, not footer widget columns or site navigation. */
body.kmp-blog-editorial #secondary,
body.kmp-blog-editorial aside#secondary,
body.kmp-blog-editorial .site-content > .widget-area,
body.kmp-blog-editorial .content-area > .widget-area,
body.kmp-blog-editorial .site-main > .widget-area,
body.kmp-blog-editorial .sidebar:not(.footer-sidebar):not(.footer-widgets),
body.kmp-blog-editorial .widget-area:not(.footer-widget-area):not(.footer-widgets):not(.site-footer .widget-area) { display:none !important; }
/* Widen and center the editorial column. */
body.kmp-blog-editorial #primary,
body.kmp-blog-editorial .content-area,
body.kmp-blog-editorial .site-main,
body.kmp-blog-editorial .main-content { width:100% !important; max-width:1000px !important; float:none !important; margin-inline:auto !important; box-sizing:border-box; }
body.kmp-blog-editorial article,
body.kmp-blog-editorial .hentry,
body.kmp-blog-editorial .entry-header,
body.kmp-blog-editorial .entry-content,
body.kmp-blog-editorial .post-content,
body.kmp-blog-editorial .entry-footer { background:transparent; color:#e0dce6; }
body.kmp-blog-editorial .entry-content,
body.kmp-blog-editorial .post-content { font-size:18px; line-height:1.7; overflow-wrap:break-word; }
body.kmp-blog-editorial .entry-content p,
body.kmp-blog-editorial .post-content p,
body.kmp-blog-editorial .entry-content li { color:#e0dce6; font-size:inherit; line-height:inherit; }
body.kmp-blog-editorial .entry-content p { margin-block:0 1.35em; }
body.kmp-blog-editorial .entry-title,
body.kmp-blog-editorial .entry-title a,
body.kmp-blog-editorial .entry-content :is(h1,h2,h3,h4,h5,h6),
body.kmp-blog-editorial .post-content :is(h1,h2,h3,h4,h5,h6) { color:#fff; line-height:1.3; }
body.kmp-blog-editorial .entry-title { font-size:clamp(28px,3.2vw,42px); }
body.kmp-blog-editorial .entry-content h2 { font-size:clamp(25px,2.6vw,34px); margin-block:1.4em .65em; }
body.kmp-blog-editorial .entry-content h3 { font-size:clamp(21px,2.1vw,27px); margin-block:1.3em .55em; }
body.kmp-blog-editorial .entry-content :is(a:not(.button):not(.wp-block-button__link)),
body.kmp-blog-editorial .post-content a { color:#c5a4f5; text-underline-offset:.16em; }
body.kmp-blog-editorial .entry-content a:hover,
body.kmp-blog-editorial .post-content a:hover { color:#e2cfff; }
body.kmp-blog-editorial .entry-content img,
body.kmp-blog-editorial .post-content img { max-width:100%; height:auto; }
body.kmp-blog-editorial .entry-content :is(figcaption,.wp-caption-text),
body.kmp-blog-editorial .post-content .wp-caption-text { font-size:14px; line-height:1.5; color:#ada5b7; }
body.kmp-blog-editorial .entry-content blockquote { margin:1.8em 0; padding:18px 24px; border-left:3px solid #8958ce; background:#211c29; color:#e0dce6; }
body.kmp-blog-editorial .entry-content :is(ul,ol) { padding-inline-start:1.5em; margin-block:0 1.4em; }
body.kmp-blog-editorial .entry-content :is(hr) { border:0; border-top:1px solid #393342; margin-block:2em; }
body.kmp-blog-editorial .entry-content :is(table) { width:100%; border-collapse:collapse; }
body.kmp-blog-editorial .entry-content :is(th,td) { border:1px solid #51445f; padding:10px 12px; }
body.kmp-blog-editorial .entry-meta,
body.kmp-blog-editorial .entry-footer,
body.kmp-blog-editorial .post-navigation,
body.kmp-blog-editorial .navigation.post-navigation { color:#b8afc4; }
body.kmp-blog-editorial :is(.post-navigation,.navigation.post-navigation,.related-posts) a { color:#c5a4f5; }
/* Standard WP comment form; keep form and plugin functionality intact. */
body.kmp-blog-editorial :is(#comments,.comments-area) { color:#e0dce6; }
body.kmp-blog-editorial :is(#comments,.comments-area) :is(h2,h3,label) { color:#fff; }
body.kmp-blog-editorial :is(#comments,.comments-area) :is(textarea,input[type=text],input[type=email],input[type=url]) { background:#2d2735; border:1px solid #574b62; border-radius:6px; color:#fff; font-size:16px; padding:12px; max-width:100%; box-sizing:border-box; }
body.kmp-blog-editorial :is(#comments,.comments-area) :is(textarea,input):focus { outline:2px solid #8958ce; outline-offset:2px; }
body.kmp-blog-editorial :is(#comments,.comments-area) :is(input[type=submit],button[type=submit]) { background:#7545b8; color:#fff; border:0; border-radius:6px; padding:12px 20px; }
@media (max-width:767px) {
 body.kmp-blog-editorial #primary,
 body.kmp-blog-editorial .content-area { padding-inline:16px; }
 body.kmp-blog-editorial .entry-content,
 body.kmp-blog-editorial .post-content { font-size:16px; line-height:1.65; }
 body.kmp-blog-editorial .entry-content blockquote { padding:14px 17px; }
}

/* 0.2.6: editorial readability and photographic presentation. */
body.kmp-blog-editorial #primary,
body.kmp-blog-editorial .content-area,
body.kmp-blog-editorial .site-main { max-width:1000px !important; width:100% !important; }
body.kmp-blog-editorial article .entry-content,
body.kmp-blog-editorial article .post-content,
body.kmp-blog-editorial article .entry-content p,
body.kmp-blog-editorial article .entry-content li { font-size:18px; line-height:1.75; }
body.kmp-blog-editorial article .entry-content { max-width:100%; }
body.kmp-blog-editorial article .entry-header { margin-bottom:24px; }
body.kmp-blog-editorial article .entry-title { font-size:clamp(30px,3.5vw,44px); line-height:1.2; letter-spacing:-.015em; }
/* Hero images: generous height without cropping inline editorial photos. */
body.kmp-blog-editorial .page-header,
body.kmp-blog-editorial .entry-hero,
body.kmp-blog-editorial .post-hero { background-position:center; background-size:cover; }
body.kmp-blog-editorial article > .post-thumbnail img,
body.kmp-blog-editorial article > .entry-thumbnail img,
body.kmp-blog-editorial article > .featured-image img { display:block; width:100%; max-height:580px; object-fit:cover; object-position:center; }
/* Editorial figures and galleries retain natural image ratios. */
body.kmp-blog-editorial .entry-content figure { margin-block:1.6em; }
body.kmp-blog-editorial .entry-content :is(.gallery,.wp-block-gallery) { margin-block:2em; }
body.kmp-blog-editorial .entry-content :is(.gallery,.wp-block-gallery) img { display:block; max-width:100%; height:auto; }
body.kmp-blog-editorial .entry-content :is(figcaption,.wp-caption-text) { font-size:15px; line-height:1.55; }
/* Metadata, tags and post navigation. */
body.kmp-blog-editorial article :is(.entry-meta,.post-meta,.entry-footer,.tags-links,.cat-links) { font-size:14px; line-height:1.65; color:#c2b9cb; }
body.kmp-blog-editorial article :is(.entry-meta,.post-meta,.entry-footer,.tags-links,.cat-links) a { color:#c9a7f4; }
body.kmp-blog-editorial :is(.post-navigation,.navigation.post-navigation) { border-block:1px solid #403749; padding-block:20px; margin-block:36px; }
body.kmp-blog-editorial :is(.post-navigation,.navigation.post-navigation) a { font-size:16px; line-height:1.5; }
/* Related cards: readable headings and dates without changing the theme's grid. */
body.kmp-blog-editorial :is(.related-posts,.related-post,.related-articles,.yarpp-related) :is(h2,h3,h4) { color:#f6f0fa; font-size:19px; line-height:1.4; }
body.kmp-blog-editorial :is(.related-posts,.related-post,.related-articles,.yarpp-related) a { color:#e2c5ff; font-size:16px; line-height:1.5; }
body.kmp-blog-editorial :is(.related-posts,.related-post,.related-articles,.yarpp-related) :is(time,.post-date,.entry-date,.meta) { color:#b9aec5; font-size:13px; }
body.kmp-blog-editorial :is(.related-posts,.related-post,.related-articles,.yarpp-related) img { width:100%; height:auto; }
/* Comments: increase labels, explanatory text and button legibility. */
body.kmp-blog-editorial :is(#comments,.comments-area) { font-size:16px; line-height:1.65; margin-top:42px; }
body.kmp-blog-editorial :is(#comments,.comments-area) :is(label,.comment-notes,.logged-in-as,.comment-form p) { font-size:16px; line-height:1.6; color:#ded6e6; }
body.kmp-blog-editorial :is(#comments,.comments-area) textarea { min-height:160px; width:100%; }
body.kmp-blog-editorial :is(#comments,.comments-area) :is(input[type=submit],button[type=submit]) { font-size:15px; font-weight:700; line-height:1.3; padding:14px 24px; cursor:pointer; }
body.kmp-blog-editorial :is(#comments,.comments-area) :is(input[type=submit],button[type=submit]):hover { background:#9461d1; }
@media(max-width:767px) {
 body.kmp-blog-editorial article .entry-content,
 body.kmp-blog-editorial article .post-content,
 body.kmp-blog-editorial article .entry-content p,
 body.kmp-blog-editorial article .entry-content li { font-size:16px; line-height:1.7; }
 body.kmp-blog-editorial article > .post-thumbnail img,
 body.kmp-blog-editorial article > .entry-thumbnail img { max-height:360px; }
}

/* 0.2.7: post tags and adjacent-post navigation contrast. */
body.kmp-blog-editorial article :is(.tags-links,.tag-links,.post-tags,.entry-tags),
body.kmp-blog-editorial article :is(.tags-links,.tag-links,.post-tags,.entry-tags) a,
body.kmp-blog-editorial article .entry-footer a[rel="tag"],
body.kmp-blog-editorial article a[rel="tag"] {
  text-transform:none !important;
  color:#c9b7df !important;
  font-size:14px;
  line-height:1.75;
  letter-spacing:normal;
}
body.kmp-blog-editorial article :is(.tags-links,.tag-links,.post-tags,.entry-tags) a:hover,
body.kmp-blog-editorial article a[rel="tag"]:hover { color:#f0ddff !important; }
body.kmp-blog-editorial :is(.post-navigation,.navigation.post-navigation) :is(.nav-subtitle,.post-navigation-label,.nav-label,.meta-nav,.screen-reader-text),
body.kmp-blog-editorial :is(.post-navigation,.navigation.post-navigation) :is(.nav-previous,.nav-next) > :is(span,div),
body.kmp-blog-editorial :is(.post-navigation,.navigation.post-navigation) a :is(.nav-subtitle,.meta-nav,.nav-label) {
  color:#c7bfce !important;
  opacity:1 !important;
  text-transform:none;
}
body.kmp-blog-editorial :is(.post-navigation,.navigation.post-navigation) a:hover :is(.nav-subtitle,.meta-nav,.nav-label) { color:#fff !important; }

/* 0.2.8: Imagely adjacent-post labels (confirmed markup: a[rel] > span.title).
   Scope to single blog posts; preserve the separate .post-title styling. */
body.kmp-blog-editorial a[rel="prev"] > span.title,
body.kmp-blog-editorial a[rel="next"] > span.title {
    color: #b8b4c4 !important;
    opacity: 1 !important;
    text-transform: none !important;
}
body.kmp-blog-editorial a[rel="prev"] > span.title i,
body.kmp-blog-editorial a[rel="next"] > span.title i {
    color: inherit !important;
}
body.kmp-blog-editorial a[rel="prev"]:hover > span.title,
body.kmp-blog-editorial a[rel="next"]:hover > span.title,
body.kmp-blog-editorial a[rel="prev"]:focus-visible > span.title,
body.kmp-blog-editorial a[rel="next"]:focus-visible > span.title {
    color: #ffffff !important;
}

/* 0.2.10: Imagely related-posts heading and card-title readability.
   Keep these rules within ordinary blog posts; do not affect other grids. */
body.kmp-blog-editorial h3.theme-heading.related-posts-title,
body.kmp-blog-editorial h3.theme-heading.related-posts-title > span.text,
body.kmp-blog-editorial h3.theme-heading.related-posts-title::before,
body.kmp-blog-editorial h3.theme-heading.related-posts-title::after,
body.kmp-blog-editorial h3.theme-heading.related-posts-title > span.text::before {
    color: #d8d2e2 !important;
    opacity: 1 !important;
    text-transform: none !important;
}
body.kmp-blog-editorial h3.theme-heading.related-posts-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}
/* Preserve editorial capitalization on titles in the related-posts section. */
body.kmp-blog-editorial .related-posts :is(.post-title,.entry-title,.title),
body.kmp-blog-editorial .related-posts :is(.post-title,.entry-title,.title) a,
body.kmp-blog-editorial .related-posts :is(.post-title,.entry-title,.title) a span,
body.kmp-blog-editorial .related-posts .related-post a,
body.kmp-blog-editorial .related-posts .related-posts-title + * a {
    text-transform: none !important;
}
