body.bnr-relaunch,
.editor-styles-wrapper {
	--bnr-font: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-family: var(--bnr-font) !important;
}

body.bnr-relaunch :is(#header, #content, #footer) :is(h1, h2, h3, h4, h5, h6, p, li, dt, dd, td, th, blockquote, figcaption, label, input, select, textarea, button, a, summary, small),
body.bnr-relaunch :is(#header, #content, #footer) :is(.herald-entry-content, .herald-sidebar, .widget, .widget-inner, .entry-title, .entry-meta),
.editor-styles-wrapper :is(h1, h2, h3, h4, h5, h6, p, li, dt, dd, td, th, blockquote, figcaption, label, input, select, textarea, button, a, summary, small) {
	font-family: var(--bnr-font) !important;
}

body.bnr-relaunch .herald-entry-content,
.editor-styles-wrapper {
	font-size: 18px;
	line-height: 1.75;
}

body.bnr-relaunch .herald-entry-content :is(p, li),
.editor-styles-wrapper :is(p, li) {
	font-size: inherit;
	line-height: inherit;
}

body.bnr-relaunch .herald-sidebar .widget {
	font-size: 16px;
	line-height: 1.65;
}

body.bnr-relaunch .herald-sidebar .widget :is(p, li, a) {
	font-size: inherit;
	line-height: inherit;
}

body.bnr-relaunch .herald-sidebar .widget-title {
	font-size: 17px;
	line-height: 1.35;
}

@media (max-width: 600px) {
	body.bnr-relaunch .herald-entry-content { font-size: 17px; }
}


body.bnr-relaunch .bnr-editable-calculator-guide .wp-block-group__inner-container { display: contents; }

/* Text links remain recognizable without relying on color alone. */
body.bnr-relaunch :is(#header, #content, #footer) :is(p, li, dd, td, th, figcaption, blockquote) a,
body.bnr-relaunch .herald-entry-content a:not(.wp-block-button__link),
body.bnr-relaunch .herald-sidebar .widget-inner a,
body.bnr-relaunch .bnr-secondary-guide a,
.editor-styles-wrapper a:not(.wp-block-button__link) {
	color: #075fa3 !important;
	text-decoration-line: underline !important;
	text-decoration-thickness: .08em;
	text-underline-offset: .17em;
	text-decoration-skip-ink: auto;
	border-bottom: 0 !important;
	box-shadow: none !important;
	background-image: none !important;
}

body.bnr-relaunch :is(#header, #content, #footer) :is(p, li, dd, td, th, figcaption, blockquote) a:hover,
body.bnr-relaunch .herald-entry-content a:not(.wp-block-button__link):hover,
body.bnr-relaunch .herald-sidebar .widget-inner a:hover,
body.bnr-relaunch .bnr-secondary-guide a:hover,
.editor-styles-wrapper a:not(.wp-block-button__link):hover {
	color: #084574 !important;
	text-decoration: none !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
	background-image: none !important;
}

body.bnr-relaunch :is(#header, #content, #footer) a:focus-visible {
	outline: 2px solid #075fa3;
	outline-offset: 3px;
	border-radius: 2px;
}

body.bnr-relaunch .bnr-site-footer nav a {
	color: #e3eeeb;
	text-decoration: underline;
	border-bottom: 0 !important;
	box-shadow: none !important;
	background-image: none !important;
	text-decoration-thickness: .08em;
	text-underline-offset: .17em;
}

body.bnr-relaunch .bnr-site-footer nav a:hover { text-decoration: none; }

/* Readable controls and captions despite the legacy theme's generated colors. */
body.bnr-relaunch #content .bnr-expansion-submit {
 background: #17232b !important;
 color: #c3f28c !important;
}
body.bnr-relaunch #content .bnr-expansion-submit:hover {
 background: #285c49 !important;
 color: #fff !important;
}
body.bnr-relaunch #content :is(.bnr-secondary-guide,.herald-entry-content) figcaption {
 position: static !important;
 inset: auto;
 background: #fff !important;
 color: #43565b !important;
 margin: 8px 0 0;
 padding: 5px 0;
}
body.bnr-relaunch #content :is(button,input,select,textarea,summary):focus-visible {
 outline: 3px solid #075fa3;
 outline-offset: 3px;
}
/* Keep consent controls reachable above floating advertising frames. */
body.bnr-relaunch #cmplz-cookiebanner-container {
 position: relative;
 z-index: 2147483647 !important;
}
body.bnr-relaunch #cmplz-manage-consent .cmplz-manage-consent,
body.bnr-relaunch .cmplz-cookiebanner {
 z-index: 2147483647 !important;
}
@media (prefers-reduced-motion: reduce) {
 body.bnr-relaunch { scroll-behavior: auto; }
 body.bnr-relaunch :is(#content,#header,#footer) * {
  scroll-behavior: auto !important;
  transition-duration: .01ms !important;
  animation-duration: .01ms !important;
 }
}
