html {
    --ns2025-page-bg: #ffffff;
    --ns2025-content-bg: #f8fafc;
    --ns2025-surface: #ffffff;
    --ns2025-surface-soft: #f1f5f9;
    --ns2025-surface-muted: #e2e8f0;
    --ns2025-text: #0f172a;
    --ns2025-text-muted: #475569;
    --ns2025-border: #e2e8f0;
    --ns2025-shadow: rgba(15, 23, 42, .12);
    color-scheme: light;
}

html.dark,
html[data-theme="dark"],
html.ns2025-theme-dark {
    --ns2025-page-bg: #08111f;
    --ns2025-content-bg: #0f172a;
    --ns2025-surface: #111c2f;
    --ns2025-surface-soft: #16243a;
    --ns2025-surface-muted: #233249;
    --ns2025-text: #e5edf7;
    --ns2025-text-muted: #b8c4d6;
    --ns2025-border: #2b3c55;
    --ns2025-shadow: rgba(0, 0, 0, .42);
    color-scheme: dark;
}

html.contrast,
html[data-theme="contrast"],
html.ns2025-theme-contrast {
    --ns2025-page-bg: #000000;
    --ns2025-content-bg: #000000;
    --ns2025-surface: #050505;
    --ns2025-surface-soft: #111111;
    --ns2025-surface-muted: #222222;
    --ns2025-text: #ffffff;
    --ns2025-text-muted: #f5f5f5;
    --ns2025-border: #ffffff;
    --ns2025-shadow: rgba(255, 255, 255, .14);
    color-scheme: dark;
}

html.dark body,
html[data-theme="dark"] body,
html.ns2025-theme-dark body,
body.ns2025-theme-dark,
html.contrast body,
html[data-theme="contrast"] body,
html.ns2025-theme-contrast body,
body.ns2025-theme-contrast {
    background: var(--ns2025-page-bg) !important;
    color: var(--ns2025-text) !important;
}

