/* hansbroos-5 v8: hard overrides in content to match editor exactly */
:root{ --ink:#ffffff; --accent:#5a8065; }

/* Scope to content so header/menu remain intact */
.site-content, main, .entry, .entry-content { color: var(--ink); }

/* Force headings to green + bold in content and override Gutenberg utilities */
.site-content h1, .site-content h2, .site-content h3, .site-content h4, .site-content h5, .site-content h6,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6,
.site-content .wp-block-heading, .entry-content .wp-block-heading,
.site-content h1.has-white-color, .site-content h2.has-white-color, .site-content h3.has-white-color,
.site-content h4.has-white-color, .site-content h5.has-white-color, .site-content h6.has-white-color,
.entry-content h1.has-white-color, .entry-content h2.has-white-color, .entry-content h3.has-white-color,
.entry-content h4.has-white-color, .entry-content h5.has-white-color, .entry-content h6.has-white-color,
.site-content h1.has-text-color, .site-content h2.has-text-color, .site-content h3.has-text-color,
.site-content h4.has-text-color, .site-content h5.has-text-color, .site-content h6.has-text-color,
.entry-content h1.has-text-color, .entry-content h2.has-text-color, .entry-content h3.has-text-color,
.entry-content h4.has-text-color, .entry-content h5.has-text-color, .entry-content h6.has-text-color {
  color: var(--accent) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

/* Make sure nested spans also inherit */
.site-content h1 *, .site-content h2 *, .site-content h3 *, .site-content h4 *, .site-content h5 *, .site-content h6 *,
.entry-content h1 *, .entry-content h2 *, .entry-content h3 *, .entry-content h4 *, .entry-content h5 *, .entry-content h6 * {
  color: var(--accent) !important;
  font-weight: 700 !important;
}

/* Remove decorative underline if any */
.site-content h1::after, .site-content h2::after, .site-content h3::after, .site-content h4::after, .site-content h5::after, .site-content h6::after {
  content: none !important; display: none !important;
}


/* v8 FONT FIX: Force editor font-family and typography in content (FE = BE) */
:root{ --hb-font: 'Titillium Web', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; }

.site-content, .entry-content, .hb-section, .hb-container {
  font-family: var(--hb-font) !important;
  line-height: 1.5 !important;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}

/* Paragraphs and lists */
.site-content p, .entry-content p,
.site-content li, .entry-content li {
  font-family: var(--hb-font) !important;
  font-size: 17px !important;
  line-height: 1.5 !important;
  letter-spacing: 0.01em;
}

/* Headings use the same font as editor */
.site-content h1, .site-content h2, .site-content h3, .site-content h4, .site-content h5, .site-content h6,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6,
.site-content .wp-block-heading, .entry-content .wp-block-heading {
  font-family: var(--hb-font) !important;
}

/* Reset any .has-* font-family utilities to editor font inside content */
.site-content [class*="has-"][class*="-font-family"],
.entry-content [class*="has-"][class*="-font-family"] {
  font-family: var(--hb-font) !important;
}


/* Ensure text logo link inherits heading/logo color and has no underline */
.site-title-link { text-decoration: none; }
.site-title-link:hover, .site-title-link:focus { text-decoration: none; opacity: .9; }


/* Make text logo clickable and preserve appearance */
.hb-logo-link { display: inline-block; text-decoration: none; }
.hb-logo-link:hover, .hb-logo-link:focus { text-decoration: none; opacity: .95; }
.hb-logo .line1, .hb-logo .line2 { display:block; }
