/* Shared reading scale for retained articles and newly published content. */
body.ke-site{--ke-reading-size:16px;--ke-reading-meta:13px}
body.ke-site .ke-seo-article{font-size:var(--ke-reading-size);line-height:1.85;color:var(--kei-ink,#203c35)}
body.ke-site .ke-seo-article :is(p,li,td,th){font-size:var(--ke-reading-size)!important;line-height:1.85!important}
body.ke-site .ke-seo-article :is(small,figcaption,.wp-caption-text){font-size:13px!important;line-height:1.7!important}
body.ke-site .ke-article-meta{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px!important;line-height:1.7!important}
body.ke-site .ke-article-meta :is(span,a,time){font-size:inherit!important;line-height:inherit!important}
body.ke-site :is(.ke-article-meta,.content__post--meta,.content-header-meta){color:var(--kei-muted,#52675b)}
body.ke-site .kei-masthead .ke-article-meta{color:#c9d9d0}
body.ke-site .kei-masthead .ke-article-meta :is(span,time){color:inherit}
body.ke-site .kei-masthead .ke-article-meta a{color:#ead6ab}
body.ke-site .ke-seo-article :is(input,select,textarea,button){font-size:16px;line-height:1.5}
body.ke-site .ke-seo-article a{overflow-wrap:anywhere;text-underline-offset:3px}
@media(max-width:767px){body.ke-site .ke-seo-article :is(p,li,td,th){font-size:16px!important;line-height:1.8!important}body.ke-site .ke-article-meta{gap:6px 12px}}

/* Keep the shared scale after compact-header and mobile-layout styles. */
body.ke-site .kec-header .kec-contact-links{font-size:13px!important;line-height:1.6}
body.ke-site .kec-header .kec-nav-list>.kec-nav-item>.kec-nav-entry>.kec-nav-link,
body.ke-site .kec-header .kec-submenu .kec-nav-link{font-size:14px!important;line-height:1.6}
body.ke-site .kec-header .kec-header-cta{font-size:14px!important;line-height:1.6}
body.ke-site .kec-footer .kec-footer-brand>p,
body.ke-site .kec-footer .kec-footer-column>ul a,
body.ke-site .kec-footer .kec-footer-contact>p,
body.ke-site .kec-footer .kec-footer-contact>a:not(.kec-footer-phone):not(.kec-whatsapp){font-size:15px!important;line-height:1.8}
body.ke-site .kec-footer .kec-footer-column>h2{font-size:16px!important;line-height:1.6}
body.ke-site .kec-footer .kec-footer-contact>.kec-whatsapp{font-size:14px!important;line-height:1.7}
body.ke-site .kec-footer .kec-footer-wordmark>small{font-size:12px!important;line-height:1.7;letter-spacing:.8px}
body.ke-site .kec-footer .kec-footer-bottom,
body.ke-site .kec-footer .kec-footer-bottom>span{font-size:13px!important;line-height:1.8}
body.ke-site .kec-footer .kec-footer-bottom>p{font-size:inherit!important;line-height:inherit}

/* Descriptive copy and labels retain their hierarchy at every viewport. */
body.ke-site.keh-home :is(.keh-hero-description,.keh-section-heading>p,.keh-service-card p,.keh-about-copy>p:not(.keh-eyebrow),.keh-about-copy li span,.keh-investment-grid>div>p:not(.keh-eyebrow),.keh-models p,.keh-post-body p,.keh-contact p:not(.keh-eyebrow)){font-size:15px!important;line-height:1.8}
body.ke-site.keh-home :is(.keh-button,.keh-card-link,.keh-text-link){font-size:14px!important;line-height:1.65}
body.ke-site.keh-home :is(.keh-eyebrow,.keh-shortcuts small,.keh-service-top small,.keh-post-label,.keh-hero-note div>span){font-size:12px!important;line-height:1.7;letter-spacing:.8px}
body.ke-site.keh-home :is(.keh-shortcuts strong,.keh-hero-trust strong,.keh-hero-note strong,.keh-about-copy li strong){font-size:15px!important;line-height:1.6}
body.ke-site.keh-home :is(.keh-hero-trust p>span,.keh-since span){font-size:13px!important;line-height:1.7}
body.ke-site.keh-home .keh-image-caption{font-size:11px!important;line-height:1.6}
body.ke-site.keh-home .keh-models h3{font-size:17px!important;line-height:1.5}
body.ke-site.kei-page :is(.kei-intro,.kei-contact-copy>p:not(.kei-kicker),.kei-contact-aside>p:not(.kei-kicker):not(.kei-contact-since),.kei-contact-option div>span,.kei-location-heading p,.kei-callout p:not(.kei-kicker)){font-size:15px!important;line-height:1.85}
body.ke-site.kei-page :is(.kei-breadcrumb,.kei-contact-option small,.kei-contact-since,.content-header-meta,.content__post--meta){font-size:13px!important;line-height:1.7}
body.ke-site.kei-page :is(.kei-kicker,.kco-eyebrow,.kco-section-label,.keg-eyebrow,.keg-section-heading,.ket-eyebrow,.ket-portal-action>span){font-size:12px!important;line-height:1.7;letter-spacing:.8px}
body.ke-site.kei-page :is(a.kei-button,a.kei-text-link,.kei-location-heading>a){font-size:14px!important;line-height:1.7}
body.ke-site.kei-page :is(.kco-value-card p,.kco-steps p,.kco-vision-copy p,.kco-principle>ul>li,.kco-story>p,.kco-founder-copy>p:not(:has(strong)),.keg-intro-copy>p,.keg-steps p,.keg-resource>ul>li,.keg-channel p,.ket-intro-copy>p,.ket-steps p,.ket-portal-copy>p,.ket-section-heading p,.ket-info-card>p,.ket-channel p){font-size:15px!important;line-height:1.85!important}
body.ke-site.kei-page :is(.kco-value-card h3,.kco-steps h3,.keg-steps h3,.ket-steps h3){font-size:16px!important;line-height:1.5!important}
body.ke-site.kei-page #wpb-content-root.kei-builder-body :is(.kco-value-card h3,.kco-steps h3){font-size:16px!important;line-height:1.5!important}
body.ke-site.kei-page #wpb-content-root.kei-builder-body :is(.kco-value-card p,.kco-steps p){font-size:15px!important;line-height:1.85!important}
body.ke-site.kei-page :is(.kco-drawing-label,.keg-map-bottom,.ket-art-bottom){font-size:11px!important;line-height:1.7;letter-spacing:.8px}
body.ke-site.kei-page :is(.keg-map-top>span,.ket-art-top>span){font-size:12px!important;line-height:1.6;letter-spacing:.8px}
body.ke-site.kei-page :is(.kco-step-symbol small,.keg-step-icon>small,.ket-step-icon>small){width:22px;height:22px;font-size:11px!important;line-height:1}
body.ke-site.kei-page .ket-portal-action>p>a{font-size:14px!important;line-height:1.7!important}

@media(max-width:960px){
 body.ke-site .kec-header .kec-nav-list>.kec-nav-item>.kec-nav-entry>.kec-nav-link{font-size:15px!important}
 body.ke-site .kec-header .kec-submenu .kec-nav-link{font-size:14px!important}
}

/* Longer articles keep a comfortable scale beside compact mobile controls. */
body.ke-site.kei-page main :is(.content__post--article,.kei-builder-body) .ke-seo-article :is(p,li,td,th,blockquote),
body.ke-site.kei-page #wpb-content-root.kei-builder-body .ke-seo-article :is(p,li,td,th,blockquote){font-size:16px!important;line-height:1.85!important}

/* Administration reading scale; preserve the installed layout and appearance. */
body:not(.ke-site){--admin-reading-copy:14px;--admin-reading-meta:13px;--admin-reading-line:1.65;--admin-reading-muted:color-mix(in srgb,var(--ink,#20332a) 76%,var(--surface,#fff));font-size:15px!important;line-height:1.65}
body:not(.ke-site) :is(.page-description,.welcome-copy>p:not(.welcome-kicker),.dashboard-status p,.health p,.settings-intro p,.message-body,.comment-body,.login-story-copy,.login-card>.muted,.empty>p,.notice,.muted){font-size:var(--admin-reading-copy)!important;line-height:1.8!important}
body:not(.ke-site) :is(.main .field>span,.check,.record strong,.quick-action strong,.dashboard-status strong,.health strong,.table-title,.media-title,.message-heading strong,.comment-heading strong,.upload-panel>summary){font-size:var(--admin-reading-copy)!important;line-height:var(--admin-reading-line)!important}
body:not(.ke-site) :is(small,.field>small,.field>span small,.editor-note,.save-hint,.settings-save span,.record small,.quick-action small,.path,.badge,.stat-footer,.stat small,.stat-index,.workspace-date,.system-status,.breadcrumb,.admin-footer,.contact-details,.media-item details,.message-heading small,.comment-heading small,.login-back,.login-security-context,.login-security-note,.login-security-status,.login-security-trust){font-size:var(--admin-reading-meta)!important;line-height:1.6!important}
body:not(.ke-site) :is(.field>small,.field>span small,.editor-note,.save-hint,.settings-save span,.record small,.quick-action small,.path,.stat-footer,.stat small,.workspace-date,.contact-details,.login-back,.login-security-context,.login-security-note,.login-security-status,.login-security-trust){color:var(--admin-reading-muted)!important}
body:not(.ke-site) :is(.button,.link-button,.row-actions,.row-actions a,.editor-tabs button,.format-toolbar button,.tabs a,.friendly-toolbar button,.menu-builder-actions button,.password-field .icon-button){font-size:var(--admin-reading-copy)!important;line-height:1.5!important}
body:not(.ke-site) :is(input:not(.title-input):not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]),select,textarea){font-size:15px!important;line-height:1.5!important}
body:not(.ke-site) :is(table,.main .table-wrap tbody>tr>td){font-size:var(--admin-reading-copy)!important;line-height:var(--admin-reading-line)!important}
body:not(.ke-site) :is(th,.main .table-wrap td>code,.main .table-wrap .path,.pagination,.card-heading>a,.dashboard-section-title>span,.settings-section-title>span,.settings-section-title .section-kicker,.audit-summary dt,.audit-technical summary,.audit-technical pre){font-size:var(--admin-reading-meta)!important;line-height:1.6!important}
body:not(.ke-site) :is(.eyebrow,.section-kicker,.welcome-kicker,.login-kicker,.nav-divider,.nav-section-label,.menu-builder-help,.menu-builder-meta,.menu-builder-footer p,.menu-builder-footer [data-menu-count],.friendly-editor .editor-note,.friendly-footer-preview>span,.friendly-dialog-error){font-size:var(--admin-reading-meta)!important;line-height:1.6!important;letter-spacing:.45px}
body:not(.ke-site) .stat>span:not(.stat-icon):not(.stat-index):not(.stat-footer){font-size:var(--admin-reading-copy)!important;line-height:1.6!important}
body:not(.ke-site) .sidebar :is(.nav-item,.user-link strong){font-size:14px!important;line-height:1.5!important}
body:not(.ke-site) .brand small{font-size:var(--admin-reading-meta)!important;line-height:1.5!important;letter-spacing:.2px;white-space:normal;overflow-wrap:anywhere}
body:not(.ke-site) .html-editor{font-size:14px!important;line-height:1.8!important}
body:not(.ke-site) .topbar{height:auto;min-height:76px;padding-block:8px;flex-wrap:wrap}
body:not(.ke-site) .topbar>div{min-width:0;max-width:100%}
body:not(.ke-site) .topbar-right{flex-wrap:wrap}
body:not(.ke-site) .media-title{height:auto;min-height:2.8em;overflow-wrap:anywhere}
body:not(.ke-site) .stat-footer{white-space:normal;overflow-wrap:anywhere}
body:not(.ke-site) .welcome-caption{font-size:var(--admin-reading-meta)!important;line-height:1.5!important;writing-mode:horizontal-tb;max-width:100%;letter-spacing:.45px}
@media(max-width:900px){
 body:not(.ke-site) .topbar{min-height:64px}
 body:not(.ke-site) :is(.main,.login-card,.friendly-dialog) :is(input:not(.title-input):not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):not([type=button]),select,textarea){font-size:16px!important}
 body:not(.ke-site) .sidebar .nav-item{font-size:13px!important}
}
@media(max-width:520px){
 body:not(.ke-site) :is(.card-heading,.dashboard-section-title,.workspace-header,.page-heading){flex-wrap:wrap}
 body:not(.ke-site) .breadcrumb{white-space:normal;overflow-wrap:anywhere}
 body:not(.ke-site) .main :is(.button,.row-actions a,.link-button){white-space:normal;overflow-wrap:anywhere}
}
body:not(.ke-site) .main .table-wrap td[data-label]::before{font-size:var(--admin-reading-meta)!important;line-height:1.6!important}
body:not(.ke-site) code{font-size:var(--admin-reading-meta)!important;line-height:1.6!important}
/* End administration reading scale. */
