/* Color-only overrides. Photography, logos, videos and iframes are never inverted. */
.mt-theme-toggle[hidden]{display:none!important}
body .mt-native-header .mt-theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:10px;margin:0;border:1px solid #17171766;border-radius:50%;background:#fff9f2;color:#171717;cursor:pointer;line-height:1;box-shadow:none}
.mt-theme-toggle svg{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mt-theme-toggle .mt-mode-moon{display:none}
html[data-maka-theme="dark"] .mt-theme-toggle .mt-mode-moon{display:block}
html[data-maka-theme="dark"] .mt-theme-toggle .mt-mode-sun{display:none}
.mt-theme-toggle:focus-visible{outline:3px solid #171717;outline-offset:4px}
@media(max-width:999px){body .mt-native-header .header-inner{position:relative;padding-right:76px;gap:12px}body .mt-native-header .mt-theme-toggle{position:absolute;right:20px;top:50%;transform:translateY(-50%);margin:0}body .mt-native-header .site-logo{max-width:100%;min-width:0}}
@media(min-width:1000px){body .mt-native-header .primary-menu{gap:14px}body .mt-native-header .header-inner{gap:16px}}
html[data-maka-theme="dark"]{color-scheme:dark;--mt-cream:#14171b;--mt-ink:#f1eee9;--mt-darkorange:#ffac82;--mt-peach:#352921;--cream:#14171b;--ink:#f1eee9;--darkorange:#ffac82;--peach:#352921;--line:#43464d;--muted:#bdb8b2;--mt-surface:#20242b;--mt-surface-soft:#282d35;--mt-link:#ffac82}
html[data-maka-theme="dark"] body,html[data-maka-theme="dark"] body.custom-background{background:#14171b!important;color:#f1eee9}
html[data-maka-theme="dark"] body :is(h1,h2,h3,h4,h5,h6,.entry-title,.entry-excerpt){color:#f1eee9}
html[data-maka-theme="dark"] body :is(.entry-content,.entry-summary,.entry-meta,.entry-date-info,.rank-math-breadcrumb,.mt-editorial-context){color:#bdb8b2}
html[data-maka-theme="dark"] body :is(.entry-content,.mt-home){color:#f1eee9}
html[data-maka-theme="dark"] body a,html[data-maka-theme="dark"] body .entry-content a:not(.mt-buy-button){color:var(--mt-link)}
html[data-maka-theme="dark"] body :is(.mt-home .card a,.mt-home .guide a,.entry-title a,.mt-home h1 a,.mt-home h2 a,.mt-home h3 a){color:#f1eee9}
html[data-maka-theme="dark"] body :is(.mtb-read,.mt-home .read,.eyebrow,.mt-home .intro .eyebrow,.mt-section-link,.mt-home .mt-youtube-label){color:var(--mt-link)!important}
html[data-maka-theme="dark"] body :is(.mt-home .card p,.mt-section-copy p,.mt-home-brands>p,.mt-home-brands .wp-block-group__inner-container>p,.entry-date-info,.meta){color:#bdb8b2}
/* Header stays orange; submenus and mobile overlay adopt the dark palette. */
html[data-maka-theme="dark"] body .mt-native-header{border-color:#43464d}
html[data-maka-theme="dark"] body .mt-native-header :is(a,a:visited,.nav-toggle){color:#171717}
html[data-maka-theme="dark"] body .mt-native-header .mt-brand span{color:#fff}
html[data-maka-theme="dark"] body .mt-native-header :is(.primary-menu ul a,.primary-menu ul a:visited){color:#f1eee9}
html[data-maka-theme="dark"] body :is(.primary-menu ul,.menu-modal .menu-modal-inner){background:#20242b;color:#f1eee9}
html[data-maka-theme="dark"] body .menu-modal :is(a,a:visited,button){color:#f1eee9}
html[data-maka-theme="dark"] body .mt-native-header .mt-theme-toggle{background:#20242b;color:#ffcf91;border-color:#20242b}
/* Dark feature/footer were already dark in the light version. Keep them dark. */
html[data-maka-theme="dark"] body :is(.mt-home .lead,.mt-site-footer){background:#0c0f12;color:#f1eee9}
html[data-maka-theme="dark"] body :is(.mt-home .lead a,.mt-site-footer a){color:#f1eee9!important}
html[data-maka-theme="dark"] body .mt-home .lead .badge{color:#ffcfb3}
html[data-maka-theme="dark"] body .mt-home :is(.mt-section-card,.topics a,.section-head p>a,.mt-about,.mt-youtube-card.mt-youtube-card--banner){background:#20242b;color:#f1eee9;border-color:#43464d}
html[data-maka-theme="dark"] body :is(.mt-home .mt-section-button,.mt-home .aside .button,.mt-home .community .button){background:#353c46;color:#fff9f2;border-color:#727c8c}
html[data-maka-theme="dark"] body .mt-home .mt-section-button:hover{background:#f05a28;color:#171717;border-color:#f05a28}
html[data-maka-theme="dark"] body :is(.mt-home .topics,.mt-home-brands,.mt-home-topics,.mt-editorial-context,.mt-home .intro,.mt-home .guides,.mt-home .lower){border-color:#43464d}
/* White logo/product canvases are intentional to preserve the original artwork. */
html[data-maka-theme="dark"] body .mt-home .mt-section-picture{background:#fff}
html[data-maka-theme="dark"] body :is(.abh_box,.abh_tabs,.abh_tab_content,.abh_text,.abh_description){background:transparent!important;color:#f1eee9!important}
html[data-maka-theme="dark"] body :is(.abh_name a,.abh_description a){color:var(--mt-link)!important}
html[data-maka-theme="dark"] body :is(.abh_tabs li,.abh_tabs li a){background:#20242b!important;color:#f1eee9!important}
/* Native editorial and review surfaces, tables, contents and FAQ blocks. */
html[data-maka-theme="dark"] body :is(.mt-review-verdict,.is-style-maka-opinion,.lwptoc_i,.wp-block-quote,.mt-review-camera-slider){background:#20242b;color:#f1eee9;border-color:#55505a}
html[data-maka-theme="dark"] body .is-style-maka-opinion :is(p,h3,cite,.mt-opinion-source){color:#f1eee9;border-color:#43464d}
html[data-maka-theme="dark"] body .mt-review-positive{background:#183126;color:#e1f4e5;border-color:#4c795d}
html[data-maka-theme="dark"] body .mt-review-cautions{background:#3b2424;color:#ffe4e1;border-color:#90605b}
html[data-maka-theme="dark"] body :is(.mt-review-positive h3,.mt-review-cautions h3){color:inherit}
html[data-maka-theme="dark"] body :is(.wp-block-table,.tablepress){background:#20242b;color:#f1eee9;border-color:#43464d}
html[data-maka-theme="dark"] body :is(.wp-block-table table,.wp-block-table tbody td,.wp-block-table tbody th,.tablepress tbody td){background:#20242b;color:#f1eee9;border-color:#43464d}
html[data-maka-theme="dark"] body :is(.wp-block-table tbody tr:nth-child(even)>*,.tablepress .even td){background:#282d35;color:#f1eee9}
html[data-maka-theme="dark"] body :is(.wp-block-table thead th,.tablepress thead th){background:#352921;color:#ffcfb3;border-color:#55505a}
html[data-maka-theme="dark"] body :is(.wp-block-table figcaption,figcaption){background:transparent;color:#bdb8b2}
html[data-maka-theme="dark"] body :is(input:not([type=submit]):not([type=checkbox]):not([type=radio]),textarea,select){background:#20242b;color:#f1eee9;border-color:#727c8c}
html[data-maka-theme="dark"] body input::placeholder,html[data-maka-theme="dark"] body textarea::placeholder{color:#bdb8b2}
html[data-maka-theme="dark"] body :is(a,button,input,select,textarea,summary):focus-visible{outline-color:#ffac82}
html[data-maka-theme="dark"] body .mt-native-header :is(a,button):focus-visible{outline-color:#171717}
/* Keep the existing yellow affiliate buttons readable and recognizable. */
html[data-maka-theme="dark"] body a.mt-buy-button,html[data-maka-theme="dark"] body a.mt-buy-button *{background-color:#ffe600!important;color:#171717!important}
@media print{.mt-theme-toggle{display:none!important}html[data-maka-theme="dark"]{color-scheme:light}html[data-maka-theme="dark"] body{background:#fff!important;color:#111!important}}

html[data-maka-theme="dark"] body .maka-product{background:#20242b;color:#f1eee9;border-color:#43464d}
html[data-maka-theme="dark"] body .maka-product .maka-product__title a{color:#f1eee9!important}
html[data-maka-theme="dark"] body .maka-product :is(.maka-product__store,.maka-product__price small,.maka-product__disclosure){color:#bdb8b2}

/* Overrides for inline guide cards and the parent theme's high-specificity rules. */
html[data-maka-theme="dark"] body .entry-content a:not(.mt-buy-button):not(.maka-product__cta):not(.maka-guide-buy):not(.btn):not(.wp-block-button__link){color:#ffac82!important}
html[data-maka-theme="dark"] body .wp-block-table:is(.mt-review-table,.is-style-maka-review) tbody tr>*:first-child{color:#ffcfb3}
html[data-maka-theme="dark"] body :is(.comment-respond,.comment-form,.comment-notes,.comment-form label){color:#bdb8b2}
html[data-maka-theme="dark"] body input[type=submit]{background:#ffac82;color:#171717;border-color:#ffac82}
html[data-maka-theme="dark"] body .maka-guide-grid article{background:#20242b;color:#f1eee9;border-color:#43464d}
html[data-maka-theme="dark"] body a.maka-guide-buy{background:#ffe600!important;color:#171717!important;border-color:#c5ad00}

html[data-maka-theme="dark"] body .mt-home .maka-guide-card a:not(.maka-guide-buy){color:#ffac82!important}
@media(min-width:1000px){body .mt-native-header .header-inner{max-width:1280px;width:100%}body .mt-native-header .header-navigation-wrapper{min-width:0;margin-left:auto}}
@media(min-width:1000px) and (max-width:1199px){body .mt-native-header .header-inner{padding-left:24px;padding-right:24px;gap:12px}body .mt-native-header .primary-menu{font-size:12px;gap:10px}body .mt-native-header .mt-brand{font-size:26px}}

body .mt-native-header .header-inner>.site-logo{width:auto!important;flex:0 0 auto}
@media(min-width:1000px){body .mt-native-header .primary-menu{flex-wrap:nowrap}body .mt-native-header .primary-menu>li{white-space:nowrap}}

html[data-maka-theme="dark"] body .menu-modal .sub-menu-toggle svg,html[data-maka-theme="dark"] body .menu-modal .sub-menu-toggle svg path{fill:currentColor}

html[data-maka-theme="dark"] body .mt-editorial-ad__label{color:#bdb8b2}
