/* Footer appearance control: independent of content and navigation. */
.kp-site-footer .kp-appearance{margin-top:20px;color:#eee;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.kp-appearance .kp-mode-heading{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#bcbcbc;font-weight:600}
.kp-appearance .kp-mode-switch{position:relative;display:flex;flex-direction:column;gap:4px;width:52px;padding:3px;border:1px solid #505055;background:#29292d;border-radius:99px;box-sizing:border-box}
.kp-mode-switch .kp-mode-knob{position:absolute;top:3px;left:3px;width:44px;height:44px;background:#ecb955;border-radius:50%;transition:transform .45s cubic-bezier(.2,.8,.2,1);pointer-events:none}
.kp-mode-switch button{position:relative;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:#c4c4c4;padding:0;cursor:pointer;box-shadow:none;z-index:1}
.kp-mode-switch button[aria-pressed=true]{color:#18181a}
.kp-mode-switch button:focus-visible{outline:2px solid white;outline-offset:2px}
.kp-mode-switch svg{width:21px;height:21px;display:block}
.kp-appearance #kp-mode-label{font-size:11px;color:#c4c4c4}
html[data-kp-appearance=dark] .kp-mode-knob{transform:translateY(48px)}
html[data-kp-appearance=dark]{color-scheme:dark;--bg:#101012;--ink:#f5f3ef;--mut:#c0bdb6;--gray:#aaa79f;--card:#1e1e22;--line:#3b3b40;--chip:#26262b;--gold-d:#ecb955;--red-bg:#352124;--red-line:#643b41;--grn-bg:#203127;--grn-line:#3b5945;--kp-glow1:#392d19;--kp-glow2:#302320;--kp-nav-bg:#18181a;--kp-nav-text:#fff;--kp-fin-bg:#18181a;--kp-footer-bg:#18181a;--kp-footer-text:#eee;--kp-footer-accent:#ecb955;background:#101012}
html[data-kp-appearance=dark] body{background-color:var(--bg);color:var(--ink)}
html[data-kp-appearance=dark] :is(.dk,.s1,.fin,.sc.k){background:#18181a;color:#f5f3ef;border-color:var(--line)}
html[data-kp-appearance=dark] :is(.badge,.pn,.tabs,.bf,.fq details,.fl>div:not(.y),.s2 .tg span,.np .pl span:not(:first-child),.sc:not(.y):not(.k)){background:var(--card);border-color:var(--line);color:var(--ink)}
html[data-kp-appearance=dark] :is(.news,.gal .ph,.pf){background:#29282a;border-color:var(--line)}
html[data-kp-appearance=dark] .np p{color:var(--mut)}
html[data-kp-appearance=dark] :is(.mq span,.dk .row span,.dk .row small){color:#bcb9b2}
html[data-kp-appearance=dark] :is(.btn.gold,.eb,.fl .y,.sc.y,.sc.y span,.fl .y p,.fl .y .chip-s,.kp-post-category,.kp-profile:not(.kp-profile-alt),.np .pl span:first-child){color:#18181a}
html[data-kp-appearance=dark] :is(.btn.gold i,.btn.white i){background:#18181a;color:#fff}
html[data-kp-appearance=dark] .btn.white{background:var(--card);color:var(--ink);border-color:var(--line)}
html[data-kp-appearance=dark] :is(.btn.dark,.tabs button[aria-selected=true],.sw button[aria-selected=true]){background:#343439;color:#fff;border-color:#505055}
html[data-kp-appearance=dark] .btn.dark i{background:#ecb955;color:#18181a}
html[data-kp-appearance=dark] summary::after{color:#18181a}
html[data-kp-appearance=dark] :is(.kp-post-content th,.kp-share a:hover,.kp-share button:hover){background:#343439;color:#f5f3ef}
html[data-kp-appearance=dark] .kp-post-content a{color:#efc575}
html[data-kp-appearance=dark] :is(.kp-blog,.kp-recent-blog,#kp-recent-blog){--ink:#f5f3ef;--paper:#101012;--muted:#c0bdb6;--line:#3b3b40;--kp-black:#f5f3ef;--kp-muted:#c0bdb6;--kp-border:#3b3b40;--kp-cream:#101012;--rb-ink:#f5f3ef;--rb-muted:#c0bdb6;--rb-line:#3b3b40;color:#f5f3ef}
html[data-kp-appearance=dark] :is(.kp-blog .kp-blog-card,.kp-blog .kp-blog-label,#kp-recent-blog .rb-card){background:var(--card)!important;border-color:var(--line)!important;color:var(--ink)!important}
html[data-kp-appearance=dark] :is(.kp-blog .kp-blog-category,#kp-recent-blog .rb-category){background:#40331d!important;color:#f3cd80!important}
html[data-kp-appearance=dark] :is(.kp-blog .kp-blog-filter,.kp-blog .kp-blog-more,.kp-blog .kp-blog-load-more,#kp-recent-blog .rb-all){background:#343439!important;color:#fff!important}
html[data-kp-appearance=dark] :is(.kp-blog .kp-blog-arrow,#kp-recent-blog .rb-arrow,#kp-recent-blog .rb-all-icon){background:#ecb955!important;color:#18181a!important}
html[data-kp-appearance=dark] :is(.kp-blog .kp-blog-heading em,.kp-blog .kp-blog-title em,#kp-recent-blog .rb-title em){color:var(--gray)!important}
html[data-kp-appearance=dark] :is(.kp-pr-table1,.kp-pr-table2,.kp-pr-framework){color:var(--ink)!important;background:var(--bg)!important;border-color:var(--line)!important}
html[data-kp-appearance=dark] :is(.kp-pr-table1,.kp-pr-table2) tbody tr:nth-child(odd){background:var(--card)!important}
html[data-kp-appearance=dark] :is(.kp-pr-table1,.kp-pr-table2) tbody tr:nth-child(even){background:var(--chip)!important}
html[data-kp-appearance=dark] :is(.kp-pr-table1,.kp-pr-table2) td{border-color:var(--line)!important;color:var(--ink)!important}
html[data-kp-appearance=dark] .kp-pr-framework .kp-step{background:var(--card)!important;border-color:var(--line)!important}
html[data-kp-appearance=dark] .kp-pr-framework .kp-step strong{color:var(--ink)!important}
html[data-kp-appearance=dark] .kp-pr-framework :is(.kp-step p,.kp-subtitle){color:var(--mut)!important}
html[data-kp-appearance=dark] .kp-pr-framework .kp-number{color:#18181a!important}
/* Common WordPress and Elementor content surfaces, without filtering images. */
html[data-kp-appearance=dark] :is(.elementor,.elementor-widget-wrap,.elementor-widget-container,.entry-content,.wp-site-blocks){color:var(--ink)}
html[data-kp-appearance=dark] :is(.elementor-section,.e-con,.elementor-widget-wrap,.elementor-widget-container):not(.elementor-element-edit-mode){background-color:transparent}
html[data-kp-appearance=dark] :is(.elementor-heading-title,.elementor-widget-text-editor){color:var(--ink)}
html[data-kp-appearance=dark] :is(main input:not([type=radio]):not([type=checkbox]):not([type=submit]),main select,main textarea){background:var(--card);color:var(--ink);border-color:var(--line)}
html[data-kp-appearance=dark] :is(.wp-block-table td,.wp-block-table th,.kp-table-wrap){border-color:var(--line)}
html.kp-mode-transition :is(body,main,section,article,header,footer,div,p,h1,h2,h3,h4,a,button,span,td,th,details,summary,input,select,textarea){transition:background-color .55s ease,color .55s ease,border-color .55s ease,box-shadow .55s ease}
@media(prefers-reduced-motion:reduce){html.kp-mode-transition *, .kp-mode-switch .kp-mode-knob{transition:none!important}}
html[data-kp-appearance=dark] :is(.kp-legal-all,.kp-legal-page,.kp-legal-all .kp-legal-body h2,.kp-legal-all .kp-legal-tabs a){color:var(--ink)!important}
html[data-kp-appearance=dark] :is(.kp-legal-all .kp-legal-body,.kp-legal-all .kp-legal-date){color:var(--mut)!important}
html[data-kp-appearance=dark] :is(.kp-legal-all .kp-legal-label,.kp-legal-all .kp-legal-body a){color:#efc575!important}
html[data-kp-appearance=dark] .kp-legal-all th{background:var(--chip)!important;color:var(--ink)!important}
html[data-kp-appearance=dark] :is(.kp-legal-all td,.kp-legal-all th,.kp-legal-all .kp-legal-tabs a){border-color:var(--line)!important}
html[data-kp-appearance=dark] :is(.kp-blog .kp-blog-avatar-fallback,.kp-blog .kp-blog-avatar-placeholder,#kp-recent-blog .rb-avatar){background:#343439;color:#ecb955}
html[data-kp-appearance=dark] :is(.kp-blog .kp-blog-image-fallback,#kp-recent-blog .rb-placeholder){background:var(--chip);color:var(--mut)}
html[data-kp-appearance=dark] .fl>div:not(.y) .gd{color:#ecb955}
html[data-kp-appearance=dark] .kp-home .dk h2 .g{color:#aaa79f!important}
html[data-kp-appearance=dark] .kp-home .eb .eyebrow::before{color:#18181a}
html[data-kp-appearance=dark] .nav .kp-blog-mobile-cta{color:#18181a}
@property --kp-glow1{syntax:'<color>';inherits:true;initial-value:#f2dba6}
@property --kp-glow2{syntax:'<color>';inherits:true;initial-value:#f6d6cd}
html.kp-mode-transition{transition:--kp-glow1 .55s ease,--kp-glow2 .55s ease,background-color .55s ease}
html.kp-mode-transition .kp-mode-knob{transition:transform .45s cubic-bezier(.2,.8,.2,1)}
@media(prefers-reduced-motion:reduce){html.kp-mode-transition{transition:none!important}}

/* Adaptive contrast for custom Elementor and HTML content. Only active in dark mode. */
html[data-kp-appearance=dark] body [data-kp-adaptive-surface="dark"]{background-color:#1e1e22!important;border-color:#3b3b40!important}
html[data-kp-appearance=dark] body [data-kp-adaptive-surface="dark"][data-kp-adaptive-tone="light"]{color:#f5f3ef!important}
html[data-kp-appearance=dark] body [data-kp-adaptive-tone="light"]{color:#f5f3ef!important;-webkit-text-fill-color:currentColor!important}
html[data-kp-appearance=dark] body [data-kp-adaptive-tone="dark"]{color:#18181a!important;-webkit-text-fill-color:currentColor!important}
html[data-kp-appearance=dark] body [data-kp-adaptive-tone="muted"]{color:#c0bdb6!important;-webkit-text-fill-color:currentColor!important}