html.dark :is(#page, #content, main, .site-content),
html[data-theme="dark"] :is(#page, #content, main, .site-content),
html.ns2025-theme-dark :is(#page, #content, main, .site-content),
html.contrast :is(#page, #content, main, .site-content),
html[data-theme="contrast"] :is(#page, #content, main, .site-content),
html.ns2025-theme-contrast :is(#page, #content, main, .site-content) {
    background: var(--ns2025-content-bg) !important;
    color: var(--ns2025-text) !important;
}

html.dark :is(header, footer, #primary-navigation, #primary-navigation .sub-menu, #mode-dropdown-menu, #ns2025-brands-mega),
html[data-theme="dark"] :is(header, footer, #primary-navigation, #primary-navigation .sub-menu, #mode-dropdown-menu, #ns2025-brands-mega),
html.ns2025-theme-dark :is(header, footer, #primary-navigation, #primary-navigation .sub-menu, #mode-dropdown-menu, #ns2025-brands-mega),
html.contrast :is(header, footer, #primary-navigation, #primary-navigation .sub-menu, #mode-dropdown-menu, #ns2025-brands-mega),
html[data-theme="contrast"] :is(header, footer, #primary-navigation, #primary-navigation .sub-menu, #mode-dropdown-menu, #ns2025-brands-mega),
html.ns2025-theme-contrast :is(header, footer, #primary-navigation, #primary-navigation .sub-menu, #mode-dropdown-menu, #ns2025-brands-mega) {
    background: var(--ns2025-surface) !important;
    border-color: var(--ns2025-border) !important;
    color: var(--ns2025-text) !important;
}

html.dark :is(.bg-white, .bg-light, .bg-light\/50, .bg-zinc-100, .hover\:bg-zinc-100:hover, .wp-block-group, .wp-block-columns),
html[data-theme="dark"] :is(.bg-white, .bg-light, .bg-light\/50, .bg-zinc-100, .hover\:bg-zinc-100:hover, .wp-block-group, .wp-block-columns),
html.ns2025-theme-dark :is(.bg-white, .bg-light, .bg-light\/50, .bg-zinc-100, .hover\:bg-zinc-100:hover, .wp-block-group, .wp-block-columns),
html.contrast :is(.bg-white, .bg-light, .bg-light\/50, .bg-zinc-100, .hover\:bg-zinc-100:hover, .wp-block-group, .wp-block-columns),
html[data-theme="contrast"] :is(.bg-white, .bg-light, .bg-light\/50, .bg-zinc-100, .hover\:bg-zinc-100:hover, .wp-block-group, .wp-block-columns),
html.ns2025-theme-contrast :is(.bg-white, .bg-light, .bg-light\/50, .bg-zinc-100, .hover\:bg-zinc-100:hover, .wp-block-group, .wp-block-columns) {
    background-color: var(--ns2025-surface) !important;
}

html.dark :is(.text-zinc-950, .text-zinc-900, .text-zinc-800, .text-zinc-700, .text-zinc-600, .text-dark, .text-dark\/80, .text-dark\/90),
html[data-theme="dark"] :is(.text-zinc-950, .text-zinc-900, .text-zinc-800, .text-zinc-700, .text-zinc-600, .text-dark, .text-dark\/80, .text-dark\/90),
html.ns2025-theme-dark :is(.text-zinc-950, .text-zinc-900, .text-zinc-800, .text-zinc-700, .text-zinc-600, .text-dark, .text-dark\/80, .text-dark\/90),
html.contrast :is(.text-zinc-950, .text-zinc-900, .text-zinc-800, .text-zinc-700, .text-zinc-600, .text-dark, .text-dark\/80, .text-dark\/90),
html[data-theme="contrast"] :is(.text-zinc-950, .text-zinc-900, .text-zinc-800, .text-zinc-700, .text-zinc-600, .text-dark, .text-dark\/80, .text-dark\/90),
html.ns2025-theme-contrast :is(.text-zinc-950, .text-zinc-900, .text-zinc-800, .text-zinc-700, .text-zinc-600, .text-dark, .text-dark\/80, .text-dark\/90) {
    color: var(--ns2025-text) !important;
}

html.dark :is(.entry-content, .site-content, .wp-block-post-content),
html[data-theme="dark"] :is(.entry-content, .site-content, .wp-block-post-content),
html.ns2025-theme-dark :is(.entry-content, .site-content, .wp-block-post-content),
html.contrast :is(.entry-content, .site-content, .wp-block-post-content),
html[data-theme="contrast"] :is(.entry-content, .site-content, .wp-block-post-content),
html.ns2025-theme-contrast :is(.entry-content, .site-content, .wp-block-post-content) {
    color: var(--ns2025-text) !important;
}

html.dark :is(.entry-content p, .entry-content li, .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6),
html[data-theme="dark"] :is(.entry-content p, .entry-content li, .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6),
html.ns2025-theme-dark :is(.entry-content p, .entry-content li, .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6),
html.contrast :is(.entry-content p, .entry-content li, .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6),
html[data-theme="contrast"] :is(.entry-content p, .entry-content li, .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6),
html.ns2025-theme-contrast :is(.entry-content p, .entry-content li, .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6) {
    color: inherit;
}

html.dark :is(input, select, textarea, .ns-control),
html[data-theme="dark"] :is(input, select, textarea, .ns-control),
html.ns2025-theme-dark :is(input, select, textarea, .ns-control),
html.contrast :is(input, select, textarea, .ns-control),
html[data-theme="contrast"] :is(input, select, textarea, .ns-control),
html.ns2025-theme-contrast :is(input, select, textarea, .ns-control) {
    background: var(--ns2025-surface-soft) !important;
    border-color: var(--ns2025-border) !important;
    color: var(--ns2025-text) !important;
}

html.dark :is(.border, .border-b, .border-t, .border-dark\/10, .border-light),
html[data-theme="dark"] :is(.border, .border-b, .border-t, .border-dark\/10, .border-light),
html.ns2025-theme-dark :is(.border, .border-b, .border-t, .border-dark\/10, .border-light),
html.contrast :is(.border, .border-b, .border-t, .border-dark\/10, .border-light),
html[data-theme="contrast"] :is(.border, .border-b, .border-t, .border-dark\/10, .border-light),
html.ns2025-theme-contrast :is(.border, .border-b, .border-t, .border-dark\/10, .border-light) {
    border-color: var(--ns2025-border) !important;
}

html.dark :is(
    .ns2025-card,
    .ns2025-faq,
    .ns2025-faq__item,
    .ns2025-faq-topic,
    .ns2025-faq-topic__header,
    .ns2025-faq-topic__mobile-nav,
    .ns2025-faq-topic__sidebar,
    .ns2025-faq-topic__item,
    .ns2025-infobox,
    .ns2025-inquiry-form,
    .ns2025-numbered-list,
    .ns2025-numbered-list__item,
    .ns2025-repair-form,
    .ns-glass-card,
    .ns-note,
    .ns2025-testimonials,
    .ns2025-testimonials__card,
    .wp-block-table,
    table
),
html[data-theme="dark"] :is(
    .ns2025-card,
    .ns2025-faq,
    .ns2025-faq__item,
    .ns2025-faq-topic,
    .ns2025-faq-topic__header,
    .ns2025-faq-topic__mobile-nav,
    .ns2025-faq-topic__sidebar,
    .ns2025-faq-topic__item,
    .ns2025-infobox,
    .ns2025-inquiry-form,
    .ns2025-numbered-list,
    .ns2025-numbered-list__item,
    .ns2025-repair-form,
    .ns-glass-card,
    .ns-note,
    .ns2025-testimonials,
    .ns2025-testimonials__card,
    .wp-block-table,
    table
),
html.ns2025-theme-dark :is(
    .ns2025-card,
    .ns2025-faq,
    .ns2025-faq__item,
    .ns2025-faq-topic,
    .ns2025-faq-topic__header,
    .ns2025-faq-topic__mobile-nav,
    .ns2025-faq-topic__sidebar,
    .ns2025-faq-topic__item,
    .ns2025-infobox,
    .ns2025-inquiry-form,
    .ns2025-numbered-list,
    .ns2025-numbered-list__item,
    .ns2025-repair-form,
    .ns-glass-card,
    .ns-note,
    .ns2025-testimonials,
    .ns2025-testimonials__card,
    .wp-block-table,
    table
),
html.contrast :is(
    .ns2025-card,
    .ns2025-faq,
    .ns2025-faq__item,
    .ns2025-faq-topic,
    .ns2025-faq-topic__header,
    .ns2025-faq-topic__mobile-nav,
    .ns2025-faq-topic__sidebar,
    .ns2025-faq-topic__item,
    .ns2025-infobox,
    .ns2025-inquiry-form,
    .ns2025-numbered-list,
    .ns2025-numbered-list__item,
    .ns2025-repair-form,
    .ns-glass-card,
    .ns-note,
    .ns2025-testimonials,
    .ns2025-testimonials__card,
    .wp-block-table,
    table
),
html[data-theme="contrast"] :is(
    .ns2025-card,
    .ns2025-faq,
    .ns2025-faq__item,
    .ns2025-faq-topic,
    .ns2025-faq-topic__header,
    .ns2025-faq-topic__mobile-nav,
    .ns2025-faq-topic__sidebar,
    .ns2025-faq-topic__item,
    .ns2025-infobox,
    .ns2025-inquiry-form,
    .ns2025-numbered-list,
    .ns2025-numbered-list__item,
    .ns2025-repair-form,
    .ns-glass-card,
    .ns-note,
    .ns2025-testimonials,
    .ns2025-testimonials__card,
    .wp-block-table,
    table
),
html.ns2025-theme-contrast :is(
    .ns2025-card,
    .ns2025-faq,
    .ns2025-faq__item,
    .ns2025-faq-topic,
    .ns2025-faq-topic__header,
    .ns2025-faq-topic__mobile-nav,
    .ns2025-faq-topic__sidebar,
    .ns2025-faq-topic__item,
    .ns2025-infobox,
    .ns2025-inquiry-form,
    .ns2025-numbered-list,
    .ns2025-numbered-list__item,
    .ns2025-repair-form,
    .ns-glass-card,
    .ns-note,
    .ns2025-testimonials,
    .ns2025-testimonials__card,
    .wp-block-table,
    table
) {
    background: var(--ns2025-surface) !important;
    border-color: var(--ns2025-border) !important;
    color: var(--ns2025-text) !important;
}

html.dark :is(td, th, .ns2025-faq__answer, .ns2025-faq-topic__answer, .ns2025-infobox__text, .ns2025-numbered-list__description, .ns2025-testimonials__text, .ns-header p),
html[data-theme="dark"] :is(td, th, .ns2025-faq__answer, .ns2025-faq-topic__answer, .ns2025-infobox__text, .ns2025-numbered-list__description, .ns2025-testimonials__text, .ns-header p),
html.ns2025-theme-dark :is(td, th, .ns2025-faq__answer, .ns2025-faq-topic__answer, .ns2025-infobox__text, .ns2025-numbered-list__description, .ns2025-testimonials__text, .ns-header p),
html.contrast :is(td, th, .ns2025-faq__answer, .ns2025-faq-topic__answer, .ns2025-infobox__text, .ns2025-numbered-list__description, .ns2025-testimonials__text, .ns-header p),
html[data-theme="contrast"] :is(td, th, .ns2025-faq__answer, .ns2025-faq-topic__answer, .ns2025-infobox__text, .ns2025-numbered-list__description, .ns2025-testimonials__text, .ns-header p),
html.ns2025-theme-contrast :is(td, th, .ns2025-faq__answer, .ns2025-faq-topic__answer, .ns2025-infobox__text, .ns2025-numbered-list__description, .ns2025-testimonials__text, .ns-header p) {
    color: var(--ns2025-text-muted) !important;
}

