
/* Someh Dark Mode Visibility Fixes - added by Someh build */
:root{
  --someh-dark-bg:#07111f;
  --someh-dark-surface:#0f172a;
  --someh-dark-border:rgba(148,163,184,.28);
  --someh-dark-text:#f8fafc;
  --someh-dark-muted:#cbd5e1;
  --someh-dark-link:#93c5fd;
  --someh-dark-accent:#fbbf24;
}
:where(html.dark,html.dark-mode,html[data-theme="dark"],html.wp-dark-mode-active,html.ai-dark,html.ai-dark-by-clock,body.dark,body.dark-mode,body.night-mode,body.wp-dark-mode-active,.dark,.dark-mode,.night-mode,.theme-dark,.wp-dark-mode-active,.is-dark-mode,[data-theme="dark"],[data-wp-dark-mode-active]){
  color-scheme:dark;
}
/* Phone ribbon / contact bar: keep numbers and labels readable */
:where(html.dark,html.dark-mode,html[data-theme="dark"],html.wp-dark-mode-active,body.dark,body.dark-mode,body.night-mode,.dark-mode,.night-mode,.theme-dark,.wp-dark-mode-active,[data-theme="dark"]) :where(.tmc-phone-topbar,#tmc-phone-topbar,.tmcpt-inner){
  background:#0b1220!important;color:var(--someh-dark-text)!important;border-color:var(--someh-dark-border)!important;filter:none!important;mix-blend-mode:normal!important;opacity:1!important;
}
:where(html.dark,html.dark-mode,html[data-theme="dark"],html.wp-dark-mode-active,body.dark,body.dark-mode,body.night-mode,.dark-mode,.night-mode,.theme-dark,.wp-dark-mode-active,[data-theme="dark"]) :where(.tmcpt-title,.tmcpt-phone,.tmcpt-badge,.tmcpt-left,.tmcpt-sep,#tmc-phone-topbar a){
  color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;text-shadow:none!important;opacity:1!important;filter:none!important;mix-blend-mode:normal!important;
}
:where(html.dark,html.dark-mode,html[data-theme="dark"],html.wp-dark-mode-active,body.dark,body.dark-mode,body.night-mode,.dark-mode,.night-mode,.theme-dark,.wp-dark-mode-active,[data-theme="dark"]) :where(.tmcpt-phone:hover,#tmc-phone-topbar a:hover){
  color:#fde68a!important;-webkit-text-fill-color:#fde68a!important;
}
/* Banner and page builder titles */
:where(html.dark,html.dark-mode,html[data-theme="dark"],html.wp-dark-mode-active,body.dark,body.dark-mode,body.night-mode,.dark-mode,.night-mode,.theme-dark,.wp-dark-mode-active,[data-theme="dark"]) :where(.main-content,.container-wrapper,.mag-box,.entry,.entry-content,.post-content,.page-content,.site-content,.block-head,.mag-box-title,.section-title,.entry-title,.post-title,.single-post-title,.post-box-title,.thumb-title,.banner-title,.breaking-title,.slider-area,.tie-slick-slider,.posts-list-counter, .tabs, .tabs a){
  text-shadow:none!important;filter:none!important;mix-blend-mode:normal!important;
}
:where(html.dark,html.dark-mode,html[data-theme="dark"],html.wp-dark-mode-active,body.dark,body.dark-mode,body.night-mode,.dark-mode,.night-mode,.theme-dark,.wp-dark-mode-active,[data-theme="dark"]) :where(.entry-title,.entry-title a,.post-title,.post-title a,.single-post-title,.mag-box-title h3,.mag-box-title h3 a,.block-head h3,.block-head h3 a,.banner-title,.slider-area h2,.thumb-title a){
  color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;opacity:1!important;
}
:where(html.dark,html.dark-mode,html[data-theme="dark"],html.wp-dark-mode-active,body.dark,body.dark-mode,body.night-mode,.dark-mode,.night-mode,.theme-dark,.wp-dark-mode-active,[data-theme="dark"]) :where(.entry-content,.entry-content p,.post-content,.post-content p,.entry-summary,.post-excerpt,.mag-box .post-meta,.post-meta,.post-meta a){
  color:var(--someh-dark-muted)!important;-webkit-text-fill-color:var(--someh-dark-muted)!important;opacity:1!important;
}
/* WCI catalog plugin: prevent washed-out cards/sidebar/filter text in night mode */
:where(html.dark,html.dark-mode,html[data-theme="dark"],html.wp-dark-mode-active,body.dark,body.dark-mode,body.night-mode,.dark-mode,.night-mode,.theme-dark,.wp-dark-mode-active,[data-theme="dark"]) :where(.wci-album-outer,.wci-album-box,.wci-album-wrap,.wci-album-main){
  background:#07111f!important;color:var(--someh-dark-text)!important;border-color:var(--someh-dark-border)!important;filter:none!important;opacity:1!important;mix-blend-mode:normal!important;
}
:where(html.dark,html.dark-mode,html[data-theme="dark"],html.wp-dark-mode-active,body.dark,body.dark-mode,body.night-mode,.dark-mode,.night-mode,.theme-dark,.wp-dark-mode-active,[data-theme="dark"]) :where(.wci-card,.wci-item,.wci-body,.wci-album-sidebar,.wci-filter-menu,.wci-filter-menu-body){
  background:#0f172a!important;color:var(--someh-dark-text)!important;border-color:var(--someh-dark-border)!important;box-shadow:0 18px 42px rgba(0,0,0,.35)!important;filter:none!important;opacity:1!important;mix-blend-mode:normal!important;
}
:where(html.dark,html.dark-mode,html[data-theme="dark"],html.wp-dark-mode-active,body.dark,body.dark-mode,body.night-mode,.dark-mode,.night-mode,.theme-dark,.wp-dark-mode-active,[data-theme="dark"]) :where(.wci-title,.wci-title a,.wci-album-head-title,.wci-filter-menu-title,.wci-filter-menu-current){
  color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;text-shadow:none!important;background-image:none!important;opacity:1!important;
}
:where(html.dark,html.dark-mode,html[data-theme="dark"],html.wp-dark-mode-active,body.dark,body.dark-mode,body.night-mode,.dark-mode,.night-mode,.theme-dark,.wp-dark-mode-active,[data-theme="dark"]) :where(.wci-desc,.wci-album-head-sub,.wci-pagination-hint){
  color:#dbeafe!important;-webkit-text-fill-color:#dbeafe!important;opacity:1!important;text-shadow:none!important;
}
:where(html.dark,html.dark-mode,html[data-theme="dark"],html.wp-dark-mode-active,body.dark,body.dark-mode,body.night-mode,.dark-mode,.night-mode,.theme-dark,.wp-dark-mode-active,[data-theme="dark"]) :where(.wci-filter,.wci-filter-leaf,.wci-filter-search-clear,.wci-empty,.wci-pagination a,.wci-pagination span,.wci-pagination .page-numbers,.wci-filter-search-inner){
  background:#111827!important;color:#f8fafc!important;-webkit-text-fill-color:#f8fafc!important;border-color:rgba(148,163,184,.32)!important;filter:none!important;opacity:1!important;mix-blend-mode:normal!important;
}
:where(html.dark,html.dark-mode,html[data-theme="dark"],html.wp-dark-mode-active,body.dark,body.dark-mode,body.night-mode,.dark-mode,.night-mode,.theme-dark,.wp-dark-mode-active,[data-theme="dark"]) :where(.wci-filter-search-input){
  color:#f8fafc!important;-webkit-text-fill-color:#f8fafc!important;background:transparent!important;
}
:where(html.dark,html.dark-mode,html[data-theme="dark"],html.wp-dark-mode-active,body.dark,body.dark-mode,body.night-mode,.dark-mode,.night-mode,.theme-dark,.wp-dark-mode-active,[data-theme="dark"]) :where(.wci-filter-search-input::placeholder){
  color:#cbd5e1!important;-webkit-text-fill-color:#cbd5e1!important;
}
:where(html.dark,html.dark-mode,html[data-theme="dark"],html.wp-dark-mode-active,body.dark,body.dark-mode,body.night-mode,.dark-mode,.night-mode,.theme-dark,.wp-dark-mode-active,[data-theme="dark"]) :where(.wci-filter.is-active,.wci-filter-all.is-active,.wci-pagination .current,.wci-pagination [aria-current="page"]){
  background:#f59e0b!important;color:#111827!important;-webkit-text-fill-color:#111827!important;border-color:#fbbf24!important;
}
/* Keep light custom boxes readable even when dark-mode plugins invert colors */
:where(html.dark,html.dark-mode,html[data-theme="dark"],html.wp-dark-mode-active,body.dark,body.dark-mode,body.night-mode,.dark-mode,.night-mode,.theme-dark,.wp-dark-mode-active,[data-theme="dark"]) :where([style*="background:#fff" i],[style*="background: #fff" i],[style*="background-color:#fff" i],[style*="background-color: #fff" i],[style*="background:#ffffff" i],[style*="background-color:#ffffff" i],[style*="background-color: #ffffff" i]){
  color:#111827!important;-webkit-text-fill-color:#111827!important;filter:none!important;mix-blend-mode:normal!important;
}
