/* TechniqueHow Menu Language & Theme add-on */
html body .sgppd-header .thmlt-controls,
html body .thmlt-controls{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  flex:0 0 auto!important;
  box-sizing:border-box!important;
  position:relative!important;
  z-index:999999!important;
  font-family:Arial, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif!important;
}
html body .thmlt-controls *{box-sizing:border-box!important;}
html body .thmlt-lang{position:relative!important;display:inline-flex!important;align-items:center!important;}
html body .thmlt-lang-btn,
html body .thmlt-theme{
  height:36px!important;
  min-height:36px!important;
  border:1px solid #d6d6d6!important;
  background:#fff!important;
  color:#111!important;
  border-radius:8px!important;
  box-shadow:0 1px 2px rgba(17,24,39,.04)!important;
}
html body .thmlt-lang-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-width:76px!important;
  padding:0 11px!important;
  cursor:pointer!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1!important;
  text-transform:uppercase!important;
  appearance:none!important;
}
html body .thmlt-lang-btn svg,
html body .thmlt-theme svg{display:block!important;stroke:currentColor!important;}
html body .thmlt-globe{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:0!important;color:#111!important;}
html body .thmlt-current-code{display:inline-block!important;min-width:20px!important;text-align:center!important;color:#111!important;letter-spacing:.02em!important;}
html body .thmlt-chevron{display:inline-flex!important;align-items:center!important;justify-content:center!important;color:#111!important;line-height:0!important;}
html body .thmlt-lang-menu{
  position:absolute!important;
  top:calc(100% + 9px)!important;
  right:0!important;
  width:230px!important;
  max-height:min(430px, calc(100vh - 92px))!important;
  overflow:auto!important;
  display:none!important;
  background:#fff!important;
  color:#111!important;
  border:1px solid #e5e7eb!important;
  border-radius:16px!important;
  padding:8px!important;
  box-shadow:0 18px 50px rgba(15,23,42,.18)!important;
  z-index:1000000!important;
}
html body .thmlt-lang.thmlt-open .thmlt-lang-menu{display:block!important;}
html body .thmlt-lang-item{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  border:0!important;
  background:transparent!important;
  color:#111!important;
  text-align:left!important;
  cursor:pointer!important;
  border-radius:12px!important;
  padding:9px 10px!important;
  font:inherit!important;
}
html body .thmlt-lang-item:hover,
html body .thmlt-lang-item.thmlt-active{background:#f3f7ff!important;}
html body .thmlt-lang-code{
  width:35px!important;
  height:28px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:8px!important;
  background:#eef3ff!important;
  color:#2453c4!important;
  font-size:12px!important;
  font-weight:900!important;
  flex:0 0 35px!important;
}
html body .thmlt-lang-name{display:flex!important;flex-direction:column!important;gap:1px!important;min-width:0!important;}
html body .thmlt-lang-name strong{font-size:13px!important;line-height:1.15!important;color:#111!important;font-weight:800!important;}
html body .thmlt-lang-name small{font-size:11px!important;line-height:1.15!important;color:#6b7280!important;font-weight:600!important;}
html body .thmlt-theme{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:75px!important;
  padding:0 8px!important;
  gap:7px!important;
}
html body .thmlt-theme-btn{
  width:24px!important;
  height:28px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#111!important;
  cursor:pointer!important;
  border-radius:7px!important;
  appearance:none!important;
}
html body .thmlt-theme-btn.thmlt-active{background:#f1f5ff!important;color:#0f172a!important;}
html body .thmlt-theme-divider{width:1px!important;height:22px!important;background:#d8d8d8!important;display:inline-block!important;}

/* Works with active search on the current GP header */
html body .sgppd-header .sgppd-search-form.sgppd-search-active ~ .thmlt-controls{visibility:hidden!important;pointer-events:none!important;}

/* Dark theme: main site and current SGPPD header/components */
html[data-thmlt-theme="dark"] body,
body.thmlt-theme-dark{
  background:#0b1020!important;
  color:#e8edf7!important;
}
html[data-thmlt-theme="dark"] .sgppd-header,
body.thmlt-theme-dark .sgppd-header{
  background:#0e1425!important;
  border-bottom-color:#253149!important;
}
html[data-thmlt-theme="dark"] .sgppd-header-inner,
body.thmlt-theme-dark .sgppd-header-inner{background:transparent!important;}
html[data-thmlt-theme="dark"] .sgppd-brand,
html[data-thmlt-theme="dark"] .sgppd-nav a,
html[data-thmlt-theme="dark"] .sgppd-mobile-item,
html[data-thmlt-theme="dark"] .sgppd-mobile-login,
body.thmlt-theme-dark .sgppd-brand,
body.thmlt-theme-dark .sgppd-nav a,
body.thmlt-theme-dark .sgppd-mobile-item,
body.thmlt-theme-dark .sgppd-mobile-login{color:#e8edf7!important;}
html[data-thmlt-theme="dark"] .sgppd-search span,
body.thmlt-theme-dark .sgppd-search span{border-color:#e8edf7!important;}
html[data-thmlt-theme="dark"] .sgppd-search span:after,
body.thmlt-theme-dark .sgppd-search span:after{background:#e8edf7!important;}
html[data-thmlt-theme="dark"] .sgppd-login,
body.thmlt-theme-dark .sgppd-login{
  background:#111a2d!important;
  color:#e8edf7!important;
  border-color:#3a4764!important;
}
html[data-thmlt-theme="dark"] .sgppd-burger,
body.thmlt-theme-dark .sgppd-burger{
  background:#111a2d!important;
  border-color:#e8edf7!important;
}
html[data-thmlt-theme="dark"] .sgppd-burger span,
body.thmlt-theme-dark .sgppd-burger span{background:#e8edf7!important;}
html[data-thmlt-theme="dark"] .sgppd-mobile-panel,
body.thmlt-theme-dark .sgppd-mobile-panel{
  background:#0f172a!important;
  border-color:#26344d!important;
  box-shadow:0 18px 50px rgba(0,0,0,.45)!important;
}
html[data-thmlt-theme="dark"] .sgppd-mobile-card,
body.thmlt-theme-dark .sgppd-mobile-card{border-bottom-color:#26344d!important;}
html[data-thmlt-theme="dark"] .sgppd-mobile-login,
html[data-thmlt-theme="dark"] .sgppd-mobile-item,
body.thmlt-theme-dark .sgppd-mobile-login,
body.thmlt-theme-dark .sgppd-mobile-item{background:#0f172a!important;}
html[data-thmlt-theme="dark"] .sgppd-mobile-login:hover,
html[data-thmlt-theme="dark"] .sgppd-mobile-item:hover,
body.thmlt-theme-dark .sgppd-mobile-login:hover,
body.thmlt-theme-dark .sgppd-mobile-item:hover{background:#172033!important;}
html[data-thmlt-theme="dark"] .sgppd-mobile-login small,
html[data-thmlt-theme="dark"] .sgppd-mobile-item small,
body.thmlt-theme-dark .sgppd-mobile-login small,
body.thmlt-theme-dark .sgppd-mobile-item small{color:#9ca8bd!important;}
html[data-thmlt-theme="dark"] .sgppd-hero,
html[data-thmlt-theme="dark"] .sgppd-title,
html[data-thmlt-theme="dark"] .sgppd-content-wrap,
html[data-thmlt-theme="dark"] .sgppd-content-wrap h1,
html[data-thmlt-theme="dark"] .sgppd-content-wrap h2,
html[data-thmlt-theme="dark"] .sgppd-content-wrap h3,
body.thmlt-theme-dark .sgppd-hero,
body.thmlt-theme-dark .sgppd-title,
body.thmlt-theme-dark .sgppd-content-wrap,
body.thmlt-theme-dark .sgppd-content-wrap h1,
body.thmlt-theme-dark .sgppd-content-wrap h2,
body.thmlt-theme-dark .sgppd-content-wrap h3{color:#f4f7ff!important;}
html[data-thmlt-theme="dark"] .sgppd-content-wrap p,
html[data-thmlt-theme="dark"] .sgppd-content-wrap li,
body.thmlt-theme-dark .sgppd-content-wrap p,
body.thmlt-theme-dark .sgppd-content-wrap li{color:#d7deea!important;}
html[data-thmlt-theme="dark"] input,
html[data-thmlt-theme="dark"] textarea,
html[data-thmlt-theme="dark"] select,
body.thmlt-theme-dark input,
body.thmlt-theme-dark textarea,
body.thmlt-theme-dark select{
  background:#121b2f!important;
  color:#f3f6fb!important;
  border-color:#33415f!important;
}
html[data-thmlt-theme="dark"] input::placeholder,
html[data-thmlt-theme="dark"] textarea::placeholder,
body.thmlt-theme-dark input::placeholder,
body.thmlt-theme-dark textarea::placeholder{color:#9aa7bd!important;opacity:1!important;}
html[data-thmlt-theme="dark"] .thmlt-lang-btn,
html[data-thmlt-theme="dark"] .thmlt-theme,
body.thmlt-theme-dark .thmlt-lang-btn,
body.thmlt-theme-dark .thmlt-theme{
  background:#111a2d!important;
  color:#f3f6fb!important;
  border-color:#33415f!important;
  box-shadow:none!important;
}
html[data-thmlt-theme="dark"] .thmlt-globe,
html[data-thmlt-theme="dark"] .thmlt-current-code,
html[data-thmlt-theme="dark"] .thmlt-chevron,
html[data-thmlt-theme="dark"] .thmlt-theme-btn,
body.thmlt-theme-dark .thmlt-globe,
body.thmlt-theme-dark .thmlt-current-code,
body.thmlt-theme-dark .thmlt-chevron,
body.thmlt-theme-dark .thmlt-theme-btn{color:#f3f6fb!important;}
html[data-thmlt-theme="dark"] .thmlt-theme-btn.thmlt-active,
body.thmlt-theme-dark .thmlt-theme-btn.thmlt-active{background:#22304b!important;color:#fff!important;}
html[data-thmlt-theme="dark"] .thmlt-theme-divider,
body.thmlt-theme-dark .thmlt-theme-divider{background:#40506e!important;}
html[data-thmlt-theme="dark"] .thmlt-lang-menu,
body.thmlt-theme-dark .thmlt-lang-menu{
  background:#0f172a!important;
  color:#f3f6fb!important;
  border-color:#29364f!important;
  box-shadow:0 20px 55px rgba(0,0,0,.55)!important;
}
html[data-thmlt-theme="dark"] .thmlt-lang-item,
body.thmlt-theme-dark .thmlt-lang-item{color:#f3f6fb!important;}
html[data-thmlt-theme="dark"] .thmlt-lang-item:hover,
html[data-thmlt-theme="dark"] .thmlt-lang-item.thmlt-active,
body.thmlt-theme-dark .thmlt-lang-item:hover,
body.thmlt-theme-dark .thmlt-lang-item.thmlt-active{background:#17233a!important;}
html[data-thmlt-theme="dark"] .thmlt-lang-code,
body.thmlt-theme-dark .thmlt-lang-code{background:#1d2b47!important;color:#9fc0ff!important;}
html[data-thmlt-theme="dark"] .thmlt-lang-name strong,
body.thmlt-theme-dark .thmlt-lang-name strong{color:#f3f6fb!important;}
html[data-thmlt-theme="dark"] .thmlt-lang-name small,
body.thmlt-theme-dark .thmlt-lang-name small{color:#9ca8bd!important;}

@media(max-width:768px){
  html body .sgppd-header .thmlt-controls{gap:6px!important;}
  html body .sgppd-header .thmlt-lang-btn{height:42px!important;min-height:42px!important;min-width:59px!important;padding:0 7px!important;border-radius:10px!important;gap:4px!important;}
  html body .sgppd-header .thmlt-theme{height:42px!important;min-height:42px!important;min-width:63px!important;padding:0 5px!important;border-radius:10px!important;gap:5px!important;}
  html body .sgppd-header .thmlt-theme-btn{width:22px!important;height:30px!important;}
  html body .sgppd-header .thmlt-theme-btn svg{width:20px!important;height:20px!important;}
  html body .sgppd-header .thmlt-globe svg{width:19px!important;height:19px!important;}
  html body .sgppd-header .thmlt-current-code{font-size:13px!important;min-width:18px!important;}
  html body .sgppd-header .thmlt-chevron svg{width:12px!important;height:12px!important;}
  html body .sgppd-header .thmlt-lang-menu{right:-70px!important;width:222px!important;top:calc(100% + 8px)!important;}
  html body .sgppd-header .sgppd-actions{gap:6px!important;}
}
@media(max-width:430px){
  html body .sgppd-header .thmlt-controls{gap:5px!important;}
  html body .sgppd-header .thmlt-lang-btn{min-width:54px!important;padding:0 6px!important;}
  html body .sgppd-header .thmlt-theme{min-width:59px!important;gap:4px!important;padding:0 4px!important;}
  html body .sgppd-header .thmlt-globe svg{width:17px!important;height:17px!important;}
  html body .sgppd-header .thmlt-current-code{font-size:12px!important;}
  html body .sgppd-header .thmlt-chevron{display:none!important;}
}
@media(max-width:370px){
  html body .sgppd-header .thmlt-theme{min-width:52px!important;}
  html body .sgppd-header .thmlt-theme-divider{display:none!important;}
  html body .sgppd-header .thmlt-theme-btn{width:20px!important;}
}
/* Wider dark-mode protection for GeneratePress/Gutenberg/GenerateBlocks pages */
html[data-thmlt-theme="dark"] .site,
html[data-thmlt-theme="dark"] .site-content,
html[data-thmlt-theme="dark"] .inside-article,
html[data-thmlt-theme="dark"] .entry-content,
html[data-thmlt-theme="dark"] main,
html[data-thmlt-theme="dark"] article,
body.thmlt-theme-dark .site,
body.thmlt-theme-dark .site-content,
body.thmlt-theme-dark .inside-article,
body.thmlt-theme-dark .entry-content,
body.thmlt-theme-dark main,
body.thmlt-theme-dark article{background:#0b1020!important;color:#e8edf7!important;}
html[data-thmlt-theme="dark"] .entry-content h1,
html[data-thmlt-theme="dark"] .entry-content h2,
html[data-thmlt-theme="dark"] .entry-content h3,
html[data-thmlt-theme="dark"] .entry-content h4,
html[data-thmlt-theme="dark"] .entry-content h5,
html[data-thmlt-theme="dark"] .entry-content h6,
body.thmlt-theme-dark .entry-content h1,
body.thmlt-theme-dark .entry-content h2,
body.thmlt-theme-dark .entry-content h3,
body.thmlt-theme-dark .entry-content h4,
body.thmlt-theme-dark .entry-content h5,
body.thmlt-theme-dark .entry-content h6{color:#f4f7ff!important;}
html[data-thmlt-theme="dark"] .entry-content p,
html[data-thmlt-theme="dark"] .entry-content li,
html[data-thmlt-theme="dark"] .entry-content span,
body.thmlt-theme-dark .entry-content p,
body.thmlt-theme-dark .entry-content li,
body.thmlt-theme-dark .entry-content span{color:inherit;}
html[data-thmlt-theme="dark"] .entry-content a,
body.thmlt-theme-dark .entry-content a{color:#93c5fd;}

/* v1.1.5 full-page translation support: keep the Google engine hidden and prevent layout jump */
html body .thmlt-google-translate-element,
html body .thmlt-google-translate-element *,
html body .goog-te-gadget,
html body .goog-te-banner-frame,
html body iframe.goog-te-banner-frame,
html body .skiptranslate iframe{
  display:none!important;
  visibility:hidden!important;
  width:0!important;
  height:0!important;
  opacity:0!important;
  pointer-events:none!important;
}
html body{top:0!important;}
html body .thmlt-controls.notranslate,
html body .thmlt-controls.notranslate *{translate:no!important;}
@media (max-width: 768px){
  html body .thmlt-controls{gap:6px!important;}
  html body .thmlt-lang-btn,
  html body .thmlt-theme{height:32px!important;min-height:32px!important;border-radius:7px!important;}
  html body .thmlt-lang-btn{min-width:64px!important;padding:0 7px!important;gap:5px!important;font-size:11px!important;}
  html body .thmlt-theme{min-width:62px!important;padding:0 5px!important;gap:4px!important;}
  html body .thmlt-theme-btn{width:21px!important;height:24px!important;}
  html body .thmlt-theme-divider{height:18px!important;}
  html body .thmlt-lang-btn svg{width:17px!important;height:17px!important;}
  html body .thmlt-chevron svg{width:12px!important;height:12px!important;}
  html body .thmlt-theme svg{width:18px!important;height:18px!important;}
}


/* v1.1.6: dark-mode visibility fixes for logo, hero titles and Gutenberg/GP headings */
html[data-thmlt-theme="dark"] .site-logo img,
html[data-thmlt-theme="dark"] .custom-logo,
html[data-thmlt-theme="dark"] .sgppd-logo img,
html[data-thmlt-theme="dark"] .sgppd-brand img,
html[data-thmlt-theme="dark"] header img.custom-logo,
body.thmlt-theme-dark .site-logo img,
body.thmlt-theme-dark .custom-logo,
body.thmlt-theme-dark .sgppd-logo img,
body.thmlt-theme-dark .sgppd-brand img,
body.thmlt-theme-dark header img.custom-logo{
  filter:brightness(0) invert(1) contrast(1.15)!important;
  opacity:1!important;
}
html[data-thmlt-theme="dark"] .site-title,
html[data-thmlt-theme="dark"] .site-title a,
html[data-thmlt-theme="dark"] .main-title,
html[data-thmlt-theme="dark"] .main-title a,
body.thmlt-theme-dark .site-title,
body.thmlt-theme-dark .site-title a,
body.thmlt-theme-dark .main-title,
body.thmlt-theme-dark .main-title a{color:#f8fbff!important;}

/* Keep light hero/page-builder blocks readable when dark header mode is active */
html[data-thmlt-theme="dark"] .sgppd-hero h1,
html[data-thmlt-theme="dark"] .sgppd-hero h2,
html[data-thmlt-theme="dark"] .sgppd-hero h3,
html[data-thmlt-theme="dark"] .sgppd-hero .sgppd-title,
html[data-thmlt-theme="dark"] .sgppd-hero .gb-headline,
html[data-thmlt-theme="dark"] .sgppd-hero .wp-block-heading,
body.thmlt-theme-dark .sgppd-hero h1,
body.thmlt-theme-dark .sgppd-hero h2,
body.thmlt-theme-dark .sgppd-hero h3,
body.thmlt-theme-dark .sgppd-hero .sgppd-title,
body.thmlt-theme-dark .sgppd-hero .gb-headline,
body.thmlt-theme-dark .sgppd-hero .wp-block-heading{color:#08234a!important;text-shadow:none!important;opacity:1!important;}
html[data-thmlt-theme="dark"] .sgppd-hero p,
html[data-thmlt-theme="dark"] .sgppd-hero li,
html[data-thmlt-theme="dark"] .sgppd-hero span:not(.thmlt-current-code):not(.thmlt-globe):not(.thmlt-chevron),
body.thmlt-theme-dark .sgppd-hero p,
body.thmlt-theme-dark .sgppd-hero li,
body.thmlt-theme-dark .sgppd-hero span:not(.thmlt-current-code):not(.thmlt-globe):not(.thmlt-chevron){color:#4b5f7d!important;opacity:1!important;}

/* Protect normal posts/pages when a real dark background is used */
html[data-thmlt-theme="dark"] .inside-article h1,
html[data-thmlt-theme="dark"] .inside-article h2,
html[data-thmlt-theme="dark"] .inside-article h3,
html[data-thmlt-theme="dark"] .inside-article h4,
html[data-thmlt-theme="dark"] .entry-title,
html[data-thmlt-theme="dark"] .page-title,
body.thmlt-theme-dark .inside-article h1,
body.thmlt-theme-dark .inside-article h2,
body.thmlt-theme-dark .inside-article h3,
body.thmlt-theme-dark .inside-article h4,
body.thmlt-theme-dark .entry-title,
body.thmlt-theme-dark .page-title{color:#f8fbff!important;opacity:1!important;}
html[data-thmlt-theme="dark"] .has-background:not(.has-white-background-color):not(.has-light-background-color) h1,
html[data-thmlt-theme="dark"] .has-background:not(.has-white-background-color):not(.has-light-background-color) h2,
html[data-thmlt-theme="dark"] .has-background:not(.has-white-background-color):not(.has-light-background-color) h3,
body.thmlt-theme-dark .has-background:not(.has-white-background-color):not(.has-light-background-color) h1,
body.thmlt-theme-dark .has-background:not(.has-white-background-color):not(.has-light-background-color) h2,
body.thmlt-theme-dark .has-background:not(.has-white-background-color):not(.has-light-background-color) h3{color:#f8fbff!important;}
html[data-thmlt-theme="dark"] .has-white-background-color h1,
html[data-thmlt-theme="dark"] .has-white-background-color h2,
html[data-thmlt-theme="dark"] .has-white-background-color h3,
html[data-thmlt-theme="dark"] .has-light-background-color h1,
html[data-thmlt-theme="dark"] .has-light-background-color h2,
html[data-thmlt-theme="dark"] .has-light-background-color h3,
body.thmlt-theme-dark .has-white-background-color h1,
body.thmlt-theme-dark .has-white-background-color h2,
body.thmlt-theme-dark .has-white-background-color h3,
body.thmlt-theme-dark .has-light-background-color h1,
body.thmlt-theme-dark .has-light-background-color h2,
body.thmlt-theme-dark .has-light-background-color h3{color:#08234a!important;}

/* v2.1.1 hard dark-mode readability patch */
html[data-thmlt-theme="dark"] body,
body.thmlt-theme-dark{background:#0b1020!important;}
html[data-thmlt-theme="dark"] .entry-content h1,
html[data-thmlt-theme="dark"] .entry-content h2,
html[data-thmlt-theme="dark"] .entry-content h3,
html[data-thmlt-theme="dark"] .entry-content h4,
html[data-thmlt-theme="dark"] .entry-title,
html[data-thmlt-theme="dark"] .page-title,
html[data-thmlt-theme="dark"] .gb-headline,
html[data-thmlt-theme="dark"] .wp-block-heading,
body.thmlt-theme-dark .entry-content h1,
body.thmlt-theme-dark .entry-content h2,
body.thmlt-theme-dark .entry-content h3,
body.thmlt-theme-dark .entry-content h4,
body.thmlt-theme-dark .entry-title,
body.thmlt-theme-dark .page-title,
body.thmlt-theme-dark .gb-headline,
body.thmlt-theme-dark .wp-block-heading{opacity:1!important;text-shadow:none!important;}
html[data-thmlt-theme="dark"] .site-header,
html[data-thmlt-theme="dark"] .sgppd-header,
body.thmlt-theme-dark .site-header,
body.thmlt-theme-dark .sgppd-header{background:#0b1020!important;color:#f8fbff!important;}
html[data-thmlt-theme="dark"] .site-header a,
html[data-thmlt-theme="dark"] .sgppd-header a,
html[data-thmlt-theme="dark"] .main-navigation a,
body.thmlt-theme-dark .site-header a,
body.thmlt-theme-dark .sgppd-header a,
body.thmlt-theme-dark .main-navigation a{color:#f8fbff!important;opacity:1!important;}
/* Keep the translation engine hidden and stable */
html.translated-ltr body,
html.translated-rtl body{top:0!important;position:static!important;}
.skiptranslate,
.goog-te-banner-frame,
iframe.goog-te-banner-frame{display:none!important;visibility:hidden!important;height:0!important;}


/* v2.1.2: no permanent dark-mode damage + stronger contrast for mixed light/dark sections */
html[data-thmlt-theme="dark"] .thmlt-force-light-text,
body.thmlt-theme-dark .thmlt-force-light-text{color:#f8fbff!important;opacity:1!important;text-shadow:none!important;}
html[data-thmlt-theme="dark"] .thmlt-force-dark-text,
body.thmlt-theme-dark .thmlt-force-dark-text{color:#08234a!important;opacity:1!important;text-shadow:none!important;}
html[data-thmlt-theme="dark"] .thmlt-force-muted-light,
body.thmlt-theme-dark .thmlt-force-muted-light{color:#d7deeb!important;opacity:1!important;text-shadow:none!important;}
html[data-thmlt-theme="dark"] .thmlt-force-muted-dark,
body.thmlt-theme-dark .thmlt-force-muted-dark{color:#4b5f7d!important;opacity:1!important;text-shadow:none!important;}

/* IMPORTANT: light mode must not inherit any dark-mode colors. These rules only apply while light is active. */
html[data-thmlt-theme="light"] body.thmlt-theme-light .thmlt-force-light-text,
html[data-thmlt-theme="light"] body.thmlt-theme-light .thmlt-force-dark-text,
html[data-thmlt-theme="light"] body.thmlt-theme-light .thmlt-force-muted-light,
html[data-thmlt-theme="light"] body.thmlt-theme-light .thmlt-force-muted-dark{
  color:inherit!important;
  text-shadow:inherit!important;
}
html[data-thmlt-theme="light"] body.thmlt-theme-light .site-logo img,
html[data-thmlt-theme="light"] body.thmlt-theme-light .custom-logo,
html[data-thmlt-theme="light"] body.thmlt-theme-light .sgppd-logo img,
html[data-thmlt-theme="light"] body.thmlt-theme-light .sgppd-brand img{
  filter:none!important;
  opacity:1!important;
}
html[data-thmlt-theme="dark"] .sgppd-hero,
body.thmlt-theme-dark .sgppd-hero{
  background-color:#eaf4ff!important;
}
html[data-thmlt-theme="dark"] .sgppd-hero h1,
html[data-thmlt-theme="dark"] .sgppd-hero h2,
html[data-thmlt-theme="dark"] .sgppd-hero h3,
html[data-thmlt-theme="dark"] .sgppd-hero .sgppd-title,
body.thmlt-theme-dark .sgppd-hero h1,
body.thmlt-theme-dark .sgppd-hero h2,
body.thmlt-theme-dark .sgppd-hero h3,
body.thmlt-theme-dark .sgppd-hero .sgppd-title{
  color:#08234a!important;
  opacity:1!important;
}
html[data-thmlt-theme="dark"] .sgppd-hero p,
html[data-thmlt-theme="dark"] .sgppd-hero .sgppd-subtitle,
body.thmlt-theme-dark .sgppd-hero p,
body.thmlt-theme-dark .sgppd-hero .sgppd-subtitle{
  color:#4b5f7d!important;
  opacity:1!important;
}


/* v2.1.6: Core dark-mode readability + cleaner custom HTML/post boxes */
html[data-thmlt-theme="dark"],
html[data-thmlt-theme="dark"] body,
body.thmlt-theme-dark{
  background:#0b1020!important;
  color:#dbe7ff!important;
}

/* Keep light visual sections readable in dark mode (custom HTML, GenerateBlocks, Gutenberg groups, hero/banner blocks) */
html[data-thmlt-theme="dark"] .entry-content > .wp-block-group:first-child,
html[data-thmlt-theme="dark"] .entry-content > .gb-container:first-child,
html[data-thmlt-theme="dark"] .entry-content > section:first-child,
html[data-thmlt-theme="dark"] .entry-content [class*="hero"],
html[data-thmlt-theme="dark"] .entry-content [class*="Hero"],
html[data-thmlt-theme="dark"] .entry-content [class*="banner"],
html[data-thmlt-theme="dark"] .entry-content [class*="Banner"],
html[data-thmlt-theme="dark"] .entry-content [class*="intro"],
html[data-thmlt-theme="dark"] .entry-content [style*="background:#f"],
html[data-thmlt-theme="dark"] .entry-content [style*="background: #f"],
html[data-thmlt-theme="dark"] .entry-content [style*="background-color:#f"],
html[data-thmlt-theme="dark"] .entry-content [style*="background-color: #f"],
html[data-thmlt-theme="dark"] .entry-content [style*="background: rgb(2"],
html[data-thmlt-theme="dark"] .entry-content [style*="background-color: rgb(2"],
html[data-thmlt-theme="dark"] .entry-content .has-white-background-color,
html[data-thmlt-theme="dark"] .entry-content .has-light-background-color,
html[data-thmlt-theme="dark"] .entry-content .has-pale-cyan-blue-background-color,
html[data-thmlt-theme="dark"] .entry-content .has-pale-green-cyan-background-color,
html[data-thmlt-theme="dark"] .entry-content .wp-block-cover.has-background-dim:not(.has-background-dim-100),
body.thmlt-theme-dark .entry-content > .wp-block-group:first-child,
body.thmlt-theme-dark .entry-content > .gb-container:first-child,
body.thmlt-theme-dark .entry-content > section:first-child,
body.thmlt-theme-dark .entry-content [class*="hero"],
body.thmlt-theme-dark .entry-content [class*="Hero"],
body.thmlt-theme-dark .entry-content [class*="banner"],
body.thmlt-theme-dark .entry-content [class*="Banner"],
body.thmlt-theme-dark .entry-content [class*="intro"],
body.thmlt-theme-dark .entry-content [style*="background:#f"],
body.thmlt-theme-dark .entry-content [style*="background: #f"],
body.thmlt-theme-dark .entry-content [style*="background-color:#f"],
body.thmlt-theme-dark .entry-content [style*="background-color: #f"],
body.thmlt-theme-dark .entry-content [style*="background: rgb(2"],
body.thmlt-theme-dark .entry-content [style*="background-color: rgb(2"],
body.thmlt-theme-dark .entry-content .has-white-background-color,
body.thmlt-theme-dark .entry-content .has-light-background-color,
body.thmlt-theme-dark .entry-content .has-pale-cyan-blue-background-color,
body.thmlt-theme-dark .entry-content .has-pale-green-cyan-background-color,
body.thmlt-theme-dark .entry-content .wp-block-cover.has-background-dim:not(.has-background-dim-100){
  color:#08234a!important;
  border-color:rgba(86,139,221,.28)!important;
}

html[data-thmlt-theme="dark"] .entry-content > .wp-block-group:first-child h1,
html[data-thmlt-theme="dark"] .entry-content > .wp-block-group:first-child h2,
html[data-thmlt-theme="dark"] .entry-content > .wp-block-group:first-child h3,
html[data-thmlt-theme="dark"] .entry-content > .gb-container:first-child h1,
html[data-thmlt-theme="dark"] .entry-content > .gb-container:first-child h2,
html[data-thmlt-theme="dark"] .entry-content > .gb-container:first-child h3,
html[data-thmlt-theme="dark"] .entry-content [class*="hero"] h1,
html[data-thmlt-theme="dark"] .entry-content [class*="hero"] h2,
html[data-thmlt-theme="dark"] .entry-content [class*="banner"] h1,
html[data-thmlt-theme="dark"] .entry-content [class*="banner"] h2,
html[data-thmlt-theme="dark"] .entry-content [style*="background"] h1,
html[data-thmlt-theme="dark"] .entry-content [style*="background"] h2,
html[data-thmlt-theme="dark"] .entry-content [style*="background"] h3,
body.thmlt-theme-dark .entry-content > .wp-block-group:first-child h1,
body.thmlt-theme-dark .entry-content > .wp-block-group:first-child h2,
body.thmlt-theme-dark .entry-content > .wp-block-group:first-child h3,
body.thmlt-theme-dark .entry-content > .gb-container:first-child h1,
body.thmlt-theme-dark .entry-content > .gb-container:first-child h2,
body.thmlt-theme-dark .entry-content > .gb-container:first-child h3,
body.thmlt-theme-dark .entry-content [class*="hero"] h1,
body.thmlt-theme-dark .entry-content [class*="hero"] h2,
body.thmlt-theme-dark .entry-content [class*="banner"] h1,
body.thmlt-theme-dark .entry-content [class*="banner"] h2,
body.thmlt-theme-dark .entry-content [style*="background"] h1,
body.thmlt-theme-dark .entry-content [style*="background"] h2,
body.thmlt-theme-dark .entry-content [style*="background"] h3{
  color:#08234a!important;
  opacity:1!important;
  text-shadow:none!important;
}

html[data-thmlt-theme="dark"] .entry-content [style*="background"] p,
html[data-thmlt-theme="dark"] .entry-content [style*="background"] li,
html[data-thmlt-theme="dark"] .entry-content [style*="background"] span:not(.thmlt-current-code):not(.thmlt-globe),
body.thmlt-theme-dark .entry-content [style*="background"] p,
body.thmlt-theme-dark .entry-content [style*="background"] li,
body.thmlt-theme-dark .entry-content [style*="background"] span:not(.thmlt-current-code):not(.thmlt-globe){
  color:#425a7a!important;
  opacity:1!important;
}

/* Make post/page title header cards nicer in dark mode instead of flat/nasty pale boxes */
html[data-thmlt-theme="dark"] .inside-article,
body.thmlt-theme-dark .inside-article{
  background:#0f172a!important;
  color:#dbe7ff!important;
}
html[data-thmlt-theme="dark"] .entry-header,
html[data-thmlt-theme="dark"] .page-header,
body.thmlt-theme-dark .entry-header,
body.thmlt-theme-dark .page-header{
  background:linear-gradient(135deg,#eaf4ff 0%,#f8fbff 100%)!important;
  border:1px solid rgba(109,146,207,.28)!important;
  border-radius:18px!important;
  box-shadow:0 18px 50px rgba(0,0,0,.18)!important;
  padding:34px!important;
  margin-bottom:28px!important;
  color:#08234a!important;
}
html[data-thmlt-theme="dark"] .entry-header .entry-title,
html[data-thmlt-theme="dark"] .page-header .page-title,
html[data-thmlt-theme="dark"] .entry-header h1,
body.thmlt-theme-dark .entry-header .entry-title,
body.thmlt-theme-dark .page-header .page-title,
body.thmlt-theme-dark .entry-header h1{
  color:#08234a!important;
  opacity:1!important;
  text-shadow:none!important;
}
html[data-thmlt-theme="dark"] .entry-meta,
html[data-thmlt-theme="dark"] .entry-meta a,
body.thmlt-theme-dark .entry-meta,
body.thmlt-theme-dark .entry-meta a{
  color:#4b5f7d!important;
  opacity:1!important;
}

/* Buttons/links inside light cards must not become faded */
html[data-thmlt-theme="dark"] .entry-content [style*="background"] a,
body.thmlt-theme-dark .entry-content [style*="background"] a{opacity:1!important;}
html[data-thmlt-theme="dark"] .entry-content [style*="background"] button,
html[data-thmlt-theme="dark"] .entry-content [style*="background"] .button,
html[data-thmlt-theme="dark"] .entry-content [style*="background"] .wp-block-button__link,
body.thmlt-theme-dark .entry-content [style*="background"] button,
body.thmlt-theme-dark .entry-content [style*="background"] .button,
body.thmlt-theme-dark .entry-content [style*="background"] .wp-block-button__link{
  color:#fff!important;
  opacity:1!important;
}

/* Light mode: instantly restore normal backgrounds and colors without reload */
html[data-thmlt-theme="light"] body.thmlt-theme-light,
html[data-thmlt-theme="light"] body.thmlt-theme-light .inside-article,
html[data-thmlt-theme="light"] body.thmlt-theme-light .entry-header,
html[data-thmlt-theme="light"] body.thmlt-theme-light .page-header{
  background:revert!important;
  color:revert!important;
  border-color:revert!important;
  box-shadow:revert!important;
}
html[data-thmlt-theme="light"] body.thmlt-theme-light .entry-header,
html[data-thmlt-theme="light"] body.thmlt-theme-light .page-header{
  border-radius:revert!important;
  padding:revert!important;
  margin-bottom:revert!important;
}
html[data-thmlt-theme="light"] body.thmlt-theme-light .entry-content h1,
html[data-thmlt-theme="light"] body.thmlt-theme-light .entry-content h2,
html[data-thmlt-theme="light"] body.thmlt-theme-light .entry-content h3,
html[data-thmlt-theme="light"] body.thmlt-theme-light .entry-content p,
html[data-thmlt-theme="light"] body.thmlt-theme-light .entry-content li,
html[data-thmlt-theme="light"] body.thmlt-theme-light .entry-title,
html[data-thmlt-theme="light"] body.thmlt-theme-light .page-title{
  color:revert!important;
  opacity:revert!important;
  text-shadow:revert!important;
}


/* v2.1.6 hard patch: custom HTML/card contrast in dark mode */
html[data-thmlt-theme="dark"] .entry-content .thmlt-light-panel,
body.thmlt-theme-dark .entry-content .thmlt-light-panel,
html[data-thmlt-theme="dark"] .entry-content [style*="background"],
body.thmlt-theme-dark .entry-content [style*="background"],
html[data-thmlt-theme="dark"] .site-main [style*="background"],
body.thmlt-theme-dark .site-main [style*="background"]{
  opacity:1!important;
}
html[data-thmlt-theme="dark"] .entry-content .thmlt-light-panel :where(h1,h2,h3,h4,h5,h6,.gb-headline,.wp-block-heading,.entry-title,.page-title,[class*="title"],[class*="headline"]),
body.thmlt-theme-dark .entry-content .thmlt-light-panel :where(h1,h2,h3,h4,h5,h6,.gb-headline,.wp-block-heading,.entry-title,.page-title,[class*="title"],[class*="headline"]),
html[data-thmlt-theme="dark"] .entry-content [style*="background"] :where(h1,h2,h3,h4,h5,h6,.gb-headline,.wp-block-heading,[class*="title"],[class*="headline"]),
body.thmlt-theme-dark .entry-content [style*="background"] :where(h1,h2,h3,h4,h5,h6,.gb-headline,.wp-block-heading,[class*="title"],[class*="headline"]){
  color:#08234a!important;
  opacity:1!important;
  text-shadow:none!important;
  filter:none!important;
}
html[data-thmlt-theme="dark"] .entry-content .thmlt-light-panel :where(p,li,span,small,div):not(button):not(.button):not(.wp-block-button__link):not([class*="icon"]),
body.thmlt-theme-dark .entry-content .thmlt-light-panel :where(p,li,span,small,div):not(button):not(.button):not(.wp-block-button__link):not([class*="icon"]),
html[data-thmlt-theme="dark"] .entry-content [style*="background"] :where(p,li,span,small):not(button):not(.button):not(.wp-block-button__link):not([class*="icon"]),
body.thmlt-theme-dark .entry-content [style*="background"] :where(p,li,span,small):not(button):not(.button):not(.wp-block-button__link):not([class*="icon"]){
  color:#405778!important;
  opacity:1!important;
  text-shadow:none!important;
  filter:none!important;
}
html[data-thmlt-theme="dark"] .entry-content .thmlt-force-dark-text,
body.thmlt-theme-dark .entry-content .thmlt-force-dark-text{color:#08234a!important;opacity:1!important;text-shadow:none!important;}
html[data-thmlt-theme="dark"] .entry-content .thmlt-force-muted-dark,
body.thmlt-theme-dark .entry-content .thmlt-force-muted-dark{color:#405778!important;opacity:1!important;text-shadow:none!important;}
html[data-thmlt-theme="dark"] .entry-content .thmlt-force-light-text,
body.thmlt-theme-dark .entry-content .thmlt-force-light-text{color:#f8fbff!important;opacity:1!important;text-shadow:none!important;}
html[data-thmlt-theme="dark"] .entry-content .thmlt-force-muted-light,
body.thmlt-theme-dark .entry-content .thmlt-force-muted-light{color:#d7deeb!important;opacity:1!important;text-shadow:none!important;}

/* Keep post grids/cards clean in dark mode */
html[data-thmlt-theme="dark"] .wp-block-post,
body.thmlt-theme-dark .wp-block-post,
html[data-thmlt-theme="dark"] article[class*="post"] .inside-article,
body.thmlt-theme-dark article[class*="post"] .inside-article{
  border-color:rgba(148,163,184,.22)!important;
}

/* Light mode must drop every forced dark-mode visual immediately */
html[data-thmlt-theme="light"] .thmlt-force-light-text,
html[data-thmlt-theme="light"] .thmlt-force-dark-text,
html[data-thmlt-theme="light"] .thmlt-force-muted-light,
html[data-thmlt-theme="light"] .thmlt-force-muted-dark,
body.thmlt-theme-light .thmlt-force-light-text,
body.thmlt-theme-light .thmlt-force-dark-text,
body.thmlt-theme-light .thmlt-force-muted-light,
body.thmlt-theme-light .thmlt-force-muted-dark{
  color:revert!important;
  opacity:revert!important;
  text-shadow:revert!important;
  filter:revert!important;
}
