/* Visual identity only: colors and font families. Keep all theme geometry. */
:root {
  --bloghash-primary: #0b6964;
  --bloghash-primary_80: #dff0ee;
  --bloghash-primary_15: #085650;
  --bloghash-primary_27: rgba(11, 105, 100, 0.27);
  --bloghash-primary_10: rgba(11, 105, 100, 0.1);
  --bloghash-secondary: #172e46;
}

/* Leave body typography inherited by advertising wrappers untouched.
   Apply reading fonts to text elements, excluding ad trees and their parents.
   Icon fonts, SVG artwork, sizes, weights and line heights remain unchanged. */
/* The compound selectors below deliberately have no descendant combinator. */
:is(p, li, dd, dt, figcaption, label, legend, input, textarea, select, button, .entry-meta, .bloghash-breadcrumbs, .site-description, .bcn-cta, .bcn-author, #bcn-cookie, .site-navigation a, .bloghash-btn):not(:where([data-bcn-slot], [data-bcn-slot] *, [id^="ezoic-pub-ad-placeholder"], [id^="ezoic-pub-ad-placeholder"] *, ins, ins *, iframe, .adsbygoogle, .adsbygoogle *, .fa, .fas, .far, .fab, .dashicons, .bloghash-icon)):not(:has([data-bcn-slot], [id^="ezoic-pub-ad-placeholder"], ins, iframe, .adsbygoogle)) {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

:is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .site-title):not(:where([data-bcn-slot], [data-bcn-slot] *, [id^="ezoic-pub-ad-placeholder"], [id^="ezoic-pub-ad-placeholder"] *, ins, ins *, .adsbygoogle, .adsbygoogle *)):not(:has([data-bcn-slot], [id^="ezoic-pub-ad-placeholder"], ins, iframe, .adsbygoogle)) {
  font-family: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  color: #172e46;
}

body {
  background-color: #f4f7f9;
}

.post-category .cat-links a {
  --bloghash-primary: #0b6964 !important;
  --bloghash-primary_80: #dff0ee !important;
}

#bloghash-topbar,
.page-header {
  background-color: #e7f1f1;
}

#bloghash-header-inner .site-navigation > ul > li > a,
.bloghash-logo .site-description {
  color: #243b50;
}

#bloghash-header-inner .site-navigation > ul > li > a:hover,
#bloghash-header-inner .site-navigation > ul > li > a:focus-visible,
#bloghash-header-inner .site-navigation > ul > li.current-menu-item > a,
#bloghash-header-inner .site-navigation > ul > li.current-menu-ancestor > a {
  color: #0b6964;
}

.bcn-cta {
  background-color: #edf6f4 !important;
  border-left-color: #0b6964 !important;
}

.bcn-author {
  border-color: #d6e2e8 !important;
}

.entry-content a:not(:where(.bloghash-btn, .wp-block-button__link, [data-bcn-slot] *, [id^="ezoic-pub-ad-placeholder"] *, ins *, .adsbygoogle *)) {
  color: #0b6964;
}

.entry-content a:not(:where(.bloghash-btn, .wp-block-button__link, [data-bcn-slot] *, [id^="ezoic-pub-ad-placeholder"] *, ins *, .adsbygoogle *)):is(:hover, :focus-visible) {
  color: #085650;
}

#colophon {
  background-color: #172e46;
}

/* Existing trust pages retain their independent shell and inline dimensions. */
body:not(.wp-theme-bloghash) > main :is(h1, h2, h3, h4, h5, h6) {
  color: #172e46;
}

body:not(.wp-theme-bloghash) > :is(header, main, footer) a {
  color: #0b6964;
}

body:not(.wp-theme-bloghash) > :is(header, main, footer) a:hover,
body:not(.wp-theme-bloghash) > :is(header, main, footer) a:focus-visible {
  color: #085650;
}

#bcn-cookie {
  background-color: #172e46 !important;
}

#bcn-cookie a {
  color: #b9eee5 !important;
}

#bcn-cookie button {
  background-color: #dff0ee !important;
  color: #123e3b;
}

#bcn-cookie button:hover,
#bcn-cookie button:focus-visible {
  background-color: #b9eee5 !important;
}
