/* Someh v10.76 — authoritative day text + Services dark-mode support */

/* When the user's stored Jannah skin is light, never leave article copy in the pale night color. */
/* v10.77: day-mode recovery must not repaint headings.
   Headings (especially the homepage H1/hero titles) can intentionally sit on dark
   backgrounds and own their own light color. Only ordinary copy is normalized. */
html.someh-authoritative-light body:not(.home) :is(.entry-content,.post-content,.page-content,.tie-content,.wp-block-post-content,[itemprop="articleBody"],.woocommerce-Tabs-panel,#tab-description,.woocommerce-product-details__short-description)
:is(p,li,blockquote,dd,dt):not(:is(.tm-contact-box *,.tmc-card *,.tmc-panel *,.wci-album-outer *,.wci-lazy-album-shell *,.wci-gallery *,.fic-card *,.fic-injected *,table *,form *,.cart *,.button,.button *)){
  color:var(--base-color,#2c2f34)!important;
  -webkit-text-fill-color:currentColor!important;
  opacity:1!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  text-shadow:none!important;
}
html.someh-authoritative-light body:not(.home) :is(.entry-content,.post-content,.page-content,.tie-content,.wp-block-post-content,[itemprop="articleBody"],.woocommerce-Tabs-panel,#tab-description,.woocommerce-product-details__short-description)
:is(p,li,blockquote,dd,dt) a:not(.button){color:inherit!important;-webkit-text-fill-color:currentColor!important;opacity:1!important;}

/* Homepage: never let the light-state guard override intentional H1/hero colors. */
html.someh-authoritative-light body.home :is(h1,.entry-title,.page-title,.section-title,.entry-content h1,.page-content h1,.tie-content h1){
  -webkit-text-fill-color:initial!important;
  opacity:1!important;
  filter:none!important;
  mix-blend-mode:normal!important;
  text-shadow:revert!important;
}

/* The site uses Jannah's html.dark-skin class. Legacy Services rules only covered plugin dark classes. */
html.dark-skin body .services,
html.someh-authoritative-dark body .services{
  color:#f8fafc!important;
}
html.dark-skin body .services .service,
html.someh-authoritative-dark body .services .service{
  background:#111827!important;
  color:#f8fafc!important;
  border:1px solid #334155!important;
  box-shadow:0 10px 28px rgba(0,0,0,.16)!important;
}
html.dark-skin body .services .service :is(h1,h2,h3,h4,h5,h6),
html.someh-authoritative-dark body .services .service :is(h1,h2,h3,h4,h5,h6){
  color:#f8fafc!important;
  -webkit-text-fill-color:#f8fafc!important;
  text-shadow:none!important;
  opacity:1!important;
}
html.dark-skin body .services .service :is(p,li),
html.someh-authoritative-dark body .services .service :is(p,li){
  color:#d7dee8!important;
  -webkit-text-fill-color:#d7dee8!important;
  text-shadow:none!important;
  opacity:1!important;
  filter:none!important;
}
html.dark-skin body .services .service a,
html.someh-authoritative-dark body .services .service a{
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
  filter:none!important;
  mix-blend-mode:normal!important;
}
html.dark-skin body .services .service .wciwif-wrap,
html.someh-authoritative-dark body .services .service .wciwif-wrap{
  background:transparent!important;
  color:#f8fafc!important;
  filter:none!important;
  mix-blend-mode:normal!important;
}
html.dark-skin body .services .service .wif-frame,
html.someh-authoritative-dark body .services .service .wif-frame{
  background:#0f172a!important;
  border-color:#334155!important;
  filter:none!important;
  mix-blend-mode:normal!important;
}
html.dark-skin body .services .service .wif-caption,
html.someh-authoritative-dark body .services .service .wif-caption{
  color:#f8fafc!important;
  -webkit-text-fill-color:#f8fafc!important;
  background:rgba(15,23,42,.92)!important;
  border:1px solid rgba(148,163,184,.28)!important;
  text-shadow:none!important;
  opacity:1!important;
}
html.dark-skin body .services .service .wciwif-img,
html.someh-authoritative-dark body .services .service .wciwif-img{
  filter:none!important;
  opacity:1!important;
  mix-blend-mode:normal!important;
}
