/**
 * General
 */ 
html {
	scroll-behavior: smooth;
}


/** 
 * Typography
 */
.accent-header,
#secondary .widgettitle,
.article-section-title {
	border-color: rgba(150,150,150, 0.3);
	color: #111;
	font-size: 1.05em !important;
	letter-spacing: 0.025em;
}

.cat-links a {
	letter-spacing: 0.025em;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'DM Sans', sans-serif;
	line-height: 1.1;
}

/**
 * Header
 */

/* Secondary Menu */
.top-header-contain {
	background: transparent;
	font-weight: bold;
}

.top-header-contain,
.top-header-contain a {
	color: #111;
}

/* Middle header */
@media (min-width: 782px) {
	.middle-header-contain .wrapper {
		padding-top: 0;
	}
}

@media (min-width: 1000px) {
	.middle-header-contain .wrapper {
		margin-top: -10px;
	}
}

/* Tertiary menu */
body.h-db.h-dh .site-header .nav3 a,
body.h-db.h-dh .site-header .nav3 a:hover {
	color: inherit;
}

body.h-db.h-dh .site-header .nav3 a {
	background: transparent;
	font-size: 0.7rem;
	padding-left: 0;
	padding-right: 0;
}


body.h-db.h-dh .site-header .nav3 .menu-highlight a {
	background: #555;
	color: #fff;
	padding-right: 0.75rem;
	padding-left: 0.75rem;
}


/* Highlight Menu */
.highlight-menu-contain .wrapper {
	height: auto;
}

.site-header .highlight-menu .menu-label {
	text-transform: none;
}

/* Desktop Hamburger Menu */
.site-header .desktop-menu-toggle span {
	text-indent: -9999em;
}

.site-header .desktop-menu-toggle svg {
	height: 24px;
	width: 24px;
}

/* Mobile Hamburger Menu */
.mobile-sidebar,
.desktop-sidebar{
	background: #111;
}

.mobile-sidebar, 
.mobile-sidebar button:hover, 
.mobile-sidebar a, 
.mobile-sidebar a:visited, 
.mobile-sidebar .nav1 .sub-menu > li > a, 
.mobile-sidebar .nav1 ul.main-menu > li > a,
.desktop-sidebar,
.desktop-sidebar a,
.desktop-sidebar a:hover,
.desktop-sidebar a:visited {
	color: #fff;
}

.mobile-sidebar nav + nav, .mobile-sidebar nav + .widget, .mobile-sidebar .widget + .widget {
	border-color: currentColor;
}

/* Breadcrumbs */
.has-highlight-menu .site-breadcrumb .wrapper {
	border-color: #eee;
}

/**
 * Content
 */
.wpnbha p,
.home p {
	font-family: 'Lato', sans-serif;
	line-height: 1.375;
	font-size: 0.9rem;
}

.wpnbha.image-alignbehind .post-has-image .post-thumbnail::after {
	background-color: transparent;
	background-image: linear-gradient( transparent, transparent, rgb(0,0,0,0.25), rgb(0,0,0,0.5))
}

div.wpnbha article .entry-meta {
	font-size: 0.7rem !important;
}

.accent-header + .wp-block-columns {
	margin-top: -16px;
}

/* Social media links on the homepage */
.home p img {
	margin: 0 4px -3px 0;
}

/* Blocks - Buttons */
.wp-block-button__link, 
.wp-block-search__button,
.button, 
.button.mb-cta,
.nav3 a,
button, 
input[type="button"],
input[type="reset"], 
input[type="submit"] {
  border-radius: 3px;	
}

/* Blocks - Group */
div:where(.wp-block-group.has-background) {
	padding: 1.5rem;
}



/**
 * Sidebar
 */
#secondary .accent-header {
	margin-bottom: 8px !important;
}
#secondary .widget_search {
	margin-top: 0 !important;
}


/**
 * Footer
 */
@media ( max-width: 599px ) {
	.site-footer .logo-white img {
		margin: auto;
	}
	.site-footer .wp-block-group {
		text-align: center;
	}
}

.site-footer .social-links-menu {
	display: none;
}

.site-footer h3 {
	letter-spacing: 0.05em;
	text-transform: uppercase;
}


.home-back-to-top {
	position: fixed;
	bottom: 30px;
	right: 2rem;
	z-index: 99;
}

.home-back-to-top .wp-block-button__link {
	border-radius: 100%;
	opacity: 0.4;
	transition: all 150ms ease-in-out;
}

.home-back-to-top .wp-block-button__link:hover {
	opacity: 1.0 !important;
}

.home-back-to-top .wp-block-button__link:before {
	content: '';
	border: solid #fff;
  border-width: 0 3px 3px 0;
  display: inline-block;
	margin-bottom: -2px;
  padding: 3px;
	transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}


.home-back-to-top .wp-block-button__link:hover:before {
	border-color: var(--newspack-theme-color-primary);
}

.home-back-to-top .wp-block-button__link span {
	display: inline-block;
	text-indent: -9999em;
}

.newsletter-block-container {
	border-radius: 8px;
}
.newspack-newsletters-subscribe input[type=submit] {
	background-color: #04ce04 !important;
}

/* Disable hyphenation */

a { word-wrap: normal; -webkit-hyphens: none; -moz-hyphens: none; hyphens: none; }