/* 
 * Baristanet Blue: 5BA4BE
 * Monclair Green: 33A1A9
 */

/**
 * Header
 */ 

/* Top section */
.top-header-contain {
	background: #26A1A9;
}

.top-header-contain nav {
	padding: 0.15em 0;
}

.site-header .social-links-menu li a svg {
	height: 20px;
	width: 20px;
}

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

@media (min-width: 1000px) {
		.site-header .custom-logo-link {
		top: 20px;
		position: relative;
	}
}

/* Primary Menu */

.site-header .nav1 .main-menu > li > a {
    font-weight: normal;
    color: #111;
}

.nav1 .main-menu > li.menu-highlight > a {
    font-weight: bold;
    position: relative;
    color: white;
}

.site-header .nav1 .main-menu > li.menu-highlight > a:after {
		background: #26A1A9; /* Newsletter menu item teal background */
    bottom: 0.25em;
    content: '';
    display: block;
    height: 1.1rem;
    border-radius: 0.5em;
    position: absolute;
    width: 100%;
    z-index: -1;
}

/* Donate menu item red background color */
.site-header .nav1 .main-menu > li.menu-highlight-donate > a:after {
    background: rgba(255, 0, 0); 
}

/* Tertiary Menu */
.nav3 {
	text-transform: uppercase;
}

body.h-db.h-dh .site-header .nav3 .menu-highlight a {
	background-color: #5BA4BE;
	color: #fff;
}

.site-header .nav3 li {
	font-size: 0.9rem;
}

.site-header .nav3 li:nth-child(n+2) {
	margin-left: 0.5em;
}

/* Mobile CTA */
.button.mb-cta, 
.button.mb-cta:not(:hover):visited {
	background-color: #f50202;
	color: #fff;
} 

/* Mobile sidebar */
.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 {
	color: #fff;
}

/**
 * Content
 */ 
.cat-links a, 
.cat-links a:visited,
.cat-links a:hover {
	color: #fff;
}

.entry-content a {
	color: #111;
	text-decoration-color: #5BA4BE;
	text-decoration-thickness: 2px;
}


/* Accent headers */
.accent-header, 
#secondary .widgettitle, 
div.wpnbha .article-section-title {
	border: 0;
	color: #111;
	font-size: 0.9rem;
}

.accent-header::after, 
#secondary .widgettitle::after, 
div.wpnbha .article-section-title::after {
	border-top: 1px solid #5ba4be;
	content: '';
	display: block;
	margin-top: 2px;
	opacity: 0.0;
	width: 4rem;
}

/* Homepage */
/* Used to make top stories the same height */
div.wp-block-columns.columns-lead-stories {
	gap: 8px;
}

.columns-lead-stories .wp-block-column {
    display: flex;
    align-items: stretch;
}

.columns-lead-stories .wpnbha.image-alignbehind > div,
.columns-lead-stories .wpnbha.image-alignbehind > div > article:first-child:last-child {
   height: 100%;
}

/* Single posts */
.single .entry-title {
 font-size: 1.6em;
}

@media only screen and (min-width: 600px) {
  .single .entry-title {
    font-size: 1.8em;
  }
}

@media only screen and (min-width: 782px) {
  .single .entry-title {
    font-size: 2.0em;
  }		
}

@media only screen and (min-width: 1168px) {
  .single .entry-title {
    font-size: 2.4em;
  }
}

@media only screen and (min-width: 782px)

}

/**
 * Sidebar
 */ 
#secondary .wpnbha {
	font-size: 1.1em;
}

#secondary .wpnbha .article-section-title {
	font-size: 19.2px;
}

.broadstreet-label-container {
	top: -15px !important;
}

/** Homepage text over image modifications */
.wpnbha.image-alignbehind .post-has-image .post-thumbnail:after {
	background: linear-gradient(to bottom, rgba(255,0,0,0), rgba(255,0,0,0), rgba(0,0,0,1)) !important;
}
.wpnbha.image-alignbehind .post-has-image .entry-wrapper {
    padding: 2rem 0.75rem 1rem 0.75rem !important;
	  text-shadow: 1px 1px #000000 !important;
}


.wp-block-newspack-blocks-homepage-articles {
	width: 100%;
}

/* Hide from sighted readers, not screen readers */
.sharing-screen-reader-text,
.sharing-screen-reader-text-focusable:not(:focus):not(:focus-within) {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  white-space: nowrap !important;
  width: 1px !important;
}

.sharing-screen-reader-text:not(caption),
.sharing-screen-reader-text-focusable:not(:focus):not(:focus-within):not(caption) {
  position: absolute !important;
}

.nav-wrapper.desktop-only #tertiary-nav-contain {
	display: none !important;
}

.must-log-in {
	display: none !important;
}

.login-button {
	text-align: left !important;
}

.login-button a {
	border-radius: 5px !important;
	border-color: #0b7981 !important;
	background-color: #0b7981 !important;
	color: white !important;
}

.post-473432 div#jp-relatedposts {
    display: none !important;
}