/* Sitewide type and footer, over Bridge. Bridge sets fonts per component and
   again from its options (style_dynamic), so the families carry !important.
   Only text elements are targeted: icon fonts sit on <i>/<span> and their own
   classes, which this leaves alone. */

/* ---------------------------------------------------------------- type */
body,
body p,
body li,
body td,
body th,
body dd,
body dt,
body label,
body blockquote,
body input,
body textarea,
body select,
body button {
	font-family: var(--owb-font-body) !important;
}

body {
	color: var(--owb-main);
}

/* Primary headline: Kepler Std Bold in the guide. */
body h1,
body h2,
body h3,
body h4,
body .h1,
body .h2,
body .h3,
body .h4 {
	color: var(--owb-main);
	font-family: var(--owb-font-headline) !important;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

/* Secondary headline: Avenir Next Heavy, all caps, 50pt tracking. */
body h5,
body h6,
body .h5,
body .h6 {
	color: var(--owb-main);
	font-family: var(--owb-font-secondary) !important;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}

body h1 a,
body h2 a,
body h3 a,
body h4 a,
body h5 a,
body h6 a {
	color: inherit;
}

.owb-header .owb-header__menu a {
	font-family: var(--owb-font-secondary) !important;
	font-weight: 700;
	letter-spacing: .05em;
}

/* ---------------------------------------------------------------- footer */
/* Footer pinned to the bottom of the viewport on short pages: the content
   area takes up whatever height is left. A full 100vh even when signed in:
   Bridge zeroes the html margin WordPress adds for the admin bar, and the
   header spacer already carries the bar's height (header.css). */
.wrapper_inner {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.wrapper_inner > .content {
	flex: 1 0 auto;
}

footer .footer_top_holder,
footer .footer_bottom_holder {
	background-color: var(--owb-main) !important;
}

footer .footer_top_border,
footer .footer_bottom_border {
	background-color: rgba(242, 237, 233, .2) !important;
}

footer,
footer p,
footer li,
footer span,
footer .textwidget,
footer .footer_bottom {
	color: var(--owb-secondary) !important;
}

footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
	color: var(--owb-secondary) !important;
}

footer a {
	color: var(--owb-secondary) !important;
	text-decoration: none;
}

footer a:hover,
footer a:focus-visible {
	color: #fff !important;
}

/* The footer panel: an Elementor template; inc/footer.php. */
.owb-site-footer .owb-logo-link {
	color: var(--owb-secondary) !important;
	display: inline-block;
	line-height: 0;
}

.owb-site-footer .owb-logo-link svg {
	display: block;
	height: 64px;
	width: auto;
}

/* Newsletter Signup page: the full panel is laid out but unseen (it sets the
   band's height), and the logo is centred on the band; inc/footer.php. The
   universal selector beats plugin rules that force visibility back on. */
.owb-site-footer.is-logo-only {
	background: var(--owb-main);
	position: relative;
}

.owb-site-footer__ghost,
.owb-site-footer__ghost * {
	visibility: hidden !important;
}

.owb-site-footer__logo {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	position: absolute;
}

@media (max-width: 999px) {
	.owb-site-footer .owb-logo-link svg {
		height: 48px;
	}
}

/* Fallback when the template is missing; inc/footer.php. */
.owb-footer-logo {
	background: var(--owb-main);
	color: var(--owb-secondary);
}

.owb-footer-logo__inner {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 1300px;
	padding: 48px 24px 0;
}

.owb-footer-logo a {
	color: inherit !important;
	display: inline-block;
	line-height: 0;
}

.owb-footer-logo svg {
	display: block;
	height: 64px;
	width: auto;
}

@media (max-width: 999px) {
	.owb-footer-logo__inner {
		padding: 36px 16px 0;
	}

	.owb-footer-logo svg {
		height: 48px;
	}
}
